[llvm] r301247 - [AMDGPU][mc][tests][NFC] Bulk ISA tests: update for Gfx7/Gfx8, add for Gfx9.

Artem Tamazov via llvm-commits llvm-commits at lists.llvm.org
Mon Apr 24 13:42:28 PDT 2017


Modified: 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=301247&r1=301246&r2=301247&view=diff
==============================================================================
--- llvm/trunk/test/MC/Disassembler/AMDGPU/gfx8_dasm_all.txt (original)
+++ llvm/trunk/test/MC/Disassembler/AMDGPU/gfx8_dasm_all.txt Mon Apr 24 15:42:27 2017
@@ -1,4066 +1,4141 @@
 # 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 v1, v2 offset:65535    ; encoding: [0xff,0xff,0x00,0xd8,0x01,0x02,0x00,0x00]
+0xff,0xff,0x00,0xd8,0x01,0x02,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 v255, v2 offset:65535    ; encoding: [0xff,0xff,0x00,0xd8,0xff,0x02,0x00,0x00]
+0xff,0xff,0x00,0xd8,0xff,0x02,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 v1, v255 offset:65535    ; encoding: [0xff,0xff,0x00,0xd8,0x01,0xff,0x00,0x00]
+0xff,0xff,0x00,0xd8,0x01,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 v1, v2    ; encoding: [0x00,0x00,0x00,0xd8,0x01,0x02,0x00,0x00]
+0x00,0x00,0x00,0xd8,0x01,0x02,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 v1, v2 offset:4    ; encoding: [0x04,0x00,0x00,0xd8,0x01,0x02,0x00,0x00]
+0x04,0x00,0x00,0xd8,0x01,0x02,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_add_u32 v1, v2 offset:65535 gds    ; encoding: [0xff,0xff,0x01,0xd8,0x01,0x02,0x00,0x00]
+0xff,0xff,0x01,0xd8,0x01,0x02,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 v1, v2 offset:65535    ; encoding: [0xff,0xff,0x02,0xd8,0x01,0x02,0x00,0x00]
+0xff,0xff,0x02,0xd8,0x01,0x02,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 v255, v2 offset:65535    ; encoding: [0xff,0xff,0x02,0xd8,0xff,0x02,0x00,0x00]
+0xff,0xff,0x02,0xd8,0xff,0x02,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 v1, v255 offset:65535    ; encoding: [0xff,0xff,0x02,0xd8,0x01,0xff,0x00,0x00]
+0xff,0xff,0x02,0xd8,0x01,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 v1, v2    ; encoding: [0x00,0x00,0x02,0xd8,0x01,0x02,0x00,0x00]
+0x00,0x00,0x02,0xd8,0x01,0x02,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 v1, v2 offset:4    ; encoding: [0x04,0x00,0x02,0xd8,0x01,0x02,0x00,0x00]
+0x04,0x00,0x02,0xd8,0x01,0x02,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_sub_u32 v1, v2 offset:65535 gds    ; encoding: [0xff,0xff,0x03,0xd8,0x01,0x02,0x00,0x00]
+0xff,0xff,0x03,0xd8,0x01,0x02,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 v1, v2 offset:65535    ; encoding: [0xff,0xff,0x04,0xd8,0x01,0x02,0x00,0x00]
+0xff,0xff,0x04,0xd8,0x01,0x02,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 v255, v2 offset:65535    ; encoding: [0xff,0xff,0x04,0xd8,0xff,0x02,0x00,0x00]
+0xff,0xff,0x04,0xd8,0xff,0x02,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 v1, v255 offset:65535    ; encoding: [0xff,0xff,0x04,0xd8,0x01,0xff,0x00,0x00]
+0xff,0xff,0x04,0xd8,0x01,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 v1, v2    ; encoding: [0x00,0x00,0x04,0xd8,0x01,0x02,0x00,0x00]
+0x00,0x00,0x04,0xd8,0x01,0x02,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 v1, v2 offset:4    ; encoding: [0x04,0x00,0x04,0xd8,0x01,0x02,0x00,0x00]
+0x04,0x00,0x04,0xd8,0x01,0x02,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_rsub_u32 v1, v2 offset:65535 gds    ; encoding: [0xff,0xff,0x05,0xd8,0x01,0x02,0x00,0x00]
+0xff,0xff,0x05,0xd8,0x01,0x02,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 v1, v2 offset:65535    ; encoding: [0xff,0xff,0x06,0xd8,0x01,0x02,0x00,0x00]
+0xff,0xff,0x06,0xd8,0x01,0x02,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 v255, v2 offset:65535    ; encoding: [0xff,0xff,0x06,0xd8,0xff,0x02,0x00,0x00]
+0xff,0xff,0x06,0xd8,0xff,0x02,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 v1, v255 offset:65535    ; encoding: [0xff,0xff,0x06,0xd8,0x01,0xff,0x00,0x00]
+0xff,0xff,0x06,0xd8,0x01,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 v1, v2    ; encoding: [0x00,0x00,0x06,0xd8,0x01,0x02,0x00,0x00]
+0x00,0x00,0x06,0xd8,0x01,0x02,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 v1, v2 offset:4    ; encoding: [0x04,0x00,0x06,0xd8,0x01,0x02,0x00,0x00]
+0x04,0x00,0x06,0xd8,0x01,0x02,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_inc_u32 v1, v2 offset:65535 gds    ; encoding: [0xff,0xff,0x07,0xd8,0x01,0x02,0x00,0x00]
+0xff,0xff,0x07,0xd8,0x01,0x02,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 v1, v2 offset:65535    ; encoding: [0xff,0xff,0x08,0xd8,0x01,0x02,0x00,0x00]
+0xff,0xff,0x08,0xd8,0x01,0x02,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 v255, v2 offset:65535    ; encoding: [0xff,0xff,0x08,0xd8,0xff,0x02,0x00,0x00]
+0xff,0xff,0x08,0xd8,0xff,0x02,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 v1, v255 offset:65535    ; encoding: [0xff,0xff,0x08,0xd8,0x01,0xff,0x00,0x00]
+0xff,0xff,0x08,0xd8,0x01,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 v1, v2    ; encoding: [0x00,0x00,0x08,0xd8,0x01,0x02,0x00,0x00]
+0x00,0x00,0x08,0xd8,0x01,0x02,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 v1, v2 offset:4    ; encoding: [0x04,0x00,0x08,0xd8,0x01,0x02,0x00,0x00]
+0x04,0x00,0x08,0xd8,0x01,0x02,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_dec_u32 v1, v2 offset:65535 gds    ; encoding: [0xff,0xff,0x09,0xd8,0x01,0x02,0x00,0x00]
+0xff,0xff,0x09,0xd8,0x01,0x02,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 v1, v2 offset:65535    ; encoding: [0xff,0xff,0x0a,0xd8,0x01,0x02,0x00,0x00]
+0xff,0xff,0x0a,0xd8,0x01,0x02,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 v255, v2 offset:65535    ; encoding: [0xff,0xff,0x0a,0xd8,0xff,0x02,0x00,0x00]
+0xff,0xff,0x0a,0xd8,0xff,0x02,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 v1, v255 offset:65535    ; encoding: [0xff,0xff,0x0a,0xd8,0x01,0xff,0x00,0x00]
+0xff,0xff,0x0a,0xd8,0x01,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 v1, v2    ; encoding: [0x00,0x00,0x0a,0xd8,0x01,0x02,0x00,0x00]
+0x00,0x00,0x0a,0xd8,0x01,0x02,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 v1, v2 offset:4    ; encoding: [0x04,0x00,0x0a,0xd8,0x01,0x02,0x00,0x00]
+0x04,0x00,0x0a,0xd8,0x01,0x02,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_min_i32 v1, v2 offset:65535 gds    ; encoding: [0xff,0xff,0x0b,0xd8,0x01,0x02,0x00,0x00]
+0xff,0xff,0x0b,0xd8,0x01,0x02,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 v1, v2 offset:65535    ; encoding: [0xff,0xff,0x0c,0xd8,0x01,0x02,0x00,0x00]
+0xff,0xff,0x0c,0xd8,0x01,0x02,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 v255, v2 offset:65535    ; encoding: [0xff,0xff,0x0c,0xd8,0xff,0x02,0x00,0x00]
+0xff,0xff,0x0c,0xd8,0xff,0x02,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 v1, v255 offset:65535    ; encoding: [0xff,0xff,0x0c,0xd8,0x01,0xff,0x00,0x00]
+0xff,0xff,0x0c,0xd8,0x01,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 v1, v2    ; encoding: [0x00,0x00,0x0c,0xd8,0x01,0x02,0x00,0x00]
+0x00,0x00,0x0c,0xd8,0x01,0x02,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 v1, v2 offset:4    ; encoding: [0x04,0x00,0x0c,0xd8,0x01,0x02,0x00,0x00]
+0x04,0x00,0x0c,0xd8,0x01,0x02,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_max_i32 v1, v2 offset:65535 gds    ; encoding: [0xff,0xff,0x0d,0xd8,0x01,0x02,0x00,0x00]
+0xff,0xff,0x0d,0xd8,0x01,0x02,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 v1, v2 offset:65535    ; encoding: [0xff,0xff,0x0e,0xd8,0x01,0x02,0x00,0x00]
+0xff,0xff,0x0e,0xd8,0x01,0x02,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 v255, v2 offset:65535    ; encoding: [0xff,0xff,0x0e,0xd8,0xff,0x02,0x00,0x00]
+0xff,0xff,0x0e,0xd8,0xff,0x02,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 v1, v255 offset:65535    ; encoding: [0xff,0xff,0x0e,0xd8,0x01,0xff,0x00,0x00]
+0xff,0xff,0x0e,0xd8,0x01,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 v1, v2    ; encoding: [0x00,0x00,0x0e,0xd8,0x01,0x02,0x00,0x00]
+0x00,0x00,0x0e,0xd8,0x01,0x02,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 v1, v2 offset:4    ; encoding: [0x04,0x00,0x0e,0xd8,0x01,0x02,0x00,0x00]
+0x04,0x00,0x0e,0xd8,0x01,0x02,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_min_u32 v1, v2 offset:65535 gds    ; encoding: [0xff,0xff,0x0f,0xd8,0x01,0x02,0x00,0x00]
+0xff,0xff,0x0f,0xd8,0x01,0x02,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 v1, v2 offset:65535    ; encoding: [0xff,0xff,0x10,0xd8,0x01,0x02,0x00,0x00]
+0xff,0xff,0x10,0xd8,0x01,0x02,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 v255, v2 offset:65535    ; encoding: [0xff,0xff,0x10,0xd8,0xff,0x02,0x00,0x00]
+0xff,0xff,0x10,0xd8,0xff,0x02,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 v1, v255 offset:65535    ; encoding: [0xff,0xff,0x10,0xd8,0x01,0xff,0x00,0x00]
+0xff,0xff,0x10,0xd8,0x01,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 v1, v2    ; encoding: [0x00,0x00,0x10,0xd8,0x01,0x02,0x00,0x00]
+0x00,0x00,0x10,0xd8,0x01,0x02,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 v1, v2 offset:4    ; encoding: [0x04,0x00,0x10,0xd8,0x01,0x02,0x00,0x00]
+0x04,0x00,0x10,0xd8,0x01,0x02,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_max_u32 v1, v2 offset:65535 gds    ; encoding: [0xff,0xff,0x11,0xd8,0x01,0x02,0x00,0x00]
+0xff,0xff,0x11,0xd8,0x01,0x02,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 v1, v2 offset:65535    ; encoding: [0xff,0xff,0x12,0xd8,0x01,0x02,0x00,0x00]
+0xff,0xff,0x12,0xd8,0x01,0x02,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 v255, v2 offset:65535    ; encoding: [0xff,0xff,0x12,0xd8,0xff,0x02,0x00,0x00]
+0xff,0xff,0x12,0xd8,0xff,0x02,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 v1, v255 offset:65535    ; encoding: [0xff,0xff,0x12,0xd8,0x01,0xff,0x00,0x00]
+0xff,0xff,0x12,0xd8,0x01,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 v1, v2    ; encoding: [0x00,0x00,0x12,0xd8,0x01,0x02,0x00,0x00]
+0x00,0x00,0x12,0xd8,0x01,0x02,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 v1, v2 offset:4    ; encoding: [0x04,0x00,0x12,0xd8,0x01,0x02,0x00,0x00]
+0x04,0x00,0x12,0xd8,0x01,0x02,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_and_b32 v1, v2 offset:65535 gds    ; encoding: [0xff,0xff,0x13,0xd8,0x01,0x02,0x00,0x00]
+0xff,0xff,0x13,0xd8,0x01,0x02,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 v1, v2 offset:65535    ; encoding: [0xff,0xff,0x14,0xd8,0x01,0x02,0x00,0x00]
+0xff,0xff,0x14,0xd8,0x01,0x02,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 v255, v2 offset:65535    ; encoding: [0xff,0xff,0x14,0xd8,0xff,0x02,0x00,0x00]
+0xff,0xff,0x14,0xd8,0xff,0x02,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 v1, v255 offset:65535    ; encoding: [0xff,0xff,0x14,0xd8,0x01,0xff,0x00,0x00]
+0xff,0xff,0x14,0xd8,0x01,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 v1, v2    ; encoding: [0x00,0x00,0x14,0xd8,0x01,0x02,0x00,0x00]
+0x00,0x00,0x14,0xd8,0x01,0x02,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 v1, v2 offset:4    ; encoding: [0x04,0x00,0x14,0xd8,0x01,0x02,0x00,0x00]
+0x04,0x00,0x14,0xd8,0x01,0x02,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_or_b32 v1, v2 offset:65535 gds    ; encoding: [0xff,0xff,0x15,0xd8,0x01,0x02,0x00,0x00]
+0xff,0xff,0x15,0xd8,0x01,0x02,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 v1, v2 offset:65535    ; encoding: [0xff,0xff,0x16,0xd8,0x01,0x02,0x00,0x00]
+0xff,0xff,0x16,0xd8,0x01,0x02,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 v255, v2 offset:65535    ; encoding: [0xff,0xff,0x16,0xd8,0xff,0x02,0x00,0x00]
+0xff,0xff,0x16,0xd8,0xff,0x02,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 v1, v255 offset:65535    ; encoding: [0xff,0xff,0x16,0xd8,0x01,0xff,0x00,0x00]
+0xff,0xff,0x16,0xd8,0x01,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 v1, v2    ; encoding: [0x00,0x00,0x16,0xd8,0x01,0x02,0x00,0x00]
+0x00,0x00,0x16,0xd8,0x01,0x02,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 v1, v2 offset:4    ; encoding: [0x04,0x00,0x16,0xd8,0x01,0x02,0x00,0x00]
+0x04,0x00,0x16,0xd8,0x01,0x02,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_xor_b32 v1, v2 offset:65535 gds    ; encoding: [0xff,0xff,0x17,0xd8,0x01,0x02,0x00,0x00]
+0xff,0xff,0x17,0xd8,0x01,0x02,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 v1, v2, v3 offset:65535    ; encoding: [0xff,0xff,0x18,0xd8,0x01,0x02,0x03,0x00]
+0xff,0xff,0x18,0xd8,0x01,0x02,0x03,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 v255, v2, v3 offset:65535    ; encoding: [0xff,0xff,0x18,0xd8,0xff,0x02,0x03,0x00]
+0xff,0xff,0x18,0xd8,0xff,0x02,0x03,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 v1, v255, v3 offset:65535    ; encoding: [0xff,0xff,0x18,0xd8,0x01,0xff,0x03,0x00]
+0xff,0xff,0x18,0xd8,0x01,0xff,0x03,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 v1, v2, v255 offset:65535    ; encoding: [0xff,0xff,0x18,0xd8,0x01,0x02,0xff,0x00]
+0xff,0xff,0x18,0xd8,0x01,0x02,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 v1, v2, v3    ; encoding: [0x00,0x00,0x18,0xd8,0x01,0x02,0x03,0x00]
+0x00,0x00,0x18,0xd8,0x01,0x02,0x03,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 v1, v2, v3 offset:4    ; encoding: [0x04,0x00,0x18,0xd8,0x01,0x02,0x03,0x00]
+0x04,0x00,0x18,0xd8,0x01,0x02,0x03,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_mskor_b32 v1, v2, v3 offset:65535 gds    ; encoding: [0xff,0xff,0x19,0xd8,0x01,0x02,0x03,0x00]
+0xff,0xff,0x19,0xd8,0x01,0x02,0x03,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 v1, v2 offset:65535    ; encoding: [0xff,0xff,0x1a,0xd8,0x01,0x02,0x00,0x00]
+0xff,0xff,0x1a,0xd8,0x01,0x02,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 v255, v2 offset:65535    ; encoding: [0xff,0xff,0x1a,0xd8,0xff,0x02,0x00,0x00]
+0xff,0xff,0x1a,0xd8,0xff,0x02,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 v1, v255 offset:65535    ; encoding: [0xff,0xff,0x1a,0xd8,0x01,0xff,0x00,0x00]
+0xff,0xff,0x1a,0xd8,0x01,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 v1, v2    ; encoding: [0x00,0x00,0x1a,0xd8,0x01,0x02,0x00,0x00]
+0x00,0x00,0x1a,0xd8,0x01,0x02,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 v1, v2 offset:4    ; encoding: [0x04,0x00,0x1a,0xd8,0x01,0x02,0x00,0x00]
+0x04,0x00,0x1a,0xd8,0x01,0x02,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_write_b32 v1, v2 offset:65535 gds    ; encoding: [0xff,0xff,0x1b,0xd8,0x01,0x02,0x00,0x00]
+0xff,0xff,0x1b,0xd8,0x01,0x02,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 v1, v2, v3 offset0:127 offset1:255    ; encoding: [0x7f,0xff,0x1c,0xd8,0x01,0x02,0x03,0x00]
+0x7f,0xff,0x1c,0xd8,0x01,0x02,0x03,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 v255, v2, v3 offset0:127 offset1:255    ; encoding: [0x7f,0xff,0x1c,0xd8,0xff,0x02,0x03,0x00]
+0x7f,0xff,0x1c,0xd8,0xff,0x02,0x03,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 v1, v255, v3 offset0:127 offset1:255    ; encoding: [0x7f,0xff,0x1c,0xd8,0x01,0xff,0x03,0x00]
+0x7f,0xff,0x1c,0xd8,0x01,0xff,0x03,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 v1, v2, v255 offset0:127 offset1:255    ; encoding: [0x7f,0xff,0x1c,0xd8,0x01,0x02,0xff,0x00]
+0x7f,0xff,0x1c,0xd8,0x01,0x02,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 v1, v2, v3 offset1:255    ; encoding: [0x00,0xff,0x1c,0xd8,0x01,0x02,0x03,0x00]
+0x00,0xff,0x1c,0xd8,0x01,0x02,0x03,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 v1, v2, v3 offset0:16 offset1:255    ; encoding: [0x10,0xff,0x1c,0xd8,0x01,0x02,0x03,0x00]
+0x10,0xff,0x1c,0xd8,0x01,0x02,0x03,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 v1, v2, v3 offset0:127    ; encoding: [0x7f,0x00,0x1c,0xd8,0x01,0x02,0x03,0x00]
+0x7f,0x00,0x1c,0xd8,0x01,0x02,0x03,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 v1, v2, v3 offset0:127 offset1:1    ; encoding: [0x7f,0x01,0x1c,0xd8,0x01,0x02,0x03,0x00]
+0x7f,0x01,0x1c,0xd8,0x01,0x02,0x03,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_write2_b32 v1, v2, v3 offset0:127 offset1:255 gds    ; encoding: [0x7f,0xff,0x1d,0xd8,0x01,0x02,0x03,0x00]
+0x7f,0xff,0x1d,0xd8,0x01,0x02,0x03,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 v1, v2, v3 offset0:127 offset1:255    ; encoding: [0x7f,0xff,0x1e,0xd8,0x01,0x02,0x03,0x00]
+0x7f,0xff,0x1e,0xd8,0x01,0x02,0x03,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 v255, v2, v3 offset0:127 offset1:255    ; encoding: [0x7f,0xff,0x1e,0xd8,0xff,0x02,0x03,0x00]
+0x7f,0xff,0x1e,0xd8,0xff,0x02,0x03,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 v1, v255, v3 offset0:127 offset1:255    ; encoding: [0x7f,0xff,0x1e,0xd8,0x01,0xff,0x03,0x00]
+0x7f,0xff,0x1e,0xd8,0x01,0xff,0x03,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 v1, v2, v255 offset0:127 offset1:255    ; encoding: [0x7f,0xff,0x1e,0xd8,0x01,0x02,0xff,0x00]
+0x7f,0xff,0x1e,0xd8,0x01,0x02,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 v1, v2, v3 offset1:255    ; encoding: [0x00,0xff,0x1e,0xd8,0x01,0x02,0x03,0x00]
+0x00,0xff,0x1e,0xd8,0x01,0x02,0x03,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 v1, v2, v3 offset0:16 offset1:255    ; encoding: [0x10,0xff,0x1e,0xd8,0x01,0x02,0x03,0x00]
+0x10,0xff,0x1e,0xd8,0x01,0x02,0x03,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 v1, v2, v3 offset0:127    ; encoding: [0x7f,0x00,0x1e,0xd8,0x01,0x02,0x03,0x00]
+0x7f,0x00,0x1e,0xd8,0x01,0x02,0x03,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 v1, v2, v3 offset0:127 offset1:1    ; encoding: [0x7f,0x01,0x1e,0xd8,0x01,0x02,0x03,0x00]
+0x7f,0x01,0x1e,0xd8,0x01,0x02,0x03,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_write2st64_b32 v1, v2, v3 offset0:127 offset1:255 gds    ; encoding: [0x7f,0xff,0x1f,0xd8,0x01,0x02,0x03,0x00]
+0x7f,0xff,0x1f,0xd8,0x01,0x02,0x03,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 v1, v2, v3 offset:65535    ; encoding: [0xff,0xff,0x20,0xd8,0x01,0x02,0x03,0x00]
+0xff,0xff,0x20,0xd8,0x01,0x02,0x03,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 v255, v2, v3 offset:65535    ; encoding: [0xff,0xff,0x20,0xd8,0xff,0x02,0x03,0x00]
+0xff,0xff,0x20,0xd8,0xff,0x02,0x03,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 v1, v255, v3 offset:65535    ; encoding: [0xff,0xff,0x20,0xd8,0x01,0xff,0x03,0x00]
+0xff,0xff,0x20,0xd8,0x01,0xff,0x03,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 v1, v2, v255 offset:65535    ; encoding: [0xff,0xff,0x20,0xd8,0x01,0x02,0xff,0x00]
+0xff,0xff,0x20,0xd8,0x01,0x02,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 v1, v2, v3    ; encoding: [0x00,0x00,0x20,0xd8,0x01,0x02,0x03,0x00]
+0x00,0x00,0x20,0xd8,0x01,0x02,0x03,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 v1, v2, v3 offset:4    ; encoding: [0x04,0x00,0x20,0xd8,0x01,0x02,0x03,0x00]
+0x04,0x00,0x20,0xd8,0x01,0x02,0x03,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_b32 v1, v2, v3 offset:65535 gds    ; encoding: [0xff,0xff,0x21,0xd8,0x01,0x02,0x03,0x00]
+0xff,0xff,0x21,0xd8,0x01,0x02,0x03,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 v1, v2, v3 offset:65535    ; encoding: [0xff,0xff,0x22,0xd8,0x01,0x02,0x03,0x00]
+0xff,0xff,0x22,0xd8,0x01,0x02,0x03,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 v255, v2, v3 offset:65535    ; encoding: [0xff,0xff,0x22,0xd8,0xff,0x02,0x03,0x00]
+0xff,0xff,0x22,0xd8,0xff,0x02,0x03,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 v1, v255, v3 offset:65535    ; encoding: [0xff,0xff,0x22,0xd8,0x01,0xff,0x03,0x00]
+0xff,0xff,0x22,0xd8,0x01,0xff,0x03,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 v1, v2, v255 offset:65535    ; encoding: [0xff,0xff,0x22,0xd8,0x01,0x02,0xff,0x00]
+0xff,0xff,0x22,0xd8,0x01,0x02,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 v1, v2, v3    ; encoding: [0x00,0x00,0x22,0xd8,0x01,0x02,0x03,0x00]
+0x00,0x00,0x22,0xd8,0x01,0x02,0x03,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 v1, v2, v3 offset:4    ; encoding: [0x04,0x00,0x22,0xd8,0x01,0x02,0x03,0x00]
+0x04,0x00,0x22,0xd8,0x01,0x02,0x03,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_cmpst_f32 v1, v2, v3 offset:65535 gds    ; encoding: [0xff,0xff,0x23,0xd8,0x01,0x02,0x03,0x00]
+0xff,0xff,0x23,0xd8,0x01,0x02,0x03,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 v1, v2 offset:65535    ; encoding: [0xff,0xff,0x24,0xd8,0x01,0x02,0x00,0x00]
+0xff,0xff,0x24,0xd8,0x01,0x02,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 v255, v2 offset:65535    ; encoding: [0xff,0xff,0x24,0xd8,0xff,0x02,0x00,0x00]
+0xff,0xff,0x24,0xd8,0xff,0x02,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 v1, v255 offset:65535    ; encoding: [0xff,0xff,0x24,0xd8,0x01,0xff,0x00,0x00]
+0xff,0xff,0x24,0xd8,0x01,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 v1, v2    ; encoding: [0x00,0x00,0x24,0xd8,0x01,0x02,0x00,0x00]
+0x00,0x00,0x24,0xd8,0x01,0x02,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 v1, v2 offset:4    ; encoding: [0x04,0x00,0x24,0xd8,0x01,0x02,0x00,0x00]
+0x04,0x00,0x24,0xd8,0x01,0x02,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_min_f32 v1, v2 offset:65535 gds    ; encoding: [0xff,0xff,0x25,0xd8,0x01,0x02,0x00,0x00]
+0xff,0xff,0x25,0xd8,0x01,0x02,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 v1, v2 offset:65535    ; encoding: [0xff,0xff,0x26,0xd8,0x01,0x02,0x00,0x00]
+0xff,0xff,0x26,0xd8,0x01,0x02,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 v255, v2 offset:65535    ; encoding: [0xff,0xff,0x26,0xd8,0xff,0x02,0x00,0x00]
+0xff,0xff,0x26,0xd8,0xff,0x02,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 v1, v255 offset:65535    ; encoding: [0xff,0xff,0x26,0xd8,0x01,0xff,0x00,0x00]
+0xff,0xff,0x26,0xd8,0x01,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 v1, v2    ; encoding: [0x00,0x00,0x26,0xd8,0x01,0x02,0x00,0x00]
+0x00,0x00,0x26,0xd8,0x01,0x02,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 v1, v2 offset:4    ; encoding: [0x04,0x00,0x26,0xd8,0x01,0x02,0x00,0x00]
+0x04,0x00,0x26,0xd8,0x01,0x02,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_max_f32 v1, v2 offset:65535 gds    ; encoding: [0xff,0xff,0x27,0xd8,0x01,0x02,0x00,0x00]
+0xff,0xff,0x27,0xd8,0x01,0x02,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_nop    ; encoding: [0x00,0x00,0x28,0xd8,0x00,0x00,0x00,0x00]
+0x00,0x00,0x28,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 v1, v2 offset:65535    ; encoding: [0xff,0xff,0x2a,0xd8,0x01,0x02,0x00,0x00]
+0xff,0xff,0x2a,0xd8,0x01,0x02,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 v255, v2 offset:65535    ; encoding: [0xff,0xff,0x2a,0xd8,0xff,0x02,0x00,0x00]
+0xff,0xff,0x2a,0xd8,0xff,0x02,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 v1, v255 offset:65535    ; encoding: [0xff,0xff,0x2a,0xd8,0x01,0xff,0x00,0x00]
+0xff,0xff,0x2a,0xd8,0x01,0xff,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 v1, v2    ; encoding: [0x00,0x00,0x2a,0xd8,0x01,0x02,0x00,0x00]
+0x00,0x00,0x2a,0xd8,0x01,0x02,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_add_f32 v1, v2 offset:4    ; encoding: [0x04,0x00,0x2a,0xd8,0x01,0x02,0x00,0x00]
+0x04,0x00,0x2a,0xd8,0x01,0x02,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_add_f32 v1, v2 offset:65535 gds    ; encoding: [0xff,0xff,0x2b,0xd8,0x01,0x02,0x00,0x00]
+0xff,0xff,0x2b,0xd8,0x01,0x02,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 v1, v2 offset:65535    ; encoding: [0xff,0xff,0x3c,0xd8,0x01,0x02,0x00,0x00]
+0xff,0xff,0x3c,0xd8,0x01,0x02,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 v255, v2 offset:65535    ; encoding: [0xff,0xff,0x3c,0xd8,0xff,0x02,0x00,0x00]
+0xff,0xff,0x3c,0xd8,0xff,0x02,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 v1, v255 offset:65535    ; encoding: [0xff,0xff,0x3c,0xd8,0x01,0xff,0x00,0x00]
+0xff,0xff,0x3c,0xd8,0x01,0xff,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 v1, v2    ; encoding: [0x00,0x00,0x3c,0xd8,0x01,0x02,0x00,0x00]
+0x00,0x00,0x3c,0xd8,0x01,0x02,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_b8 v1, v2 offset:4    ; encoding: [0x04,0x00,0x3c,0xd8,0x01,0x02,0x00,0x00]
+0x04,0x00,0x3c,0xd8,0x01,0x02,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_b8 v1, v2 offset:65535 gds    ; encoding: [0xff,0xff,0x3d,0xd8,0x01,0x02,0x00,0x00]
+0xff,0xff,0x3d,0xd8,0x01,0x02,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 v1, v2 offset:65535    ; encoding: [0xff,0xff,0x3e,0xd8,0x01,0x02,0x00,0x00]
+0xff,0xff,0x3e,0xd8,0x01,0x02,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 v255, v2 offset:65535    ; encoding: [0xff,0xff,0x3e,0xd8,0xff,0x02,0x00,0x00]
+0xff,0xff,0x3e,0xd8,0xff,0x02,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 v1, v255 offset:65535    ; encoding: [0xff,0xff,0x3e,0xd8,0x01,0xff,0x00,0x00]
+0xff,0xff,0x3e,0xd8,0x01,0xff,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 v1, v2    ; encoding: [0x00,0x00,0x3e,0xd8,0x01,0x02,0x00,0x00]
+0x00,0x00,0x3e,0xd8,0x01,0x02,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_write_b16 v1, v2 offset:4    ; encoding: [0x04,0x00,0x3e,0xd8,0x01,0x02,0x00,0x00]
+0x04,0x00,0x3e,0xd8,0x01,0x02,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_write_b16 v1, v2 offset:65535 gds    ; encoding: [0xff,0xff,0x3f,0xd8,0x01,0x02,0x00,0x00]
+0xff,0xff,0x3f,0xd8,0x01,0x02,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 v5, v1, v2 offset:65535    ; encoding: [0xff,0xff,0x40,0xd8,0x01,0x02,0x00,0x05]
+0xff,0xff,0x40,0xd8,0x01,0x02,0x00,0x05
 
-# 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 v255, v1, v2 offset:65535    ; encoding: [0xff,0xff,0x40,0xd8,0x01,0x02,0x00,0xff]
+0xff,0xff,0x40,0xd8,0x01,0x02,0x00,0xff
 
-# 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 v5, v255, v2 offset:65535    ; encoding: [0xff,0xff,0x40,0xd8,0xff,0x02,0x00,0x05]
+0xff,0xff,0x40,0xd8,0xff,0x02,0x00,0x05
 
-# 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 v5, v1, v255 offset:65535    ; encoding: [0xff,0xff,0x40,0xd8,0x01,0xff,0x00,0x05]
+0xff,0xff,0x40,0xd8,0x01,0xff,0x00,0x05
 
-# 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 v5, v1, v2    ; encoding: [0x00,0x00,0x40,0xd8,0x01,0x02,0x00,0x05]
+0x00,0x00,0x40,0xd8,0x01,0x02,0x00,0x05
 
-# 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_add_rtn_u32 v5, v1, v2 offset:4    ; encoding: [0x04,0x00,0x40,0xd8,0x01,0x02,0x00,0x05]
+0x04,0x00,0x40,0xd8,0x01,0x02,0x00,0x05
 
-# 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_add_rtn_u32 v5, v1, v2 offset:65535 gds    ; encoding: [0xff,0xff,0x41,0xd8,0x01,0x02,0x00,0x05]
+0xff,0xff,0x41,0xd8,0x01,0x02,0x00,0x05
 
-# 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 v5, v1, v2 offset:65535    ; encoding: [0xff,0xff,0x42,0xd8,0x01,0x02,0x00,0x05]
+0xff,0xff,0x42,0xd8,0x01,0x02,0x00,0x05
 
-# 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 v255, v1, v2 offset:65535    ; encoding: [0xff,0xff,0x42,0xd8,0x01,0x02,0x00,0xff]
+0xff,0xff,0x42,0xd8,0x01,0x02,0x00,0xff
 
-# 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 v5, v255, v2 offset:65535    ; encoding: [0xff,0xff,0x42,0xd8,0xff,0x02,0x00,0x05]
+0xff,0xff,0x42,0xd8,0xff,0x02,0x00,0x05
 
-# 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 v5, v1, v255 offset:65535    ; encoding: [0xff,0xff,0x42,0xd8,0x01,0xff,0x00,0x05]
+0xff,0xff,0x42,0xd8,0x01,0xff,0x00,0x05
 
-# 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 v5, v1, v2    ; encoding: [0x00,0x00,0x42,0xd8,0x01,0x02,0x00,0x05]
+0x00,0x00,0x42,0xd8,0x01,0x02,0x00,0x05
 
-# 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_sub_rtn_u32 v5, v1, v2 offset:4    ; encoding: [0x04,0x00,0x42,0xd8,0x01,0x02,0x00,0x05]
+0x04,0x00,0x42,0xd8,0x01,0x02,0x00,0x05
 
-# 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_sub_rtn_u32 v5, v1, v2 offset:65535 gds    ; encoding: [0xff,0xff,0x43,0xd8,0x01,0x02,0x00,0x05]
+0xff,0xff,0x43,0xd8,0x01,0x02,0x00,0x05
 
-# 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 v5, v1, v2 offset:65535    ; encoding: [0xff,0xff,0x44,0xd8,0x01,0x02,0x00,0x05]
+0xff,0xff,0x44,0xd8,0x01,0x02,0x00,0x05
 
-# 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 v255, v1, v2 offset:65535    ; encoding: [0xff,0xff,0x44,0xd8,0x01,0x02,0x00,0xff]
+0xff,0xff,0x44,0xd8,0x01,0x02,0x00,0xff
 
-# 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 v5, v255, v2 offset:65535    ; encoding: [0xff,0xff,0x44,0xd8,0xff,0x02,0x00,0x05]
+0xff,0xff,0x44,0xd8,0xff,0x02,0x00,0x05
 
-# 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 v5, v1, v255 offset:65535    ; encoding: [0xff,0xff,0x44,0xd8,0x01,0xff,0x00,0x05]
+0xff,0xff,0x44,0xd8,0x01,0xff,0x00,0x05
 
-# 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 v5, v1, v2    ; encoding: [0x00,0x00,0x44,0xd8,0x01,0x02,0x00,0x05]
+0x00,0x00,0x44,0xd8,0x01,0x02,0x00,0x05
 
-# 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_rsub_rtn_u32 v5, v1, v2 offset:4    ; encoding: [0x04,0x00,0x44,0xd8,0x01,0x02,0x00,0x05]
+0x04,0x00,0x44,0xd8,0x01,0x02,0x00,0x05
 
-# 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_rsub_rtn_u32 v5, v1, v2 offset:65535 gds    ; encoding: [0xff,0xff,0x45,0xd8,0x01,0x02,0x00,0x05]
+0xff,0xff,0x45,0xd8,0x01,0x02,0x00,0x05
 
-# 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 v5, v1, v2 offset:65535    ; encoding: [0xff,0xff,0x46,0xd8,0x01,0x02,0x00,0x05]
+0xff,0xff,0x46,0xd8,0x01,0x02,0x00,0x05
 
-# 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 v255, v1, v2 offset:65535    ; encoding: [0xff,0xff,0x46,0xd8,0x01,0x02,0x00,0xff]
+0xff,0xff,0x46,0xd8,0x01,0x02,0x00,0xff
 
-# 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 v5, v255, v2 offset:65535    ; encoding: [0xff,0xff,0x46,0xd8,0xff,0x02,0x00,0x05]
+0xff,0xff,0x46,0xd8,0xff,0x02,0x00,0x05
 
-# 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 v5, v1, v255 offset:65535    ; encoding: [0xff,0xff,0x46,0xd8,0x01,0xff,0x00,0x05]
+0xff,0xff,0x46,0xd8,0x01,0xff,0x00,0x05
 
-# 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 v5, v1, v2    ; encoding: [0x00,0x00,0x46,0xd8,0x01,0x02,0x00,0x05]
+0x00,0x00,0x46,0xd8,0x01,0x02,0x00,0x05
 
-# 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_inc_rtn_u32 v5, v1, v2 offset:4    ; encoding: [0x04,0x00,0x46,0xd8,0x01,0x02,0x00,0x05]
+0x04,0x00,0x46,0xd8,0x01,0x02,0x00,0x05
 
-# 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_inc_rtn_u32 v5, v1, v2 offset:65535 gds    ; encoding: [0xff,0xff,0x47,0xd8,0x01,0x02,0x00,0x05]
+0xff,0xff,0x47,0xd8,0x01,0x02,0x00,0x05
 
-# 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 v5, v1, v2 offset:65535    ; encoding: [0xff,0xff,0x48,0xd8,0x01,0x02,0x00,0x05]
+0xff,0xff,0x48,0xd8,0x01,0x02,0x00,0x05
 
-# 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 v255, v1, v2 offset:65535    ; encoding: [0xff,0xff,0x48,0xd8,0x01,0x02,0x00,0xff]
+0xff,0xff,0x48,0xd8,0x01,0x02,0x00,0xff
 
-# 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 v5, v255, v2 offset:65535    ; encoding: [0xff,0xff,0x48,0xd8,0xff,0x02,0x00,0x05]
+0xff,0xff,0x48,0xd8,0xff,0x02,0x00,0x05
 
-# 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 v5, v1, v255 offset:65535    ; encoding: [0xff,0xff,0x48,0xd8,0x01,0xff,0x00,0x05]
+0xff,0xff,0x48,0xd8,0x01,0xff,0x00,0x05
 
-# 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 v5, v1, v2    ; encoding: [0x00,0x00,0x48,0xd8,0x01,0x02,0x00,0x05]
+0x00,0x00,0x48,0xd8,0x01,0x02,0x00,0x05
 
-# 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_dec_rtn_u32 v5, v1, v2 offset:4    ; encoding: [0x04,0x00,0x48,0xd8,0x01,0x02,0x00,0x05]
+0x04,0x00,0x48,0xd8,0x01,0x02,0x00,0x05
 
-# 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_dec_rtn_u32 v5, v1, v2 offset:65535 gds    ; encoding: [0xff,0xff,0x49,0xd8,0x01,0x02,0x00,0x05]
+0xff,0xff,0x49,0xd8,0x01,0x02,0x00,0x05
 
-# 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 v5, v1, v2 offset:65535    ; encoding: [0xff,0xff,0x4a,0xd8,0x01,0x02,0x00,0x05]
+0xff,0xff,0x4a,0xd8,0x01,0x02,0x00,0x05
 
-# 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 v255, v1, v2 offset:65535    ; encoding: [0xff,0xff,0x4a,0xd8,0x01,0x02,0x00,0xff]
+0xff,0xff,0x4a,0xd8,0x01,0x02,0x00,0xff
 
-# 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 v5, v255, v2 offset:65535    ; encoding: [0xff,0xff,0x4a,0xd8,0xff,0x02,0x00,0x05]
+0xff,0xff,0x4a,0xd8,0xff,0x02,0x00,0x05
 
-# 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 v5, v1, v255 offset:65535    ; encoding: [0xff,0xff,0x4a,0xd8,0x01,0xff,0x00,0x05]
+0xff,0xff,0x4a,0xd8,0x01,0xff,0x00,0x05
 
-# 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 v5, v1, v2    ; encoding: [0x00,0x00,0x4a,0xd8,0x01,0x02,0x00,0x05]
+0x00,0x00,0x4a,0xd8,0x01,0x02,0x00,0x05
 
-# 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_min_rtn_i32 v5, v1, v2 offset:4    ; encoding: [0x04,0x00,0x4a,0xd8,0x01,0x02,0x00,0x05]
+0x04,0x00,0x4a,0xd8,0x01,0x02,0x00,0x05
 
-# 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_min_rtn_i32 v5, v1, v2 offset:65535 gds    ; encoding: [0xff,0xff,0x4b,0xd8,0x01,0x02,0x00,0x05]
+0xff,0xff,0x4b,0xd8,0x01,0x02,0x00,0x05
 
-# 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 v5, v1, v2 offset:65535    ; encoding: [0xff,0xff,0x4c,0xd8,0x01,0x02,0x00,0x05]
+0xff,0xff,0x4c,0xd8,0x01,0x02,0x00,0x05
 
-# 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 v255, v1, v2 offset:65535    ; encoding: [0xff,0xff,0x4c,0xd8,0x01,0x02,0x00,0xff]
+0xff,0xff,0x4c,0xd8,0x01,0x02,0x00,0xff
 
-# 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 v5, v255, v2 offset:65535    ; encoding: [0xff,0xff,0x4c,0xd8,0xff,0x02,0x00,0x05]
+0xff,0xff,0x4c,0xd8,0xff,0x02,0x00,0x05
 
-# 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 v5, v1, v255 offset:65535    ; encoding: [0xff,0xff,0x4c,0xd8,0x01,0xff,0x00,0x05]
+0xff,0xff,0x4c,0xd8,0x01,0xff,0x00,0x05
 
-# 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 v5, v1, v2    ; encoding: [0x00,0x00,0x4c,0xd8,0x01,0x02,0x00,0x05]
+0x00,0x00,0x4c,0xd8,0x01,0x02,0x00,0x05
 
-# 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_max_rtn_i32 v5, v1, v2 offset:4    ; encoding: [0x04,0x00,0x4c,0xd8,0x01,0x02,0x00,0x05]
+0x04,0x00,0x4c,0xd8,0x01,0x02,0x00,0x05
 
-# 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_max_rtn_i32 v5, v1, v2 offset:65535 gds    ; encoding: [0xff,0xff,0x4d,0xd8,0x01,0x02,0x00,0x05]
+0xff,0xff,0x4d,0xd8,0x01,0x02,0x00,0x05
 
-# 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 v5, v1, v2 offset:65535    ; encoding: [0xff,0xff,0x4e,0xd8,0x01,0x02,0x00,0x05]
+0xff,0xff,0x4e,0xd8,0x01,0x02,0x00,0x05
 
-# 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 v255, v1, v2 offset:65535    ; encoding: [0xff,0xff,0x4e,0xd8,0x01,0x02,0x00,0xff]
+0xff,0xff,0x4e,0xd8,0x01,0x02,0x00,0xff
 
-# 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 v5, v255, v2 offset:65535    ; encoding: [0xff,0xff,0x4e,0xd8,0xff,0x02,0x00,0x05]
+0xff,0xff,0x4e,0xd8,0xff,0x02,0x00,0x05
 
-# 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 v5, v1, v255 offset:65535    ; encoding: [0xff,0xff,0x4e,0xd8,0x01,0xff,0x00,0x05]
+0xff,0xff,0x4e,0xd8,0x01,0xff,0x00,0x05
 
-# 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 v5, v1, v2    ; encoding: [0x00,0x00,0x4e,0xd8,0x01,0x02,0x00,0x05]
+0x00,0x00,0x4e,0xd8,0x01,0x02,0x00,0x05
 
-# 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_min_rtn_u32 v5, v1, v2 offset:4    ; encoding: [0x04,0x00,0x4e,0xd8,0x01,0x02,0x00,0x05]
+0x04,0x00,0x4e,0xd8,0x01,0x02,0x00,0x05
 
-# 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_min_rtn_u32 v5, v1, v2 offset:65535 gds    ; encoding: [0xff,0xff,0x4f,0xd8,0x01,0x02,0x00,0x05]
+0xff,0xff,0x4f,0xd8,0x01,0x02,0x00,0x05
 
-# 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 v5, v1, v2 offset:65535    ; encoding: [0xff,0xff,0x50,0xd8,0x01,0x02,0x00,0x05]
+0xff,0xff,0x50,0xd8,0x01,0x02,0x00,0x05
 
-# 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 v255, v1, v2 offset:65535    ; encoding: [0xff,0xff,0x50,0xd8,0x01,0x02,0x00,0xff]
+0xff,0xff,0x50,0xd8,0x01,0x02,0x00,0xff
 
-# 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 v5, v255, v2 offset:65535    ; encoding: [0xff,0xff,0x50,0xd8,0xff,0x02,0x00,0x05]
+0xff,0xff,0x50,0xd8,0xff,0x02,0x00,0x05
 
-# 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 v5, v1, v255 offset:65535    ; encoding: [0xff,0xff,0x50,0xd8,0x01,0xff,0x00,0x05]
+0xff,0xff,0x50,0xd8,0x01,0xff,0x00,0x05
 
-# 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 v5, v1, v2    ; encoding: [0x00,0x00,0x50,0xd8,0x01,0x02,0x00,0x05]
+0x00,0x00,0x50,0xd8,0x01,0x02,0x00,0x05
 
-# 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_max_rtn_u32 v5, v1, v2 offset:4    ; encoding: [0x04,0x00,0x50,0xd8,0x01,0x02,0x00,0x05]
+0x04,0x00,0x50,0xd8,0x01,0x02,0x00,0x05
 
-# 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_max_rtn_u32 v5, v1, v2 offset:65535 gds    ; encoding: [0xff,0xff,0x51,0xd8,0x01,0x02,0x00,0x05]
+0xff,0xff,0x51,0xd8,0x01,0x02,0x00,0x05
 
-# 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 v5, v1, v2 offset:65535    ; encoding: [0xff,0xff,0x52,0xd8,0x01,0x02,0x00,0x05]
+0xff,0xff,0x52,0xd8,0x01,0x02,0x00,0x05
 
-# 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 v255, v1, v2 offset:65535    ; encoding: [0xff,0xff,0x52,0xd8,0x01,0x02,0x00,0xff]
+0xff,0xff,0x52,0xd8,0x01,0x02,0x00,0xff
 
-# 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 v5, v255, v2 offset:65535    ; encoding: [0xff,0xff,0x52,0xd8,0xff,0x02,0x00,0x05]
+0xff,0xff,0x52,0xd8,0xff,0x02,0x00,0x05
 
-# 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 v5, v1, v255 offset:65535    ; encoding: [0xff,0xff,0x52,0xd8,0x01,0xff,0x00,0x05]
+0xff,0xff,0x52,0xd8,0x01,0xff,0x00,0x05
 
-# 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 v5, v1, v2    ; encoding: [0x00,0x00,0x52,0xd8,0x01,0x02,0x00,0x05]
+0x00,0x00,0x52,0xd8,0x01,0x02,0x00,0x05
 
-# 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_and_rtn_b32 v5, v1, v2 offset:4    ; encoding: [0x04,0x00,0x52,0xd8,0x01,0x02,0x00,0x05]
+0x04,0x00,0x52,0xd8,0x01,0x02,0x00,0x05
 
-# 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_and_rtn_b32 v5, v1, v2 offset:65535 gds    ; encoding: [0xff,0xff,0x53,0xd8,0x01,0x02,0x00,0x05]
+0xff,0xff,0x53,0xd8,0x01,0x02,0x00,0x05
 
-# 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 v5, v1, v2 offset:65535    ; encoding: [0xff,0xff,0x54,0xd8,0x01,0x02,0x00,0x05]
+0xff,0xff,0x54,0xd8,0x01,0x02,0x00,0x05
 
-# 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 v255, v1, v2 offset:65535    ; encoding: [0xff,0xff,0x54,0xd8,0x01,0x02,0x00,0xff]
+0xff,0xff,0x54,0xd8,0x01,0x02,0x00,0xff
 
-# 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 v5, v255, v2 offset:65535    ; encoding: [0xff,0xff,0x54,0xd8,0xff,0x02,0x00,0x05]
+0xff,0xff,0x54,0xd8,0xff,0x02,0x00,0x05
 
-# 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 v5, v1, v255 offset:65535    ; encoding: [0xff,0xff,0x54,0xd8,0x01,0xff,0x00,0x05]
+0xff,0xff,0x54,0xd8,0x01,0xff,0x00,0x05
 
-# 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 v5, v1, v2    ; encoding: [0x00,0x00,0x54,0xd8,0x01,0x02,0x00,0x05]
+0x00,0x00,0x54,0xd8,0x01,0x02,0x00,0x05
 
-# 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_or_rtn_b32 v5, v1, v2 offset:4    ; encoding: [0x04,0x00,0x54,0xd8,0x01,0x02,0x00,0x05]
+0x04,0x00,0x54,0xd8,0x01,0x02,0x00,0x05
 
-# 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_or_rtn_b32 v5, v1, v2 offset:65535 gds    ; encoding: [0xff,0xff,0x55,0xd8,0x01,0x02,0x00,0x05]
+0xff,0xff,0x55,0xd8,0x01,0x02,0x00,0x05
 
-# 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 v5, v1, v2 offset:65535    ; encoding: [0xff,0xff,0x56,0xd8,0x01,0x02,0x00,0x05]
+0xff,0xff,0x56,0xd8,0x01,0x02,0x00,0x05
 
-# 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 v255, v1, v2 offset:65535    ; encoding: [0xff,0xff,0x56,0xd8,0x01,0x02,0x00,0xff]
+0xff,0xff,0x56,0xd8,0x01,0x02,0x00,0xff
 
-# 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 v5, v255, v2 offset:65535    ; encoding: [0xff,0xff,0x56,0xd8,0xff,0x02,0x00,0x05]
+0xff,0xff,0x56,0xd8,0xff,0x02,0x00,0x05
 
-# 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 v5, v1, v255 offset:65535    ; encoding: [0xff,0xff,0x56,0xd8,0x01,0xff,0x00,0x05]
+0xff,0xff,0x56,0xd8,0x01,0xff,0x00,0x05
 
-# 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 v5, v1, v2    ; encoding: [0x00,0x00,0x56,0xd8,0x01,0x02,0x00,0x05]
+0x00,0x00,0x56,0xd8,0x01,0x02,0x00,0x05
 
-# 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_xor_rtn_b32 v5, v1, v2 offset:4    ; encoding: [0x04,0x00,0x56,0xd8,0x01,0x02,0x00,0x05]
+0x04,0x00,0x56,0xd8,0x01,0x02,0x00,0x05
 
-# 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_xor_rtn_b32 v5, v1, v2 offset:65535 gds    ; encoding: [0xff,0xff,0x57,0xd8,0x01,0x02,0x00,0x05]
+0xff,0xff,0x57,0xd8,0x01,0x02,0x00,0x05
 
-# 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 v5, v1, v2, v3 offset:65535    ; encoding: [0xff,0xff,0x58,0xd8,0x01,0x02,0x03,0x05]
+0xff,0xff,0x58,0xd8,0x01,0x02,0x03,0x05
 
-# 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 v255, v1, v2, v3 offset:65535    ; encoding: [0xff,0xff,0x58,0xd8,0x01,0x02,0x03,0xff]
+0xff,0xff,0x58,0xd8,0x01,0x02,0x03,0xff
 
-# 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 v5, v255, v2, v3 offset:65535    ; encoding: [0xff,0xff,0x58,0xd8,0xff,0x02,0x03,0x05]
+0xff,0xff,0x58,0xd8,0xff,0x02,0x03,0x05
 
-# 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 v5, v1, v255, v3 offset:65535    ; encoding: [0xff,0xff,0x58,0xd8,0x01,0xff,0x03,0x05]
+0xff,0xff,0x58,0xd8,0x01,0xff,0x03,0x05
 
-# 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 v5, v1, v2, v255 offset:65535    ; encoding: [0xff,0xff,0x58,0xd8,0x01,0x02,0xff,0x05]
+0xff,0xff,0x58,0xd8,0x01,0x02,0xff,0x05
 
-# 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 v5, v1, v2, v3    ; encoding: [0x00,0x00,0x58,0xd8,0x01,0x02,0x03,0x05]
+0x00,0x00,0x58,0xd8,0x01,0x02,0x03,0x05
 
-# 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_mskor_rtn_b32 v5, v1, v2, v3 offset:4    ; encoding: [0x04,0x00,0x58,0xd8,0x01,0x02,0x03,0x05]
+0x04,0x00,0x58,0xd8,0x01,0x02,0x03,0x05
 
-# 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_mskor_rtn_b32 v5, v1, v2, v3 offset:65535 gds    ; encoding: [0xff,0xff,0x59,0xd8,0x01,0x02,0x03,0x05]
+0xff,0xff,0x59,0xd8,0x01,0x02,0x03,0x05
 
-# 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 v5, v1, v2 offset:65535    ; encoding: [0xff,0xff,0x5a,0xd8,0x01,0x02,0x00,0x05]
+0xff,0xff,0x5a,0xd8,0x01,0x02,0x00,0x05
 
-# 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 v255, v1, v2 offset:65535    ; encoding: [0xff,0xff,0x5a,0xd8,0x01,0x02,0x00,0xff]
+0xff,0xff,0x5a,0xd8,0x01,0x02,0x00,0xff
 
-# 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 v5, v255, v2 offset:65535    ; encoding: [0xff,0xff,0x5a,0xd8,0xff,0x02,0x00,0x05]
+0xff,0xff,0x5a,0xd8,0xff,0x02,0x00,0x05
 
-# 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 v5, v1, v255 offset:65535    ; encoding: [0xff,0xff,0x5a,0xd8,0x01,0xff,0x00,0x05]
+0xff,0xff,0x5a,0xd8,0x01,0xff,0x00,0x05
 
-# 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 v5, v1, v2    ; encoding: [0x00,0x00,0x5a,0xd8,0x01,0x02,0x00,0x05]
+0x00,0x00,0x5a,0xd8,0x01,0x02,0x00,0x05
 
-# 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_wrxchg_rtn_b32 v5, v1, v2 offset:4    ; encoding: [0x04,0x00,0x5a,0xd8,0x01,0x02,0x00,0x05]
+0x04,0x00,0x5a,0xd8,0x01,0x02,0x00,0x05
 
-# 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_wrxchg_rtn_b32 v5, v1, v2 offset:65535 gds    ; encoding: [0xff,0xff,0x5b,0xd8,0x01,0x02,0x00,0x05]
+0xff,0xff,0x5b,0xd8,0x01,0x02,0x00,0x05
 
-# 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 v5, v1, v2, v3 offset:65535    ; encoding: [0xff,0xff,0x60,0xd8,0x01,0x02,0x03,0x05]
+0xff,0xff,0x60,0xd8,0x01,0x02,0x03,0x05
 
-# 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 v255, v1, v2, v3 offset:65535    ; encoding: [0xff,0xff,0x60,0xd8,0x01,0x02,0x03,0xff]
+0xff,0xff,0x60,0xd8,0x01,0x02,0x03,0xff
 
-# 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 v5, v255, v2, v3 offset:65535    ; encoding: [0xff,0xff,0x60,0xd8,0xff,0x02,0x03,0x05]
+0xff,0xff,0x60,0xd8,0xff,0x02,0x03,0x05
 
-# 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 v5, v1, v255, v3 offset:65535    ; encoding: [0xff,0xff,0x60,0xd8,0x01,0xff,0x03,0x05]
+0xff,0xff,0x60,0xd8,0x01,0xff,0x03,0x05
 
-# 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 v5, v1, v2, v255 offset:65535    ; encoding: [0xff,0xff,0x60,0xd8,0x01,0x02,0xff,0x05]
+0xff,0xff,0x60,0xd8,0x01,0x02,0xff,0x05
 
-# 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 v5, v1, v2, v3    ; encoding: [0x00,0x00,0x60,0xd8,0x01,0x02,0x03,0x05]
+0x00,0x00,0x60,0xd8,0x01,0x02,0x03,0x05
 
-# 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_b32 v5, v1, v2, v3 offset:4    ; encoding: [0x04,0x00,0x60,0xd8,0x01,0x02,0x03,0x05]
+0x04,0x00,0x60,0xd8,0x01,0x02,0x03,0x05
 
-# 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_b32 v5, v1, v2, v3 offset:65535 gds    ; encoding: [0xff,0xff,0x61,0xd8,0x01,0x02,0x03,0x05]
+0xff,0xff,0x61,0xd8,0x01,0x02,0x03,0x05
 
-# 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 v5, v1, v2, v3 offset:65535    ; encoding: [0xff,0xff,0x62,0xd8,0x01,0x02,0x03,0x05]
+0xff,0xff,0x62,0xd8,0x01,0x02,0x03,0x05
 
-# 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 v255, v1, v2, v3 offset:65535    ; encoding: [0xff,0xff,0x62,0xd8,0x01,0x02,0x03,0xff]
+0xff,0xff,0x62,0xd8,0x01,0x02,0x03,0xff
 
-# 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 v5, v255, v2, v3 offset:65535    ; encoding: [0xff,0xff,0x62,0xd8,0xff,0x02,0x03,0x05]
+0xff,0xff,0x62,0xd8,0xff,0x02,0x03,0x05
 
-# 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 v5, v1, v255, v3 offset:65535    ; encoding: [0xff,0xff,0x62,0xd8,0x01,0xff,0x03,0x05]
+0xff,0xff,0x62,0xd8,0x01,0xff,0x03,0x05
 
-# 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 v5, v1, v2, v255 offset:65535    ; encoding: [0xff,0xff,0x62,0xd8,0x01,0x02,0xff,0x05]
+0xff,0xff,0x62,0xd8,0x01,0x02,0xff,0x05
 
-# 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 v5, v1, v2, v3    ; encoding: [0x00,0x00,0x62,0xd8,0x01,0x02,0x03,0x05]
+0x00,0x00,0x62,0xd8,0x01,0x02,0x03,0x05
 
-# 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_cmpst_rtn_f32 v5, v1, v2, v3 offset:4    ; encoding: [0x04,0x00,0x62,0xd8,0x01,0x02,0x03,0x05]
+0x04,0x00,0x62,0xd8,0x01,0x02,0x03,0x05
 
-# 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_cmpst_rtn_f32 v5, v1, v2, v3 offset:65535 gds    ; encoding: [0xff,0xff,0x63,0xd8,0x01,0x02,0x03,0x05]
+0xff,0xff,0x63,0xd8,0x01,0x02,0x03,0x05
 
-# 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 v5, v1, v2 offset:65535    ; encoding: [0xff,0xff,0x64,0xd8,0x01,0x02,0x00,0x05]
+0xff,0xff,0x64,0xd8,0x01,0x02,0x00,0x05
 
-# 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 v255, v1, v2 offset:65535    ; encoding: [0xff,0xff,0x64,0xd8,0x01,0x02,0x00,0xff]
+0xff,0xff,0x64,0xd8,0x01,0x02,0x00,0xff
 
-# 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 v5, v255, v2 offset:65535    ; encoding: [0xff,0xff,0x64,0xd8,0xff,0x02,0x00,0x05]
+0xff,0xff,0x64,0xd8,0xff,0x02,0x00,0x05
 
-# 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 v5, v1, v255 offset:65535    ; encoding: [0xff,0xff,0x64,0xd8,0x01,0xff,0x00,0x05]
+0xff,0xff,0x64,0xd8,0x01,0xff,0x00,0x05
 
-# 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 v5, v1, v2    ; encoding: [0x00,0x00,0x64,0xd8,0x01,0x02,0x00,0x05]
+0x00,0x00,0x64,0xd8,0x01,0x02,0x00,0x05
 
-# 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_min_rtn_f32 v5, v1, v2 offset:4    ; encoding: [0x04,0x00,0x64,0xd8,0x01,0x02,0x00,0x05]
+0x04,0x00,0x64,0xd8,0x01,0x02,0x00,0x05
 
-# 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_min_rtn_f32 v5, v1, v2 offset:65535 gds    ; encoding: [0xff,0xff,0x65,0xd8,0x01,0x02,0x00,0x05]
+0xff,0xff,0x65,0xd8,0x01,0x02,0x00,0x05
 
-# 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 v5, v1, v2 offset:65535    ; encoding: [0xff,0xff,0x66,0xd8,0x01,0x02,0x00,0x05]
+0xff,0xff,0x66,0xd8,0x01,0x02,0x00,0x05
 
-# 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 v255, v1, v2 offset:65535    ; encoding: [0xff,0xff,0x66,0xd8,0x01,0x02,0x00,0xff]
+0xff,0xff,0x66,0xd8,0x01,0x02,0x00,0xff
 
-# 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 v5, v255, v2 offset:65535    ; encoding: [0xff,0xff,0x66,0xd8,0xff,0x02,0x00,0x05]
+0xff,0xff,0x66,0xd8,0xff,0x02,0x00,0x05
 
-# 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 v5, v1, v255 offset:65535    ; encoding: [0xff,0xff,0x66,0xd8,0x01,0xff,0x00,0x05]
+0xff,0xff,0x66,0xd8,0x01,0xff,0x00,0x05
 
-# 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 v5, v1, v2    ; encoding: [0x00,0x00,0x66,0xd8,0x01,0x02,0x00,0x05]
+0x00,0x00,0x66,0xd8,0x01,0x02,0x00,0x05
 
-# 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_max_rtn_f32 v5, v1, v2 offset:4    ; encoding: [0x04,0x00,0x66,0xd8,0x01,0x02,0x00,0x05]
+0x04,0x00,0x66,0xd8,0x01,0x02,0x00,0x05
 
-# 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_max_rtn_f32 v5, v1, v2 offset:65535 gds    ; encoding: [0xff,0xff,0x67,0xd8,0x01,0x02,0x00,0x05]
+0xff,0xff,0x67,0xd8,0x01,0x02,0x00,0x05
 
-# 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 v5, v1, v2 offset:65535    ; encoding: [0xff,0xff,0x6a,0xd8,0x01,0x02,0x00,0x05]
+0xff,0xff,0x6a,0xd8,0x01,0x02,0x00,0x05
 
-# 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 v255, v1, v2 offset:65535    ; encoding: [0xff,0xff,0x6a,0xd8,0x01,0x02,0x00,0xff]
+0xff,0xff,0x6a,0xd8,0x01,0x02,0x00,0xff
 
-# 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 v5, v255, v2 offset:65535    ; encoding: [0xff,0xff,0x6a,0xd8,0xff,0x02,0x00,0x05]
+0xff,0xff,0x6a,0xd8,0xff,0x02,0x00,0x05
 
-# 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 v5, v1, v255 offset:65535    ; encoding: [0xff,0xff,0x6a,0xd8,0x01,0xff,0x00,0x05]
+0xff,0xff,0x6a,0xd8,0x01,0xff,0x00,0x05
 
-# 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 v5, v1, v2    ; encoding: [0x00,0x00,0x6a,0xd8,0x01,0x02,0x00,0x05]
+0x00,0x00,0x6a,0xd8,0x01,0x02,0x00,0x05
 
-# 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_add_rtn_f32 v5, v1, v2 offset:4    ; encoding: [0x04,0x00,0x6a,0xd8,0x01,0x02,0x00,0x05]
+0x04,0x00,0x6a,0xd8,0x01,0x02,0x00,0x05
 
-# 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_add_rtn_f32 v5, v1, v2 offset:65535 gds    ; encoding: [0xff,0xff,0x6b,0xd8,0x01,0x02,0x00,0x05]
+0xff,0xff,0x6b,0xd8,0x01,0x02,0x00,0x05
 
-# 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 v5, v1 offset:65535    ; encoding: [0xff,0xff,0x6c,0xd8,0x01,0x00,0x00,0x05]
+0xff,0xff,0x6c,0xd8,0x01,0x00,0x00,0x05
 
-# 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 v255, v1 offset:65535    ; encoding: [0xff,0xff,0x6c,0xd8,0x01,0x00,0x00,0xff]
+0xff,0xff,0x6c,0xd8,0x01,0x00,0x00,0xff
 
-# 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 v5, v255 offset:65535    ; encoding: [0xff,0xff,0x6c,0xd8,0xff,0x00,0x00,0x05]
+0xff,0xff,0x6c,0xd8,0xff,0x00,0x00,0x05
 
-# 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 v5, v1    ; encoding: [0x00,0x00,0x6c,0xd8,0x01,0x00,0x00,0x05]
+0x00,0x00,0x6c,0xd8,0x01,0x00,0x00,0x05
 
-# 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_read_b32 v5, v1 offset:4    ; encoding: [0x04,0x00,0x6c,0xd8,0x01,0x00,0x00,0x05]
+0x04,0x00,0x6c,0xd8,0x01,0x00,0x00,0x05
 
-# 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_read_b32 v5, v1 offset:65535 gds    ; encoding: [0xff,0xff,0x6d,0xd8,0x01,0x00,0x00,0x05]
+0xff,0xff,0x6d,0xd8,0x01,0x00,0x00,0x05
 
-# 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[5:6], v1 offset0:127 offset1:255    ; encoding: [0x7f,0xff,0x6e,0xd8,0x01,0x00,0x00,0x05]
+0x7f,0xff,0x6e,0xd8,0x01,0x00,0x00,0x05
 
-# 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[254:255], v1 offset0:127 offset1:255    ; encoding: [0x7f,0xff,0x6e,0xd8,0x01,0x00,0x00,0xfe]
+0x7f,0xff,0x6e,0xd8,0x01,0x00,0x00,0xfe
 
-# 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[5:6], v255 offset0:127 offset1:255    ; encoding: [0x7f,0xff,0x6e,0xd8,0xff,0x00,0x00,0x05]
+0x7f,0xff,0x6e,0xd8,0xff,0x00,0x00,0x05
 
-# 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[5:6], v1 offset1:255    ; encoding: [0x00,0xff,0x6e,0xd8,0x01,0x00,0x00,0x05]
+0x00,0xff,0x6e,0xd8,0x01,0x00,0x00,0x05
 
-# 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[5:6], v1 offset0:16 offset1:255    ; encoding: [0x10,0xff,0x6e,0xd8,0x01,0x00,0x00,0x05]
+0x10,0xff,0x6e,0xd8,0x01,0x00,0x00,0x05
 
-# 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[5:6], v1 offset0:127    ; encoding: [0x7f,0x00,0x6e,0xd8,0x01,0x00,0x00,0x05]
+0x7f,0x00,0x6e,0xd8,0x01,0x00,0x00,0x05
 
-# 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_read2_b32 v[5:6], v1 offset0:127 offset1:1    ; encoding: [0x7f,0x01,0x6e,0xd8,0x01,0x00,0x00,0x05]
+0x7f,0x01,0x6e,0xd8,0x01,0x00,0x00,0x05
 
-# 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_read2_b32 v[5:6], v1 offset0:127 offset1:255 gds    ; encoding: [0x7f,0xff,0x6f,0xd8,0x01,0x00,0x00,0x05]
+0x7f,0xff,0x6f,0xd8,0x01,0x00,0x00,0x05
 
-# 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[5:6], v1 offset0:127 offset1:255    ; encoding: [0x7f,0xff,0x70,0xd8,0x01,0x00,0x00,0x05]
+0x7f,0xff,0x70,0xd8,0x01,0x00,0x00,0x05
 
-# 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[254:255], v1 offset0:127 offset1:255    ; encoding: [0x7f,0xff,0x70,0xd8,0x01,0x00,0x00,0xfe]
+0x7f,0xff,0x70,0xd8,0x01,0x00,0x00,0xfe
 
-# 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[5:6], v255 offset0:127 offset1:255    ; encoding: [0x7f,0xff,0x70,0xd8,0xff,0x00,0x00,0x05]
+0x7f,0xff,0x70,0xd8,0xff,0x00,0x00,0x05
 
-# 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[5:6], v1 offset1:255    ; encoding: [0x00,0xff,0x70,0xd8,0x01,0x00,0x00,0x05]
+0x00,0xff,0x70,0xd8,0x01,0x00,0x00,0x05
 
-# 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[5:6], v1 offset0:16 offset1:255    ; encoding: [0x10,0xff,0x70,0xd8,0x01,0x00,0x00,0x05]
+0x10,0xff,0x70,0xd8,0x01,0x00,0x00,0x05
 
-# 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[5:6], v1 offset0:127    ; encoding: [0x7f,0x00,0x70,0xd8,0x01,0x00,0x00,0x05]
+0x7f,0x00,0x70,0xd8,0x01,0x00,0x00,0x05
 
-# 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_read2st64_b32 v[5:6], v1 offset0:127 offset1:1    ; encoding: [0x7f,0x01,0x70,0xd8,0x01,0x00,0x00,0x05]
+0x7f,0x01,0x70,0xd8,0x01,0x00,0x00,0x05
 
-# 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_read2st64_b32 v[5:6], v1 offset0:127 offset1:255 gds    ; encoding: [0x7f,0xff,0x71,0xd8,0x01,0x00,0x00,0x05]
+0x7f,0xff,0x71,0xd8,0x01,0x00,0x00,0x05
 
-# 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 v5, v1 offset:65535    ; encoding: [0xff,0xff,0x72,0xd8,0x01,0x00,0x00,0x05]
+0xff,0xff,0x72,0xd8,0x01,0x00,0x00,0x05
 
-# 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 v255, v1 offset:65535    ; encoding: [0xff,0xff,0x72,0xd8,0x01,0x00,0x00,0xff]
+0xff,0xff,0x72,0xd8,0x01,0x00,0x00,0xff
 
-# 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 v5, v255 offset:65535    ; encoding: [0xff,0xff,0x72,0xd8,0xff,0x00,0x00,0x05]
+0xff,0xff,0x72,0xd8,0xff,0x00,0x00,0x05
 
-# 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 v5, v1    ; encoding: [0x00,0x00,0x72,0xd8,0x01,0x00,0x00,0x05]
+0x00,0x00,0x72,0xd8,0x01,0x00,0x00,0x05
 
-# 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_i8 v5, v1 offset:4    ; encoding: [0x04,0x00,0x72,0xd8,0x01,0x00,0x00,0x05]
+0x04,0x00,0x72,0xd8,0x01,0x00,0x00,0x05
 
-# 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_i8 v5, v1 offset:65535 gds    ; encoding: [0xff,0xff,0x73,0xd8,0x01,0x00,0x00,0x05]
+0xff,0xff,0x73,0xd8,0x01,0x00,0x00,0x05
 
-# 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 v5, v1 offset:65535    ; encoding: [0xff,0xff,0x74,0xd8,0x01,0x00,0x00,0x05]
+0xff,0xff,0x74,0xd8,0x01,0x00,0x00,0x05
 
-# 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 v255, v1 offset:65535    ; encoding: [0xff,0xff,0x74,0xd8,0x01,0x00,0x00,0xff]
+0xff,0xff,0x74,0xd8,0x01,0x00,0x00,0xff
 
-# 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 v5, v255 offset:65535    ; encoding: [0xff,0xff,0x74,0xd8,0xff,0x00,0x00,0x05]
+0xff,0xff,0x74,0xd8,0xff,0x00,0x00,0x05
 
-# 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 v5, v1    ; encoding: [0x00,0x00,0x74,0xd8,0x01,0x00,0x00,0x05]
+0x00,0x00,0x74,0xd8,0x01,0x00,0x00,0x05
 
-# 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_u8 v5, v1 offset:4    ; encoding: [0x04,0x00,0x74,0xd8,0x01,0x00,0x00,0x05]
+0x04,0x00,0x74,0xd8,0x01,0x00,0x00,0x05
 
-# 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_u8 v5, v1 offset:65535 gds    ; encoding: [0xff,0xff,0x75,0xd8,0x01,0x00,0x00,0x05]
+0xff,0xff,0x75,0xd8,0x01,0x00,0x00,0x05
 
-# 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 v5, v1 offset:65535    ; encoding: [0xff,0xff,0x76,0xd8,0x01,0x00,0x00,0x05]
+0xff,0xff,0x76,0xd8,0x01,0x00,0x00,0x05
 
-# 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 v255, v1 offset:65535    ; encoding: [0xff,0xff,0x76,0xd8,0x01,0x00,0x00,0xff]
+0xff,0xff,0x76,0xd8,0x01,0x00,0x00,0xff
 
-# 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 v5, v255 offset:65535    ; encoding: [0xff,0xff,0x76,0xd8,0xff,0x00,0x00,0x05]
+0xff,0xff,0x76,0xd8,0xff,0x00,0x00,0x05
 
-# 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 v5, v1    ; encoding: [0x00,0x00,0x76,0xd8,0x01,0x00,0x00,0x05]
+0x00,0x00,0x76,0xd8,0x01,0x00,0x00,0x05
 
-# 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_i16 v5, v1 offset:4    ; encoding: [0x04,0x00,0x76,0xd8,0x01,0x00,0x00,0x05]
+0x04,0x00,0x76,0xd8,0x01,0x00,0x00,0x05
 
-# 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_i16 v5, v1 offset:65535 gds    ; encoding: [0xff,0xff,0x77,0xd8,0x01,0x00,0x00,0x05]
+0xff,0xff,0x77,0xd8,0x01,0x00,0x00,0x05
 
-# 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 v5, v1 offset:65535    ; encoding: [0xff,0xff,0x78,0xd8,0x01,0x00,0x00,0x05]
+0xff,0xff,0x78,0xd8,0x01,0x00,0x00,0x05
 
-# 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 v255, v1 offset:65535    ; encoding: [0xff,0xff,0x78,0xd8,0x01,0x00,0x00,0xff]
+0xff,0xff,0x78,0xd8,0x01,0x00,0x00,0xff
 
-# 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 v5, v255 offset:65535    ; encoding: [0xff,0xff,0x78,0xd8,0xff,0x00,0x00,0x05]
+0xff,0xff,0x78,0xd8,0xff,0x00,0x00,0x05
 
-# 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 v5, v1    ; encoding: [0x00,0x00,0x78,0xd8,0x01,0x00,0x00,0x05]
+0x00,0x00,0x78,0xd8,0x01,0x00,0x00,0x05
 
-# 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_read_u16 v5, v1 offset:4    ; encoding: [0x04,0x00,0x78,0xd8,0x01,0x00,0x00,0x05]
+0x04,0x00,0x78,0xd8,0x01,0x00,0x00,0x05
 
-# 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_read_u16 v5, v1 offset:65535 gds    ; encoding: [0xff,0xff,0x79,0xd8,0x01,0x00,0x00,0x05]
+0xff,0xff,0x79,0xd8,0x01,0x00,0x00,0x05
 
-# 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 v5, v1 offset:65535    ; encoding: [0xff,0xff,0x7a,0xd8,0x01,0x00,0x00,0x05]
+0xff,0xff,0x7a,0xd8,0x01,0x00,0x00,0x05
 
-# 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 v255, v1 offset:65535    ; encoding: [0xff,0xff,0x7a,0xd8,0x01,0x00,0x00,0xff]
+0xff,0xff,0x7a,0xd8,0x01,0x00,0x00,0xff
 
-# 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 v5, v255 offset:65535    ; encoding: [0xff,0xff,0x7a,0xd8,0xff,0x00,0x00,0x05]
+0xff,0xff,0x7a,0xd8,0xff,0x00,0x00,0x05
 
-# 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 v5, v1    ; encoding: [0x00,0x00,0x7a,0xd8,0x01,0x00,0x00,0x05]
+0x00,0x00,0x7a,0xd8,0x01,0x00,0x00,0x05
 
-# 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_swizzle_b32 v5, v1 offset:4    ; encoding: [0x04,0x00,0x7a,0xd8,0x01,0x00,0x00,0x05]
+0x04,0x00,0x7a,0xd8,0x01,0x00,0x00,0x05
 
-# 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_swizzle_b32 v5, v1 offset:65535 gds    ; encoding: [0xff,0xff,0x7b,0xd8,0x01,0x00,0x00,0x05]
+0xff,0xff,0x7b,0xd8,0x01,0x00,0x00,0x05
 
-# 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 v5, v1, v2 offset:65535    ; encoding: [0xff,0xff,0x7c,0xd8,0x01,0x02,0x00,0x05]
+0xff,0xff,0x7c,0xd8,0x01,0x02,0x00,0x05
 
-# 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 v255, v1, v2 offset:65535    ; encoding: [0xff,0xff,0x7c,0xd8,0x01,0x02,0x00,0xff]
+0xff,0xff,0x7c,0xd8,0x01,0x02,0x00,0xff
 
-# 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 v5, v255, v2 offset:65535    ; encoding: [0xff,0xff,0x7c,0xd8,0xff,0x02,0x00,0x05]
+0xff,0xff,0x7c,0xd8,0xff,0x02,0x00,0x05
 
-# 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 v5, v1, v255 offset:65535    ; encoding: [0xff,0xff,0x7c,0xd8,0x01,0xff,0x00,0x05]
+0xff,0xff,0x7c,0xd8,0x01,0xff,0x00,0x05
 
-# 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_permute_b32 v5, v1, v2    ; encoding: [0x00,0x00,0x7c,0xd8,0x01,0x02,0x00,0x05]
+0x00,0x00,0x7c,0xd8,0x01,0x02,0x00,0x05
 
-# 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_permute_b32 v5, v1, v2 offset:4    ; encoding: [0x04,0x00,0x7c,0xd8,0x01,0x02,0x00,0x05]
+0x04,0x00,0x7c,0xd8,0x01,0x02,0x00,0x05
 
-# 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 v5, v1, v2 offset:65535    ; encoding: [0xff,0xff,0x7e,0xd8,0x01,0x02,0x00,0x05]
+0xff,0xff,0x7e,0xd8,0x01,0x02,0x00,0x05
 
-# 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 v255, v1, v2 offset:65535    ; encoding: [0xff,0xff,0x7e,0xd8,0x01,0x02,0x00,0xff]
+0xff,0xff,0x7e,0xd8,0x01,0x02,0x00,0xff
 
-# 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 v5, v255, v2 offset:65535    ; encoding: [0xff,0xff,0x7e,0xd8,0xff,0x02,0x00,0x05]
+0xff,0xff,0x7e,0xd8,0xff,0x02,0x00,0x05
 
-# 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 v5, v1, v255 offset:65535    ; encoding: [0xff,0xff,0x7e,0xd8,0x01,0xff,0x00,0x05]
+0xff,0xff,0x7e,0xd8,0x01,0xff,0x00,0x05
 
-# 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_bpermute_b32 v5, v1, v2    ; encoding: [0x00,0x00,0x7e,0xd8,0x01,0x02,0x00,0x05]
+0x00,0x00,0x7e,0xd8,0x01,0x02,0x00,0x05
 
-# 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_bpermute_b32 v5, v1, v2 offset:4    ; encoding: [0x04,0x00,0x7e,0xd8,0x01,0x02,0x00,0x05]
+0x04,0x00,0x7e,0xd8,0x01,0x02,0x00,0x05
 
-# 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 v1, v[2:3] offset:65535    ; encoding: [0xff,0xff,0x80,0xd8,0x01,0x02,0x00,0x00]
+0xff,0xff,0x80,0xd8,0x01,0x02,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 v255, v[2:3] offset:65535    ; encoding: [0xff,0xff,0x80,0xd8,0xff,0x02,0x00,0x00]
+0xff,0xff,0x80,0xd8,0xff,0x02,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 v1, v[254:255] offset:65535    ; encoding: [0xff,0xff,0x80,0xd8,0x01,0xfe,0x00,0x00]
+0xff,0xff,0x80,0xd8,0x01,0xfe,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 v1, v[2:3]    ; encoding: [0x00,0x00,0x80,0xd8,0x01,0x02,0x00,0x00]
+0x00,0x00,0x80,0xd8,0x01,0x02,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_add_u64 v1, v[2:3] offset:4    ; encoding: [0x04,0x00,0x80,0xd8,0x01,0x02,0x00,0x00]
+0x04,0x00,0x80,0xd8,0x01,0x02,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_add_u64 v1, v[2:3] offset:65535 gds    ; encoding: [0xff,0xff,0x81,0xd8,0x01,0x02,0x00,0x00]
+0xff,0xff,0x81,0xd8,0x01,0x02,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 v1, v[2:3] offset:65535    ; encoding: [0xff,0xff,0x82,0xd8,0x01,0x02,0x00,0x00]
+0xff,0xff,0x82,0xd8,0x01,0x02,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 v255, v[2:3] offset:65535    ; encoding: [0xff,0xff,0x82,0xd8,0xff,0x02,0x00,0x00]
+0xff,0xff,0x82,0xd8,0xff,0x02,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 v1, v[254:255] offset:65535    ; encoding: [0xff,0xff,0x82,0xd8,0x01,0xfe,0x00,0x00]
+0xff,0xff,0x82,0xd8,0x01,0xfe,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 v1, v[2:3]    ; encoding: [0x00,0x00,0x82,0xd8,0x01,0x02,0x00,0x00]
+0x00,0x00,0x82,0xd8,0x01,0x02,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_sub_u64 v1, v[2:3] offset:4    ; encoding: [0x04,0x00,0x82,0xd8,0x01,0x02,0x00,0x00]
+0x04,0x00,0x82,0xd8,0x01,0x02,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_sub_u64 v1, v[2:3] offset:65535 gds    ; encoding: [0xff,0xff,0x83,0xd8,0x01,0x02,0x00,0x00]
+0xff,0xff,0x83,0xd8,0x01,0x02,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 v1, v[2:3] offset:65535    ; encoding: [0xff,0xff,0x84,0xd8,0x01,0x02,0x00,0x00]
+0xff,0xff,0x84,0xd8,0x01,0x02,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 v255, v[2:3] offset:65535    ; encoding: [0xff,0xff,0x84,0xd8,0xff,0x02,0x00,0x00]
+0xff,0xff,0x84,0xd8,0xff,0x02,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 v1, v[254:255] offset:65535    ; encoding: [0xff,0xff,0x84,0xd8,0x01,0xfe,0x00,0x00]
+0xff,0xff,0x84,0xd8,0x01,0xfe,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 v1, v[2:3]    ; encoding: [0x00,0x00,0x84,0xd8,0x01,0x02,0x00,0x00]
+0x00,0x00,0x84,0xd8,0x01,0x02,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_rsub_u64 v1, v[2:3] offset:4    ; encoding: [0x04,0x00,0x84,0xd8,0x01,0x02,0x00,0x00]
+0x04,0x00,0x84,0xd8,0x01,0x02,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_rsub_u64 v1, v[2:3] offset:65535 gds    ; encoding: [0xff,0xff,0x85,0xd8,0x01,0x02,0x00,0x00]
+0xff,0xff,0x85,0xd8,0x01,0x02,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 v1, v[2:3] offset:65535    ; encoding: [0xff,0xff,0x86,0xd8,0x01,0x02,0x00,0x00]
+0xff,0xff,0x86,0xd8,0x01,0x02,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 v255, v[2:3] offset:65535    ; encoding: [0xff,0xff,0x86,0xd8,0xff,0x02,0x00,0x00]
+0xff,0xff,0x86,0xd8,0xff,0x02,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 v1, v[254:255] offset:65535    ; encoding: [0xff,0xff,0x86,0xd8,0x01,0xfe,0x00,0x00]
+0xff,0xff,0x86,0xd8,0x01,0xfe,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 v1, v[2:3]    ; encoding: [0x00,0x00,0x86,0xd8,0x01,0x02,0x00,0x00]
+0x00,0x00,0x86,0xd8,0x01,0x02,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_inc_u64 v1, v[2:3] offset:4    ; encoding: [0x04,0x00,0x86,0xd8,0x01,0x02,0x00,0x00]
+0x04,0x00,0x86,0xd8,0x01,0x02,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_inc_u64 v1, v[2:3] offset:65535 gds    ; encoding: [0xff,0xff,0x87,0xd8,0x01,0x02,0x00,0x00]
+0xff,0xff,0x87,0xd8,0x01,0x02,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 v1, v[2:3] offset:65535    ; encoding: [0xff,0xff,0x88,0xd8,0x01,0x02,0x00,0x00]
+0xff,0xff,0x88,0xd8,0x01,0x02,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 v255, v[2:3] offset:65535    ; encoding: [0xff,0xff,0x88,0xd8,0xff,0x02,0x00,0x00]
+0xff,0xff,0x88,0xd8,0xff,0x02,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 v1, v[254:255] offset:65535    ; encoding: [0xff,0xff,0x88,0xd8,0x01,0xfe,0x00,0x00]
+0xff,0xff,0x88,0xd8,0x01,0xfe,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 v1, v[2:3]    ; encoding: [0x00,0x00,0x88,0xd8,0x01,0x02,0x00,0x00]
+0x00,0x00,0x88,0xd8,0x01,0x02,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_dec_u64 v1, v[2:3] offset:4    ; encoding: [0x04,0x00,0x88,0xd8,0x01,0x02,0x00,0x00]
+0x04,0x00,0x88,0xd8,0x01,0x02,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_dec_u64 v1, v[2:3] offset:65535 gds    ; encoding: [0xff,0xff,0x89,0xd8,0x01,0x02,0x00,0x00]
+0xff,0xff,0x89,0xd8,0x01,0x02,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 v1, v[2:3] offset:65535    ; encoding: [0xff,0xff,0x8a,0xd8,0x01,0x02,0x00,0x00]
+0xff,0xff,0x8a,0xd8,0x01,0x02,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 v255, v[2:3] offset:65535    ; encoding: [0xff,0xff,0x8a,0xd8,0xff,0x02,0x00,0x00]
+0xff,0xff,0x8a,0xd8,0xff,0x02,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 v1, v[254:255] offset:65535    ; encoding: [0xff,0xff,0x8a,0xd8,0x01,0xfe,0x00,0x00]
+0xff,0xff,0x8a,0xd8,0x01,0xfe,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 v1, v[2:3]    ; encoding: [0x00,0x00,0x8a,0xd8,0x01,0x02,0x00,0x00]
+0x00,0x00,0x8a,0xd8,0x01,0x02,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_min_i64 v1, v[2:3] offset:4    ; encoding: [0x04,0x00,0x8a,0xd8,0x01,0x02,0x00,0x00]
+0x04,0x00,0x8a,0xd8,0x01,0x02,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_min_i64 v1, v[2:3] offset:65535 gds    ; encoding: [0xff,0xff,0x8b,0xd8,0x01,0x02,0x00,0x00]
+0xff,0xff,0x8b,0xd8,0x01,0x02,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 v1, v[2:3] offset:65535    ; encoding: [0xff,0xff,0x8c,0xd8,0x01,0x02,0x00,0x00]
+0xff,0xff,0x8c,0xd8,0x01,0x02,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 v255, v[2:3] offset:65535    ; encoding: [0xff,0xff,0x8c,0xd8,0xff,0x02,0x00,0x00]
+0xff,0xff,0x8c,0xd8,0xff,0x02,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 v1, v[254:255] offset:65535    ; encoding: [0xff,0xff,0x8c,0xd8,0x01,0xfe,0x00,0x00]
+0xff,0xff,0x8c,0xd8,0x01,0xfe,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 v1, v[2:3]    ; encoding: [0x00,0x00,0x8c,0xd8,0x01,0x02,0x00,0x00]
+0x00,0x00,0x8c,0xd8,0x01,0x02,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_max_i64 v1, v[2:3] offset:4    ; encoding: [0x04,0x00,0x8c,0xd8,0x01,0x02,0x00,0x00]
+0x04,0x00,0x8c,0xd8,0x01,0x02,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_max_i64 v1, v[2:3] offset:65535 gds    ; encoding: [0xff,0xff,0x8d,0xd8,0x01,0x02,0x00,0x00]
+0xff,0xff,0x8d,0xd8,0x01,0x02,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 v1, v[2:3] offset:65535    ; encoding: [0xff,0xff,0x8e,0xd8,0x01,0x02,0x00,0x00]
+0xff,0xff,0x8e,0xd8,0x01,0x02,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 v255, v[2:3] offset:65535    ; encoding: [0xff,0xff,0x8e,0xd8,0xff,0x02,0x00,0x00]
+0xff,0xff,0x8e,0xd8,0xff,0x02,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 v1, v[254:255] offset:65535    ; encoding: [0xff,0xff,0x8e,0xd8,0x01,0xfe,0x00,0x00]
+0xff,0xff,0x8e,0xd8,0x01,0xfe,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 v1, v[2:3]    ; encoding: [0x00,0x00,0x8e,0xd8,0x01,0x02,0x00,0x00]
+0x00,0x00,0x8e,0xd8,0x01,0x02,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_min_u64 v1, v[2:3] offset:4    ; encoding: [0x04,0x00,0x8e,0xd8,0x01,0x02,0x00,0x00]
+0x04,0x00,0x8e,0xd8,0x01,0x02,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_min_u64 v1, v[2:3] offset:65535 gds    ; encoding: [0xff,0xff,0x8f,0xd8,0x01,0x02,0x00,0x00]
+0xff,0xff,0x8f,0xd8,0x01,0x02,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 v1, v[2:3] offset:65535    ; encoding: [0xff,0xff,0x90,0xd8,0x01,0x02,0x00,0x00]
+0xff,0xff,0x90,0xd8,0x01,0x02,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 v255, v[2:3] offset:65535    ; encoding: [0xff,0xff,0x90,0xd8,0xff,0x02,0x00,0x00]
+0xff,0xff,0x90,0xd8,0xff,0x02,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 v1, v[254:255] offset:65535    ; encoding: [0xff,0xff,0x90,0xd8,0x01,0xfe,0x00,0x00]
+0xff,0xff,0x90,0xd8,0x01,0xfe,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 v1, v[2:3]    ; encoding: [0x00,0x00,0x90,0xd8,0x01,0x02,0x00,0x00]
+0x00,0x00,0x90,0xd8,0x01,0x02,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_max_u64 v1, v[2:3] offset:4    ; encoding: [0x04,0x00,0x90,0xd8,0x01,0x02,0x00,0x00]
+0x04,0x00,0x90,0xd8,0x01,0x02,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_max_u64 v1, v[2:3] offset:65535 gds    ; encoding: [0xff,0xff,0x91,0xd8,0x01,0x02,0x00,0x00]
+0xff,0xff,0x91,0xd8,0x01,0x02,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 v1, v[2:3] offset:65535    ; encoding: [0xff,0xff,0x92,0xd8,0x01,0x02,0x00,0x00]
+0xff,0xff,0x92,0xd8,0x01,0x02,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 v255, v[2:3] offset:65535    ; encoding: [0xff,0xff,0x92,0xd8,0xff,0x02,0x00,0x00]
+0xff,0xff,0x92,0xd8,0xff,0x02,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 v1, v[254:255] offset:65535    ; encoding: [0xff,0xff,0x92,0xd8,0x01,0xfe,0x00,0x00]
+0xff,0xff,0x92,0xd8,0x01,0xfe,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 v1, v[2:3]    ; encoding: [0x00,0x00,0x92,0xd8,0x01,0x02,0x00,0x00]
+0x00,0x00,0x92,0xd8,0x01,0x02,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_and_b64 v1, v[2:3] offset:4    ; encoding: [0x04,0x00,0x92,0xd8,0x01,0x02,0x00,0x00]
+0x04,0x00,0x92,0xd8,0x01,0x02,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_and_b64 v1, v[2:3] offset:65535 gds    ; encoding: [0xff,0xff,0x93,0xd8,0x01,0x02,0x00,0x00]
+0xff,0xff,0x93,0xd8,0x01,0x02,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 v1, v[2:3] offset:65535    ; encoding: [0xff,0xff,0x94,0xd8,0x01,0x02,0x00,0x00]
+0xff,0xff,0x94,0xd8,0x01,0x02,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 v255, v[2:3] offset:65535    ; encoding: [0xff,0xff,0x94,0xd8,0xff,0x02,0x00,0x00]
+0xff,0xff,0x94,0xd8,0xff,0x02,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 v1, v[254:255] offset:65535    ; encoding: [0xff,0xff,0x94,0xd8,0x01,0xfe,0x00,0x00]
+0xff,0xff,0x94,0xd8,0x01,0xfe,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 v1, v[2:3]    ; encoding: [0x00,0x00,0x94,0xd8,0x01,0x02,0x00,0x00]
+0x00,0x00,0x94,0xd8,0x01,0x02,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_or_b64 v1, v[2:3] offset:4    ; encoding: [0x04,0x00,0x94,0xd8,0x01,0x02,0x00,0x00]
+0x04,0x00,0x94,0xd8,0x01,0x02,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_or_b64 v1, v[2:3] offset:65535 gds    ; encoding: [0xff,0xff,0x95,0xd8,0x01,0x02,0x00,0x00]
+0xff,0xff,0x95,0xd8,0x01,0x02,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 v1, v[2:3] offset:65535    ; encoding: [0xff,0xff,0x96,0xd8,0x01,0x02,0x00,0x00]
+0xff,0xff,0x96,0xd8,0x01,0x02,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 v255, v[2:3] offset:65535    ; encoding: [0xff,0xff,0x96,0xd8,0xff,0x02,0x00,0x00]
+0xff,0xff,0x96,0xd8,0xff,0x02,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 v1, v[254:255] offset:65535    ; encoding: [0xff,0xff,0x96,0xd8,0x01,0xfe,0x00,0x00]
+0xff,0xff,0x96,0xd8,0x01,0xfe,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 v1, v[2:3]    ; encoding: [0x00,0x00,0x96,0xd8,0x01,0x02,0x00,0x00]
+0x00,0x00,0x96,0xd8,0x01,0x02,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_xor_b64 v1, v[2:3] offset:4    ; encoding: [0x04,0x00,0x96,0xd8,0x01,0x02,0x00,0x00]
+0x04,0x00,0x96,0xd8,0x01,0x02,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_xor_b64 v1, v[2:3] offset:65535 gds    ; encoding: [0xff,0xff,0x97,0xd8,0x01,0x02,0x00,0x00]
+0xff,0xff,0x97,0xd8,0x01,0x02,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 v1, v[2:3], v[3:4] offset:65535    ; encoding: [0xff,0xff,0x98,0xd8,0x01,0x02,0x03,0x00]
+0xff,0xff,0x98,0xd8,0x01,0x02,0x03,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 v255, v[2:3], v[3:4] offset:65535    ; encoding: [0xff,0xff,0x98,0xd8,0xff,0x02,0x03,0x00]
+0xff,0xff,0x98,0xd8,0xff,0x02,0x03,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 v1, v[254:255], v[3:4] offset:65535    ; encoding: [0xff,0xff,0x98,0xd8,0x01,0xfe,0x03,0x00]
+0xff,0xff,0x98,0xd8,0x01,0xfe,0x03,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 v1, v[2:3], v[254:255] offset:65535    ; encoding: [0xff,0xff,0x98,0xd8,0x01,0x02,0xfe,0x00]
+0xff,0xff,0x98,0xd8,0x01,0x02,0xfe,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 v1, v[2:3], v[3:4]    ; encoding: [0x00,0x00,0x98,0xd8,0x01,0x02,0x03,0x00]
+0x00,0x00,0x98,0xd8,0x01,0x02,0x03,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_mskor_b64 v1, v[2:3], v[3:4] offset:4    ; encoding: [0x04,0x00,0x98,0xd8,0x01,0x02,0x03,0x00]
+0x04,0x00,0x98,0xd8,0x01,0x02,0x03,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_mskor_b64 v1, v[2:3], v[3:4] offset:65535 gds    ; encoding: [0xff,0xff,0x99,0xd8,0x01,0x02,0x03,0x00]
+0xff,0xff,0x99,0xd8,0x01,0x02,0x03,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 v1, v[2:3] offset:65535    ; encoding: [0xff,0xff,0x9a,0xd8,0x01,0x02,0x00,0x00]
+0xff,0xff,0x9a,0xd8,0x01,0x02,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 v255, v[2:3] offset:65535    ; encoding: [0xff,0xff,0x9a,0xd8,0xff,0x02,0x00,0x00]
+0xff,0xff,0x9a,0xd8,0xff,0x02,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 v1, v[254:255] offset:65535    ; encoding: [0xff,0xff,0x9a,0xd8,0x01,0xfe,0x00,0x00]
+0xff,0xff,0x9a,0xd8,0x01,0xfe,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 v1, v[2:3]    ; encoding: [0x00,0x00,0x9a,0xd8,0x01,0x02,0x00,0x00]
+0x00,0x00,0x9a,0xd8,0x01,0x02,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_write_b64 v1, v[2:3] offset:4    ; encoding: [0x04,0x00,0x9a,0xd8,0x01,0x02,0x00,0x00]
+0x04,0x00,0x9a,0xd8,0x01,0x02,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_write_b64 v1, v[2:3] offset:65535 gds    ; encoding: [0xff,0xff,0x9b,0xd8,0x01,0x02,0x00,0x00]
+0xff,0xff,0x9b,0xd8,0x01,0x02,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 v1, v[2:3], v[3:4] offset0:127 offset1:255    ; encoding: [0x7f,0xff,0x9c,0xd8,0x01,0x02,0x03,0x00]
+0x7f,0xff,0x9c,0xd8,0x01,0x02,0x03,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 v255, v[2:3], v[3:4] offset0:127 offset1:255    ; encoding: [0x7f,0xff,0x9c,0xd8,0xff,0x02,0x03,0x00]
+0x7f,0xff,0x9c,0xd8,0xff,0x02,0x03,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 v1, v[254:255], v[3:4] offset0:127 offset1:255    ; encoding: [0x7f,0xff,0x9c,0xd8,0x01,0xfe,0x03,0x00]
+0x7f,0xff,0x9c,0xd8,0x01,0xfe,0x03,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 v1, v[2:3], v[254:255] offset0:127 offset1:255    ; encoding: [0x7f,0xff,0x9c,0xd8,0x01,0x02,0xfe,0x00]
+0x7f,0xff,0x9c,0xd8,0x01,0x02,0xfe,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 v1, v[2:3], v[3:4] offset1:255    ; encoding: [0x00,0xff,0x9c,0xd8,0x01,0x02,0x03,0x00]
+0x00,0xff,0x9c,0xd8,0x01,0x02,0x03,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 v1, v[2:3], v[3:4] offset0:16 offset1:255    ; encoding: [0x10,0xff,0x9c,0xd8,0x01,0x02,0x03,0x00]
+0x10,0xff,0x9c,0xd8,0x01,0x02,0x03,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 v1, v[2:3], v[3:4] offset0:127    ; encoding: [0x7f,0x00,0x9c,0xd8,0x01,0x02,0x03,0x00]
+0x7f,0x00,0x9c,0xd8,0x01,0x02,0x03,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_write2_b64 v1, v[2:3], v[3:4] offset0:127 offset1:1    ; encoding: [0x7f,0x01,0x9c,0xd8,0x01,0x02,0x03,0x00]
+0x7f,0x01,0x9c,0xd8,0x01,0x02,0x03,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_write2_b64 v1, v[2:3], v[3:4] offset0:127 offset1:255 gds    ; encoding: [0x7f,0xff,0x9d,0xd8,0x01,0x02,0x03,0x00]
+0x7f,0xff,0x9d,0xd8,0x01,0x02,0x03,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 v1, v[2:3], v[3:4] offset0:127 offset1:255    ; encoding: [0x7f,0xff,0x9e,0xd8,0x01,0x02,0x03,0x00]
+0x7f,0xff,0x9e,0xd8,0x01,0x02,0x03,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 v255, v[2:3], v[3:4] offset0:127 offset1:255    ; encoding: [0x7f,0xff,0x9e,0xd8,0xff,0x02,0x03,0x00]
+0x7f,0xff,0x9e,0xd8,0xff,0x02,0x03,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 v1, v[254:255], v[3:4] offset0:127 offset1:255    ; encoding: [0x7f,0xff,0x9e,0xd8,0x01,0xfe,0x03,0x00]
+0x7f,0xff,0x9e,0xd8,0x01,0xfe,0x03,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 v1, v[2:3], v[254:255] offset0:127 offset1:255    ; encoding: [0x7f,0xff,0x9e,0xd8,0x01,0x02,0xfe,0x00]
+0x7f,0xff,0x9e,0xd8,0x01,0x02,0xfe,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 v1, v[2:3], v[3:4] offset1:255    ; encoding: [0x00,0xff,0x9e,0xd8,0x01,0x02,0x03,0x00]
+0x00,0xff,0x9e,0xd8,0x01,0x02,0x03,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 v1, v[2:3], v[3:4] offset0:16 offset1:255    ; encoding: [0x10,0xff,0x9e,0xd8,0x01,0x02,0x03,0x00]
+0x10,0xff,0x9e,0xd8,0x01,0x02,0x03,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 v1, v[2:3], v[3:4] offset0:127    ; encoding: [0x7f,0x00,0x9e,0xd8,0x01,0x02,0x03,0x00]
+0x7f,0x00,0x9e,0xd8,0x01,0x02,0x03,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_write2st64_b64 v1, v[2:3], v[3:4] offset0:127 offset1:1    ; encoding: [0x7f,0x01,0x9e,0xd8,0x01,0x02,0x03,0x00]
+0x7f,0x01,0x9e,0xd8,0x01,0x02,0x03,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_write2st64_b64 v1, v[2:3], v[3:4] offset0:127 offset1:255 gds    ; encoding: [0x7f,0xff,0x9f,0xd8,0x01,0x02,0x03,0x00]
+0x7f,0xff,0x9f,0xd8,0x01,0x02,0x03,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 v1, v[2:3], v[3:4] offset:65535    ; encoding: [0xff,0xff,0xa0,0xd8,0x01,0x02,0x03,0x00]
+0xff,0xff,0xa0,0xd8,0x01,0x02,0x03,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 v255, v[2:3], v[3:4] offset:65535    ; encoding: [0xff,0xff,0xa0,0xd8,0xff,0x02,0x03,0x00]
+0xff,0xff,0xa0,0xd8,0xff,0x02,0x03,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 v1, v[254:255], v[3:4] offset:65535    ; encoding: [0xff,0xff,0xa0,0xd8,0x01,0xfe,0x03,0x00]
+0xff,0xff,0xa0,0xd8,0x01,0xfe,0x03,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 v1, v[2:3], v[254:255] offset:65535    ; encoding: [0xff,0xff,0xa0,0xd8,0x01,0x02,0xfe,0x00]
+0xff,0xff,0xa0,0xd8,0x01,0x02,0xfe,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 v1, v[2:3], v[3:4]    ; encoding: [0x00,0x00,0xa0,0xd8,0x01,0x02,0x03,0x00]
+0x00,0x00,0xa0,0xd8,0x01,0x02,0x03,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_b64 v1, v[2:3], v[3:4] offset:4    ; encoding: [0x04,0x00,0xa0,0xd8,0x01,0x02,0x03,0x00]
+0x04,0x00,0xa0,0xd8,0x01,0x02,0x03,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_b64 v1, v[2:3], v[3:4] offset:65535 gds    ; encoding: [0xff,0xff,0xa1,0xd8,0x01,0x02,0x03,0x00]
+0xff,0xff,0xa1,0xd8,0x01,0x02,0x03,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 v1, v[2:3], v[3:4] offset:65535    ; encoding: [0xff,0xff,0xa2,0xd8,0x01,0x02,0x03,0x00]
+0xff,0xff,0xa2,0xd8,0x01,0x02,0x03,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 v255, v[2:3], v[3:4] offset:65535    ; encoding: [0xff,0xff,0xa2,0xd8,0xff,0x02,0x03,0x00]
+0xff,0xff,0xa2,0xd8,0xff,0x02,0x03,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 v1, v[254:255], v[3:4] offset:65535    ; encoding: [0xff,0xff,0xa2,0xd8,0x01,0xfe,0x03,0x00]
+0xff,0xff,0xa2,0xd8,0x01,0xfe,0x03,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 v1, v[2:3], v[254:255] offset:65535    ; encoding: [0xff,0xff,0xa2,0xd8,0x01,0x02,0xfe,0x00]
+0xff,0xff,0xa2,0xd8,0x01,0x02,0xfe,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 v1, v[2:3], v[3:4]    ; encoding: [0x00,0x00,0xa2,0xd8,0x01,0x02,0x03,0x00]
+0x00,0x00,0xa2,0xd8,0x01,0x02,0x03,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_cmpst_f64 v1, v[2:3], v[3:4] offset:4    ; encoding: [0x04,0x00,0xa2,0xd8,0x01,0x02,0x03,0x00]
+0x04,0x00,0xa2,0xd8,0x01,0x02,0x03,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_cmpst_f64 v1, v[2:3], v[3:4] offset:65535 gds    ; encoding: [0xff,0xff,0xa3,0xd8,0x01,0x02,0x03,0x00]
+0xff,0xff,0xa3,0xd8,0x01,0x02,0x03,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 v1, v[2:3] offset:65535    ; encoding: [0xff,0xff,0xa4,0xd8,0x01,0x02,0x00,0x00]
+0xff,0xff,0xa4,0xd8,0x01,0x02,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 v255, v[2:3] offset:65535    ; encoding: [0xff,0xff,0xa4,0xd8,0xff,0x02,0x00,0x00]
+0xff,0xff,0xa4,0xd8,0xff,0x02,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 v1, v[254:255] offset:65535    ; encoding: [0xff,0xff,0xa4,0xd8,0x01,0xfe,0x00,0x00]
+0xff,0xff,0xa4,0xd8,0x01,0xfe,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 v1, v[2:3]    ; encoding: [0x00,0x00,0xa4,0xd8,0x01,0x02,0x00,0x00]
+0x00,0x00,0xa4,0xd8,0x01,0x02,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_min_f64 v1, v[2:3] offset:4    ; encoding: [0x04,0x00,0xa4,0xd8,0x01,0x02,0x00,0x00]
+0x04,0x00,0xa4,0xd8,0x01,0x02,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_min_f64 v1, v[2:3] offset:65535 gds    ; encoding: [0xff,0xff,0xa5,0xd8,0x01,0x02,0x00,0x00]
+0xff,0xff,0xa5,0xd8,0x01,0x02,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 v1, v[2:3] offset:65535    ; encoding: [0xff,0xff,0xa6,0xd8,0x01,0x02,0x00,0x00]
+0xff,0xff,0xa6,0xd8,0x01,0x02,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 v255, v[2:3] offset:65535    ; encoding: [0xff,0xff,0xa6,0xd8,0xff,0x02,0x00,0x00]
+0xff,0xff,0xa6,0xd8,0xff,0x02,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 v1, v[254:255] offset:65535    ; encoding: [0xff,0xff,0xa6,0xd8,0x01,0xfe,0x00,0x00]
+0xff,0xff,0xa6,0xd8,0x01,0xfe,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 v1, v[2:3]    ; encoding: [0x00,0x00,0xa6,0xd8,0x01,0x02,0x00,0x00]
+0x00,0x00,0xa6,0xd8,0x01,0x02,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_max_f64 v1, v[2:3] offset:4    ; encoding: [0x04,0x00,0xa6,0xd8,0x01,0x02,0x00,0x00]
+0x04,0x00,0xa6,0xd8,0x01,0x02,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_max_f64 v1, v[2:3] offset:65535 gds    ; encoding: [0xff,0xff,0xa7,0xd8,0x01,0x02,0x00,0x00]
+0xff,0xff,0xa7,0xd8,0x01,0x02,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[5:6], v1, v[2:3] offset:65535    ; encoding: [0xff,0xff,0xc0,0xd8,0x01,0x02,0x00,0x05]
+0xff,0xff,0xc0,0xd8,0x01,0x02,0x00,0x05
 
-# 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[254:255], v1, v[2:3] offset:65535    ; encoding: [0xff,0xff,0xc0,0xd8,0x01,0x02,0x00,0xfe]
+0xff,0xff,0xc0,0xd8,0x01,0x02,0x00,0xfe
 
-# 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[5:6], v255, v[2:3] offset:65535    ; encoding: [0xff,0xff,0xc0,0xd8,0xff,0x02,0x00,0x05]
+0xff,0xff,0xc0,0xd8,0xff,0x02,0x00,0x05
 
-# 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[5:6], v1, v[254:255] offset:65535    ; encoding: [0xff,0xff,0xc0,0xd8,0x01,0xfe,0x00,0x05]
+0xff,0xff,0xc0,0xd8,0x01,0xfe,0x00,0x05
 
-# 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[5:6], v1, v[2:3]    ; encoding: [0x00,0x00,0xc0,0xd8,0x01,0x02,0x00,0x05]
+0x00,0x00,0xc0,0xd8,0x01,0x02,0x00,0x05
 
-# 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_add_rtn_u64 v[5:6], v1, v[2:3] offset:4    ; encoding: [0x04,0x00,0xc0,0xd8,0x01,0x02,0x00,0x05]
+0x04,0x00,0xc0,0xd8,0x01,0x02,0x00,0x05
 
-# 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_add_rtn_u64 v[5:6], v1, v[2:3] offset:65535 gds    ; encoding: [0xff,0xff,0xc1,0xd8,0x01,0x02,0x00,0x05]
+0xff,0xff,0xc1,0xd8,0x01,0x02,0x00,0x05
 
-# 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[5:6], v1, v[2:3] offset:65535    ; encoding: [0xff,0xff,0xc2,0xd8,0x01,0x02,0x00,0x05]
+0xff,0xff,0xc2,0xd8,0x01,0x02,0x00,0x05
 
-# 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[254:255], v1, v[2:3] offset:65535    ; encoding: [0xff,0xff,0xc2,0xd8,0x01,0x02,0x00,0xfe]
+0xff,0xff,0xc2,0xd8,0x01,0x02,0x00,0xfe
 
-# 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[5:6], v255, v[2:3] offset:65535    ; encoding: [0xff,0xff,0xc2,0xd8,0xff,0x02,0x00,0x05]
+0xff,0xff,0xc2,0xd8,0xff,0x02,0x00,0x05
 
-# 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[5:6], v1, v[254:255] offset:65535    ; encoding: [0xff,0xff,0xc2,0xd8,0x01,0xfe,0x00,0x05]
+0xff,0xff,0xc2,0xd8,0x01,0xfe,0x00,0x05
 
-# 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[5:6], v1, v[2:3]    ; encoding: [0x00,0x00,0xc2,0xd8,0x01,0x02,0x00,0x05]
+0x00,0x00,0xc2,0xd8,0x01,0x02,0x00,0x05
 
-# 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_sub_rtn_u64 v[5:6], v1, v[2:3] offset:4    ; encoding: [0x04,0x00,0xc2,0xd8,0x01,0x02,0x00,0x05]
+0x04,0x00,0xc2,0xd8,0x01,0x02,0x00,0x05
 
-# 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_sub_rtn_u64 v[5:6], v1, v[2:3] offset:65535 gds    ; encoding: [0xff,0xff,0xc3,0xd8,0x01,0x02,0x00,0x05]
+0xff,0xff,0xc3,0xd8,0x01,0x02,0x00,0x05
 
-# 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[5:6], v1, v[2:3] offset:65535    ; encoding: [0xff,0xff,0xc4,0xd8,0x01,0x02,0x00,0x05]
+0xff,0xff,0xc4,0xd8,0x01,0x02,0x00,0x05
 
-# 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[254:255], v1, v[2:3] offset:65535    ; encoding: [0xff,0xff,0xc4,0xd8,0x01,0x02,0x00,0xfe]
+0xff,0xff,0xc4,0xd8,0x01,0x02,0x00,0xfe
 
-# 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[5:6], v255, v[2:3] offset:65535    ; encoding: [0xff,0xff,0xc4,0xd8,0xff,0x02,0x00,0x05]
+0xff,0xff,0xc4,0xd8,0xff,0x02,0x00,0x05
 
-# 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[5:6], v1, v[254:255] offset:65535    ; encoding: [0xff,0xff,0xc4,0xd8,0x01,0xfe,0x00,0x05]
+0xff,0xff,0xc4,0xd8,0x01,0xfe,0x00,0x05
 
-# 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[5:6], v1, v[2:3]    ; encoding: [0x00,0x00,0xc4,0xd8,0x01,0x02,0x00,0x05]
+0x00,0x00,0xc4,0xd8,0x01,0x02,0x00,0x05
 
-# 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_rsub_rtn_u64 v[5:6], v1, v[2:3] offset:4    ; encoding: [0x04,0x00,0xc4,0xd8,0x01,0x02,0x00,0x05]
+0x04,0x00,0xc4,0xd8,0x01,0x02,0x00,0x05
 
-# 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_rsub_rtn_u64 v[5:6], v1, v[2:3] offset:65535 gds    ; encoding: [0xff,0xff,0xc5,0xd8,0x01,0x02,0x00,0x05]
+0xff,0xff,0xc5,0xd8,0x01,0x02,0x00,0x05
 
-# 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[5:6], v1, v[2:3] offset:65535    ; encoding: [0xff,0xff,0xc6,0xd8,0x01,0x02,0x00,0x05]
+0xff,0xff,0xc6,0xd8,0x01,0x02,0x00,0x05
 
-# 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[254:255], v1, v[2:3] offset:65535    ; encoding: [0xff,0xff,0xc6,0xd8,0x01,0x02,0x00,0xfe]
+0xff,0xff,0xc6,0xd8,0x01,0x02,0x00,0xfe
 
-# 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[5:6], v255, v[2:3] offset:65535    ; encoding: [0xff,0xff,0xc6,0xd8,0xff,0x02,0x00,0x05]
+0xff,0xff,0xc6,0xd8,0xff,0x02,0x00,0x05
 
-# 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[5:6], v1, v[254:255] offset:65535    ; encoding: [0xff,0xff,0xc6,0xd8,0x01,0xfe,0x00,0x05]
+0xff,0xff,0xc6,0xd8,0x01,0xfe,0x00,0x05
 
-# 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[5:6], v1, v[2:3]    ; encoding: [0x00,0x00,0xc6,0xd8,0x01,0x02,0x00,0x05]
+0x00,0x00,0xc6,0xd8,0x01,0x02,0x00,0x05
 
-# 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_inc_rtn_u64 v[5:6], v1, v[2:3] offset:4    ; encoding: [0x04,0x00,0xc6,0xd8,0x01,0x02,0x00,0x05]
+0x04,0x00,0xc6,0xd8,0x01,0x02,0x00,0x05
 
-# 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_inc_rtn_u64 v[5:6], v1, v[2:3] offset:65535 gds    ; encoding: [0xff,0xff,0xc7,0xd8,0x01,0x02,0x00,0x05]
+0xff,0xff,0xc7,0xd8,0x01,0x02,0x00,0x05
 
-# 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[5:6], v1, v[2:3] offset:65535    ; encoding: [0xff,0xff,0xc8,0xd8,0x01,0x02,0x00,0x05]
+0xff,0xff,0xc8,0xd8,0x01,0x02,0x00,0x05
 
-# 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[254:255], v1, v[2:3] offset:65535    ; encoding: [0xff,0xff,0xc8,0xd8,0x01,0x02,0x00,0xfe]
+0xff,0xff,0xc8,0xd8,0x01,0x02,0x00,0xfe
 
-# 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[5:6], v255, v[2:3] offset:65535    ; encoding: [0xff,0xff,0xc8,0xd8,0xff,0x02,0x00,0x05]
+0xff,0xff,0xc8,0xd8,0xff,0x02,0x00,0x05
 
-# 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[5:6], v1, v[254:255] offset:65535    ; encoding: [0xff,0xff,0xc8,0xd8,0x01,0xfe,0x00,0x05]
+0xff,0xff,0xc8,0xd8,0x01,0xfe,0x00,0x05
 
-# 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[5:6], v1, v[2:3]    ; encoding: [0x00,0x00,0xc8,0xd8,0x01,0x02,0x00,0x05]
+0x00,0x00,0xc8,0xd8,0x01,0x02,0x00,0x05
 
-# 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_dec_rtn_u64 v[5:6], v1, v[2:3] offset:4    ; encoding: [0x04,0x00,0xc8,0xd8,0x01,0x02,0x00,0x05]
+0x04,0x00,0xc8,0xd8,0x01,0x02,0x00,0x05
 
-# 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_dec_rtn_u64 v[5:6], v1, v[2:3] offset:65535 gds    ; encoding: [0xff,0xff,0xc9,0xd8,0x01,0x02,0x00,0x05]
+0xff,0xff,0xc9,0xd8,0x01,0x02,0x00,0x05
 
-# 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[5:6], v1, v[2:3] offset:65535    ; encoding: [0xff,0xff,0xca,0xd8,0x01,0x02,0x00,0x05]
+0xff,0xff,0xca,0xd8,0x01,0x02,0x00,0x05
 
-# 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[254:255], v1, v[2:3] offset:65535    ; encoding: [0xff,0xff,0xca,0xd8,0x01,0x02,0x00,0xfe]
+0xff,0xff,0xca,0xd8,0x01,0x02,0x00,0xfe
 
-# 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[5:6], v255, v[2:3] offset:65535    ; encoding: [0xff,0xff,0xca,0xd8,0xff,0x02,0x00,0x05]
+0xff,0xff,0xca,0xd8,0xff,0x02,0x00,0x05
 
-# 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[5:6], v1, v[254:255] offset:65535    ; encoding: [0xff,0xff,0xca,0xd8,0x01,0xfe,0x00,0x05]
+0xff,0xff,0xca,0xd8,0x01,0xfe,0x00,0x05
 
-# 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[5:6], v1, v[2:3]    ; encoding: [0x00,0x00,0xca,0xd8,0x01,0x02,0x00,0x05]
+0x00,0x00,0xca,0xd8,0x01,0x02,0x00,0x05
 
-# 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_min_rtn_i64 v[5:6], v1, v[2:3] offset:4    ; encoding: [0x04,0x00,0xca,0xd8,0x01,0x02,0x00,0x05]
+0x04,0x00,0xca,0xd8,0x01,0x02,0x00,0x05
 
-# 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_min_rtn_i64 v[5:6], v1, v[2:3] offset:65535 gds    ; encoding: [0xff,0xff,0xcb,0xd8,0x01,0x02,0x00,0x05]
+0xff,0xff,0xcb,0xd8,0x01,0x02,0x00,0x05
 
-# 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[5:6], v1, v[2:3] offset:65535    ; encoding: [0xff,0xff,0xcc,0xd8,0x01,0x02,0x00,0x05]
+0xff,0xff,0xcc,0xd8,0x01,0x02,0x00,0x05
 
-# 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[254:255], v1, v[2:3] offset:65535    ; encoding: [0xff,0xff,0xcc,0xd8,0x01,0x02,0x00,0xfe]
+0xff,0xff,0xcc,0xd8,0x01,0x02,0x00,0xfe
 
-# 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[5:6], v255, v[2:3] offset:65535    ; encoding: [0xff,0xff,0xcc,0xd8,0xff,0x02,0x00,0x05]
+0xff,0xff,0xcc,0xd8,0xff,0x02,0x00,0x05
 
-# 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[5:6], v1, v[254:255] offset:65535    ; encoding: [0xff,0xff,0xcc,0xd8,0x01,0xfe,0x00,0x05]
+0xff,0xff,0xcc,0xd8,0x01,0xfe,0x00,0x05
 
-# 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[5:6], v1, v[2:3]    ; encoding: [0x00,0x00,0xcc,0xd8,0x01,0x02,0x00,0x05]
+0x00,0x00,0xcc,0xd8,0x01,0x02,0x00,0x05
 
-# 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_max_rtn_i64 v[5:6], v1, v[2:3] offset:4    ; encoding: [0x04,0x00,0xcc,0xd8,0x01,0x02,0x00,0x05]
+0x04,0x00,0xcc,0xd8,0x01,0x02,0x00,0x05
 
-# 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_max_rtn_i64 v[5:6], v1, v[2:3] offset:65535 gds    ; encoding: [0xff,0xff,0xcd,0xd8,0x01,0x02,0x00,0x05]
+0xff,0xff,0xcd,0xd8,0x01,0x02,0x00,0x05
 
-# 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[5:6], v1, v[2:3] offset:65535    ; encoding: [0xff,0xff,0xce,0xd8,0x01,0x02,0x00,0x05]
+0xff,0xff,0xce,0xd8,0x01,0x02,0x00,0x05
 
-# 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[254:255], v1, v[2:3] offset:65535    ; encoding: [0xff,0xff,0xce,0xd8,0x01,0x02,0x00,0xfe]
+0xff,0xff,0xce,0xd8,0x01,0x02,0x00,0xfe
 
-# 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[5:6], v255, v[2:3] offset:65535    ; encoding: [0xff,0xff,0xce,0xd8,0xff,0x02,0x00,0x05]
+0xff,0xff,0xce,0xd8,0xff,0x02,0x00,0x05
 
-# 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[5:6], v1, v[254:255] offset:65535    ; encoding: [0xff,0xff,0xce,0xd8,0x01,0xfe,0x00,0x05]
+0xff,0xff,0xce,0xd8,0x01,0xfe,0x00,0x05
 
-# 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[5:6], v1, v[2:3]    ; encoding: [0x00,0x00,0xce,0xd8,0x01,0x02,0x00,0x05]
+0x00,0x00,0xce,0xd8,0x01,0x02,0x00,0x05
 
-# 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_min_rtn_u64 v[5:6], v1, v[2:3] offset:4    ; encoding: [0x04,0x00,0xce,0xd8,0x01,0x02,0x00,0x05]
+0x04,0x00,0xce,0xd8,0x01,0x02,0x00,0x05
 
-# 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_min_rtn_u64 v[5:6], v1, v[2:3] offset:65535 gds    ; encoding: [0xff,0xff,0xcf,0xd8,0x01,0x02,0x00,0x05]
+0xff,0xff,0xcf,0xd8,0x01,0x02,0x00,0x05
 
-# 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[5:6], v1, v[2:3] offset:65535    ; encoding: [0xff,0xff,0xd0,0xd8,0x01,0x02,0x00,0x05]
+0xff,0xff,0xd0,0xd8,0x01,0x02,0x00,0x05
 
-# 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[254:255], v1, v[2:3] offset:65535    ; encoding: [0xff,0xff,0xd0,0xd8,0x01,0x02,0x00,0xfe]
+0xff,0xff,0xd0,0xd8,0x01,0x02,0x00,0xfe
 
-# 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[5:6], v255, v[2:3] offset:65535    ; encoding: [0xff,0xff,0xd0,0xd8,0xff,0x02,0x00,0x05]
+0xff,0xff,0xd0,0xd8,0xff,0x02,0x00,0x05
 
-# 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[5:6], v1, v[254:255] offset:65535    ; encoding: [0xff,0xff,0xd0,0xd8,0x01,0xfe,0x00,0x05]
+0xff,0xff,0xd0,0xd8,0x01,0xfe,0x00,0x05
 
-# 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[5:6], v1, v[2:3]    ; encoding: [0x00,0x00,0xd0,0xd8,0x01,0x02,0x00,0x05]
+0x00,0x00,0xd0,0xd8,0x01,0x02,0x00,0x05
 
-# 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_max_rtn_u64 v[5:6], v1, v[2:3] offset:4    ; encoding: [0x04,0x00,0xd0,0xd8,0x01,0x02,0x00,0x05]
+0x04,0x00,0xd0,0xd8,0x01,0x02,0x00,0x05
 
-# 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_max_rtn_u64 v[5:6], v1, v[2:3] offset:65535 gds    ; encoding: [0xff,0xff,0xd1,0xd8,0x01,0x02,0x00,0x05]
+0xff,0xff,0xd1,0xd8,0x01,0x02,0x00,0x05
 
-# 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[5:6], v1, v[2:3] offset:65535    ; encoding: [0xff,0xff,0xd2,0xd8,0x01,0x02,0x00,0x05]
+0xff,0xff,0xd2,0xd8,0x01,0x02,0x00,0x05
 
-# 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[254:255], v1, v[2:3] offset:65535    ; encoding: [0xff,0xff,0xd2,0xd8,0x01,0x02,0x00,0xfe]
+0xff,0xff,0xd2,0xd8,0x01,0x02,0x00,0xfe
 
-# 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[5:6], v255, v[2:3] offset:65535    ; encoding: [0xff,0xff,0xd2,0xd8,0xff,0x02,0x00,0x05]
+0xff,0xff,0xd2,0xd8,0xff,0x02,0x00,0x05
 
-# 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[5:6], v1, v[254:255] offset:65535    ; encoding: [0xff,0xff,0xd2,0xd8,0x01,0xfe,0x00,0x05]
+0xff,0xff,0xd2,0xd8,0x01,0xfe,0x00,0x05
 
-# 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[5:6], v1, v[2:3]    ; encoding: [0x00,0x00,0xd2,0xd8,0x01,0x02,0x00,0x05]
+0x00,0x00,0xd2,0xd8,0x01,0x02,0x00,0x05
 
-# 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_and_rtn_b64 v[5:6], v1, v[2:3] offset:4    ; encoding: [0x04,0x00,0xd2,0xd8,0x01,0x02,0x00,0x05]
+0x04,0x00,0xd2,0xd8,0x01,0x02,0x00,0x05
 
-# 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_and_rtn_b64 v[5:6], v1, v[2:3] offset:65535 gds    ; encoding: [0xff,0xff,0xd3,0xd8,0x01,0x02,0x00,0x05]
+0xff,0xff,0xd3,0xd8,0x01,0x02,0x00,0x05
 
-# 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[5:6], v1, v[2:3] offset:65535    ; encoding: [0xff,0xff,0xd4,0xd8,0x01,0x02,0x00,0x05]
+0xff,0xff,0xd4,0xd8,0x01,0x02,0x00,0x05
 
-# 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[254:255], v1, v[2:3] offset:65535    ; encoding: [0xff,0xff,0xd4,0xd8,0x01,0x02,0x00,0xfe]
+0xff,0xff,0xd4,0xd8,0x01,0x02,0x00,0xfe
 
-# 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[5:6], v255, v[2:3] offset:65535    ; encoding: [0xff,0xff,0xd4,0xd8,0xff,0x02,0x00,0x05]
+0xff,0xff,0xd4,0xd8,0xff,0x02,0x00,0x05
 
-# 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[5:6], v1, v[254:255] offset:65535    ; encoding: [0xff,0xff,0xd4,0xd8,0x01,0xfe,0x00,0x05]
+0xff,0xff,0xd4,0xd8,0x01,0xfe,0x00,0x05
 
-# 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[5:6], v1, v[2:3]    ; encoding: [0x00,0x00,0xd4,0xd8,0x01,0x02,0x00,0x05]
+0x00,0x00,0xd4,0xd8,0x01,0x02,0x00,0x05
 
-# 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_or_rtn_b64 v[5:6], v1, v[2:3] offset:4    ; encoding: [0x04,0x00,0xd4,0xd8,0x01,0x02,0x00,0x05]
+0x04,0x00,0xd4,0xd8,0x01,0x02,0x00,0x05
 
-# 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_or_rtn_b64 v[5:6], v1, v[2:3] offset:65535 gds    ; encoding: [0xff,0xff,0xd5,0xd8,0x01,0x02,0x00,0x05]
+0xff,0xff,0xd5,0xd8,0x01,0x02,0x00,0x05
 
-# 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[5:6], v1, v[2:3] offset:65535    ; encoding: [0xff,0xff,0xd6,0xd8,0x01,0x02,0x00,0x05]
+0xff,0xff,0xd6,0xd8,0x01,0x02,0x00,0x05
 
-# 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[254:255], v1, v[2:3] offset:65535    ; encoding: [0xff,0xff,0xd6,0xd8,0x01,0x02,0x00,0xfe]
+0xff,0xff,0xd6,0xd8,0x01,0x02,0x00,0xfe
 
-# 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[5:6], v255, v[2:3] offset:65535    ; encoding: [0xff,0xff,0xd6,0xd8,0xff,0x02,0x00,0x05]
+0xff,0xff,0xd6,0xd8,0xff,0x02,0x00,0x05
 
-# 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[5:6], v1, v[254:255] offset:65535    ; encoding: [0xff,0xff,0xd6,0xd8,0x01,0xfe,0x00,0x05]
+0xff,0xff,0xd6,0xd8,0x01,0xfe,0x00,0x05
 
-# 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[5:6], v1, v[2:3]    ; encoding: [0x00,0x00,0xd6,0xd8,0x01,0x02,0x00,0x05]
+0x00,0x00,0xd6,0xd8,0x01,0x02,0x00,0x05
 
-# 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_xor_rtn_b64 v[5:6], v1, v[2:3] offset:4    ; encoding: [0x04,0x00,0xd6,0xd8,0x01,0x02,0x00,0x05]
+0x04,0x00,0xd6,0xd8,0x01,0x02,0x00,0x05
 
-# 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_xor_rtn_b64 v[5:6], v1, v[2:3] offset:65535 gds    ; encoding: [0xff,0xff,0xd7,0xd8,0x01,0x02,0x00,0x05]
+0xff,0xff,0xd7,0xd8,0x01,0x02,0x00,0x05
 
-# 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[5:6], v1, v[2:3], v[3:4] offset:65535    ; encoding: [0xff,0xff,0xd8,0xd8,0x01,0x02,0x03,0x05]
+0xff,0xff,0xd8,0xd8,0x01,0x02,0x03,0x05
 
-# 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[254:255], v1, v[2:3], v[3:4] offset:65535    ; encoding: [0xff,0xff,0xd8,0xd8,0x01,0x02,0x03,0xfe]
+0xff,0xff,0xd8,0xd8,0x01,0x02,0x03,0xfe
 
-# 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[5:6], v255, v[2:3], v[3:4] offset:65535    ; encoding: [0xff,0xff,0xd8,0xd8,0xff,0x02,0x03,0x05]
+0xff,0xff,0xd8,0xd8,0xff,0x02,0x03,0x05
 
-# 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[5:6], v1, v[254:255], v[3:4] offset:65535    ; encoding: [0xff,0xff,0xd8,0xd8,0x01,0xfe,0x03,0x05]
+0xff,0xff,0xd8,0xd8,0x01,0xfe,0x03,0x05
 
-# 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[5:6], v1, v[2:3], v[254:255] offset:65535    ; encoding: [0xff,0xff,0xd8,0xd8,0x01,0x02,0xfe,0x05]
+0xff,0xff,0xd8,0xd8,0x01,0x02,0xfe,0x05
 
-# 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[5:6], v1, v[2:3], v[3:4]    ; encoding: [0x00,0x00,0xd8,0xd8,0x01,0x02,0x03,0x05]
+0x00,0x00,0xd8,0xd8,0x01,0x02,0x03,0x05
 
-# 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_mskor_rtn_b64 v[5:6], v1, v[2:3], v[3:4] offset:4    ; encoding: [0x04,0x00,0xd8,0xd8,0x01,0x02,0x03,0x05]
+0x04,0x00,0xd8,0xd8,0x01,0x02,0x03,0x05
 
-# 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_mskor_rtn_b64 v[5:6], v1, v[2:3], v[3:4] offset:65535 gds    ; encoding: [0xff,0xff,0xd9,0xd8,0x01,0x02,0x03,0x05]
+0xff,0xff,0xd9,0xd8,0x01,0x02,0x03,0x05
 
-# 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[5:6], v1, v[2:3] offset:65535    ; encoding: [0xff,0xff,0xda,0xd8,0x01,0x02,0x00,0x05]
+0xff,0xff,0xda,0xd8,0x01,0x02,0x00,0x05
 
-# 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[254:255], v1, v[2:3] offset:65535    ; encoding: [0xff,0xff,0xda,0xd8,0x01,0x02,0x00,0xfe]
+0xff,0xff,0xda,0xd8,0x01,0x02,0x00,0xfe
 
-# 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[5:6], v255, v[2:3] offset:65535    ; encoding: [0xff,0xff,0xda,0xd8,0xff,0x02,0x00,0x05]
+0xff,0xff,0xda,0xd8,0xff,0x02,0x00,0x05
 
-# 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[5:6], v1, v[254:255] offset:65535    ; encoding: [0xff,0xff,0xda,0xd8,0x01,0xfe,0x00,0x05]
+0xff,0xff,0xda,0xd8,0x01,0xfe,0x00,0x05
 
-# 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[5:6], v1, v[2:3]    ; encoding: [0x00,0x00,0xda,0xd8,0x01,0x02,0x00,0x05]
+0x00,0x00,0xda,0xd8,0x01,0x02,0x00,0x05
 
-# 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_wrxchg_rtn_b64 v[5:6], v1, v[2:3] offset:4    ; encoding: [0x04,0x00,0xda,0xd8,0x01,0x02,0x00,0x05]
+0x04,0x00,0xda,0xd8,0x01,0x02,0x00,0x05
 
-# 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_wrxchg_rtn_b64 v[5:6], v1, v[2:3] offset:65535 gds    ; encoding: [0xff,0xff,0xdb,0xd8,0x01,0x02,0x00,0x05]
+0xff,0xff,0xdb,0xd8,0x01,0x02,0x00,0x05
 
-# 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[5:6], v1, v[2:3], v[3:4] offset:65535    ; encoding: [0xff,0xff,0xe0,0xd8,0x01,0x02,0x03,0x05]
+0xff,0xff,0xe0,0xd8,0x01,0x02,0x03,0x05
 
-# 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[254:255], v1, v[2:3], v[3:4] offset:65535    ; encoding: [0xff,0xff,0xe0,0xd8,0x01,0x02,0x03,0xfe]
+0xff,0xff,0xe0,0xd8,0x01,0x02,0x03,0xfe
 
-# 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[5:6], v255, v[2:3], v[3:4] offset:65535    ; encoding: [0xff,0xff,0xe0,0xd8,0xff,0x02,0x03,0x05]
+0xff,0xff,0xe0,0xd8,0xff,0x02,0x03,0x05
 
-# 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[5:6], v1, v[254:255], v[3:4] offset:65535    ; encoding: [0xff,0xff,0xe0,0xd8,0x01,0xfe,0x03,0x05]
+0xff,0xff,0xe0,0xd8,0x01,0xfe,0x03,0x05
 
-# 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[5:6], v1, v[2:3], v[254:255] offset:65535    ; encoding: [0xff,0xff,0xe0,0xd8,0x01,0x02,0xfe,0x05]
+0xff,0xff,0xe0,0xd8,0x01,0x02,0xfe,0x05
 
-# 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[5:6], v1, v[2:3], v[3:4]    ; encoding: [0x00,0x00,0xe0,0xd8,0x01,0x02,0x03,0x05]
+0x00,0x00,0xe0,0xd8,0x01,0x02,0x03,0x05
 
-# 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_b64 v[5:6], v1, v[2:3], v[3:4] offset:4    ; encoding: [0x04,0x00,0xe0,0xd8,0x01,0x02,0x03,0x05]
+0x04,0x00,0xe0,0xd8,0x01,0x02,0x03,0x05
 
-# 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_b64 v[5:6], v1, v[2:3], v[3:4] offset:65535 gds    ; encoding: [0xff,0xff,0xe1,0xd8,0x01,0x02,0x03,0x05]
+0xff,0xff,0xe1,0xd8,0x01,0x02,0x03,0x05
 
-# 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[5:6], v1, v[2:3], v[3:4] offset:65535    ; encoding: [0xff,0xff,0xe2,0xd8,0x01,0x02,0x03,0x05]
+0xff,0xff,0xe2,0xd8,0x01,0x02,0x03,0x05
 
-# 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[254:255], v1, v[2:3], v[3:4] offset:65535    ; encoding: [0xff,0xff,0xe2,0xd8,0x01,0x02,0x03,0xfe]
+0xff,0xff,0xe2,0xd8,0x01,0x02,0x03,0xfe
 
-# 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[5:6], v255, v[2:3], v[3:4] offset:65535    ; encoding: [0xff,0xff,0xe2,0xd8,0xff,0x02,0x03,0x05]
+0xff,0xff,0xe2,0xd8,0xff,0x02,0x03,0x05
 
-# 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[5:6], v1, v[254:255], v[3:4] offset:65535    ; encoding: [0xff,0xff,0xe2,0xd8,0x01,0xfe,0x03,0x05]
+0xff,0xff,0xe2,0xd8,0x01,0xfe,0x03,0x05
 
-# 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[5:6], v1, v[2:3], v[254:255] offset:65535    ; encoding: [0xff,0xff,0xe2,0xd8,0x01,0x02,0xfe,0x05]
+0xff,0xff,0xe2,0xd8,0x01,0x02,0xfe,0x05
 
-# 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[5:6], v1, v[2:3], v[3:4]    ; encoding: [0x00,0x00,0xe2,0xd8,0x01,0x02,0x03,0x05]
+0x00,0x00,0xe2,0xd8,0x01,0x02,0x03,0x05
 
-# 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_cmpst_rtn_f64 v[5:6], v1, v[2:3], v[3:4] offset:4    ; encoding: [0x04,0x00,0xe2,0xd8,0x01,0x02,0x03,0x05]
+0x04,0x00,0xe2,0xd8,0x01,0x02,0x03,0x05
 
-# 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_cmpst_rtn_f64 v[5:6], v1, v[2:3], v[3:4] offset:65535 gds    ; encoding: [0xff,0xff,0xe3,0xd8,0x01,0x02,0x03,0x05]
+0xff,0xff,0xe3,0xd8,0x01,0x02,0x03,0x05
 
-# 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[5:6], v1, v[2:3] offset:65535    ; encoding: [0xff,0xff,0xe4,0xd8,0x01,0x02,0x00,0x05]
+0xff,0xff,0xe4,0xd8,0x01,0x02,0x00,0x05
 
-# 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[254:255], v1, v[2:3] offset:65535    ; encoding: [0xff,0xff,0xe4,0xd8,0x01,0x02,0x00,0xfe]
+0xff,0xff,0xe4,0xd8,0x01,0x02,0x00,0xfe
 
-# 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[5:6], v255, v[2:3] offset:65535    ; encoding: [0xff,0xff,0xe4,0xd8,0xff,0x02,0x00,0x05]
+0xff,0xff,0xe4,0xd8,0xff,0x02,0x00,0x05
 
-# 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[5:6], v1, v[254:255] offset:65535    ; encoding: [0xff,0xff,0xe4,0xd8,0x01,0xfe,0x00,0x05]
+0xff,0xff,0xe4,0xd8,0x01,0xfe,0x00,0x05
 
-# 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[5:6], v1, v[2:3]    ; encoding: [0x00,0x00,0xe4,0xd8,0x01,0x02,0x00,0x05]
+0x00,0x00,0xe4,0xd8,0x01,0x02,0x00,0x05
 
-# 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_min_rtn_f64 v[5:6], v1, v[2:3] offset:4    ; encoding: [0x04,0x00,0xe4,0xd8,0x01,0x02,0x00,0x05]
+0x04,0x00,0xe4,0xd8,0x01,0x02,0x00,0x05
 
-# 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_min_rtn_f64 v[5:6], v1, v[2:3] offset:65535 gds    ; encoding: [0xff,0xff,0xe5,0xd8,0x01,0x02,0x00,0x05]
+0xff,0xff,0xe5,0xd8,0x01,0x02,0x00,0x05
 
-# 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[5:6], v1, v[2:3] offset:65535    ; encoding: [0xff,0xff,0xe6,0xd8,0x01,0x02,0x00,0x05]
+0xff,0xff,0xe6,0xd8,0x01,0x02,0x00,0x05
 
-# 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[254:255], v1, v[2:3] offset:65535    ; encoding: [0xff,0xff,0xe6,0xd8,0x01,0x02,0x00,0xfe]
+0xff,0xff,0xe6,0xd8,0x01,0x02,0x00,0xfe
 
-# 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[5:6], v255, v[2:3] offset:65535    ; encoding: [0xff,0xff,0xe6,0xd8,0xff,0x02,0x00,0x05]
+0xff,0xff,0xe6,0xd8,0xff,0x02,0x00,0x05
 
-# 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[5:6], v1, v[254:255] offset:65535    ; encoding: [0xff,0xff,0xe6,0xd8,0x01,0xfe,0x00,0x05]
+0xff,0xff,0xe6,0xd8,0x01,0xfe,0x00,0x05
 
-# 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[5:6], v1, v[2:3]    ; encoding: [0x00,0x00,0xe6,0xd8,0x01,0x02,0x00,0x05]
+0x00,0x00,0xe6,0xd8,0x01,0x02,0x00,0x05
 
-# 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_max_rtn_f64 v[5:6], v1, v[2:3] offset:4    ; encoding: [0x04,0x00,0xe6,0xd8,0x01,0x02,0x00,0x05]
+0x04,0x00,0xe6,0xd8,0x01,0x02,0x00,0x05
 
-# 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_max_rtn_f64 v[5:6], v1, v[2:3] offset:65535 gds    ; encoding: [0xff,0xff,0xe7,0xd8,0x01,0x02,0x00,0x05]
+0xff,0xff,0xe7,0xd8,0x01,0x02,0x00,0x05
 
-# 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[5:6], v1 offset:65535    ; encoding: [0xff,0xff,0xec,0xd8,0x01,0x00,0x00,0x05]
+0xff,0xff,0xec,0xd8,0x01,0x00,0x00,0x05
 
-# 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[254:255], v1 offset:65535    ; encoding: [0xff,0xff,0xec,0xd8,0x01,0x00,0x00,0xfe]
+0xff,0xff,0xec,0xd8,0x01,0x00,0x00,0xfe
 
-# 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[5:6], v255 offset:65535    ; encoding: [0xff,0xff,0xec,0xd8,0xff,0x00,0x00,0x05]
+0xff,0xff,0xec,0xd8,0xff,0x00,0x00,0x05
 
-# 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[5:6], v1    ; encoding: [0x00,0x00,0xec,0xd8,0x01,0x00,0x00,0x05]
+0x00,0x00,0xec,0xd8,0x01,0x00,0x00,0x05
 
-# 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_read_b64 v[5:6], v1 offset:4    ; encoding: [0x04,0x00,0xec,0xd8,0x01,0x00,0x00,0x05]
+0x04,0x00,0xec,0xd8,0x01,0x00,0x00,0x05
 
-# 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_read_b64 v[5:6], v1 offset:65535 gds    ; encoding: [0xff,0xff,0xed,0xd8,0x01,0x00,0x00,0x05]
+0xff,0xff,0xed,0xd8,0x01,0x00,0x00,0x05
 
-# 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[5:8], v1 offset0:127 offset1:255    ; encoding: [0x7f,0xff,0xee,0xd8,0x01,0x00,0x00,0x05]
+0x7f,0xff,0xee,0xd8,0x01,0x00,0x00,0x05
 
-# 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[252:255], v1 offset0:127 offset1:255    ; encoding: [0x7f,0xff,0xee,0xd8,0x01,0x00,0x00,0xfc]
+0x7f,0xff,0xee,0xd8,0x01,0x00,0x00,0xfc
 
-# 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[5:8], v255 offset0:127 offset1:255    ; encoding: [0x7f,0xff,0xee,0xd8,0xff,0x00,0x00,0x05]
+0x7f,0xff,0xee,0xd8,0xff,0x00,0x00,0x05
 
-# 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[5:8], v1 offset1:255    ; encoding: [0x00,0xff,0xee,0xd8,0x01,0x00,0x00,0x05]
+0x00,0xff,0xee,0xd8,0x01,0x00,0x00,0x05
 
-# 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[5:8], v1 offset0:16 offset1:255    ; encoding: [0x10,0xff,0xee,0xd8,0x01,0x00,0x00,0x05]
+0x10,0xff,0xee,0xd8,0x01,0x00,0x00,0x05
 
-# 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[5:8], v1 offset0:127    ; encoding: [0x7f,0x00,0xee,0xd8,0x01,0x00,0x00,0x05]
+0x7f,0x00,0xee,0xd8,0x01,0x00,0x00,0x05
 
-# 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_read2_b64 v[5:8], v1 offset0:127 offset1:1    ; encoding: [0x7f,0x01,0xee,0xd8,0x01,0x00,0x00,0x05]
+0x7f,0x01,0xee,0xd8,0x01,0x00,0x00,0x05
 
-# 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_read2_b64 v[5:8], v1 offset0:127 offset1:255 gds    ; encoding: [0x7f,0xff,0xef,0xd8,0x01,0x00,0x00,0x05]
+0x7f,0xff,0xef,0xd8,0x01,0x00,0x00,0x05
 
-# 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[5:8], v1 offset0:127 offset1:255    ; encoding: [0x7f,0xff,0xf0,0xd8,0x01,0x00,0x00,0x05]
+0x7f,0xff,0xf0,0xd8,0x01,0x00,0x00,0x05
 
-# 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[252:255], v1 offset0:127 offset1:255    ; encoding: [0x7f,0xff,0xf0,0xd8,0x01,0x00,0x00,0xfc]
+0x7f,0xff,0xf0,0xd8,0x01,0x00,0x00,0xfc
 
-# 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[5:8], v255 offset0:127 offset1:255    ; encoding: [0x7f,0xff,0xf0,0xd8,0xff,0x00,0x00,0x05]
+0x7f,0xff,0xf0,0xd8,0xff,0x00,0x00,0x05
 
-# 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[5:8], v1 offset1:255    ; encoding: [0x00,0xff,0xf0,0xd8,0x01,0x00,0x00,0x05]
+0x00,0xff,0xf0,0xd8,0x01,0x00,0x00,0x05
 
-# 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[5:8], v1 offset0:16 offset1:255    ; encoding: [0x10,0xff,0xf0,0xd8,0x01,0x00,0x00,0x05]
+0x10,0xff,0xf0,0xd8,0x01,0x00,0x00,0x05
 
-# 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[5:8], v1 offset0:127    ; encoding: [0x7f,0x00,0xf0,0xd8,0x01,0x00,0x00,0x05]
+0x7f,0x00,0xf0,0xd8,0x01,0x00,0x00,0x05
 
-# 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_read2st64_b64 v[5:8], v1 offset0:127 offset1:1    ; encoding: [0x7f,0x01,0xf0,0xd8,0x01,0x00,0x00,0x05]
+0x7f,0x01,0xf0,0xd8,0x01,0x00,0x00,0x05
 
-# 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_read2st64_b64 v[5:8], v1 offset0:127 offset1:255 gds    ; encoding: [0x7f,0xff,0xf1,0xd8,0x01,0x00,0x00,0x05]
+0x7f,0xff,0xf1,0xd8,0x01,0x00,0x00,0x05
+
+# CHECK: ds_add_src2_u32 v1 offset:65535    ; encoding: [0xff,0xff,0x00,0xd9,0x01,0x00,0x00,0x00]
+0xff,0xff,0x00,0xd9,0x01,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 v1    ; encoding: [0x00,0x00,0x00,0xd9,0x01,0x00,0x00,0x00]
+0x00,0x00,0x00,0xd9,0x01,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 v1 offset:4    ; encoding: [0x04,0x00,0x00,0xd9,0x01,0x00,0x00,0x00]
+0x04,0x00,0x00,0xd9,0x01,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_add_src2_u32 v1 offset:65535 gds    ; encoding: [0xff,0xff,0x01,0xd9,0x01,0x00,0x00,0x00]
+0xff,0xff,0x01,0xd9,0x01,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 v1 offset:65535    ; encoding: [0xff,0xff,0x02,0xd9,0x01,0x00,0x00,0x00]
+0xff,0xff,0x02,0xd9,0x01,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 v1    ; encoding: [0x00,0x00,0x02,0xd9,0x01,0x00,0x00,0x00]
+0x00,0x00,0x02,0xd9,0x01,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 v1 offset:4    ; encoding: [0x04,0x00,0x02,0xd9,0x01,0x00,0x00,0x00]
+0x04,0x00,0x02,0xd9,0x01,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_sub_src2_u32 v1 offset:65535 gds    ; encoding: [0xff,0xff,0x03,0xd9,0x01,0x00,0x00,0x00]
+0xff,0xff,0x03,0xd9,0x01,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 v1 offset:65535    ; encoding: [0xff,0xff,0x04,0xd9,0x01,0x00,0x00,0x00]
+0xff,0xff,0x04,0xd9,0x01,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 v1    ; encoding: [0x00,0x00,0x04,0xd9,0x01,0x00,0x00,0x00]
+0x00,0x00,0x04,0xd9,0x01,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 v1 offset:4    ; encoding: [0x04,0x00,0x04,0xd9,0x01,0x00,0x00,0x00]
+0x04,0x00,0x04,0xd9,0x01,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_rsub_src2_u32 v1 offset:65535 gds    ; encoding: [0xff,0xff,0x05,0xd9,0x01,0x00,0x00,0x00]
+0xff,0xff,0x05,0xd9,0x01,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 v1 offset:65535    ; encoding: [0xff,0xff,0x06,0xd9,0x01,0x00,0x00,0x00]
+0xff,0xff,0x06,0xd9,0x01,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 v1    ; encoding: [0x00,0x00,0x06,0xd9,0x01,0x00,0x00,0x00]
+0x00,0x00,0x06,0xd9,0x01,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 v1 offset:4    ; encoding: [0x04,0x00,0x06,0xd9,0x01,0x00,0x00,0x00]
+0x04,0x00,0x06,0xd9,0x01,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_inc_src2_u32 v1 offset:65535 gds    ; encoding: [0xff,0xff,0x07,0xd9,0x01,0x00,0x00,0x00]
+0xff,0xff,0x07,0xd9,0x01,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 v1 offset:65535    ; encoding: [0xff,0xff,0x08,0xd9,0x01,0x00,0x00,0x00]
+0xff,0xff,0x08,0xd9,0x01,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 v1    ; encoding: [0x00,0x00,0x08,0xd9,0x01,0x00,0x00,0x00]
+0x00,0x00,0x08,0xd9,0x01,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 v1 offset:4    ; encoding: [0x04,0x00,0x08,0xd9,0x01,0x00,0x00,0x00]
+0x04,0x00,0x08,0xd9,0x01,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_dec_src2_u32 v1 offset:65535 gds    ; encoding: [0xff,0xff,0x09,0xd9,0x01,0x00,0x00,0x00]
+0xff,0xff,0x09,0xd9,0x01,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 v1 offset:65535    ; encoding: [0xff,0xff,0x0a,0xd9,0x01,0x00,0x00,0x00]
+0xff,0xff,0x0a,0xd9,0x01,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 v1    ; encoding: [0x00,0x00,0x0a,0xd9,0x01,0x00,0x00,0x00]
+0x00,0x00,0x0a,0xd9,0x01,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 v1 offset:4    ; encoding: [0x04,0x00,0x0a,0xd9,0x01,0x00,0x00,0x00]
+0x04,0x00,0x0a,0xd9,0x01,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_min_src2_i32 v1 offset:65535 gds    ; encoding: [0xff,0xff,0x0b,0xd9,0x01,0x00,0x00,0x00]
+0xff,0xff,0x0b,0xd9,0x01,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 v1 offset:65535    ; encoding: [0xff,0xff,0x0c,0xd9,0x01,0x00,0x00,0x00]
+0xff,0xff,0x0c,0xd9,0x01,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 v1    ; encoding: [0x00,0x00,0x0c,0xd9,0x01,0x00,0x00,0x00]
+0x00,0x00,0x0c,0xd9,0x01,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 v1 offset:4    ; encoding: [0x04,0x00,0x0c,0xd9,0x01,0x00,0x00,0x00]
+0x04,0x00,0x0c,0xd9,0x01,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_max_src2_i32 v1 offset:65535 gds    ; encoding: [0xff,0xff,0x0d,0xd9,0x01,0x00,0x00,0x00]
+0xff,0xff,0x0d,0xd9,0x01,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 v1 offset:65535    ; encoding: [0xff,0xff,0x0e,0xd9,0x01,0x00,0x00,0x00]
+0xff,0xff,0x0e,0xd9,0x01,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 v1    ; encoding: [0x00,0x00,0x0e,0xd9,0x01,0x00,0x00,0x00]
+0x00,0x00,0x0e,0xd9,0x01,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 v1 offset:4    ; encoding: [0x04,0x00,0x0e,0xd9,0x01,0x00,0x00,0x00]
+0x04,0x00,0x0e,0xd9,0x01,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_min_src2_u32 v1 offset:65535 gds    ; encoding: [0xff,0xff,0x0f,0xd9,0x01,0x00,0x00,0x00]
+0xff,0xff,0x0f,0xd9,0x01,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 v1 offset:65535    ; encoding: [0xff,0xff,0x10,0xd9,0x01,0x00,0x00,0x00]
+0xff,0xff,0x10,0xd9,0x01,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 v1    ; encoding: [0x00,0x00,0x10,0xd9,0x01,0x00,0x00,0x00]
+0x00,0x00,0x10,0xd9,0x01,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 v1 offset:4    ; encoding: [0x04,0x00,0x10,0xd9,0x01,0x00,0x00,0x00]
+0x04,0x00,0x10,0xd9,0x01,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_max_src2_u32 v1 offset:65535 gds    ; encoding: [0xff,0xff,0x11,0xd9,0x01,0x00,0x00,0x00]
+0xff,0xff,0x11,0xd9,0x01,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 v1 offset:65535    ; encoding: [0xff,0xff,0x14,0xd9,0x01,0x00,0x00,0x00]
+0xff,0xff,0x14,0xd9,0x01,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 v1    ; encoding: [0x00,0x00,0x14,0xd9,0x01,0x00,0x00,0x00]
+0x00,0x00,0x14,0xd9,0x01,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 v1 offset:4    ; encoding: [0x04,0x00,0x14,0xd9,0x01,0x00,0x00,0x00]
+0x04,0x00,0x14,0xd9,0x01,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_or_src2_b32 v1 offset:65535 gds    ; encoding: [0xff,0xff,0x15,0xd9,0x01,0x00,0x00,0x00]
+0xff,0xff,0x15,0xd9,0x01,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 v1 offset:65535    ; encoding: [0xff,0xff,0x16,0xd9,0x01,0x00,0x00,0x00]
+0xff,0xff,0x16,0xd9,0x01,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 v1    ; encoding: [0x00,0x00,0x16,0xd9,0x01,0x00,0x00,0x00]
+0x00,0x00,0x16,0xd9,0x01,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 v1 offset:4    ; encoding: [0x04,0x00,0x16,0xd9,0x01,0x00,0x00,0x00]
+0x04,0x00,0x16,0xd9,0x01,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_xor_src2_b32 v1 offset:65535 gds    ; encoding: [0xff,0xff,0x17,0xd9,0x01,0x00,0x00,0x00]
+0xff,0xff,0x17,0xd9,0x01,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_write_src2_b32 v1    ; encoding: [0x00,0x00,0x1a,0xd9,0x01,0x00,0x00,0x00]
+0x00,0x00,0x1a,0xd9,0x01,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 v1 offset:65535    ; encoding: [0xff,0xff,0x24,0xd9,0x01,0x00,0x00,0x00]
+0xff,0xff,0x24,0xd9,0x01,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 v1    ; encoding: [0x00,0x00,0x24,0xd9,0x01,0x00,0x00,0x00]
+0x00,0x00,0x24,0xd9,0x01,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 v1 offset:4    ; encoding: [0x04,0x00,0x24,0xd9,0x01,0x00,0x00,0x00]
+0x04,0x00,0x24,0xd9,0x01,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_min_src2_f32 v1 offset:65535 gds    ; encoding: [0xff,0xff,0x25,0xd9,0x01,0x00,0x00,0x00]
+0xff,0xff,0x25,0xd9,0x01,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 v1 offset:65535    ; encoding: [0xff,0xff,0x26,0xd9,0x01,0x00,0x00,0x00]
+0xff,0xff,0x26,0xd9,0x01,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 v1    ; encoding: [0x00,0x00,0x26,0xd9,0x01,0x00,0x00,0x00]
+0x00,0x00,0x26,0xd9,0x01,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 v1 offset:4    ; encoding: [0x04,0x00,0x26,0xd9,0x01,0x00,0x00,0x00]
+0x04,0x00,0x26,0xd9,0x01,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_max_src2_f32 v1 offset:65535 gds    ; encoding: [0xff,0xff,0x27,0xd9,0x01,0x00,0x00,0x00]
+0xff,0xff,0x27,0xd9,0x01,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 v1 offset:65535    ; encoding: [0xff,0xff,0x80,0xd9,0x01,0x00,0x00,0x00]
+0xff,0xff,0x80,0xd9,0x01,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 v1    ; encoding: [0x00,0x00,0x80,0xd9,0x01,0x00,0x00,0x00]
+0x00,0x00,0x80,0xd9,0x01,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 v1 offset:4    ; encoding: [0x04,0x00,0x80,0xd9,0x01,0x00,0x00,0x00]
+0x04,0x00,0x80,0xd9,0x01,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_add_src2_u64 v1 offset:65535 gds    ; encoding: [0xff,0xff,0x81,0xd9,0x01,0x00,0x00,0x00]
+0xff,0xff,0x81,0xd9,0x01,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 v1 offset:65535    ; encoding: [0xff,0xff,0x82,0xd9,0x01,0x00,0x00,0x00]
+0xff,0xff,0x82,0xd9,0x01,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 v1    ; encoding: [0x00,0x00,0x82,0xd9,0x01,0x00,0x00,0x00]
+0x00,0x00,0x82,0xd9,0x01,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 v1 offset:4    ; encoding: [0x04,0x00,0x82,0xd9,0x01,0x00,0x00,0x00]
+0x04,0x00,0x82,0xd9,0x01,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_sub_src2_u64 v1 offset:65535 gds    ; encoding: [0xff,0xff,0x83,0xd9,0x01,0x00,0x00,0x00]
+0xff,0xff,0x83,0xd9,0x01,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 v1 offset:65535    ; encoding: [0xff,0xff,0x84,0xd9,0x01,0x00,0x00,0x00]
+0xff,0xff,0x84,0xd9,0x01,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 v1    ; encoding: [0x00,0x00,0x84,0xd9,0x01,0x00,0x00,0x00]
+0x00,0x00,0x84,0xd9,0x01,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 v1 offset:4    ; encoding: [0x04,0x00,0x84,0xd9,0x01,0x00,0x00,0x00]
+0x04,0x00,0x84,0xd9,0x01,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_rsub_src2_u64 v1 offset:65535 gds    ; encoding: [0xff,0xff,0x85,0xd9,0x01,0x00,0x00,0x00]
+0xff,0xff,0x85,0xd9,0x01,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 v1 offset:65535    ; encoding: [0xff,0xff,0x86,0xd9,0x01,0x00,0x00,0x00]
+0xff,0xff,0x86,0xd9,0x01,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 v1    ; encoding: [0x00,0x00,0x86,0xd9,0x01,0x00,0x00,0x00]
+0x00,0x00,0x86,0xd9,0x01,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 v1 offset:4    ; encoding: [0x04,0x00,0x86,0xd9,0x01,0x00,0x00,0x00]
+0x04,0x00,0x86,0xd9,0x01,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_inc_src2_u64 v1 offset:65535 gds    ; encoding: [0xff,0xff,0x87,0xd9,0x01,0x00,0x00,0x00]
+0xff,0xff,0x87,0xd9,0x01,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 v1 offset:65535    ; encoding: [0xff,0xff,0x88,0xd9,0x01,0x00,0x00,0x00]
+0xff,0xff,0x88,0xd9,0x01,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 v1    ; encoding: [0x00,0x00,0x88,0xd9,0x01,0x00,0x00,0x00]
+0x00,0x00,0x88,0xd9,0x01,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 v1 offset:4    ; encoding: [0x04,0x00,0x88,0xd9,0x01,0x00,0x00,0x00]
+0x04,0x00,0x88,0xd9,0x01,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_dec_src2_u64 v1 offset:65535 gds    ; encoding: [0xff,0xff,0x89,0xd9,0x01,0x00,0x00,0x00]
+0xff,0xff,0x89,0xd9,0x01,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 v1 offset:65535    ; encoding: [0xff,0xff,0x8a,0xd9,0x01,0x00,0x00,0x00]
+0xff,0xff,0x8a,0xd9,0x01,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 v1    ; encoding: [0x00,0x00,0x8a,0xd9,0x01,0x00,0x00,0x00]
+0x00,0x00,0x8a,0xd9,0x01,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 v1 offset:4    ; encoding: [0x04,0x00,0x8a,0xd9,0x01,0x00,0x00,0x00]
+0x04,0x00,0x8a,0xd9,0x01,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_min_src2_i64 v1 offset:65535 gds    ; encoding: [0xff,0xff,0x8b,0xd9,0x01,0x00,0x00,0x00]
+0xff,0xff,0x8b,0xd9,0x01,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 v1 offset:65535    ; encoding: [0xff,0xff,0x8c,0xd9,0x01,0x00,0x00,0x00]
+0xff,0xff,0x8c,0xd9,0x01,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 v1    ; encoding: [0x00,0x00,0x8c,0xd9,0x01,0x00,0x00,0x00]
+0x00,0x00,0x8c,0xd9,0x01,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 v1 offset:4    ; encoding: [0x04,0x00,0x8c,0xd9,0x01,0x00,0x00,0x00]
+0x04,0x00,0x8c,0xd9,0x01,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_max_src2_i64 v1 offset:65535 gds    ; encoding: [0xff,0xff,0x8d,0xd9,0x01,0x00,0x00,0x00]
+0xff,0xff,0x8d,0xd9,0x01,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 v1 offset:65535    ; encoding: [0xff,0xff,0x8e,0xd9,0x01,0x00,0x00,0x00]
+0xff,0xff,0x8e,0xd9,0x01,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 v1    ; encoding: [0x00,0x00,0x8e,0xd9,0x01,0x00,0x00,0x00]
+0x00,0x00,0x8e,0xd9,0x01,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 v1 offset:4    ; encoding: [0x04,0x00,0x8e,0xd9,0x01,0x00,0x00,0x00]
+0x04,0x00,0x8e,0xd9,0x01,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_min_src2_u64 v1 offset:65535 gds    ; encoding: [0xff,0xff,0x8f,0xd9,0x01,0x00,0x00,0x00]
+0xff,0xff,0x8f,0xd9,0x01,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 v1 offset:65535    ; encoding: [0xff,0xff,0x90,0xd9,0x01,0x00,0x00,0x00]
+0xff,0xff,0x90,0xd9,0x01,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 v1    ; encoding: [0x00,0x00,0x90,0xd9,0x01,0x00,0x00,0x00]
+0x00,0x00,0x90,0xd9,0x01,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 v1 offset:4    ; encoding: [0x04,0x00,0x90,0xd9,0x01,0x00,0x00,0x00]
+0x04,0x00,0x90,0xd9,0x01,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_max_src2_u64 v1 offset:65535 gds    ; encoding: [0xff,0xff,0x91,0xd9,0x01,0x00,0x00,0x00]
+0xff,0xff,0x91,0xd9,0x01,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 v1 offset:65535    ; encoding: [0xff,0xff,0x92,0xd9,0x01,0x00,0x00,0x00]
+0xff,0xff,0x92,0xd9,0x01,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 v1    ; encoding: [0x00,0x00,0x92,0xd9,0x01,0x00,0x00,0x00]
+0x00,0x00,0x92,0xd9,0x01,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 v1 offset:4    ; encoding: [0x04,0x00,0x92,0xd9,0x01,0x00,0x00,0x00]
+0x04,0x00,0x92,0xd9,0x01,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_and_src2_b64 v1 offset:65535 gds    ; encoding: [0xff,0xff,0x93,0xd9,0x01,0x00,0x00,0x00]
+0xff,0xff,0x93,0xd9,0x01,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 v1 offset:65535    ; encoding: [0xff,0xff,0x94,0xd9,0x01,0x00,0x00,0x00]
+0xff,0xff,0x94,0xd9,0x01,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 v1    ; encoding: [0x00,0x00,0x94,0xd9,0x01,0x00,0x00,0x00]
+0x00,0x00,0x94,0xd9,0x01,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 v1 offset:4    ; encoding: [0x04,0x00,0x94,0xd9,0x01,0x00,0x00,0x00]
+0x04,0x00,0x94,0xd9,0x01,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_or_src2_b64 v1 offset:65535 gds    ; encoding: [0xff,0xff,0x95,0xd9,0x01,0x00,0x00,0x00]
+0xff,0xff,0x95,0xd9,0x01,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 v1 offset:65535    ; encoding: [0xff,0xff,0x96,0xd9,0x01,0x00,0x00,0x00]
+0xff,0xff,0x96,0xd9,0x01,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 v1    ; encoding: [0x00,0x00,0x96,0xd9,0x01,0x00,0x00,0x00]
+0x00,0x00,0x96,0xd9,0x01,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 v1 offset:4    ; encoding: [0x04,0x00,0x96,0xd9,0x01,0x00,0x00,0x00]
+0x04,0x00,0x96,0xd9,0x01,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_xor_src2_b64 v1 offset:65535 gds    ; encoding: [0xff,0xff,0x97,0xd9,0x01,0x00,0x00,0x00]
+0xff,0xff,0x97,0xd9,0x01,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_write_src2_b64 v1    ; encoding: [0x00,0x00,0x9a,0xd9,0x01,0x00,0x00,0x00]
+0x00,0x00,0x9a,0xd9,0x01,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 v1 offset:65535    ; encoding: [0xff,0xff,0xa4,0xd9,0x01,0x00,0x00,0x00]
+0xff,0xff,0xa4,0xd9,0x01,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 v1    ; encoding: [0x00,0x00,0xa4,0xd9,0x01,0x00,0x00,0x00]
+0x00,0x00,0xa4,0xd9,0x01,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 v1 offset:4    ; encoding: [0x04,0x00,0xa4,0xd9,0x01,0x00,0x00,0x00]
+0x04,0x00,0xa4,0xd9,0x01,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_min_src2_f64 v1 offset:65535 gds    ; encoding: [0xff,0xff,0xa5,0xd9,0x01,0x00,0x00,0x00]
+0xff,0xff,0xa5,0xd9,0x01,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 v1 offset:65535    ; encoding: [0xff,0xff,0xa6,0xd9,0x01,0x00,0x00,0x00]
+0xff,0xff,0xa6,0xd9,0x01,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 v1    ; encoding: [0x00,0x00,0xa6,0xd9,0x01,0x00,0x00,0x00]
+0x00,0x00,0xa6,0xd9,0x01,0x00,0x00,0x00
+
+# CHECK: ds_max_src2_f64 v1 offset:4    ; encoding: [0x04,0x00,0xa6,0xd9,0x01,0x00,0x00,0x00]
+0x04,0x00,0xa6,0xd9,0x01,0x00,0x00,0x00
+
+# CHECK: ds_max_src2_f64 v1 offset:65535 gds    ; encoding: [0xff,0xff,0xa7,0xd9,0x01,0x00,0x00,0x00]
+0xff,0xff,0xa7,0xd9,0x01,0x00,0x00,0x00
+
+# CHECK: ds_write_b96 v1, v[2:4] offset:65535    ; encoding: [0xff,0xff,0xbc,0xd9,0x01,0x02,0x00,0x00]
+0xff,0xff,0xbc,0xd9,0x01,0x02,0x00,0x00
+
+# CHECK: ds_write_b96 v255, v[2:4] offset:65535    ; encoding: [0xff,0xff,0xbc,0xd9,0xff,0x02,0x00,0x00]
+0xff,0xff,0xbc,0xd9,0xff,0x02,0x00,0x00
+
+# CHECK: ds_write_b96 v1, v[253:255] offset:65535    ; encoding: [0xff,0xff,0xbc,0xd9,0x01,0xfd,0x00,0x00]
+0xff,0xff,0xbc,0xd9,0x01,0xfd,0x00,0x00
+
+# CHECK: ds_write_b96 v1, v[2:4]    ; encoding: [0x00,0x00,0xbc,0xd9,0x01,0x02,0x00,0x00]
+0x00,0x00,0xbc,0xd9,0x01,0x02,0x00,0x00
+
+# CHECK: ds_write_b96 v1, v[2:4] offset:4    ; encoding: [0x04,0x00,0xbc,0xd9,0x01,0x02,0x00,0x00]
+0x04,0x00,0xbc,0xd9,0x01,0x02,0x00,0x00
+
+# CHECK: ds_write_b96 v1, v[2:4] offset:65535 gds    ; encoding: [0xff,0xff,0xbd,0xd9,0x01,0x02,0x00,0x00]
+0xff,0xff,0xbd,0xd9,0x01,0x02,0x00,0x00
+
+# CHECK: ds_write_b128 v1, v[2:5] offset:65535    ; encoding: [0xff,0xff,0xbe,0xd9,0x01,0x02,0x00,0x00]
+0xff,0xff,0xbe,0xd9,0x01,0x02,0x00,0x00
+
+# CHECK: ds_write_b128 v255, v[2:5] offset:65535    ; encoding: [0xff,0xff,0xbe,0xd9,0xff,0x02,0x00,0x00]
+0xff,0xff,0xbe,0xd9,0xff,0x02,0x00,0x00
+
+# CHECK: ds_write_b128 v1, v[252:255] offset:65535    ; encoding: [0xff,0xff,0xbe,0xd9,0x01,0xfc,0x00,0x00]
+0xff,0xff,0xbe,0xd9,0x01,0xfc,0x00,0x00
+
+# CHECK: ds_write_b128 v1, v[2:5]    ; encoding: [0x00,0x00,0xbe,0xd9,0x01,0x02,0x00,0x00]
+0x00,0x00,0xbe,0xd9,0x01,0x02,0x00,0x00
+
+# CHECK: ds_write_b128 v1, v[2:5] offset:4    ; encoding: [0x04,0x00,0xbe,0xd9,0x01,0x02,0x00,0x00]
+0x04,0x00,0xbe,0xd9,0x01,0x02,0x00,0x00
+
+# CHECK: ds_write_b128 v1, v[2:5] offset:65535 gds    ; encoding: [0xff,0xff,0xbf,0xd9,0x01,0x02,0x00,0x00]
+0xff,0xff,0xbf,0xd9,0x01,0x02,0x00,0x00
+
+# CHECK: ds_read_b96 v[5:7], v1 offset:65535    ; encoding: [0xff,0xff,0xfc,0xd9,0x01,0x00,0x00,0x05]
+0xff,0xff,0xfc,0xd9,0x01,0x00,0x00,0x05
 
-# 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_read_b96 v[253:255], v1 offset:65535    ; encoding: [0xff,0xff,0xfc,0xd9,0x01,0x00,0x00,0xfd]
+0xff,0xff,0xfc,0xd9,0x01,0x00,0x00,0xfd
 
-# 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: ds_read_b96 v[5:7], v255 offset:65535    ; encoding: [0xff,0xff,0xfc,0xd9,0xff,0x00,0x00,0x05]
+0xff,0xff,0xfc,0xd9,0xff,0x00,0x00,0x05
 
-# 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: ds_read_b96 v[5:7], v1    ; encoding: [0x00,0x00,0xfc,0xd9,0x01,0x00,0x00,0x05]
+0x00,0x00,0xfc,0xd9,0x01,0x00,0x00,0x05
 
-# 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: ds_read_b96 v[5:7], v1 offset:4    ; encoding: [0x04,0x00,0xfc,0xd9,0x01,0x00,0x00,0x05]
+0x04,0x00,0xfc,0xd9,0x01,0x00,0x00,0x05
 
-# 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: ds_read_b96 v[5:7], v1 offset:65535 gds    ; encoding: [0xff,0xff,0xfd,0xd9,0x01,0x00,0x00,0x05]
+0xff,0xff,0xfd,0xd9,0x01,0x00,0x00,0x05
 
-# 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: ds_read_b128 v[5:8], v1 offset:65535    ; encoding: [0xff,0xff,0xfe,0xd9,0x01,0x00,0x00,0x05]
+0xff,0xff,0xfe,0xd9,0x01,0x00,0x00,0x05
 
-# 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: ds_read_b128 v[252:255], v1 offset:65535    ; encoding: [0xff,0xff,0xfe,0xd9,0x01,0x00,0x00,0xfc]
+0xff,0xff,0xfe,0xd9,0x01,0x00,0x00,0xfc
 
-# 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: ds_read_b128 v[5:8], v255 offset:65535    ; encoding: [0xff,0xff,0xfe,0xd9,0xff,0x00,0x00,0x05]
+0xff,0xff,0xfe,0xd9,0xff,0x00,0x00,0x05
 
-# 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: ds_read_b128 v[5:8], v1    ; encoding: [0x00,0x00,0xfe,0xd9,0x01,0x00,0x00,0x05]
+0x00,0x00,0xfe,0xd9,0x01,0x00,0x00,0x05
 
-# 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: ds_read_b128 v[5:8], v1 offset:4    ; encoding: [0x04,0x00,0xfe,0xd9,0x01,0x00,0x00,0x05]
+0x04,0x00,0xfe,0xd9,0x01,0x00,0x00,0x05
 
-# 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: ds_read_b128 v[5:8], v1 offset:65535 gds    ; encoding: [0xff,0xff,0xff,0xd9,0x01,0x00,0x00,0x05]
+0xff,0xff,0xff,0xd9,0x01,0x00,0x00,0x05
 
-# 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_ubyte v5, v[1:2]    ; encoding: [0x00,0x00,0x40,0xdc,0x01,0x00,0x00,0x05]
+0x00,0x00,0x40,0xdc,0x01,0x00,0x00,0x05
 
-# 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_ubyte v255, v[1:2]    ; encoding: [0x00,0x00,0x40,0xdc,0x01,0x00,0x00,0xff]
+0x00,0x00,0x40,0xdc,0x01,0x00,0x00,0xff
 
-# 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_ubyte v5, v[254:255]    ; encoding: [0x00,0x00,0x40,0xdc,0xfe,0x00,0x00,0x05]
+0x00,0x00,0x40,0xdc,0xfe,0x00,0x00,0x05
 
-# 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_ubyte v5, v[1:2] glc    ; encoding: [0x00,0x00,0x41,0xdc,0x01,0x00,0x00,0x05]
+0x00,0x00,0x41,0xdc,0x01,0x00,0x00,0x05
 
-# 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_ubyte v5, v[1:2] slc    ; encoding: [0x00,0x00,0x42,0xdc,0x01,0x00,0x00,0x05]
+0x00,0x00,0x42,0xdc,0x01,0x00,0x00,0x05
 
-# 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_sbyte v5, v[1:2]    ; encoding: [0x00,0x00,0x44,0xdc,0x01,0x00,0x00,0x05]
+0x00,0x00,0x44,0xdc,0x01,0x00,0x00,0x05
 
-# 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_sbyte v255, v[1:2]    ; encoding: [0x00,0x00,0x44,0xdc,0x01,0x00,0x00,0xff]
+0x00,0x00,0x44,0xdc,0x01,0x00,0x00,0xff
 
-# 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_sbyte v5, v[254:255]    ; encoding: [0x00,0x00,0x44,0xdc,0xfe,0x00,0x00,0x05]
+0x00,0x00,0x44,0xdc,0xfe,0x00,0x00,0x05
 
-# 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_sbyte v5, v[1:2] glc    ; encoding: [0x00,0x00,0x45,0xdc,0x01,0x00,0x00,0x05]
+0x00,0x00,0x45,0xdc,0x01,0x00,0x00,0x05
 
-# 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_sbyte v5, v[1:2] slc    ; encoding: [0x00,0x00,0x46,0xdc,0x01,0x00,0x00,0x05]
+0x00,0x00,0x46,0xdc,0x01,0x00,0x00,0x05
 
-# 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_ushort v5, v[1:2]    ; encoding: [0x00,0x00,0x48,0xdc,0x01,0x00,0x00,0x05]
+0x00,0x00,0x48,0xdc,0x01,0x00,0x00,0x05
 
-# 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_ushort v255, v[1:2]    ; encoding: [0x00,0x00,0x48,0xdc,0x01,0x00,0x00,0xff]
+0x00,0x00,0x48,0xdc,0x01,0x00,0x00,0xff
 
-# 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_ushort v5, v[254:255]    ; encoding: [0x00,0x00,0x48,0xdc,0xfe,0x00,0x00,0x05]
+0x00,0x00,0x48,0xdc,0xfe,0x00,0x00,0x05
 
-# 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_ushort v5, v[1:2] glc    ; encoding: [0x00,0x00,0x49,0xdc,0x01,0x00,0x00,0x05]
+0x00,0x00,0x49,0xdc,0x01,0x00,0x00,0x05
 
-# 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_ushort v5, v[1:2] slc    ; encoding: [0x00,0x00,0x4a,0xdc,0x01,0x00,0x00,0x05]
+0x00,0x00,0x4a,0xdc,0x01,0x00,0x00,0x05
 
-# 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_sshort v5, v[1:2]    ; encoding: [0x00,0x00,0x4c,0xdc,0x01,0x00,0x00,0x05]
+0x00,0x00,0x4c,0xdc,0x01,0x00,0x00,0x05
 
-# 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_sshort v255, v[1:2]    ; encoding: [0x00,0x00,0x4c,0xdc,0x01,0x00,0x00,0xff]
+0x00,0x00,0x4c,0xdc,0x01,0x00,0x00,0xff
 
-# 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_sshort v5, v[254:255]    ; encoding: [0x00,0x00,0x4c,0xdc,0xfe,0x00,0x00,0x05]
+0x00,0x00,0x4c,0xdc,0xfe,0x00,0x00,0x05
 
-# 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_sshort v5, v[1:2] glc    ; encoding: [0x00,0x00,0x4d,0xdc,0x01,0x00,0x00,0x05]
+0x00,0x00,0x4d,0xdc,0x01,0x00,0x00,0x05
 
-# 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_sshort v5, v[1:2] slc    ; encoding: [0x00,0x00,0x4e,0xdc,0x01,0x00,0x00,0x05]
+0x00,0x00,0x4e,0xdc,0x01,0x00,0x00,0x05
 
-# 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_dword v5, v[1:2]    ; encoding: [0x00,0x00,0x50,0xdc,0x01,0x00,0x00,0x05]
+0x00,0x00,0x50,0xdc,0x01,0x00,0x00,0x05
 
-# 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_dword v255, v[1:2]    ; encoding: [0x00,0x00,0x50,0xdc,0x01,0x00,0x00,0xff]
+0x00,0x00,0x50,0xdc,0x01,0x00,0x00,0xff
 
-# 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_dword v5, v[254:255]    ; encoding: [0x00,0x00,0x50,0xdc,0xfe,0x00,0x00,0x05]
+0x00,0x00,0x50,0xdc,0xfe,0x00,0x00,0x05
 
-# 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_dword v5, v[1:2] glc    ; encoding: [0x00,0x00,0x51,0xdc,0x01,0x00,0x00,0x05]
+0x00,0x00,0x51,0xdc,0x01,0x00,0x00,0x05
 
-# 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_dword v5, v[1:2] slc    ; encoding: [0x00,0x00,0x52,0xdc,0x01,0x00,0x00,0x05]
+0x00,0x00,0x52,0xdc,0x01,0x00,0x00,0x05
 
-# 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_dwordx2 v[5:6], v[1:2]    ; encoding: [0x00,0x00,0x54,0xdc,0x01,0x00,0x00,0x05]
+0x00,0x00,0x54,0xdc,0x01,0x00,0x00,0x05
 
-# 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_dwordx2 v[254:255], v[1:2]    ; encoding: [0x00,0x00,0x54,0xdc,0x01,0x00,0x00,0xfe]
+0x00,0x00,0x54,0xdc,0x01,0x00,0x00,0xfe
 
-# 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_dwordx2 v[5:6], v[254:255]    ; encoding: [0x00,0x00,0x54,0xdc,0xfe,0x00,0x00,0x05]
+0x00,0x00,0x54,0xdc,0xfe,0x00,0x00,0x05
 
-# 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_dwordx2 v[5:6], v[1:2] glc    ; encoding: [0x00,0x00,0x55,0xdc,0x01,0x00,0x00,0x05]
+0x00,0x00,0x55,0xdc,0x01,0x00,0x00,0x05
 
-# 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_dwordx2 v[5:6], v[1:2] slc    ; encoding: [0x00,0x00,0x56,0xdc,0x01,0x00,0x00,0x05]
+0x00,0x00,0x56,0xdc,0x01,0x00,0x00,0x05
 
-# 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_load_dwordx3 v[5:7], v[1:2]    ; encoding: [0x00,0x00,0x58,0xdc,0x01,0x00,0x00,0x05]
+0x00,0x00,0x58,0xdc,0x01,0x00,0x00,0x05
 
-# 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_load_dwordx3 v[253:255], v[1:2]    ; encoding: [0x00,0x00,0x58,0xdc,0x01,0x00,0x00,0xfd]
+0x00,0x00,0x58,0xdc,0x01,0x00,0x00,0xfd
 
-# 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_load_dwordx3 v[5:7], v[254:255]    ; encoding: [0x00,0x00,0x58,0xdc,0xfe,0x00,0x00,0x05]
+0x00,0x00,0x58,0xdc,0xfe,0x00,0x00,0x05
 
-# 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_load_dwordx3 v[5:7], v[1:2] glc    ; encoding: [0x00,0x00,0x59,0xdc,0x01,0x00,0x00,0x05]
+0x00,0x00,0x59,0xdc,0x01,0x00,0x00,0x05
 
-# 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_load_dwordx3 v[5:7], v[1:2] slc    ; encoding: [0x00,0x00,0x5a,0xdc,0x01,0x00,0x00,0x05]
+0x00,0x00,0x5a,0xdc,0x01,0x00,0x00,0x05
 
-# 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_load_dwordx4 v[5:8], v[1:2]    ; encoding: [0x00,0x00,0x5c,0xdc,0x01,0x00,0x00,0x05]
+0x00,0x00,0x5c,0xdc,0x01,0x00,0x00,0x05
 
-# 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_load_dwordx4 v[252:255], v[1:2]    ; encoding: [0x00,0x00,0x5c,0xdc,0x01,0x00,0x00,0xfc]
+0x00,0x00,0x5c,0xdc,0x01,0x00,0x00,0xfc
 
-# 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_load_dwordx4 v[5:8], v[254:255]    ; encoding: [0x00,0x00,0x5c,0xdc,0xfe,0x00,0x00,0x05]
+0x00,0x00,0x5c,0xdc,0xfe,0x00,0x00,0x05
 
-# 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_load_dwordx4 v[5:8], v[1:2] glc    ; encoding: [0x00,0x00,0x5d,0xdc,0x01,0x00,0x00,0x05]
+0x00,0x00,0x5d,0xdc,0x01,0x00,0x00,0x05
 
-# 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_load_dwordx4 v[5:8], v[1:2] slc    ; encoding: [0x00,0x00,0x5e,0xdc,0x01,0x00,0x00,0x05]
+0x00,0x00,0x5e,0xdc,0x01,0x00,0x00,0x05
 
-# 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_byte v[1:2], v2    ; encoding: [0x00,0x00,0x60,0xdc,0x01,0x02,0x00,0x00]
+0x00,0x00,0x60,0xdc,0x01,0x02,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_byte v[254:255], v2    ; encoding: [0x00,0x00,0x60,0xdc,0xfe,0x02,0x00,0x00]
+0x00,0x00,0x60,0xdc,0xfe,0x02,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_byte v[1:2], v255    ; encoding: [0x00,0x00,0x60,0xdc,0x01,0xff,0x00,0x00]
+0x00,0x00,0x60,0xdc,0x01,0xff,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_byte v[1:2], v2 glc    ; encoding: [0x00,0x00,0x61,0xdc,0x01,0x02,0x00,0x00]
+0x00,0x00,0x61,0xdc,0x01,0x02,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_byte v[1:2], v2 slc    ; encoding: [0x00,0x00,0x62,0xdc,0x01,0x02,0x00,0x00]
+0x00,0x00,0x62,0xdc,0x01,0x02,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_short v[1:2], v2    ; encoding: [0x00,0x00,0x68,0xdc,0x01,0x02,0x00,0x00]
+0x00,0x00,0x68,0xdc,0x01,0x02,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_short v[254:255], v2    ; encoding: [0x00,0x00,0x68,0xdc,0xfe,0x02,0x00,0x00]
+0x00,0x00,0x68,0xdc,0xfe,0x02,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_short v[1:2], v255    ; encoding: [0x00,0x00,0x68,0xdc,0x01,0xff,0x00,0x00]
+0x00,0x00,0x68,0xdc,0x01,0xff,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_short v[1:2], v2 glc    ; encoding: [0x00,0x00,0x69,0xdc,0x01,0x02,0x00,0x00]
+0x00,0x00,0x69,0xdc,0x01,0x02,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_short v[1:2], v2 slc    ; encoding: [0x00,0x00,0x6a,0xdc,0x01,0x02,0x00,0x00]
+0x00,0x00,0x6a,0xdc,0x01,0x02,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_dword v[1:2], v2    ; encoding: [0x00,0x00,0x70,0xdc,0x01,0x02,0x00,0x00]
+0x00,0x00,0x70,0xdc,0x01,0x02,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_dword v[254:255], v2    ; encoding: [0x00,0x00,0x70,0xdc,0xfe,0x02,0x00,0x00]
+0x00,0x00,0x70,0xdc,0xfe,0x02,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_dword v[1:2], v255    ; encoding: [0x00,0x00,0x70,0xdc,0x01,0xff,0x00,0x00]
+0x00,0x00,0x70,0xdc,0x01,0xff,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_dword v[1:2], v2 glc    ; encoding: [0x00,0x00,0x71,0xdc,0x01,0x02,0x00,0x00]
+0x00,0x00,0x71,0xdc,0x01,0x02,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_dword v[1:2], v2 slc    ; encoding: [0x00,0x00,0x72,0xdc,0x01,0x02,0x00,0x00]
+0x00,0x00,0x72,0xdc,0x01,0x02,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_dwordx2 v[1:2], v[2:3]    ; encoding: [0x00,0x00,0x74,0xdc,0x01,0x02,0x00,0x00]
+0x00,0x00,0x74,0xdc,0x01,0x02,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_dwordx2 v[254:255], v[2:3]    ; encoding: [0x00,0x00,0x74,0xdc,0xfe,0x02,0x00,0x00]
+0x00,0x00,0x74,0xdc,0xfe,0x02,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_dwordx2 v[1:2], v[254:255]    ; encoding: [0x00,0x00,0x74,0xdc,0x01,0xfe,0x00,0x00]
+0x00,0x00,0x74,0xdc,0x01,0xfe,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_dwordx2 v[1:2], v[2:3] glc    ; encoding: [0x00,0x00,0x75,0xdc,0x01,0x02,0x00,0x00]
+0x00,0x00,0x75,0xdc,0x01,0x02,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_dwordx2 v[1:2], v[2:3] slc    ; encoding: [0x00,0x00,0x76,0xdc,0x01,0x02,0x00,0x00]
+0x00,0x00,0x76,0xdc,0x01,0x02,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_store_dwordx3 v[1:2], v[2:4]    ; encoding: [0x00,0x00,0x78,0xdc,0x01,0x02,0x00,0x00]
+0x00,0x00,0x78,0xdc,0x01,0x02,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_store_dwordx3 v[254:255], v[2:4]    ; encoding: [0x00,0x00,0x78,0xdc,0xfe,0x02,0x00,0x00]
+0x00,0x00,0x78,0xdc,0xfe,0x02,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_store_dwordx3 v[1:2], v[253:255]    ; encoding: [0x00,0x00,0x78,0xdc,0x01,0xfd,0x00,0x00]
+0x00,0x00,0x78,0xdc,0x01,0xfd,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_store_dwordx3 v[1:2], v[2:4] glc    ; encoding: [0x00,0x00,0x79,0xdc,0x01,0x02,0x00,0x00]
+0x00,0x00,0x79,0xdc,0x01,0x02,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_store_dwordx3 v[1:2], v[2:4] slc    ; encoding: [0x00,0x00,0x7a,0xdc,0x01,0x02,0x00,0x00]
+0x00,0x00,0x7a,0xdc,0x01,0x02,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_store_dwordx4 v[1:2], v[2:5]    ; encoding: [0x00,0x00,0x7c,0xdc,0x01,0x02,0x00,0x00]
+0x00,0x00,0x7c,0xdc,0x01,0x02,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_store_dwordx4 v[254:255], v[2:5]    ; encoding: [0x00,0x00,0x7c,0xdc,0xfe,0x02,0x00,0x00]
+0x00,0x00,0x7c,0xdc,0xfe,0x02,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_store_dwordx4 v[1:2], v[252:255]    ; encoding: [0x00,0x00,0x7c,0xdc,0x01,0xfc,0x00,0x00]
+0x00,0x00,0x7c,0xdc,0x01,0xfc,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_store_dwordx4 v[1:2], v[2:5] glc    ; encoding: [0x00,0x00,0x7d,0xdc,0x01,0x02,0x00,0x00]
+0x00,0x00,0x7d,0xdc,0x01,0x02,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_store_dwordx4 v[1:2], v[2:5] slc    ; encoding: [0x00,0x00,0x7e,0xdc,0x01,0x02,0x00,0x00]
+0x00,0x00,0x7e,0xdc,0x01,0x02,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_swap v[1:2], v2    ; encoding: [0x00,0x00,0x00,0xdd,0x01,0x02,0x00,0x00]
+0x00,0x00,0x00,0xdd,0x01,0x02,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_swap v[254:255], v2    ; encoding: [0x00,0x00,0x00,0xdd,0xfe,0x02,0x00,0x00]
+0x00,0x00,0x00,0xdd,0xfe,0x02,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_swap v[1:2], v255    ; encoding: [0x00,0x00,0x00,0xdd,0x01,0xff,0x00,0x00]
+0x00,0x00,0x00,0xdd,0x01,0xff,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_swap v0, v[1:2], v2 glc    ; encoding: [0x00,0x00,0x01,0xdd,0x01,0x02,0x00,0x00]
+0x00,0x00,0x01,0xdd,0x01,0x02,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_swap v[1:2], v2 slc    ; encoding: [0x00,0x00,0x02,0xdd,0x01,0x02,0x00,0x00]
+0x00,0x00,0x02,0xdd,0x01,0x02,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_cmpswap v[1:2], v[2:3]    ; encoding: [0x00,0x00,0x04,0xdd,0x01,0x02,0x00,0x00]
+0x00,0x00,0x04,0xdd,0x01,0x02,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_cmpswap v[254:255], v[2:3]    ; encoding: [0x00,0x00,0x04,0xdd,0xfe,0x02,0x00,0x00]
+0x00,0x00,0x04,0xdd,0xfe,0x02,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_cmpswap v[1:2], v[254:255]    ; encoding: [0x00,0x00,0x04,0xdd,0x01,0xfe,0x00,0x00]
+0x00,0x00,0x04,0xdd,0x01,0xfe,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_cmpswap v0, v[1:2], v[2:3] glc    ; encoding: [0x00,0x00,0x05,0xdd,0x01,0x02,0x00,0x00]
+0x00,0x00,0x05,0xdd,0x01,0x02,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_cmpswap v[1:2], v[2:3] slc    ; encoding: [0x00,0x00,0x06,0xdd,0x01,0x02,0x00,0x00]
+0x00,0x00,0x06,0xdd,0x01,0x02,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_add v[1:2], v2    ; encoding: [0x00,0x00,0x08,0xdd,0x01,0x02,0x00,0x00]
+0x00,0x00,0x08,0xdd,0x01,0x02,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_add v[254:255], v2    ; encoding: [0x00,0x00,0x08,0xdd,0xfe,0x02,0x00,0x00]
+0x00,0x00,0x08,0xdd,0xfe,0x02,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_add v[1:2], v255    ; encoding: [0x00,0x00,0x08,0xdd,0x01,0xff,0x00,0x00]
+0x00,0x00,0x08,0xdd,0x01,0xff,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_add v0, v[1:2], v2 glc    ; encoding: [0x00,0x00,0x09,0xdd,0x01,0x02,0x00,0x00]
+0x00,0x00,0x09,0xdd,0x01,0x02,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_add v[1:2], v2 slc    ; encoding: [0x00,0x00,0x0a,0xdd,0x01,0x02,0x00,0x00]
+0x00,0x00,0x0a,0xdd,0x01,0x02,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_sub v[1:2], v2    ; encoding: [0x00,0x00,0x0c,0xdd,0x01,0x02,0x00,0x00]
+0x00,0x00,0x0c,0xdd,0x01,0x02,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_sub v[254:255], v2    ; encoding: [0x00,0x00,0x0c,0xdd,0xfe,0x02,0x00,0x00]
+0x00,0x00,0x0c,0xdd,0xfe,0x02,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_sub v[1:2], v255    ; encoding: [0x00,0x00,0x0c,0xdd,0x01,0xff,0x00,0x00]
+0x00,0x00,0x0c,0xdd,0x01,0xff,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_sub v0, v[1:2], v2 glc    ; encoding: [0x00,0x00,0x0d,0xdd,0x01,0x02,0x00,0x00]
+0x00,0x00,0x0d,0xdd,0x01,0x02,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_sub v[1:2], v2 slc    ; encoding: [0x00,0x00,0x0e,0xdd,0x01,0x02,0x00,0x00]
+0x00,0x00,0x0e,0xdd,0x01,0x02,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_smin v[1:2], v2    ; encoding: [0x00,0x00,0x10,0xdd,0x01,0x02,0x00,0x00]
+0x00,0x00,0x10,0xdd,0x01,0x02,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_smin v[254:255], v2    ; encoding: [0x00,0x00,0x10,0xdd,0xfe,0x02,0x00,0x00]
+0x00,0x00,0x10,0xdd,0xfe,0x02,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_smin v[1:2], v255    ; encoding: [0x00,0x00,0x10,0xdd,0x01,0xff,0x00,0x00]
+0x00,0x00,0x10,0xdd,0x01,0xff,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_smin v0, v[1:2], v2 glc    ; encoding: [0x00,0x00,0x11,0xdd,0x01,0x02,0x00,0x00]
+0x00,0x00,0x11,0xdd,0x01,0x02,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_smin v[1:2], v2 slc    ; encoding: [0x00,0x00,0x12,0xdd,0x01,0x02,0x00,0x00]
+0x00,0x00,0x12,0xdd,0x01,0x02,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_umin v[1:2], v2    ; encoding: [0x00,0x00,0x14,0xdd,0x01,0x02,0x00,0x00]
+0x00,0x00,0x14,0xdd,0x01,0x02,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_umin v[254:255], v2    ; encoding: [0x00,0x00,0x14,0xdd,0xfe,0x02,0x00,0x00]
+0x00,0x00,0x14,0xdd,0xfe,0x02,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_umin v[1:2], v255    ; encoding: [0x00,0x00,0x14,0xdd,0x01,0xff,0x00,0x00]
+0x00,0x00,0x14,0xdd,0x01,0xff,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_umin v0, v[1:2], v2 glc    ; encoding: [0x00,0x00,0x15,0xdd,0x01,0x02,0x00,0x00]
+0x00,0x00,0x15,0xdd,0x01,0x02,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_umin v[1:2], v2 slc    ; encoding: [0x00,0x00,0x16,0xdd,0x01,0x02,0x00,0x00]
+0x00,0x00,0x16,0xdd,0x01,0x02,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_smax v[1:2], v2    ; encoding: [0x00,0x00,0x18,0xdd,0x01,0x02,0x00,0x00]
+0x00,0x00,0x18,0xdd,0x01,0x02,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_smax v[254:255], v2    ; encoding: [0x00,0x00,0x18,0xdd,0xfe,0x02,0x00,0x00]
+0x00,0x00,0x18,0xdd,0xfe,0x02,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_smax v[1:2], v255    ; encoding: [0x00,0x00,0x18,0xdd,0x01,0xff,0x00,0x00]
+0x00,0x00,0x18,0xdd,0x01,0xff,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_smax v0, v[1:2], v2 glc    ; encoding: [0x00,0x00,0x19,0xdd,0x01,0x02,0x00,0x00]
+0x00,0x00,0x19,0xdd,0x01,0x02,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_smax v[1:2], v2 slc    ; encoding: [0x00,0x00,0x1a,0xdd,0x01,0x02,0x00,0x00]
+0x00,0x00,0x1a,0xdd,0x01,0x02,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_umax v[1:2], v2    ; encoding: [0x00,0x00,0x1c,0xdd,0x01,0x02,0x00,0x00]
+0x00,0x00,0x1c,0xdd,0x01,0x02,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_umax v[254:255], v2    ; encoding: [0x00,0x00,0x1c,0xdd,0xfe,0x02,0x00,0x00]
+0x00,0x00,0x1c,0xdd,0xfe,0x02,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_umax v[1:2], v255    ; encoding: [0x00,0x00,0x1c,0xdd,0x01,0xff,0x00,0x00]
+0x00,0x00,0x1c,0xdd,0x01,0xff,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_umax v0, v[1:2], v2 glc    ; encoding: [0x00,0x00,0x1d,0xdd,0x01,0x02,0x00,0x00]
+0x00,0x00,0x1d,0xdd,0x01,0x02,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_umax v[1:2], v2 slc    ; encoding: [0x00,0x00,0x1e,0xdd,0x01,0x02,0x00,0x00]
+0x00,0x00,0x1e,0xdd,0x01,0x02,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_and v[1:2], v2    ; encoding: [0x00,0x00,0x20,0xdd,0x01,0x02,0x00,0x00]
+0x00,0x00,0x20,0xdd,0x01,0x02,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_and v[254:255], v2    ; encoding: [0x00,0x00,0x20,0xdd,0xfe,0x02,0x00,0x00]
+0x00,0x00,0x20,0xdd,0xfe,0x02,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_and v[1:2], v255    ; encoding: [0x00,0x00,0x20,0xdd,0x01,0xff,0x00,0x00]
+0x00,0x00,0x20,0xdd,0x01,0xff,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_and v0, v[1:2], v2 glc    ; encoding: [0x00,0x00,0x21,0xdd,0x01,0x02,0x00,0x00]
+0x00,0x00,0x21,0xdd,0x01,0x02,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_and v[1:2], v2 slc    ; encoding: [0x00,0x00,0x22,0xdd,0x01,0x02,0x00,0x00]
+0x00,0x00,0x22,0xdd,0x01,0x02,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_or v[1:2], v2    ; encoding: [0x00,0x00,0x24,0xdd,0x01,0x02,0x00,0x00]
+0x00,0x00,0x24,0xdd,0x01,0x02,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_or v[254:255], v2    ; encoding: [0x00,0x00,0x24,0xdd,0xfe,0x02,0x00,0x00]
+0x00,0x00,0x24,0xdd,0xfe,0x02,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_or v[1:2], v255    ; encoding: [0x00,0x00,0x24,0xdd,0x01,0xff,0x00,0x00]
+0x00,0x00,0x24,0xdd,0x01,0xff,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_or v0, v[1:2], v2 glc    ; encoding: [0x00,0x00,0x25,0xdd,0x01,0x02,0x00,0x00]
+0x00,0x00,0x25,0xdd,0x01,0x02,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_or v[1:2], v2 slc    ; encoding: [0x00,0x00,0x26,0xdd,0x01,0x02,0x00,0x00]
+0x00,0x00,0x26,0xdd,0x01,0x02,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_xor v[1:2], v2    ; encoding: [0x00,0x00,0x28,0xdd,0x01,0x02,0x00,0x00]
+0x00,0x00,0x28,0xdd,0x01,0x02,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_xor v[254:255], v2    ; encoding: [0x00,0x00,0x28,0xdd,0xfe,0x02,0x00,0x00]
+0x00,0x00,0x28,0xdd,0xfe,0x02,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_xor v[1:2], v255    ; encoding: [0x00,0x00,0x28,0xdd,0x01,0xff,0x00,0x00]
+0x00,0x00,0x28,0xdd,0x01,0xff,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_xor v0, v[1:2], v2 glc    ; encoding: [0x00,0x00,0x29,0xdd,0x01,0x02,0x00,0x00]
+0x00,0x00,0x29,0xdd,0x01,0x02,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_xor v[1:2], v2 slc    ; encoding: [0x00,0x00,0x2a,0xdd,0x01,0x02,0x00,0x00]
+0x00,0x00,0x2a,0xdd,0x01,0x02,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_inc v[1:2], v2    ; encoding: [0x00,0x00,0x2c,0xdd,0x01,0x02,0x00,0x00]
+0x00,0x00,0x2c,0xdd,0x01,0x02,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_inc v[254:255], v2    ; encoding: [0x00,0x00,0x2c,0xdd,0xfe,0x02,0x00,0x00]
+0x00,0x00,0x2c,0xdd,0xfe,0x02,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_inc v[1:2], v255    ; encoding: [0x00,0x00,0x2c,0xdd,0x01,0xff,0x00,0x00]
+0x00,0x00,0x2c,0xdd,0x01,0xff,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_inc v0, v[1:2], v2 glc    ; encoding: [0x00,0x00,0x2d,0xdd,0x01,0x02,0x00,0x00]
+0x00,0x00,0x2d,0xdd,0x01,0x02,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_inc v[1:2], v2 slc    ; encoding: [0x00,0x00,0x2e,0xdd,0x01,0x02,0x00,0x00]
+0x00,0x00,0x2e,0xdd,0x01,0x02,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_dec v[1:2], v2    ; encoding: [0x00,0x00,0x30,0xdd,0x01,0x02,0x00,0x00]
+0x00,0x00,0x30,0xdd,0x01,0x02,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_dec v[254:255], v2    ; encoding: [0x00,0x00,0x30,0xdd,0xfe,0x02,0x00,0x00]
+0x00,0x00,0x30,0xdd,0xfe,0x02,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_dec v[1:2], v255    ; encoding: [0x00,0x00,0x30,0xdd,0x01,0xff,0x00,0x00]
+0x00,0x00,0x30,0xdd,0x01,0xff,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_dec v0, v[1:2], v2 glc    ; encoding: [0x00,0x00,0x31,0xdd,0x01,0x02,0x00,0x00]
+0x00,0x00,0x31,0xdd,0x01,0x02,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_dec v[1:2], v2 slc    ; encoding: [0x00,0x00,0x32,0xdd,0x01,0x02,0x00,0x00]
+0x00,0x00,0x32,0xdd,0x01,0x02,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_swap_x2 v[1:2], v[2:3]    ; encoding: [0x00,0x00,0x80,0xdd,0x01,0x02,0x00,0x00]
+0x00,0x00,0x80,0xdd,0x01,0x02,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_swap_x2 v[254:255], v[2:3]    ; encoding: [0x00,0x00,0x80,0xdd,0xfe,0x02,0x00,0x00]
+0x00,0x00,0x80,0xdd,0xfe,0x02,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_swap_x2 v[1:2], v[254:255]    ; encoding: [0x00,0x00,0x80,0xdd,0x01,0xfe,0x00,0x00]
+0x00,0x00,0x80,0xdd,0x01,0xfe,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_swap_x2 v[0:1], v[1:2], v[2:3] glc    ; encoding: [0x00,0x00,0x81,0xdd,0x01,0x02,0x00,0x00]
+0x00,0x00,0x81,0xdd,0x01,0x02,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_swap_x2 v[1:2], v[2:3] slc    ; encoding: [0x00,0x00,0x82,0xdd,0x01,0x02,0x00,0x00]
+0x00,0x00,0x82,0xdd,0x01,0x02,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_cmpswap_x2 v[1:2], v[2:5]    ; encoding: [0x00,0x00,0x84,0xdd,0x01,0x02,0x00,0x00]
+0x00,0x00,0x84,0xdd,0x01,0x02,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_cmpswap_x2 v[254:255], v[2:5]    ; encoding: [0x00,0x00,0x84,0xdd,0xfe,0x02,0x00,0x00]
+0x00,0x00,0x84,0xdd,0xfe,0x02,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_cmpswap_x2 v[1:2], v[252:255]    ; encoding: [0x00,0x00,0x84,0xdd,0x01,0xfc,0x00,0x00]
+0x00,0x00,0x84,0xdd,0x01,0xfc,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_cmpswap_x2 v[0:1], v[1:2], v[2:5] glc    ; encoding: [0x00,0x00,0x85,0xdd,0x01,0x02,0x00,0x00]
+0x00,0x00,0x85,0xdd,0x01,0x02,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_cmpswap_x2 v[1:2], v[2:5] slc    ; encoding: [0x00,0x00,0x86,0xdd,0x01,0x02,0x00,0x00]
+0x00,0x00,0x86,0xdd,0x01,0x02,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_add_x2 v[1:2], v[2:3]    ; encoding: [0x00,0x00,0x88,0xdd,0x01,0x02,0x00,0x00]
+0x00,0x00,0x88,0xdd,0x01,0x02,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_add_x2 v[254:255], v[2:3]    ; encoding: [0x00,0x00,0x88,0xdd,0xfe,0x02,0x00,0x00]
+0x00,0x00,0x88,0xdd,0xfe,0x02,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_add_x2 v[1:2], v[254:255]    ; encoding: [0x00,0x00,0x88,0xdd,0x01,0xfe,0x00,0x00]
+0x00,0x00,0x88,0xdd,0x01,0xfe,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_add_x2 v[0:1], v[1:2], v[2:3] glc    ; encoding: [0x00,0x00,0x89,0xdd,0x01,0x02,0x00,0x00]
+0x00,0x00,0x89,0xdd,0x01,0x02,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_add_x2 v[1:2], v[2:3] slc    ; encoding: [0x00,0x00,0x8a,0xdd,0x01,0x02,0x00,0x00]
+0x00,0x00,0x8a,0xdd,0x01,0x02,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_sub_x2 v[1:2], v[2:3]    ; encoding: [0x00,0x00,0x8c,0xdd,0x01,0x02,0x00,0x00]
+0x00,0x00,0x8c,0xdd,0x01,0x02,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_sub_x2 v[254:255], v[2:3]    ; encoding: [0x00,0x00,0x8c,0xdd,0xfe,0x02,0x00,0x00]
+0x00,0x00,0x8c,0xdd,0xfe,0x02,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_sub_x2 v[1:2], v[254:255]    ; encoding: [0x00,0x00,0x8c,0xdd,0x01,0xfe,0x00,0x00]
+0x00,0x00,0x8c,0xdd,0x01,0xfe,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_sub_x2 v[0:1], v[1:2], v[2:3] glc    ; encoding: [0x00,0x00,0x8d,0xdd,0x01,0x02,0x00,0x00]
+0x00,0x00,0x8d,0xdd,0x01,0x02,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_sub_x2 v[1:2], v[2:3] slc    ; encoding: [0x00,0x00,0x8e,0xdd,0x01,0x02,0x00,0x00]
+0x00,0x00,0x8e,0xdd,0x01,0x02,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_smin_x2 v[1:2], v[2:3]    ; encoding: [0x00,0x00,0x90,0xdd,0x01,0x02,0x00,0x00]
+0x00,0x00,0x90,0xdd,0x01,0x02,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_smin_x2 v[254:255], v[2:3]    ; encoding: [0x00,0x00,0x90,0xdd,0xfe,0x02,0x00,0x00]
+0x00,0x00,0x90,0xdd,0xfe,0x02,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_smin_x2 v[1:2], v[254:255]    ; encoding: [0x00,0x00,0x90,0xdd,0x01,0xfe,0x00,0x00]
+0x00,0x00,0x90,0xdd,0x01,0xfe,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_smin_x2 v[0:1], v[1:2], v[2:3] glc    ; encoding: [0x00,0x00,0x91,0xdd,0x01,0x02,0x00,0x00]
+0x00,0x00,0x91,0xdd,0x01,0x02,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_smin_x2 v[1:2], v[2:3] slc    ; encoding: [0x00,0x00,0x92,0xdd,0x01,0x02,0x00,0x00]
+0x00,0x00,0x92,0xdd,0x01,0x02,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_umin_x2 v[1:2], v[2:3]    ; encoding: [0x00,0x00,0x94,0xdd,0x01,0x02,0x00,0x00]
+0x00,0x00,0x94,0xdd,0x01,0x02,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_umin_x2 v[254:255], v[2:3]    ; encoding: [0x00,0x00,0x94,0xdd,0xfe,0x02,0x00,0x00]
+0x00,0x00,0x94,0xdd,0xfe,0x02,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_umin_x2 v[1:2], v[254:255]    ; encoding: [0x00,0x00,0x94,0xdd,0x01,0xfe,0x00,0x00]
+0x00,0x00,0x94,0xdd,0x01,0xfe,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_umin_x2 v[0:1], v[1:2], v[2:3] glc    ; encoding: [0x00,0x00,0x95,0xdd,0x01,0x02,0x00,0x00]
+0x00,0x00,0x95,0xdd,0x01,0x02,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_umin_x2 v[1:2], v[2:3] slc    ; encoding: [0x00,0x00,0x96,0xdd,0x01,0x02,0x00,0x00]
+0x00,0x00,0x96,0xdd,0x01,0x02,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_smax_x2 v[1:2], v[2:3]    ; encoding: [0x00,0x00,0x98,0xdd,0x01,0x02,0x00,0x00]
+0x00,0x00,0x98,0xdd,0x01,0x02,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_smax_x2 v[254:255], v[2:3]    ; encoding: [0x00,0x00,0x98,0xdd,0xfe,0x02,0x00,0x00]
+0x00,0x00,0x98,0xdd,0xfe,0x02,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_smax_x2 v[1:2], v[254:255]    ; encoding: [0x00,0x00,0x98,0xdd,0x01,0xfe,0x00,0x00]
+0x00,0x00,0x98,0xdd,0x01,0xfe,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_smax_x2 v[0:1], v[1:2], v[2:3] glc    ; encoding: [0x00,0x00,0x99,0xdd,0x01,0x02,0x00,0x00]
+0x00,0x00,0x99,0xdd,0x01,0x02,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_smax_x2 v[1:2], v[2:3] slc    ; encoding: [0x00,0x00,0x9a,0xdd,0x01,0x02,0x00,0x00]
+0x00,0x00,0x9a,0xdd,0x01,0x02,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_umax_x2 v[1:2], v[2:3]    ; encoding: [0x00,0x00,0x9c,0xdd,0x01,0x02,0x00,0x00]
+0x00,0x00,0x9c,0xdd,0x01,0x02,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_umax_x2 v[254:255], v[2:3]    ; encoding: [0x00,0x00,0x9c,0xdd,0xfe,0x02,0x00,0x00]
+0x00,0x00,0x9c,0xdd,0xfe,0x02,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_umax_x2 v[1:2], v[254:255]    ; encoding: [0x00,0x00,0x9c,0xdd,0x01,0xfe,0x00,0x00]
+0x00,0x00,0x9c,0xdd,0x01,0xfe,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_umax_x2 v[0:1], v[1:2], v[2:3] glc    ; encoding: [0x00,0x00,0x9d,0xdd,0x01,0x02,0x00,0x00]
+0x00,0x00,0x9d,0xdd,0x01,0x02,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_umax_x2 v[1:2], v[2:3] slc    ; encoding: [0x00,0x00,0x9e,0xdd,0x01,0x02,0x00,0x00]
+0x00,0x00,0x9e,0xdd,0x01,0x02,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_and_x2 v[1:2], v[2:3]    ; encoding: [0x00,0x00,0xa0,0xdd,0x01,0x02,0x00,0x00]
+0x00,0x00,0xa0,0xdd,0x01,0x02,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_and_x2 v[254:255], v[2:3]    ; encoding: [0x00,0x00,0xa0,0xdd,0xfe,0x02,0x00,0x00]
+0x00,0x00,0xa0,0xdd,0xfe,0x02,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_and_x2 v[1:2], v[254:255]    ; encoding: [0x00,0x00,0xa0,0xdd,0x01,0xfe,0x00,0x00]
+0x00,0x00,0xa0,0xdd,0x01,0xfe,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_and_x2 v[0:1], v[1:2], v[2:3] glc    ; encoding: [0x00,0x00,0xa1,0xdd,0x01,0x02,0x00,0x00]
+0x00,0x00,0xa1,0xdd,0x01,0x02,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_and_x2 v[1:2], v[2:3] slc    ; encoding: [0x00,0x00,0xa2,0xdd,0x01,0x02,0x00,0x00]
+0x00,0x00,0xa2,0xdd,0x01,0x02,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_or_x2 v[1:2], v[2:3]    ; encoding: [0x00,0x00,0xa4,0xdd,0x01,0x02,0x00,0x00]
+0x00,0x00,0xa4,0xdd,0x01,0x02,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_or_x2 v[254:255], v[2:3]    ; encoding: [0x00,0x00,0xa4,0xdd,0xfe,0x02,0x00,0x00]
+0x00,0x00,0xa4,0xdd,0xfe,0x02,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_or_x2 v[1:2], v[254:255]    ; encoding: [0x00,0x00,0xa4,0xdd,0x01,0xfe,0x00,0x00]
+0x00,0x00,0xa4,0xdd,0x01,0xfe,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_or_x2 v[0:1], v[1:2], v[2:3] glc    ; encoding: [0x00,0x00,0xa5,0xdd,0x01,0x02,0x00,0x00]
+0x00,0x00,0xa5,0xdd,0x01,0x02,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_or_x2 v[1:2], v[2:3] slc    ; encoding: [0x00,0x00,0xa6,0xdd,0x01,0x02,0x00,0x00]
+0x00,0x00,0xa6,0xdd,0x01,0x02,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_xor_x2 v[1:2], v[2:3]    ; encoding: [0x00,0x00,0xa8,0xdd,0x01,0x02,0x00,0x00]
+0x00,0x00,0xa8,0xdd,0x01,0x02,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_xor_x2 v[254:255], v[2:3]    ; encoding: [0x00,0x00,0xa8,0xdd,0xfe,0x02,0x00,0x00]
+0x00,0x00,0xa8,0xdd,0xfe,0x02,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_xor_x2 v[1:2], v[254:255]    ; encoding: [0x00,0x00,0xa8,0xdd,0x01,0xfe,0x00,0x00]
+0x00,0x00,0xa8,0xdd,0x01,0xfe,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_xor_x2 v[0:1], v[1:2], v[2:3] glc    ; encoding: [0x00,0x00,0xa9,0xdd,0x01,0x02,0x00,0x00]
+0x00,0x00,0xa9,0xdd,0x01,0x02,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_xor_x2 v[1:2], v[2:3] slc    ; encoding: [0x00,0x00,0xaa,0xdd,0x01,0x02,0x00,0x00]
+0x00,0x00,0xaa,0xdd,0x01,0x02,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: flat_atomic_inc_x2 v[1:2], v[2:3]    ; encoding: [0x00,0x00,0xac,0xdd,0x01,0x02,0x00,0x00]
+0x00,0x00,0xac,0xdd,0x01,0x02,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: flat_atomic_inc_x2 v[254:255], v[2:3]    ; encoding: [0x00,0x00,0xac,0xdd,0xfe,0x02,0x00,0x00]
+0x00,0x00,0xac,0xdd,0xfe,0x02,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: flat_atomic_inc_x2 v[1:2], v[254:255]    ; encoding: [0x00,0x00,0xac,0xdd,0x01,0xfe,0x00,0x00]
+0x00,0x00,0xac,0xdd,0x01,0xfe,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: flat_atomic_inc_x2 v[0:1], v[1:2], v[2:3] glc    ; encoding: [0x00,0x00,0xad,0xdd,0x01,0x02,0x00,0x00]
+0x00,0x00,0xad,0xdd,0x01,0x02,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: flat_atomic_inc_x2 v[1:2], v[2:3] slc    ; encoding: [0x00,0x00,0xae,0xdd,0x01,0x02,0x00,0x00]
+0x00,0x00,0xae,0xdd,0x01,0x02,0x00,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: flat_atomic_dec_x2 v[1:2], v[2:3]    ; encoding: [0x00,0x00,0xb0,0xdd,0x01,0x02,0x00,0x00]
+0x00,0x00,0xb0,0xdd,0x01,0x02,0x00,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: flat_atomic_dec_x2 v[254:255], v[2:3]    ; encoding: [0x00,0x00,0xb0,0xdd,0xfe,0x02,0x00,0x00]
+0x00,0x00,0xb0,0xdd,0xfe,0x02,0x00,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: flat_atomic_dec_x2 v[1:2], v[254:255]    ; encoding: [0x00,0x00,0xb0,0xdd,0x01,0xfe,0x00,0x00]
+0x00,0x00,0xb0,0xdd,0x01,0xfe,0x00,0x00
 
-# 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: flat_atomic_dec_x2 v[0:1], v[1:2], v[2:3] glc    ; encoding: [0x00,0x00,0xb1,0xdd,0x01,0x02,0x00,0x00]
+0x00,0x00,0xb1,0xdd,0x01,0x02,0x00,0x00
 
-# 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: flat_atomic_dec_x2 v[1:2], v[2:3] slc    ; encoding: [0x00,0x00,0xb2,0xdd,0x01,0x02,0x00,0x00]
+0x00,0x00,0xb2,0xdd,0x01,0x02,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 v5, v1, s[8:15], s[12:15] dmask:0x1    ; encoding: [0x00,0x01,0x80,0xf1,0x01,0x05,0x62,0x00]
+0x00,0x01,0x80,0xf1,0x01,0x05,0x62,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 v252, v1, s[8:15], s[12:15] dmask:0x1    ; encoding: [0x00,0x01,0x80,0xf1,0x01,0xfc,0x62,0x00]
+0x00,0x01,0x80,0xf1,0x01,0xfc,0x62,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 v5, v255, s[8:15], s[12:15] dmask:0x1    ; encoding: [0x00,0x01,0x80,0xf1,0xff,0x05,0x62,0x00]
+0x00,0x01,0x80,0xf1,0xff,0x05,0x62,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 v5, v1, s[12:19], s[12:15] dmask:0x1    ; encoding: [0x00,0x01,0x80,0xf1,0x01,0x05,0x63,0x00]
+0x00,0x01,0x80,0xf1,0x01,0x05,0x63,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 v5, v1, s[92:99], s[12:15] dmask:0x1    ; encoding: [0x00,0x01,0x80,0xf1,0x01,0x05,0x77,0x00]
+0x00,0x01,0x80,0xf1,0x01,0x05,0x77,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 v5, v1, s[8:15], s[16:19] dmask:0x1    ; encoding: [0x00,0x01,0x80,0xf1,0x01,0x05,0x82,0x00]
+0x00,0x01,0x80,0xf1,0x01,0x05,0x82,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: image_get_lod v5, v1, s[8:15], s[96:99] dmask:0x1    ; encoding: [0x00,0x01,0x80,0xf1,0x01,0x05,0x02,0x03]
+0x00,0x01,0x80,0xf1,0x01,0x05,0x02,0x03
 
-# 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: image_get_lod v5, v1, s[8:15], ttmp[8:11] dmask:0x1    ; encoding: [0x00,0x01,0x80,0xf1,0x01,0x05,0xc2,0x03]
+0x00,0x01,0x80,0xf1,0x01,0x05,0xc2,0x03
 
-# 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: image_get_lod v5, v1, s[8:15], s[12:15] dmask:0x2    ; encoding: [0x00,0x02,0x80,0xf1,0x01,0x05,0x62,0x00]
+0x00,0x02,0x80,0xf1,0x01,0x05,0x62,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: image_get_lod v5, v1, s[8:15], s[12:15] dmask:0x4    ; encoding: [0x00,0x04,0x80,0xf1,0x01,0x05,0x62,0x00]
+0x00,0x04,0x80,0xf1,0x01,0x05,0x62,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: image_get_lod v5, v1, s[8:15], s[12:15] dmask:0x8    ; encoding: [0x00,0x08,0x80,0xf1,0x01,0x05,0x62,0x00]
+0x00,0x08,0x80,0xf1,0x01,0x05,0x62,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: image_get_lod v5, v1, s[8:15], s[12:15] dmask:0x1 unorm    ; encoding: [0x00,0x11,0x80,0xf1,0x01,0x05,0x62,0x00]
+0x00,0x11,0x80,0xf1,0x01,0x05,0x62,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: image_get_lod v5, v1, s[8:15], s[12:15] dmask:0x1 glc    ; encoding: [0x00,0x21,0x80,0xf1,0x01,0x05,0x62,0x00]
+0x00,0x21,0x80,0xf1,0x01,0x05,0x62,0x00
 
-# 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: image_get_lod v5, v1, s[8:15], s[12:15] dmask:0x1 slc    ; encoding: [0x00,0x01,0x80,0xf3,0x01,0x05,0x62,0x00]
+0x00,0x01,0x80,0xf3,0x01,0x05,0x62,0x00
 
-# 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: image_get_lod v5, v1, s[8:15], s[12:15] dmask:0x1 lwe    ; encoding: [0x00,0x01,0x82,0xf1,0x01,0x05,0x62,0x00]
+0x00,0x01,0x82,0xf1,0x01,0x05,0x62,0x00
 
-# 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: image_get_lod v5, v1, s[8:15], s[12:15] dmask:0x1 da    ; encoding: [0x00,0x41,0x80,0xf1,0x01,0x05,0x62,0x00]
+0x00,0x41,0x80,0xf1,0x01,0x05,0x62,0x00
 
-# 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 v5, off, s[8:11], s3 offset:4095    ; encoding: [0xff,0x0f,0x00,0xe0,0x00,0x05,0x02,0x03]
+0xff,0x0f,0x00,0xe0,0x00,0x05,0x02,0x03
 
-# 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 v255, off, s[8:11], s3 offset:4095    ; encoding: [0xff,0x0f,0x00,0xe0,0x00,0xff,0x02,0x03]
+0xff,0x0f,0x00,0xe0,0x00,0xff,0x02,0x03
 
-# 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 v5, off, s[12:15], s3 offset:4095    ; encoding: [0xff,0x0f,0x00,0xe0,0x00,0x05,0x03,0x03]
+0xff,0x0f,0x00,0xe0,0x00,0x05,0x03,0x03
 
-# 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 v5, off, s[96:99], s3 offset:4095    ; encoding: [0xff,0x0f,0x00,0xe0,0x00,0x05,0x18,0x03]
+0xff,0x0f,0x00,0xe0,0x00,0x05,0x18,0x03
 
-# 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 v5, off, ttmp[8:11], s3 offset:4095    ; encoding: [0xff,0x0f,0x00,0xe0,0x00,0x05,0x1e,0x03]
+0xff,0x0f,0x00,0xe0,0x00,0x05,0x1e,0x03
 
-# 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 v5, off, s[8:11], s101 offset:4095    ; encoding: [0xff,0x0f,0x00,0xe0,0x00,0x05,0x02,0x65]
+0xff,0x0f,0x00,0xe0,0x00,0x05,0x02,0x65
 
-# 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 v5, off, s[8:11], m0 offset:4095    ; encoding: [0xff,0x0f,0x00,0xe0,0x00,0x05,0x02,0x7c]
+0xff,0x0f,0x00,0xe0,0x00,0x05,0x02,0x7c
 
-# 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_x v5, off, s[8:11], 0 offset:4095    ; encoding: [0xff,0x0f,0x00,0xe0,0x00,0x05,0x02,0x80]
+0xff,0x0f,0x00,0xe0,0x00,0x05,0x02,0x80
 
-# 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_x v5, off, s[8:11], -1 offset:4095    ; encoding: [0xff,0x0f,0x00,0xe0,0x00,0x05,0x02,0xc1]
+0xff,0x0f,0x00,0xe0,0x00,0x05,0x02,0xc1
 
-# 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_x v5, off, s[8:11], 0.5 offset:4095    ; encoding: [0xff,0x0f,0x00,0xe0,0x00,0x05,0x02,0xf0]
+0xff,0x0f,0x00,0xe0,0x00,0x05,0x02,0xf0
 
-# 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_x v5, off, s[8:11], -4.0 offset:4095    ; encoding: [0xff,0x0f,0x00,0xe0,0x00,0x05,0x02,0xf7]
+0xff,0x0f,0x00,0xe0,0x00,0x05,0x02,0xf7
 
-# 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_x v5, v0, s[8:11], s3 idxen offset:4095    ; encoding: [0xff,0x2f,0x00,0xe0,0x00,0x05,0x02,0x03]
+0xff,0x2f,0x00,0xe0,0x00,0x05,0x02,0x03
 
-# 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_x v5, v0, s[8:11], s3 offen offset:4095    ; encoding: [0xff,0x1f,0x00,0xe0,0x00,0x05,0x02,0x03]
+0xff,0x1f,0x00,0xe0,0x00,0x05,0x02,0x03
 
-# 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_x v5, off, s[8:11], s3    ; encoding: [0x00,0x00,0x00,0xe0,0x00,0x05,0x02,0x03]
+0x00,0x00,0x00,0xe0,0x00,0x05,0x02,0x03
 
-# 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_x v5, off, s[8:11], s3 offset:7    ; encoding: [0x07,0x00,0x00,0xe0,0x00,0x05,0x02,0x03]
+0x07,0x00,0x00,0xe0,0x00,0x05,0x02,0x03
 
-# 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_x v5, off, s[8:11], s3 offset:4095 glc    ; encoding: [0xff,0x4f,0x00,0xe0,0x00,0x05,0x02,0x03]
+0xff,0x4f,0x00,0xe0,0x00,0x05,0x02,0x03
 
-# 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_x v5, off, s[8:11], s3 offset:4095 slc    ; encoding: [0xff,0x0f,0x02,0xe0,0x00,0x05,0x02,0x03]
+0xff,0x0f,0x02,0xe0,0x00,0x05,0x02,0x03
 
-# 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[5:6], off, s[8:11], s3 offset:4095    ; encoding: [0xff,0x0f,0x04,0xe0,0x00,0x05,0x02,0x03]
+0xff,0x0f,0x04,0xe0,0x00,0x05,0x02,0x03
 
-# 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[254:255], off, s[8:11], s3 offset:4095    ; encoding: [0xff,0x0f,0x04,0xe0,0x00,0xfe,0x02,0x03]
+0xff,0x0f,0x04,0xe0,0x00,0xfe,0x02,0x03
 
-# 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[5:6], off, s[12:15], s3 offset:4095    ; encoding: [0xff,0x0f,0x04,0xe0,0x00,0x05,0x03,0x03]
+0xff,0x0f,0x04,0xe0,0x00,0x05,0x03,0x03
 
-# 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[5:6], off, s[96:99], s3 offset:4095    ; encoding: [0xff,0x0f,0x04,0xe0,0x00,0x05,0x18,0x03]
+0xff,0x0f,0x04,0xe0,0x00,0x05,0x18,0x03
 
-# 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[5:6], off, ttmp[8:11], s3 offset:4095    ; encoding: [0xff,0x0f,0x04,0xe0,0x00,0x05,0x1e,0x03]
+0xff,0x0f,0x04,0xe0,0x00,0x05,0x1e,0x03
 
-# 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[5:6], off, s[8:11], s101 offset:4095    ; encoding: [0xff,0x0f,0x04,0xe0,0x00,0x05,0x02,0x65]
+0xff,0x0f,0x04,0xe0,0x00,0x05,0x02,0x65
 
-# 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[5:6], off, s[8:11], m0 offset:4095    ; encoding: [0xff,0x0f,0x04,0xe0,0x00,0x05,0x02,0x7c]
+0xff,0x0f,0x04,0xe0,0x00,0x05,0x02,0x7c
 
-# 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_xy v[5:6], off, s[8:11], 0 offset:4095    ; encoding: [0xff,0x0f,0x04,0xe0,0x00,0x05,0x02,0x80]
+0xff,0x0f,0x04,0xe0,0x00,0x05,0x02,0x80
 
-# 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_xy v[5:6], off, s[8:11], -1 offset:4095    ; encoding: [0xff,0x0f,0x04,0xe0,0x00,0x05,0x02,0xc1]
+0xff,0x0f,0x04,0xe0,0x00,0x05,0x02,0xc1
 
-# 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_xy v[5:6], off, s[8:11], 0.5 offset:4095    ; encoding: [0xff,0x0f,0x04,0xe0,0x00,0x05,0x02,0xf0]
+0xff,0x0f,0x04,0xe0,0x00,0x05,0x02,0xf0
 
-# 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_xy v[5:6], off, s[8:11], -4.0 offset:4095    ; encoding: [0xff,0x0f,0x04,0xe0,0x00,0x05,0x02,0xf7]
+0xff,0x0f,0x04,0xe0,0x00,0x05,0x02,0xf7
 
-# 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_xy v[5:6], v0, s[8:11], s3 idxen offset:4095    ; encoding: [0xff,0x2f,0x04,0xe0,0x00,0x05,0x02,0x03]
+0xff,0x2f,0x04,0xe0,0x00,0x05,0x02,0x03
 
-# 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_xy v[5:6], v0, s[8:11], s3 offen offset:4095    ; encoding: [0xff,0x1f,0x04,0xe0,0x00,0x05,0x02,0x03]
+0xff,0x1f,0x04,0xe0,0x00,0x05,0x02,0x03
 
-# 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_xy v[5:6], off, s[8:11], s3    ; encoding: [0x00,0x00,0x04,0xe0,0x00,0x05,0x02,0x03]
+0x00,0x00,0x04,0xe0,0x00,0x05,0x02,0x03
 
-# 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_xy v[5:6], off, s[8:11], s3 offset:7    ; encoding: [0x07,0x00,0x04,0xe0,0x00,0x05,0x02,0x03]
+0x07,0x00,0x04,0xe0,0x00,0x05,0x02,0x03
 
-# 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_xy v[5:6], off, s[8:11], s3 offset:4095 glc    ; encoding: [0xff,0x4f,0x04,0xe0,0x00,0x05,0x02,0x03]
+0xff,0x4f,0x04,0xe0,0x00,0x05,0x02,0x03
 
-# 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_xy v[5:6], off, s[8:11], s3 offset:4095 slc    ; encoding: [0xff,0x0f,0x06,0xe0,0x00,0x05,0x02,0x03]
+0xff,0x0f,0x06,0xe0,0x00,0x05,0x02,0x03
 
-# 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[5:7], off, s[8:11], s3 offset:4095    ; encoding: [0xff,0x0f,0x08,0xe0,0x00,0x05,0x02,0x03]
+0xff,0x0f,0x08,0xe0,0x00,0x05,0x02,0x03
 
-# 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[253:255], off, s[8:11], s3 offset:4095    ; encoding: [0xff,0x0f,0x08,0xe0,0x00,0xfd,0x02,0x03]
+0xff,0x0f,0x08,0xe0,0x00,0xfd,0x02,0x03
 
-# 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[5:7], off, s[12:15], s3 offset:4095    ; encoding: [0xff,0x0f,0x08,0xe0,0x00,0x05,0x03,0x03]
+0xff,0x0f,0x08,0xe0,0x00,0x05,0x03,0x03
 
-# 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[5:7], off, s[96:99], s3 offset:4095    ; encoding: [0xff,0x0f,0x08,0xe0,0x00,0x05,0x18,0x03]
+0xff,0x0f,0x08,0xe0,0x00,0x05,0x18,0x03
 
-# 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[5:7], off, ttmp[8:11], s3 offset:4095    ; encoding: [0xff,0x0f,0x08,0xe0,0x00,0x05,0x1e,0x03]
+0xff,0x0f,0x08,0xe0,0x00,0x05,0x1e,0x03
 
-# 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[5:7], off, s[8:11], s101 offset:4095    ; encoding: [0xff,0x0f,0x08,0xe0,0x00,0x05,0x02,0x65]
+0xff,0x0f,0x08,0xe0,0x00,0x05,0x02,0x65
 
-# 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[5:7], off, s[8:11], m0 offset:4095    ; encoding: [0xff,0x0f,0x08,0xe0,0x00,0x05,0x02,0x7c]
+0xff,0x0f,0x08,0xe0,0x00,0x05,0x02,0x7c
 
-# 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_xyz v[5:7], off, s[8:11], 0 offset:4095    ; encoding: [0xff,0x0f,0x08,0xe0,0x00,0x05,0x02,0x80]
+0xff,0x0f,0x08,0xe0,0x00,0x05,0x02,0x80
 
-# 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_xyz v[5:7], off, s[8:11], -1 offset:4095    ; encoding: [0xff,0x0f,0x08,0xe0,0x00,0x05,0x02,0xc1]
+0xff,0x0f,0x08,0xe0,0x00,0x05,0x02,0xc1
 
-# 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_xyz v[5:7], off, s[8:11], 0.5 offset:4095    ; encoding: [0xff,0x0f,0x08,0xe0,0x00,0x05,0x02,0xf0]
+0xff,0x0f,0x08,0xe0,0x00,0x05,0x02,0xf0
 
-# 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_xyz v[5:7], off, s[8:11], -4.0 offset:4095    ; encoding: [0xff,0x0f,0x08,0xe0,0x00,0x05,0x02,0xf7]
+0xff,0x0f,0x08,0xe0,0x00,0x05,0x02,0xf7
 
-# 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_xyz v[5:7], v0, s[8:11], s3 idxen offset:4095    ; encoding: [0xff,0x2f,0x08,0xe0,0x00,0x05,0x02,0x03]
+0xff,0x2f,0x08,0xe0,0x00,0x05,0x02,0x03
 
-# 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_xyz v[5:7], v0, s[8:11], s3 offen offset:4095    ; encoding: [0xff,0x1f,0x08,0xe0,0x00,0x05,0x02,0x03]
+0xff,0x1f,0x08,0xe0,0x00,0x05,0x02,0x03
 
-# 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_xyz v[5:7], off, s[8:11], s3    ; encoding: [0x00,0x00,0x08,0xe0,0x00,0x05,0x02,0x03]
+0x00,0x00,0x08,0xe0,0x00,0x05,0x02,0x03
 
-# 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_xyz v[5:7], off, s[8:11], s3 offset:7    ; encoding: [0x07,0x00,0x08,0xe0,0x00,0x05,0x02,0x03]
+0x07,0x00,0x08,0xe0,0x00,0x05,0x02,0x03
 
-# 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_xyz v[5:7], off, s[8:11], s3 offset:4095 glc    ; encoding: [0xff,0x4f,0x08,0xe0,0x00,0x05,0x02,0x03]
+0xff,0x4f,0x08,0xe0,0x00,0x05,0x02,0x03
 
-# 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_xyz v[5:7], off, s[8:11], s3 offset:4095 slc    ; encoding: [0xff,0x0f,0x0a,0xe0,0x00,0x05,0x02,0x03]
+0xff,0x0f,0x0a,0xe0,0x00,0x05,0x02,0x03
 
-# 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[5:8], off, s[8:11], s3 offset:4095    ; encoding: [0xff,0x0f,0x0c,0xe0,0x00,0x05,0x02,0x03]
+0xff,0x0f,0x0c,0xe0,0x00,0x05,0x02,0x03
 
-# 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[252:255], off, s[8:11], s3 offset:4095    ; encoding: [0xff,0x0f,0x0c,0xe0,0x00,0xfc,0x02,0x03]
+0xff,0x0f,0x0c,0xe0,0x00,0xfc,0x02,0x03
 
-# 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[5:8], off, s[12:15], s3 offset:4095    ; encoding: [0xff,0x0f,0x0c,0xe0,0x00,0x05,0x03,0x03]
+0xff,0x0f,0x0c,0xe0,0x00,0x05,0x03,0x03
 
-# 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[5:8], off, s[96:99], s3 offset:4095    ; encoding: [0xff,0x0f,0x0c,0xe0,0x00,0x05,0x18,0x03]
+0xff,0x0f,0x0c,0xe0,0x00,0x05,0x18,0x03
 
-# 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[5:8], off, ttmp[8:11], s3 offset:4095    ; encoding: [0xff,0x0f,0x0c,0xe0,0x00,0x05,0x1e,0x03]
+0xff,0x0f,0x0c,0xe0,0x00,0x05,0x1e,0x03
 
-# 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[5:8], off, s[8:11], s101 offset:4095    ; encoding: [0xff,0x0f,0x0c,0xe0,0x00,0x05,0x02,0x65]
+0xff,0x0f,0x0c,0xe0,0x00,0x05,0x02,0x65
 
-# 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[5:8], off, s[8:11], m0 offset:4095    ; encoding: [0xff,0x0f,0x0c,0xe0,0x00,0x05,0x02,0x7c]
+0xff,0x0f,0x0c,0xe0,0x00,0x05,0x02,0x7c
 
-# 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_load_format_xyzw v[5:8], off, s[8:11], 0 offset:4095    ; encoding: [0xff,0x0f,0x0c,0xe0,0x00,0x05,0x02,0x80]
+0xff,0x0f,0x0c,0xe0,0x00,0x05,0x02,0x80
 
-# 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_load_format_xyzw v[5:8], off, s[8:11], -1 offset:4095    ; encoding: [0xff,0x0f,0x0c,0xe0,0x00,0x05,0x02,0xc1]
+0xff,0x0f,0x0c,0xe0,0x00,0x05,0x02,0xc1
 
-# 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_load_format_xyzw v[5:8], off, s[8:11], 0.5 offset:4095    ; encoding: [0xff,0x0f,0x0c,0xe0,0x00,0x05,0x02,0xf0]
+0xff,0x0f,0x0c,0xe0,0x00,0x05,0x02,0xf0
 
-# 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_load_format_xyzw v[5:8], off, s[8:11], -4.0 offset:4095    ; encoding: [0xff,0x0f,0x0c,0xe0,0x00,0x05,0x02,0xf7]
+0xff,0x0f,0x0c,0xe0,0x00,0x05,0x02,0xf7
 
-# 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_load_format_xyzw v[5:8], v0, s[8:11], s3 idxen offset:4095    ; encoding: [0xff,0x2f,0x0c,0xe0,0x00,0x05,0x02,0x03]
+0xff,0x2f,0x0c,0xe0,0x00,0x05,0x02,0x03
 
-# 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_load_format_xyzw v[5:8], v0, s[8:11], s3 offen offset:4095    ; encoding: [0xff,0x1f,0x0c,0xe0,0x00,0x05,0x02,0x03]
+0xff,0x1f,0x0c,0xe0,0x00,0x05,0x02,0x03
 
-# 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_load_format_xyzw v[5:8], off, s[8:11], s3    ; encoding: [0x00,0x00,0x0c,0xe0,0x00,0x05,0x02,0x03]
+0x00,0x00,0x0c,0xe0,0x00,0x05,0x02,0x03
 
-# 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_load_format_xyzw v[5:8], off, s[8:11], s3 offset:7    ; encoding: [0x07,0x00,0x0c,0xe0,0x00,0x05,0x02,0x03]
+0x07,0x00,0x0c,0xe0,0x00,0x05,0x02,0x03
 
-# 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_load_format_xyzw v[5:8], off, s[8:11], s3 offset:4095 glc    ; encoding: [0xff,0x4f,0x0c,0xe0,0x00,0x05,0x02,0x03]
+0xff,0x4f,0x0c,0xe0,0x00,0x05,0x02,0x03
 
-# 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_load_format_xyzw v[5:8], off, s[8:11], s3 offset:4095 slc    ; encoding: [0xff,0x0f,0x0e,0xe0,0x00,0x05,0x02,0x03]
+0xff,0x0f,0x0e,0xe0,0x00,0x05,0x02,0x03
 
-# 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 v1, off, s[12:15], s4 offset:4095    ; encoding: [0xff,0x0f,0x10,0xe0,0x00,0x01,0x03,0x04]
+0xff,0x0f,0x10,0xe0,0x00,0x01,0x03,0x04
 
-# 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 v255, off, s[12:15], s4 offset:4095    ; encoding: [0xff,0x0f,0x10,0xe0,0x00,0xff,0x03,0x04]
+0xff,0x0f,0x10,0xe0,0x00,0xff,0x03,0x04
 
-# 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 v1, off, s[16:19], s4 offset:4095    ; encoding: [0xff,0x0f,0x10,0xe0,0x00,0x01,0x04,0x04]
+0xff,0x0f,0x10,0xe0,0x00,0x01,0x04,0x04
 
-# 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 v1, off, s[96:99], s4 offset:4095    ; encoding: [0xff,0x0f,0x10,0xe0,0x00,0x01,0x18,0x04]
+0xff,0x0f,0x10,0xe0,0x00,0x01,0x18,0x04
 
-# 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 v1, off, ttmp[8:11], s4 offset:4095    ; encoding: [0xff,0x0f,0x10,0xe0,0x00,0x01,0x1e,0x04]
+0xff,0x0f,0x10,0xe0,0x00,0x01,0x1e,0x04
 
-# 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 v1, off, s[12:15], s101 offset:4095    ; encoding: [0xff,0x0f,0x10,0xe0,0x00,0x01,0x03,0x65]
+0xff,0x0f,0x10,0xe0,0x00,0x01,0x03,0x65
 
-# 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 v1, off, s[12:15], m0 offset:4095    ; encoding: [0xff,0x0f,0x10,0xe0,0x00,0x01,0x03,0x7c]
+0xff,0x0f,0x10,0xe0,0x00,0x01,0x03,0x7c
 
-# 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_x v1, off, s[12:15], 0 offset:4095    ; encoding: [0xff,0x0f,0x10,0xe0,0x00,0x01,0x03,0x80]
+0xff,0x0f,0x10,0xe0,0x00,0x01,0x03,0x80
 
-# 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_x v1, off, s[12:15], -1 offset:4095    ; encoding: [0xff,0x0f,0x10,0xe0,0x00,0x01,0x03,0xc1]
+0xff,0x0f,0x10,0xe0,0x00,0x01,0x03,0xc1
 
-# 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_x v1, off, s[12:15], 0.5 offset:4095    ; encoding: [0xff,0x0f,0x10,0xe0,0x00,0x01,0x03,0xf0]
+0xff,0x0f,0x10,0xe0,0x00,0x01,0x03,0xf0
 
-# 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_x v1, off, s[12:15], -4.0 offset:4095    ; encoding: [0xff,0x0f,0x10,0xe0,0x00,0x01,0x03,0xf7]
+0xff,0x0f,0x10,0xe0,0x00,0x01,0x03,0xf7
 
-# 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_x v1, v0, s[12:15], s4 idxen offset:4095    ; encoding: [0xff,0x2f,0x10,0xe0,0x00,0x01,0x03,0x04]
+0xff,0x2f,0x10,0xe0,0x00,0x01,0x03,0x04
 
-# 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_x v1, v0, s[12:15], s4 offen offset:4095    ; encoding: [0xff,0x1f,0x10,0xe0,0x00,0x01,0x03,0x04]
+0xff,0x1f,0x10,0xe0,0x00,0x01,0x03,0x04
 
-# 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_x v1, off, s[12:15], s4    ; encoding: [0x00,0x00,0x10,0xe0,0x00,0x01,0x03,0x04]
+0x00,0x00,0x10,0xe0,0x00,0x01,0x03,0x04
 
-# 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_x v1, off, s[12:15], s4 offset:7    ; encoding: [0x07,0x00,0x10,0xe0,0x00,0x01,0x03,0x04]
+0x07,0x00,0x10,0xe0,0x00,0x01,0x03,0x04
 
-# 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_x v1, off, s[12:15], s4 offset:4095 glc    ; encoding: [0xff,0x4f,0x10,0xe0,0x00,0x01,0x03,0x04]
+0xff,0x4f,0x10,0xe0,0x00,0x01,0x03,0x04
 
-# 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_x v1, off, s[12:15], s4 offset:4095 slc    ; encoding: [0xff,0x0f,0x12,0xe0,0x00,0x01,0x03,0x04]
+0xff,0x0f,0x12,0xe0,0x00,0x01,0x03,0x04
 
-# 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[1:2], off, s[12:15], s4 offset:4095    ; encoding: [0xff,0x0f,0x14,0xe0,0x00,0x01,0x03,0x04]
+0xff,0x0f,0x14,0xe0,0x00,0x01,0x03,0x04
 
-# 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[254:255], off, s[12:15], s4 offset:4095    ; encoding: [0xff,0x0f,0x14,0xe0,0x00,0xfe,0x03,0x04]
+0xff,0x0f,0x14,0xe0,0x00,0xfe,0x03,0x04
 
-# 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[1:2], off, s[16:19], s4 offset:4095    ; encoding: [0xff,0x0f,0x14,0xe0,0x00,0x01,0x04,0x04]
+0xff,0x0f,0x14,0xe0,0x00,0x01,0x04,0x04
 
-# 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[1:2], off, s[96:99], s4 offset:4095    ; encoding: [0xff,0x0f,0x14,0xe0,0x00,0x01,0x18,0x04]
+0xff,0x0f,0x14,0xe0,0x00,0x01,0x18,0x04
 
-# 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[1:2], off, ttmp[8:11], s4 offset:4095    ; encoding: [0xff,0x0f,0x14,0xe0,0x00,0x01,0x1e,0x04]
+0xff,0x0f,0x14,0xe0,0x00,0x01,0x1e,0x04
 
-# 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[1:2], off, s[12:15], s101 offset:4095    ; encoding: [0xff,0x0f,0x14,0xe0,0x00,0x01,0x03,0x65]
+0xff,0x0f,0x14,0xe0,0x00,0x01,0x03,0x65
 
-# 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[1:2], off, s[12:15], m0 offset:4095    ; encoding: [0xff,0x0f,0x14,0xe0,0x00,0x01,0x03,0x7c]
+0xff,0x0f,0x14,0xe0,0x00,0x01,0x03,0x7c
 
-# 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_xy v[1:2], off, s[12:15], 0 offset:4095    ; encoding: [0xff,0x0f,0x14,0xe0,0x00,0x01,0x03,0x80]
+0xff,0x0f,0x14,0xe0,0x00,0x01,0x03,0x80
 
-# 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_xy v[1:2], off, s[12:15], -1 offset:4095    ; encoding: [0xff,0x0f,0x14,0xe0,0x00,0x01,0x03,0xc1]
+0xff,0x0f,0x14,0xe0,0x00,0x01,0x03,0xc1
 
-# 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_xy v[1:2], off, s[12:15], 0.5 offset:4095    ; encoding: [0xff,0x0f,0x14,0xe0,0x00,0x01,0x03,0xf0]
+0xff,0x0f,0x14,0xe0,0x00,0x01,0x03,0xf0
 
-# 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_xy v[1:2], off, s[12:15], -4.0 offset:4095    ; encoding: [0xff,0x0f,0x14,0xe0,0x00,0x01,0x03,0xf7]
+0xff,0x0f,0x14,0xe0,0x00,0x01,0x03,0xf7
 
-# 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_xy v[1:2], v0, s[12:15], s4 idxen offset:4095    ; encoding: [0xff,0x2f,0x14,0xe0,0x00,0x01,0x03,0x04]
+0xff,0x2f,0x14,0xe0,0x00,0x01,0x03,0x04
 
-# 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_xy v[1:2], v0, s[12:15], s4 offen offset:4095    ; encoding: [0xff,0x1f,0x14,0xe0,0x00,0x01,0x03,0x04]
+0xff,0x1f,0x14,0xe0,0x00,0x01,0x03,0x04
 
-# 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_xy v[1:2], off, s[12:15], s4    ; encoding: [0x00,0x00,0x14,0xe0,0x00,0x01,0x03,0x04]
+0x00,0x00,0x14,0xe0,0x00,0x01,0x03,0x04
 
-# 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_xy v[1:2], off, s[12:15], s4 offset:7    ; encoding: [0x07,0x00,0x14,0xe0,0x00,0x01,0x03,0x04]
+0x07,0x00,0x14,0xe0,0x00,0x01,0x03,0x04
 
-# 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_xy v[1:2], off, s[12:15], s4 offset:4095 glc    ; encoding: [0xff,0x4f,0x14,0xe0,0x00,0x01,0x03,0x04]
+0xff,0x4f,0x14,0xe0,0x00,0x01,0x03,0x04
 
-# 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_xy v[1:2], off, s[12:15], s4 offset:4095 slc    ; encoding: [0xff,0x0f,0x16,0xe0,0x00,0x01,0x03,0x04]
+0xff,0x0f,0x16,0xe0,0x00,0x01,0x03,0x04
 
-# 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[1:3], off, s[12:15], s4 offset:4095    ; encoding: [0xff,0x0f,0x18,0xe0,0x00,0x01,0x03,0x04]
+0xff,0x0f,0x18,0xe0,0x00,0x01,0x03,0x04
 
-# 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[253:255], off, s[12:15], s4 offset:4095    ; encoding: [0xff,0x0f,0x18,0xe0,0x00,0xfd,0x03,0x04]
+0xff,0x0f,0x18,0xe0,0x00,0xfd,0x03,0x04
 
-# 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[1:3], off, s[16:19], s4 offset:4095    ; encoding: [0xff,0x0f,0x18,0xe0,0x00,0x01,0x04,0x04]
+0xff,0x0f,0x18,0xe0,0x00,0x01,0x04,0x04
 
-# 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[1:3], off, s[96:99], s4 offset:4095    ; encoding: [0xff,0x0f,0x18,0xe0,0x00,0x01,0x18,0x04]
+0xff,0x0f,0x18,0xe0,0x00,0x01,0x18,0x04
 
-# 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[1:3], off, ttmp[8:11], s4 offset:4095    ; encoding: [0xff,0x0f,0x18,0xe0,0x00,0x01,0x1e,0x04]
+0xff,0x0f,0x18,0xe0,0x00,0x01,0x1e,0x04
 
-# 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[1:3], off, s[12:15], s101 offset:4095    ; encoding: [0xff,0x0f,0x18,0xe0,0x00,0x01,0x03,0x65]
+0xff,0x0f,0x18,0xe0,0x00,0x01,0x03,0x65
 
-# 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[1:3], off, s[12:15], m0 offset:4095    ; encoding: [0xff,0x0f,0x18,0xe0,0x00,0x01,0x03,0x7c]
+0xff,0x0f,0x18,0xe0,0x00,0x01,0x03,0x7c
 
-# 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_xyz v[1:3], off, s[12:15], 0 offset:4095    ; encoding: [0xff,0x0f,0x18,0xe0,0x00,0x01,0x03,0x80]
+0xff,0x0f,0x18,0xe0,0x00,0x01,0x03,0x80
 
-# 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_xyz v[1:3], off, s[12:15], -1 offset:4095    ; encoding: [0xff,0x0f,0x18,0xe0,0x00,0x01,0x03,0xc1]
+0xff,0x0f,0x18,0xe0,0x00,0x01,0x03,0xc1
 
-# 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_xyz v[1:3], off, s[12:15], 0.5 offset:4095    ; encoding: [0xff,0x0f,0x18,0xe0,0x00,0x01,0x03,0xf0]
+0xff,0x0f,0x18,0xe0,0x00,0x01,0x03,0xf0
 
-# 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_xyz v[1:3], off, s[12:15], -4.0 offset:4095    ; encoding: [0xff,0x0f,0x18,0xe0,0x00,0x01,0x03,0xf7]
+0xff,0x0f,0x18,0xe0,0x00,0x01,0x03,0xf7
 
-# 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_xyz v[1:3], v0, s[12:15], s4 idxen offset:4095    ; encoding: [0xff,0x2f,0x18,0xe0,0x00,0x01,0x03,0x04]
+0xff,0x2f,0x18,0xe0,0x00,0x01,0x03,0x04
 
-# 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_xyz v[1:3], v0, s[12:15], s4 offen offset:4095    ; encoding: [0xff,0x1f,0x18,0xe0,0x00,0x01,0x03,0x04]
+0xff,0x1f,0x18,0xe0,0x00,0x01,0x03,0x04
 
-# 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_xyz v[1:3], off, s[12:15], s4    ; encoding: [0x00,0x00,0x18,0xe0,0x00,0x01,0x03,0x04]
+0x00,0x00,0x18,0xe0,0x00,0x01,0x03,0x04
 
-# 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_xyz v[1:3], off, s[12:15], s4 offset:7    ; encoding: [0x07,0x00,0x18,0xe0,0x00,0x01,0x03,0x04]
+0x07,0x00,0x18,0xe0,0x00,0x01,0x03,0x04
 
-# 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_xyz v[1:3], off, s[12:15], s4 offset:4095 glc    ; encoding: [0xff,0x4f,0x18,0xe0,0x00,0x01,0x03,0x04]
+0xff,0x4f,0x18,0xe0,0x00,0x01,0x03,0x04
 
-# 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_xyz v[1:3], off, s[12:15], s4 offset:4095 slc    ; encoding: [0xff,0x0f,0x1a,0xe0,0x00,0x01,0x03,0x04]
+0xff,0x0f,0x1a,0xe0,0x00,0x01,0x03,0x04
 
-# 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[1:4], off, s[12:15], s4 offset:4095    ; encoding: [0xff,0x0f,0x1c,0xe0,0x00,0x01,0x03,0x04]
+0xff,0x0f,0x1c,0xe0,0x00,0x01,0x03,0x04
 
-# 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[252:255], off, s[12:15], s4 offset:4095    ; encoding: [0xff,0x0f,0x1c,0xe0,0x00,0xfc,0x03,0x04]
+0xff,0x0f,0x1c,0xe0,0x00,0xfc,0x03,0x04
 
-# 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[1:4], off, s[16:19], s4 offset:4095    ; encoding: [0xff,0x0f,0x1c,0xe0,0x00,0x01,0x04,0x04]
+0xff,0x0f,0x1c,0xe0,0x00,0x01,0x04,0x04
 
-# 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[1:4], off, s[96:99], s4 offset:4095    ; encoding: [0xff,0x0f,0x1c,0xe0,0x00,0x01,0x18,0x04]
+0xff,0x0f,0x1c,0xe0,0x00,0x01,0x18,0x04
 
-# 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[1:4], off, ttmp[8:11], s4 offset:4095    ; encoding: [0xff,0x0f,0x1c,0xe0,0x00,0x01,0x1e,0x04]
+0xff,0x0f,0x1c,0xe0,0x00,0x01,0x1e,0x04
 
-# 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[1:4], off, s[12:15], s101 offset:4095    ; encoding: [0xff,0x0f,0x1c,0xe0,0x00,0x01,0x03,0x65]
+0xff,0x0f,0x1c,0xe0,0x00,0x01,0x03,0x65
 
-# 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[1:4], off, s[12:15], m0 offset:4095    ; encoding: [0xff,0x0f,0x1c,0xe0,0x00,0x01,0x03,0x7c]
+0xff,0x0f,0x1c,0xe0,0x00,0x01,0x03,0x7c
 
-# 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_store_format_xyzw v[1:4], off, s[12:15], 0 offset:4095    ; encoding: [0xff,0x0f,0x1c,0xe0,0x00,0x01,0x03,0x80]
+0xff,0x0f,0x1c,0xe0,0x00,0x01,0x03,0x80
 
-# 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_store_format_xyzw v[1:4], off, s[12:15], -1 offset:4095    ; encoding: [0xff,0x0f,0x1c,0xe0,0x00,0x01,0x03,0xc1]
+0xff,0x0f,0x1c,0xe0,0x00,0x01,0x03,0xc1
 
-# 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_store_format_xyzw v[1:4], off, s[12:15], 0.5 offset:4095    ; encoding: [0xff,0x0f,0x1c,0xe0,0x00,0x01,0x03,0xf0]
+0xff,0x0f,0x1c,0xe0,0x00,0x01,0x03,0xf0
 
-# 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_store_format_xyzw v[1:4], off, s[12:15], -4.0 offset:4095    ; encoding: [0xff,0x0f,0x1c,0xe0,0x00,0x01,0x03,0xf7]
+0xff,0x0f,0x1c,0xe0,0x00,0x01,0x03,0xf7
 
-# 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_store_format_xyzw v[1:4], v0, s[12:15], s4 idxen offset:4095    ; encoding: [0xff,0x2f,0x1c,0xe0,0x00,0x01,0x03,0x04]
+0xff,0x2f,0x1c,0xe0,0x00,0x01,0x03,0x04
 
-# 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_store_format_xyzw v[1:4], v0, s[12:15], s4 offen offset:4095    ; encoding: [0xff,0x1f,0x1c,0xe0,0x00,0x01,0x03,0x04]
+0xff,0x1f,0x1c,0xe0,0x00,0x01,0x03,0x04
 
-# 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_store_format_xyzw v[1:4], off, s[12:15], s4    ; encoding: [0x00,0x00,0x1c,0xe0,0x00,0x01,0x03,0x04]
+0x00,0x00,0x1c,0xe0,0x00,0x01,0x03,0x04
 
-# 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_store_format_xyzw v[1:4], off, s[12:15], s4 offset:7    ; encoding: [0x07,0x00,0x1c,0xe0,0x00,0x01,0x03,0x04]
+0x07,0x00,0x1c,0xe0,0x00,0x01,0x03,0x04
 
-# 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_store_format_xyzw v[1:4], off, s[12:15], s4 offset:4095 glc    ; encoding: [0xff,0x4f,0x1c,0xe0,0x00,0x01,0x03,0x04]
+0xff,0x4f,0x1c,0xe0,0x00,0x01,0x03,0x04
 
-# 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_store_format_xyzw v[1:4], off, s[12:15], s4 offset:4095 slc    ; encoding: [0xff,0x0f,0x1e,0xe0,0x00,0x01,0x03,0x04]
+0xff,0x0f,0x1e,0xe0,0x00,0x01,0x03,0x04
 
-# 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 v5, off, s[8:11], s3 offset:4095    ; encoding: [0xff,0x0f,0x40,0xe0,0x00,0x05,0x02,0x03]
+0xff,0x0f,0x40,0xe0,0x00,0x05,0x02,0x03
 
-# 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 v255, off, s[8:11], s3 offset:4095    ; encoding: [0xff,0x0f,0x40,0xe0,0x00,0xff,0x02,0x03]
+0xff,0x0f,0x40,0xe0,0x00,0xff,0x02,0x03
 
-# 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 v5, off, s[12:15], s3 offset:4095    ; encoding: [0xff,0x0f,0x40,0xe0,0x00,0x05,0x03,0x03]
+0xff,0x0f,0x40,0xe0,0x00,0x05,0x03,0x03
 
-# 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 v5, off, s[96:99], s3 offset:4095    ; encoding: [0xff,0x0f,0x40,0xe0,0x00,0x05,0x18,0x03]
+0xff,0x0f,0x40,0xe0,0x00,0x05,0x18,0x03
 
-# 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 v5, off, ttmp[8:11], s3 offset:4095    ; encoding: [0xff,0x0f,0x40,0xe0,0x00,0x05,0x1e,0x03]
+0xff,0x0f,0x40,0xe0,0x00,0x05,0x1e,0x03
 
-# 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 v5, off, s[8:11], s101 offset:4095    ; encoding: [0xff,0x0f,0x40,0xe0,0x00,0x05,0x02,0x65]
+0xff,0x0f,0x40,0xe0,0x00,0x05,0x02,0x65
 
-# 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 v5, off, s[8:11], m0 offset:4095    ; encoding: [0xff,0x0f,0x40,0xe0,0x00,0x05,0x02,0x7c]
+0xff,0x0f,0x40,0xe0,0x00,0x05,0x02,0x7c
 
-# 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_ubyte v5, off, s[8:11], 0 offset:4095    ; encoding: [0xff,0x0f,0x40,0xe0,0x00,0x05,0x02,0x80]
+0xff,0x0f,0x40,0xe0,0x00,0x05,0x02,0x80
 
-# 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_ubyte v5, off, s[8:11], -1 offset:4095    ; encoding: [0xff,0x0f,0x40,0xe0,0x00,0x05,0x02,0xc1]
+0xff,0x0f,0x40,0xe0,0x00,0x05,0x02,0xc1
 
-# 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_ubyte v5, off, s[8:11], 0.5 offset:4095    ; encoding: [0xff,0x0f,0x40,0xe0,0x00,0x05,0x02,0xf0]
+0xff,0x0f,0x40,0xe0,0x00,0x05,0x02,0xf0
 
-# 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_ubyte v5, off, s[8:11], -4.0 offset:4095    ; encoding: [0xff,0x0f,0x40,0xe0,0x00,0x05,0x02,0xf7]
+0xff,0x0f,0x40,0xe0,0x00,0x05,0x02,0xf7
 
-# 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_ubyte v5, v0, s[8:11], s3 idxen offset:4095    ; encoding: [0xff,0x2f,0x40,0xe0,0x00,0x05,0x02,0x03]
+0xff,0x2f,0x40,0xe0,0x00,0x05,0x02,0x03
 
-# 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_ubyte v5, v0, s[8:11], s3 offen offset:4095    ; encoding: [0xff,0x1f,0x40,0xe0,0x00,0x05,0x02,0x03]
+0xff,0x1f,0x40,0xe0,0x00,0x05,0x02,0x03
 
-# 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_ubyte v5, off, s[8:11], s3    ; encoding: [0x00,0x00,0x40,0xe0,0x00,0x05,0x02,0x03]
+0x00,0x00,0x40,0xe0,0x00,0x05,0x02,0x03
 
-# 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_ubyte v5, off, s[8:11], s3 offset:7    ; encoding: [0x07,0x00,0x40,0xe0,0x00,0x05,0x02,0x03]
+0x07,0x00,0x40,0xe0,0x00,0x05,0x02,0x03
 
-# 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_ubyte v5, off, s[8:11], s3 offset:4095 glc    ; encoding: [0xff,0x4f,0x40,0xe0,0x00,0x05,0x02,0x03]
+0xff,0x4f,0x40,0xe0,0x00,0x05,0x02,0x03
 
-# 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_ubyte v5, off, s[8:11], s3 offset:4095 slc    ; encoding: [0xff,0x0f,0x42,0xe0,0x00,0x05,0x02,0x03]
+0xff,0x0f,0x42,0xe0,0x00,0x05,0x02,0x03
 
-# 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 v5, off, s[8:11], s3 offset:4095    ; encoding: [0xff,0x0f,0x44,0xe0,0x00,0x05,0x02,0x03]
+0xff,0x0f,0x44,0xe0,0x00,0x05,0x02,0x03
 
-# 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 v255, off, s[8:11], s3 offset:4095    ; encoding: [0xff,0x0f,0x44,0xe0,0x00,0xff,0x02,0x03]
+0xff,0x0f,0x44,0xe0,0x00,0xff,0x02,0x03
 
-# 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 v5, off, s[12:15], s3 offset:4095    ; encoding: [0xff,0x0f,0x44,0xe0,0x00,0x05,0x03,0x03]
+0xff,0x0f,0x44,0xe0,0x00,0x05,0x03,0x03
 
-# 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 v5, off, s[96:99], s3 offset:4095    ; encoding: [0xff,0x0f,0x44,0xe0,0x00,0x05,0x18,0x03]
+0xff,0x0f,0x44,0xe0,0x00,0x05,0x18,0x03
 
-# 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 v5, off, ttmp[8:11], s3 offset:4095    ; encoding: [0xff,0x0f,0x44,0xe0,0x00,0x05,0x1e,0x03]
+0xff,0x0f,0x44,0xe0,0x00,0x05,0x1e,0x03
 
-# 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 v5, off, s[8:11], s101 offset:4095    ; encoding: [0xff,0x0f,0x44,0xe0,0x00,0x05,0x02,0x65]
+0xff,0x0f,0x44,0xe0,0x00,0x05,0x02,0x65
 
-# 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 v5, off, s[8:11], m0 offset:4095    ; encoding: [0xff,0x0f,0x44,0xe0,0x00,0x05,0x02,0x7c]
+0xff,0x0f,0x44,0xe0,0x00,0x05,0x02,0x7c
 
-# 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_sbyte v5, off, s[8:11], 0 offset:4095    ; encoding: [0xff,0x0f,0x44,0xe0,0x00,0x05,0x02,0x80]
+0xff,0x0f,0x44,0xe0,0x00,0x05,0x02,0x80
 
-# 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_sbyte v5, off, s[8:11], -1 offset:4095    ; encoding: [0xff,0x0f,0x44,0xe0,0x00,0x05,0x02,0xc1]
+0xff,0x0f,0x44,0xe0,0x00,0x05,0x02,0xc1
 
-# 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_sbyte v5, off, s[8:11], 0.5 offset:4095    ; encoding: [0xff,0x0f,0x44,0xe0,0x00,0x05,0x02,0xf0]
+0xff,0x0f,0x44,0xe0,0x00,0x05,0x02,0xf0
 
-# 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_sbyte v5, off, s[8:11], -4.0 offset:4095    ; encoding: [0xff,0x0f,0x44,0xe0,0x00,0x05,0x02,0xf7]
+0xff,0x0f,0x44,0xe0,0x00,0x05,0x02,0xf7
 
-# 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_sbyte v5, v0, s[8:11], s3 idxen offset:4095    ; encoding: [0xff,0x2f,0x44,0xe0,0x00,0x05,0x02,0x03]
+0xff,0x2f,0x44,0xe0,0x00,0x05,0x02,0x03
 
-# 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_sbyte v5, v0, s[8:11], s3 offen offset:4095    ; encoding: [0xff,0x1f,0x44,0xe0,0x00,0x05,0x02,0x03]
+0xff,0x1f,0x44,0xe0,0x00,0x05,0x02,0x03
 
-# 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_sbyte v5, off, s[8:11], s3    ; encoding: [0x00,0x00,0x44,0xe0,0x00,0x05,0x02,0x03]
+0x00,0x00,0x44,0xe0,0x00,0x05,0x02,0x03
 
-# 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_sbyte v5, off, s[8:11], s3 offset:7    ; encoding: [0x07,0x00,0x44,0xe0,0x00,0x05,0x02,0x03]
+0x07,0x00,0x44,0xe0,0x00,0x05,0x02,0x03
 
-# 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_sbyte v5, off, s[8:11], s3 offset:4095 glc    ; encoding: [0xff,0x4f,0x44,0xe0,0x00,0x05,0x02,0x03]
+0xff,0x4f,0x44,0xe0,0x00,0x05,0x02,0x03
 
-# 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_sbyte v5, off, s[8:11], s3 offset:4095 slc    ; encoding: [0xff,0x0f,0x46,0xe0,0x00,0x05,0x02,0x03]
+0xff,0x0f,0x46,0xe0,0x00,0x05,0x02,0x03
 
-# 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 v5, off, s[8:11], s3 offset:4095    ; encoding: [0xff,0x0f,0x48,0xe0,0x00,0x05,0x02,0x03]
+0xff,0x0f,0x48,0xe0,0x00,0x05,0x02,0x03
 
-# 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 v255, off, s[8:11], s3 offset:4095    ; encoding: [0xff,0x0f,0x48,0xe0,0x00,0xff,0x02,0x03]
+0xff,0x0f,0x48,0xe0,0x00,0xff,0x02,0x03
 
-# 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 v5, off, s[12:15], s3 offset:4095    ; encoding: [0xff,0x0f,0x48,0xe0,0x00,0x05,0x03,0x03]
+0xff,0x0f,0x48,0xe0,0x00,0x05,0x03,0x03
 
-# 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 v5, off, s[96:99], s3 offset:4095    ; encoding: [0xff,0x0f,0x48,0xe0,0x00,0x05,0x18,0x03]
+0xff,0x0f,0x48,0xe0,0x00,0x05,0x18,0x03
 
-# 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 v5, off, ttmp[8:11], s3 offset:4095    ; encoding: [0xff,0x0f,0x48,0xe0,0x00,0x05,0x1e,0x03]
+0xff,0x0f,0x48,0xe0,0x00,0x05,0x1e,0x03
 
-# 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 v5, off, s[8:11], s101 offset:4095    ; encoding: [0xff,0x0f,0x48,0xe0,0x00,0x05,0x02,0x65]
+0xff,0x0f,0x48,0xe0,0x00,0x05,0x02,0x65
 
-# 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 v5, off, s[8:11], m0 offset:4095    ; encoding: [0xff,0x0f,0x48,0xe0,0x00,0x05,0x02,0x7c]
+0xff,0x0f,0x48,0xe0,0x00,0x05,0x02,0x7c
 
-# 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_ushort v5, off, s[8:11], 0 offset:4095    ; encoding: [0xff,0x0f,0x48,0xe0,0x00,0x05,0x02,0x80]
+0xff,0x0f,0x48,0xe0,0x00,0x05,0x02,0x80
 
-# 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_ushort v5, off, s[8:11], -1 offset:4095    ; encoding: [0xff,0x0f,0x48,0xe0,0x00,0x05,0x02,0xc1]
+0xff,0x0f,0x48,0xe0,0x00,0x05,0x02,0xc1
 
-# 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_ushort v5, off, s[8:11], 0.5 offset:4095    ; encoding: [0xff,0x0f,0x48,0xe0,0x00,0x05,0x02,0xf0]
+0xff,0x0f,0x48,0xe0,0x00,0x05,0x02,0xf0
 
-# 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_ushort v5, off, s[8:11], -4.0 offset:4095    ; encoding: [0xff,0x0f,0x48,0xe0,0x00,0x05,0x02,0xf7]
+0xff,0x0f,0x48,0xe0,0x00,0x05,0x02,0xf7
 
-# 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_ushort v5, v0, s[8:11], s3 idxen offset:4095    ; encoding: [0xff,0x2f,0x48,0xe0,0x00,0x05,0x02,0x03]
+0xff,0x2f,0x48,0xe0,0x00,0x05,0x02,0x03
 
-# 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_ushort v5, v0, s[8:11], s3 offen offset:4095    ; encoding: [0xff,0x1f,0x48,0xe0,0x00,0x05,0x02,0x03]
+0xff,0x1f,0x48,0xe0,0x00,0x05,0x02,0x03
 
-# 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_ushort v5, off, s[8:11], s3    ; encoding: [0x00,0x00,0x48,0xe0,0x00,0x05,0x02,0x03]
+0x00,0x00,0x48,0xe0,0x00,0x05,0x02,0x03
 
-# 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_ushort v5, off, s[8:11], s3 offset:7    ; encoding: [0x07,0x00,0x48,0xe0,0x00,0x05,0x02,0x03]
+0x07,0x00,0x48,0xe0,0x00,0x05,0x02,0x03
 
-# 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_ushort v5, off, s[8:11], s3 offset:4095 glc    ; encoding: [0xff,0x4f,0x48,0xe0,0x00,0x05,0x02,0x03]
+0xff,0x4f,0x48,0xe0,0x00,0x05,0x02,0x03
 
-# 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_ushort v5, off, s[8:11], s3 offset:4095 slc    ; encoding: [0xff,0x0f,0x4a,0xe0,0x00,0x05,0x02,0x03]
+0xff,0x0f,0x4a,0xe0,0x00,0x05,0x02,0x03
 
-# 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 v5, off, s[8:11], s3 offset:4095    ; encoding: [0xff,0x0f,0x4c,0xe0,0x00,0x05,0x02,0x03]
+0xff,0x0f,0x4c,0xe0,0x00,0x05,0x02,0x03
 
-# 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 v255, off, s[8:11], s3 offset:4095    ; encoding: [0xff,0x0f,0x4c,0xe0,0x00,0xff,0x02,0x03]
+0xff,0x0f,0x4c,0xe0,0x00,0xff,0x02,0x03
 
-# 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 v5, off, s[12:15], s3 offset:4095    ; encoding: [0xff,0x0f,0x4c,0xe0,0x00,0x05,0x03,0x03]
+0xff,0x0f,0x4c,0xe0,0x00,0x05,0x03,0x03
 
-# 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 v5, off, s[96:99], s3 offset:4095    ; encoding: [0xff,0x0f,0x4c,0xe0,0x00,0x05,0x18,0x03]
+0xff,0x0f,0x4c,0xe0,0x00,0x05,0x18,0x03
 
-# 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 v5, off, ttmp[8:11], s3 offset:4095    ; encoding: [0xff,0x0f,0x4c,0xe0,0x00,0x05,0x1e,0x03]
+0xff,0x0f,0x4c,0xe0,0x00,0x05,0x1e,0x03
 
-# 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 v5, off, s[8:11], s101 offset:4095    ; encoding: [0xff,0x0f,0x4c,0xe0,0x00,0x05,0x02,0x65]
+0xff,0x0f,0x4c,0xe0,0x00,0x05,0x02,0x65
 
-# 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 v5, off, s[8:11], m0 offset:4095    ; encoding: [0xff,0x0f,0x4c,0xe0,0x00,0x05,0x02,0x7c]
+0xff,0x0f,0x4c,0xe0,0x00,0x05,0x02,0x7c
 
-# 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_sshort v5, off, s[8:11], 0 offset:4095    ; encoding: [0xff,0x0f,0x4c,0xe0,0x00,0x05,0x02,0x80]
+0xff,0x0f,0x4c,0xe0,0x00,0x05,0x02,0x80
 
-# 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_sshort v5, off, s[8:11], -1 offset:4095    ; encoding: [0xff,0x0f,0x4c,0xe0,0x00,0x05,0x02,0xc1]
+0xff,0x0f,0x4c,0xe0,0x00,0x05,0x02,0xc1
 
-# 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_sshort v5, off, s[8:11], 0.5 offset:4095    ; encoding: [0xff,0x0f,0x4c,0xe0,0x00,0x05,0x02,0xf0]
+0xff,0x0f,0x4c,0xe0,0x00,0x05,0x02,0xf0
 
-# 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_sshort v5, off, s[8:11], -4.0 offset:4095    ; encoding: [0xff,0x0f,0x4c,0xe0,0x00,0x05,0x02,0xf7]
+0xff,0x0f,0x4c,0xe0,0x00,0x05,0x02,0xf7
 
-# 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_sshort v5, v0, s[8:11], s3 idxen offset:4095    ; encoding: [0xff,0x2f,0x4c,0xe0,0x00,0x05,0x02,0x03]
+0xff,0x2f,0x4c,0xe0,0x00,0x05,0x02,0x03
 
-# 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_sshort v5, v0, s[8:11], s3 offen offset:4095    ; encoding: [0xff,0x1f,0x4c,0xe0,0x00,0x05,0x02,0x03]
+0xff,0x1f,0x4c,0xe0,0x00,0x05,0x02,0x03
 
-# 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_sshort v5, off, s[8:11], s3    ; encoding: [0x00,0x00,0x4c,0xe0,0x00,0x05,0x02,0x03]
+0x00,0x00,0x4c,0xe0,0x00,0x05,0x02,0x03
 
-# 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_sshort v5, off, s[8:11], s3 offset:7    ; encoding: [0x07,0x00,0x4c,0xe0,0x00,0x05,0x02,0x03]
+0x07,0x00,0x4c,0xe0,0x00,0x05,0x02,0x03
 
-# 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_sshort v5, off, s[8:11], s3 offset:4095 glc    ; encoding: [0xff,0x4f,0x4c,0xe0,0x00,0x05,0x02,0x03]
+0xff,0x4f,0x4c,0xe0,0x00,0x05,0x02,0x03
 
-# 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_sshort v5, off, s[8:11], s3 offset:4095 slc    ; encoding: [0xff,0x0f,0x4e,0xe0,0x00,0x05,0x02,0x03]
+0xff,0x0f,0x4e,0xe0,0x00,0x05,0x02,0x03
 
-# 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 v5, off, s[8:11], s3 offset:4095    ; encoding: [0xff,0x0f,0x50,0xe0,0x00,0x05,0x02,0x03]
+0xff,0x0f,0x50,0xe0,0x00,0x05,0x02,0x03
 
-# 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 v255, off, s[8:11], s3 offset:4095    ; encoding: [0xff,0x0f,0x50,0xe0,0x00,0xff,0x02,0x03]
+0xff,0x0f,0x50,0xe0,0x00,0xff,0x02,0x03
 
-# 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 v5, off, s[12:15], s3 offset:4095    ; encoding: [0xff,0x0f,0x50,0xe0,0x00,0x05,0x03,0x03]
+0xff,0x0f,0x50,0xe0,0x00,0x05,0x03,0x03
 
-# 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 v5, off, s[96:99], s3 offset:4095    ; encoding: [0xff,0x0f,0x50,0xe0,0x00,0x05,0x18,0x03]
+0xff,0x0f,0x50,0xe0,0x00,0x05,0x18,0x03
 
-# 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 v5, off, ttmp[8:11], s3 offset:4095    ; encoding: [0xff,0x0f,0x50,0xe0,0x00,0x05,0x1e,0x03]
+0xff,0x0f,0x50,0xe0,0x00,0x05,0x1e,0x03
 
-# 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 v5, off, s[8:11], s101 offset:4095    ; encoding: [0xff,0x0f,0x50,0xe0,0x00,0x05,0x02,0x65]
+0xff,0x0f,0x50,0xe0,0x00,0x05,0x02,0x65
 
-# 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 v5, off, s[8:11], m0 offset:4095    ; encoding: [0xff,0x0f,0x50,0xe0,0x00,0x05,0x02,0x7c]
+0xff,0x0f,0x50,0xe0,0x00,0x05,0x02,0x7c
 
-# 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_dword v5, off, s[8:11], 0 offset:4095    ; encoding: [0xff,0x0f,0x50,0xe0,0x00,0x05,0x02,0x80]
+0xff,0x0f,0x50,0xe0,0x00,0x05,0x02,0x80
 
-# 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_dword v5, off, s[8:11], -1 offset:4095    ; encoding: [0xff,0x0f,0x50,0xe0,0x00,0x05,0x02,0xc1]
+0xff,0x0f,0x50,0xe0,0x00,0x05,0x02,0xc1
 
-# 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_dword v5, off, s[8:11], 0.5 offset:4095    ; encoding: [0xff,0x0f,0x50,0xe0,0x00,0x05,0x02,0xf0]
+0xff,0x0f,0x50,0xe0,0x00,0x05,0x02,0xf0
 
-# 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_dword v5, off, s[8:11], -4.0 offset:4095    ; encoding: [0xff,0x0f,0x50,0xe0,0x00,0x05,0x02,0xf7]
+0xff,0x0f,0x50,0xe0,0x00,0x05,0x02,0xf7
 
-# 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_dword v5, v0, s[8:11], s3 idxen offset:4095    ; encoding: [0xff,0x2f,0x50,0xe0,0x00,0x05,0x02,0x03]
+0xff,0x2f,0x50,0xe0,0x00,0x05,0x02,0x03
 
-# 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_dword v5, v0, s[8:11], s3 offen offset:4095    ; encoding: [0xff,0x1f,0x50,0xe0,0x00,0x05,0x02,0x03]
+0xff,0x1f,0x50,0xe0,0x00,0x05,0x02,0x03
 
-# 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_dword v5, off, s[8:11], s3    ; encoding: [0x00,0x00,0x50,0xe0,0x00,0x05,0x02,0x03]
+0x00,0x00,0x50,0xe0,0x00,0x05,0x02,0x03
 
-# 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_dword v5, off, s[8:11], s3 offset:7    ; encoding: [0x07,0x00,0x50,0xe0,0x00,0x05,0x02,0x03]
+0x07,0x00,0x50,0xe0,0x00,0x05,0x02,0x03
 
-# 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_dword v5, off, s[8:11], s3 offset:4095 glc    ; encoding: [0xff,0x4f,0x50,0xe0,0x00,0x05,0x02,0x03]
+0xff,0x4f,0x50,0xe0,0x00,0x05,0x02,0x03
 
-# 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_dword v5, off, s[8:11], s3 offset:4095 slc    ; encoding: [0xff,0x0f,0x52,0xe0,0x00,0x05,0x02,0x03]
+0xff,0x0f,0x52,0xe0,0x00,0x05,0x02,0x03
 
-# 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[5:6], off, s[8:11], s3 offset:4095    ; encoding: [0xff,0x0f,0x54,0xe0,0x00,0x05,0x02,0x03]
+0xff,0x0f,0x54,0xe0,0x00,0x05,0x02,0x03
 
-# 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[254:255], off, s[8:11], s3 offset:4095    ; encoding: [0xff,0x0f,0x54,0xe0,0x00,0xfe,0x02,0x03]
+0xff,0x0f,0x54,0xe0,0x00,0xfe,0x02,0x03
 
-# 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[5:6], off, s[12:15], s3 offset:4095    ; encoding: [0xff,0x0f,0x54,0xe0,0x00,0x05,0x03,0x03]
+0xff,0x0f,0x54,0xe0,0x00,0x05,0x03,0x03
 
-# 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[5:6], off, s[96:99], s3 offset:4095    ; encoding: [0xff,0x0f,0x54,0xe0,0x00,0x05,0x18,0x03]
+0xff,0x0f,0x54,0xe0,0x00,0x05,0x18,0x03
 
-# 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[5:6], off, ttmp[8:11], s3 offset:4095    ; encoding: [0xff,0x0f,0x54,0xe0,0x00,0x05,0x1e,0x03]
+0xff,0x0f,0x54,0xe0,0x00,0x05,0x1e,0x03
 
-# 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[5:6], off, s[8:11], s101 offset:4095    ; encoding: [0xff,0x0f,0x54,0xe0,0x00,0x05,0x02,0x65]
+0xff,0x0f,0x54,0xe0,0x00,0x05,0x02,0x65
 
-# 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[5:6], off, s[8:11], m0 offset:4095    ; encoding: [0xff,0x0f,0x54,0xe0,0x00,0x05,0x02,0x7c]
+0xff,0x0f,0x54,0xe0,0x00,0x05,0x02,0x7c
 
-# 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_dwordx2 v[5:6], off, s[8:11], 0 offset:4095    ; encoding: [0xff,0x0f,0x54,0xe0,0x00,0x05,0x02,0x80]
+0xff,0x0f,0x54,0xe0,0x00,0x05,0x02,0x80
 
-# 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_dwordx2 v[5:6], off, s[8:11], -1 offset:4095    ; encoding: [0xff,0x0f,0x54,0xe0,0x00,0x05,0x02,0xc1]
+0xff,0x0f,0x54,0xe0,0x00,0x05,0x02,0xc1
 
-# 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_dwordx2 v[5:6], off, s[8:11], 0.5 offset:4095    ; encoding: [0xff,0x0f,0x54,0xe0,0x00,0x05,0x02,0xf0]
+0xff,0x0f,0x54,0xe0,0x00,0x05,0x02,0xf0
 
-# 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_dwordx2 v[5:6], off, s[8:11], -4.0 offset:4095    ; encoding: [0xff,0x0f,0x54,0xe0,0x00,0x05,0x02,0xf7]
+0xff,0x0f,0x54,0xe0,0x00,0x05,0x02,0xf7
 
-# 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_dwordx2 v[5:6], v0, s[8:11], s3 idxen offset:4095    ; encoding: [0xff,0x2f,0x54,0xe0,0x00,0x05,0x02,0x03]
+0xff,0x2f,0x54,0xe0,0x00,0x05,0x02,0x03
 
-# 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_dwordx2 v[5:6], v0, s[8:11], s3 offen offset:4095    ; encoding: [0xff,0x1f,0x54,0xe0,0x00,0x05,0x02,0x03]
+0xff,0x1f,0x54,0xe0,0x00,0x05,0x02,0x03
 
-# 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_dwordx2 v[5:6], off, s[8:11], s3    ; encoding: [0x00,0x00,0x54,0xe0,0x00,0x05,0x02,0x03]
+0x00,0x00,0x54,0xe0,0x00,0x05,0x02,0x03
 
-# 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_dwordx2 v[5:6], off, s[8:11], s3 offset:7    ; encoding: [0x07,0x00,0x54,0xe0,0x00,0x05,0x02,0x03]
+0x07,0x00,0x54,0xe0,0x00,0x05,0x02,0x03
 
-# 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_dwordx2 v[5:6], off, s[8:11], s3 offset:4095 glc    ; encoding: [0xff,0x4f,0x54,0xe0,0x00,0x05,0x02,0x03]
+0xff,0x4f,0x54,0xe0,0x00,0x05,0x02,0x03
 
-# 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_dwordx2 v[5:6], off, s[8:11], s3 offset:4095 slc    ; encoding: [0xff,0x0f,0x56,0xe0,0x00,0x05,0x02,0x03]
+0xff,0x0f,0x56,0xe0,0x00,0x05,0x02,0x03
 
-# 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[5:7], off, s[8:11], s3 offset:4095    ; encoding: [0xff,0x0f,0x58,0xe0,0x00,0x05,0x02,0x03]
+0xff,0x0f,0x58,0xe0,0x00,0x05,0x02,0x03
 
-# 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[253:255], off, s[8:11], s3 offset:4095    ; encoding: [0xff,0x0f,0x58,0xe0,0x00,0xfd,0x02,0x03]
+0xff,0x0f,0x58,0xe0,0x00,0xfd,0x02,0x03
 
-# 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[5:7], off, s[12:15], s3 offset:4095    ; encoding: [0xff,0x0f,0x58,0xe0,0x00,0x05,0x03,0x03]
+0xff,0x0f,0x58,0xe0,0x00,0x05,0x03,0x03
 
-# 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[5:7], off, s[96:99], s3 offset:4095    ; encoding: [0xff,0x0f,0x58,0xe0,0x00,0x05,0x18,0x03]
+0xff,0x0f,0x58,0xe0,0x00,0x05,0x18,0x03
 
-# 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[5:7], off, ttmp[8:11], s3 offset:4095    ; encoding: [0xff,0x0f,0x58,0xe0,0x00,0x05,0x1e,0x03]
+0xff,0x0f,0x58,0xe0,0x00,0x05,0x1e,0x03
 
-# 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[5:7], off, s[8:11], s101 offset:4095    ; encoding: [0xff,0x0f,0x58,0xe0,0x00,0x05,0x02,0x65]
+0xff,0x0f,0x58,0xe0,0x00,0x05,0x02,0x65
 
-# 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[5:7], off, s[8:11], m0 offset:4095    ; encoding: [0xff,0x0f,0x58,0xe0,0x00,0x05,0x02,0x7c]
+0xff,0x0f,0x58,0xe0,0x00,0x05,0x02,0x7c
 
-# 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_dwordx3 v[5:7], off, s[8:11], 0 offset:4095    ; encoding: [0xff,0x0f,0x58,0xe0,0x00,0x05,0x02,0x80]
+0xff,0x0f,0x58,0xe0,0x00,0x05,0x02,0x80
 
-# 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_dwordx3 v[5:7], off, s[8:11], -1 offset:4095    ; encoding: [0xff,0x0f,0x58,0xe0,0x00,0x05,0x02,0xc1]
+0xff,0x0f,0x58,0xe0,0x00,0x05,0x02,0xc1
 
-# 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_dwordx3 v[5:7], off, s[8:11], 0.5 offset:4095    ; encoding: [0xff,0x0f,0x58,0xe0,0x00,0x05,0x02,0xf0]
+0xff,0x0f,0x58,0xe0,0x00,0x05,0x02,0xf0
 
-# 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_dwordx3 v[5:7], off, s[8:11], -4.0 offset:4095    ; encoding: [0xff,0x0f,0x58,0xe0,0x00,0x05,0x02,0xf7]
+0xff,0x0f,0x58,0xe0,0x00,0x05,0x02,0xf7
 
-# 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_dwordx3 v[5:7], v0, s[8:11], s3 idxen offset:4095    ; encoding: [0xff,0x2f,0x58,0xe0,0x00,0x05,0x02,0x03]
+0xff,0x2f,0x58,0xe0,0x00,0x05,0x02,0x03
 
-# 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_dwordx3 v[5:7], v0, s[8:11], s3 offen offset:4095    ; encoding: [0xff,0x1f,0x58,0xe0,0x00,0x05,0x02,0x03]
+0xff,0x1f,0x58,0xe0,0x00,0x05,0x02,0x03
 
-# 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_dwordx3 v[5:7], off, s[8:11], s3    ; encoding: [0x00,0x00,0x58,0xe0,0x00,0x05,0x02,0x03]
+0x00,0x00,0x58,0xe0,0x00,0x05,0x02,0x03
 
-# 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_dwordx3 v[5:7], off, s[8:11], s3 offset:7    ; encoding: [0x07,0x00,0x58,0xe0,0x00,0x05,0x02,0x03]
+0x07,0x00,0x58,0xe0,0x00,0x05,0x02,0x03
 
-# 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_dwordx3 v[5:7], off, s[8:11], s3 offset:4095 glc    ; encoding: [0xff,0x4f,0x58,0xe0,0x00,0x05,0x02,0x03]
+0xff,0x4f,0x58,0xe0,0x00,0x05,0x02,0x03
 
-# 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_dwordx3 v[5:7], off, s[8:11], s3 offset:4095 slc    ; encoding: [0xff,0x0f,0x5a,0xe0,0x00,0x05,0x02,0x03]
+0xff,0x0f,0x5a,0xe0,0x00,0x05,0x02,0x03
 
-# 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[5:8], off, s[8:11], s3 offset:4095    ; encoding: [0xff,0x0f,0x5c,0xe0,0x00,0x05,0x02,0x03]
+0xff,0x0f,0x5c,0xe0,0x00,0x05,0x02,0x03
 
-# 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[252:255], off, s[8:11], s3 offset:4095    ; encoding: [0xff,0x0f,0x5c,0xe0,0x00,0xfc,0x02,0x03]
+0xff,0x0f,0x5c,0xe0,0x00,0xfc,0x02,0x03
 
-# 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[5:8], off, s[12:15], s3 offset:4095    ; encoding: [0xff,0x0f,0x5c,0xe0,0x00,0x05,0x03,0x03]
+0xff,0x0f,0x5c,0xe0,0x00,0x05,0x03,0x03
 
-# 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[5:8], off, s[96:99], s3 offset:4095    ; encoding: [0xff,0x0f,0x5c,0xe0,0x00,0x05,0x18,0x03]
+0xff,0x0f,0x5c,0xe0,0x00,0x05,0x18,0x03
 
-# 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[5:8], off, ttmp[8:11], s3 offset:4095    ; encoding: [0xff,0x0f,0x5c,0xe0,0x00,0x05,0x1e,0x03]
+0xff,0x0f,0x5c,0xe0,0x00,0x05,0x1e,0x03
 
-# 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[5:8], off, s[8:11], s101 offset:4095    ; encoding: [0xff,0x0f,0x5c,0xe0,0x00,0x05,0x02,0x65]
+0xff,0x0f,0x5c,0xe0,0x00,0x05,0x02,0x65
 
-# 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[5:8], off, s[8:11], m0 offset:4095    ; encoding: [0xff,0x0f,0x5c,0xe0,0x00,0x05,0x02,0x7c]
+0xff,0x0f,0x5c,0xe0,0x00,0x05,0x02,0x7c
 
-# 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_load_dwordx4 v[5:8], off, s[8:11], 0 offset:4095    ; encoding: [0xff,0x0f,0x5c,0xe0,0x00,0x05,0x02,0x80]
+0xff,0x0f,0x5c,0xe0,0x00,0x05,0x02,0x80
 
-# 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_load_dwordx4 v[5:8], off, s[8:11], -1 offset:4095    ; encoding: [0xff,0x0f,0x5c,0xe0,0x00,0x05,0x02,0xc1]
+0xff,0x0f,0x5c,0xe0,0x00,0x05,0x02,0xc1
 
-# 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_load_dwordx4 v[5:8], off, s[8:11], 0.5 offset:4095    ; encoding: [0xff,0x0f,0x5c,0xe0,0x00,0x05,0x02,0xf0]
+0xff,0x0f,0x5c,0xe0,0x00,0x05,0x02,0xf0
 
-# 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_load_dwordx4 v[5:8], off, s[8:11], -4.0 offset:4095    ; encoding: [0xff,0x0f,0x5c,0xe0,0x00,0x05,0x02,0xf7]
+0xff,0x0f,0x5c,0xe0,0x00,0x05,0x02,0xf7
 
-# 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_load_dwordx4 v[5:8], v0, s[8:11], s3 idxen offset:4095    ; encoding: [0xff,0x2f,0x5c,0xe0,0x00,0x05,0x02,0x03]
+0xff,0x2f,0x5c,0xe0,0x00,0x05,0x02,0x03
 
-# 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_load_dwordx4 v[5:8], v0, s[8:11], s3 offen offset:4095    ; encoding: [0xff,0x1f,0x5c,0xe0,0x00,0x05,0x02,0x03]
+0xff,0x1f,0x5c,0xe0,0x00,0x05,0x02,0x03
 
-# 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_load_dwordx4 v[5:8], off, s[8:11], s3    ; encoding: [0x00,0x00,0x5c,0xe0,0x00,0x05,0x02,0x03]
+0x00,0x00,0x5c,0xe0,0x00,0x05,0x02,0x03
 
-# 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_load_dwordx4 v[5:8], off, s[8:11], s3 offset:7    ; encoding: [0x07,0x00,0x5c,0xe0,0x00,0x05,0x02,0x03]
+0x07,0x00,0x5c,0xe0,0x00,0x05,0x02,0x03
 
-# 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_load_dwordx4 v[5:8], off, s[8:11], s3 offset:4095 glc    ; encoding: [0xff,0x4f,0x5c,0xe0,0x00,0x05,0x02,0x03]
+0xff,0x4f,0x5c,0xe0,0x00,0x05,0x02,0x03
 
-# 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_load_dwordx4 v[5:8], off, s[8:11], s3 offset:4095 slc    ; encoding: [0xff,0x0f,0x5e,0xe0,0x00,0x05,0x02,0x03]
+0xff,0x0f,0x5e,0xe0,0x00,0x05,0x02,0x03
 
-# 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 v1, off, s[12:15], s4 offset:4095    ; encoding: [0xff,0x0f,0x60,0xe0,0x00,0x01,0x03,0x04]
+0xff,0x0f,0x60,0xe0,0x00,0x01,0x03,0x04
 
-# 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 v255, off, s[12:15], s4 offset:4095    ; encoding: [0xff,0x0f,0x60,0xe0,0x00,0xff,0x03,0x04]
+0xff,0x0f,0x60,0xe0,0x00,0xff,0x03,0x04
 
-# 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 v1, off, s[16:19], s4 offset:4095    ; encoding: [0xff,0x0f,0x60,0xe0,0x00,0x01,0x04,0x04]
+0xff,0x0f,0x60,0xe0,0x00,0x01,0x04,0x04
 
-# 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 v1, off, s[96:99], s4 offset:4095    ; encoding: [0xff,0x0f,0x60,0xe0,0x00,0x01,0x18,0x04]
+0xff,0x0f,0x60,0xe0,0x00,0x01,0x18,0x04
 
-# 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 v1, off, ttmp[8:11], s4 offset:4095    ; encoding: [0xff,0x0f,0x60,0xe0,0x00,0x01,0x1e,0x04]
+0xff,0x0f,0x60,0xe0,0x00,0x01,0x1e,0x04
 
-# 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 v1, off, s[12:15], s101 offset:4095    ; encoding: [0xff,0x0f,0x60,0xe0,0x00,0x01,0x03,0x65]
+0xff,0x0f,0x60,0xe0,0x00,0x01,0x03,0x65
 
-# 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 v1, off, s[12:15], m0 offset:4095    ; encoding: [0xff,0x0f,0x60,0xe0,0x00,0x01,0x03,0x7c]
+0xff,0x0f,0x60,0xe0,0x00,0x01,0x03,0x7c
 
-# 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_byte v1, off, s[12:15], 0 offset:4095    ; encoding: [0xff,0x0f,0x60,0xe0,0x00,0x01,0x03,0x80]
+0xff,0x0f,0x60,0xe0,0x00,0x01,0x03,0x80
 
-# 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_byte v1, off, s[12:15], -1 offset:4095    ; encoding: [0xff,0x0f,0x60,0xe0,0x00,0x01,0x03,0xc1]
+0xff,0x0f,0x60,0xe0,0x00,0x01,0x03,0xc1
 
-# 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_byte v1, off, s[12:15], 0.5 offset:4095    ; encoding: [0xff,0x0f,0x60,0xe0,0x00,0x01,0x03,0xf0]
+0xff,0x0f,0x60,0xe0,0x00,0x01,0x03,0xf0
 
-# 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_byte v1, off, s[12:15], -4.0 offset:4095    ; encoding: [0xff,0x0f,0x60,0xe0,0x00,0x01,0x03,0xf7]
+0xff,0x0f,0x60,0xe0,0x00,0x01,0x03,0xf7
 
-# 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_byte v1, v0, s[12:15], s4 idxen offset:4095    ; encoding: [0xff,0x2f,0x60,0xe0,0x00,0x01,0x03,0x04]
+0xff,0x2f,0x60,0xe0,0x00,0x01,0x03,0x04
 
-# 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_byte v1, v0, s[12:15], s4 offen offset:4095    ; encoding: [0xff,0x1f,0x60,0xe0,0x00,0x01,0x03,0x04]
+0xff,0x1f,0x60,0xe0,0x00,0x01,0x03,0x04
 
-# 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_byte v1, off, s[12:15], s4    ; encoding: [0x00,0x00,0x60,0xe0,0x00,0x01,0x03,0x04]
+0x00,0x00,0x60,0xe0,0x00,0x01,0x03,0x04
 
-# 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_byte v1, off, s[12:15], s4 offset:7    ; encoding: [0x07,0x00,0x60,0xe0,0x00,0x01,0x03,0x04]
+0x07,0x00,0x60,0xe0,0x00,0x01,0x03,0x04
 
-# 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_byte v1, off, s[12:15], s4 offset:4095 glc    ; encoding: [0xff,0x4f,0x60,0xe0,0x00,0x01,0x03,0x04]
+0xff,0x4f,0x60,0xe0,0x00,0x01,0x03,0x04
 
-# 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_byte v1, off, s[12:15], s4 offset:4095 slc    ; encoding: [0xff,0x0f,0x62,0xe0,0x00,0x01,0x03,0x04]
+0xff,0x0f,0x62,0xe0,0x00,0x01,0x03,0x04
 
-# 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 v1, off, s[12:15], s4 offset:4095    ; encoding: [0xff,0x0f,0x68,0xe0,0x00,0x01,0x03,0x04]
+0xff,0x0f,0x68,0xe0,0x00,0x01,0x03,0x04
 
-# 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 v255, off, s[12:15], s4 offset:4095    ; encoding: [0xff,0x0f,0x68,0xe0,0x00,0xff,0x03,0x04]
+0xff,0x0f,0x68,0xe0,0x00,0xff,0x03,0x04
 
-# 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 v1, off, s[16:19], s4 offset:4095    ; encoding: [0xff,0x0f,0x68,0xe0,0x00,0x01,0x04,0x04]
+0xff,0x0f,0x68,0xe0,0x00,0x01,0x04,0x04
 
-# 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 v1, off, s[96:99], s4 offset:4095    ; encoding: [0xff,0x0f,0x68,0xe0,0x00,0x01,0x18,0x04]
+0xff,0x0f,0x68,0xe0,0x00,0x01,0x18,0x04
 
-# 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 v1, off, ttmp[8:11], s4 offset:4095    ; encoding: [0xff,0x0f,0x68,0xe0,0x00,0x01,0x1e,0x04]
+0xff,0x0f,0x68,0xe0,0x00,0x01,0x1e,0x04
 
-# 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 v1, off, s[12:15], s101 offset:4095    ; encoding: [0xff,0x0f,0x68,0xe0,0x00,0x01,0x03,0x65]
+0xff,0x0f,0x68,0xe0,0x00,0x01,0x03,0x65
 
-# 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 v1, off, s[12:15], m0 offset:4095    ; encoding: [0xff,0x0f,0x68,0xe0,0x00,0x01,0x03,0x7c]
+0xff,0x0f,0x68,0xe0,0x00,0x01,0x03,0x7c
 
-# 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_short v1, off, s[12:15], 0 offset:4095    ; encoding: [0xff,0x0f,0x68,0xe0,0x00,0x01,0x03,0x80]
+0xff,0x0f,0x68,0xe0,0x00,0x01,0x03,0x80
 
-# 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_short v1, off, s[12:15], -1 offset:4095    ; encoding: [0xff,0x0f,0x68,0xe0,0x00,0x01,0x03,0xc1]
+0xff,0x0f,0x68,0xe0,0x00,0x01,0x03,0xc1
 
-# 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_short v1, off, s[12:15], 0.5 offset:4095    ; encoding: [0xff,0x0f,0x68,0xe0,0x00,0x01,0x03,0xf0]
+0xff,0x0f,0x68,0xe0,0x00,0x01,0x03,0xf0
 
-# 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_short v1, off, s[12:15], -4.0 offset:4095    ; encoding: [0xff,0x0f,0x68,0xe0,0x00,0x01,0x03,0xf7]
+0xff,0x0f,0x68,0xe0,0x00,0x01,0x03,0xf7
 
-# 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_short v1, v0, s[12:15], s4 idxen offset:4095    ; encoding: [0xff,0x2f,0x68,0xe0,0x00,0x01,0x03,0x04]
+0xff,0x2f,0x68,0xe0,0x00,0x01,0x03,0x04
 
-# 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_short v1, v0, s[12:15], s4 offen offset:4095    ; encoding: [0xff,0x1f,0x68,0xe0,0x00,0x01,0x03,0x04]
+0xff,0x1f,0x68,0xe0,0x00,0x01,0x03,0x04
 
-# 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_short v1, off, s[12:15], s4    ; encoding: [0x00,0x00,0x68,0xe0,0x00,0x01,0x03,0x04]
+0x00,0x00,0x68,0xe0,0x00,0x01,0x03,0x04
 
-# 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_short v1, off, s[12:15], s4 offset:7    ; encoding: [0x07,0x00,0x68,0xe0,0x00,0x01,0x03,0x04]
+0x07,0x00,0x68,0xe0,0x00,0x01,0x03,0x04
 
-# 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_short v1, off, s[12:15], s4 offset:4095 glc    ; encoding: [0xff,0x4f,0x68,0xe0,0x00,0x01,0x03,0x04]
+0xff,0x4f,0x68,0xe0,0x00,0x01,0x03,0x04
 
-# 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_short v1, off, s[12:15], s4 offset:4095 slc    ; encoding: [0xff,0x0f,0x6a,0xe0,0x00,0x01,0x03,0x04]
+0xff,0x0f,0x6a,0xe0,0x00,0x01,0x03,0x04
 
-# 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 v1, off, s[12:15], s4 offset:4095    ; encoding: [0xff,0x0f,0x70,0xe0,0x00,0x01,0x03,0x04]
+0xff,0x0f,0x70,0xe0,0x00,0x01,0x03,0x04
 
-# 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 v255, off, s[12:15], s4 offset:4095    ; encoding: [0xff,0x0f,0x70,0xe0,0x00,0xff,0x03,0x04]
+0xff,0x0f,0x70,0xe0,0x00,0xff,0x03,0x04
 
-# 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 v1, off, s[16:19], s4 offset:4095    ; encoding: [0xff,0x0f,0x70,0xe0,0x00,0x01,0x04,0x04]
+0xff,0x0f,0x70,0xe0,0x00,0x01,0x04,0x04
 
-# 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 v1, off, s[96:99], s4 offset:4095    ; encoding: [0xff,0x0f,0x70,0xe0,0x00,0x01,0x18,0x04]
+0xff,0x0f,0x70,0xe0,0x00,0x01,0x18,0x04
 
-# 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 v1, off, ttmp[8:11], s4 offset:4095    ; encoding: [0xff,0x0f,0x70,0xe0,0x00,0x01,0x1e,0x04]
+0xff,0x0f,0x70,0xe0,0x00,0x01,0x1e,0x04
 
-# 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 v1, off, s[12:15], s101 offset:4095    ; encoding: [0xff,0x0f,0x70,0xe0,0x00,0x01,0x03,0x65]
+0xff,0x0f,0x70,0xe0,0x00,0x01,0x03,0x65
 
-# 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 v1, off, s[12:15], m0 offset:4095    ; encoding: [0xff,0x0f,0x70,0xe0,0x00,0x01,0x03,0x7c]
+0xff,0x0f,0x70,0xe0,0x00,0x01,0x03,0x7c
 
-# 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_dword v1, off, s[12:15], 0 offset:4095    ; encoding: [0xff,0x0f,0x70,0xe0,0x00,0x01,0x03,0x80]
+0xff,0x0f,0x70,0xe0,0x00,0x01,0x03,0x80
 
-# 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_dword v1, off, s[12:15], -1 offset:4095    ; encoding: [0xff,0x0f,0x70,0xe0,0x00,0x01,0x03,0xc1]
+0xff,0x0f,0x70,0xe0,0x00,0x01,0x03,0xc1
 
-# 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_dword v1, off, s[12:15], 0.5 offset:4095    ; encoding: [0xff,0x0f,0x70,0xe0,0x00,0x01,0x03,0xf0]
+0xff,0x0f,0x70,0xe0,0x00,0x01,0x03,0xf0
 
-# 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_dword v1, off, s[12:15], -4.0 offset:4095    ; encoding: [0xff,0x0f,0x70,0xe0,0x00,0x01,0x03,0xf7]
+0xff,0x0f,0x70,0xe0,0x00,0x01,0x03,0xf7
 
-# 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_dword v1, v0, s[12:15], s4 idxen offset:4095    ; encoding: [0xff,0x2f,0x70,0xe0,0x00,0x01,0x03,0x04]
+0xff,0x2f,0x70,0xe0,0x00,0x01,0x03,0x04
 
-# 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_dword v1, v0, s[12:15], s4 offen offset:4095    ; encoding: [0xff,0x1f,0x70,0xe0,0x00,0x01,0x03,0x04]
+0xff,0x1f,0x70,0xe0,0x00,0x01,0x03,0x04
 
-# 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_dword v1, off, s[12:15], s4    ; encoding: [0x00,0x00,0x70,0xe0,0x00,0x01,0x03,0x04]
+0x00,0x00,0x70,0xe0,0x00,0x01,0x03,0x04
 
-# 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_dword v1, off, s[12:15], s4 offset:7    ; encoding: [0x07,0x00,0x70,0xe0,0x00,0x01,0x03,0x04]
+0x07,0x00,0x70,0xe0,0x00,0x01,0x03,0x04
 
-# 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_dword v1, off, s[12:15], s4 offset:4095 glc    ; encoding: [0xff,0x4f,0x70,0xe0,0x00,0x01,0x03,0x04]
+0xff,0x4f,0x70,0xe0,0x00,0x01,0x03,0x04
 
-# 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_dword v1, off, s[12:15], s4 offset:4095 slc    ; encoding: [0xff,0x0f,0x72,0xe0,0x00,0x01,0x03,0x04]
+0xff,0x0f,0x72,0xe0,0x00,0x01,0x03,0x04
 
-# 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[1:2], off, s[12:15], s4 offset:4095    ; encoding: [0xff,0x0f,0x74,0xe0,0x00,0x01,0x03,0x04]
+0xff,0x0f,0x74,0xe0,0x00,0x01,0x03,0x04
 
-# 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[254:255], off, s[12:15], s4 offset:4095    ; encoding: [0xff,0x0f,0x74,0xe0,0x00,0xfe,0x03,0x04]
+0xff,0x0f,0x74,0xe0,0x00,0xfe,0x03,0x04
 
-# 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[1:2], off, s[16:19], s4 offset:4095    ; encoding: [0xff,0x0f,0x74,0xe0,0x00,0x01,0x04,0x04]
+0xff,0x0f,0x74,0xe0,0x00,0x01,0x04,0x04
 
-# 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[1:2], off, s[96:99], s4 offset:4095    ; encoding: [0xff,0x0f,0x74,0xe0,0x00,0x01,0x18,0x04]
+0xff,0x0f,0x74,0xe0,0x00,0x01,0x18,0x04
 
-# 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[1:2], off, ttmp[8:11], s4 offset:4095    ; encoding: [0xff,0x0f,0x74,0xe0,0x00,0x01,0x1e,0x04]
+0xff,0x0f,0x74,0xe0,0x00,0x01,0x1e,0x04
 
-# 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[1:2], off, s[12:15], s101 offset:4095    ; encoding: [0xff,0x0f,0x74,0xe0,0x00,0x01,0x03,0x65]
+0xff,0x0f,0x74,0xe0,0x00,0x01,0x03,0x65
 
-# 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[1:2], off, s[12:15], m0 offset:4095    ; encoding: [0xff,0x0f,0x74,0xe0,0x00,0x01,0x03,0x7c]
+0xff,0x0f,0x74,0xe0,0x00,0x01,0x03,0x7c
 
-# 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_dwordx2 v[1:2], off, s[12:15], 0 offset:4095    ; encoding: [0xff,0x0f,0x74,0xe0,0x00,0x01,0x03,0x80]
+0xff,0x0f,0x74,0xe0,0x00,0x01,0x03,0x80
 
-# 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_dwordx2 v[1:2], off, s[12:15], -1 offset:4095    ; encoding: [0xff,0x0f,0x74,0xe0,0x00,0x01,0x03,0xc1]
+0xff,0x0f,0x74,0xe0,0x00,0x01,0x03,0xc1
 
-# 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_dwordx2 v[1:2], off, s[12:15], 0.5 offset:4095    ; encoding: [0xff,0x0f,0x74,0xe0,0x00,0x01,0x03,0xf0]
+0xff,0x0f,0x74,0xe0,0x00,0x01,0x03,0xf0
 
-# 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_dwordx2 v[1:2], off, s[12:15], -4.0 offset:4095    ; encoding: [0xff,0x0f,0x74,0xe0,0x00,0x01,0x03,0xf7]
+0xff,0x0f,0x74,0xe0,0x00,0x01,0x03,0xf7
 
-# 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_dwordx2 v[1:2], v0, s[12:15], s4 idxen offset:4095    ; encoding: [0xff,0x2f,0x74,0xe0,0x00,0x01,0x03,0x04]
+0xff,0x2f,0x74,0xe0,0x00,0x01,0x03,0x04
 
-# 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_dwordx2 v[1:2], v0, s[12:15], s4 offen offset:4095    ; encoding: [0xff,0x1f,0x74,0xe0,0x00,0x01,0x03,0x04]
+0xff,0x1f,0x74,0xe0,0x00,0x01,0x03,0x04
 
-# 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_dwordx2 v[1:2], off, s[12:15], s4    ; encoding: [0x00,0x00,0x74,0xe0,0x00,0x01,0x03,0x04]
+0x00,0x00,0x74,0xe0,0x00,0x01,0x03,0x04
 
-# 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_dwordx2 v[1:2], off, s[12:15], s4 offset:7    ; encoding: [0x07,0x00,0x74,0xe0,0x00,0x01,0x03,0x04]
+0x07,0x00,0x74,0xe0,0x00,0x01,0x03,0x04
 
-# 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_dwordx2 v[1:2], off, s[12:15], s4 offset:4095 glc    ; encoding: [0xff,0x4f,0x74,0xe0,0x00,0x01,0x03,0x04]
+0xff,0x4f,0x74,0xe0,0x00,0x01,0x03,0x04
 
-# 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_dwordx2 v[1:2], off, s[12:15], s4 offset:4095 slc    ; encoding: [0xff,0x0f,0x76,0xe0,0x00,0x01,0x03,0x04]
+0xff,0x0f,0x76,0xe0,0x00,0x01,0x03,0x04
 
-# 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[1:3], off, s[12:15], s4 offset:4095    ; encoding: [0xff,0x0f,0x78,0xe0,0x00,0x01,0x03,0x04]
+0xff,0x0f,0x78,0xe0,0x00,0x01,0x03,0x04
 
-# 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[253:255], off, s[12:15], s4 offset:4095    ; encoding: [0xff,0x0f,0x78,0xe0,0x00,0xfd,0x03,0x04]
+0xff,0x0f,0x78,0xe0,0x00,0xfd,0x03,0x04
 
-# 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[1:3], off, s[16:19], s4 offset:4095    ; encoding: [0xff,0x0f,0x78,0xe0,0x00,0x01,0x04,0x04]
+0xff,0x0f,0x78,0xe0,0x00,0x01,0x04,0x04
 
-# 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[1:3], off, s[96:99], s4 offset:4095    ; encoding: [0xff,0x0f,0x78,0xe0,0x00,0x01,0x18,0x04]
+0xff,0x0f,0x78,0xe0,0x00,0x01,0x18,0x04
 
-# 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[1:3], off, ttmp[8:11], s4 offset:4095    ; encoding: [0xff,0x0f,0x78,0xe0,0x00,0x01,0x1e,0x04]
+0xff,0x0f,0x78,0xe0,0x00,0x01,0x1e,0x04
 
-# 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[1:3], off, s[12:15], s101 offset:4095    ; encoding: [0xff,0x0f,0x78,0xe0,0x00,0x01,0x03,0x65]
+0xff,0x0f,0x78,0xe0,0x00,0x01,0x03,0x65
 
-# 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[1:3], off, s[12:15], m0 offset:4095    ; encoding: [0xff,0x0f,0x78,0xe0,0x00,0x01,0x03,0x7c]
+0xff,0x0f,0x78,0xe0,0x00,0x01,0x03,0x7c
 
-# 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_dwordx3 v[1:3], off, s[12:15], 0 offset:4095    ; encoding: [0xff,0x0f,0x78,0xe0,0x00,0x01,0x03,0x80]
+0xff,0x0f,0x78,0xe0,0x00,0x01,0x03,0x80
 
-# 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_dwordx3 v[1:3], off, s[12:15], -1 offset:4095    ; encoding: [0xff,0x0f,0x78,0xe0,0x00,0x01,0x03,0xc1]
+0xff,0x0f,0x78,0xe0,0x00,0x01,0x03,0xc1
 
-# 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_dwordx3 v[1:3], off, s[12:15], 0.5 offset:4095    ; encoding: [0xff,0x0f,0x78,0xe0,0x00,0x01,0x03,0xf0]
+0xff,0x0f,0x78,0xe0,0x00,0x01,0x03,0xf0
 
-# 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_dwordx3 v[1:3], off, s[12:15], -4.0 offset:4095    ; encoding: [0xff,0x0f,0x78,0xe0,0x00,0x01,0x03,0xf7]
+0xff,0x0f,0x78,0xe0,0x00,0x01,0x03,0xf7
 
-# 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_dwordx3 v[1:3], v0, s[12:15], s4 idxen offset:4095    ; encoding: [0xff,0x2f,0x78,0xe0,0x00,0x01,0x03,0x04]
+0xff,0x2f,0x78,0xe0,0x00,0x01,0x03,0x04
 
-# 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_dwordx3 v[1:3], v0, s[12:15], s4 offen offset:4095    ; encoding: [0xff,0x1f,0x78,0xe0,0x00,0x01,0x03,0x04]
+0xff,0x1f,0x78,0xe0,0x00,0x01,0x03,0x04
 
-# 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_dwordx3 v[1:3], off, s[12:15], s4    ; encoding: [0x00,0x00,0x78,0xe0,0x00,0x01,0x03,0x04]
+0x00,0x00,0x78,0xe0,0x00,0x01,0x03,0x04
 
-# 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_dwordx3 v[1:3], off, s[12:15], s4 offset:7    ; encoding: [0x07,0x00,0x78,0xe0,0x00,0x01,0x03,0x04]
+0x07,0x00,0x78,0xe0,0x00,0x01,0x03,0x04
 
-# 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_dwordx3 v[1:3], off, s[12:15], s4 offset:4095 glc    ; encoding: [0xff,0x4f,0x78,0xe0,0x00,0x01,0x03,0x04]
+0xff,0x4f,0x78,0xe0,0x00,0x01,0x03,0x04
 
-# 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_dwordx3 v[1:3], off, s[12:15], s4 offset:4095 slc    ; encoding: [0xff,0x0f,0x7a,0xe0,0x00,0x01,0x03,0x04]
+0xff,0x0f,0x7a,0xe0,0x00,0x01,0x03,0x04
 
-# 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[1:4], off, s[12:15], s4 offset:4095    ; encoding: [0xff,0x0f,0x7c,0xe0,0x00,0x01,0x03,0x04]
+0xff,0x0f,0x7c,0xe0,0x00,0x01,0x03,0x04
 
-# 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[252:255], off, s[12:15], s4 offset:4095    ; encoding: [0xff,0x0f,0x7c,0xe0,0x00,0xfc,0x03,0x04]
+0xff,0x0f,0x7c,0xe0,0x00,0xfc,0x03,0x04
 
-# 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[1:4], off, s[16:19], s4 offset:4095    ; encoding: [0xff,0x0f,0x7c,0xe0,0x00,0x01,0x04,0x04]
+0xff,0x0f,0x7c,0xe0,0x00,0x01,0x04,0x04
 
-# 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[1:4], off, s[96:99], s4 offset:4095    ; encoding: [0xff,0x0f,0x7c,0xe0,0x00,0x01,0x18,0x04]
+0xff,0x0f,0x7c,0xe0,0x00,0x01,0x18,0x04
 
-# 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[1:4], off, ttmp[8:11], s4 offset:4095    ; encoding: [0xff,0x0f,0x7c,0xe0,0x00,0x01,0x1e,0x04]
+0xff,0x0f,0x7c,0xe0,0x00,0x01,0x1e,0x04
 
-# 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[1:4], off, s[12:15], s101 offset:4095    ; encoding: [0xff,0x0f,0x7c,0xe0,0x00,0x01,0x03,0x65]
+0xff,0x0f,0x7c,0xe0,0x00,0x01,0x03,0x65
 
-# 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[1:4], off, s[12:15], m0 offset:4095    ; encoding: [0xff,0x0f,0x7c,0xe0,0x00,0x01,0x03,0x7c]
+0xff,0x0f,0x7c,0xe0,0x00,0x01,0x03,0x7c
 
-# 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_store_dwordx4 v[1:4], off, s[12:15], 0 offset:4095    ; encoding: [0xff,0x0f,0x7c,0xe0,0x00,0x01,0x03,0x80]
+0xff,0x0f,0x7c,0xe0,0x00,0x01,0x03,0x80
+
+# CHECK: buffer_store_dwordx4 v[1:4], off, s[12:15], -1 offset:4095    ; encoding: [0xff,0x0f,0x7c,0xe0,0x00,0x01,0x03,0xc1]
+0xff,0x0f,0x7c,0xe0,0x00,0x01,0x03,0xc1
+
+# CHECK: buffer_store_dwordx4 v[1:4], off, s[12:15], 0.5 offset:4095    ; encoding: [0xff,0x0f,0x7c,0xe0,0x00,0x01,0x03,0xf0]
+0xff,0x0f,0x7c,0xe0,0x00,0x01,0x03,0xf0
+
+# CHECK: buffer_store_dwordx4 v[1:4], off, s[12:15], -4.0 offset:4095    ; encoding: [0xff,0x0f,0x7c,0xe0,0x00,0x01,0x03,0xf7]
+0xff,0x0f,0x7c,0xe0,0x00,0x01,0x03,0xf7
+
+# CHECK: buffer_store_dwordx4 v[1:4], v0, s[12:15], s4 idxen offset:4095    ; encoding: [0xff,0x2f,0x7c,0xe0,0x00,0x01,0x03,0x04]
+0xff,0x2f,0x7c,0xe0,0x00,0x01,0x03,0x04
+
+# CHECK: buffer_store_dwordx4 v[1:4], v0, s[12:15], s4 offen offset:4095    ; encoding: [0xff,0x1f,0x7c,0xe0,0x00,0x01,0x03,0x04]
+0xff,0x1f,0x7c,0xe0,0x00,0x01,0x03,0x04
+
+# CHECK: buffer_store_dwordx4 v[1:4], off, s[12:15], s4    ; encoding: [0x00,0x00,0x7c,0xe0,0x00,0x01,0x03,0x04]
+0x00,0x00,0x7c,0xe0,0x00,0x01,0x03,0x04
+
+# CHECK: buffer_store_dwordx4 v[1:4], off, s[12:15], s4 offset:7    ; encoding: [0x07,0x00,0x7c,0xe0,0x00,0x01,0x03,0x04]
+0x07,0x00,0x7c,0xe0,0x00,0x01,0x03,0x04
+
+# CHECK: buffer_store_dwordx4 v[1:4], off, s[12:15], s4 offset:4095 glc    ; encoding: [0xff,0x4f,0x7c,0xe0,0x00,0x01,0x03,0x04]
+0xff,0x4f,0x7c,0xe0,0x00,0x01,0x03,0x04
+
+# CHECK: buffer_store_dwordx4 v[1:4], off, s[12:15], s4 offset:4095 slc    ; encoding: [0xff,0x0f,0x7e,0xe0,0x00,0x01,0x03,0x04]
+0xff,0x0f,0x7e,0xe0,0x00,0x01,0x03,0x04
 
 # CHECK: buffer_wbinvl1    ; encoding: [0x00,0x00,0xf8,0xe0,0x00,0x00,0x00,0x00]
 0x00,0x00,0xf8,0xe0,0x00,0x00,0x00,0x00
@@ -4068,2309 +4143,2309 @@
 # 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 v5, off, s[8:11], s3 offset:4095    ; encoding: [0xff,0x0f,0x00,0xe1,0x00,0x05,0x02,0x03]
+0xff,0x0f,0x00,0xe1,0x00,0x05,0x02,0x03
 
-# 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 v255, off, s[8:11], s3 offset:4095    ; encoding: [0xff,0x0f,0x00,0xe1,0x00,0xff,0x02,0x03]
+0xff,0x0f,0x00,0xe1,0x00,0xff,0x02,0x03
 
-# 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 v5, off, s[12:15], s3 offset:4095    ; encoding: [0xff,0x0f,0x00,0xe1,0x00,0x05,0x03,0x03]
+0xff,0x0f,0x00,0xe1,0x00,0x05,0x03,0x03
 
-# 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 v5, off, s[96:99], s3 offset:4095    ; encoding: [0xff,0x0f,0x00,0xe1,0x00,0x05,0x18,0x03]
+0xff,0x0f,0x00,0xe1,0x00,0x05,0x18,0x03
 
-# 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 v5, off, ttmp[8:11], s3 offset:4095    ; encoding: [0xff,0x0f,0x00,0xe1,0x00,0x05,0x1e,0x03]
+0xff,0x0f,0x00,0xe1,0x00,0x05,0x1e,0x03
 
-# 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 v5, off, s[8:11], s101 offset:4095    ; encoding: [0xff,0x0f,0x00,0xe1,0x00,0x05,0x02,0x65]
+0xff,0x0f,0x00,0xe1,0x00,0x05,0x02,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 v5, off, s[8:11], m0 offset:4095    ; encoding: [0xff,0x0f,0x00,0xe1,0x00,0x05,0x02,0x7c]
+0xff,0x0f,0x00,0xe1,0x00,0x05,0x02,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 v5, off, s[8:11], 0 offset:4095    ; encoding: [0xff,0x0f,0x00,0xe1,0x00,0x05,0x02,0x80]
+0xff,0x0f,0x00,0xe1,0x00,0x05,0x02,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 v5, off, s[8:11], -1 offset:4095    ; encoding: [0xff,0x0f,0x00,0xe1,0x00,0x05,0x02,0xc1]
+0xff,0x0f,0x00,0xe1,0x00,0x05,0x02,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 v5, off, s[8:11], 0.5 offset:4095    ; encoding: [0xff,0x0f,0x00,0xe1,0x00,0x05,0x02,0xf0]
+0xff,0x0f,0x00,0xe1,0x00,0x05,0x02,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 v5, off, s[8:11], -4.0 offset:4095    ; encoding: [0xff,0x0f,0x00,0xe1,0x00,0x05,0x02,0xf7]
+0xff,0x0f,0x00,0xe1,0x00,0x05,0x02,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 v5, v0, s[8:11], s3 idxen offset:4095    ; encoding: [0xff,0x2f,0x00,0xe1,0x00,0x05,0x02,0x03]
+0xff,0x2f,0x00,0xe1,0x00,0x05,0x02,0x03
 
-# 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 v5, v0, s[8:11], s3 offen offset:4095    ; encoding: [0xff,0x1f,0x00,0xe1,0x00,0x05,0x02,0x03]
+0xff,0x1f,0x00,0xe1,0x00,0x05,0x02,0x03
 
-# 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 v5, off, s[8:11], s3    ; encoding: [0x00,0x00,0x00,0xe1,0x00,0x05,0x02,0x03]
+0x00,0x00,0x00,0xe1,0x00,0x05,0x02,0x03
 
-# 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 v5, off, s[8:11], s3 offset:7    ; encoding: [0x07,0x00,0x00,0xe1,0x00,0x05,0x02,0x03]
+0x07,0x00,0x00,0xe1,0x00,0x05,0x02,0x03
 
-# 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 v5, off, s[8:11], s3 offset:4095 glc    ; encoding: [0xff,0x4f,0x00,0xe1,0x00,0x05,0x02,0x03]
+0xff,0x4f,0x00,0xe1,0x00,0x05,0x02,0x03
 
-# 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_swap v5, off, s[8:11], s3 offset:4095 slc    ; encoding: [0xff,0x0f,0x02,0xe1,0x00,0x05,0x02,0x03]
+0xff,0x0f,0x02,0xe1,0x00,0x05,0x02,0x03
 
-# 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[5:6], off, s[8:11], s3 offset:4095    ; encoding: [0xff,0x0f,0x04,0xe1,0x00,0x05,0x02,0x03]
+0xff,0x0f,0x04,0xe1,0x00,0x05,0x02,0x03
 
-# 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[254:255], off, s[8:11], s3 offset:4095    ; encoding: [0xff,0x0f,0x04,0xe1,0x00,0xfe,0x02,0x03]
+0xff,0x0f,0x04,0xe1,0x00,0xfe,0x02,0x03
 
-# 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[5:6], off, s[12:15], s3 offset:4095    ; encoding: [0xff,0x0f,0x04,0xe1,0x00,0x05,0x03,0x03]
+0xff,0x0f,0x04,0xe1,0x00,0x05,0x03,0x03
 
-# 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[5:6], off, s[96:99], s3 offset:4095    ; encoding: [0xff,0x0f,0x04,0xe1,0x00,0x05,0x18,0x03]
+0xff,0x0f,0x04,0xe1,0x00,0x05,0x18,0x03
 
-# 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[5:6], off, ttmp[8:11], s3 offset:4095    ; encoding: [0xff,0x0f,0x04,0xe1,0x00,0x05,0x1e,0x03]
+0xff,0x0f,0x04,0xe1,0x00,0x05,0x1e,0x03
 
-# 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[5:6], off, s[8:11], s101 offset:4095    ; encoding: [0xff,0x0f,0x04,0xe1,0x00,0x05,0x02,0x65]
+0xff,0x0f,0x04,0xe1,0x00,0x05,0x02,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[5:6], off, s[8:11], m0 offset:4095    ; encoding: [0xff,0x0f,0x04,0xe1,0x00,0x05,0x02,0x7c]
+0xff,0x0f,0x04,0xe1,0x00,0x05,0x02,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[5:6], off, s[8:11], 0 offset:4095    ; encoding: [0xff,0x0f,0x04,0xe1,0x00,0x05,0x02,0x80]
+0xff,0x0f,0x04,0xe1,0x00,0x05,0x02,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[5:6], off, s[8:11], -1 offset:4095    ; encoding: [0xff,0x0f,0x04,0xe1,0x00,0x05,0x02,0xc1]
+0xff,0x0f,0x04,0xe1,0x00,0x05,0x02,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[5:6], off, s[8:11], 0.5 offset:4095    ; encoding: [0xff,0x0f,0x04,0xe1,0x00,0x05,0x02,0xf0]
+0xff,0x0f,0x04,0xe1,0x00,0x05,0x02,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[5:6], off, s[8:11], -4.0 offset:4095    ; encoding: [0xff,0x0f,0x04,0xe1,0x00,0x05,0x02,0xf7]
+0xff,0x0f,0x04,0xe1,0x00,0x05,0x02,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[5:6], v0, s[8:11], s3 idxen offset:4095    ; encoding: [0xff,0x2f,0x04,0xe1,0x00,0x05,0x02,0x03]
+0xff,0x2f,0x04,0xe1,0x00,0x05,0x02,0x03
 
-# 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[5:6], v0, s[8:11], s3 offen offset:4095    ; encoding: [0xff,0x1f,0x04,0xe1,0x00,0x05,0x02,0x03]
+0xff,0x1f,0x04,0xe1,0x00,0x05,0x02,0x03
 
-# 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[5:6], off, s[8:11], s3    ; encoding: [0x00,0x00,0x04,0xe1,0x00,0x05,0x02,0x03]
+0x00,0x00,0x04,0xe1,0x00,0x05,0x02,0x03
 
-# 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[5:6], off, s[8:11], s3 offset:7    ; encoding: [0x07,0x00,0x04,0xe1,0x00,0x05,0x02,0x03]
+0x07,0x00,0x04,0xe1,0x00,0x05,0x02,0x03
 
-# 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[5:6], off, s[8:11], s3 offset:4095 glc    ; encoding: [0xff,0x4f,0x04,0xe1,0x00,0x05,0x02,0x03]
+0xff,0x4f,0x04,0xe1,0x00,0x05,0x02,0x03
 
-# 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_cmpswap v[5:6], off, s[8:11], s3 offset:4095 slc    ; encoding: [0xff,0x0f,0x06,0xe1,0x00,0x05,0x02,0x03]
+0xff,0x0f,0x06,0xe1,0x00,0x05,0x02,0x03
 
-# 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 v5, off, s[8:11], s3 offset:4095    ; encoding: [0xff,0x0f,0x08,0xe1,0x00,0x05,0x02,0x03]
+0xff,0x0f,0x08,0xe1,0x00,0x05,0x02,0x03
 
-# 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 v255, off, s[8:11], s3 offset:4095    ; encoding: [0xff,0x0f,0x08,0xe1,0x00,0xff,0x02,0x03]
+0xff,0x0f,0x08,0xe1,0x00,0xff,0x02,0x03
 
-# 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 v5, off, s[12:15], s3 offset:4095    ; encoding: [0xff,0x0f,0x08,0xe1,0x00,0x05,0x03,0x03]
+0xff,0x0f,0x08,0xe1,0x00,0x05,0x03,0x03
 
-# 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 v5, off, s[96:99], s3 offset:4095    ; encoding: [0xff,0x0f,0x08,0xe1,0x00,0x05,0x18,0x03]
+0xff,0x0f,0x08,0xe1,0x00,0x05,0x18,0x03
 
-# 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 v5, off, ttmp[8:11], s3 offset:4095    ; encoding: [0xff,0x0f,0x08,0xe1,0x00,0x05,0x1e,0x03]
+0xff,0x0f,0x08,0xe1,0x00,0x05,0x1e,0x03
 
-# 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 v5, off, s[8:11], s101 offset:4095    ; encoding: [0xff,0x0f,0x08,0xe1,0x00,0x05,0x02,0x65]
+0xff,0x0f,0x08,0xe1,0x00,0x05,0x02,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 v5, off, s[8:11], m0 offset:4095    ; encoding: [0xff,0x0f,0x08,0xe1,0x00,0x05,0x02,0x7c]
+0xff,0x0f,0x08,0xe1,0x00,0x05,0x02,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 v5, off, s[8:11], 0 offset:4095    ; encoding: [0xff,0x0f,0x08,0xe1,0x00,0x05,0x02,0x80]
+0xff,0x0f,0x08,0xe1,0x00,0x05,0x02,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 v5, off, s[8:11], -1 offset:4095    ; encoding: [0xff,0x0f,0x08,0xe1,0x00,0x05,0x02,0xc1]
+0xff,0x0f,0x08,0xe1,0x00,0x05,0x02,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 v5, off, s[8:11], 0.5 offset:4095    ; encoding: [0xff,0x0f,0x08,0xe1,0x00,0x05,0x02,0xf0]
+0xff,0x0f,0x08,0xe1,0x00,0x05,0x02,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 v5, off, s[8:11], -4.0 offset:4095    ; encoding: [0xff,0x0f,0x08,0xe1,0x00,0x05,0x02,0xf7]
+0xff,0x0f,0x08,0xe1,0x00,0x05,0x02,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 v5, v0, s[8:11], s3 idxen offset:4095    ; encoding: [0xff,0x2f,0x08,0xe1,0x00,0x05,0x02,0x03]
+0xff,0x2f,0x08,0xe1,0x00,0x05,0x02,0x03
 
-# 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 v5, v0, s[8:11], s3 offen offset:4095    ; encoding: [0xff,0x1f,0x08,0xe1,0x00,0x05,0x02,0x03]
+0xff,0x1f,0x08,0xe1,0x00,0x05,0x02,0x03
 
-# 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 v5, off, s[8:11], s3    ; encoding: [0x00,0x00,0x08,0xe1,0x00,0x05,0x02,0x03]
+0x00,0x00,0x08,0xe1,0x00,0x05,0x02,0x03
 
-# 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 v5, off, s[8:11], s3 offset:7    ; encoding: [0x07,0x00,0x08,0xe1,0x00,0x05,0x02,0x03]
+0x07,0x00,0x08,0xe1,0x00,0x05,0x02,0x03
 
-# 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 v5, off, s[8:11], s3 offset:4095 glc    ; encoding: [0xff,0x4f,0x08,0xe1,0x00,0x05,0x02,0x03]
+0xff,0x4f,0x08,0xe1,0x00,0x05,0x02,0x03
 
-# 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_add v5, off, s[8:11], s3 offset:4095 slc    ; encoding: [0xff,0x0f,0x0a,0xe1,0x00,0x05,0x02,0x03]
+0xff,0x0f,0x0a,0xe1,0x00,0x05,0x02,0x03
 
-# 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 v5, off, s[8:11], s3 offset:4095    ; encoding: [0xff,0x0f,0x0c,0xe1,0x00,0x05,0x02,0x03]
+0xff,0x0f,0x0c,0xe1,0x00,0x05,0x02,0x03
 
-# 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 v255, off, s[8:11], s3 offset:4095    ; encoding: [0xff,0x0f,0x0c,0xe1,0x00,0xff,0x02,0x03]
+0xff,0x0f,0x0c,0xe1,0x00,0xff,0x02,0x03
 
-# 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 v5, off, s[12:15], s3 offset:4095    ; encoding: [0xff,0x0f,0x0c,0xe1,0x00,0x05,0x03,0x03]
+0xff,0x0f,0x0c,0xe1,0x00,0x05,0x03,0x03
 
-# 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 v5, off, s[96:99], s3 offset:4095    ; encoding: [0xff,0x0f,0x0c,0xe1,0x00,0x05,0x18,0x03]
+0xff,0x0f,0x0c,0xe1,0x00,0x05,0x18,0x03
 
-# 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 v5, off, ttmp[8:11], s3 offset:4095    ; encoding: [0xff,0x0f,0x0c,0xe1,0x00,0x05,0x1e,0x03]
+0xff,0x0f,0x0c,0xe1,0x00,0x05,0x1e,0x03
 
-# 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 v5, off, s[8:11], s101 offset:4095    ; encoding: [0xff,0x0f,0x0c,0xe1,0x00,0x05,0x02,0x65]
+0xff,0x0f,0x0c,0xe1,0x00,0x05,0x02,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 v5, off, s[8:11], m0 offset:4095    ; encoding: [0xff,0x0f,0x0c,0xe1,0x00,0x05,0x02,0x7c]
+0xff,0x0f,0x0c,0xe1,0x00,0x05,0x02,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 v5, off, s[8:11], 0 offset:4095    ; encoding: [0xff,0x0f,0x0c,0xe1,0x00,0x05,0x02,0x80]
+0xff,0x0f,0x0c,0xe1,0x00,0x05,0x02,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 v5, off, s[8:11], -1 offset:4095    ; encoding: [0xff,0x0f,0x0c,0xe1,0x00,0x05,0x02,0xc1]
+0xff,0x0f,0x0c,0xe1,0x00,0x05,0x02,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 v5, off, s[8:11], 0.5 offset:4095    ; encoding: [0xff,0x0f,0x0c,0xe1,0x00,0x05,0x02,0xf0]
+0xff,0x0f,0x0c,0xe1,0x00,0x05,0x02,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 v5, off, s[8:11], -4.0 offset:4095    ; encoding: [0xff,0x0f,0x0c,0xe1,0x00,0x05,0x02,0xf7]
+0xff,0x0f,0x0c,0xe1,0x00,0x05,0x02,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 v5, v0, s[8:11], s3 idxen offset:4095    ; encoding: [0xff,0x2f,0x0c,0xe1,0x00,0x05,0x02,0x03]
+0xff,0x2f,0x0c,0xe1,0x00,0x05,0x02,0x03
 
-# 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 v5, v0, s[8:11], s3 offen offset:4095    ; encoding: [0xff,0x1f,0x0c,0xe1,0x00,0x05,0x02,0x03]
+0xff,0x1f,0x0c,0xe1,0x00,0x05,0x02,0x03
 
-# 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 v5, off, s[8:11], s3    ; encoding: [0x00,0x00,0x0c,0xe1,0x00,0x05,0x02,0x03]
+0x00,0x00,0x0c,0xe1,0x00,0x05,0x02,0x03
 
-# 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 v5, off, s[8:11], s3 offset:7    ; encoding: [0x07,0x00,0x0c,0xe1,0x00,0x05,0x02,0x03]
+0x07,0x00,0x0c,0xe1,0x00,0x05,0x02,0x03
 
-# 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 v5, off, s[8:11], s3 offset:4095 glc    ; encoding: [0xff,0x4f,0x0c,0xe1,0x00,0x05,0x02,0x03]
+0xff,0x4f,0x0c,0xe1,0x00,0x05,0x02,0x03
 
-# 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_sub v5, off, s[8:11], s3 offset:4095 slc    ; encoding: [0xff,0x0f,0x0e,0xe1,0x00,0x05,0x02,0x03]
+0xff,0x0f,0x0e,0xe1,0x00,0x05,0x02,0x03
 
-# 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 v5, off, s[8:11], s3 offset:4095    ; encoding: [0xff,0x0f,0x10,0xe1,0x00,0x05,0x02,0x03]
+0xff,0x0f,0x10,0xe1,0x00,0x05,0x02,0x03
 
-# 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 v255, off, s[8:11], s3 offset:4095    ; encoding: [0xff,0x0f,0x10,0xe1,0x00,0xff,0x02,0x03]
+0xff,0x0f,0x10,0xe1,0x00,0xff,0x02,0x03
 
-# 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 v5, off, s[12:15], s3 offset:4095    ; encoding: [0xff,0x0f,0x10,0xe1,0x00,0x05,0x03,0x03]
+0xff,0x0f,0x10,0xe1,0x00,0x05,0x03,0x03
 
-# 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 v5, off, s[96:99], s3 offset:4095    ; encoding: [0xff,0x0f,0x10,0xe1,0x00,0x05,0x18,0x03]
+0xff,0x0f,0x10,0xe1,0x00,0x05,0x18,0x03
 
-# 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 v5, off, ttmp[8:11], s3 offset:4095    ; encoding: [0xff,0x0f,0x10,0xe1,0x00,0x05,0x1e,0x03]
+0xff,0x0f,0x10,0xe1,0x00,0x05,0x1e,0x03
 
-# 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 v5, off, s[8:11], s101 offset:4095    ; encoding: [0xff,0x0f,0x10,0xe1,0x00,0x05,0x02,0x65]
+0xff,0x0f,0x10,0xe1,0x00,0x05,0x02,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 v5, off, s[8:11], m0 offset:4095    ; encoding: [0xff,0x0f,0x10,0xe1,0x00,0x05,0x02,0x7c]
+0xff,0x0f,0x10,0xe1,0x00,0x05,0x02,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 v5, off, s[8:11], 0 offset:4095    ; encoding: [0xff,0x0f,0x10,0xe1,0x00,0x05,0x02,0x80]
+0xff,0x0f,0x10,0xe1,0x00,0x05,0x02,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 v5, off, s[8:11], -1 offset:4095    ; encoding: [0xff,0x0f,0x10,0xe1,0x00,0x05,0x02,0xc1]
+0xff,0x0f,0x10,0xe1,0x00,0x05,0x02,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 v5, off, s[8:11], 0.5 offset:4095    ; encoding: [0xff,0x0f,0x10,0xe1,0x00,0x05,0x02,0xf0]
+0xff,0x0f,0x10,0xe1,0x00,0x05,0x02,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 v5, off, s[8:11], -4.0 offset:4095    ; encoding: [0xff,0x0f,0x10,0xe1,0x00,0x05,0x02,0xf7]
+0xff,0x0f,0x10,0xe1,0x00,0x05,0x02,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 v5, v0, s[8:11], s3 idxen offset:4095    ; encoding: [0xff,0x2f,0x10,0xe1,0x00,0x05,0x02,0x03]
+0xff,0x2f,0x10,0xe1,0x00,0x05,0x02,0x03
 
-# 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 v5, v0, s[8:11], s3 offen offset:4095    ; encoding: [0xff,0x1f,0x10,0xe1,0x00,0x05,0x02,0x03]
+0xff,0x1f,0x10,0xe1,0x00,0x05,0x02,0x03
 
-# 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 v5, off, s[8:11], s3    ; encoding: [0x00,0x00,0x10,0xe1,0x00,0x05,0x02,0x03]
+0x00,0x00,0x10,0xe1,0x00,0x05,0x02,0x03
 
-# 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 v5, off, s[8:11], s3 offset:7    ; encoding: [0x07,0x00,0x10,0xe1,0x00,0x05,0x02,0x03]
+0x07,0x00,0x10,0xe1,0x00,0x05,0x02,0x03
 
-# 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 v5, off, s[8:11], s3 offset:4095 glc    ; encoding: [0xff,0x4f,0x10,0xe1,0x00,0x05,0x02,0x03]
+0xff,0x4f,0x10,0xe1,0x00,0x05,0x02,0x03
 
-# 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_smin v5, off, s[8:11], s3 offset:4095 slc    ; encoding: [0xff,0x0f,0x12,0xe1,0x00,0x05,0x02,0x03]
+0xff,0x0f,0x12,0xe1,0x00,0x05,0x02,0x03
 
-# 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 v5, off, s[8:11], s3 offset:4095    ; encoding: [0xff,0x0f,0x14,0xe1,0x00,0x05,0x02,0x03]
+0xff,0x0f,0x14,0xe1,0x00,0x05,0x02,0x03
 
-# 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 v255, off, s[8:11], s3 offset:4095    ; encoding: [0xff,0x0f,0x14,0xe1,0x00,0xff,0x02,0x03]
+0xff,0x0f,0x14,0xe1,0x00,0xff,0x02,0x03
 
-# 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 v5, off, s[12:15], s3 offset:4095    ; encoding: [0xff,0x0f,0x14,0xe1,0x00,0x05,0x03,0x03]
+0xff,0x0f,0x14,0xe1,0x00,0x05,0x03,0x03
 
-# 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 v5, off, s[96:99], s3 offset:4095    ; encoding: [0xff,0x0f,0x14,0xe1,0x00,0x05,0x18,0x03]
+0xff,0x0f,0x14,0xe1,0x00,0x05,0x18,0x03
 
-# 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 v5, off, ttmp[8:11], s3 offset:4095    ; encoding: [0xff,0x0f,0x14,0xe1,0x00,0x05,0x1e,0x03]
+0xff,0x0f,0x14,0xe1,0x00,0x05,0x1e,0x03
 
-# 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 v5, off, s[8:11], s101 offset:4095    ; encoding: [0xff,0x0f,0x14,0xe1,0x00,0x05,0x02,0x65]
+0xff,0x0f,0x14,0xe1,0x00,0x05,0x02,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 v5, off, s[8:11], m0 offset:4095    ; encoding: [0xff,0x0f,0x14,0xe1,0x00,0x05,0x02,0x7c]
+0xff,0x0f,0x14,0xe1,0x00,0x05,0x02,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 v5, off, s[8:11], 0 offset:4095    ; encoding: [0xff,0x0f,0x14,0xe1,0x00,0x05,0x02,0x80]
+0xff,0x0f,0x14,0xe1,0x00,0x05,0x02,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 v5, off, s[8:11], -1 offset:4095    ; encoding: [0xff,0x0f,0x14,0xe1,0x00,0x05,0x02,0xc1]
+0xff,0x0f,0x14,0xe1,0x00,0x05,0x02,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 v5, off, s[8:11], 0.5 offset:4095    ; encoding: [0xff,0x0f,0x14,0xe1,0x00,0x05,0x02,0xf0]
+0xff,0x0f,0x14,0xe1,0x00,0x05,0x02,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 v5, off, s[8:11], -4.0 offset:4095    ; encoding: [0xff,0x0f,0x14,0xe1,0x00,0x05,0x02,0xf7]
+0xff,0x0f,0x14,0xe1,0x00,0x05,0x02,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 v5, v0, s[8:11], s3 idxen offset:4095    ; encoding: [0xff,0x2f,0x14,0xe1,0x00,0x05,0x02,0x03]
+0xff,0x2f,0x14,0xe1,0x00,0x05,0x02,0x03
 
-# 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 v5, v0, s[8:11], s3 offen offset:4095    ; encoding: [0xff,0x1f,0x14,0xe1,0x00,0x05,0x02,0x03]
+0xff,0x1f,0x14,0xe1,0x00,0x05,0x02,0x03
 
-# 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 v5, off, s[8:11], s3    ; encoding: [0x00,0x00,0x14,0xe1,0x00,0x05,0x02,0x03]
+0x00,0x00,0x14,0xe1,0x00,0x05,0x02,0x03
 
-# 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 v5, off, s[8:11], s3 offset:7    ; encoding: [0x07,0x00,0x14,0xe1,0x00,0x05,0x02,0x03]
+0x07,0x00,0x14,0xe1,0x00,0x05,0x02,0x03
 
-# 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 v5, off, s[8:11], s3 offset:4095 glc    ; encoding: [0xff,0x4f,0x14,0xe1,0x00,0x05,0x02,0x03]
+0xff,0x4f,0x14,0xe1,0x00,0x05,0x02,0x03
 
-# 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_umin v5, off, s[8:11], s3 offset:4095 slc    ; encoding: [0xff,0x0f,0x16,0xe1,0x00,0x05,0x02,0x03]
+0xff,0x0f,0x16,0xe1,0x00,0x05,0x02,0x03
 
-# 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 v5, off, s[8:11], s3 offset:4095    ; encoding: [0xff,0x0f,0x18,0xe1,0x00,0x05,0x02,0x03]
+0xff,0x0f,0x18,0xe1,0x00,0x05,0x02,0x03
 
-# 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 v255, off, s[8:11], s3 offset:4095    ; encoding: [0xff,0x0f,0x18,0xe1,0x00,0xff,0x02,0x03]
+0xff,0x0f,0x18,0xe1,0x00,0xff,0x02,0x03
 
-# 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 v5, off, s[12:15], s3 offset:4095    ; encoding: [0xff,0x0f,0x18,0xe1,0x00,0x05,0x03,0x03]
+0xff,0x0f,0x18,0xe1,0x00,0x05,0x03,0x03
 
-# 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 v5, off, s[96:99], s3 offset:4095    ; encoding: [0xff,0x0f,0x18,0xe1,0x00,0x05,0x18,0x03]
+0xff,0x0f,0x18,0xe1,0x00,0x05,0x18,0x03
 
-# 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 v5, off, ttmp[8:11], s3 offset:4095    ; encoding: [0xff,0x0f,0x18,0xe1,0x00,0x05,0x1e,0x03]
+0xff,0x0f,0x18,0xe1,0x00,0x05,0x1e,0x03
 
-# 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 v5, off, s[8:11], s101 offset:4095    ; encoding: [0xff,0x0f,0x18,0xe1,0x00,0x05,0x02,0x65]
+0xff,0x0f,0x18,0xe1,0x00,0x05,0x02,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 v5, off, s[8:11], m0 offset:4095    ; encoding: [0xff,0x0f,0x18,0xe1,0x00,0x05,0x02,0x7c]
+0xff,0x0f,0x18,0xe1,0x00,0x05,0x02,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 v5, off, s[8:11], 0 offset:4095    ; encoding: [0xff,0x0f,0x18,0xe1,0x00,0x05,0x02,0x80]
+0xff,0x0f,0x18,0xe1,0x00,0x05,0x02,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 v5, off, s[8:11], -1 offset:4095    ; encoding: [0xff,0x0f,0x18,0xe1,0x00,0x05,0x02,0xc1]
+0xff,0x0f,0x18,0xe1,0x00,0x05,0x02,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 v5, off, s[8:11], 0.5 offset:4095    ; encoding: [0xff,0x0f,0x18,0xe1,0x00,0x05,0x02,0xf0]
+0xff,0x0f,0x18,0xe1,0x00,0x05,0x02,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 v5, off, s[8:11], -4.0 offset:4095    ; encoding: [0xff,0x0f,0x18,0xe1,0x00,0x05,0x02,0xf7]
+0xff,0x0f,0x18,0xe1,0x00,0x05,0x02,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 v5, v0, s[8:11], s3 idxen offset:4095    ; encoding: [0xff,0x2f,0x18,0xe1,0x00,0x05,0x02,0x03]
+0xff,0x2f,0x18,0xe1,0x00,0x05,0x02,0x03
 
-# 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 v5, v0, s[8:11], s3 offen offset:4095    ; encoding: [0xff,0x1f,0x18,0xe1,0x00,0x05,0x02,0x03]
+0xff,0x1f,0x18,0xe1,0x00,0x05,0x02,0x03
 
-# 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 v5, off, s[8:11], s3    ; encoding: [0x00,0x00,0x18,0xe1,0x00,0x05,0x02,0x03]
+0x00,0x00,0x18,0xe1,0x00,0x05,0x02,0x03
 
-# 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 v5, off, s[8:11], s3 offset:7    ; encoding: [0x07,0x00,0x18,0xe1,0x00,0x05,0x02,0x03]
+0x07,0x00,0x18,0xe1,0x00,0x05,0x02,0x03
 
-# 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 v5, off, s[8:11], s3 offset:4095 glc    ; encoding: [0xff,0x4f,0x18,0xe1,0x00,0x05,0x02,0x03]
+0xff,0x4f,0x18,0xe1,0x00,0x05,0x02,0x03
 
-# 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_smax v5, off, s[8:11], s3 offset:4095 slc    ; encoding: [0xff,0x0f,0x1a,0xe1,0x00,0x05,0x02,0x03]
+0xff,0x0f,0x1a,0xe1,0x00,0x05,0x02,0x03
 
-# 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 v5, off, s[8:11], s3 offset:4095    ; encoding: [0xff,0x0f,0x1c,0xe1,0x00,0x05,0x02,0x03]
+0xff,0x0f,0x1c,0xe1,0x00,0x05,0x02,0x03
 
-# 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 v255, off, s[8:11], s3 offset:4095    ; encoding: [0xff,0x0f,0x1c,0xe1,0x00,0xff,0x02,0x03]
+0xff,0x0f,0x1c,0xe1,0x00,0xff,0x02,0x03
 
-# 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 v5, off, s[12:15], s3 offset:4095    ; encoding: [0xff,0x0f,0x1c,0xe1,0x00,0x05,0x03,0x03]
+0xff,0x0f,0x1c,0xe1,0x00,0x05,0x03,0x03
 
-# 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 v5, off, s[96:99], s3 offset:4095    ; encoding: [0xff,0x0f,0x1c,0xe1,0x00,0x05,0x18,0x03]
+0xff,0x0f,0x1c,0xe1,0x00,0x05,0x18,0x03
 
-# 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 v5, off, ttmp[8:11], s3 offset:4095    ; encoding: [0xff,0x0f,0x1c,0xe1,0x00,0x05,0x1e,0x03]
+0xff,0x0f,0x1c,0xe1,0x00,0x05,0x1e,0x03
 
-# 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 v5, off, s[8:11], s101 offset:4095    ; encoding: [0xff,0x0f,0x1c,0xe1,0x00,0x05,0x02,0x65]
+0xff,0x0f,0x1c,0xe1,0x00,0x05,0x02,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 v5, off, s[8:11], m0 offset:4095    ; encoding: [0xff,0x0f,0x1c,0xe1,0x00,0x05,0x02,0x7c]
+0xff,0x0f,0x1c,0xe1,0x00,0x05,0x02,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 v5, off, s[8:11], 0 offset:4095    ; encoding: [0xff,0x0f,0x1c,0xe1,0x00,0x05,0x02,0x80]
+0xff,0x0f,0x1c,0xe1,0x00,0x05,0x02,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 v5, off, s[8:11], -1 offset:4095    ; encoding: [0xff,0x0f,0x1c,0xe1,0x00,0x05,0x02,0xc1]
+0xff,0x0f,0x1c,0xe1,0x00,0x05,0x02,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 v5, off, s[8:11], 0.5 offset:4095    ; encoding: [0xff,0x0f,0x1c,0xe1,0x00,0x05,0x02,0xf0]
+0xff,0x0f,0x1c,0xe1,0x00,0x05,0x02,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 v5, off, s[8:11], -4.0 offset:4095    ; encoding: [0xff,0x0f,0x1c,0xe1,0x00,0x05,0x02,0xf7]
+0xff,0x0f,0x1c,0xe1,0x00,0x05,0x02,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 v5, v0, s[8:11], s3 idxen offset:4095    ; encoding: [0xff,0x2f,0x1c,0xe1,0x00,0x05,0x02,0x03]
+0xff,0x2f,0x1c,0xe1,0x00,0x05,0x02,0x03
 
-# 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 v5, v0, s[8:11], s3 offen offset:4095    ; encoding: [0xff,0x1f,0x1c,0xe1,0x00,0x05,0x02,0x03]
+0xff,0x1f,0x1c,0xe1,0x00,0x05,0x02,0x03
 
-# 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 v5, off, s[8:11], s3    ; encoding: [0x00,0x00,0x1c,0xe1,0x00,0x05,0x02,0x03]
+0x00,0x00,0x1c,0xe1,0x00,0x05,0x02,0x03
 
-# 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 v5, off, s[8:11], s3 offset:7    ; encoding: [0x07,0x00,0x1c,0xe1,0x00,0x05,0x02,0x03]
+0x07,0x00,0x1c,0xe1,0x00,0x05,0x02,0x03
 
-# 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 v5, off, s[8:11], s3 offset:4095 glc    ; encoding: [0xff,0x4f,0x1c,0xe1,0x00,0x05,0x02,0x03]
+0xff,0x4f,0x1c,0xe1,0x00,0x05,0x02,0x03
 
-# 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_umax v5, off, s[8:11], s3 offset:4095 slc    ; encoding: [0xff,0x0f,0x1e,0xe1,0x00,0x05,0x02,0x03]
+0xff,0x0f,0x1e,0xe1,0x00,0x05,0x02,0x03
 
-# 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 v5, off, s[8:11], s3 offset:4095    ; encoding: [0xff,0x0f,0x20,0xe1,0x00,0x05,0x02,0x03]
+0xff,0x0f,0x20,0xe1,0x00,0x05,0x02,0x03
 
-# 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 v255, off, s[8:11], s3 offset:4095    ; encoding: [0xff,0x0f,0x20,0xe1,0x00,0xff,0x02,0x03]
+0xff,0x0f,0x20,0xe1,0x00,0xff,0x02,0x03
 
-# 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 v5, off, s[12:15], s3 offset:4095    ; encoding: [0xff,0x0f,0x20,0xe1,0x00,0x05,0x03,0x03]
+0xff,0x0f,0x20,0xe1,0x00,0x05,0x03,0x03
 
-# 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 v5, off, s[96:99], s3 offset:4095    ; encoding: [0xff,0x0f,0x20,0xe1,0x00,0x05,0x18,0x03]
+0xff,0x0f,0x20,0xe1,0x00,0x05,0x18,0x03
 
-# 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 v5, off, ttmp[8:11], s3 offset:4095    ; encoding: [0xff,0x0f,0x20,0xe1,0x00,0x05,0x1e,0x03]
+0xff,0x0f,0x20,0xe1,0x00,0x05,0x1e,0x03
 
-# 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 v5, off, s[8:11], s101 offset:4095    ; encoding: [0xff,0x0f,0x20,0xe1,0x00,0x05,0x02,0x65]
+0xff,0x0f,0x20,0xe1,0x00,0x05,0x02,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 v5, off, s[8:11], m0 offset:4095    ; encoding: [0xff,0x0f,0x20,0xe1,0x00,0x05,0x02,0x7c]
+0xff,0x0f,0x20,0xe1,0x00,0x05,0x02,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 v5, off, s[8:11], 0 offset:4095    ; encoding: [0xff,0x0f,0x20,0xe1,0x00,0x05,0x02,0x80]
+0xff,0x0f,0x20,0xe1,0x00,0x05,0x02,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 v5, off, s[8:11], -1 offset:4095    ; encoding: [0xff,0x0f,0x20,0xe1,0x00,0x05,0x02,0xc1]
+0xff,0x0f,0x20,0xe1,0x00,0x05,0x02,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 v5, off, s[8:11], 0.5 offset:4095    ; encoding: [0xff,0x0f,0x20,0xe1,0x00,0x05,0x02,0xf0]
+0xff,0x0f,0x20,0xe1,0x00,0x05,0x02,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 v5, off, s[8:11], -4.0 offset:4095    ; encoding: [0xff,0x0f,0x20,0xe1,0x00,0x05,0x02,0xf7]
+0xff,0x0f,0x20,0xe1,0x00,0x05,0x02,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 v5, v0, s[8:11], s3 idxen offset:4095    ; encoding: [0xff,0x2f,0x20,0xe1,0x00,0x05,0x02,0x03]
+0xff,0x2f,0x20,0xe1,0x00,0x05,0x02,0x03
 
-# 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 v5, v0, s[8:11], s3 offen offset:4095    ; encoding: [0xff,0x1f,0x20,0xe1,0x00,0x05,0x02,0x03]
+0xff,0x1f,0x20,0xe1,0x00,0x05,0x02,0x03
 
-# 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 v5, off, s[8:11], s3    ; encoding: [0x00,0x00,0x20,0xe1,0x00,0x05,0x02,0x03]
+0x00,0x00,0x20,0xe1,0x00,0x05,0x02,0x03
 
-# 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 v5, off, s[8:11], s3 offset:7    ; encoding: [0x07,0x00,0x20,0xe1,0x00,0x05,0x02,0x03]
+0x07,0x00,0x20,0xe1,0x00,0x05,0x02,0x03
 
-# 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 v5, off, s[8:11], s3 offset:4095 glc    ; encoding: [0xff,0x4f,0x20,0xe1,0x00,0x05,0x02,0x03]
+0xff,0x4f,0x20,0xe1,0x00,0x05,0x02,0x03
 
-# 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_and v5, off, s[8:11], s3 offset:4095 slc    ; encoding: [0xff,0x0f,0x22,0xe1,0x00,0x05,0x02,0x03]
+0xff,0x0f,0x22,0xe1,0x00,0x05,0x02,0x03
 
-# 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 v5, off, s[8:11], s3 offset:4095    ; encoding: [0xff,0x0f,0x24,0xe1,0x00,0x05,0x02,0x03]
+0xff,0x0f,0x24,0xe1,0x00,0x05,0x02,0x03
 
-# 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 v255, off, s[8:11], s3 offset:4095    ; encoding: [0xff,0x0f,0x24,0xe1,0x00,0xff,0x02,0x03]
+0xff,0x0f,0x24,0xe1,0x00,0xff,0x02,0x03
 
-# 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 v5, off, s[12:15], s3 offset:4095    ; encoding: [0xff,0x0f,0x24,0xe1,0x00,0x05,0x03,0x03]
+0xff,0x0f,0x24,0xe1,0x00,0x05,0x03,0x03
 
-# 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 v5, off, s[96:99], s3 offset:4095    ; encoding: [0xff,0x0f,0x24,0xe1,0x00,0x05,0x18,0x03]
+0xff,0x0f,0x24,0xe1,0x00,0x05,0x18,0x03
 
-# 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 v5, off, ttmp[8:11], s3 offset:4095    ; encoding: [0xff,0x0f,0x24,0xe1,0x00,0x05,0x1e,0x03]
+0xff,0x0f,0x24,0xe1,0x00,0x05,0x1e,0x03
 
-# 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 v5, off, s[8:11], s101 offset:4095    ; encoding: [0xff,0x0f,0x24,0xe1,0x00,0x05,0x02,0x65]
+0xff,0x0f,0x24,0xe1,0x00,0x05,0x02,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 v5, off, s[8:11], m0 offset:4095    ; encoding: [0xff,0x0f,0x24,0xe1,0x00,0x05,0x02,0x7c]
+0xff,0x0f,0x24,0xe1,0x00,0x05,0x02,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 v5, off, s[8:11], 0 offset:4095    ; encoding: [0xff,0x0f,0x24,0xe1,0x00,0x05,0x02,0x80]
+0xff,0x0f,0x24,0xe1,0x00,0x05,0x02,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 v5, off, s[8:11], -1 offset:4095    ; encoding: [0xff,0x0f,0x24,0xe1,0x00,0x05,0x02,0xc1]
+0xff,0x0f,0x24,0xe1,0x00,0x05,0x02,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 v5, off, s[8:11], 0.5 offset:4095    ; encoding: [0xff,0x0f,0x24,0xe1,0x00,0x05,0x02,0xf0]
+0xff,0x0f,0x24,0xe1,0x00,0x05,0x02,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 v5, off, s[8:11], -4.0 offset:4095    ; encoding: [0xff,0x0f,0x24,0xe1,0x00,0x05,0x02,0xf7]
+0xff,0x0f,0x24,0xe1,0x00,0x05,0x02,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 v5, v0, s[8:11], s3 idxen offset:4095    ; encoding: [0xff,0x2f,0x24,0xe1,0x00,0x05,0x02,0x03]
+0xff,0x2f,0x24,0xe1,0x00,0x05,0x02,0x03
 
-# 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 v5, v0, s[8:11], s3 offen offset:4095    ; encoding: [0xff,0x1f,0x24,0xe1,0x00,0x05,0x02,0x03]
+0xff,0x1f,0x24,0xe1,0x00,0x05,0x02,0x03
 
-# 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 v5, off, s[8:11], s3    ; encoding: [0x00,0x00,0x24,0xe1,0x00,0x05,0x02,0x03]
+0x00,0x00,0x24,0xe1,0x00,0x05,0x02,0x03
 
-# 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 v5, off, s[8:11], s3 offset:7    ; encoding: [0x07,0x00,0x24,0xe1,0x00,0x05,0x02,0x03]
+0x07,0x00,0x24,0xe1,0x00,0x05,0x02,0x03
 
-# 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 v5, off, s[8:11], s3 offset:4095 glc    ; encoding: [0xff,0x4f,0x24,0xe1,0x00,0x05,0x02,0x03]
+0xff,0x4f,0x24,0xe1,0x00,0x05,0x02,0x03
 
-# 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_or v5, off, s[8:11], s3 offset:4095 slc    ; encoding: [0xff,0x0f,0x26,0xe1,0x00,0x05,0x02,0x03]
+0xff,0x0f,0x26,0xe1,0x00,0x05,0x02,0x03
 
-# 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 v5, off, s[8:11], s3 offset:4095    ; encoding: [0xff,0x0f,0x28,0xe1,0x00,0x05,0x02,0x03]
+0xff,0x0f,0x28,0xe1,0x00,0x05,0x02,0x03
 
-# 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 v255, off, s[8:11], s3 offset:4095    ; encoding: [0xff,0x0f,0x28,0xe1,0x00,0xff,0x02,0x03]
+0xff,0x0f,0x28,0xe1,0x00,0xff,0x02,0x03
 
-# 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 v5, off, s[12:15], s3 offset:4095    ; encoding: [0xff,0x0f,0x28,0xe1,0x00,0x05,0x03,0x03]
+0xff,0x0f,0x28,0xe1,0x00,0x05,0x03,0x03
 
-# 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 v5, off, s[96:99], s3 offset:4095    ; encoding: [0xff,0x0f,0x28,0xe1,0x00,0x05,0x18,0x03]
+0xff,0x0f,0x28,0xe1,0x00,0x05,0x18,0x03
 
-# 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 v5, off, ttmp[8:11], s3 offset:4095    ; encoding: [0xff,0x0f,0x28,0xe1,0x00,0x05,0x1e,0x03]
+0xff,0x0f,0x28,0xe1,0x00,0x05,0x1e,0x03
 
-# 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 v5, off, s[8:11], s101 offset:4095    ; encoding: [0xff,0x0f,0x28,0xe1,0x00,0x05,0x02,0x65]
+0xff,0x0f,0x28,0xe1,0x00,0x05,0x02,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 v5, off, s[8:11], m0 offset:4095    ; encoding: [0xff,0x0f,0x28,0xe1,0x00,0x05,0x02,0x7c]
+0xff,0x0f,0x28,0xe1,0x00,0x05,0x02,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 v5, off, s[8:11], 0 offset:4095    ; encoding: [0xff,0x0f,0x28,0xe1,0x00,0x05,0x02,0x80]
+0xff,0x0f,0x28,0xe1,0x00,0x05,0x02,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 v5, off, s[8:11], -1 offset:4095    ; encoding: [0xff,0x0f,0x28,0xe1,0x00,0x05,0x02,0xc1]
+0xff,0x0f,0x28,0xe1,0x00,0x05,0x02,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 v5, off, s[8:11], 0.5 offset:4095    ; encoding: [0xff,0x0f,0x28,0xe1,0x00,0x05,0x02,0xf0]
+0xff,0x0f,0x28,0xe1,0x00,0x05,0x02,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 v5, off, s[8:11], -4.0 offset:4095    ; encoding: [0xff,0x0f,0x28,0xe1,0x00,0x05,0x02,0xf7]
+0xff,0x0f,0x28,0xe1,0x00,0x05,0x02,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 v5, v0, s[8:11], s3 idxen offset:4095    ; encoding: [0xff,0x2f,0x28,0xe1,0x00,0x05,0x02,0x03]
+0xff,0x2f,0x28,0xe1,0x00,0x05,0x02,0x03
 
-# 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 v5, v0, s[8:11], s3 offen offset:4095    ; encoding: [0xff,0x1f,0x28,0xe1,0x00,0x05,0x02,0x03]
+0xff,0x1f,0x28,0xe1,0x00,0x05,0x02,0x03
 
-# 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 v5, off, s[8:11], s3    ; encoding: [0x00,0x00,0x28,0xe1,0x00,0x05,0x02,0x03]
+0x00,0x00,0x28,0xe1,0x00,0x05,0x02,0x03
 
-# 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 v5, off, s[8:11], s3 offset:7    ; encoding: [0x07,0x00,0x28,0xe1,0x00,0x05,0x02,0x03]
+0x07,0x00,0x28,0xe1,0x00,0x05,0x02,0x03
 
-# 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 v5, off, s[8:11], s3 offset:4095 glc    ; encoding: [0xff,0x4f,0x28,0xe1,0x00,0x05,0x02,0x03]
+0xff,0x4f,0x28,0xe1,0x00,0x05,0x02,0x03
 
-# 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_xor v5, off, s[8:11], s3 offset:4095 slc    ; encoding: [0xff,0x0f,0x2a,0xe1,0x00,0x05,0x02,0x03]
+0xff,0x0f,0x2a,0xe1,0x00,0x05,0x02,0x03
 
-# 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 v5, off, s[8:11], s3 offset:4095    ; encoding: [0xff,0x0f,0x2c,0xe1,0x00,0x05,0x02,0x03]
+0xff,0x0f,0x2c,0xe1,0x00,0x05,0x02,0x03
 
-# 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 v255, off, s[8:11], s3 offset:4095    ; encoding: [0xff,0x0f,0x2c,0xe1,0x00,0xff,0x02,0x03]
+0xff,0x0f,0x2c,0xe1,0x00,0xff,0x02,0x03
 
-# 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 v5, off, s[12:15], s3 offset:4095    ; encoding: [0xff,0x0f,0x2c,0xe1,0x00,0x05,0x03,0x03]
+0xff,0x0f,0x2c,0xe1,0x00,0x05,0x03,0x03
 
-# 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 v5, off, s[96:99], s3 offset:4095    ; encoding: [0xff,0x0f,0x2c,0xe1,0x00,0x05,0x18,0x03]
+0xff,0x0f,0x2c,0xe1,0x00,0x05,0x18,0x03
 
-# 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 v5, off, ttmp[8:11], s3 offset:4095    ; encoding: [0xff,0x0f,0x2c,0xe1,0x00,0x05,0x1e,0x03]
+0xff,0x0f,0x2c,0xe1,0x00,0x05,0x1e,0x03
 
-# 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 v5, off, s[8:11], s101 offset:4095    ; encoding: [0xff,0x0f,0x2c,0xe1,0x00,0x05,0x02,0x65]
+0xff,0x0f,0x2c,0xe1,0x00,0x05,0x02,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 v5, off, s[8:11], m0 offset:4095    ; encoding: [0xff,0x0f,0x2c,0xe1,0x00,0x05,0x02,0x7c]
+0xff,0x0f,0x2c,0xe1,0x00,0x05,0x02,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 v5, off, s[8:11], 0 offset:4095    ; encoding: [0xff,0x0f,0x2c,0xe1,0x00,0x05,0x02,0x80]
+0xff,0x0f,0x2c,0xe1,0x00,0x05,0x02,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 v5, off, s[8:11], -1 offset:4095    ; encoding: [0xff,0x0f,0x2c,0xe1,0x00,0x05,0x02,0xc1]
+0xff,0x0f,0x2c,0xe1,0x00,0x05,0x02,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 v5, off, s[8:11], 0.5 offset:4095    ; encoding: [0xff,0x0f,0x2c,0xe1,0x00,0x05,0x02,0xf0]
+0xff,0x0f,0x2c,0xe1,0x00,0x05,0x02,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 v5, off, s[8:11], -4.0 offset:4095    ; encoding: [0xff,0x0f,0x2c,0xe1,0x00,0x05,0x02,0xf7]
+0xff,0x0f,0x2c,0xe1,0x00,0x05,0x02,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 v5, v0, s[8:11], s3 idxen offset:4095    ; encoding: [0xff,0x2f,0x2c,0xe1,0x00,0x05,0x02,0x03]
+0xff,0x2f,0x2c,0xe1,0x00,0x05,0x02,0x03
 
-# 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 v5, v0, s[8:11], s3 offen offset:4095    ; encoding: [0xff,0x1f,0x2c,0xe1,0x00,0x05,0x02,0x03]
+0xff,0x1f,0x2c,0xe1,0x00,0x05,0x02,0x03
 
-# 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 v5, off, s[8:11], s3    ; encoding: [0x00,0x00,0x2c,0xe1,0x00,0x05,0x02,0x03]
+0x00,0x00,0x2c,0xe1,0x00,0x05,0x02,0x03
 
-# 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 v5, off, s[8:11], s3 offset:7    ; encoding: [0x07,0x00,0x2c,0xe1,0x00,0x05,0x02,0x03]
+0x07,0x00,0x2c,0xe1,0x00,0x05,0x02,0x03
 
-# 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 v5, off, s[8:11], s3 offset:4095 glc    ; encoding: [0xff,0x4f,0x2c,0xe1,0x00,0x05,0x02,0x03]
+0xff,0x4f,0x2c,0xe1,0x00,0x05,0x02,0x03
 
-# 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_inc v5, off, s[8:11], s3 offset:4095 slc    ; encoding: [0xff,0x0f,0x2e,0xe1,0x00,0x05,0x02,0x03]
+0xff,0x0f,0x2e,0xe1,0x00,0x05,0x02,0x03
 
-# 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 v5, off, s[8:11], s3 offset:4095    ; encoding: [0xff,0x0f,0x30,0xe1,0x00,0x05,0x02,0x03]
+0xff,0x0f,0x30,0xe1,0x00,0x05,0x02,0x03
 
-# 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 v255, off, s[8:11], s3 offset:4095    ; encoding: [0xff,0x0f,0x30,0xe1,0x00,0xff,0x02,0x03]
+0xff,0x0f,0x30,0xe1,0x00,0xff,0x02,0x03
 
-# 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 v5, off, s[12:15], s3 offset:4095    ; encoding: [0xff,0x0f,0x30,0xe1,0x00,0x05,0x03,0x03]
+0xff,0x0f,0x30,0xe1,0x00,0x05,0x03,0x03
 
-# 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 v5, off, s[96:99], s3 offset:4095    ; encoding: [0xff,0x0f,0x30,0xe1,0x00,0x05,0x18,0x03]
+0xff,0x0f,0x30,0xe1,0x00,0x05,0x18,0x03
 
-# 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 v5, off, ttmp[8:11], s3 offset:4095    ; encoding: [0xff,0x0f,0x30,0xe1,0x00,0x05,0x1e,0x03]
+0xff,0x0f,0x30,0xe1,0x00,0x05,0x1e,0x03
 
-# 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 v5, off, s[8:11], s101 offset:4095    ; encoding: [0xff,0x0f,0x30,0xe1,0x00,0x05,0x02,0x65]
+0xff,0x0f,0x30,0xe1,0x00,0x05,0x02,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 v5, off, s[8:11], m0 offset:4095    ; encoding: [0xff,0x0f,0x30,0xe1,0x00,0x05,0x02,0x7c]
+0xff,0x0f,0x30,0xe1,0x00,0x05,0x02,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 v5, off, s[8:11], 0 offset:4095    ; encoding: [0xff,0x0f,0x30,0xe1,0x00,0x05,0x02,0x80]
+0xff,0x0f,0x30,0xe1,0x00,0x05,0x02,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 v5, off, s[8:11], -1 offset:4095    ; encoding: [0xff,0x0f,0x30,0xe1,0x00,0x05,0x02,0xc1]
+0xff,0x0f,0x30,0xe1,0x00,0x05,0x02,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 v5, off, s[8:11], 0.5 offset:4095    ; encoding: [0xff,0x0f,0x30,0xe1,0x00,0x05,0x02,0xf0]
+0xff,0x0f,0x30,0xe1,0x00,0x05,0x02,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 v5, off, s[8:11], -4.0 offset:4095    ; encoding: [0xff,0x0f,0x30,0xe1,0x00,0x05,0x02,0xf7]
+0xff,0x0f,0x30,0xe1,0x00,0x05,0x02,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 v5, v0, s[8:11], s3 idxen offset:4095    ; encoding: [0xff,0x2f,0x30,0xe1,0x00,0x05,0x02,0x03]
+0xff,0x2f,0x30,0xe1,0x00,0x05,0x02,0x03
 
-# 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 v5, v0, s[8:11], s3 offen offset:4095    ; encoding: [0xff,0x1f,0x30,0xe1,0x00,0x05,0x02,0x03]
+0xff,0x1f,0x30,0xe1,0x00,0x05,0x02,0x03
 
-# 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 v5, off, s[8:11], s3    ; encoding: [0x00,0x00,0x30,0xe1,0x00,0x05,0x02,0x03]
+0x00,0x00,0x30,0xe1,0x00,0x05,0x02,0x03
 
-# 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 v5, off, s[8:11], s3 offset:7    ; encoding: [0x07,0x00,0x30,0xe1,0x00,0x05,0x02,0x03]
+0x07,0x00,0x30,0xe1,0x00,0x05,0x02,0x03
 
-# 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 v5, off, s[8:11], s3 offset:4095 glc    ; encoding: [0xff,0x4f,0x30,0xe1,0x00,0x05,0x02,0x03]
+0xff,0x4f,0x30,0xe1,0x00,0x05,0x02,0x03
 
-# 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_dec v5, off, s[8:11], s3 offset:4095 slc    ; encoding: [0xff,0x0f,0x32,0xe1,0x00,0x05,0x02,0x03]
+0xff,0x0f,0x32,0xe1,0x00,0x05,0x02,0x03
 
-# 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[5:6], off, s[8:11], s3 offset:4095    ; encoding: [0xff,0x0f,0x80,0xe1,0x00,0x05,0x02,0x03]
+0xff,0x0f,0x80,0xe1,0x00,0x05,0x02,0x03
 
-# 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[254:255], off, s[8:11], s3 offset:4095    ; encoding: [0xff,0x0f,0x80,0xe1,0x00,0xfe,0x02,0x03]
+0xff,0x0f,0x80,0xe1,0x00,0xfe,0x02,0x03
 
-# 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[5:6], off, s[12:15], s3 offset:4095    ; encoding: [0xff,0x0f,0x80,0xe1,0x00,0x05,0x03,0x03]
+0xff,0x0f,0x80,0xe1,0x00,0x05,0x03,0x03
 
-# 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[5:6], off, s[96:99], s3 offset:4095    ; encoding: [0xff,0x0f,0x80,0xe1,0x00,0x05,0x18,0x03]
+0xff,0x0f,0x80,0xe1,0x00,0x05,0x18,0x03
 
-# 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[5:6], off, ttmp[8:11], s3 offset:4095    ; encoding: [0xff,0x0f,0x80,0xe1,0x00,0x05,0x1e,0x03]
+0xff,0x0f,0x80,0xe1,0x00,0x05,0x1e,0x03
 
-# 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[5:6], off, s[8:11], s101 offset:4095    ; encoding: [0xff,0x0f,0x80,0xe1,0x00,0x05,0x02,0x65]
+0xff,0x0f,0x80,0xe1,0x00,0x05,0x02,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[5:6], off, s[8:11], m0 offset:4095    ; encoding: [0xff,0x0f,0x80,0xe1,0x00,0x05,0x02,0x7c]
+0xff,0x0f,0x80,0xe1,0x00,0x05,0x02,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[5:6], off, s[8:11], 0 offset:4095    ; encoding: [0xff,0x0f,0x80,0xe1,0x00,0x05,0x02,0x80]
+0xff,0x0f,0x80,0xe1,0x00,0x05,0x02,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[5:6], off, s[8:11], -1 offset:4095    ; encoding: [0xff,0x0f,0x80,0xe1,0x00,0x05,0x02,0xc1]
+0xff,0x0f,0x80,0xe1,0x00,0x05,0x02,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[5:6], off, s[8:11], 0.5 offset:4095    ; encoding: [0xff,0x0f,0x80,0xe1,0x00,0x05,0x02,0xf0]
+0xff,0x0f,0x80,0xe1,0x00,0x05,0x02,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[5:6], off, s[8:11], -4.0 offset:4095    ; encoding: [0xff,0x0f,0x80,0xe1,0x00,0x05,0x02,0xf7]
+0xff,0x0f,0x80,0xe1,0x00,0x05,0x02,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[5:6], v0, s[8:11], s3 idxen offset:4095    ; encoding: [0xff,0x2f,0x80,0xe1,0x00,0x05,0x02,0x03]
+0xff,0x2f,0x80,0xe1,0x00,0x05,0x02,0x03
 
-# 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[5:6], v0, s[8:11], s3 offen offset:4095    ; encoding: [0xff,0x1f,0x80,0xe1,0x00,0x05,0x02,0x03]
+0xff,0x1f,0x80,0xe1,0x00,0x05,0x02,0x03
 
-# 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[5:6], off, s[8:11], s3    ; encoding: [0x00,0x00,0x80,0xe1,0x00,0x05,0x02,0x03]
+0x00,0x00,0x80,0xe1,0x00,0x05,0x02,0x03
 
-# 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[5:6], off, s[8:11], s3 offset:7    ; encoding: [0x07,0x00,0x80,0xe1,0x00,0x05,0x02,0x03]
+0x07,0x00,0x80,0xe1,0x00,0x05,0x02,0x03
 
-# 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[5:6], off, s[8:11], s3 offset:4095 glc    ; encoding: [0xff,0x4f,0x80,0xe1,0x00,0x05,0x02,0x03]
+0xff,0x4f,0x80,0xe1,0x00,0x05,0x02,0x03
 
-# 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_swap_x2 v[5:6], off, s[8:11], s3 offset:4095 slc    ; encoding: [0xff,0x0f,0x82,0xe1,0x00,0x05,0x02,0x03]
+0xff,0x0f,0x82,0xe1,0x00,0x05,0x02,0x03
 
-# 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[5:8], off, s[8:11], s3 offset:4095    ; encoding: [0xff,0x0f,0x84,0xe1,0x00,0x05,0x02,0x03]
+0xff,0x0f,0x84,0xe1,0x00,0x05,0x02,0x03
 
-# 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[252:255], off, s[8:11], s3 offset:4095    ; encoding: [0xff,0x0f,0x84,0xe1,0x00,0xfc,0x02,0x03]
+0xff,0x0f,0x84,0xe1,0x00,0xfc,0x02,0x03
 
-# 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[5:8], off, s[12:15], s3 offset:4095    ; encoding: [0xff,0x0f,0x84,0xe1,0x00,0x05,0x03,0x03]
+0xff,0x0f,0x84,0xe1,0x00,0x05,0x03,0x03
 
-# 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[5:8], off, s[96:99], s3 offset:4095    ; encoding: [0xff,0x0f,0x84,0xe1,0x00,0x05,0x18,0x03]
+0xff,0x0f,0x84,0xe1,0x00,0x05,0x18,0x03
 
-# 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[5:8], off, ttmp[8:11], s3 offset:4095    ; encoding: [0xff,0x0f,0x84,0xe1,0x00,0x05,0x1e,0x03]
+0xff,0x0f,0x84,0xe1,0x00,0x05,0x1e,0x03
 
-# 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[5:8], off, s[8:11], s101 offset:4095    ; encoding: [0xff,0x0f,0x84,0xe1,0x00,0x05,0x02,0x65]
+0xff,0x0f,0x84,0xe1,0x00,0x05,0x02,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[5:8], off, s[8:11], m0 offset:4095    ; encoding: [0xff,0x0f,0x84,0xe1,0x00,0x05,0x02,0x7c]
+0xff,0x0f,0x84,0xe1,0x00,0x05,0x02,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[5:8], off, s[8:11], 0 offset:4095    ; encoding: [0xff,0x0f,0x84,0xe1,0x00,0x05,0x02,0x80]
+0xff,0x0f,0x84,0xe1,0x00,0x05,0x02,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[5:8], off, s[8:11], -1 offset:4095    ; encoding: [0xff,0x0f,0x84,0xe1,0x00,0x05,0x02,0xc1]
+0xff,0x0f,0x84,0xe1,0x00,0x05,0x02,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[5:8], off, s[8:11], 0.5 offset:4095    ; encoding: [0xff,0x0f,0x84,0xe1,0x00,0x05,0x02,0xf0]
+0xff,0x0f,0x84,0xe1,0x00,0x05,0x02,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[5:8], off, s[8:11], -4.0 offset:4095    ; encoding: [0xff,0x0f,0x84,0xe1,0x00,0x05,0x02,0xf7]
+0xff,0x0f,0x84,0xe1,0x00,0x05,0x02,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[5:8], v0, s[8:11], s3 idxen offset:4095    ; encoding: [0xff,0x2f,0x84,0xe1,0x00,0x05,0x02,0x03]
+0xff,0x2f,0x84,0xe1,0x00,0x05,0x02,0x03
 
-# 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[5:8], v0, s[8:11], s3 offen offset:4095    ; encoding: [0xff,0x1f,0x84,0xe1,0x00,0x05,0x02,0x03]
+0xff,0x1f,0x84,0xe1,0x00,0x05,0x02,0x03
 
-# 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[5:8], off, s[8:11], s3    ; encoding: [0x00,0x00,0x84,0xe1,0x00,0x05,0x02,0x03]
+0x00,0x00,0x84,0xe1,0x00,0x05,0x02,0x03
 
-# 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[5:8], off, s[8:11], s3 offset:7    ; encoding: [0x07,0x00,0x84,0xe1,0x00,0x05,0x02,0x03]
+0x07,0x00,0x84,0xe1,0x00,0x05,0x02,0x03
 
-# 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[5:8], off, s[8:11], s3 offset:4095 glc    ; encoding: [0xff,0x4f,0x84,0xe1,0x00,0x05,0x02,0x03]
+0xff,0x4f,0x84,0xe1,0x00,0x05,0x02,0x03
 
-# 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_cmpswap_x2 v[5:8], off, s[8:11], s3 offset:4095 slc    ; encoding: [0xff,0x0f,0x86,0xe1,0x00,0x05,0x02,0x03]
+0xff,0x0f,0x86,0xe1,0x00,0x05,0x02,0x03
 
-# 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[5:6], off, s[8:11], s3 offset:4095    ; encoding: [0xff,0x0f,0x88,0xe1,0x00,0x05,0x02,0x03]
+0xff,0x0f,0x88,0xe1,0x00,0x05,0x02,0x03
 
-# 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[254:255], off, s[8:11], s3 offset:4095    ; encoding: [0xff,0x0f,0x88,0xe1,0x00,0xfe,0x02,0x03]
+0xff,0x0f,0x88,0xe1,0x00,0xfe,0x02,0x03
 
-# 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[5:6], off, s[12:15], s3 offset:4095    ; encoding: [0xff,0x0f,0x88,0xe1,0x00,0x05,0x03,0x03]
+0xff,0x0f,0x88,0xe1,0x00,0x05,0x03,0x03
 
-# 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[5:6], off, s[96:99], s3 offset:4095    ; encoding: [0xff,0x0f,0x88,0xe1,0x00,0x05,0x18,0x03]
+0xff,0x0f,0x88,0xe1,0x00,0x05,0x18,0x03
 
-# 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[5:6], off, ttmp[8:11], s3 offset:4095    ; encoding: [0xff,0x0f,0x88,0xe1,0x00,0x05,0x1e,0x03]
+0xff,0x0f,0x88,0xe1,0x00,0x05,0x1e,0x03
 
-# 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[5:6], off, s[8:11], s101 offset:4095    ; encoding: [0xff,0x0f,0x88,0xe1,0x00,0x05,0x02,0x65]
+0xff,0x0f,0x88,0xe1,0x00,0x05,0x02,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[5:6], off, s[8:11], m0 offset:4095    ; encoding: [0xff,0x0f,0x88,0xe1,0x00,0x05,0x02,0x7c]
+0xff,0x0f,0x88,0xe1,0x00,0x05,0x02,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[5:6], off, s[8:11], 0 offset:4095    ; encoding: [0xff,0x0f,0x88,0xe1,0x00,0x05,0x02,0x80]
+0xff,0x0f,0x88,0xe1,0x00,0x05,0x02,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[5:6], off, s[8:11], -1 offset:4095    ; encoding: [0xff,0x0f,0x88,0xe1,0x00,0x05,0x02,0xc1]
+0xff,0x0f,0x88,0xe1,0x00,0x05,0x02,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[5:6], off, s[8:11], 0.5 offset:4095    ; encoding: [0xff,0x0f,0x88,0xe1,0x00,0x05,0x02,0xf0]
+0xff,0x0f,0x88,0xe1,0x00,0x05,0x02,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[5:6], off, s[8:11], -4.0 offset:4095    ; encoding: [0xff,0x0f,0x88,0xe1,0x00,0x05,0x02,0xf7]
+0xff,0x0f,0x88,0xe1,0x00,0x05,0x02,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[5:6], v0, s[8:11], s3 idxen offset:4095    ; encoding: [0xff,0x2f,0x88,0xe1,0x00,0x05,0x02,0x03]
+0xff,0x2f,0x88,0xe1,0x00,0x05,0x02,0x03
 
-# 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[5:6], v0, s[8:11], s3 offen offset:4095    ; encoding: [0xff,0x1f,0x88,0xe1,0x00,0x05,0x02,0x03]
+0xff,0x1f,0x88,0xe1,0x00,0x05,0x02,0x03
 
-# 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[5:6], off, s[8:11], s3    ; encoding: [0x00,0x00,0x88,0xe1,0x00,0x05,0x02,0x03]
+0x00,0x00,0x88,0xe1,0x00,0x05,0x02,0x03
 
-# 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[5:6], off, s[8:11], s3 offset:7    ; encoding: [0x07,0x00,0x88,0xe1,0x00,0x05,0x02,0x03]
+0x07,0x00,0x88,0xe1,0x00,0x05,0x02,0x03
 
-# 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[5:6], off, s[8:11], s3 offset:4095 glc    ; encoding: [0xff,0x4f,0x88,0xe1,0x00,0x05,0x02,0x03]
+0xff,0x4f,0x88,0xe1,0x00,0x05,0x02,0x03
 
-# 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_add_x2 v[5:6], off, s[8:11], s3 offset:4095 slc    ; encoding: [0xff,0x0f,0x8a,0xe1,0x00,0x05,0x02,0x03]
+0xff,0x0f,0x8a,0xe1,0x00,0x05,0x02,0x03
 
-# 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[5:6], off, s[8:11], s3 offset:4095    ; encoding: [0xff,0x0f,0x8c,0xe1,0x00,0x05,0x02,0x03]
+0xff,0x0f,0x8c,0xe1,0x00,0x05,0x02,0x03
 
-# 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[254:255], off, s[8:11], s3 offset:4095    ; encoding: [0xff,0x0f,0x8c,0xe1,0x00,0xfe,0x02,0x03]
+0xff,0x0f,0x8c,0xe1,0x00,0xfe,0x02,0x03
 
-# 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[5:6], off, s[12:15], s3 offset:4095    ; encoding: [0xff,0x0f,0x8c,0xe1,0x00,0x05,0x03,0x03]
+0xff,0x0f,0x8c,0xe1,0x00,0x05,0x03,0x03
 
-# 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[5:6], off, s[96:99], s3 offset:4095    ; encoding: [0xff,0x0f,0x8c,0xe1,0x00,0x05,0x18,0x03]
+0xff,0x0f,0x8c,0xe1,0x00,0x05,0x18,0x03
 
-# 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[5:6], off, ttmp[8:11], s3 offset:4095    ; encoding: [0xff,0x0f,0x8c,0xe1,0x00,0x05,0x1e,0x03]
+0xff,0x0f,0x8c,0xe1,0x00,0x05,0x1e,0x03
 
-# 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[5:6], off, s[8:11], s101 offset:4095    ; encoding: [0xff,0x0f,0x8c,0xe1,0x00,0x05,0x02,0x65]
+0xff,0x0f,0x8c,0xe1,0x00,0x05,0x02,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[5:6], off, s[8:11], m0 offset:4095    ; encoding: [0xff,0x0f,0x8c,0xe1,0x00,0x05,0x02,0x7c]
+0xff,0x0f,0x8c,0xe1,0x00,0x05,0x02,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[5:6], off, s[8:11], 0 offset:4095    ; encoding: [0xff,0x0f,0x8c,0xe1,0x00,0x05,0x02,0x80]
+0xff,0x0f,0x8c,0xe1,0x00,0x05,0x02,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[5:6], off, s[8:11], -1 offset:4095    ; encoding: [0xff,0x0f,0x8c,0xe1,0x00,0x05,0x02,0xc1]
+0xff,0x0f,0x8c,0xe1,0x00,0x05,0x02,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[5:6], off, s[8:11], 0.5 offset:4095    ; encoding: [0xff,0x0f,0x8c,0xe1,0x00,0x05,0x02,0xf0]
+0xff,0x0f,0x8c,0xe1,0x00,0x05,0x02,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[5:6], off, s[8:11], -4.0 offset:4095    ; encoding: [0xff,0x0f,0x8c,0xe1,0x00,0x05,0x02,0xf7]
+0xff,0x0f,0x8c,0xe1,0x00,0x05,0x02,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[5:6], v0, s[8:11], s3 idxen offset:4095    ; encoding: [0xff,0x2f,0x8c,0xe1,0x00,0x05,0x02,0x03]
+0xff,0x2f,0x8c,0xe1,0x00,0x05,0x02,0x03
 
-# 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[5:6], v0, s[8:11], s3 offen offset:4095    ; encoding: [0xff,0x1f,0x8c,0xe1,0x00,0x05,0x02,0x03]
+0xff,0x1f,0x8c,0xe1,0x00,0x05,0x02,0x03
 
-# 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[5:6], off, s[8:11], s3    ; encoding: [0x00,0x00,0x8c,0xe1,0x00,0x05,0x02,0x03]
+0x00,0x00,0x8c,0xe1,0x00,0x05,0x02,0x03
 
-# 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[5:6], off, s[8:11], s3 offset:7    ; encoding: [0x07,0x00,0x8c,0xe1,0x00,0x05,0x02,0x03]
+0x07,0x00,0x8c,0xe1,0x00,0x05,0x02,0x03
 
-# 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[5:6], off, s[8:11], s3 offset:4095 glc    ; encoding: [0xff,0x4f,0x8c,0xe1,0x00,0x05,0x02,0x03]
+0xff,0x4f,0x8c,0xe1,0x00,0x05,0x02,0x03
 
-# 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_sub_x2 v[5:6], off, s[8:11], s3 offset:4095 slc    ; encoding: [0xff,0x0f,0x8e,0xe1,0x00,0x05,0x02,0x03]
+0xff,0x0f,0x8e,0xe1,0x00,0x05,0x02,0x03
 
-# 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[5:6], off, s[8:11], s3 offset:4095    ; encoding: [0xff,0x0f,0x90,0xe1,0x00,0x05,0x02,0x03]
+0xff,0x0f,0x90,0xe1,0x00,0x05,0x02,0x03
 
-# 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[254:255], off, s[8:11], s3 offset:4095    ; encoding: [0xff,0x0f,0x90,0xe1,0x00,0xfe,0x02,0x03]
+0xff,0x0f,0x90,0xe1,0x00,0xfe,0x02,0x03
 
-# 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[5:6], off, s[12:15], s3 offset:4095    ; encoding: [0xff,0x0f,0x90,0xe1,0x00,0x05,0x03,0x03]
+0xff,0x0f,0x90,0xe1,0x00,0x05,0x03,0x03
 
-# 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[5:6], off, s[96:99], s3 offset:4095    ; encoding: [0xff,0x0f,0x90,0xe1,0x00,0x05,0x18,0x03]
+0xff,0x0f,0x90,0xe1,0x00,0x05,0x18,0x03
 
-# 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[5:6], off, ttmp[8:11], s3 offset:4095    ; encoding: [0xff,0x0f,0x90,0xe1,0x00,0x05,0x1e,0x03]
+0xff,0x0f,0x90,0xe1,0x00,0x05,0x1e,0x03
 
-# 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[5:6], off, s[8:11], s101 offset:4095    ; encoding: [0xff,0x0f,0x90,0xe1,0x00,0x05,0x02,0x65]
+0xff,0x0f,0x90,0xe1,0x00,0x05,0x02,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[5:6], off, s[8:11], m0 offset:4095    ; encoding: [0xff,0x0f,0x90,0xe1,0x00,0x05,0x02,0x7c]
+0xff,0x0f,0x90,0xe1,0x00,0x05,0x02,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[5:6], off, s[8:11], 0 offset:4095    ; encoding: [0xff,0x0f,0x90,0xe1,0x00,0x05,0x02,0x80]
+0xff,0x0f,0x90,0xe1,0x00,0x05,0x02,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[5:6], off, s[8:11], -1 offset:4095    ; encoding: [0xff,0x0f,0x90,0xe1,0x00,0x05,0x02,0xc1]
+0xff,0x0f,0x90,0xe1,0x00,0x05,0x02,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[5:6], off, s[8:11], 0.5 offset:4095    ; encoding: [0xff,0x0f,0x90,0xe1,0x00,0x05,0x02,0xf0]
+0xff,0x0f,0x90,0xe1,0x00,0x05,0x02,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[5:6], off, s[8:11], -4.0 offset:4095    ; encoding: [0xff,0x0f,0x90,0xe1,0x00,0x05,0x02,0xf7]
+0xff,0x0f,0x90,0xe1,0x00,0x05,0x02,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[5:6], v0, s[8:11], s3 idxen offset:4095    ; encoding: [0xff,0x2f,0x90,0xe1,0x00,0x05,0x02,0x03]
+0xff,0x2f,0x90,0xe1,0x00,0x05,0x02,0x03
 
-# 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[5:6], v0, s[8:11], s3 offen offset:4095    ; encoding: [0xff,0x1f,0x90,0xe1,0x00,0x05,0x02,0x03]
+0xff,0x1f,0x90,0xe1,0x00,0x05,0x02,0x03
 
-# 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[5:6], off, s[8:11], s3    ; encoding: [0x00,0x00,0x90,0xe1,0x00,0x05,0x02,0x03]
+0x00,0x00,0x90,0xe1,0x00,0x05,0x02,0x03
 
-# 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[5:6], off, s[8:11], s3 offset:7    ; encoding: [0x07,0x00,0x90,0xe1,0x00,0x05,0x02,0x03]
+0x07,0x00,0x90,0xe1,0x00,0x05,0x02,0x03
 
-# 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[5:6], off, s[8:11], s3 offset:4095 glc    ; encoding: [0xff,0x4f,0x90,0xe1,0x00,0x05,0x02,0x03]
+0xff,0x4f,0x90,0xe1,0x00,0x05,0x02,0x03
 
-# 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_smin_x2 v[5:6], off, s[8:11], s3 offset:4095 slc    ; encoding: [0xff,0x0f,0x92,0xe1,0x00,0x05,0x02,0x03]
+0xff,0x0f,0x92,0xe1,0x00,0x05,0x02,0x03
 
-# 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[5:6], off, s[8:11], s3 offset:4095    ; encoding: [0xff,0x0f,0x94,0xe1,0x00,0x05,0x02,0x03]
+0xff,0x0f,0x94,0xe1,0x00,0x05,0x02,0x03
 
-# 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[254:255], off, s[8:11], s3 offset:4095    ; encoding: [0xff,0x0f,0x94,0xe1,0x00,0xfe,0x02,0x03]
+0xff,0x0f,0x94,0xe1,0x00,0xfe,0x02,0x03
 
-# 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[5:6], off, s[12:15], s3 offset:4095    ; encoding: [0xff,0x0f,0x94,0xe1,0x00,0x05,0x03,0x03]
+0xff,0x0f,0x94,0xe1,0x00,0x05,0x03,0x03
 
-# 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[5:6], off, s[96:99], s3 offset:4095    ; encoding: [0xff,0x0f,0x94,0xe1,0x00,0x05,0x18,0x03]
+0xff,0x0f,0x94,0xe1,0x00,0x05,0x18,0x03
 
-# 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[5:6], off, ttmp[8:11], s3 offset:4095    ; encoding: [0xff,0x0f,0x94,0xe1,0x00,0x05,0x1e,0x03]
+0xff,0x0f,0x94,0xe1,0x00,0x05,0x1e,0x03
 
-# 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[5:6], off, s[8:11], s101 offset:4095    ; encoding: [0xff,0x0f,0x94,0xe1,0x00,0x05,0x02,0x65]
+0xff,0x0f,0x94,0xe1,0x00,0x05,0x02,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[5:6], off, s[8:11], m0 offset:4095    ; encoding: [0xff,0x0f,0x94,0xe1,0x00,0x05,0x02,0x7c]
+0xff,0x0f,0x94,0xe1,0x00,0x05,0x02,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[5:6], off, s[8:11], 0 offset:4095    ; encoding: [0xff,0x0f,0x94,0xe1,0x00,0x05,0x02,0x80]
+0xff,0x0f,0x94,0xe1,0x00,0x05,0x02,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[5:6], off, s[8:11], -1 offset:4095    ; encoding: [0xff,0x0f,0x94,0xe1,0x00,0x05,0x02,0xc1]
+0xff,0x0f,0x94,0xe1,0x00,0x05,0x02,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[5:6], off, s[8:11], 0.5 offset:4095    ; encoding: [0xff,0x0f,0x94,0xe1,0x00,0x05,0x02,0xf0]
+0xff,0x0f,0x94,0xe1,0x00,0x05,0x02,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[5:6], off, s[8:11], -4.0 offset:4095    ; encoding: [0xff,0x0f,0x94,0xe1,0x00,0x05,0x02,0xf7]
+0xff,0x0f,0x94,0xe1,0x00,0x05,0x02,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[5:6], v0, s[8:11], s3 idxen offset:4095    ; encoding: [0xff,0x2f,0x94,0xe1,0x00,0x05,0x02,0x03]
+0xff,0x2f,0x94,0xe1,0x00,0x05,0x02,0x03
 
-# 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[5:6], v0, s[8:11], s3 offen offset:4095    ; encoding: [0xff,0x1f,0x94,0xe1,0x00,0x05,0x02,0x03]
+0xff,0x1f,0x94,0xe1,0x00,0x05,0x02,0x03
 
-# 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[5:6], off, s[8:11], s3    ; encoding: [0x00,0x00,0x94,0xe1,0x00,0x05,0x02,0x03]
+0x00,0x00,0x94,0xe1,0x00,0x05,0x02,0x03
 
-# 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[5:6], off, s[8:11], s3 offset:7    ; encoding: [0x07,0x00,0x94,0xe1,0x00,0x05,0x02,0x03]
+0x07,0x00,0x94,0xe1,0x00,0x05,0x02,0x03
 
-# 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[5:6], off, s[8:11], s3 offset:4095 glc    ; encoding: [0xff,0x4f,0x94,0xe1,0x00,0x05,0x02,0x03]
+0xff,0x4f,0x94,0xe1,0x00,0x05,0x02,0x03
 
-# 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_umin_x2 v[5:6], off, s[8:11], s3 offset:4095 slc    ; encoding: [0xff,0x0f,0x96,0xe1,0x00,0x05,0x02,0x03]
+0xff,0x0f,0x96,0xe1,0x00,0x05,0x02,0x03
 
-# 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[5:6], off, s[8:11], s3 offset:4095    ; encoding: [0xff,0x0f,0x98,0xe1,0x00,0x05,0x02,0x03]
+0xff,0x0f,0x98,0xe1,0x00,0x05,0x02,0x03
 
-# 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[254:255], off, s[8:11], s3 offset:4095    ; encoding: [0xff,0x0f,0x98,0xe1,0x00,0xfe,0x02,0x03]
+0xff,0x0f,0x98,0xe1,0x00,0xfe,0x02,0x03
 
-# 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[5:6], off, s[12:15], s3 offset:4095    ; encoding: [0xff,0x0f,0x98,0xe1,0x00,0x05,0x03,0x03]
+0xff,0x0f,0x98,0xe1,0x00,0x05,0x03,0x03
 
-# 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[5:6], off, s[96:99], s3 offset:4095    ; encoding: [0xff,0x0f,0x98,0xe1,0x00,0x05,0x18,0x03]
+0xff,0x0f,0x98,0xe1,0x00,0x05,0x18,0x03
 
-# 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[5:6], off, ttmp[8:11], s3 offset:4095    ; encoding: [0xff,0x0f,0x98,0xe1,0x00,0x05,0x1e,0x03]
+0xff,0x0f,0x98,0xe1,0x00,0x05,0x1e,0x03
 
-# 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[5:6], off, s[8:11], s101 offset:4095    ; encoding: [0xff,0x0f,0x98,0xe1,0x00,0x05,0x02,0x65]
+0xff,0x0f,0x98,0xe1,0x00,0x05,0x02,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[5:6], off, s[8:11], m0 offset:4095    ; encoding: [0xff,0x0f,0x98,0xe1,0x00,0x05,0x02,0x7c]
+0xff,0x0f,0x98,0xe1,0x00,0x05,0x02,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[5:6], off, s[8:11], 0 offset:4095    ; encoding: [0xff,0x0f,0x98,0xe1,0x00,0x05,0x02,0x80]
+0xff,0x0f,0x98,0xe1,0x00,0x05,0x02,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[5:6], off, s[8:11], -1 offset:4095    ; encoding: [0xff,0x0f,0x98,0xe1,0x00,0x05,0x02,0xc1]
+0xff,0x0f,0x98,0xe1,0x00,0x05,0x02,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[5:6], off, s[8:11], 0.5 offset:4095    ; encoding: [0xff,0x0f,0x98,0xe1,0x00,0x05,0x02,0xf0]
+0xff,0x0f,0x98,0xe1,0x00,0x05,0x02,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[5:6], off, s[8:11], -4.0 offset:4095    ; encoding: [0xff,0x0f,0x98,0xe1,0x00,0x05,0x02,0xf7]
+0xff,0x0f,0x98,0xe1,0x00,0x05,0x02,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[5:6], v0, s[8:11], s3 idxen offset:4095    ; encoding: [0xff,0x2f,0x98,0xe1,0x00,0x05,0x02,0x03]
+0xff,0x2f,0x98,0xe1,0x00,0x05,0x02,0x03
 
-# 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[5:6], v0, s[8:11], s3 offen offset:4095    ; encoding: [0xff,0x1f,0x98,0xe1,0x00,0x05,0x02,0x03]
+0xff,0x1f,0x98,0xe1,0x00,0x05,0x02,0x03
 
-# 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[5:6], off, s[8:11], s3    ; encoding: [0x00,0x00,0x98,0xe1,0x00,0x05,0x02,0x03]
+0x00,0x00,0x98,0xe1,0x00,0x05,0x02,0x03
 
-# 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[5:6], off, s[8:11], s3 offset:7    ; encoding: [0x07,0x00,0x98,0xe1,0x00,0x05,0x02,0x03]
+0x07,0x00,0x98,0xe1,0x00,0x05,0x02,0x03
 
-# 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[5:6], off, s[8:11], s3 offset:4095 glc    ; encoding: [0xff,0x4f,0x98,0xe1,0x00,0x05,0x02,0x03]
+0xff,0x4f,0x98,0xe1,0x00,0x05,0x02,0x03
 
-# 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_smax_x2 v[5:6], off, s[8:11], s3 offset:4095 slc    ; encoding: [0xff,0x0f,0x9a,0xe1,0x00,0x05,0x02,0x03]
+0xff,0x0f,0x9a,0xe1,0x00,0x05,0x02,0x03
 
-# 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[5:6], off, s[8:11], s3 offset:4095    ; encoding: [0xff,0x0f,0x9c,0xe1,0x00,0x05,0x02,0x03]
+0xff,0x0f,0x9c,0xe1,0x00,0x05,0x02,0x03
 
-# 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[254:255], off, s[8:11], s3 offset:4095    ; encoding: [0xff,0x0f,0x9c,0xe1,0x00,0xfe,0x02,0x03]
+0xff,0x0f,0x9c,0xe1,0x00,0xfe,0x02,0x03
 
-# 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[5:6], off, s[12:15], s3 offset:4095    ; encoding: [0xff,0x0f,0x9c,0xe1,0x00,0x05,0x03,0x03]
+0xff,0x0f,0x9c,0xe1,0x00,0x05,0x03,0x03
 
-# 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[5:6], off, s[96:99], s3 offset:4095    ; encoding: [0xff,0x0f,0x9c,0xe1,0x00,0x05,0x18,0x03]
+0xff,0x0f,0x9c,0xe1,0x00,0x05,0x18,0x03
 
-# 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[5:6], off, ttmp[8:11], s3 offset:4095    ; encoding: [0xff,0x0f,0x9c,0xe1,0x00,0x05,0x1e,0x03]
+0xff,0x0f,0x9c,0xe1,0x00,0x05,0x1e,0x03
 
-# 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[5:6], off, s[8:11], s101 offset:4095    ; encoding: [0xff,0x0f,0x9c,0xe1,0x00,0x05,0x02,0x65]
+0xff,0x0f,0x9c,0xe1,0x00,0x05,0x02,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[5:6], off, s[8:11], m0 offset:4095    ; encoding: [0xff,0x0f,0x9c,0xe1,0x00,0x05,0x02,0x7c]
+0xff,0x0f,0x9c,0xe1,0x00,0x05,0x02,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[5:6], off, s[8:11], 0 offset:4095    ; encoding: [0xff,0x0f,0x9c,0xe1,0x00,0x05,0x02,0x80]
+0xff,0x0f,0x9c,0xe1,0x00,0x05,0x02,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[5:6], off, s[8:11], -1 offset:4095    ; encoding: [0xff,0x0f,0x9c,0xe1,0x00,0x05,0x02,0xc1]
+0xff,0x0f,0x9c,0xe1,0x00,0x05,0x02,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[5:6], off, s[8:11], 0.5 offset:4095    ; encoding: [0xff,0x0f,0x9c,0xe1,0x00,0x05,0x02,0xf0]
+0xff,0x0f,0x9c,0xe1,0x00,0x05,0x02,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[5:6], off, s[8:11], -4.0 offset:4095    ; encoding: [0xff,0x0f,0x9c,0xe1,0x00,0x05,0x02,0xf7]
+0xff,0x0f,0x9c,0xe1,0x00,0x05,0x02,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[5:6], v0, s[8:11], s3 idxen offset:4095    ; encoding: [0xff,0x2f,0x9c,0xe1,0x00,0x05,0x02,0x03]
+0xff,0x2f,0x9c,0xe1,0x00,0x05,0x02,0x03
 
-# 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[5:6], v0, s[8:11], s3 offen offset:4095    ; encoding: [0xff,0x1f,0x9c,0xe1,0x00,0x05,0x02,0x03]
+0xff,0x1f,0x9c,0xe1,0x00,0x05,0x02,0x03
 
-# 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[5:6], off, s[8:11], s3    ; encoding: [0x00,0x00,0x9c,0xe1,0x00,0x05,0x02,0x03]
+0x00,0x00,0x9c,0xe1,0x00,0x05,0x02,0x03
 
-# 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[5:6], off, s[8:11], s3 offset:7    ; encoding: [0x07,0x00,0x9c,0xe1,0x00,0x05,0x02,0x03]
+0x07,0x00,0x9c,0xe1,0x00,0x05,0x02,0x03
 
-# 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[5:6], off, s[8:11], s3 offset:4095 glc    ; encoding: [0xff,0x4f,0x9c,0xe1,0x00,0x05,0x02,0x03]
+0xff,0x4f,0x9c,0xe1,0x00,0x05,0x02,0x03
 
-# 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_umax_x2 v[5:6], off, s[8:11], s3 offset:4095 slc    ; encoding: [0xff,0x0f,0x9e,0xe1,0x00,0x05,0x02,0x03]
+0xff,0x0f,0x9e,0xe1,0x00,0x05,0x02,0x03
 
-# 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[5:6], off, s[8:11], s3 offset:4095    ; encoding: [0xff,0x0f,0xa0,0xe1,0x00,0x05,0x02,0x03]
+0xff,0x0f,0xa0,0xe1,0x00,0x05,0x02,0x03
 
-# 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[254:255], off, s[8:11], s3 offset:4095    ; encoding: [0xff,0x0f,0xa0,0xe1,0x00,0xfe,0x02,0x03]
+0xff,0x0f,0xa0,0xe1,0x00,0xfe,0x02,0x03
 
-# 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[5:6], off, s[12:15], s3 offset:4095    ; encoding: [0xff,0x0f,0xa0,0xe1,0x00,0x05,0x03,0x03]
+0xff,0x0f,0xa0,0xe1,0x00,0x05,0x03,0x03
 
-# 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[5:6], off, s[96:99], s3 offset:4095    ; encoding: [0xff,0x0f,0xa0,0xe1,0x00,0x05,0x18,0x03]
+0xff,0x0f,0xa0,0xe1,0x00,0x05,0x18,0x03
 
-# 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[5:6], off, ttmp[8:11], s3 offset:4095    ; encoding: [0xff,0x0f,0xa0,0xe1,0x00,0x05,0x1e,0x03]
+0xff,0x0f,0xa0,0xe1,0x00,0x05,0x1e,0x03
 
-# 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[5:6], off, s[8:11], s101 offset:4095    ; encoding: [0xff,0x0f,0xa0,0xe1,0x00,0x05,0x02,0x65]
+0xff,0x0f,0xa0,0xe1,0x00,0x05,0x02,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[5:6], off, s[8:11], m0 offset:4095    ; encoding: [0xff,0x0f,0xa0,0xe1,0x00,0x05,0x02,0x7c]
+0xff,0x0f,0xa0,0xe1,0x00,0x05,0x02,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[5:6], off, s[8:11], 0 offset:4095    ; encoding: [0xff,0x0f,0xa0,0xe1,0x00,0x05,0x02,0x80]
+0xff,0x0f,0xa0,0xe1,0x00,0x05,0x02,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[5:6], off, s[8:11], -1 offset:4095    ; encoding: [0xff,0x0f,0xa0,0xe1,0x00,0x05,0x02,0xc1]
+0xff,0x0f,0xa0,0xe1,0x00,0x05,0x02,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[5:6], off, s[8:11], 0.5 offset:4095    ; encoding: [0xff,0x0f,0xa0,0xe1,0x00,0x05,0x02,0xf0]
+0xff,0x0f,0xa0,0xe1,0x00,0x05,0x02,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[5:6], off, s[8:11], -4.0 offset:4095    ; encoding: [0xff,0x0f,0xa0,0xe1,0x00,0x05,0x02,0xf7]
+0xff,0x0f,0xa0,0xe1,0x00,0x05,0x02,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[5:6], v0, s[8:11], s3 idxen offset:4095    ; encoding: [0xff,0x2f,0xa0,0xe1,0x00,0x05,0x02,0x03]
+0xff,0x2f,0xa0,0xe1,0x00,0x05,0x02,0x03
 
-# 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[5:6], v0, s[8:11], s3 offen offset:4095    ; encoding: [0xff,0x1f,0xa0,0xe1,0x00,0x05,0x02,0x03]
+0xff,0x1f,0xa0,0xe1,0x00,0x05,0x02,0x03
 
-# 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[5:6], off, s[8:11], s3    ; encoding: [0x00,0x00,0xa0,0xe1,0x00,0x05,0x02,0x03]
+0x00,0x00,0xa0,0xe1,0x00,0x05,0x02,0x03
 
-# 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[5:6], off, s[8:11], s3 offset:7    ; encoding: [0x07,0x00,0xa0,0xe1,0x00,0x05,0x02,0x03]
+0x07,0x00,0xa0,0xe1,0x00,0x05,0x02,0x03
 
-# 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[5:6], off, s[8:11], s3 offset:4095 glc    ; encoding: [0xff,0x4f,0xa0,0xe1,0x00,0x05,0x02,0x03]
+0xff,0x4f,0xa0,0xe1,0x00,0x05,0x02,0x03
 
-# 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_and_x2 v[5:6], off, s[8:11], s3 offset:4095 slc    ; encoding: [0xff,0x0f,0xa2,0xe1,0x00,0x05,0x02,0x03]
+0xff,0x0f,0xa2,0xe1,0x00,0x05,0x02,0x03
 
-# 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[5:6], off, s[8:11], s3 offset:4095    ; encoding: [0xff,0x0f,0xa4,0xe1,0x00,0x05,0x02,0x03]
+0xff,0x0f,0xa4,0xe1,0x00,0x05,0x02,0x03
 
-# 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[254:255], off, s[8:11], s3 offset:4095    ; encoding: [0xff,0x0f,0xa4,0xe1,0x00,0xfe,0x02,0x03]
+0xff,0x0f,0xa4,0xe1,0x00,0xfe,0x02,0x03
 
-# 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[5:6], off, s[12:15], s3 offset:4095    ; encoding: [0xff,0x0f,0xa4,0xe1,0x00,0x05,0x03,0x03]
+0xff,0x0f,0xa4,0xe1,0x00,0x05,0x03,0x03
 
-# 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[5:6], off, s[96:99], s3 offset:4095    ; encoding: [0xff,0x0f,0xa4,0xe1,0x00,0x05,0x18,0x03]
+0xff,0x0f,0xa4,0xe1,0x00,0x05,0x18,0x03
 
-# 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[5:6], off, ttmp[8:11], s3 offset:4095    ; encoding: [0xff,0x0f,0xa4,0xe1,0x00,0x05,0x1e,0x03]
+0xff,0x0f,0xa4,0xe1,0x00,0x05,0x1e,0x03
 
-# 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[5:6], off, s[8:11], s101 offset:4095    ; encoding: [0xff,0x0f,0xa4,0xe1,0x00,0x05,0x02,0x65]
+0xff,0x0f,0xa4,0xe1,0x00,0x05,0x02,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[5:6], off, s[8:11], m0 offset:4095    ; encoding: [0xff,0x0f,0xa4,0xe1,0x00,0x05,0x02,0x7c]
+0xff,0x0f,0xa4,0xe1,0x00,0x05,0x02,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[5:6], off, s[8:11], 0 offset:4095    ; encoding: [0xff,0x0f,0xa4,0xe1,0x00,0x05,0x02,0x80]
+0xff,0x0f,0xa4,0xe1,0x00,0x05,0x02,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[5:6], off, s[8:11], -1 offset:4095    ; encoding: [0xff,0x0f,0xa4,0xe1,0x00,0x05,0x02,0xc1]
+0xff,0x0f,0xa4,0xe1,0x00,0x05,0x02,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[5:6], off, s[8:11], 0.5 offset:4095    ; encoding: [0xff,0x0f,0xa4,0xe1,0x00,0x05,0x02,0xf0]
+0xff,0x0f,0xa4,0xe1,0x00,0x05,0x02,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[5:6], off, s[8:11], -4.0 offset:4095    ; encoding: [0xff,0x0f,0xa4,0xe1,0x00,0x05,0x02,0xf7]
+0xff,0x0f,0xa4,0xe1,0x00,0x05,0x02,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[5:6], v0, s[8:11], s3 idxen offset:4095    ; encoding: [0xff,0x2f,0xa4,0xe1,0x00,0x05,0x02,0x03]
+0xff,0x2f,0xa4,0xe1,0x00,0x05,0x02,0x03
 
-# 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[5:6], v0, s[8:11], s3 offen offset:4095    ; encoding: [0xff,0x1f,0xa4,0xe1,0x00,0x05,0x02,0x03]
+0xff,0x1f,0xa4,0xe1,0x00,0x05,0x02,0x03
 
-# 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[5:6], off, s[8:11], s3    ; encoding: [0x00,0x00,0xa4,0xe1,0x00,0x05,0x02,0x03]
+0x00,0x00,0xa4,0xe1,0x00,0x05,0x02,0x03
 
-# 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[5:6], off, s[8:11], s3 offset:7    ; encoding: [0x07,0x00,0xa4,0xe1,0x00,0x05,0x02,0x03]
+0x07,0x00,0xa4,0xe1,0x00,0x05,0x02,0x03
 
-# 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[5:6], off, s[8:11], s3 offset:4095 glc    ; encoding: [0xff,0x4f,0xa4,0xe1,0x00,0x05,0x02,0x03]
+0xff,0x4f,0xa4,0xe1,0x00,0x05,0x02,0x03
 
-# 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_or_x2 v[5:6], off, s[8:11], s3 offset:4095 slc    ; encoding: [0xff,0x0f,0xa6,0xe1,0x00,0x05,0x02,0x03]
+0xff,0x0f,0xa6,0xe1,0x00,0x05,0x02,0x03
 
-# 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[5:6], off, s[8:11], s3 offset:4095    ; encoding: [0xff,0x0f,0xa8,0xe1,0x00,0x05,0x02,0x03]
+0xff,0x0f,0xa8,0xe1,0x00,0x05,0x02,0x03
 
-# 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[254:255], off, s[8:11], s3 offset:4095    ; encoding: [0xff,0x0f,0xa8,0xe1,0x00,0xfe,0x02,0x03]
+0xff,0x0f,0xa8,0xe1,0x00,0xfe,0x02,0x03
 
-# 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[5:6], off, s[12:15], s3 offset:4095    ; encoding: [0xff,0x0f,0xa8,0xe1,0x00,0x05,0x03,0x03]
+0xff,0x0f,0xa8,0xe1,0x00,0x05,0x03,0x03
 
-# 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[5:6], off, s[96:99], s3 offset:4095    ; encoding: [0xff,0x0f,0xa8,0xe1,0x00,0x05,0x18,0x03]
+0xff,0x0f,0xa8,0xe1,0x00,0x05,0x18,0x03
 
-# 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[5:6], off, ttmp[8:11], s3 offset:4095    ; encoding: [0xff,0x0f,0xa8,0xe1,0x00,0x05,0x1e,0x03]
+0xff,0x0f,0xa8,0xe1,0x00,0x05,0x1e,0x03
 
-# 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[5:6], off, s[8:11], s101 offset:4095    ; encoding: [0xff,0x0f,0xa8,0xe1,0x00,0x05,0x02,0x65]
+0xff,0x0f,0xa8,0xe1,0x00,0x05,0x02,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[5:6], off, s[8:11], m0 offset:4095    ; encoding: [0xff,0x0f,0xa8,0xe1,0x00,0x05,0x02,0x7c]
+0xff,0x0f,0xa8,0xe1,0x00,0x05,0x02,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[5:6], off, s[8:11], 0 offset:4095    ; encoding: [0xff,0x0f,0xa8,0xe1,0x00,0x05,0x02,0x80]
+0xff,0x0f,0xa8,0xe1,0x00,0x05,0x02,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[5:6], off, s[8:11], -1 offset:4095    ; encoding: [0xff,0x0f,0xa8,0xe1,0x00,0x05,0x02,0xc1]
+0xff,0x0f,0xa8,0xe1,0x00,0x05,0x02,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[5:6], off, s[8:11], 0.5 offset:4095    ; encoding: [0xff,0x0f,0xa8,0xe1,0x00,0x05,0x02,0xf0]
+0xff,0x0f,0xa8,0xe1,0x00,0x05,0x02,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[5:6], off, s[8:11], -4.0 offset:4095    ; encoding: [0xff,0x0f,0xa8,0xe1,0x00,0x05,0x02,0xf7]
+0xff,0x0f,0xa8,0xe1,0x00,0x05,0x02,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[5:6], v0, s[8:11], s3 idxen offset:4095    ; encoding: [0xff,0x2f,0xa8,0xe1,0x00,0x05,0x02,0x03]
+0xff,0x2f,0xa8,0xe1,0x00,0x05,0x02,0x03
 
-# 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[5:6], v0, s[8:11], s3 offen offset:4095    ; encoding: [0xff,0x1f,0xa8,0xe1,0x00,0x05,0x02,0x03]
+0xff,0x1f,0xa8,0xe1,0x00,0x05,0x02,0x03
 
-# 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[5:6], off, s[8:11], s3    ; encoding: [0x00,0x00,0xa8,0xe1,0x00,0x05,0x02,0x03]
+0x00,0x00,0xa8,0xe1,0x00,0x05,0x02,0x03
 
-# 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[5:6], off, s[8:11], s3 offset:7    ; encoding: [0x07,0x00,0xa8,0xe1,0x00,0x05,0x02,0x03]
+0x07,0x00,0xa8,0xe1,0x00,0x05,0x02,0x03
 
-# 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[5:6], off, s[8:11], s3 offset:4095 glc    ; encoding: [0xff,0x4f,0xa8,0xe1,0x00,0x05,0x02,0x03]
+0xff,0x4f,0xa8,0xe1,0x00,0x05,0x02,0x03
 
-# 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_xor_x2 v[5:6], off, s[8:11], s3 offset:4095 slc    ; encoding: [0xff,0x0f,0xaa,0xe1,0x00,0x05,0x02,0x03]
+0xff,0x0f,0xaa,0xe1,0x00,0x05,0x02,0x03
 
-# 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[5:6], off, s[8:11], s3 offset:4095    ; encoding: [0xff,0x0f,0xac,0xe1,0x00,0x05,0x02,0x03]
+0xff,0x0f,0xac,0xe1,0x00,0x05,0x02,0x03
 
-# 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[254:255], off, s[8:11], s3 offset:4095    ; encoding: [0xff,0x0f,0xac,0xe1,0x00,0xfe,0x02,0x03]
+0xff,0x0f,0xac,0xe1,0x00,0xfe,0x02,0x03
 
-# 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[5:6], off, s[12:15], s3 offset:4095    ; encoding: [0xff,0x0f,0xac,0xe1,0x00,0x05,0x03,0x03]
+0xff,0x0f,0xac,0xe1,0x00,0x05,0x03,0x03
 
-# 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[5:6], off, s[96:99], s3 offset:4095    ; encoding: [0xff,0x0f,0xac,0xe1,0x00,0x05,0x18,0x03]
+0xff,0x0f,0xac,0xe1,0x00,0x05,0x18,0x03
 
-# 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[5:6], off, ttmp[8:11], s3 offset:4095    ; encoding: [0xff,0x0f,0xac,0xe1,0x00,0x05,0x1e,0x03]
+0xff,0x0f,0xac,0xe1,0x00,0x05,0x1e,0x03
 
-# 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[5:6], off, s[8:11], s101 offset:4095    ; encoding: [0xff,0x0f,0xac,0xe1,0x00,0x05,0x02,0x65]
+0xff,0x0f,0xac,0xe1,0x00,0x05,0x02,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[5:6], off, s[8:11], m0 offset:4095    ; encoding: [0xff,0x0f,0xac,0xe1,0x00,0x05,0x02,0x7c]
+0xff,0x0f,0xac,0xe1,0x00,0x05,0x02,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[5:6], off, s[8:11], 0 offset:4095    ; encoding: [0xff,0x0f,0xac,0xe1,0x00,0x05,0x02,0x80]
+0xff,0x0f,0xac,0xe1,0x00,0x05,0x02,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[5:6], off, s[8:11], -1 offset:4095    ; encoding: [0xff,0x0f,0xac,0xe1,0x00,0x05,0x02,0xc1]
+0xff,0x0f,0xac,0xe1,0x00,0x05,0x02,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[5:6], off, s[8:11], 0.5 offset:4095    ; encoding: [0xff,0x0f,0xac,0xe1,0x00,0x05,0x02,0xf0]
+0xff,0x0f,0xac,0xe1,0x00,0x05,0x02,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[5:6], off, s[8:11], -4.0 offset:4095    ; encoding: [0xff,0x0f,0xac,0xe1,0x00,0x05,0x02,0xf7]
+0xff,0x0f,0xac,0xe1,0x00,0x05,0x02,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[5:6], v0, s[8:11], s3 idxen offset:4095    ; encoding: [0xff,0x2f,0xac,0xe1,0x00,0x05,0x02,0x03]
+0xff,0x2f,0xac,0xe1,0x00,0x05,0x02,0x03
 
-# 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[5:6], v0, s[8:11], s3 offen offset:4095    ; encoding: [0xff,0x1f,0xac,0xe1,0x00,0x05,0x02,0x03]
+0xff,0x1f,0xac,0xe1,0x00,0x05,0x02,0x03
 
-# 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[5:6], off, s[8:11], s3    ; encoding: [0x00,0x00,0xac,0xe1,0x00,0x05,0x02,0x03]
+0x00,0x00,0xac,0xe1,0x00,0x05,0x02,0x03
 
-# 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[5:6], off, s[8:11], s3 offset:7    ; encoding: [0x07,0x00,0xac,0xe1,0x00,0x05,0x02,0x03]
+0x07,0x00,0xac,0xe1,0x00,0x05,0x02,0x03
 
-# 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[5:6], off, s[8:11], s3 offset:4095 glc    ; encoding: [0xff,0x4f,0xac,0xe1,0x00,0x05,0x02,0x03]
+0xff,0x4f,0xac,0xe1,0x00,0x05,0x02,0x03
 
-# 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_inc_x2 v[5:6], off, s[8:11], s3 offset:4095 slc    ; encoding: [0xff,0x0f,0xae,0xe1,0x00,0x05,0x02,0x03]
+0xff,0x0f,0xae,0xe1,0x00,0x05,0x02,0x03
 
-# 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[5:6], off, s[8:11], s3 offset:4095    ; encoding: [0xff,0x0f,0xb0,0xe1,0x00,0x05,0x02,0x03]
+0xff,0x0f,0xb0,0xe1,0x00,0x05,0x02,0x03
 
-# 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[254:255], off, s[8:11], s3 offset:4095    ; encoding: [0xff,0x0f,0xb0,0xe1,0x00,0xfe,0x02,0x03]
+0xff,0x0f,0xb0,0xe1,0x00,0xfe,0x02,0x03
 
-# 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[5:6], off, s[12:15], s3 offset:4095    ; encoding: [0xff,0x0f,0xb0,0xe1,0x00,0x05,0x03,0x03]
+0xff,0x0f,0xb0,0xe1,0x00,0x05,0x03,0x03
 
-# 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[5:6], off, s[96:99], s3 offset:4095    ; encoding: [0xff,0x0f,0xb0,0xe1,0x00,0x05,0x18,0x03]
+0xff,0x0f,0xb0,0xe1,0x00,0x05,0x18,0x03
 
-# 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[5:6], off, ttmp[8:11], s3 offset:4095    ; encoding: [0xff,0x0f,0xb0,0xe1,0x00,0x05,0x1e,0x03]
+0xff,0x0f,0xb0,0xe1,0x00,0x05,0x1e,0x03
 
-# 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[5:6], off, s[8:11], s101 offset:4095    ; encoding: [0xff,0x0f,0xb0,0xe1,0x00,0x05,0x02,0x65]
+0xff,0x0f,0xb0,0xe1,0x00,0x05,0x02,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[5:6], off, s[8:11], m0 offset:4095    ; encoding: [0xff,0x0f,0xb0,0xe1,0x00,0x05,0x02,0x7c]
+0xff,0x0f,0xb0,0xe1,0x00,0x05,0x02,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[5:6], off, s[8:11], 0 offset:4095    ; encoding: [0xff,0x0f,0xb0,0xe1,0x00,0x05,0x02,0x80]
+0xff,0x0f,0xb0,0xe1,0x00,0x05,0x02,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[5:6], off, s[8:11], -1 offset:4095    ; encoding: [0xff,0x0f,0xb0,0xe1,0x00,0x05,0x02,0xc1]
+0xff,0x0f,0xb0,0xe1,0x00,0x05,0x02,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[5:6], off, s[8:11], 0.5 offset:4095    ; encoding: [0xff,0x0f,0xb0,0xe1,0x00,0x05,0x02,0xf0]
+0xff,0x0f,0xb0,0xe1,0x00,0x05,0x02,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[5:6], off, s[8:11], -4.0 offset:4095    ; encoding: [0xff,0x0f,0xb0,0xe1,0x00,0x05,0x02,0xf7]
+0xff,0x0f,0xb0,0xe1,0x00,0x05,0x02,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[5:6], v0, s[8:11], s3 idxen offset:4095    ; encoding: [0xff,0x2f,0xb0,0xe1,0x00,0x05,0x02,0x03]
+0xff,0x2f,0xb0,0xe1,0x00,0x05,0x02,0x03
 
-# 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[5:6], v0, s[8:11], s3 offen offset:4095    ; encoding: [0xff,0x1f,0xb0,0xe1,0x00,0x05,0x02,0x03]
+0xff,0x1f,0xb0,0xe1,0x00,0x05,0x02,0x03
 
-# 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[5:6], off, s[8:11], s3    ; encoding: [0x00,0x00,0xb0,0xe1,0x00,0x05,0x02,0x03]
+0x00,0x00,0xb0,0xe1,0x00,0x05,0x02,0x03
 
-# 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[5:6], off, s[8:11], s3 offset:7    ; encoding: [0x07,0x00,0xb0,0xe1,0x00,0x05,0x02,0x03]
+0x07,0x00,0xb0,0xe1,0x00,0x05,0x02,0x03
 
-# 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[5:6], off, s[8:11], s3 offset:4095 glc    ; encoding: [0xff,0x4f,0xb0,0xe1,0x00,0x05,0x02,0x03]
+0xff,0x4f,0xb0,0xe1,0x00,0x05,0x02,0x03
 
-# 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: buffer_atomic_dec_x2 v[5:6], off, s[8:11], s3 offset:4095 slc    ; encoding: [0xff,0x0f,0xb2,0xe1,0x00,0x05,0x02,0x03]
+0xff,0x0f,0xb2,0xe1,0x00,0x05,0x02,0x03
 
-# 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 s5, s[2:3], s2    ; encoding: [0x41,0x01,0x00,0xc0,0x02,0x00,0x00,0x00]
+0x41,0x01,0x00,0xc0,0x02,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 s101, s[2:3], s2    ; encoding: [0x41,0x19,0x00,0xc0,0x02,0x00,0x00,0x00]
+0x41,0x19,0x00,0xc0,0x02,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_lo, s[2:3], s2    ; encoding: [0x81,0x19,0x00,0xc0,0x02,0x00,0x00,0x00]
+0x81,0x19,0x00,0xc0,0x02,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 flat_scratch_hi, s[2:3], s2    ; encoding: [0xc1,0x19,0x00,0xc0,0x02,0x00,0x00,0x00]
+0xc1,0x19,0x00,0xc0,0x02,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_lo, s[2:3], s2    ; encoding: [0x81,0x1a,0x00,0xc0,0x02,0x00,0x00,0x00]
+0x81,0x1a,0x00,0xc0,0x02,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 vcc_hi, s[2:3], s2    ; encoding: [0xc1,0x1a,0x00,0xc0,0x02,0x00,0x00,0x00]
+0xc1,0x1a,0x00,0xc0,0x02,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_lo, s[2:3], s2    ; encoding: [0x01,0x1b,0x00,0xc0,0x02,0x00,0x00,0x00]
+0x01,0x1b,0x00,0xc0,0x02,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 tba_hi, s[2:3], s2    ; encoding: [0x41,0x1b,0x00,0xc0,0x02,0x00,0x00,0x00]
+0x41,0x1b,0x00,0xc0,0x02,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_lo, s[2:3], s2    ; encoding: [0x81,0x1b,0x00,0xc0,0x02,0x00,0x00,0x00]
+0x81,0x1b,0x00,0xc0,0x02,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 tma_hi, s[2:3], s2    ; encoding: [0xc1,0x1b,0x00,0xc0,0x02,0x00,0x00,0x00]
+0xc1,0x1b,0x00,0xc0,0x02,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 ttmp11, s[2:3], s2    ; encoding: [0xc1,0x1e,0x00,0xc0,0x02,0x00,0x00,0x00]
+0xc1,0x1e,0x00,0xc0,0x02,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 s5, s[4:5], s2    ; encoding: [0x42,0x01,0x00,0xc0,0x02,0x00,0x00,0x00]
+0x42,0x01,0x00,0xc0,0x02,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 s5, s[100:101], s2    ; encoding: [0x72,0x01,0x00,0xc0,0x02,0x00,0x00,0x00]
+0x72,0x01,0x00,0xc0,0x02,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 s5, flat_scratch, s2    ; encoding: [0x73,0x01,0x00,0xc0,0x02,0x00,0x00,0x00]
+0x73,0x01,0x00,0xc0,0x02,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 s5, vcc, s2    ; encoding: [0x75,0x01,0x00,0xc0,0x02,0x00,0x00,0x00]
+0x75,0x01,0x00,0xc0,0x02,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 s5, tba, s2    ; encoding: [0x76,0x01,0x00,0xc0,0x02,0x00,0x00,0x00]
+0x76,0x01,0x00,0xc0,0x02,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 s5, tma, s2    ; encoding: [0x77,0x01,0x00,0xc0,0x02,0x00,0x00,0x00]
+0x77,0x01,0x00,0xc0,0x02,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 s5, ttmp[10:11], s2    ; encoding: [0x7d,0x01,0x00,0xc0,0x02,0x00,0x00,0x00]
+0x7d,0x01,0x00,0xc0,0x02,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 s5, s[2:3], s101    ; encoding: [0x41,0x01,0x00,0xc0,0x65,0x00,0x00,0x00]
+0x41,0x01,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 s5, s[2:3], flat_scratch_lo    ; encoding: [0x41,0x01,0x00,0xc0,0x66,0x00,0x00,0x00]
+0x41,0x01,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 s5, s[2:3], flat_scratch_hi    ; encoding: [0x41,0x01,0x00,0xc0,0x67,0x00,0x00,0x00]
+0x41,0x01,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 s5, s[2:3], vcc_lo    ; encoding: [0x41,0x01,0x00,0xc0,0x6a,0x00,0x00,0x00]
+0x41,0x01,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 s5, s[2:3], vcc_hi    ; encoding: [0x41,0x01,0x00,0xc0,0x6b,0x00,0x00,0x00]
+0x41,0x01,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 s5, s[2:3], tba_lo    ; encoding: [0x41,0x01,0x00,0xc0,0x6c,0x00,0x00,0x00]
+0x41,0x01,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 s5, s[2:3], tba_hi    ; encoding: [0x41,0x01,0x00,0xc0,0x6d,0x00,0x00,0x00]
+0x41,0x01,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 s5, s[2:3], tma_lo    ; encoding: [0x41,0x01,0x00,0xc0,0x6e,0x00,0x00,0x00]
+0x41,0x01,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 s5, s[2:3], tma_hi    ; encoding: [0x41,0x01,0x00,0xc0,0x6f,0x00,0x00,0x00]
+0x41,0x01,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 s5, s[2:3], ttmp11    ; encoding: [0x41,0x01,0x00,0xc0,0x7b,0x00,0x00,0x00]
+0x41,0x01,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 s5, s[2:3], m0    ; encoding: [0x41,0x01,0x00,0xc0,0x7c,0x00,0x00,0x00]
+0x41,0x01,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 s5, s[2:3], 0x7ffff    ; encoding: [0x41,0x01,0x02,0xc0,0xff,0xff,0x07,0x00]
+0x41,0x01,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_dword s5, s[2:3], s2 glc    ; encoding: [0x41,0x01,0x01,0xc0,0x02,0x00,0x00,0x00]
+0x41,0x01,0x01,0xc0,0x02,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[10:11], s[2:3], s2    ; encoding: [0x81,0x02,0x04,0xc0,0x02,0x00,0x00,0x00]
+0x81,0x02,0x04,0xc0,0x02,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[12:13], s[2:3], s2    ; encoding: [0x01,0x03,0x04,0xc0,0x02,0x00,0x00,0x00]
+0x01,0x03,0x04,0xc0,0x02,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 s[100:101], s[2:3], s2    ; encoding: [0x01,0x19,0x04,0xc0,0x02,0x00,0x00,0x00]
+0x01,0x19,0x04,0xc0,0x02,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 flat_scratch, s[2:3], s2    ; encoding: [0x81,0x19,0x04,0xc0,0x02,0x00,0x00,0x00]
+0x81,0x19,0x04,0xc0,0x02,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 vcc, s[2:3], s2    ; encoding: [0x81,0x1a,0x04,0xc0,0x02,0x00,0x00,0x00]
+0x81,0x1a,0x04,0xc0,0x02,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 tba, s[2:3], s2    ; encoding: [0x01,0x1b,0x04,0xc0,0x02,0x00,0x00,0x00]
+0x01,0x1b,0x04,0xc0,0x02,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 tma, s[2:3], s2    ; encoding: [0x81,0x1b,0x04,0xc0,0x02,0x00,0x00,0x00]
+0x81,0x1b,0x04,0xc0,0x02,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 ttmp[10:11], s[2:3], s2    ; encoding: [0x81,0x1e,0x04,0xc0,0x02,0x00,0x00,0x00]
+0x81,0x1e,0x04,0xc0,0x02,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[10:11], s[4:5], s2    ; encoding: [0x82,0x02,0x04,0xc0,0x02,0x00,0x00,0x00]
+0x82,0x02,0x04,0xc0,0x02,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[10:11], s[100:101], s2    ; encoding: [0xb2,0x02,0x04,0xc0,0x02,0x00,0x00,0x00]
+0xb2,0x02,0x04,0xc0,0x02,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[10:11], flat_scratch, s2    ; encoding: [0xb3,0x02,0x04,0xc0,0x02,0x00,0x00,0x00]
+0xb3,0x02,0x04,0xc0,0x02,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[10:11], vcc, s2    ; encoding: [0xb5,0x02,0x04,0xc0,0x02,0x00,0x00,0x00]
+0xb5,0x02,0x04,0xc0,0x02,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[10:11], tba, s2    ; encoding: [0xb6,0x02,0x04,0xc0,0x02,0x00,0x00,0x00]
+0xb6,0x02,0x04,0xc0,0x02,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[10:11], tma, s2    ; encoding: [0xb7,0x02,0x04,0xc0,0x02,0x00,0x00,0x00]
+0xb7,0x02,0x04,0xc0,0x02,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[10:11], ttmp[10:11], s2    ; encoding: [0xbd,0x02,0x04,0xc0,0x02,0x00,0x00,0x00]
+0xbd,0x02,0x04,0xc0,0x02,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[10:11], s[2:3], s101    ; encoding: [0x81,0x02,0x04,0xc0,0x65,0x00,0x00,0x00]
+0x81,0x02,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[10:11], s[2:3], flat_scratch_lo    ; encoding: [0x81,0x02,0x04,0xc0,0x66,0x00,0x00,0x00]
+0x81,0x02,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[10:11], s[2:3], flat_scratch_hi    ; encoding: [0x81,0x02,0x04,0xc0,0x67,0x00,0x00,0x00]
+0x81,0x02,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[10:11], s[2:3], vcc_lo    ; encoding: [0x81,0x02,0x04,0xc0,0x6a,0x00,0x00,0x00]
+0x81,0x02,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[10:11], s[2:3], vcc_hi    ; encoding: [0x81,0x02,0x04,0xc0,0x6b,0x00,0x00,0x00]
+0x81,0x02,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[10:11], s[2:3], tba_lo    ; encoding: [0x81,0x02,0x04,0xc0,0x6c,0x00,0x00,0x00]
+0x81,0x02,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[10:11], s[2:3], tba_hi    ; encoding: [0x81,0x02,0x04,0xc0,0x6d,0x00,0x00,0x00]
+0x81,0x02,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[10:11], s[2:3], tma_lo    ; encoding: [0x81,0x02,0x04,0xc0,0x6e,0x00,0x00,0x00]
+0x81,0x02,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[10:11], s[2:3], tma_hi    ; encoding: [0x81,0x02,0x04,0xc0,0x6f,0x00,0x00,0x00]
+0x81,0x02,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[10:11], s[2:3], ttmp11    ; encoding: [0x81,0x02,0x04,0xc0,0x7b,0x00,0x00,0x00]
+0x81,0x02,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[10:11], s[2:3], m0    ; encoding: [0x81,0x02,0x04,0xc0,0x7c,0x00,0x00,0x00]
+0x81,0x02,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[10:11], s[2:3], 0x7ffff    ; encoding: [0x81,0x02,0x06,0xc0,0xff,0xff,0x07,0x00]
+0x81,0x02,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_dwordx2 s[10:11], s[2:3], s2 glc    ; encoding: [0x81,0x02,0x05,0xc0,0x02,0x00,0x00,0x00]
+0x81,0x02,0x05,0xc0,0x02,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[20:23], s[2:3], s2    ; encoding: [0x01,0x05,0x08,0xc0,0x02,0x00,0x00,0x00]
+0x01,0x05,0x08,0xc0,0x02,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[24:27], s[2:3], s2    ; encoding: [0x01,0x06,0x08,0xc0,0x02,0x00,0x00,0x00]
+0x01,0x06,0x08,0xc0,0x02,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 s[96:99], s[2:3], s2    ; encoding: [0x01,0x18,0x08,0xc0,0x02,0x00,0x00,0x00]
+0x01,0x18,0x08,0xc0,0x02,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 ttmp[8:11], s[2:3], s2    ; encoding: [0x01,0x1e,0x08,0xc0,0x02,0x00,0x00,0x00]
+0x01,0x1e,0x08,0xc0,0x02,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[20:23], s[4:5], s2    ; encoding: [0x02,0x05,0x08,0xc0,0x02,0x00,0x00,0x00]
+0x02,0x05,0x08,0xc0,0x02,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[20:23], s[100:101], s2    ; encoding: [0x32,0x05,0x08,0xc0,0x02,0x00,0x00,0x00]
+0x32,0x05,0x08,0xc0,0x02,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[20:23], flat_scratch, s2    ; encoding: [0x33,0x05,0x08,0xc0,0x02,0x00,0x00,0x00]
+0x33,0x05,0x08,0xc0,0x02,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[20:23], vcc, s2    ; encoding: [0x35,0x05,0x08,0xc0,0x02,0x00,0x00,0x00]
+0x35,0x05,0x08,0xc0,0x02,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[20:23], tba, s2    ; encoding: [0x36,0x05,0x08,0xc0,0x02,0x00,0x00,0x00]
+0x36,0x05,0x08,0xc0,0x02,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[20:23], tma, s2    ; encoding: [0x37,0x05,0x08,0xc0,0x02,0x00,0x00,0x00]
+0x37,0x05,0x08,0xc0,0x02,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[20:23], ttmp[10:11], s2    ; encoding: [0x3d,0x05,0x08,0xc0,0x02,0x00,0x00,0x00]
+0x3d,0x05,0x08,0xc0,0x02,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[20:23], s[2:3], s101    ; encoding: [0x01,0x05,0x08,0xc0,0x65,0x00,0x00,0x00]
+0x01,0x05,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[20:23], s[2:3], flat_scratch_lo    ; encoding: [0x01,0x05,0x08,0xc0,0x66,0x00,0x00,0x00]
+0x01,0x05,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[20:23], s[2:3], flat_scratch_hi    ; encoding: [0x01,0x05,0x08,0xc0,0x67,0x00,0x00,0x00]
+0x01,0x05,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[20:23], s[2:3], vcc_lo    ; encoding: [0x01,0x05,0x08,0xc0,0x6a,0x00,0x00,0x00]
+0x01,0x05,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[20:23], s[2:3], vcc_hi    ; encoding: [0x01,0x05,0x08,0xc0,0x6b,0x00,0x00,0x00]
+0x01,0x05,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[20:23], s[2:3], tba_lo    ; encoding: [0x01,0x05,0x08,0xc0,0x6c,0x00,0x00,0x00]
+0x01,0x05,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[20:23], s[2:3], tba_hi    ; encoding: [0x01,0x05,0x08,0xc0,0x6d,0x00,0x00,0x00]
+0x01,0x05,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[20:23], s[2:3], tma_lo    ; encoding: [0x01,0x05,0x08,0xc0,0x6e,0x00,0x00,0x00]
+0x01,0x05,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[20:23], s[2:3], tma_hi    ; encoding: [0x01,0x05,0x08,0xc0,0x6f,0x00,0x00,0x00]
+0x01,0x05,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[20:23], s[2:3], ttmp11    ; encoding: [0x01,0x05,0x08,0xc0,0x7b,0x00,0x00,0x00]
+0x01,0x05,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[20:23], s[2:3], m0    ; encoding: [0x01,0x05,0x08,0xc0,0x7c,0x00,0x00,0x00]
+0x01,0x05,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[20:23], s[2:3], 0x7ffff    ; encoding: [0x01,0x05,0x0a,0xc0,0xff,0xff,0x07,0x00]
+0x01,0x05,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_dwordx4 s[20:23], s[2:3], s2 glc    ; encoding: [0x01,0x05,0x09,0xc0,0x02,0x00,0x00,0x00]
+0x01,0x05,0x09,0xc0,0x02,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[20:27], s[2:3], s2    ; encoding: [0x01,0x05,0x0c,0xc0,0x02,0x00,0x00,0x00]
+0x01,0x05,0x0c,0xc0,0x02,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[24:31], s[2:3], s2    ; encoding: [0x01,0x06,0x0c,0xc0,0x02,0x00,0x00,0x00]
+0x01,0x06,0x0c,0xc0,0x02,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[92:99], s[2:3], s2    ; encoding: [0x01,0x17,0x0c,0xc0,0x02,0x00,0x00,0x00]
+0x01,0x17,0x0c,0xc0,0x02,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[20:27], s[4:5], s2    ; encoding: [0x02,0x05,0x0c,0xc0,0x02,0x00,0x00,0x00]
+0x02,0x05,0x0c,0xc0,0x02,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[20:27], s[100:101], s2    ; encoding: [0x32,0x05,0x0c,0xc0,0x02,0x00,0x00,0x00]
+0x32,0x05,0x0c,0xc0,0x02,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[20:27], flat_scratch, s2    ; encoding: [0x33,0x05,0x0c,0xc0,0x02,0x00,0x00,0x00]
+0x33,0x05,0x0c,0xc0,0x02,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[20:27], vcc, s2    ; encoding: [0x35,0x05,0x0c,0xc0,0x02,0x00,0x00,0x00]
+0x35,0x05,0x0c,0xc0,0x02,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[20:27], tba, s2    ; encoding: [0x36,0x05,0x0c,0xc0,0x02,0x00,0x00,0x00]
+0x36,0x05,0x0c,0xc0,0x02,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[20:27], tma, s2    ; encoding: [0x37,0x05,0x0c,0xc0,0x02,0x00,0x00,0x00]
+0x37,0x05,0x0c,0xc0,0x02,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[20:27], ttmp[10:11], s2    ; encoding: [0x3d,0x05,0x0c,0xc0,0x02,0x00,0x00,0x00]
+0x3d,0x05,0x0c,0xc0,0x02,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[20:27], s[2:3], s101    ; encoding: [0x01,0x05,0x0c,0xc0,0x65,0x00,0x00,0x00]
+0x01,0x05,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[20:27], s[2:3], flat_scratch_lo    ; encoding: [0x01,0x05,0x0c,0xc0,0x66,0x00,0x00,0x00]
+0x01,0x05,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[20:27], s[2:3], flat_scratch_hi    ; encoding: [0x01,0x05,0x0c,0xc0,0x67,0x00,0x00,0x00]
+0x01,0x05,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[20:27], s[2:3], vcc_lo    ; encoding: [0x01,0x05,0x0c,0xc0,0x6a,0x00,0x00,0x00]
+0x01,0x05,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[20:27], s[2:3], vcc_hi    ; encoding: [0x01,0x05,0x0c,0xc0,0x6b,0x00,0x00,0x00]
+0x01,0x05,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[20:27], s[2:3], tba_lo    ; encoding: [0x01,0x05,0x0c,0xc0,0x6c,0x00,0x00,0x00]
+0x01,0x05,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[20:27], s[2:3], tba_hi    ; encoding: [0x01,0x05,0x0c,0xc0,0x6d,0x00,0x00,0x00]
+0x01,0x05,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[20:27], s[2:3], tma_lo    ; encoding: [0x01,0x05,0x0c,0xc0,0x6e,0x00,0x00,0x00]
+0x01,0x05,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[20:27], s[2:3], tma_hi    ; encoding: [0x01,0x05,0x0c,0xc0,0x6f,0x00,0x00,0x00]
+0x01,0x05,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[20:27], s[2:3], ttmp11    ; encoding: [0x01,0x05,0x0c,0xc0,0x7b,0x00,0x00,0x00]
+0x01,0x05,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[20:27], s[2:3], m0    ; encoding: [0x01,0x05,0x0c,0xc0,0x7c,0x00,0x00,0x00]
+0x01,0x05,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[20:27], s[2:3], 0x7ffff    ; encoding: [0x01,0x05,0x0e,0xc0,0xff,0xff,0x07,0x00]
+0x01,0x05,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_dwordx8 s[20:27], s[2:3], s2 glc    ; encoding: [0x01,0x05,0x0d,0xc0,0x02,0x00,0x00,0x00]
+0x01,0x05,0x0d,0xc0,0x02,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[20:35], s[2:3], s2    ; encoding: [0x01,0x05,0x10,0xc0,0x02,0x00,0x00,0x00]
+0x01,0x05,0x10,0xc0,0x02,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[24:39], s[2:3], s2    ; encoding: [0x01,0x06,0x10,0xc0,0x02,0x00,0x00,0x00]
+0x01,0x06,0x10,0xc0,0x02,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[84:99], s[2:3], s2    ; encoding: [0x01,0x15,0x10,0xc0,0x02,0x00,0x00,0x00]
+0x01,0x15,0x10,0xc0,0x02,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[20:35], s[4:5], s2    ; encoding: [0x02,0x05,0x10,0xc0,0x02,0x00,0x00,0x00]
+0x02,0x05,0x10,0xc0,0x02,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[20:35], s[100:101], s2    ; encoding: [0x32,0x05,0x10,0xc0,0x02,0x00,0x00,0x00]
+0x32,0x05,0x10,0xc0,0x02,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[20:35], flat_scratch, s2    ; encoding: [0x33,0x05,0x10,0xc0,0x02,0x00,0x00,0x00]
+0x33,0x05,0x10,0xc0,0x02,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[20:35], vcc, s2    ; encoding: [0x35,0x05,0x10,0xc0,0x02,0x00,0x00,0x00]
+0x35,0x05,0x10,0xc0,0x02,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[20:35], tba, s2    ; encoding: [0x36,0x05,0x10,0xc0,0x02,0x00,0x00,0x00]
+0x36,0x05,0x10,0xc0,0x02,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[20:35], tma, s2    ; encoding: [0x37,0x05,0x10,0xc0,0x02,0x00,0x00,0x00]
+0x37,0x05,0x10,0xc0,0x02,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[20:35], ttmp[10:11], s2    ; encoding: [0x3d,0x05,0x10,0xc0,0x02,0x00,0x00,0x00]
+0x3d,0x05,0x10,0xc0,0x02,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[20:35], s[2:3], s101    ; encoding: [0x01,0x05,0x10,0xc0,0x65,0x00,0x00,0x00]
+0x01,0x05,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[20:35], s[2:3], flat_scratch_lo    ; encoding: [0x01,0x05,0x10,0xc0,0x66,0x00,0x00,0x00]
+0x01,0x05,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[20:35], s[2:3], flat_scratch_hi    ; encoding: [0x01,0x05,0x10,0xc0,0x67,0x00,0x00,0x00]
+0x01,0x05,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[20:35], s[2:3], vcc_lo    ; encoding: [0x01,0x05,0x10,0xc0,0x6a,0x00,0x00,0x00]
+0x01,0x05,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[20:35], s[2:3], vcc_hi    ; encoding: [0x01,0x05,0x10,0xc0,0x6b,0x00,0x00,0x00]
+0x01,0x05,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[20:35], s[2:3], tba_lo    ; encoding: [0x01,0x05,0x10,0xc0,0x6c,0x00,0x00,0x00]
+0x01,0x05,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[20:35], s[2:3], tba_hi    ; encoding: [0x01,0x05,0x10,0xc0,0x6d,0x00,0x00,0x00]
+0x01,0x05,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[20:35], s[2:3], tma_lo    ; encoding: [0x01,0x05,0x10,0xc0,0x6e,0x00,0x00,0x00]
+0x01,0x05,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[20:35], s[2:3], tma_hi    ; encoding: [0x01,0x05,0x10,0xc0,0x6f,0x00,0x00,0x00]
+0x01,0x05,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[20:35], s[2:3], ttmp11    ; encoding: [0x01,0x05,0x10,0xc0,0x7b,0x00,0x00,0x00]
+0x01,0x05,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[20:35], s[2:3], m0    ; encoding: [0x01,0x05,0x10,0xc0,0x7c,0x00,0x00,0x00]
+0x01,0x05,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[20:35], s[2:3], 0x7ffff    ; encoding: [0x01,0x05,0x12,0xc0,0xff,0xff,0x07,0x00]
+0x01,0x05,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_load_dwordx16 s[20:35], s[2:3], s2 glc    ; encoding: [0x01,0x05,0x11,0xc0,0x02,0x00,0x00,0x00]
+0x01,0x05,0x11,0xc0,0x02,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 s5, s[4:7], s2    ; encoding: [0x42,0x01,0x20,0xc0,0x02,0x00,0x00,0x00]
+0x42,0x01,0x20,0xc0,0x02,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 s101, s[4:7], s2    ; encoding: [0x42,0x19,0x20,0xc0,0x02,0x00,0x00,0x00]
+0x42,0x19,0x20,0xc0,0x02,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_lo, s[4:7], s2    ; encoding: [0x82,0x19,0x20,0xc0,0x02,0x00,0x00,0x00]
+0x82,0x19,0x20,0xc0,0x02,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 flat_scratch_hi, s[4:7], s2    ; encoding: [0xc2,0x19,0x20,0xc0,0x02,0x00,0x00,0x00]
+0xc2,0x19,0x20,0xc0,0x02,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_lo, s[4:7], s2    ; encoding: [0x82,0x1a,0x20,0xc0,0x02,0x00,0x00,0x00]
+0x82,0x1a,0x20,0xc0,0x02,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 vcc_hi, s[4:7], s2    ; encoding: [0xc2,0x1a,0x20,0xc0,0x02,0x00,0x00,0x00]
+0xc2,0x1a,0x20,0xc0,0x02,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_lo, s[4:7], s2    ; encoding: [0x02,0x1b,0x20,0xc0,0x02,0x00,0x00,0x00]
+0x02,0x1b,0x20,0xc0,0x02,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 tba_hi, s[4:7], s2    ; encoding: [0x42,0x1b,0x20,0xc0,0x02,0x00,0x00,0x00]
+0x42,0x1b,0x20,0xc0,0x02,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_lo, s[4:7], s2    ; encoding: [0x82,0x1b,0x20,0xc0,0x02,0x00,0x00,0x00]
+0x82,0x1b,0x20,0xc0,0x02,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 tma_hi, s[4:7], s2    ; encoding: [0xc2,0x1b,0x20,0xc0,0x02,0x00,0x00,0x00]
+0xc2,0x1b,0x20,0xc0,0x02,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 ttmp11, s[4:7], s2    ; encoding: [0xc2,0x1e,0x20,0xc0,0x02,0x00,0x00,0x00]
+0xc2,0x1e,0x20,0xc0,0x02,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 s5, s[8:11], s2    ; encoding: [0x44,0x01,0x20,0xc0,0x02,0x00,0x00,0x00]
+0x44,0x01,0x20,0xc0,0x02,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 s5, s[96:99], s2    ; encoding: [0x70,0x01,0x20,0xc0,0x02,0x00,0x00,0x00]
+0x70,0x01,0x20,0xc0,0x02,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 s5, ttmp[8:11], s2    ; encoding: [0x7c,0x01,0x20,0xc0,0x02,0x00,0x00,0x00]
+0x7c,0x01,0x20,0xc0,0x02,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 s5, s[4:7], s101    ; encoding: [0x42,0x01,0x20,0xc0,0x65,0x00,0x00,0x00]
+0x42,0x01,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 s5, s[4:7], flat_scratch_lo    ; encoding: [0x42,0x01,0x20,0xc0,0x66,0x00,0x00,0x00]
+0x42,0x01,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 s5, s[4:7], flat_scratch_hi    ; encoding: [0x42,0x01,0x20,0xc0,0x67,0x00,0x00,0x00]
+0x42,0x01,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 s5, s[4:7], vcc_lo    ; encoding: [0x42,0x01,0x20,0xc0,0x6a,0x00,0x00,0x00]
+0x42,0x01,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 s5, s[4:7], vcc_hi    ; encoding: [0x42,0x01,0x20,0xc0,0x6b,0x00,0x00,0x00]
+0x42,0x01,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 s5, s[4:7], tba_lo    ; encoding: [0x42,0x01,0x20,0xc0,0x6c,0x00,0x00,0x00]
+0x42,0x01,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 s5, s[4:7], tba_hi    ; encoding: [0x42,0x01,0x20,0xc0,0x6d,0x00,0x00,0x00]
+0x42,0x01,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 s5, s[4:7], tma_lo    ; encoding: [0x42,0x01,0x20,0xc0,0x6e,0x00,0x00,0x00]
+0x42,0x01,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 s5, s[4:7], tma_hi    ; encoding: [0x42,0x01,0x20,0xc0,0x6f,0x00,0x00,0x00]
+0x42,0x01,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 s5, s[4:7], ttmp11    ; encoding: [0x42,0x01,0x20,0xc0,0x7b,0x00,0x00,0x00]
+0x42,0x01,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 s5, s[4:7], m0    ; encoding: [0x42,0x01,0x20,0xc0,0x7c,0x00,0x00,0x00]
+0x42,0x01,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 s5, s[4:7], 0x7ffff    ; encoding: [0x42,0x01,0x22,0xc0,0xff,0xff,0x07,0x00]
+0x42,0x01,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_dword s5, s[4:7], s2 glc    ; encoding: [0x42,0x01,0x21,0xc0,0x02,0x00,0x00,0x00]
+0x42,0x01,0x21,0xc0,0x02,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[10:11], s[4:7], s2    ; encoding: [0x82,0x02,0x24,0xc0,0x02,0x00,0x00,0x00]
+0x82,0x02,0x24,0xc0,0x02,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[12:13], s[4:7], s2    ; encoding: [0x02,0x03,0x24,0xc0,0x02,0x00,0x00,0x00]
+0x02,0x03,0x24,0xc0,0x02,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 s[100:101], s[4:7], s2    ; encoding: [0x02,0x19,0x24,0xc0,0x02,0x00,0x00,0x00]
+0x02,0x19,0x24,0xc0,0x02,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 flat_scratch, s[4:7], s2    ; encoding: [0x82,0x19,0x24,0xc0,0x02,0x00,0x00,0x00]
+0x82,0x19,0x24,0xc0,0x02,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 vcc, s[4:7], s2    ; encoding: [0x82,0x1a,0x24,0xc0,0x02,0x00,0x00,0x00]
+0x82,0x1a,0x24,0xc0,0x02,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 tba, s[4:7], s2    ; encoding: [0x02,0x1b,0x24,0xc0,0x02,0x00,0x00,0x00]
+0x02,0x1b,0x24,0xc0,0x02,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 tma, s[4:7], s2    ; encoding: [0x82,0x1b,0x24,0xc0,0x02,0x00,0x00,0x00]
+0x82,0x1b,0x24,0xc0,0x02,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 ttmp[10:11], s[4:7], s2    ; encoding: [0x82,0x1e,0x24,0xc0,0x02,0x00,0x00,0x00]
+0x82,0x1e,0x24,0xc0,0x02,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[10:11], s[8:11], s2    ; encoding: [0x84,0x02,0x24,0xc0,0x02,0x00,0x00,0x00]
+0x84,0x02,0x24,0xc0,0x02,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[10:11], s[96:99], s2    ; encoding: [0xb0,0x02,0x24,0xc0,0x02,0x00,0x00,0x00]
+0xb0,0x02,0x24,0xc0,0x02,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[10:11], ttmp[8:11], s2    ; encoding: [0xbc,0x02,0x24,0xc0,0x02,0x00,0x00,0x00]
+0xbc,0x02,0x24,0xc0,0x02,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[10:11], s[4:7], s101    ; encoding: [0x82,0x02,0x24,0xc0,0x65,0x00,0x00,0x00]
+0x82,0x02,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[10:11], s[4:7], flat_scratch_lo    ; encoding: [0x82,0x02,0x24,0xc0,0x66,0x00,0x00,0x00]
+0x82,0x02,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[10:11], s[4:7], flat_scratch_hi    ; encoding: [0x82,0x02,0x24,0xc0,0x67,0x00,0x00,0x00]
+0x82,0x02,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[10:11], s[4:7], vcc_lo    ; encoding: [0x82,0x02,0x24,0xc0,0x6a,0x00,0x00,0x00]
+0x82,0x02,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[10:11], s[4:7], vcc_hi    ; encoding: [0x82,0x02,0x24,0xc0,0x6b,0x00,0x00,0x00]
+0x82,0x02,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[10:11], s[4:7], tba_lo    ; encoding: [0x82,0x02,0x24,0xc0,0x6c,0x00,0x00,0x00]
+0x82,0x02,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[10:11], s[4:7], tba_hi    ; encoding: [0x82,0x02,0x24,0xc0,0x6d,0x00,0x00,0x00]
+0x82,0x02,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[10:11], s[4:7], tma_lo    ; encoding: [0x82,0x02,0x24,0xc0,0x6e,0x00,0x00,0x00]
+0x82,0x02,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[10:11], s[4:7], tma_hi    ; encoding: [0x82,0x02,0x24,0xc0,0x6f,0x00,0x00,0x00]
+0x82,0x02,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[10:11], s[4:7], ttmp11    ; encoding: [0x82,0x02,0x24,0xc0,0x7b,0x00,0x00,0x00]
+0x82,0x02,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[10:11], s[4:7], m0    ; encoding: [0x82,0x02,0x24,0xc0,0x7c,0x00,0x00,0x00]
+0x82,0x02,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[10:11], s[4:7], 0x7ffff    ; encoding: [0x82,0x02,0x26,0xc0,0xff,0xff,0x07,0x00]
+0x82,0x02,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_dwordx2 s[10:11], s[4:7], s2 glc    ; encoding: [0x82,0x02,0x25,0xc0,0x02,0x00,0x00,0x00]
+0x82,0x02,0x25,0xc0,0x02,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[20:23], s[4:7], s2    ; encoding: [0x02,0x05,0x28,0xc0,0x02,0x00,0x00,0x00]
+0x02,0x05,0x28,0xc0,0x02,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[24:27], s[4:7], s2    ; encoding: [0x02,0x06,0x28,0xc0,0x02,0x00,0x00,0x00]
+0x02,0x06,0x28,0xc0,0x02,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 s[96:99], s[4:7], s2    ; encoding: [0x02,0x18,0x28,0xc0,0x02,0x00,0x00,0x00]
+0x02,0x18,0x28,0xc0,0x02,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 ttmp[8:11], s[4:7], s2    ; encoding: [0x02,0x1e,0x28,0xc0,0x02,0x00,0x00,0x00]
+0x02,0x1e,0x28,0xc0,0x02,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[20:23], s[8:11], s2    ; encoding: [0x04,0x05,0x28,0xc0,0x02,0x00,0x00,0x00]
+0x04,0x05,0x28,0xc0,0x02,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[20:23], s[96:99], s2    ; encoding: [0x30,0x05,0x28,0xc0,0x02,0x00,0x00,0x00]
+0x30,0x05,0x28,0xc0,0x02,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[20:23], ttmp[8:11], s2    ; encoding: [0x3c,0x05,0x28,0xc0,0x02,0x00,0x00,0x00]
+0x3c,0x05,0x28,0xc0,0x02,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[20:23], s[4:7], s101    ; encoding: [0x02,0x05,0x28,0xc0,0x65,0x00,0x00,0x00]
+0x02,0x05,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[20:23], s[4:7], flat_scratch_lo    ; encoding: [0x02,0x05,0x28,0xc0,0x66,0x00,0x00,0x00]
+0x02,0x05,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[20:23], s[4:7], flat_scratch_hi    ; encoding: [0x02,0x05,0x28,0xc0,0x67,0x00,0x00,0x00]
+0x02,0x05,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[20:23], s[4:7], vcc_lo    ; encoding: [0x02,0x05,0x28,0xc0,0x6a,0x00,0x00,0x00]
+0x02,0x05,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[20:23], s[4:7], vcc_hi    ; encoding: [0x02,0x05,0x28,0xc0,0x6b,0x00,0x00,0x00]
+0x02,0x05,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[20:23], s[4:7], tba_lo    ; encoding: [0x02,0x05,0x28,0xc0,0x6c,0x00,0x00,0x00]
+0x02,0x05,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[20:23], s[4:7], tba_hi    ; encoding: [0x02,0x05,0x28,0xc0,0x6d,0x00,0x00,0x00]
+0x02,0x05,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[20:23], s[4:7], tma_lo    ; encoding: [0x02,0x05,0x28,0xc0,0x6e,0x00,0x00,0x00]
+0x02,0x05,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[20:23], s[4:7], tma_hi    ; encoding: [0x02,0x05,0x28,0xc0,0x6f,0x00,0x00,0x00]
+0x02,0x05,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[20:23], s[4:7], ttmp11    ; encoding: [0x02,0x05,0x28,0xc0,0x7b,0x00,0x00,0x00]
+0x02,0x05,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[20:23], s[4:7], m0    ; encoding: [0x02,0x05,0x28,0xc0,0x7c,0x00,0x00,0x00]
+0x02,0x05,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[20:23], s[4:7], 0x7ffff    ; encoding: [0x02,0x05,0x2a,0xc0,0xff,0xff,0x07,0x00]
+0x02,0x05,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_dwordx4 s[20:23], s[4:7], s2 glc    ; encoding: [0x02,0x05,0x29,0xc0,0x02,0x00,0x00,0x00]
+0x02,0x05,0x29,0xc0,0x02,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[20:27], s[4:7], s2    ; encoding: [0x02,0x05,0x2c,0xc0,0x02,0x00,0x00,0x00]
+0x02,0x05,0x2c,0xc0,0x02,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[24:31], s[4:7], s2    ; encoding: [0x02,0x06,0x2c,0xc0,0x02,0x00,0x00,0x00]
+0x02,0x06,0x2c,0xc0,0x02,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[92:99], s[4:7], s2    ; encoding: [0x02,0x17,0x2c,0xc0,0x02,0x00,0x00,0x00]
+0x02,0x17,0x2c,0xc0,0x02,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[20:27], s[8:11], s2    ; encoding: [0x04,0x05,0x2c,0xc0,0x02,0x00,0x00,0x00]
+0x04,0x05,0x2c,0xc0,0x02,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[20:27], s[96:99], s2    ; encoding: [0x30,0x05,0x2c,0xc0,0x02,0x00,0x00,0x00]
+0x30,0x05,0x2c,0xc0,0x02,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[20:27], ttmp[8:11], s2    ; encoding: [0x3c,0x05,0x2c,0xc0,0x02,0x00,0x00,0x00]
+0x3c,0x05,0x2c,0xc0,0x02,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[20:27], s[4:7], s101    ; encoding: [0x02,0x05,0x2c,0xc0,0x65,0x00,0x00,0x00]
+0x02,0x05,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[20:27], s[4:7], flat_scratch_lo    ; encoding: [0x02,0x05,0x2c,0xc0,0x66,0x00,0x00,0x00]
+0x02,0x05,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[20:27], s[4:7], flat_scratch_hi    ; encoding: [0x02,0x05,0x2c,0xc0,0x67,0x00,0x00,0x00]
+0x02,0x05,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[20:27], s[4:7], vcc_lo    ; encoding: [0x02,0x05,0x2c,0xc0,0x6a,0x00,0x00,0x00]
+0x02,0x05,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[20:27], s[4:7], vcc_hi    ; encoding: [0x02,0x05,0x2c,0xc0,0x6b,0x00,0x00,0x00]
+0x02,0x05,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[20:27], s[4:7], tba_lo    ; encoding: [0x02,0x05,0x2c,0xc0,0x6c,0x00,0x00,0x00]
+0x02,0x05,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[20:27], s[4:7], tba_hi    ; encoding: [0x02,0x05,0x2c,0xc0,0x6d,0x00,0x00,0x00]
+0x02,0x05,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[20:27], s[4:7], tma_lo    ; encoding: [0x02,0x05,0x2c,0xc0,0x6e,0x00,0x00,0x00]
+0x02,0x05,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[20:27], s[4:7], tma_hi    ; encoding: [0x02,0x05,0x2c,0xc0,0x6f,0x00,0x00,0x00]
+0x02,0x05,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[20:27], s[4:7], ttmp11    ; encoding: [0x02,0x05,0x2c,0xc0,0x7b,0x00,0x00,0x00]
+0x02,0x05,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[20:27], s[4:7], m0    ; encoding: [0x02,0x05,0x2c,0xc0,0x7c,0x00,0x00,0x00]
+0x02,0x05,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[20:27], s[4:7], 0x7ffff    ; encoding: [0x02,0x05,0x2e,0xc0,0xff,0xff,0x07,0x00]
+0x02,0x05,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_dwordx8 s[20:27], s[4:7], s2 glc    ; encoding: [0x02,0x05,0x2d,0xc0,0x02,0x00,0x00,0x00]
+0x02,0x05,0x2d,0xc0,0x02,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[20:35], s[4:7], s2    ; encoding: [0x02,0x05,0x30,0xc0,0x02,0x00,0x00,0x00]
+0x02,0x05,0x30,0xc0,0x02,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[24:39], s[4:7], s2    ; encoding: [0x02,0x06,0x30,0xc0,0x02,0x00,0x00,0x00]
+0x02,0x06,0x30,0xc0,0x02,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[84:99], s[4:7], s2    ; encoding: [0x02,0x15,0x30,0xc0,0x02,0x00,0x00,0x00]
+0x02,0x15,0x30,0xc0,0x02,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[20:35], s[8:11], s2    ; encoding: [0x04,0x05,0x30,0xc0,0x02,0x00,0x00,0x00]
+0x04,0x05,0x30,0xc0,0x02,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[20:35], s[96:99], s2    ; encoding: [0x30,0x05,0x30,0xc0,0x02,0x00,0x00,0x00]
+0x30,0x05,0x30,0xc0,0x02,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[20:35], ttmp[8:11], s2    ; encoding: [0x3c,0x05,0x30,0xc0,0x02,0x00,0x00,0x00]
+0x3c,0x05,0x30,0xc0,0x02,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[20:35], s[4:7], s101    ; encoding: [0x02,0x05,0x30,0xc0,0x65,0x00,0x00,0x00]
+0x02,0x05,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[20:35], s[4:7], flat_scratch_lo    ; encoding: [0x02,0x05,0x30,0xc0,0x66,0x00,0x00,0x00]
+0x02,0x05,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[20:35], s[4:7], flat_scratch_hi    ; encoding: [0x02,0x05,0x30,0xc0,0x67,0x00,0x00,0x00]
+0x02,0x05,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[20:35], s[4:7], vcc_lo    ; encoding: [0x02,0x05,0x30,0xc0,0x6a,0x00,0x00,0x00]
+0x02,0x05,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[20:35], s[4:7], vcc_hi    ; encoding: [0x02,0x05,0x30,0xc0,0x6b,0x00,0x00,0x00]
+0x02,0x05,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[20:35], s[4:7], tba_lo    ; encoding: [0x02,0x05,0x30,0xc0,0x6c,0x00,0x00,0x00]
+0x02,0x05,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[20:35], s[4:7], tba_hi    ; encoding: [0x02,0x05,0x30,0xc0,0x6d,0x00,0x00,0x00]
+0x02,0x05,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[20:35], s[4:7], tma_lo    ; encoding: [0x02,0x05,0x30,0xc0,0x6e,0x00,0x00,0x00]
+0x02,0x05,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[20:35], s[4:7], tma_hi    ; encoding: [0x02,0x05,0x30,0xc0,0x6f,0x00,0x00,0x00]
+0x02,0x05,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[20:35], s[4:7], ttmp11    ; encoding: [0x02,0x05,0x30,0xc0,0x7b,0x00,0x00,0x00]
+0x02,0x05,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[20:35], s[4:7], m0    ; encoding: [0x02,0x05,0x30,0xc0,0x7c,0x00,0x00,0x00]
+0x02,0x05,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[20:35], s[4:7], 0x7ffff    ; encoding: [0x02,0x05,0x32,0xc0,0xff,0xff,0x07,0x00]
+0x02,0x05,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_buffer_load_dwordx16 s[20:35], s[4:7], s2 glc    ; encoding: [0x02,0x05,0x31,0xc0,0x02,0x00,0x00,0x00]
+0x02,0x05,0x31,0xc0,0x02,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 s1, s[4:5], m0    ; encoding: [0x42,0x00,0x40,0xc0,0x7c,0x00,0x00,0x00]
+0x42,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 s101, s[4:5], m0    ; encoding: [0x42,0x19,0x40,0xc0,0x7c,0x00,0x00,0x00]
+0x42,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_lo, s[4:5], m0    ; encoding: [0x82,0x19,0x40,0xc0,0x7c,0x00,0x00,0x00]
+0x82,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 flat_scratch_hi, s[4:5], m0    ; encoding: [0xc2,0x19,0x40,0xc0,0x7c,0x00,0x00,0x00]
+0xc2,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_lo, s[4:5], m0    ; encoding: [0x82,0x1a,0x40,0xc0,0x7c,0x00,0x00,0x00]
+0x82,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 vcc_hi, s[4:5], m0    ; encoding: [0xc2,0x1a,0x40,0xc0,0x7c,0x00,0x00,0x00]
+0xc2,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_lo, s[4:5], m0    ; encoding: [0x02,0x1b,0x40,0xc0,0x7c,0x00,0x00,0x00]
+0x02,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 tba_hi, s[4:5], m0    ; encoding: [0x42,0x1b,0x40,0xc0,0x7c,0x00,0x00,0x00]
+0x42,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_lo, s[4:5], m0    ; encoding: [0x82,0x1b,0x40,0xc0,0x7c,0x00,0x00,0x00]
+0x82,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 tma_hi, s[4:5], m0    ; encoding: [0xc2,0x1b,0x40,0xc0,0x7c,0x00,0x00,0x00]
+0xc2,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 ttmp11, s[4:5], m0    ; encoding: [0xc2,0x1e,0x40,0xc0,0x7c,0x00,0x00,0x00]
+0xc2,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 s1, s[6:7], m0    ; encoding: [0x43,0x00,0x40,0xc0,0x7c,0x00,0x00,0x00]
+0x43,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 s1, s[100:101], m0    ; encoding: [0x72,0x00,0x40,0xc0,0x7c,0x00,0x00,0x00]
+0x72,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 s1, flat_scratch, m0    ; encoding: [0x73,0x00,0x40,0xc0,0x7c,0x00,0x00,0x00]
+0x73,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 s1, vcc, m0    ; encoding: [0x75,0x00,0x40,0xc0,0x7c,0x00,0x00,0x00]
+0x75,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 s1, tba, m0    ; encoding: [0x76,0x00,0x40,0xc0,0x7c,0x00,0x00,0x00]
+0x76,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 s1, tma, m0    ; encoding: [0x77,0x00,0x40,0xc0,0x7c,0x00,0x00,0x00]
+0x77,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 s1, ttmp[10:11], m0    ; encoding: [0x7d,0x00,0x40,0xc0,0x7c,0x00,0x00,0x00]
+0x7d,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 s1, s[4:5], 0x7ffff    ; encoding: [0x42,0x00,0x42,0xc0,0xff,0xff,0x07,0x00]
+0x42,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_dword s1, s[4:5], m0 glc    ; encoding: [0x42,0x00,0x41,0xc0,0x7c,0x00,0x00,0x00]
+0x42,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[4:5], m0    ; encoding: [0x82,0x00,0x44,0xc0,0x7c,0x00,0x00,0x00]
+0x82,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[4:5], s[4:5], m0    ; encoding: [0x02,0x01,0x44,0xc0,0x7c,0x00,0x00,0x00]
+0x02,0x01,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 s[100:101], s[4:5], m0    ; encoding: [0x02,0x19,0x44,0xc0,0x7c,0x00,0x00,0x00]
+0x02,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 flat_scratch, s[4:5], m0    ; encoding: [0x82,0x19,0x44,0xc0,0x7c,0x00,0x00,0x00]
+0x82,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 vcc, s[4:5], m0    ; encoding: [0x82,0x1a,0x44,0xc0,0x7c,0x00,0x00,0x00]
+0x82,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 tba, s[4:5], m0    ; encoding: [0x02,0x1b,0x44,0xc0,0x7c,0x00,0x00,0x00]
+0x02,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 tma, s[4:5], m0    ; encoding: [0x82,0x1b,0x44,0xc0,0x7c,0x00,0x00,0x00]
+0x82,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 ttmp[10:11], s[4:5], m0    ; encoding: [0x82,0x1e,0x44,0xc0,0x7c,0x00,0x00,0x00]
+0x82,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[2:3], s[6:7], m0    ; encoding: [0x83,0x00,0x44,0xc0,0x7c,0x00,0x00,0x00]
+0x83,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[2:3], s[100:101], m0    ; encoding: [0xb2,0x00,0x44,0xc0,0x7c,0x00,0x00,0x00]
+0xb2,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[2:3], flat_scratch, m0    ; encoding: [0xb3,0x00,0x44,0xc0,0x7c,0x00,0x00,0x00]
+0xb3,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[2:3], vcc, m0    ; encoding: [0xb5,0x00,0x44,0xc0,0x7c,0x00,0x00,0x00]
+0xb5,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[2:3], tba, m0    ; encoding: [0xb6,0x00,0x44,0xc0,0x7c,0x00,0x00,0x00]
+0xb6,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[2:3], tma, m0    ; encoding: [0xb7,0x00,0x44,0xc0,0x7c,0x00,0x00,0x00]
+0xb7,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[2:3], ttmp[10:11], m0    ; encoding: [0xbd,0x00,0x44,0xc0,0x7c,0x00,0x00,0x00]
+0xbd,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[2:3], s[4:5], 0x7ffff    ; encoding: [0x82,0x00,0x46,0xc0,0xff,0xff,0x07,0x00]
+0x82,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_dwordx2 s[2:3], s[4:5], m0 glc    ; encoding: [0x82,0x00,0x45,0xc0,0x7c,0x00,0x00,0x00]
+0x82,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[4:5], m0    ; encoding: [0x02,0x01,0x48,0xc0,0x7c,0x00,0x00,0x00]
+0x02,0x01,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[8:11], s[4:5], m0    ; encoding: [0x02,0x02,0x48,0xc0,0x7c,0x00,0x00,0x00]
+0x02,0x02,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 s[96:99], s[4:5], m0    ; encoding: [0x02,0x18,0x48,0xc0,0x7c,0x00,0x00,0x00]
+0x02,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 ttmp[8:11], s[4:5], m0    ; encoding: [0x02,0x1e,0x48,0xc0,0x7c,0x00,0x00,0x00]
+0x02,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[4:7], s[6:7], m0    ; encoding: [0x03,0x01,0x48,0xc0,0x7c,0x00,0x00,0x00]
+0x03,0x01,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[4:7], s[100:101], m0    ; encoding: [0x32,0x01,0x48,0xc0,0x7c,0x00,0x00,0x00]
+0x32,0x01,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[4:7], flat_scratch, m0    ; encoding: [0x33,0x01,0x48,0xc0,0x7c,0x00,0x00,0x00]
+0x33,0x01,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[4:7], vcc, m0    ; encoding: [0x35,0x01,0x48,0xc0,0x7c,0x00,0x00,0x00]
+0x35,0x01,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[4:7], tba, m0    ; encoding: [0x36,0x01,0x48,0xc0,0x7c,0x00,0x00,0x00]
+0x36,0x01,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[4:7], tma, m0    ; encoding: [0x37,0x01,0x48,0xc0,0x7c,0x00,0x00,0x00]
+0x37,0x01,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[4:7], ttmp[10:11], m0    ; encoding: [0x3d,0x01,0x48,0xc0,0x7c,0x00,0x00,0x00]
+0x3d,0x01,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[4:7], s[4:5], 0x7ffff    ; encoding: [0x02,0x01,0x4a,0xc0,0xff,0xff,0x07,0x00]
+0x02,0x01,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_store_dwordx4 s[4:7], s[4:5], m0 glc    ; encoding: [0x02,0x01,0x49,0xc0,0x7c,0x00,0x00,0x00]
+0x02,0x01,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 s1, s[8:11], m0    ; encoding: [0x44,0x00,0x60,0xc0,0x7c,0x00,0x00,0x00]
+0x44,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 s101, s[8:11], m0    ; encoding: [0x44,0x19,0x60,0xc0,0x7c,0x00,0x00,0x00]
+0x44,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_lo, s[8:11], m0    ; encoding: [0x84,0x19,0x60,0xc0,0x7c,0x00,0x00,0x00]
+0x84,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 flat_scratch_hi, s[8:11], m0    ; encoding: [0xc4,0x19,0x60,0xc0,0x7c,0x00,0x00,0x00]
+0xc4,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_lo, s[8:11], m0    ; encoding: [0x84,0x1a,0x60,0xc0,0x7c,0x00,0x00,0x00]
+0x84,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 vcc_hi, s[8:11], m0    ; encoding: [0xc4,0x1a,0x60,0xc0,0x7c,0x00,0x00,0x00]
+0xc4,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_lo, s[8:11], m0    ; encoding: [0x04,0x1b,0x60,0xc0,0x7c,0x00,0x00,0x00]
+0x04,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 tba_hi, s[8:11], m0    ; encoding: [0x44,0x1b,0x60,0xc0,0x7c,0x00,0x00,0x00]
+0x44,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_lo, s[8:11], m0    ; encoding: [0x84,0x1b,0x60,0xc0,0x7c,0x00,0x00,0x00]
+0x84,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 tma_hi, s[8:11], m0    ; encoding: [0xc4,0x1b,0x60,0xc0,0x7c,0x00,0x00,0x00]
+0xc4,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 ttmp11, s[8:11], m0    ; encoding: [0xc4,0x1e,0x60,0xc0,0x7c,0x00,0x00,0x00]
+0xc4,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 s1, s[12:15], m0    ; encoding: [0x46,0x00,0x60,0xc0,0x7c,0x00,0x00,0x00]
+0x46,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 s1, s[96:99], m0    ; encoding: [0x70,0x00,0x60,0xc0,0x7c,0x00,0x00,0x00]
+0x70,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 s1, ttmp[8:11], m0    ; encoding: [0x7c,0x00,0x60,0xc0,0x7c,0x00,0x00,0x00]
+0x7c,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 s1, s[8:11], 0x7ffff    ; encoding: [0x44,0x00,0x62,0xc0,0xff,0xff,0x07,0x00]
+0x44,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_dword s1, s[8:11], m0 glc    ; encoding: [0x44,0x00,0x61,0xc0,0x7c,0x00,0x00,0x00]
+0x44,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[8:11], m0    ; encoding: [0x84,0x00,0x64,0xc0,0x7c,0x00,0x00,0x00]
+0x84,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[4:5], s[8:11], m0    ; encoding: [0x04,0x01,0x64,0xc0,0x7c,0x00,0x00,0x00]
+0x04,0x01,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 s[100:101], s[8:11], m0    ; encoding: [0x04,0x19,0x64,0xc0,0x7c,0x00,0x00,0x00]
+0x04,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 flat_scratch, s[8:11], m0    ; encoding: [0x84,0x19,0x64,0xc0,0x7c,0x00,0x00,0x00]
+0x84,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 vcc, s[8:11], m0    ; encoding: [0x84,0x1a,0x64,0xc0,0x7c,0x00,0x00,0x00]
+0x84,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 tba, s[8:11], m0    ; encoding: [0x04,0x1b,0x64,0xc0,0x7c,0x00,0x00,0x00]
+0x04,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 tma, s[8:11], m0    ; encoding: [0x84,0x1b,0x64,0xc0,0x7c,0x00,0x00,0x00]
+0x84,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 ttmp[10:11], s[8:11], m0    ; encoding: [0x84,0x1e,0x64,0xc0,0x7c,0x00,0x00,0x00]
+0x84,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[2:3], s[12:15], m0    ; encoding: [0x86,0x00,0x64,0xc0,0x7c,0x00,0x00,0x00]
+0x86,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[2:3], s[96:99], m0    ; encoding: [0xb0,0x00,0x64,0xc0,0x7c,0x00,0x00,0x00]
+0xb0,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[2:3], ttmp[8:11], m0    ; encoding: [0xbc,0x00,0x64,0xc0,0x7c,0x00,0x00,0x00]
+0xbc,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[2:3], s[8:11], 0x7ffff    ; encoding: [0x84,0x00,0x66,0xc0,0xff,0xff,0x07,0x00]
+0x84,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_dwordx2 s[2:3], s[8:11], m0 glc    ; encoding: [0x84,0x00,0x65,0xc0,0x7c,0x00,0x00,0x00]
+0x84,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[8:11], m0    ; encoding: [0x04,0x01,0x68,0xc0,0x7c,0x00,0x00,0x00]
+0x04,0x01,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[8:11], s[8:11], m0    ; encoding: [0x04,0x02,0x68,0xc0,0x7c,0x00,0x00,0x00]
+0x04,0x02,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 s[96:99], s[8:11], m0    ; encoding: [0x04,0x18,0x68,0xc0,0x7c,0x00,0x00,0x00]
+0x04,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 ttmp[8:11], s[8:11], m0    ; encoding: [0x04,0x1e,0x68,0xc0,0x7c,0x00,0x00,0x00]
+0x04,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[4:7], s[12:15], m0    ; encoding: [0x06,0x01,0x68,0xc0,0x7c,0x00,0x00,0x00]
+0x06,0x01,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[4:7], s[96:99], m0    ; encoding: [0x30,0x01,0x68,0xc0,0x7c,0x00,0x00,0x00]
+0x30,0x01,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[4:7], ttmp[8:11], m0    ; encoding: [0x3c,0x01,0x68,0xc0,0x7c,0x00,0x00,0x00]
+0x3c,0x01,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[4:7], s[8:11], 0x7ffff    ; encoding: [0x04,0x01,0x6a,0xc0,0xff,0xff,0x07,0x00]
+0x04,0x01,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_buffer_store_dwordx4 s[4:7], s[8:11], m0 glc    ; encoding: [0x04,0x01,0x69,0xc0,0x7c,0x00,0x00,0x00]
+0x04,0x01,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
@@ -6384,11 +6459,11 @@
 # 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[10:11]    ; encoding: [0x80,0x02,0x90,0xc0,0x00,0x00,0x00,0x00]
+0x80,0x02,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[12:13]    ; encoding: [0x00,0x03,0x90,0xc0,0x00,0x00,0x00,0x00]
+0x00,0x03,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
@@ -6408,11 +6483,11 @@
 # 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[10:11]    ; encoding: [0x80,0x02,0x94,0xc0,0x00,0x00,0x00,0x00]
+0x80,0x02,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[12:13]    ; encoding: [0x00,0x03,0x94,0xc0,0x00,0x00,0x00,0x00]
+0x00,0x03,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
@@ -6432,2564 +6507,2564 @@
 # 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 s5, s1    ; encoding: [0x01,0x00,0x85,0xbe]
+0x01,0x00,0x85,0xbe
 
-# CHECK: s_mov_b32 s101, s0    ; encoding: [0x00,0x00,0xe5,0xbe]
-0x00,0x00,0xe5,0xbe
+# CHECK: s_mov_b32 s101, s1    ; encoding: [0x01,0x00,0xe5,0xbe]
+0x01,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_lo, s1    ; encoding: [0x01,0x00,0xe6,0xbe]
+0x01,0x00,0xe6,0xbe
 
-# CHECK: s_mov_b32 flat_scratch_hi, s0    ; encoding: [0x00,0x00,0xe7,0xbe]
-0x00,0x00,0xe7,0xbe
+# CHECK: s_mov_b32 flat_scratch_hi, s1    ; encoding: [0x01,0x00,0xe7,0xbe]
+0x01,0x00,0xe7,0xbe
 
-# CHECK: s_mov_b32 vcc_lo, s0    ; encoding: [0x00,0x00,0xea,0xbe]
-0x00,0x00,0xea,0xbe
+# CHECK: s_mov_b32 vcc_lo, s1    ; encoding: [0x01,0x00,0xea,0xbe]
+0x01,0x00,0xea,0xbe
 
-# CHECK: s_mov_b32 vcc_hi, s0    ; encoding: [0x00,0x00,0xeb,0xbe]
-0x00,0x00,0xeb,0xbe
+# CHECK: s_mov_b32 vcc_hi, s1    ; encoding: [0x01,0x00,0xeb,0xbe]
+0x01,0x00,0xeb,0xbe
 
-# CHECK: s_mov_b32 tba_lo, s0    ; encoding: [0x00,0x00,0xec,0xbe]
-0x00,0x00,0xec,0xbe
+# CHECK: s_mov_b32 tba_lo, s1    ; encoding: [0x01,0x00,0xec,0xbe]
+0x01,0x00,0xec,0xbe
 
-# CHECK: s_mov_b32 tba_hi, s0    ; encoding: [0x00,0x00,0xed,0xbe]
-0x00,0x00,0xed,0xbe
+# CHECK: s_mov_b32 tba_hi, s1    ; encoding: [0x01,0x00,0xed,0xbe]
+0x01,0x00,0xed,0xbe
 
-# CHECK: s_mov_b32 tma_lo, s0    ; encoding: [0x00,0x00,0xee,0xbe]
-0x00,0x00,0xee,0xbe
+# CHECK: s_mov_b32 tma_lo, s1    ; encoding: [0x01,0x00,0xee,0xbe]
+0x01,0x00,0xee,0xbe
 
-# CHECK: s_mov_b32 tma_hi, s0    ; encoding: [0x00,0x00,0xef,0xbe]
-0x00,0x00,0xef,0xbe
+# CHECK: s_mov_b32 tma_hi, s1    ; encoding: [0x01,0x00,0xef,0xbe]
+0x01,0x00,0xef,0xbe
 
-# CHECK: s_mov_b32 ttmp11, s0    ; encoding: [0x00,0x00,0xfb,0xbe]
-0x00,0x00,0xfb,0xbe
+# CHECK: s_mov_b32 ttmp11, s1    ; encoding: [0x01,0x00,0xfb,0xbe]
+0x01,0x00,0xfb,0xbe
 
-# CHECK: s_mov_b32 m0, s0    ; encoding: [0x00,0x00,0xfc,0xbe]
-0x00,0x00,0xfc,0xbe
+# CHECK: s_mov_b32 m0, s1    ; encoding: [0x01,0x00,0xfc,0xbe]
+0x01,0x00,0xfc,0xbe
 
-# CHECK: s_mov_b32 exec_lo, s0    ; encoding: [0x00,0x00,0xfe,0xbe]
-0x00,0x00,0xfe,0xbe
+# CHECK: s_mov_b32 exec_lo, s1    ; encoding: [0x01,0x00,0xfe,0xbe]
+0x01,0x00,0xfe,0xbe
 
-# CHECK: s_mov_b32 exec_hi, s0    ; encoding: [0x00,0x00,0xff,0xbe]
-0x00,0x00,0xff,0xbe
+# CHECK: s_mov_b32 exec_hi, s1    ; encoding: [0x01,0x00,0xff,0xbe]
+0x01,0x00,0xff,0xbe
 
-# CHECK: s_mov_b32 s0, s101    ; encoding: [0x65,0x00,0x80,0xbe]
-0x65,0x00,0x80,0xbe
+# CHECK: s_mov_b32 s5, s101    ; encoding: [0x65,0x00,0x85,0xbe]
+0x65,0x00,0x85,0xbe
 
-# CHECK: s_mov_b32 s0, flat_scratch_lo    ; encoding: [0x66,0x00,0x80,0xbe]
-0x66,0x00,0x80,0xbe
+# CHECK: s_mov_b32 s5, flat_scratch_lo    ; encoding: [0x66,0x00,0x85,0xbe]
+0x66,0x00,0x85,0xbe
 
-# CHECK: s_mov_b32 s0, flat_scratch_hi    ; encoding: [0x67,0x00,0x80,0xbe]
-0x67,0x00,0x80,0xbe
+# CHECK: s_mov_b32 s5, flat_scratch_hi    ; encoding: [0x67,0x00,0x85,0xbe]
+0x67,0x00,0x85,0xbe
 
-# CHECK: s_mov_b32 s0, vcc_lo    ; encoding: [0x6a,0x00,0x80,0xbe]
-0x6a,0x00,0x80,0xbe
+# CHECK: s_mov_b32 s5, vcc_lo    ; encoding: [0x6a,0x00,0x85,0xbe]
+0x6a,0x00,0x85,0xbe
 
-# CHECK: s_mov_b32 s0, vcc_hi    ; encoding: [0x6b,0x00,0x80,0xbe]
-0x6b,0x00,0x80,0xbe
+# CHECK: s_mov_b32 s5, vcc_hi    ; encoding: [0x6b,0x00,0x85,0xbe]
+0x6b,0x00,0x85,0xbe
 
-# CHECK: s_mov_b32 s0, tba_lo    ; encoding: [0x6c,0x00,0x80,0xbe]
-0x6c,0x00,0x80,0xbe
+# CHECK: s_mov_b32 s5, tba_lo    ; encoding: [0x6c,0x00,0x85,0xbe]
+0x6c,0x00,0x85,0xbe
 
-# CHECK: s_mov_b32 s0, tba_hi    ; encoding: [0x6d,0x00,0x80,0xbe]
-0x6d,0x00,0x80,0xbe
+# CHECK: s_mov_b32 s5, tba_hi    ; encoding: [0x6d,0x00,0x85,0xbe]
+0x6d,0x00,0x85,0xbe
 
-# CHECK: s_mov_b32 s0, tma_lo    ; encoding: [0x6e,0x00,0x80,0xbe]
-0x6e,0x00,0x80,0xbe
+# CHECK: s_mov_b32 s5, tma_lo    ; encoding: [0x6e,0x00,0x85,0xbe]
+0x6e,0x00,0x85,0xbe
 
-# CHECK: s_mov_b32 s0, tma_hi    ; encoding: [0x6f,0x00,0x80,0xbe]
-0x6f,0x00,0x80,0xbe
+# CHECK: s_mov_b32 s5, tma_hi    ; encoding: [0x6f,0x00,0x85,0xbe]
+0x6f,0x00,0x85,0xbe
 
-# CHECK: s_mov_b32 s0, ttmp11    ; encoding: [0x7b,0x00,0x80,0xbe]
-0x7b,0x00,0x80,0xbe
+# CHECK: s_mov_b32 s5, ttmp11    ; encoding: [0x7b,0x00,0x85,0xbe]
+0x7b,0x00,0x85,0xbe
 
-# CHECK: s_mov_b32 s0, m0    ; encoding: [0x7c,0x00,0x80,0xbe]
-0x7c,0x00,0x80,0xbe
+# CHECK: s_mov_b32 s5, m0    ; encoding: [0x7c,0x00,0x85,0xbe]
+0x7c,0x00,0x85,0xbe
 
-# CHECK: s_mov_b32 s0, exec_lo    ; encoding: [0x7e,0x00,0x80,0xbe]
-0x7e,0x00,0x80,0xbe
+# CHECK: s_mov_b32 s5, exec_lo    ; encoding: [0x7e,0x00,0x85,0xbe]
+0x7e,0x00,0x85,0xbe
 
-# CHECK: s_mov_b32 s0, exec_hi    ; encoding: [0x7f,0x00,0x80,0xbe]
-0x7f,0x00,0x80,0xbe
+# CHECK: s_mov_b32 s5, exec_hi    ; encoding: [0x7f,0x00,0x85,0xbe]
+0x7f,0x00,0x85,0xbe
 
-# CHECK: s_mov_b32 s0, 0    ; encoding: [0x80,0x00,0x80,0xbe]
-0x80,0x00,0x80,0xbe
+# CHECK: s_mov_b32 s5, 0    ; encoding: [0x80,0x00,0x85,0xbe]
+0x80,0x00,0x85,0xbe
 
-# CHECK: s_mov_b32 s0, -1    ; encoding: [0xc1,0x00,0x80,0xbe]
-0xc1,0x00,0x80,0xbe
+# CHECK: s_mov_b32 s5, -1    ; encoding: [0xc1,0x00,0x85,0xbe]
+0xc1,0x00,0x85,0xbe
 
-# CHECK: s_mov_b32 s0, 0.5    ; encoding: [0xf0,0x00,0x80,0xbe]
-0xf0,0x00,0x80,0xbe
+# CHECK: s_mov_b32 s5, 0.5    ; encoding: [0xf0,0x00,0x85,0xbe]
+0xf0,0x00,0x85,0xbe
 
-# CHECK: s_mov_b32 s0, -4.0    ; encoding: [0xf7,0x00,0x80,0xbe]
-0xf7,0x00,0x80,0xbe
+# CHECK: s_mov_b32 s5, -4.0    ; encoding: [0xf7,0x00,0x85,0xbe]
+0xf7,0x00,0x85,0xbe
 
-# CHECK: s_mov_b32 s0, scc    ; encoding: [0xfd,0x00,0x80,0xbe]
-0xfd,0x00,0x80,0xbe
+# CHECK: s_mov_b32 s5, scc    ; encoding: [0xfd,0x00,0x85,0xbe]
+0xfd,0x00,0x85,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 s5, 0xaf123456    ; encoding: [0xff,0x00,0x85,0xbe,0x56,0x34,0x12,0xaf]
+0xff,0x00,0x85,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_b32 s5, 0x3f717273    ; encoding: [0xff,0x00,0x85,0xbe,0x73,0x72,0x71,0x3f]
+0xff,0x00,0x85,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[10:11], s[2:3]    ; encoding: [0x02,0x01,0x8a,0xbe]
+0x02,0x01,0x8a,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[12:13], s[2:3]    ; encoding: [0x02,0x01,0x8c,0xbe]
+0x02,0x01,0x8c,0xbe
 
-# CHECK: s_mov_b64 s[100:101], s[0:1]    ; encoding: [0x00,0x01,0xe4,0xbe]
-0x00,0x01,0xe4,0xbe
+# CHECK: s_mov_b64 s[100:101], s[2:3]    ; encoding: [0x02,0x01,0xe4,0xbe]
+0x02,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 flat_scratch, s[2:3]    ; encoding: [0x02,0x01,0xe6,0xbe]
+0x02,0x01,0xe6,0xbe
 
-# CHECK: s_mov_b64 vcc, s[0:1]    ; encoding: [0x00,0x01,0xea,0xbe]
-0x00,0x01,0xea,0xbe
+# CHECK: s_mov_b64 vcc, s[2:3]    ; encoding: [0x02,0x01,0xea,0xbe]
+0x02,0x01,0xea,0xbe
 
-# CHECK: s_mov_b64 tba, s[0:1]    ; encoding: [0x00,0x01,0xec,0xbe]
-0x00,0x01,0xec,0xbe
+# CHECK: s_mov_b64 tba, s[2:3]    ; encoding: [0x02,0x01,0xec,0xbe]
+0x02,0x01,0xec,0xbe
 
-# CHECK: s_mov_b64 tma, s[0:1]    ; encoding: [0x00,0x01,0xee,0xbe]
-0x00,0x01,0xee,0xbe
+# CHECK: s_mov_b64 tma, s[2:3]    ; encoding: [0x02,0x01,0xee,0xbe]
+0x02,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 ttmp[10:11], s[2:3]    ; encoding: [0x02,0x01,0xfa,0xbe]
+0x02,0x01,0xfa,0xbe
 
-# CHECK: s_mov_b64 exec, s[0:1]    ; encoding: [0x00,0x01,0xfe,0xbe]
-0x00,0x01,0xfe,0xbe
+# CHECK: s_mov_b64 exec, s[2:3]    ; encoding: [0x02,0x01,0xfe,0xbe]
+0x02,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[10:11], s[4:5]    ; encoding: [0x04,0x01,0x8a,0xbe]
+0x04,0x01,0x8a,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[10:11], s[100:101]    ; encoding: [0x64,0x01,0x8a,0xbe]
+0x64,0x01,0x8a,0xbe
 
-# CHECK: s_mov_b64 s[0:1], flat_scratch    ; encoding: [0x66,0x01,0x80,0xbe]
-0x66,0x01,0x80,0xbe
+# CHECK: s_mov_b64 s[10:11], flat_scratch    ; encoding: [0x66,0x01,0x8a,0xbe]
+0x66,0x01,0x8a,0xbe
 
-# CHECK: s_mov_b64 s[0:1], vcc    ; encoding: [0x6a,0x01,0x80,0xbe]
-0x6a,0x01,0x80,0xbe
+# CHECK: s_mov_b64 s[10:11], vcc    ; encoding: [0x6a,0x01,0x8a,0xbe]
+0x6a,0x01,0x8a,0xbe
 
-# CHECK: s_mov_b64 s[0:1], tba    ; encoding: [0x6c,0x01,0x80,0xbe]
-0x6c,0x01,0x80,0xbe
+# CHECK: s_mov_b64 s[10:11], tba    ; encoding: [0x6c,0x01,0x8a,0xbe]
+0x6c,0x01,0x8a,0xbe
 
-# CHECK: s_mov_b64 s[0:1], tma    ; encoding: [0x6e,0x01,0x80,0xbe]
-0x6e,0x01,0x80,0xbe
+# CHECK: s_mov_b64 s[10:11], tma    ; encoding: [0x6e,0x01,0x8a,0xbe]
+0x6e,0x01,0x8a,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[10:11], ttmp[10:11]    ; encoding: [0x7a,0x01,0x8a,0xbe]
+0x7a,0x01,0x8a,0xbe
 
-# CHECK: s_mov_b64 s[0:1], exec    ; encoding: [0x7e,0x01,0x80,0xbe]
-0x7e,0x01,0x80,0xbe
+# CHECK: s_mov_b64 s[10:11], exec    ; encoding: [0x7e,0x01,0x8a,0xbe]
+0x7e,0x01,0x8a,0xbe
 
-# CHECK: s_mov_b64 s[0:1], 0    ; encoding: [0x80,0x01,0x80,0xbe]
-0x80,0x01,0x80,0xbe
+# CHECK: s_mov_b64 s[10:11], 0    ; encoding: [0x80,0x01,0x8a,0xbe]
+0x80,0x01,0x8a,0xbe
 
-# CHECK: s_mov_b64 s[0:1], -1    ; encoding: [0xc1,0x01,0x80,0xbe]
-0xc1,0x01,0x80,0xbe
+# CHECK: s_mov_b64 s[10:11], -1    ; encoding: [0xc1,0x01,0x8a,0xbe]
+0xc1,0x01,0x8a,0xbe
 
-# CHECK: s_mov_b64 s[0:1], 0.5    ; encoding: [0xf0,0x01,0x80,0xbe]
-0xf0,0x01,0x80,0xbe
+# CHECK: s_mov_b64 s[10:11], 0.5    ; encoding: [0xf0,0x01,0x8a,0xbe]
+0xf0,0x01,0x8a,0xbe
 
-# CHECK: s_mov_b64 s[0:1], -4.0    ; encoding: [0xf7,0x01,0x80,0xbe]
-0xf7,0x01,0x80,0xbe
+# CHECK: s_mov_b64 s[10:11], -4.0    ; encoding: [0xf7,0x01,0x8a,0xbe]
+0xf7,0x01,0x8a,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[10:11], 0xaf123456    ; encoding: [0xff,0x01,0x8a,0xbe,0x56,0x34,0x12,0xaf]
+0xff,0x01,0x8a,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_mov_b64 s[10:11], 0x3f717273    ; encoding: [0xff,0x01,0x8a,0xbe,0x73,0x72,0x71,0x3f]
+0xff,0x01,0x8a,0xbe,0x73,0x72,0x71,0x3f
 
-# CHECK: s_cmov_b32 s0, s0    ; encoding: [0x00,0x02,0x80,0xbe]
-0x00,0x02,0x80,0xbe
+# CHECK: s_cmov_b32 s5, s1    ; encoding: [0x01,0x02,0x85,0xbe]
+0x01,0x02,0x85,0xbe
 
-# CHECK: s_cmov_b32 s101, s0    ; encoding: [0x00,0x02,0xe5,0xbe]
-0x00,0x02,0xe5,0xbe
+# CHECK: s_cmov_b32 s101, s1    ; encoding: [0x01,0x02,0xe5,0xbe]
+0x01,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_lo, s1    ; encoding: [0x01,0x02,0xe6,0xbe]
+0x01,0x02,0xe6,0xbe
 
-# CHECK: s_cmov_b32 flat_scratch_hi, s0    ; encoding: [0x00,0x02,0xe7,0xbe]
-0x00,0x02,0xe7,0xbe
+# CHECK: s_cmov_b32 flat_scratch_hi, s1    ; encoding: [0x01,0x02,0xe7,0xbe]
+0x01,0x02,0xe7,0xbe
 
-# CHECK: s_cmov_b32 vcc_lo, s0    ; encoding: [0x00,0x02,0xea,0xbe]
-0x00,0x02,0xea,0xbe
+# CHECK: s_cmov_b32 vcc_lo, s1    ; encoding: [0x01,0x02,0xea,0xbe]
+0x01,0x02,0xea,0xbe
 
-# CHECK: s_cmov_b32 vcc_hi, s0    ; encoding: [0x00,0x02,0xeb,0xbe]
-0x00,0x02,0xeb,0xbe
+# CHECK: s_cmov_b32 vcc_hi, s1    ; encoding: [0x01,0x02,0xeb,0xbe]
+0x01,0x02,0xeb,0xbe
 
-# CHECK: s_cmov_b32 tba_lo, s0    ; encoding: [0x00,0x02,0xec,0xbe]
-0x00,0x02,0xec,0xbe
+# CHECK: s_cmov_b32 tba_lo, s1    ; encoding: [0x01,0x02,0xec,0xbe]
+0x01,0x02,0xec,0xbe
 
-# CHECK: s_cmov_b32 tba_hi, s0    ; encoding: [0x00,0x02,0xed,0xbe]
-0x00,0x02,0xed,0xbe
+# CHECK: s_cmov_b32 tba_hi, s1    ; encoding: [0x01,0x02,0xed,0xbe]
+0x01,0x02,0xed,0xbe
 
-# CHECK: s_cmov_b32 tma_lo, s0    ; encoding: [0x00,0x02,0xee,0xbe]
-0x00,0x02,0xee,0xbe
+# CHECK: s_cmov_b32 tma_lo, s1    ; encoding: [0x01,0x02,0xee,0xbe]
+0x01,0x02,0xee,0xbe
 
-# CHECK: s_cmov_b32 tma_hi, s0    ; encoding: [0x00,0x02,0xef,0xbe]
-0x00,0x02,0xef,0xbe
+# CHECK: s_cmov_b32 tma_hi, s1    ; encoding: [0x01,0x02,0xef,0xbe]
+0x01,0x02,0xef,0xbe
 
-# CHECK: s_cmov_b32 ttmp11, s0    ; encoding: [0x00,0x02,0xfb,0xbe]
-0x00,0x02,0xfb,0xbe
+# CHECK: s_cmov_b32 ttmp11, s1    ; encoding: [0x01,0x02,0xfb,0xbe]
+0x01,0x02,0xfb,0xbe
 
-# CHECK: s_cmov_b32 m0, s0    ; encoding: [0x00,0x02,0xfc,0xbe]
-0x00,0x02,0xfc,0xbe
+# CHECK: s_cmov_b32 m0, s1    ; encoding: [0x01,0x02,0xfc,0xbe]
+0x01,0x02,0xfc,0xbe
 
-# CHECK: s_cmov_b32 exec_lo, s0    ; encoding: [0x00,0x02,0xfe,0xbe]
-0x00,0x02,0xfe,0xbe
+# CHECK: s_cmov_b32 exec_lo, s1    ; encoding: [0x01,0x02,0xfe,0xbe]
+0x01,0x02,0xfe,0xbe
 
-# CHECK: s_cmov_b32 exec_hi, s0    ; encoding: [0x00,0x02,0xff,0xbe]
-0x00,0x02,0xff,0xbe
+# CHECK: s_cmov_b32 exec_hi, s1    ; encoding: [0x01,0x02,0xff,0xbe]
+0x01,0x02,0xff,0xbe
 
-# CHECK: s_cmov_b32 s0, s101    ; encoding: [0x65,0x02,0x80,0xbe]
-0x65,0x02,0x80,0xbe
+# CHECK: s_cmov_b32 s5, s101    ; encoding: [0x65,0x02,0x85,0xbe]
+0x65,0x02,0x85,0xbe
 
-# CHECK: s_cmov_b32 s0, flat_scratch_lo    ; encoding: [0x66,0x02,0x80,0xbe]
-0x66,0x02,0x80,0xbe
+# CHECK: s_cmov_b32 s5, flat_scratch_lo    ; encoding: [0x66,0x02,0x85,0xbe]
+0x66,0x02,0x85,0xbe
 
-# CHECK: s_cmov_b32 s0, flat_scratch_hi    ; encoding: [0x67,0x02,0x80,0xbe]
-0x67,0x02,0x80,0xbe
+# CHECK: s_cmov_b32 s5, flat_scratch_hi    ; encoding: [0x67,0x02,0x85,0xbe]
+0x67,0x02,0x85,0xbe
 
-# CHECK: s_cmov_b32 s0, vcc_lo    ; encoding: [0x6a,0x02,0x80,0xbe]
-0x6a,0x02,0x80,0xbe
+# CHECK: s_cmov_b32 s5, vcc_lo    ; encoding: [0x6a,0x02,0x85,0xbe]
+0x6a,0x02,0x85,0xbe
 
-# CHECK: s_cmov_b32 s0, vcc_hi    ; encoding: [0x6b,0x02,0x80,0xbe]
-0x6b,0x02,0x80,0xbe
+# CHECK: s_cmov_b32 s5, vcc_hi    ; encoding: [0x6b,0x02,0x85,0xbe]
+0x6b,0x02,0x85,0xbe
 
-# CHECK: s_cmov_b32 s0, tba_lo    ; encoding: [0x6c,0x02,0x80,0xbe]
-0x6c,0x02,0x80,0xbe
+# CHECK: s_cmov_b32 s5, tba_lo    ; encoding: [0x6c,0x02,0x85,0xbe]
+0x6c,0x02,0x85,0xbe
 
-# CHECK: s_cmov_b32 s0, tba_hi    ; encoding: [0x6d,0x02,0x80,0xbe]
-0x6d,0x02,0x80,0xbe
+# CHECK: s_cmov_b32 s5, tba_hi    ; encoding: [0x6d,0x02,0x85,0xbe]
+0x6d,0x02,0x85,0xbe
 
-# CHECK: s_cmov_b32 s0, tma_lo    ; encoding: [0x6e,0x02,0x80,0xbe]
-0x6e,0x02,0x80,0xbe
+# CHECK: s_cmov_b32 s5, tma_lo    ; encoding: [0x6e,0x02,0x85,0xbe]
+0x6e,0x02,0x85,0xbe
 
-# CHECK: s_cmov_b32 s0, tma_hi    ; encoding: [0x6f,0x02,0x80,0xbe]
-0x6f,0x02,0x80,0xbe
+# CHECK: s_cmov_b32 s5, tma_hi    ; encoding: [0x6f,0x02,0x85,0xbe]
+0x6f,0x02,0x85,0xbe
 
-# CHECK: s_cmov_b32 s0, ttmp11    ; encoding: [0x7b,0x02,0x80,0xbe]
-0x7b,0x02,0x80,0xbe
+# CHECK: s_cmov_b32 s5, ttmp11    ; encoding: [0x7b,0x02,0x85,0xbe]
+0x7b,0x02,0x85,0xbe
 
-# CHECK: s_cmov_b32 s0, m0    ; encoding: [0x7c,0x02,0x80,0xbe]
-0x7c,0x02,0x80,0xbe
+# CHECK: s_cmov_b32 s5, m0    ; encoding: [0x7c,0x02,0x85,0xbe]
+0x7c,0x02,0x85,0xbe
 
-# CHECK: s_cmov_b32 s0, exec_lo    ; encoding: [0x7e,0x02,0x80,0xbe]
-0x7e,0x02,0x80,0xbe
+# CHECK: s_cmov_b32 s5, exec_lo    ; encoding: [0x7e,0x02,0x85,0xbe]
+0x7e,0x02,0x85,0xbe
 
-# CHECK: s_cmov_b32 s0, exec_hi    ; encoding: [0x7f,0x02,0x80,0xbe]
-0x7f,0x02,0x80,0xbe
+# CHECK: s_cmov_b32 s5, exec_hi    ; encoding: [0x7f,0x02,0x85,0xbe]
+0x7f,0x02,0x85,0xbe
 
-# CHECK: s_cmov_b32 s0, 0    ; encoding: [0x80,0x02,0x80,0xbe]
-0x80,0x02,0x80,0xbe
+# CHECK: s_cmov_b32 s5, 0    ; encoding: [0x80,0x02,0x85,0xbe]
+0x80,0x02,0x85,0xbe
 
-# CHECK: s_cmov_b32 s0, -1    ; encoding: [0xc1,0x02,0x80,0xbe]
-0xc1,0x02,0x80,0xbe
+# CHECK: s_cmov_b32 s5, -1    ; encoding: [0xc1,0x02,0x85,0xbe]
+0xc1,0x02,0x85,0xbe
 
-# CHECK: s_cmov_b32 s0, 0.5    ; encoding: [0xf0,0x02,0x80,0xbe]
-0xf0,0x02,0x80,0xbe
+# CHECK: s_cmov_b32 s5, 0.5    ; encoding: [0xf0,0x02,0x85,0xbe]
+0xf0,0x02,0x85,0xbe
 
-# CHECK: s_cmov_b32 s0, -4.0    ; encoding: [0xf7,0x02,0x80,0xbe]
-0xf7,0x02,0x80,0xbe
+# CHECK: s_cmov_b32 s5, -4.0    ; encoding: [0xf7,0x02,0x85,0xbe]
+0xf7,0x02,0x85,0xbe
 
-# CHECK: s_cmov_b32 s0, scc    ; encoding: [0xfd,0x02,0x80,0xbe]
-0xfd,0x02,0x80,0xbe
+# CHECK: s_cmov_b32 s5, scc    ; encoding: [0xfd,0x02,0x85,0xbe]
+0xfd,0x02,0x85,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 s5, 0xaf123456    ; encoding: [0xff,0x02,0x85,0xbe,0x56,0x34,0x12,0xaf]
+0xff,0x02,0x85,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_b32 s5, 0x3f717273    ; encoding: [0xff,0x02,0x85,0xbe,0x73,0x72,0x71,0x3f]
+0xff,0x02,0x85,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[10:11], s[2:3]    ; encoding: [0x02,0x03,0x8a,0xbe]
+0x02,0x03,0x8a,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[12:13], s[2:3]    ; encoding: [0x02,0x03,0x8c,0xbe]
+0x02,0x03,0x8c,0xbe
 
-# CHECK: s_cmov_b64 s[100:101], s[0:1]    ; encoding: [0x00,0x03,0xe4,0xbe]
-0x00,0x03,0xe4,0xbe
+# CHECK: s_cmov_b64 s[100:101], s[2:3]    ; encoding: [0x02,0x03,0xe4,0xbe]
+0x02,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 flat_scratch, s[2:3]    ; encoding: [0x02,0x03,0xe6,0xbe]
+0x02,0x03,0xe6,0xbe
 
-# CHECK: s_cmov_b64 vcc, s[0:1]    ; encoding: [0x00,0x03,0xea,0xbe]
-0x00,0x03,0xea,0xbe
+# CHECK: s_cmov_b64 vcc, s[2:3]    ; encoding: [0x02,0x03,0xea,0xbe]
+0x02,0x03,0xea,0xbe
 
-# CHECK: s_cmov_b64 tba, s[0:1]    ; encoding: [0x00,0x03,0xec,0xbe]
-0x00,0x03,0xec,0xbe
+# CHECK: s_cmov_b64 tba, s[2:3]    ; encoding: [0x02,0x03,0xec,0xbe]
+0x02,0x03,0xec,0xbe
 
-# CHECK: s_cmov_b64 tma, s[0:1]    ; encoding: [0x00,0x03,0xee,0xbe]
-0x00,0x03,0xee,0xbe
+# CHECK: s_cmov_b64 tma, s[2:3]    ; encoding: [0x02,0x03,0xee,0xbe]
+0x02,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 ttmp[10:11], s[2:3]    ; encoding: [0x02,0x03,0xfa,0xbe]
+0x02,0x03,0xfa,0xbe
 
-# CHECK: s_cmov_b64 exec, s[0:1]    ; encoding: [0x00,0x03,0xfe,0xbe]
-0x00,0x03,0xfe,0xbe
+# CHECK: s_cmov_b64 exec, s[2:3]    ; encoding: [0x02,0x03,0xfe,0xbe]
+0x02,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[10:11], s[4:5]    ; encoding: [0x04,0x03,0x8a,0xbe]
+0x04,0x03,0x8a,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[10:11], s[100:101]    ; encoding: [0x64,0x03,0x8a,0xbe]
+0x64,0x03,0x8a,0xbe
 
-# CHECK: s_cmov_b64 s[0:1], flat_scratch    ; encoding: [0x66,0x03,0x80,0xbe]
-0x66,0x03,0x80,0xbe
+# CHECK: s_cmov_b64 s[10:11], flat_scratch    ; encoding: [0x66,0x03,0x8a,0xbe]
+0x66,0x03,0x8a,0xbe
 
-# CHECK: s_cmov_b64 s[0:1], vcc    ; encoding: [0x6a,0x03,0x80,0xbe]
-0x6a,0x03,0x80,0xbe
+# CHECK: s_cmov_b64 s[10:11], vcc    ; encoding: [0x6a,0x03,0x8a,0xbe]
+0x6a,0x03,0x8a,0xbe
 
-# CHECK: s_cmov_b64 s[0:1], tba    ; encoding: [0x6c,0x03,0x80,0xbe]
-0x6c,0x03,0x80,0xbe
+# CHECK: s_cmov_b64 s[10:11], tba    ; encoding: [0x6c,0x03,0x8a,0xbe]
+0x6c,0x03,0x8a,0xbe
 
-# CHECK: s_cmov_b64 s[0:1], tma    ; encoding: [0x6e,0x03,0x80,0xbe]
-0x6e,0x03,0x80,0xbe
+# CHECK: s_cmov_b64 s[10:11], tma    ; encoding: [0x6e,0x03,0x8a,0xbe]
+0x6e,0x03,0x8a,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[10:11], ttmp[10:11]    ; encoding: [0x7a,0x03,0x8a,0xbe]
+0x7a,0x03,0x8a,0xbe
 
-# CHECK: s_cmov_b64 s[0:1], exec    ; encoding: [0x7e,0x03,0x80,0xbe]
-0x7e,0x03,0x80,0xbe
+# CHECK: s_cmov_b64 s[10:11], exec    ; encoding: [0x7e,0x03,0x8a,0xbe]
+0x7e,0x03,0x8a,0xbe
 
-# CHECK: s_cmov_b64 s[0:1], 0    ; encoding: [0x80,0x03,0x80,0xbe]
-0x80,0x03,0x80,0xbe
+# CHECK: s_cmov_b64 s[10:11], 0    ; encoding: [0x80,0x03,0x8a,0xbe]
+0x80,0x03,0x8a,0xbe
 
-# CHECK: s_cmov_b64 s[0:1], -1    ; encoding: [0xc1,0x03,0x80,0xbe]
-0xc1,0x03,0x80,0xbe
+# CHECK: s_cmov_b64 s[10:11], -1    ; encoding: [0xc1,0x03,0x8a,0xbe]
+0xc1,0x03,0x8a,0xbe
 
-# CHECK: s_cmov_b64 s[0:1], 0.5    ; encoding: [0xf0,0x03,0x80,0xbe]
-0xf0,0x03,0x80,0xbe
+# CHECK: s_cmov_b64 s[10:11], 0.5    ; encoding: [0xf0,0x03,0x8a,0xbe]
+0xf0,0x03,0x8a,0xbe
 
-# CHECK: s_cmov_b64 s[0:1], -4.0    ; encoding: [0xf7,0x03,0x80,0xbe]
-0xf7,0x03,0x80,0xbe
+# CHECK: s_cmov_b64 s[10:11], -4.0    ; encoding: [0xf7,0x03,0x8a,0xbe]
+0xf7,0x03,0x8a,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[10:11], 0xaf123456    ; encoding: [0xff,0x03,0x8a,0xbe,0x56,0x34,0x12,0xaf]
+0xff,0x03,0x8a,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_cmov_b64 s[10:11], 0x3f717273    ; encoding: [0xff,0x03,0x8a,0xbe,0x73,0x72,0x71,0x3f]
+0xff,0x03,0x8a,0xbe,0x73,0x72,0x71,0x3f
 
-# CHECK: s_not_b32 s0, s0    ; encoding: [0x00,0x04,0x80,0xbe]
-0x00,0x04,0x80,0xbe
+# CHECK: s_not_b32 s5, s1    ; encoding: [0x01,0x04,0x85,0xbe]
+0x01,0x04,0x85,0xbe
 
-# CHECK: s_not_b32 s101, s0    ; encoding: [0x00,0x04,0xe5,0xbe]
-0x00,0x04,0xe5,0xbe
+# CHECK: s_not_b32 s101, s1    ; encoding: [0x01,0x04,0xe5,0xbe]
+0x01,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_lo, s1    ; encoding: [0x01,0x04,0xe6,0xbe]
+0x01,0x04,0xe6,0xbe
 
-# CHECK: s_not_b32 flat_scratch_hi, s0    ; encoding: [0x00,0x04,0xe7,0xbe]
-0x00,0x04,0xe7,0xbe
+# CHECK: s_not_b32 flat_scratch_hi, s1    ; encoding: [0x01,0x04,0xe7,0xbe]
+0x01,0x04,0xe7,0xbe
 
-# CHECK: s_not_b32 vcc_lo, s0    ; encoding: [0x00,0x04,0xea,0xbe]
-0x00,0x04,0xea,0xbe
+# CHECK: s_not_b32 vcc_lo, s1    ; encoding: [0x01,0x04,0xea,0xbe]
+0x01,0x04,0xea,0xbe
 
-# CHECK: s_not_b32 vcc_hi, s0    ; encoding: [0x00,0x04,0xeb,0xbe]
-0x00,0x04,0xeb,0xbe
+# CHECK: s_not_b32 vcc_hi, s1    ; encoding: [0x01,0x04,0xeb,0xbe]
+0x01,0x04,0xeb,0xbe
 
-# CHECK: s_not_b32 tba_lo, s0    ; encoding: [0x00,0x04,0xec,0xbe]
-0x00,0x04,0xec,0xbe
+# CHECK: s_not_b32 tba_lo, s1    ; encoding: [0x01,0x04,0xec,0xbe]
+0x01,0x04,0xec,0xbe
 
-# CHECK: s_not_b32 tba_hi, s0    ; encoding: [0x00,0x04,0xed,0xbe]
-0x00,0x04,0xed,0xbe
+# CHECK: s_not_b32 tba_hi, s1    ; encoding: [0x01,0x04,0xed,0xbe]
+0x01,0x04,0xed,0xbe
 
-# CHECK: s_not_b32 tma_lo, s0    ; encoding: [0x00,0x04,0xee,0xbe]
-0x00,0x04,0xee,0xbe
+# CHECK: s_not_b32 tma_lo, s1    ; encoding: [0x01,0x04,0xee,0xbe]
+0x01,0x04,0xee,0xbe
 
-# CHECK: s_not_b32 tma_hi, s0    ; encoding: [0x00,0x04,0xef,0xbe]
-0x00,0x04,0xef,0xbe
+# CHECK: s_not_b32 tma_hi, s1    ; encoding: [0x01,0x04,0xef,0xbe]
+0x01,0x04,0xef,0xbe
 
-# CHECK: s_not_b32 ttmp11, s0    ; encoding: [0x00,0x04,0xfb,0xbe]
-0x00,0x04,0xfb,0xbe
+# CHECK: s_not_b32 ttmp11, s1    ; encoding: [0x01,0x04,0xfb,0xbe]
+0x01,0x04,0xfb,0xbe
 
-# CHECK: s_not_b32 m0, s0    ; encoding: [0x00,0x04,0xfc,0xbe]
-0x00,0x04,0xfc,0xbe
+# CHECK: s_not_b32 m0, s1    ; encoding: [0x01,0x04,0xfc,0xbe]
+0x01,0x04,0xfc,0xbe
 
-# CHECK: s_not_b32 exec_lo, s0    ; encoding: [0x00,0x04,0xfe,0xbe]
-0x00,0x04,0xfe,0xbe
+# CHECK: s_not_b32 exec_lo, s1    ; encoding: [0x01,0x04,0xfe,0xbe]
+0x01,0x04,0xfe,0xbe
 
-# CHECK: s_not_b32 exec_hi, s0    ; encoding: [0x00,0x04,0xff,0xbe]
-0x00,0x04,0xff,0xbe
+# CHECK: s_not_b32 exec_hi, s1    ; encoding: [0x01,0x04,0xff,0xbe]
+0x01,0x04,0xff,0xbe
 
-# CHECK: s_not_b32 s0, s101    ; encoding: [0x65,0x04,0x80,0xbe]
-0x65,0x04,0x80,0xbe
+# CHECK: s_not_b32 s5, s101    ; encoding: [0x65,0x04,0x85,0xbe]
+0x65,0x04,0x85,0xbe
 
-# CHECK: s_not_b32 s0, flat_scratch_lo    ; encoding: [0x66,0x04,0x80,0xbe]
-0x66,0x04,0x80,0xbe
+# CHECK: s_not_b32 s5, flat_scratch_lo    ; encoding: [0x66,0x04,0x85,0xbe]
+0x66,0x04,0x85,0xbe
 
-# CHECK: s_not_b32 s0, flat_scratch_hi    ; encoding: [0x67,0x04,0x80,0xbe]
-0x67,0x04,0x80,0xbe
+# CHECK: s_not_b32 s5, flat_scratch_hi    ; encoding: [0x67,0x04,0x85,0xbe]
+0x67,0x04,0x85,0xbe
 
-# CHECK: s_not_b32 s0, vcc_lo    ; encoding: [0x6a,0x04,0x80,0xbe]
-0x6a,0x04,0x80,0xbe
+# CHECK: s_not_b32 s5, vcc_lo    ; encoding: [0x6a,0x04,0x85,0xbe]
+0x6a,0x04,0x85,0xbe
 
-# CHECK: s_not_b32 s0, vcc_hi    ; encoding: [0x6b,0x04,0x80,0xbe]
-0x6b,0x04,0x80,0xbe
+# CHECK: s_not_b32 s5, vcc_hi    ; encoding: [0x6b,0x04,0x85,0xbe]
+0x6b,0x04,0x85,0xbe
 
-# CHECK: s_not_b32 s0, tba_lo    ; encoding: [0x6c,0x04,0x80,0xbe]
-0x6c,0x04,0x80,0xbe
+# CHECK: s_not_b32 s5, tba_lo    ; encoding: [0x6c,0x04,0x85,0xbe]
+0x6c,0x04,0x85,0xbe
 
-# CHECK: s_not_b32 s0, tba_hi    ; encoding: [0x6d,0x04,0x80,0xbe]
-0x6d,0x04,0x80,0xbe
+# CHECK: s_not_b32 s5, tba_hi    ; encoding: [0x6d,0x04,0x85,0xbe]
+0x6d,0x04,0x85,0xbe
 
-# CHECK: s_not_b32 s0, tma_lo    ; encoding: [0x6e,0x04,0x80,0xbe]
-0x6e,0x04,0x80,0xbe
+# CHECK: s_not_b32 s5, tma_lo    ; encoding: [0x6e,0x04,0x85,0xbe]
+0x6e,0x04,0x85,0xbe
 
-# CHECK: s_not_b32 s0, tma_hi    ; encoding: [0x6f,0x04,0x80,0xbe]
-0x6f,0x04,0x80,0xbe
+# CHECK: s_not_b32 s5, tma_hi    ; encoding: [0x6f,0x04,0x85,0xbe]
+0x6f,0x04,0x85,0xbe
 
-# CHECK: s_not_b32 s0, ttmp11    ; encoding: [0x7b,0x04,0x80,0xbe]
-0x7b,0x04,0x80,0xbe
+# CHECK: s_not_b32 s5, ttmp11    ; encoding: [0x7b,0x04,0x85,0xbe]
+0x7b,0x04,0x85,0xbe
 
-# CHECK: s_not_b32 s0, m0    ; encoding: [0x7c,0x04,0x80,0xbe]
-0x7c,0x04,0x80,0xbe
+# CHECK: s_not_b32 s5, m0    ; encoding: [0x7c,0x04,0x85,0xbe]
+0x7c,0x04,0x85,0xbe
 
-# CHECK: s_not_b32 s0, exec_lo    ; encoding: [0x7e,0x04,0x80,0xbe]
-0x7e,0x04,0x80,0xbe
+# CHECK: s_not_b32 s5, exec_lo    ; encoding: [0x7e,0x04,0x85,0xbe]
+0x7e,0x04,0x85,0xbe
 
-# CHECK: s_not_b32 s0, exec_hi    ; encoding: [0x7f,0x04,0x80,0xbe]
-0x7f,0x04,0x80,0xbe
+# CHECK: s_not_b32 s5, exec_hi    ; encoding: [0x7f,0x04,0x85,0xbe]
+0x7f,0x04,0x85,0xbe
 
-# CHECK: s_not_b32 s0, 0    ; encoding: [0x80,0x04,0x80,0xbe]
-0x80,0x04,0x80,0xbe
+# CHECK: s_not_b32 s5, 0    ; encoding: [0x80,0x04,0x85,0xbe]
+0x80,0x04,0x85,0xbe
 
-# CHECK: s_not_b32 s0, -1    ; encoding: [0xc1,0x04,0x80,0xbe]
-0xc1,0x04,0x80,0xbe
+# CHECK: s_not_b32 s5, -1    ; encoding: [0xc1,0x04,0x85,0xbe]
+0xc1,0x04,0x85,0xbe
 
-# CHECK: s_not_b32 s0, 0.5    ; encoding: [0xf0,0x04,0x80,0xbe]
-0xf0,0x04,0x80,0xbe
+# CHECK: s_not_b32 s5, 0.5    ; encoding: [0xf0,0x04,0x85,0xbe]
+0xf0,0x04,0x85,0xbe
 
-# CHECK: s_not_b32 s0, -4.0    ; encoding: [0xf7,0x04,0x80,0xbe]
-0xf7,0x04,0x80,0xbe
+# CHECK: s_not_b32 s5, -4.0    ; encoding: [0xf7,0x04,0x85,0xbe]
+0xf7,0x04,0x85,0xbe
 
-# CHECK: s_not_b32 s0, scc    ; encoding: [0xfd,0x04,0x80,0xbe]
-0xfd,0x04,0x80,0xbe
+# CHECK: s_not_b32 s5, scc    ; encoding: [0xfd,0x04,0x85,0xbe]
+0xfd,0x04,0x85,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 s5, 0xaf123456    ; encoding: [0xff,0x04,0x85,0xbe,0x56,0x34,0x12,0xaf]
+0xff,0x04,0x85,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_b32 s5, 0x3f717273    ; encoding: [0xff,0x04,0x85,0xbe,0x73,0x72,0x71,0x3f]
+0xff,0x04,0x85,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[10:11], s[2:3]    ; encoding: [0x02,0x05,0x8a,0xbe]
+0x02,0x05,0x8a,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[12:13], s[2:3]    ; encoding: [0x02,0x05,0x8c,0xbe]
+0x02,0x05,0x8c,0xbe
 
-# CHECK: s_not_b64 s[100:101], s[0:1]    ; encoding: [0x00,0x05,0xe4,0xbe]
-0x00,0x05,0xe4,0xbe
+# CHECK: s_not_b64 s[100:101], s[2:3]    ; encoding: [0x02,0x05,0xe4,0xbe]
+0x02,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 flat_scratch, s[2:3]    ; encoding: [0x02,0x05,0xe6,0xbe]
+0x02,0x05,0xe6,0xbe
 
-# CHECK: s_not_b64 vcc, s[0:1]    ; encoding: [0x00,0x05,0xea,0xbe]
-0x00,0x05,0xea,0xbe
+# CHECK: s_not_b64 vcc, s[2:3]    ; encoding: [0x02,0x05,0xea,0xbe]
+0x02,0x05,0xea,0xbe
 
-# CHECK: s_not_b64 tba, s[0:1]    ; encoding: [0x00,0x05,0xec,0xbe]
-0x00,0x05,0xec,0xbe
+# CHECK: s_not_b64 tba, s[2:3]    ; encoding: [0x02,0x05,0xec,0xbe]
+0x02,0x05,0xec,0xbe
 
-# CHECK: s_not_b64 tma, s[0:1]    ; encoding: [0x00,0x05,0xee,0xbe]
-0x00,0x05,0xee,0xbe
+# CHECK: s_not_b64 tma, s[2:3]    ; encoding: [0x02,0x05,0xee,0xbe]
+0x02,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 ttmp[10:11], s[2:3]    ; encoding: [0x02,0x05,0xfa,0xbe]
+0x02,0x05,0xfa,0xbe
 
-# CHECK: s_not_b64 exec, s[0:1]    ; encoding: [0x00,0x05,0xfe,0xbe]
-0x00,0x05,0xfe,0xbe
+# CHECK: s_not_b64 exec, s[2:3]    ; encoding: [0x02,0x05,0xfe,0xbe]
+0x02,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[10:11], s[4:5]    ; encoding: [0x04,0x05,0x8a,0xbe]
+0x04,0x05,0x8a,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[10:11], s[100:101]    ; encoding: [0x64,0x05,0x8a,0xbe]
+0x64,0x05,0x8a,0xbe
 
-# CHECK: s_not_b64 s[0:1], flat_scratch    ; encoding: [0x66,0x05,0x80,0xbe]
-0x66,0x05,0x80,0xbe
+# CHECK: s_not_b64 s[10:11], flat_scratch    ; encoding: [0x66,0x05,0x8a,0xbe]
+0x66,0x05,0x8a,0xbe
 
-# CHECK: s_not_b64 s[0:1], vcc    ; encoding: [0x6a,0x05,0x80,0xbe]
-0x6a,0x05,0x80,0xbe
+# CHECK: s_not_b64 s[10:11], vcc    ; encoding: [0x6a,0x05,0x8a,0xbe]
+0x6a,0x05,0x8a,0xbe
 
-# CHECK: s_not_b64 s[0:1], tba    ; encoding: [0x6c,0x05,0x80,0xbe]
-0x6c,0x05,0x80,0xbe
+# CHECK: s_not_b64 s[10:11], tba    ; encoding: [0x6c,0x05,0x8a,0xbe]
+0x6c,0x05,0x8a,0xbe
 
-# CHECK: s_not_b64 s[0:1], tma    ; encoding: [0x6e,0x05,0x80,0xbe]
-0x6e,0x05,0x80,0xbe
+# CHECK: s_not_b64 s[10:11], tma    ; encoding: [0x6e,0x05,0x8a,0xbe]
+0x6e,0x05,0x8a,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[10:11], ttmp[10:11]    ; encoding: [0x7a,0x05,0x8a,0xbe]
+0x7a,0x05,0x8a,0xbe
 
-# CHECK: s_not_b64 s[0:1], exec    ; encoding: [0x7e,0x05,0x80,0xbe]
-0x7e,0x05,0x80,0xbe
+# CHECK: s_not_b64 s[10:11], exec    ; encoding: [0x7e,0x05,0x8a,0xbe]
+0x7e,0x05,0x8a,0xbe
 
-# CHECK: s_not_b64 s[0:1], 0    ; encoding: [0x80,0x05,0x80,0xbe]
-0x80,0x05,0x80,0xbe
+# CHECK: s_not_b64 s[10:11], 0    ; encoding: [0x80,0x05,0x8a,0xbe]
+0x80,0x05,0x8a,0xbe
 
-# CHECK: s_not_b64 s[0:1], -1    ; encoding: [0xc1,0x05,0x80,0xbe]
-0xc1,0x05,0x80,0xbe
+# CHECK: s_not_b64 s[10:11], -1    ; encoding: [0xc1,0x05,0x8a,0xbe]
+0xc1,0x05,0x8a,0xbe
 
-# CHECK: s_not_b64 s[0:1], 0.5    ; encoding: [0xf0,0x05,0x80,0xbe]
-0xf0,0x05,0x80,0xbe
+# CHECK: s_not_b64 s[10:11], 0.5    ; encoding: [0xf0,0x05,0x8a,0xbe]
+0xf0,0x05,0x8a,0xbe
 
-# CHECK: s_not_b64 s[0:1], -4.0    ; encoding: [0xf7,0x05,0x80,0xbe]
-0xf7,0x05,0x80,0xbe
+# CHECK: s_not_b64 s[10:11], -4.0    ; encoding: [0xf7,0x05,0x8a,0xbe]
+0xf7,0x05,0x8a,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[10:11], 0xaf123456    ; encoding: [0xff,0x05,0x8a,0xbe,0x56,0x34,0x12,0xaf]
+0xff,0x05,0x8a,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_not_b64 s[10:11], 0x3f717273    ; encoding: [0xff,0x05,0x8a,0xbe,0x73,0x72,0x71,0x3f]
+0xff,0x05,0x8a,0xbe,0x73,0x72,0x71,0x3f
 
-# CHECK: s_wqm_b32 s0, s0    ; encoding: [0x00,0x06,0x80,0xbe]
-0x00,0x06,0x80,0xbe
+# CHECK: s_wqm_b32 s5, s1    ; encoding: [0x01,0x06,0x85,0xbe]
+0x01,0x06,0x85,0xbe
 
-# CHECK: s_wqm_b32 s101, s0    ; encoding: [0x00,0x06,0xe5,0xbe]
-0x00,0x06,0xe5,0xbe
+# CHECK: s_wqm_b32 s101, s1    ; encoding: [0x01,0x06,0xe5,0xbe]
+0x01,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_lo, s1    ; encoding: [0x01,0x06,0xe6,0xbe]
+0x01,0x06,0xe6,0xbe
 
-# CHECK: s_wqm_b32 flat_scratch_hi, s0    ; encoding: [0x00,0x06,0xe7,0xbe]
-0x00,0x06,0xe7,0xbe
+# CHECK: s_wqm_b32 flat_scratch_hi, s1    ; encoding: [0x01,0x06,0xe7,0xbe]
+0x01,0x06,0xe7,0xbe
 
-# CHECK: s_wqm_b32 vcc_lo, s0    ; encoding: [0x00,0x06,0xea,0xbe]
-0x00,0x06,0xea,0xbe
+# CHECK: s_wqm_b32 vcc_lo, s1    ; encoding: [0x01,0x06,0xea,0xbe]
+0x01,0x06,0xea,0xbe
 
-# CHECK: s_wqm_b32 vcc_hi, s0    ; encoding: [0x00,0x06,0xeb,0xbe]
-0x00,0x06,0xeb,0xbe
+# CHECK: s_wqm_b32 vcc_hi, s1    ; encoding: [0x01,0x06,0xeb,0xbe]
+0x01,0x06,0xeb,0xbe
 
-# CHECK: s_wqm_b32 tba_lo, s0    ; encoding: [0x00,0x06,0xec,0xbe]
-0x00,0x06,0xec,0xbe
+# CHECK: s_wqm_b32 tba_lo, s1    ; encoding: [0x01,0x06,0xec,0xbe]
+0x01,0x06,0xec,0xbe
 
-# CHECK: s_wqm_b32 tba_hi, s0    ; encoding: [0x00,0x06,0xed,0xbe]
-0x00,0x06,0xed,0xbe
+# CHECK: s_wqm_b32 tba_hi, s1    ; encoding: [0x01,0x06,0xed,0xbe]
+0x01,0x06,0xed,0xbe
 
-# CHECK: s_wqm_b32 tma_lo, s0    ; encoding: [0x00,0x06,0xee,0xbe]
-0x00,0x06,0xee,0xbe
+# CHECK: s_wqm_b32 tma_lo, s1    ; encoding: [0x01,0x06,0xee,0xbe]
+0x01,0x06,0xee,0xbe
 
-# CHECK: s_wqm_b32 tma_hi, s0    ; encoding: [0x00,0x06,0xef,0xbe]
-0x00,0x06,0xef,0xbe
+# CHECK: s_wqm_b32 tma_hi, s1    ; encoding: [0x01,0x06,0xef,0xbe]
+0x01,0x06,0xef,0xbe
 
-# CHECK: s_wqm_b32 ttmp11, s0    ; encoding: [0x00,0x06,0xfb,0xbe]
-0x00,0x06,0xfb,0xbe
+# CHECK: s_wqm_b32 ttmp11, s1    ; encoding: [0x01,0x06,0xfb,0xbe]
+0x01,0x06,0xfb,0xbe
 
-# CHECK: s_wqm_b32 m0, s0    ; encoding: [0x00,0x06,0xfc,0xbe]
-0x00,0x06,0xfc,0xbe
+# CHECK: s_wqm_b32 m0, s1    ; encoding: [0x01,0x06,0xfc,0xbe]
+0x01,0x06,0xfc,0xbe
 
-# CHECK: s_wqm_b32 exec_lo, s0    ; encoding: [0x00,0x06,0xfe,0xbe]
-0x00,0x06,0xfe,0xbe
+# CHECK: s_wqm_b32 exec_lo, s1    ; encoding: [0x01,0x06,0xfe,0xbe]
+0x01,0x06,0xfe,0xbe
 
-# CHECK: s_wqm_b32 exec_hi, s0    ; encoding: [0x00,0x06,0xff,0xbe]
-0x00,0x06,0xff,0xbe
+# CHECK: s_wqm_b32 exec_hi, s1    ; encoding: [0x01,0x06,0xff,0xbe]
+0x01,0x06,0xff,0xbe
 
-# CHECK: s_wqm_b32 s0, s101    ; encoding: [0x65,0x06,0x80,0xbe]
-0x65,0x06,0x80,0xbe
+# CHECK: s_wqm_b32 s5, s101    ; encoding: [0x65,0x06,0x85,0xbe]
+0x65,0x06,0x85,0xbe
 
-# CHECK: s_wqm_b32 s0, flat_scratch_lo    ; encoding: [0x66,0x06,0x80,0xbe]
-0x66,0x06,0x80,0xbe
+# CHECK: s_wqm_b32 s5, flat_scratch_lo    ; encoding: [0x66,0x06,0x85,0xbe]
+0x66,0x06,0x85,0xbe
 
-# CHECK: s_wqm_b32 s0, flat_scratch_hi    ; encoding: [0x67,0x06,0x80,0xbe]
-0x67,0x06,0x80,0xbe
+# CHECK: s_wqm_b32 s5, flat_scratch_hi    ; encoding: [0x67,0x06,0x85,0xbe]
+0x67,0x06,0x85,0xbe
 
-# CHECK: s_wqm_b32 s0, vcc_lo    ; encoding: [0x6a,0x06,0x80,0xbe]
-0x6a,0x06,0x80,0xbe
+# CHECK: s_wqm_b32 s5, vcc_lo    ; encoding: [0x6a,0x06,0x85,0xbe]
+0x6a,0x06,0x85,0xbe
 
-# CHECK: s_wqm_b32 s0, vcc_hi    ; encoding: [0x6b,0x06,0x80,0xbe]
-0x6b,0x06,0x80,0xbe
+# CHECK: s_wqm_b32 s5, vcc_hi    ; encoding: [0x6b,0x06,0x85,0xbe]
+0x6b,0x06,0x85,0xbe
 
-# CHECK: s_wqm_b32 s0, tba_lo    ; encoding: [0x6c,0x06,0x80,0xbe]
-0x6c,0x06,0x80,0xbe
+# CHECK: s_wqm_b32 s5, tba_lo    ; encoding: [0x6c,0x06,0x85,0xbe]
+0x6c,0x06,0x85,0xbe
 
-# CHECK: s_wqm_b32 s0, tba_hi    ; encoding: [0x6d,0x06,0x80,0xbe]
-0x6d,0x06,0x80,0xbe
+# CHECK: s_wqm_b32 s5, tba_hi    ; encoding: [0x6d,0x06,0x85,0xbe]
+0x6d,0x06,0x85,0xbe
 
-# CHECK: s_wqm_b32 s0, tma_lo    ; encoding: [0x6e,0x06,0x80,0xbe]
-0x6e,0x06,0x80,0xbe
+# CHECK: s_wqm_b32 s5, tma_lo    ; encoding: [0x6e,0x06,0x85,0xbe]
+0x6e,0x06,0x85,0xbe
 
-# CHECK: s_wqm_b32 s0, tma_hi    ; encoding: [0x6f,0x06,0x80,0xbe]
-0x6f,0x06,0x80,0xbe
+# CHECK: s_wqm_b32 s5, tma_hi    ; encoding: [0x6f,0x06,0x85,0xbe]
+0x6f,0x06,0x85,0xbe
 
-# CHECK: s_wqm_b32 s0, ttmp11    ; encoding: [0x7b,0x06,0x80,0xbe]
-0x7b,0x06,0x80,0xbe
+# CHECK: s_wqm_b32 s5, ttmp11    ; encoding: [0x7b,0x06,0x85,0xbe]
+0x7b,0x06,0x85,0xbe
 
-# CHECK: s_wqm_b32 s0, m0    ; encoding: [0x7c,0x06,0x80,0xbe]
-0x7c,0x06,0x80,0xbe
+# CHECK: s_wqm_b32 s5, m0    ; encoding: [0x7c,0x06,0x85,0xbe]
+0x7c,0x06,0x85,0xbe
 
-# CHECK: s_wqm_b32 s0, exec_lo    ; encoding: [0x7e,0x06,0x80,0xbe]
-0x7e,0x06,0x80,0xbe
+# CHECK: s_wqm_b32 s5, exec_lo    ; encoding: [0x7e,0x06,0x85,0xbe]
+0x7e,0x06,0x85,0xbe
 
-# CHECK: s_wqm_b32 s0, exec_hi    ; encoding: [0x7f,0x06,0x80,0xbe]
-0x7f,0x06,0x80,0xbe
+# CHECK: s_wqm_b32 s5, exec_hi    ; encoding: [0x7f,0x06,0x85,0xbe]
+0x7f,0x06,0x85,0xbe
 
-# CHECK: s_wqm_b32 s0, 0    ; encoding: [0x80,0x06,0x80,0xbe]
-0x80,0x06,0x80,0xbe
+# CHECK: s_wqm_b32 s5, 0    ; encoding: [0x80,0x06,0x85,0xbe]
+0x80,0x06,0x85,0xbe
 
-# CHECK: s_wqm_b32 s0, -1    ; encoding: [0xc1,0x06,0x80,0xbe]
-0xc1,0x06,0x80,0xbe
+# CHECK: s_wqm_b32 s5, -1    ; encoding: [0xc1,0x06,0x85,0xbe]
+0xc1,0x06,0x85,0xbe
 
-# CHECK: s_wqm_b32 s0, 0.5    ; encoding: [0xf0,0x06,0x80,0xbe]
-0xf0,0x06,0x80,0xbe
+# CHECK: s_wqm_b32 s5, 0.5    ; encoding: [0xf0,0x06,0x85,0xbe]
+0xf0,0x06,0x85,0xbe
 
-# CHECK: s_wqm_b32 s0, -4.0    ; encoding: [0xf7,0x06,0x80,0xbe]
-0xf7,0x06,0x80,0xbe
+# CHECK: s_wqm_b32 s5, -4.0    ; encoding: [0xf7,0x06,0x85,0xbe]
+0xf7,0x06,0x85,0xbe
 
-# CHECK: s_wqm_b32 s0, scc    ; encoding: [0xfd,0x06,0x80,0xbe]
-0xfd,0x06,0x80,0xbe
+# CHECK: s_wqm_b32 s5, scc    ; encoding: [0xfd,0x06,0x85,0xbe]
+0xfd,0x06,0x85,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 s5, 0xaf123456    ; encoding: [0xff,0x06,0x85,0xbe,0x56,0x34,0x12,0xaf]
+0xff,0x06,0x85,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_b32 s5, 0x3f717273    ; encoding: [0xff,0x06,0x85,0xbe,0x73,0x72,0x71,0x3f]
+0xff,0x06,0x85,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[10:11], s[2:3]    ; encoding: [0x02,0x07,0x8a,0xbe]
+0x02,0x07,0x8a,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[12:13], s[2:3]    ; encoding: [0x02,0x07,0x8c,0xbe]
+0x02,0x07,0x8c,0xbe
 
-# CHECK: s_wqm_b64 s[100:101], s[0:1]    ; encoding: [0x00,0x07,0xe4,0xbe]
-0x00,0x07,0xe4,0xbe
+# CHECK: s_wqm_b64 s[100:101], s[2:3]    ; encoding: [0x02,0x07,0xe4,0xbe]
+0x02,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 flat_scratch, s[2:3]    ; encoding: [0x02,0x07,0xe6,0xbe]
+0x02,0x07,0xe6,0xbe
 
-# CHECK: s_wqm_b64 vcc, s[0:1]    ; encoding: [0x00,0x07,0xea,0xbe]
-0x00,0x07,0xea,0xbe
+# CHECK: s_wqm_b64 vcc, s[2:3]    ; encoding: [0x02,0x07,0xea,0xbe]
+0x02,0x07,0xea,0xbe
 
-# CHECK: s_wqm_b64 tba, s[0:1]    ; encoding: [0x00,0x07,0xec,0xbe]
-0x00,0x07,0xec,0xbe
+# CHECK: s_wqm_b64 tba, s[2:3]    ; encoding: [0x02,0x07,0xec,0xbe]
+0x02,0x07,0xec,0xbe
 
-# CHECK: s_wqm_b64 tma, s[0:1]    ; encoding: [0x00,0x07,0xee,0xbe]
-0x00,0x07,0xee,0xbe
+# CHECK: s_wqm_b64 tma, s[2:3]    ; encoding: [0x02,0x07,0xee,0xbe]
+0x02,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 ttmp[10:11], s[2:3]    ; encoding: [0x02,0x07,0xfa,0xbe]
+0x02,0x07,0xfa,0xbe
 
-# CHECK: s_wqm_b64 exec, s[0:1]    ; encoding: [0x00,0x07,0xfe,0xbe]
-0x00,0x07,0xfe,0xbe
+# CHECK: s_wqm_b64 exec, s[2:3]    ; encoding: [0x02,0x07,0xfe,0xbe]
+0x02,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[10:11], s[4:5]    ; encoding: [0x04,0x07,0x8a,0xbe]
+0x04,0x07,0x8a,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[10:11], s[100:101]    ; encoding: [0x64,0x07,0x8a,0xbe]
+0x64,0x07,0x8a,0xbe
 
-# CHECK: s_wqm_b64 s[0:1], flat_scratch    ; encoding: [0x66,0x07,0x80,0xbe]
-0x66,0x07,0x80,0xbe
+# CHECK: s_wqm_b64 s[10:11], flat_scratch    ; encoding: [0x66,0x07,0x8a,0xbe]
+0x66,0x07,0x8a,0xbe
 
-# CHECK: s_wqm_b64 s[0:1], vcc    ; encoding: [0x6a,0x07,0x80,0xbe]
-0x6a,0x07,0x80,0xbe
+# CHECK: s_wqm_b64 s[10:11], vcc    ; encoding: [0x6a,0x07,0x8a,0xbe]
+0x6a,0x07,0x8a,0xbe
 
-# CHECK: s_wqm_b64 s[0:1], tba    ; encoding: [0x6c,0x07,0x80,0xbe]
-0x6c,0x07,0x80,0xbe
+# CHECK: s_wqm_b64 s[10:11], tba    ; encoding: [0x6c,0x07,0x8a,0xbe]
+0x6c,0x07,0x8a,0xbe
 
-# CHECK: s_wqm_b64 s[0:1], tma    ; encoding: [0x6e,0x07,0x80,0xbe]
-0x6e,0x07,0x80,0xbe
+# CHECK: s_wqm_b64 s[10:11], tma    ; encoding: [0x6e,0x07,0x8a,0xbe]
+0x6e,0x07,0x8a,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[10:11], ttmp[10:11]    ; encoding: [0x7a,0x07,0x8a,0xbe]
+0x7a,0x07,0x8a,0xbe
 
-# CHECK: s_wqm_b64 s[0:1], exec    ; encoding: [0x7e,0x07,0x80,0xbe]
-0x7e,0x07,0x80,0xbe
+# CHECK: s_wqm_b64 s[10:11], exec    ; encoding: [0x7e,0x07,0x8a,0xbe]
+0x7e,0x07,0x8a,0xbe
 
-# CHECK: s_wqm_b64 s[0:1], 0    ; encoding: [0x80,0x07,0x80,0xbe]
-0x80,0x07,0x80,0xbe
+# CHECK: s_wqm_b64 s[10:11], 0    ; encoding: [0x80,0x07,0x8a,0xbe]
+0x80,0x07,0x8a,0xbe
 
-# CHECK: s_wqm_b64 s[0:1], -1    ; encoding: [0xc1,0x07,0x80,0xbe]
-0xc1,0x07,0x80,0xbe
+# CHECK: s_wqm_b64 s[10:11], -1    ; encoding: [0xc1,0x07,0x8a,0xbe]
+0xc1,0x07,0x8a,0xbe
 
-# CHECK: s_wqm_b64 s[0:1], 0.5    ; encoding: [0xf0,0x07,0x80,0xbe]
-0xf0,0x07,0x80,0xbe
+# CHECK: s_wqm_b64 s[10:11], 0.5    ; encoding: [0xf0,0x07,0x8a,0xbe]
+0xf0,0x07,0x8a,0xbe
 
-# CHECK: s_wqm_b64 s[0:1], -4.0    ; encoding: [0xf7,0x07,0x80,0xbe]
-0xf7,0x07,0x80,0xbe
+# CHECK: s_wqm_b64 s[10:11], -4.0    ; encoding: [0xf7,0x07,0x8a,0xbe]
+0xf7,0x07,0x8a,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[10:11], 0xaf123456    ; encoding: [0xff,0x07,0x8a,0xbe,0x56,0x34,0x12,0xaf]
+0xff,0x07,0x8a,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_wqm_b64 s[10:11], 0x3f717273    ; encoding: [0xff,0x07,0x8a,0xbe,0x73,0x72,0x71,0x3f]
+0xff,0x07,0x8a,0xbe,0x73,0x72,0x71,0x3f
 
-# CHECK: s_brev_b32 s0, s0    ; encoding: [0x00,0x08,0x80,0xbe]
-0x00,0x08,0x80,0xbe
+# CHECK: s_brev_b32 s5, s1    ; encoding: [0x01,0x08,0x85,0xbe]
+0x01,0x08,0x85,0xbe
 
-# CHECK: s_brev_b32 s101, s0    ; encoding: [0x00,0x08,0xe5,0xbe]
-0x00,0x08,0xe5,0xbe
+# CHECK: s_brev_b32 s101, s1    ; encoding: [0x01,0x08,0xe5,0xbe]
+0x01,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_lo, s1    ; encoding: [0x01,0x08,0xe6,0xbe]
+0x01,0x08,0xe6,0xbe
 
-# CHECK: s_brev_b32 flat_scratch_hi, s0    ; encoding: [0x00,0x08,0xe7,0xbe]
-0x00,0x08,0xe7,0xbe
+# CHECK: s_brev_b32 flat_scratch_hi, s1    ; encoding: [0x01,0x08,0xe7,0xbe]
+0x01,0x08,0xe7,0xbe
 
-# CHECK: s_brev_b32 vcc_lo, s0    ; encoding: [0x00,0x08,0xea,0xbe]
-0x00,0x08,0xea,0xbe
+# CHECK: s_brev_b32 vcc_lo, s1    ; encoding: [0x01,0x08,0xea,0xbe]
+0x01,0x08,0xea,0xbe
 
-# CHECK: s_brev_b32 vcc_hi, s0    ; encoding: [0x00,0x08,0xeb,0xbe]
-0x00,0x08,0xeb,0xbe
+# CHECK: s_brev_b32 vcc_hi, s1    ; encoding: [0x01,0x08,0xeb,0xbe]
+0x01,0x08,0xeb,0xbe
 
-# CHECK: s_brev_b32 tba_lo, s0    ; encoding: [0x00,0x08,0xec,0xbe]
-0x00,0x08,0xec,0xbe
+# CHECK: s_brev_b32 tba_lo, s1    ; encoding: [0x01,0x08,0xec,0xbe]
+0x01,0x08,0xec,0xbe
 
-# CHECK: s_brev_b32 tba_hi, s0    ; encoding: [0x00,0x08,0xed,0xbe]
-0x00,0x08,0xed,0xbe
+# CHECK: s_brev_b32 tba_hi, s1    ; encoding: [0x01,0x08,0xed,0xbe]
+0x01,0x08,0xed,0xbe
 
-# CHECK: s_brev_b32 tma_lo, s0    ; encoding: [0x00,0x08,0xee,0xbe]
-0x00,0x08,0xee,0xbe
+# CHECK: s_brev_b32 tma_lo, s1    ; encoding: [0x01,0x08,0xee,0xbe]
+0x01,0x08,0xee,0xbe
 
-# CHECK: s_brev_b32 tma_hi, s0    ; encoding: [0x00,0x08,0xef,0xbe]
-0x00,0x08,0xef,0xbe
+# CHECK: s_brev_b32 tma_hi, s1    ; encoding: [0x01,0x08,0xef,0xbe]
+0x01,0x08,0xef,0xbe
 
-# CHECK: s_brev_b32 ttmp11, s0    ; encoding: [0x00,0x08,0xfb,0xbe]
-0x00,0x08,0xfb,0xbe
+# CHECK: s_brev_b32 ttmp11, s1    ; encoding: [0x01,0x08,0xfb,0xbe]
+0x01,0x08,0xfb,0xbe
 
-# CHECK: s_brev_b32 m0, s0    ; encoding: [0x00,0x08,0xfc,0xbe]
-0x00,0x08,0xfc,0xbe
+# CHECK: s_brev_b32 m0, s1    ; encoding: [0x01,0x08,0xfc,0xbe]
+0x01,0x08,0xfc,0xbe
 
-# CHECK: s_brev_b32 exec_lo, s0    ; encoding: [0x00,0x08,0xfe,0xbe]
-0x00,0x08,0xfe,0xbe
+# CHECK: s_brev_b32 exec_lo, s1    ; encoding: [0x01,0x08,0xfe,0xbe]
+0x01,0x08,0xfe,0xbe
 
-# CHECK: s_brev_b32 exec_hi, s0    ; encoding: [0x00,0x08,0xff,0xbe]
-0x00,0x08,0xff,0xbe
+# CHECK: s_brev_b32 exec_hi, s1    ; encoding: [0x01,0x08,0xff,0xbe]
+0x01,0x08,0xff,0xbe
 
-# CHECK: s_brev_b32 s0, s101    ; encoding: [0x65,0x08,0x80,0xbe]
-0x65,0x08,0x80,0xbe
+# CHECK: s_brev_b32 s5, s101    ; encoding: [0x65,0x08,0x85,0xbe]
+0x65,0x08,0x85,0xbe
 
-# CHECK: s_brev_b32 s0, flat_scratch_lo    ; encoding: [0x66,0x08,0x80,0xbe]
-0x66,0x08,0x80,0xbe
+# CHECK: s_brev_b32 s5, flat_scratch_lo    ; encoding: [0x66,0x08,0x85,0xbe]
+0x66,0x08,0x85,0xbe
 
-# CHECK: s_brev_b32 s0, flat_scratch_hi    ; encoding: [0x67,0x08,0x80,0xbe]
-0x67,0x08,0x80,0xbe
+# CHECK: s_brev_b32 s5, flat_scratch_hi    ; encoding: [0x67,0x08,0x85,0xbe]
+0x67,0x08,0x85,0xbe
 
-# CHECK: s_brev_b32 s0, vcc_lo    ; encoding: [0x6a,0x08,0x80,0xbe]
-0x6a,0x08,0x80,0xbe
+# CHECK: s_brev_b32 s5, vcc_lo    ; encoding: [0x6a,0x08,0x85,0xbe]
+0x6a,0x08,0x85,0xbe
 
-# CHECK: s_brev_b32 s0, vcc_hi    ; encoding: [0x6b,0x08,0x80,0xbe]
-0x6b,0x08,0x80,0xbe
+# CHECK: s_brev_b32 s5, vcc_hi    ; encoding: [0x6b,0x08,0x85,0xbe]
+0x6b,0x08,0x85,0xbe
 
-# CHECK: s_brev_b32 s0, tba_lo    ; encoding: [0x6c,0x08,0x80,0xbe]
-0x6c,0x08,0x80,0xbe
+# CHECK: s_brev_b32 s5, tba_lo    ; encoding: [0x6c,0x08,0x85,0xbe]
+0x6c,0x08,0x85,0xbe
 
-# CHECK: s_brev_b32 s0, tba_hi    ; encoding: [0x6d,0x08,0x80,0xbe]
-0x6d,0x08,0x80,0xbe
+# CHECK: s_brev_b32 s5, tba_hi    ; encoding: [0x6d,0x08,0x85,0xbe]
+0x6d,0x08,0x85,0xbe
 
-# CHECK: s_brev_b32 s0, tma_lo    ; encoding: [0x6e,0x08,0x80,0xbe]
-0x6e,0x08,0x80,0xbe
+# CHECK: s_brev_b32 s5, tma_lo    ; encoding: [0x6e,0x08,0x85,0xbe]
+0x6e,0x08,0x85,0xbe
 
-# CHECK: s_brev_b32 s0, tma_hi    ; encoding: [0x6f,0x08,0x80,0xbe]
-0x6f,0x08,0x80,0xbe
+# CHECK: s_brev_b32 s5, tma_hi    ; encoding: [0x6f,0x08,0x85,0xbe]
+0x6f,0x08,0x85,0xbe
 
-# CHECK: s_brev_b32 s0, ttmp11    ; encoding: [0x7b,0x08,0x80,0xbe]
-0x7b,0x08,0x80,0xbe
+# CHECK: s_brev_b32 s5, ttmp11    ; encoding: [0x7b,0x08,0x85,0xbe]
+0x7b,0x08,0x85,0xbe
 
-# CHECK: s_brev_b32 s0, m0    ; encoding: [0x7c,0x08,0x80,0xbe]
-0x7c,0x08,0x80,0xbe
+# CHECK: s_brev_b32 s5, m0    ; encoding: [0x7c,0x08,0x85,0xbe]
+0x7c,0x08,0x85,0xbe
 
-# CHECK: s_brev_b32 s0, exec_lo    ; encoding: [0x7e,0x08,0x80,0xbe]
-0x7e,0x08,0x80,0xbe
+# CHECK: s_brev_b32 s5, exec_lo    ; encoding: [0x7e,0x08,0x85,0xbe]
+0x7e,0x08,0x85,0xbe
 
-# CHECK: s_brev_b32 s0, exec_hi    ; encoding: [0x7f,0x08,0x80,0xbe]
-0x7f,0x08,0x80,0xbe
+# CHECK: s_brev_b32 s5, exec_hi    ; encoding: [0x7f,0x08,0x85,0xbe]
+0x7f,0x08,0x85,0xbe
 
-# CHECK: s_brev_b32 s0, 0    ; encoding: [0x80,0x08,0x80,0xbe]
-0x80,0x08,0x80,0xbe
+# CHECK: s_brev_b32 s5, 0    ; encoding: [0x80,0x08,0x85,0xbe]
+0x80,0x08,0x85,0xbe
 
-# CHECK: s_brev_b32 s0, -1    ; encoding: [0xc1,0x08,0x80,0xbe]
-0xc1,0x08,0x80,0xbe
+# CHECK: s_brev_b32 s5, -1    ; encoding: [0xc1,0x08,0x85,0xbe]
+0xc1,0x08,0x85,0xbe
 
-# CHECK: s_brev_b32 s0, 0.5    ; encoding: [0xf0,0x08,0x80,0xbe]
-0xf0,0x08,0x80,0xbe
+# CHECK: s_brev_b32 s5, 0.5    ; encoding: [0xf0,0x08,0x85,0xbe]
+0xf0,0x08,0x85,0xbe
 
-# CHECK: s_brev_b32 s0, -4.0    ; encoding: [0xf7,0x08,0x80,0xbe]
-0xf7,0x08,0x80,0xbe
+# CHECK: s_brev_b32 s5, -4.0    ; encoding: [0xf7,0x08,0x85,0xbe]
+0xf7,0x08,0x85,0xbe
 
-# CHECK: s_brev_b32 s0, scc    ; encoding: [0xfd,0x08,0x80,0xbe]
-0xfd,0x08,0x80,0xbe
+# CHECK: s_brev_b32 s5, scc    ; encoding: [0xfd,0x08,0x85,0xbe]
+0xfd,0x08,0x85,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 s5, 0xaf123456    ; encoding: [0xff,0x08,0x85,0xbe,0x56,0x34,0x12,0xaf]
+0xff,0x08,0x85,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_b32 s5, 0x3f717273    ; encoding: [0xff,0x08,0x85,0xbe,0x73,0x72,0x71,0x3f]
+0xff,0x08,0x85,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[10:11], s[2:3]    ; encoding: [0x02,0x09,0x8a,0xbe]
+0x02,0x09,0x8a,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[12:13], s[2:3]    ; encoding: [0x02,0x09,0x8c,0xbe]
+0x02,0x09,0x8c,0xbe
 
-# CHECK: s_brev_b64 s[100:101], s[0:1]    ; encoding: [0x00,0x09,0xe4,0xbe]
-0x00,0x09,0xe4,0xbe
+# CHECK: s_brev_b64 s[100:101], s[2:3]    ; encoding: [0x02,0x09,0xe4,0xbe]
+0x02,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 flat_scratch, s[2:3]    ; encoding: [0x02,0x09,0xe6,0xbe]
+0x02,0x09,0xe6,0xbe
 
-# CHECK: s_brev_b64 vcc, s[0:1]    ; encoding: [0x00,0x09,0xea,0xbe]
-0x00,0x09,0xea,0xbe
+# CHECK: s_brev_b64 vcc, s[2:3]    ; encoding: [0x02,0x09,0xea,0xbe]
+0x02,0x09,0xea,0xbe
 
-# CHECK: s_brev_b64 tba, s[0:1]    ; encoding: [0x00,0x09,0xec,0xbe]
-0x00,0x09,0xec,0xbe
+# CHECK: s_brev_b64 tba, s[2:3]    ; encoding: [0x02,0x09,0xec,0xbe]
+0x02,0x09,0xec,0xbe
 
-# CHECK: s_brev_b64 tma, s[0:1]    ; encoding: [0x00,0x09,0xee,0xbe]
-0x00,0x09,0xee,0xbe
+# CHECK: s_brev_b64 tma, s[2:3]    ; encoding: [0x02,0x09,0xee,0xbe]
+0x02,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 ttmp[10:11], s[2:3]    ; encoding: [0x02,0x09,0xfa,0xbe]
+0x02,0x09,0xfa,0xbe
 
-# CHECK: s_brev_b64 exec, s[0:1]    ; encoding: [0x00,0x09,0xfe,0xbe]
-0x00,0x09,0xfe,0xbe
+# CHECK: s_brev_b64 exec, s[2:3]    ; encoding: [0x02,0x09,0xfe,0xbe]
+0x02,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[10:11], s[4:5]    ; encoding: [0x04,0x09,0x8a,0xbe]
+0x04,0x09,0x8a,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[10:11], s[100:101]    ; encoding: [0x64,0x09,0x8a,0xbe]
+0x64,0x09,0x8a,0xbe
 
-# CHECK: s_brev_b64 s[0:1], flat_scratch    ; encoding: [0x66,0x09,0x80,0xbe]
-0x66,0x09,0x80,0xbe
+# CHECK: s_brev_b64 s[10:11], flat_scratch    ; encoding: [0x66,0x09,0x8a,0xbe]
+0x66,0x09,0x8a,0xbe
 
-# CHECK: s_brev_b64 s[0:1], vcc    ; encoding: [0x6a,0x09,0x80,0xbe]
-0x6a,0x09,0x80,0xbe
+# CHECK: s_brev_b64 s[10:11], vcc    ; encoding: [0x6a,0x09,0x8a,0xbe]
+0x6a,0x09,0x8a,0xbe
 
-# CHECK: s_brev_b64 s[0:1], tba    ; encoding: [0x6c,0x09,0x80,0xbe]
-0x6c,0x09,0x80,0xbe
+# CHECK: s_brev_b64 s[10:11], tba    ; encoding: [0x6c,0x09,0x8a,0xbe]
+0x6c,0x09,0x8a,0xbe
 
-# CHECK: s_brev_b64 s[0:1], tma    ; encoding: [0x6e,0x09,0x80,0xbe]
-0x6e,0x09,0x80,0xbe
+# CHECK: s_brev_b64 s[10:11], tma    ; encoding: [0x6e,0x09,0x8a,0xbe]
+0x6e,0x09,0x8a,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[10:11], ttmp[10:11]    ; encoding: [0x7a,0x09,0x8a,0xbe]
+0x7a,0x09,0x8a,0xbe
 
-# CHECK: s_brev_b64 s[0:1], exec    ; encoding: [0x7e,0x09,0x80,0xbe]
-0x7e,0x09,0x80,0xbe
+# CHECK: s_brev_b64 s[10:11], exec    ; encoding: [0x7e,0x09,0x8a,0xbe]
+0x7e,0x09,0x8a,0xbe
 
-# CHECK: s_brev_b64 s[0:1], 0    ; encoding: [0x80,0x09,0x80,0xbe]
-0x80,0x09,0x80,0xbe
+# CHECK: s_brev_b64 s[10:11], 0    ; encoding: [0x80,0x09,0x8a,0xbe]
+0x80,0x09,0x8a,0xbe
 
-# CHECK: s_brev_b64 s[0:1], -1    ; encoding: [0xc1,0x09,0x80,0xbe]
-0xc1,0x09,0x80,0xbe
+# CHECK: s_brev_b64 s[10:11], -1    ; encoding: [0xc1,0x09,0x8a,0xbe]
+0xc1,0x09,0x8a,0xbe
 
-# CHECK: s_brev_b64 s[0:1], 0.5    ; encoding: [0xf0,0x09,0x80,0xbe]
-0xf0,0x09,0x80,0xbe
+# CHECK: s_brev_b64 s[10:11], 0.5    ; encoding: [0xf0,0x09,0x8a,0xbe]
+0xf0,0x09,0x8a,0xbe
 
-# CHECK: s_brev_b64 s[0:1], -4.0    ; encoding: [0xf7,0x09,0x80,0xbe]
-0xf7,0x09,0x80,0xbe
+# CHECK: s_brev_b64 s[10:11], -4.0    ; encoding: [0xf7,0x09,0x8a,0xbe]
+0xf7,0x09,0x8a,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[10:11], 0xaf123456    ; encoding: [0xff,0x09,0x8a,0xbe,0x56,0x34,0x12,0xaf]
+0xff,0x09,0x8a,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_brev_b64 s[10:11], 0x3f717273    ; encoding: [0xff,0x09,0x8a,0xbe,0x73,0x72,0x71,0x3f]
+0xff,0x09,0x8a,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 s5, s1    ; encoding: [0x01,0x0a,0x85,0xbe]
+0x01,0x0a,0x85,0xbe
 
-# CHECK: s_bcnt0_i32_b32 s101, s0    ; encoding: [0x00,0x0a,0xe5,0xbe]
-0x00,0x0a,0xe5,0xbe
+# CHECK: s_bcnt0_i32_b32 s101, s1    ; encoding: [0x01,0x0a,0xe5,0xbe]
+0x01,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_lo, s1    ; encoding: [0x01,0x0a,0xe6,0xbe]
+0x01,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 flat_scratch_hi, s1    ; encoding: [0x01,0x0a,0xe7,0xbe]
+0x01,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_lo, s1    ; encoding: [0x01,0x0a,0xea,0xbe]
+0x01,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 vcc_hi, s1    ; encoding: [0x01,0x0a,0xeb,0xbe]
+0x01,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_lo, s1    ; encoding: [0x01,0x0a,0xec,0xbe]
+0x01,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 tba_hi, s1    ; encoding: [0x01,0x0a,0xed,0xbe]
+0x01,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_lo, s1    ; encoding: [0x01,0x0a,0xee,0xbe]
+0x01,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 tma_hi, s1    ; encoding: [0x01,0x0a,0xef,0xbe]
+0x01,0x0a,0xef,0xbe
 
-# CHECK: s_bcnt0_i32_b32 ttmp11, s0    ; encoding: [0x00,0x0a,0xfb,0xbe]
-0x00,0x0a,0xfb,0xbe
+# CHECK: s_bcnt0_i32_b32 ttmp11, s1    ; encoding: [0x01,0x0a,0xfb,0xbe]
+0x01,0x0a,0xfb,0xbe
 
-# CHECK: s_bcnt0_i32_b32 m0, s0    ; encoding: [0x00,0x0a,0xfc,0xbe]
-0x00,0x0a,0xfc,0xbe
+# CHECK: s_bcnt0_i32_b32 m0, s1    ; encoding: [0x01,0x0a,0xfc,0xbe]
+0x01,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_lo, s1    ; encoding: [0x01,0x0a,0xfe,0xbe]
+0x01,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 exec_hi, s1    ; encoding: [0x01,0x0a,0xff,0xbe]
+0x01,0x0a,0xff,0xbe
 
-# CHECK: s_bcnt0_i32_b32 s0, s101    ; encoding: [0x65,0x0a,0x80,0xbe]
-0x65,0x0a,0x80,0xbe
+# CHECK: s_bcnt0_i32_b32 s5, s101    ; encoding: [0x65,0x0a,0x85,0xbe]
+0x65,0x0a,0x85,0xbe
 
-# CHECK: s_bcnt0_i32_b32 s0, flat_scratch_lo    ; encoding: [0x66,0x0a,0x80,0xbe]
-0x66,0x0a,0x80,0xbe
+# CHECK: s_bcnt0_i32_b32 s5, flat_scratch_lo    ; encoding: [0x66,0x0a,0x85,0xbe]
+0x66,0x0a,0x85,0xbe
 
-# CHECK: s_bcnt0_i32_b32 s0, flat_scratch_hi    ; encoding: [0x67,0x0a,0x80,0xbe]
-0x67,0x0a,0x80,0xbe
+# CHECK: s_bcnt0_i32_b32 s5, flat_scratch_hi    ; encoding: [0x67,0x0a,0x85,0xbe]
+0x67,0x0a,0x85,0xbe
 
-# CHECK: s_bcnt0_i32_b32 s0, vcc_lo    ; encoding: [0x6a,0x0a,0x80,0xbe]
-0x6a,0x0a,0x80,0xbe
+# CHECK: s_bcnt0_i32_b32 s5, vcc_lo    ; encoding: [0x6a,0x0a,0x85,0xbe]
+0x6a,0x0a,0x85,0xbe
 
-# CHECK: s_bcnt0_i32_b32 s0, vcc_hi    ; encoding: [0x6b,0x0a,0x80,0xbe]
-0x6b,0x0a,0x80,0xbe
+# CHECK: s_bcnt0_i32_b32 s5, vcc_hi    ; encoding: [0x6b,0x0a,0x85,0xbe]
+0x6b,0x0a,0x85,0xbe
 
-# CHECK: s_bcnt0_i32_b32 s0, tba_lo    ; encoding: [0x6c,0x0a,0x80,0xbe]
-0x6c,0x0a,0x80,0xbe
+# CHECK: s_bcnt0_i32_b32 s5, tba_lo    ; encoding: [0x6c,0x0a,0x85,0xbe]
+0x6c,0x0a,0x85,0xbe
 
-# CHECK: s_bcnt0_i32_b32 s0, tba_hi    ; encoding: [0x6d,0x0a,0x80,0xbe]
-0x6d,0x0a,0x80,0xbe
+# CHECK: s_bcnt0_i32_b32 s5, tba_hi    ; encoding: [0x6d,0x0a,0x85,0xbe]
+0x6d,0x0a,0x85,0xbe
 
-# CHECK: s_bcnt0_i32_b32 s0, tma_lo    ; encoding: [0x6e,0x0a,0x80,0xbe]
-0x6e,0x0a,0x80,0xbe
+# CHECK: s_bcnt0_i32_b32 s5, tma_lo    ; encoding: [0x6e,0x0a,0x85,0xbe]
+0x6e,0x0a,0x85,0xbe
 
-# CHECK: s_bcnt0_i32_b32 s0, tma_hi    ; encoding: [0x6f,0x0a,0x80,0xbe]
-0x6f,0x0a,0x80,0xbe
+# CHECK: s_bcnt0_i32_b32 s5, tma_hi    ; encoding: [0x6f,0x0a,0x85,0xbe]
+0x6f,0x0a,0x85,0xbe
 
-# CHECK: s_bcnt0_i32_b32 s0, ttmp11    ; encoding: [0x7b,0x0a,0x80,0xbe]
-0x7b,0x0a,0x80,0xbe
+# CHECK: s_bcnt0_i32_b32 s5, ttmp11    ; encoding: [0x7b,0x0a,0x85,0xbe]
+0x7b,0x0a,0x85,0xbe
 
-# CHECK: s_bcnt0_i32_b32 s0, m0    ; encoding: [0x7c,0x0a,0x80,0xbe]
-0x7c,0x0a,0x80,0xbe
+# CHECK: s_bcnt0_i32_b32 s5, m0    ; encoding: [0x7c,0x0a,0x85,0xbe]
+0x7c,0x0a,0x85,0xbe
 
-# CHECK: s_bcnt0_i32_b32 s0, exec_lo    ; encoding: [0x7e,0x0a,0x80,0xbe]
-0x7e,0x0a,0x80,0xbe
+# CHECK: s_bcnt0_i32_b32 s5, exec_lo    ; encoding: [0x7e,0x0a,0x85,0xbe]
+0x7e,0x0a,0x85,0xbe
 
-# CHECK: s_bcnt0_i32_b32 s0, exec_hi    ; encoding: [0x7f,0x0a,0x80,0xbe]
-0x7f,0x0a,0x80,0xbe
+# CHECK: s_bcnt0_i32_b32 s5, exec_hi    ; encoding: [0x7f,0x0a,0x85,0xbe]
+0x7f,0x0a,0x85,0xbe
 
-# CHECK: s_bcnt0_i32_b32 s0, 0    ; encoding: [0x80,0x0a,0x80,0xbe]
-0x80,0x0a,0x80,0xbe
+# CHECK: s_bcnt0_i32_b32 s5, 0    ; encoding: [0x80,0x0a,0x85,0xbe]
+0x80,0x0a,0x85,0xbe
 
-# CHECK: s_bcnt0_i32_b32 s0, -1    ; encoding: [0xc1,0x0a,0x80,0xbe]
-0xc1,0x0a,0x80,0xbe
+# CHECK: s_bcnt0_i32_b32 s5, -1    ; encoding: [0xc1,0x0a,0x85,0xbe]
+0xc1,0x0a,0x85,0xbe
 
-# CHECK: s_bcnt0_i32_b32 s0, 0.5    ; encoding: [0xf0,0x0a,0x80,0xbe]
-0xf0,0x0a,0x80,0xbe
+# CHECK: s_bcnt0_i32_b32 s5, 0.5    ; encoding: [0xf0,0x0a,0x85,0xbe]
+0xf0,0x0a,0x85,0xbe
 
-# CHECK: s_bcnt0_i32_b32 s0, -4.0    ; encoding: [0xf7,0x0a,0x80,0xbe]
-0xf7,0x0a,0x80,0xbe
+# CHECK: s_bcnt0_i32_b32 s5, -4.0    ; encoding: [0xf7,0x0a,0x85,0xbe]
+0xf7,0x0a,0x85,0xbe
 
-# CHECK: s_bcnt0_i32_b32 s0, scc    ; encoding: [0xfd,0x0a,0x80,0xbe]
-0xfd,0x0a,0x80,0xbe
+# CHECK: s_bcnt0_i32_b32 s5, scc    ; encoding: [0xfd,0x0a,0x85,0xbe]
+0xfd,0x0a,0x85,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 s5, 0xaf123456    ; encoding: [0xff,0x0a,0x85,0xbe,0x56,0x34,0x12,0xaf]
+0xff,0x0a,0x85,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_b32 s5, 0x3f717273    ; encoding: [0xff,0x0a,0x85,0xbe,0x73,0x72,0x71,0x3f]
+0xff,0x0a,0x85,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 s5, s[2:3]    ; encoding: [0x02,0x0b,0x85,0xbe]
+0x02,0x0b,0x85,0xbe
 
-# CHECK: s_bcnt0_i32_b64 s101, s[0:1]    ; encoding: [0x00,0x0b,0xe5,0xbe]
-0x00,0x0b,0xe5,0xbe
+# CHECK: s_bcnt0_i32_b64 s101, s[2:3]    ; encoding: [0x02,0x0b,0xe5,0xbe]
+0x02,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_lo, s[2:3]    ; encoding: [0x02,0x0b,0xe6,0xbe]
+0x02,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 flat_scratch_hi, s[2:3]    ; encoding: [0x02,0x0b,0xe7,0xbe]
+0x02,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_lo, s[2:3]    ; encoding: [0x02,0x0b,0xea,0xbe]
+0x02,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 vcc_hi, s[2:3]    ; encoding: [0x02,0x0b,0xeb,0xbe]
+0x02,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_lo, s[2:3]    ; encoding: [0x02,0x0b,0xec,0xbe]
+0x02,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 tba_hi, s[2:3]    ; encoding: [0x02,0x0b,0xed,0xbe]
+0x02,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_lo, s[2:3]    ; encoding: [0x02,0x0b,0xee,0xbe]
+0x02,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 tma_hi, s[2:3]    ; encoding: [0x02,0x0b,0xef,0xbe]
+0x02,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 ttmp11, s[2:3]    ; encoding: [0x02,0x0b,0xfb,0xbe]
+0x02,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 m0, s[2:3]    ; encoding: [0x02,0x0b,0xfc,0xbe]
+0x02,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_lo, s[2:3]    ; encoding: [0x02,0x0b,0xfe,0xbe]
+0x02,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 exec_hi, s[2:3]    ; encoding: [0x02,0x0b,0xff,0xbe]
+0x02,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 s5, s[4:5]    ; encoding: [0x04,0x0b,0x85,0xbe]
+0x04,0x0b,0x85,0xbe
 
-# CHECK: s_bcnt0_i32_b64 s0, s[100:101]    ; encoding: [0x64,0x0b,0x80,0xbe]
-0x64,0x0b,0x80,0xbe
+# CHECK: s_bcnt0_i32_b64 s5, s[100:101]    ; encoding: [0x64,0x0b,0x85,0xbe]
+0x64,0x0b,0x85,0xbe
 
-# CHECK: s_bcnt0_i32_b64 s0, flat_scratch    ; encoding: [0x66,0x0b,0x80,0xbe]
-0x66,0x0b,0x80,0xbe
+# CHECK: s_bcnt0_i32_b64 s5, flat_scratch    ; encoding: [0x66,0x0b,0x85,0xbe]
+0x66,0x0b,0x85,0xbe
 
-# CHECK: s_bcnt0_i32_b64 s0, vcc    ; encoding: [0x6a,0x0b,0x80,0xbe]
-0x6a,0x0b,0x80,0xbe
+# CHECK: s_bcnt0_i32_b64 s5, vcc    ; encoding: [0x6a,0x0b,0x85,0xbe]
+0x6a,0x0b,0x85,0xbe
 
-# CHECK: s_bcnt0_i32_b64 s0, tba    ; encoding: [0x6c,0x0b,0x80,0xbe]
-0x6c,0x0b,0x80,0xbe
+# CHECK: s_bcnt0_i32_b64 s5, tba    ; encoding: [0x6c,0x0b,0x85,0xbe]
+0x6c,0x0b,0x85,0xbe
 
-# CHECK: s_bcnt0_i32_b64 s0, tma    ; encoding: [0x6e,0x0b,0x80,0xbe]
-0x6e,0x0b,0x80,0xbe
+# CHECK: s_bcnt0_i32_b64 s5, tma    ; encoding: [0x6e,0x0b,0x85,0xbe]
+0x6e,0x0b,0x85,0xbe
 
-# CHECK: s_bcnt0_i32_b64 s0, ttmp[10:11]    ; encoding: [0x7a,0x0b,0x80,0xbe]
-0x7a,0x0b,0x80,0xbe
+# CHECK: s_bcnt0_i32_b64 s5, ttmp[10:11]    ; encoding: [0x7a,0x0b,0x85,0xbe]
+0x7a,0x0b,0x85,0xbe
 
-# CHECK: s_bcnt0_i32_b64 s0, exec    ; encoding: [0x7e,0x0b,0x80,0xbe]
-0x7e,0x0b,0x80,0xbe
+# CHECK: s_bcnt0_i32_b64 s5, exec    ; encoding: [0x7e,0x0b,0x85,0xbe]
+0x7e,0x0b,0x85,0xbe
 
-# CHECK: s_bcnt0_i32_b64 s0, 0    ; encoding: [0x80,0x0b,0x80,0xbe]
-0x80,0x0b,0x80,0xbe
+# CHECK: s_bcnt0_i32_b64 s5, 0    ; encoding: [0x80,0x0b,0x85,0xbe]
+0x80,0x0b,0x85,0xbe
 
-# CHECK: s_bcnt0_i32_b64 s0, -1    ; encoding: [0xc1,0x0b,0x80,0xbe]
-0xc1,0x0b,0x80,0xbe
+# CHECK: s_bcnt0_i32_b64 s5, -1    ; encoding: [0xc1,0x0b,0x85,0xbe]
+0xc1,0x0b,0x85,0xbe
 
-# CHECK: s_bcnt0_i32_b64 s0, 0.5    ; encoding: [0xf0,0x0b,0x80,0xbe]
-0xf0,0x0b,0x80,0xbe
+# CHECK: s_bcnt0_i32_b64 s5, 0.5    ; encoding: [0xf0,0x0b,0x85,0xbe]
+0xf0,0x0b,0x85,0xbe
 
-# CHECK: s_bcnt0_i32_b64 s0, -4.0    ; encoding: [0xf7,0x0b,0x80,0xbe]
-0xf7,0x0b,0x80,0xbe
+# CHECK: s_bcnt0_i32_b64 s5, -4.0    ; encoding: [0xf7,0x0b,0x85,0xbe]
+0xf7,0x0b,0x85,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 s5, 0xaf123456    ; encoding: [0xff,0x0b,0x85,0xbe,0x56,0x34,0x12,0xaf]
+0xff,0x0b,0x85,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_bcnt0_i32_b64 s5, 0x3f717273    ; encoding: [0xff,0x0b,0x85,0xbe,0x73,0x72,0x71,0x3f]
+0xff,0x0b,0x85,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 s5, s1    ; encoding: [0x01,0x0c,0x85,0xbe]
+0x01,0x0c,0x85,0xbe
 
-# CHECK: s_bcnt1_i32_b32 s101, s0    ; encoding: [0x00,0x0c,0xe5,0xbe]
-0x00,0x0c,0xe5,0xbe
+# CHECK: s_bcnt1_i32_b32 s101, s1    ; encoding: [0x01,0x0c,0xe5,0xbe]
+0x01,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_lo, s1    ; encoding: [0x01,0x0c,0xe6,0xbe]
+0x01,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 flat_scratch_hi, s1    ; encoding: [0x01,0x0c,0xe7,0xbe]
+0x01,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_lo, s1    ; encoding: [0x01,0x0c,0xea,0xbe]
+0x01,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 vcc_hi, s1    ; encoding: [0x01,0x0c,0xeb,0xbe]
+0x01,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_lo, s1    ; encoding: [0x01,0x0c,0xec,0xbe]
+0x01,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 tba_hi, s1    ; encoding: [0x01,0x0c,0xed,0xbe]
+0x01,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_lo, s1    ; encoding: [0x01,0x0c,0xee,0xbe]
+0x01,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 tma_hi, s1    ; encoding: [0x01,0x0c,0xef,0xbe]
+0x01,0x0c,0xef,0xbe
 
-# CHECK: s_bcnt1_i32_b32 ttmp11, s0    ; encoding: [0x00,0x0c,0xfb,0xbe]
-0x00,0x0c,0xfb,0xbe
+# CHECK: s_bcnt1_i32_b32 ttmp11, s1    ; encoding: [0x01,0x0c,0xfb,0xbe]
+0x01,0x0c,0xfb,0xbe
 
-# CHECK: s_bcnt1_i32_b32 m0, s0    ; encoding: [0x00,0x0c,0xfc,0xbe]
-0x00,0x0c,0xfc,0xbe
+# CHECK: s_bcnt1_i32_b32 m0, s1    ; encoding: [0x01,0x0c,0xfc,0xbe]
+0x01,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_lo, s1    ; encoding: [0x01,0x0c,0xfe,0xbe]
+0x01,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 exec_hi, s1    ; encoding: [0x01,0x0c,0xff,0xbe]
+0x01,0x0c,0xff,0xbe
 
-# CHECK: s_bcnt1_i32_b32 s0, s101    ; encoding: [0x65,0x0c,0x80,0xbe]
-0x65,0x0c,0x80,0xbe
+# CHECK: s_bcnt1_i32_b32 s5, s101    ; encoding: [0x65,0x0c,0x85,0xbe]
+0x65,0x0c,0x85,0xbe
 
-# CHECK: s_bcnt1_i32_b32 s0, flat_scratch_lo    ; encoding: [0x66,0x0c,0x80,0xbe]
-0x66,0x0c,0x80,0xbe
+# CHECK: s_bcnt1_i32_b32 s5, flat_scratch_lo    ; encoding: [0x66,0x0c,0x85,0xbe]
+0x66,0x0c,0x85,0xbe
 
-# CHECK: s_bcnt1_i32_b32 s0, flat_scratch_hi    ; encoding: [0x67,0x0c,0x80,0xbe]
-0x67,0x0c,0x80,0xbe
+# CHECK: s_bcnt1_i32_b32 s5, flat_scratch_hi    ; encoding: [0x67,0x0c,0x85,0xbe]
+0x67,0x0c,0x85,0xbe
 
-# CHECK: s_bcnt1_i32_b32 s0, vcc_lo    ; encoding: [0x6a,0x0c,0x80,0xbe]
-0x6a,0x0c,0x80,0xbe
+# CHECK: s_bcnt1_i32_b32 s5, vcc_lo    ; encoding: [0x6a,0x0c,0x85,0xbe]
+0x6a,0x0c,0x85,0xbe
 
-# CHECK: s_bcnt1_i32_b32 s0, vcc_hi    ; encoding: [0x6b,0x0c,0x80,0xbe]
-0x6b,0x0c,0x80,0xbe
+# CHECK: s_bcnt1_i32_b32 s5, vcc_hi    ; encoding: [0x6b,0x0c,0x85,0xbe]
+0x6b,0x0c,0x85,0xbe
 
-# CHECK: s_bcnt1_i32_b32 s0, tba_lo    ; encoding: [0x6c,0x0c,0x80,0xbe]
-0x6c,0x0c,0x80,0xbe
+# CHECK: s_bcnt1_i32_b32 s5, tba_lo    ; encoding: [0x6c,0x0c,0x85,0xbe]
+0x6c,0x0c,0x85,0xbe
 
-# CHECK: s_bcnt1_i32_b32 s0, tba_hi    ; encoding: [0x6d,0x0c,0x80,0xbe]
-0x6d,0x0c,0x80,0xbe
+# CHECK: s_bcnt1_i32_b32 s5, tba_hi    ; encoding: [0x6d,0x0c,0x85,0xbe]
+0x6d,0x0c,0x85,0xbe
 
-# CHECK: s_bcnt1_i32_b32 s0, tma_lo    ; encoding: [0x6e,0x0c,0x80,0xbe]
-0x6e,0x0c,0x80,0xbe
+# CHECK: s_bcnt1_i32_b32 s5, tma_lo    ; encoding: [0x6e,0x0c,0x85,0xbe]
+0x6e,0x0c,0x85,0xbe
 
-# CHECK: s_bcnt1_i32_b32 s0, tma_hi    ; encoding: [0x6f,0x0c,0x80,0xbe]
-0x6f,0x0c,0x80,0xbe
+# CHECK: s_bcnt1_i32_b32 s5, tma_hi    ; encoding: [0x6f,0x0c,0x85,0xbe]
+0x6f,0x0c,0x85,0xbe
 
-# CHECK: s_bcnt1_i32_b32 s0, ttmp11    ; encoding: [0x7b,0x0c,0x80,0xbe]
-0x7b,0x0c,0x80,0xbe
+# CHECK: s_bcnt1_i32_b32 s5, ttmp11    ; encoding: [0x7b,0x0c,0x85,0xbe]
+0x7b,0x0c,0x85,0xbe
 
-# CHECK: s_bcnt1_i32_b32 s0, m0    ; encoding: [0x7c,0x0c,0x80,0xbe]
-0x7c,0x0c,0x80,0xbe
+# CHECK: s_bcnt1_i32_b32 s5, m0    ; encoding: [0x7c,0x0c,0x85,0xbe]
+0x7c,0x0c,0x85,0xbe
 
-# CHECK: s_bcnt1_i32_b32 s0, exec_lo    ; encoding: [0x7e,0x0c,0x80,0xbe]
-0x7e,0x0c,0x80,0xbe
+# CHECK: s_bcnt1_i32_b32 s5, exec_lo    ; encoding: [0x7e,0x0c,0x85,0xbe]
+0x7e,0x0c,0x85,0xbe
 
-# CHECK: s_bcnt1_i32_b32 s0, exec_hi    ; encoding: [0x7f,0x0c,0x80,0xbe]
-0x7f,0x0c,0x80,0xbe
+# CHECK: s_bcnt1_i32_b32 s5, exec_hi    ; encoding: [0x7f,0x0c,0x85,0xbe]
+0x7f,0x0c,0x85,0xbe
 
-# CHECK: s_bcnt1_i32_b32 s0, 0    ; encoding: [0x80,0x0c,0x80,0xbe]
-0x80,0x0c,0x80,0xbe
+# CHECK: s_bcnt1_i32_b32 s5, 0    ; encoding: [0x80,0x0c,0x85,0xbe]
+0x80,0x0c,0x85,0xbe
 
-# CHECK: s_bcnt1_i32_b32 s0, -1    ; encoding: [0xc1,0x0c,0x80,0xbe]
-0xc1,0x0c,0x80,0xbe
+# CHECK: s_bcnt1_i32_b32 s5, -1    ; encoding: [0xc1,0x0c,0x85,0xbe]
+0xc1,0x0c,0x85,0xbe
 
-# CHECK: s_bcnt1_i32_b32 s0, 0.5    ; encoding: [0xf0,0x0c,0x80,0xbe]
-0xf0,0x0c,0x80,0xbe
+# CHECK: s_bcnt1_i32_b32 s5, 0.5    ; encoding: [0xf0,0x0c,0x85,0xbe]
+0xf0,0x0c,0x85,0xbe
 
-# CHECK: s_bcnt1_i32_b32 s0, -4.0    ; encoding: [0xf7,0x0c,0x80,0xbe]
-0xf7,0x0c,0x80,0xbe
+# CHECK: s_bcnt1_i32_b32 s5, -4.0    ; encoding: [0xf7,0x0c,0x85,0xbe]
+0xf7,0x0c,0x85,0xbe
 
-# CHECK: s_bcnt1_i32_b32 s0, scc    ; encoding: [0xfd,0x0c,0x80,0xbe]
-0xfd,0x0c,0x80,0xbe
+# CHECK: s_bcnt1_i32_b32 s5, scc    ; encoding: [0xfd,0x0c,0x85,0xbe]
+0xfd,0x0c,0x85,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 s5, 0xaf123456    ; encoding: [0xff,0x0c,0x85,0xbe,0x56,0x34,0x12,0xaf]
+0xff,0x0c,0x85,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_b32 s5, 0x3f717273    ; encoding: [0xff,0x0c,0x85,0xbe,0x73,0x72,0x71,0x3f]
+0xff,0x0c,0x85,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 s5, s[2:3]    ; encoding: [0x02,0x0d,0x85,0xbe]
+0x02,0x0d,0x85,0xbe
 
-# CHECK: s_bcnt1_i32_b64 s101, s[0:1]    ; encoding: [0x00,0x0d,0xe5,0xbe]
-0x00,0x0d,0xe5,0xbe
+# CHECK: s_bcnt1_i32_b64 s101, s[2:3]    ; encoding: [0x02,0x0d,0xe5,0xbe]
+0x02,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_lo, s[2:3]    ; encoding: [0x02,0x0d,0xe6,0xbe]
+0x02,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 flat_scratch_hi, s[2:3]    ; encoding: [0x02,0x0d,0xe7,0xbe]
+0x02,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_lo, s[2:3]    ; encoding: [0x02,0x0d,0xea,0xbe]
+0x02,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 vcc_hi, s[2:3]    ; encoding: [0x02,0x0d,0xeb,0xbe]
+0x02,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_lo, s[2:3]    ; encoding: [0x02,0x0d,0xec,0xbe]
+0x02,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 tba_hi, s[2:3]    ; encoding: [0x02,0x0d,0xed,0xbe]
+0x02,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_lo, s[2:3]    ; encoding: [0x02,0x0d,0xee,0xbe]
+0x02,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 tma_hi, s[2:3]    ; encoding: [0x02,0x0d,0xef,0xbe]
+0x02,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 ttmp11, s[2:3]    ; encoding: [0x02,0x0d,0xfb,0xbe]
+0x02,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 m0, s[2:3]    ; encoding: [0x02,0x0d,0xfc,0xbe]
+0x02,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_lo, s[2:3]    ; encoding: [0x02,0x0d,0xfe,0xbe]
+0x02,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 exec_hi, s[2:3]    ; encoding: [0x02,0x0d,0xff,0xbe]
+0x02,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 s5, s[4:5]    ; encoding: [0x04,0x0d,0x85,0xbe]
+0x04,0x0d,0x85,0xbe
 
-# CHECK: s_bcnt1_i32_b64 s0, s[100:101]    ; encoding: [0x64,0x0d,0x80,0xbe]
-0x64,0x0d,0x80,0xbe
+# CHECK: s_bcnt1_i32_b64 s5, s[100:101]    ; encoding: [0x64,0x0d,0x85,0xbe]
+0x64,0x0d,0x85,0xbe
 
-# CHECK: s_bcnt1_i32_b64 s0, flat_scratch    ; encoding: [0x66,0x0d,0x80,0xbe]
-0x66,0x0d,0x80,0xbe
+# CHECK: s_bcnt1_i32_b64 s5, flat_scratch    ; encoding: [0x66,0x0d,0x85,0xbe]
+0x66,0x0d,0x85,0xbe
 
-# CHECK: s_bcnt1_i32_b64 s0, vcc    ; encoding: [0x6a,0x0d,0x80,0xbe]
-0x6a,0x0d,0x80,0xbe
+# CHECK: s_bcnt1_i32_b64 s5, vcc    ; encoding: [0x6a,0x0d,0x85,0xbe]
+0x6a,0x0d,0x85,0xbe
 
-# CHECK: s_bcnt1_i32_b64 s0, tba    ; encoding: [0x6c,0x0d,0x80,0xbe]
-0x6c,0x0d,0x80,0xbe
+# CHECK: s_bcnt1_i32_b64 s5, tba    ; encoding: [0x6c,0x0d,0x85,0xbe]
+0x6c,0x0d,0x85,0xbe
 
-# CHECK: s_bcnt1_i32_b64 s0, tma    ; encoding: [0x6e,0x0d,0x80,0xbe]
-0x6e,0x0d,0x80,0xbe
+# CHECK: s_bcnt1_i32_b64 s5, tma    ; encoding: [0x6e,0x0d,0x85,0xbe]
+0x6e,0x0d,0x85,0xbe
 
-# CHECK: s_bcnt1_i32_b64 s0, ttmp[10:11]    ; encoding: [0x7a,0x0d,0x80,0xbe]
-0x7a,0x0d,0x80,0xbe
+# CHECK: s_bcnt1_i32_b64 s5, ttmp[10:11]    ; encoding: [0x7a,0x0d,0x85,0xbe]
+0x7a,0x0d,0x85,0xbe
 
-# CHECK: s_bcnt1_i32_b64 s0, exec    ; encoding: [0x7e,0x0d,0x80,0xbe]
-0x7e,0x0d,0x80,0xbe
+# CHECK: s_bcnt1_i32_b64 s5, exec    ; encoding: [0x7e,0x0d,0x85,0xbe]
+0x7e,0x0d,0x85,0xbe
 
-# CHECK: s_bcnt1_i32_b64 s0, 0    ; encoding: [0x80,0x0d,0x80,0xbe]
-0x80,0x0d,0x80,0xbe
+# CHECK: s_bcnt1_i32_b64 s5, 0    ; encoding: [0x80,0x0d,0x85,0xbe]
+0x80,0x0d,0x85,0xbe
 
-# CHECK: s_bcnt1_i32_b64 s0, -1    ; encoding: [0xc1,0x0d,0x80,0xbe]
-0xc1,0x0d,0x80,0xbe
+# CHECK: s_bcnt1_i32_b64 s5, -1    ; encoding: [0xc1,0x0d,0x85,0xbe]
+0xc1,0x0d,0x85,0xbe
 
-# CHECK: s_bcnt1_i32_b64 s0, 0.5    ; encoding: [0xf0,0x0d,0x80,0xbe]
-0xf0,0x0d,0x80,0xbe
+# CHECK: s_bcnt1_i32_b64 s5, 0.5    ; encoding: [0xf0,0x0d,0x85,0xbe]
+0xf0,0x0d,0x85,0xbe
 
-# CHECK: s_bcnt1_i32_b64 s0, -4.0    ; encoding: [0xf7,0x0d,0x80,0xbe]
-0xf7,0x0d,0x80,0xbe
+# CHECK: s_bcnt1_i32_b64 s5, -4.0    ; encoding: [0xf7,0x0d,0x85,0xbe]
+0xf7,0x0d,0x85,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 s5, 0xaf123456    ; encoding: [0xff,0x0d,0x85,0xbe,0x56,0x34,0x12,0xaf]
+0xff,0x0d,0x85,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_bcnt1_i32_b64 s5, 0x3f717273    ; encoding: [0xff,0x0d,0x85,0xbe,0x73,0x72,0x71,0x3f]
+0xff,0x0d,0x85,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 s5, s1    ; encoding: [0x01,0x0e,0x85,0xbe]
+0x01,0x0e,0x85,0xbe
 
-# CHECK: s_ff0_i32_b32 s101, s0    ; encoding: [0x00,0x0e,0xe5,0xbe]
-0x00,0x0e,0xe5,0xbe
+# CHECK: s_ff0_i32_b32 s101, s1    ; encoding: [0x01,0x0e,0xe5,0xbe]
+0x01,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_lo, s1    ; encoding: [0x01,0x0e,0xe6,0xbe]
+0x01,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 flat_scratch_hi, s1    ; encoding: [0x01,0x0e,0xe7,0xbe]
+0x01,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_lo, s1    ; encoding: [0x01,0x0e,0xea,0xbe]
+0x01,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 vcc_hi, s1    ; encoding: [0x01,0x0e,0xeb,0xbe]
+0x01,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_lo, s1    ; encoding: [0x01,0x0e,0xec,0xbe]
+0x01,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 tba_hi, s1    ; encoding: [0x01,0x0e,0xed,0xbe]
+0x01,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_lo, s1    ; encoding: [0x01,0x0e,0xee,0xbe]
+0x01,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 tma_hi, s1    ; encoding: [0x01,0x0e,0xef,0xbe]
+0x01,0x0e,0xef,0xbe
 
-# CHECK: s_ff0_i32_b32 ttmp11, s0    ; encoding: [0x00,0x0e,0xfb,0xbe]
-0x00,0x0e,0xfb,0xbe
+# CHECK: s_ff0_i32_b32 ttmp11, s1    ; encoding: [0x01,0x0e,0xfb,0xbe]
+0x01,0x0e,0xfb,0xbe
 
-# CHECK: s_ff0_i32_b32 m0, s0    ; encoding: [0x00,0x0e,0xfc,0xbe]
-0x00,0x0e,0xfc,0xbe
+# CHECK: s_ff0_i32_b32 m0, s1    ; encoding: [0x01,0x0e,0xfc,0xbe]
+0x01,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_lo, s1    ; encoding: [0x01,0x0e,0xfe,0xbe]
+0x01,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 exec_hi, s1    ; encoding: [0x01,0x0e,0xff,0xbe]
+0x01,0x0e,0xff,0xbe
 
-# CHECK: s_ff0_i32_b32 s0, s101    ; encoding: [0x65,0x0e,0x80,0xbe]
-0x65,0x0e,0x80,0xbe
+# CHECK: s_ff0_i32_b32 s5, s101    ; encoding: [0x65,0x0e,0x85,0xbe]
+0x65,0x0e,0x85,0xbe
 
-# CHECK: s_ff0_i32_b32 s0, flat_scratch_lo    ; encoding: [0x66,0x0e,0x80,0xbe]
-0x66,0x0e,0x80,0xbe
+# CHECK: s_ff0_i32_b32 s5, flat_scratch_lo    ; encoding: [0x66,0x0e,0x85,0xbe]
+0x66,0x0e,0x85,0xbe
 
-# CHECK: s_ff0_i32_b32 s0, flat_scratch_hi    ; encoding: [0x67,0x0e,0x80,0xbe]
-0x67,0x0e,0x80,0xbe
+# CHECK: s_ff0_i32_b32 s5, flat_scratch_hi    ; encoding: [0x67,0x0e,0x85,0xbe]
+0x67,0x0e,0x85,0xbe
 
-# CHECK: s_ff0_i32_b32 s0, vcc_lo    ; encoding: [0x6a,0x0e,0x80,0xbe]
-0x6a,0x0e,0x80,0xbe
+# CHECK: s_ff0_i32_b32 s5, vcc_lo    ; encoding: [0x6a,0x0e,0x85,0xbe]
+0x6a,0x0e,0x85,0xbe
 
-# CHECK: s_ff0_i32_b32 s0, vcc_hi    ; encoding: [0x6b,0x0e,0x80,0xbe]
-0x6b,0x0e,0x80,0xbe
+# CHECK: s_ff0_i32_b32 s5, vcc_hi    ; encoding: [0x6b,0x0e,0x85,0xbe]
+0x6b,0x0e,0x85,0xbe
 
-# CHECK: s_ff0_i32_b32 s0, tba_lo    ; encoding: [0x6c,0x0e,0x80,0xbe]
-0x6c,0x0e,0x80,0xbe
+# CHECK: s_ff0_i32_b32 s5, tba_lo    ; encoding: [0x6c,0x0e,0x85,0xbe]
+0x6c,0x0e,0x85,0xbe
 
-# CHECK: s_ff0_i32_b32 s0, tba_hi    ; encoding: [0x6d,0x0e,0x80,0xbe]
-0x6d,0x0e,0x80,0xbe
+# CHECK: s_ff0_i32_b32 s5, tba_hi    ; encoding: [0x6d,0x0e,0x85,0xbe]
+0x6d,0x0e,0x85,0xbe
 
-# CHECK: s_ff0_i32_b32 s0, tma_lo    ; encoding: [0x6e,0x0e,0x80,0xbe]
-0x6e,0x0e,0x80,0xbe
+# CHECK: s_ff0_i32_b32 s5, tma_lo    ; encoding: [0x6e,0x0e,0x85,0xbe]
+0x6e,0x0e,0x85,0xbe
 
-# CHECK: s_ff0_i32_b32 s0, tma_hi    ; encoding: [0x6f,0x0e,0x80,0xbe]
-0x6f,0x0e,0x80,0xbe
+# CHECK: s_ff0_i32_b32 s5, tma_hi    ; encoding: [0x6f,0x0e,0x85,0xbe]
+0x6f,0x0e,0x85,0xbe
 
-# CHECK: s_ff0_i32_b32 s0, ttmp11    ; encoding: [0x7b,0x0e,0x80,0xbe]
-0x7b,0x0e,0x80,0xbe
+# CHECK: s_ff0_i32_b32 s5, ttmp11    ; encoding: [0x7b,0x0e,0x85,0xbe]
+0x7b,0x0e,0x85,0xbe
 
-# CHECK: s_ff0_i32_b32 s0, m0    ; encoding: [0x7c,0x0e,0x80,0xbe]
-0x7c,0x0e,0x80,0xbe
+# CHECK: s_ff0_i32_b32 s5, m0    ; encoding: [0x7c,0x0e,0x85,0xbe]
+0x7c,0x0e,0x85,0xbe
 
-# CHECK: s_ff0_i32_b32 s0, exec_lo    ; encoding: [0x7e,0x0e,0x80,0xbe]
-0x7e,0x0e,0x80,0xbe
+# CHECK: s_ff0_i32_b32 s5, exec_lo    ; encoding: [0x7e,0x0e,0x85,0xbe]
+0x7e,0x0e,0x85,0xbe
 
-# CHECK: s_ff0_i32_b32 s0, exec_hi    ; encoding: [0x7f,0x0e,0x80,0xbe]
-0x7f,0x0e,0x80,0xbe
+# CHECK: s_ff0_i32_b32 s5, exec_hi    ; encoding: [0x7f,0x0e,0x85,0xbe]
+0x7f,0x0e,0x85,0xbe
 
-# CHECK: s_ff0_i32_b32 s0, 0    ; encoding: [0x80,0x0e,0x80,0xbe]
-0x80,0x0e,0x80,0xbe
+# CHECK: s_ff0_i32_b32 s5, 0    ; encoding: [0x80,0x0e,0x85,0xbe]
+0x80,0x0e,0x85,0xbe
 
-# CHECK: s_ff0_i32_b32 s0, -1    ; encoding: [0xc1,0x0e,0x80,0xbe]
-0xc1,0x0e,0x80,0xbe
+# CHECK: s_ff0_i32_b32 s5, -1    ; encoding: [0xc1,0x0e,0x85,0xbe]
+0xc1,0x0e,0x85,0xbe
 
-# CHECK: s_ff0_i32_b32 s0, 0.5    ; encoding: [0xf0,0x0e,0x80,0xbe]
-0xf0,0x0e,0x80,0xbe
+# CHECK: s_ff0_i32_b32 s5, 0.5    ; encoding: [0xf0,0x0e,0x85,0xbe]
+0xf0,0x0e,0x85,0xbe
 
-# CHECK: s_ff0_i32_b32 s0, -4.0    ; encoding: [0xf7,0x0e,0x80,0xbe]
-0xf7,0x0e,0x80,0xbe
+# CHECK: s_ff0_i32_b32 s5, -4.0    ; encoding: [0xf7,0x0e,0x85,0xbe]
+0xf7,0x0e,0x85,0xbe
 
-# CHECK: s_ff0_i32_b32 s0, scc    ; encoding: [0xfd,0x0e,0x80,0xbe]
-0xfd,0x0e,0x80,0xbe
+# CHECK: s_ff0_i32_b32 s5, scc    ; encoding: [0xfd,0x0e,0x85,0xbe]
+0xfd,0x0e,0x85,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 s5, 0xaf123456    ; encoding: [0xff,0x0e,0x85,0xbe,0x56,0x34,0x12,0xaf]
+0xff,0x0e,0x85,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_b32 s5, 0x3f717273    ; encoding: [0xff,0x0e,0x85,0xbe,0x73,0x72,0x71,0x3f]
+0xff,0x0e,0x85,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 s5, s[2:3]    ; encoding: [0x02,0x0f,0x85,0xbe]
+0x02,0x0f,0x85,0xbe
 
-# CHECK: s_ff0_i32_b64 s101, s[0:1]    ; encoding: [0x00,0x0f,0xe5,0xbe]
-0x00,0x0f,0xe5,0xbe
+# CHECK: s_ff0_i32_b64 s101, s[2:3]    ; encoding: [0x02,0x0f,0xe5,0xbe]
+0x02,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_lo, s[2:3]    ; encoding: [0x02,0x0f,0xe6,0xbe]
+0x02,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 flat_scratch_hi, s[2:3]    ; encoding: [0x02,0x0f,0xe7,0xbe]
+0x02,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_lo, s[2:3]    ; encoding: [0x02,0x0f,0xea,0xbe]
+0x02,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 vcc_hi, s[2:3]    ; encoding: [0x02,0x0f,0xeb,0xbe]
+0x02,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_lo, s[2:3]    ; encoding: [0x02,0x0f,0xec,0xbe]
+0x02,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 tba_hi, s[2:3]    ; encoding: [0x02,0x0f,0xed,0xbe]
+0x02,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_lo, s[2:3]    ; encoding: [0x02,0x0f,0xee,0xbe]
+0x02,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 tma_hi, s[2:3]    ; encoding: [0x02,0x0f,0xef,0xbe]
+0x02,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 ttmp11, s[2:3]    ; encoding: [0x02,0x0f,0xfb,0xbe]
+0x02,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 m0, s[2:3]    ; encoding: [0x02,0x0f,0xfc,0xbe]
+0x02,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_lo, s[2:3]    ; encoding: [0x02,0x0f,0xfe,0xbe]
+0x02,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 exec_hi, s[2:3]    ; encoding: [0x02,0x0f,0xff,0xbe]
+0x02,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 s5, s[4:5]    ; encoding: [0x04,0x0f,0x85,0xbe]
+0x04,0x0f,0x85,0xbe
 
-# CHECK: s_ff0_i32_b64 s0, s[100:101]    ; encoding: [0x64,0x0f,0x80,0xbe]
-0x64,0x0f,0x80,0xbe
+# CHECK: s_ff0_i32_b64 s5, s[100:101]    ; encoding: [0x64,0x0f,0x85,0xbe]
+0x64,0x0f,0x85,0xbe
 
-# CHECK: s_ff0_i32_b64 s0, flat_scratch    ; encoding: [0x66,0x0f,0x80,0xbe]
-0x66,0x0f,0x80,0xbe
+# CHECK: s_ff0_i32_b64 s5, flat_scratch    ; encoding: [0x66,0x0f,0x85,0xbe]
+0x66,0x0f,0x85,0xbe
 
-# CHECK: s_ff0_i32_b64 s0, vcc    ; encoding: [0x6a,0x0f,0x80,0xbe]
-0x6a,0x0f,0x80,0xbe
+# CHECK: s_ff0_i32_b64 s5, vcc    ; encoding: [0x6a,0x0f,0x85,0xbe]
+0x6a,0x0f,0x85,0xbe
 
-# CHECK: s_ff0_i32_b64 s0, tba    ; encoding: [0x6c,0x0f,0x80,0xbe]
-0x6c,0x0f,0x80,0xbe
+# CHECK: s_ff0_i32_b64 s5, tba    ; encoding: [0x6c,0x0f,0x85,0xbe]
+0x6c,0x0f,0x85,0xbe
 
-# CHECK: s_ff0_i32_b64 s0, tma    ; encoding: [0x6e,0x0f,0x80,0xbe]
-0x6e,0x0f,0x80,0xbe
+# CHECK: s_ff0_i32_b64 s5, tma    ; encoding: [0x6e,0x0f,0x85,0xbe]
+0x6e,0x0f,0x85,0xbe
 
-# CHECK: s_ff0_i32_b64 s0, ttmp[10:11]    ; encoding: [0x7a,0x0f,0x80,0xbe]
-0x7a,0x0f,0x80,0xbe
+# CHECK: s_ff0_i32_b64 s5, ttmp[10:11]    ; encoding: [0x7a,0x0f,0x85,0xbe]
+0x7a,0x0f,0x85,0xbe
 
-# CHECK: s_ff0_i32_b64 s0, exec    ; encoding: [0x7e,0x0f,0x80,0xbe]
-0x7e,0x0f,0x80,0xbe
+# CHECK: s_ff0_i32_b64 s5, exec    ; encoding: [0x7e,0x0f,0x85,0xbe]
+0x7e,0x0f,0x85,0xbe
 
-# CHECK: s_ff0_i32_b64 s0, 0    ; encoding: [0x80,0x0f,0x80,0xbe]
-0x80,0x0f,0x80,0xbe
+# CHECK: s_ff0_i32_b64 s5, 0    ; encoding: [0x80,0x0f,0x85,0xbe]
+0x80,0x0f,0x85,0xbe
 
-# CHECK: s_ff0_i32_b64 s0, -1    ; encoding: [0xc1,0x0f,0x80,0xbe]
-0xc1,0x0f,0x80,0xbe
+# CHECK: s_ff0_i32_b64 s5, -1    ; encoding: [0xc1,0x0f,0x85,0xbe]
+0xc1,0x0f,0x85,0xbe
 
-# CHECK: s_ff0_i32_b64 s0, 0.5    ; encoding: [0xf0,0x0f,0x80,0xbe]
-0xf0,0x0f,0x80,0xbe
+# CHECK: s_ff0_i32_b64 s5, 0.5    ; encoding: [0xf0,0x0f,0x85,0xbe]
+0xf0,0x0f,0x85,0xbe
 
-# CHECK: s_ff0_i32_b64 s0, -4.0    ; encoding: [0xf7,0x0f,0x80,0xbe]
-0xf7,0x0f,0x80,0xbe
+# CHECK: s_ff0_i32_b64 s5, -4.0    ; encoding: [0xf7,0x0f,0x85,0xbe]
+0xf7,0x0f,0x85,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 s5, 0xaf123456    ; encoding: [0xff,0x0f,0x85,0xbe,0x56,0x34,0x12,0xaf]
+0xff,0x0f,0x85,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_ff0_i32_b64 s5, 0x3f717273    ; encoding: [0xff,0x0f,0x85,0xbe,0x73,0x72,0x71,0x3f]
+0xff,0x0f,0x85,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 s5, s1    ; encoding: [0x01,0x10,0x85,0xbe]
+0x01,0x10,0x85,0xbe
 
-# CHECK: s_ff1_i32_b32 s101, s0    ; encoding: [0x00,0x10,0xe5,0xbe]
-0x00,0x10,0xe5,0xbe
+# CHECK: s_ff1_i32_b32 s101, s1    ; encoding: [0x01,0x10,0xe5,0xbe]
+0x01,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_lo, s1    ; encoding: [0x01,0x10,0xe6,0xbe]
+0x01,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 flat_scratch_hi, s1    ; encoding: [0x01,0x10,0xe7,0xbe]
+0x01,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_lo, s1    ; encoding: [0x01,0x10,0xea,0xbe]
+0x01,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 vcc_hi, s1    ; encoding: [0x01,0x10,0xeb,0xbe]
+0x01,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_lo, s1    ; encoding: [0x01,0x10,0xec,0xbe]
+0x01,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 tba_hi, s1    ; encoding: [0x01,0x10,0xed,0xbe]
+0x01,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_lo, s1    ; encoding: [0x01,0x10,0xee,0xbe]
+0x01,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 tma_hi, s1    ; encoding: [0x01,0x10,0xef,0xbe]
+0x01,0x10,0xef,0xbe
 
-# CHECK: s_ff1_i32_b32 ttmp11, s0    ; encoding: [0x00,0x10,0xfb,0xbe]
-0x00,0x10,0xfb,0xbe
+# CHECK: s_ff1_i32_b32 ttmp11, s1    ; encoding: [0x01,0x10,0xfb,0xbe]
+0x01,0x10,0xfb,0xbe
 
-# CHECK: s_ff1_i32_b32 m0, s0    ; encoding: [0x00,0x10,0xfc,0xbe]
-0x00,0x10,0xfc,0xbe
+# CHECK: s_ff1_i32_b32 m0, s1    ; encoding: [0x01,0x10,0xfc,0xbe]
+0x01,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_lo, s1    ; encoding: [0x01,0x10,0xfe,0xbe]
+0x01,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 exec_hi, s1    ; encoding: [0x01,0x10,0xff,0xbe]
+0x01,0x10,0xff,0xbe
 
-# CHECK: s_ff1_i32_b32 s0, s101    ; encoding: [0x65,0x10,0x80,0xbe]
-0x65,0x10,0x80,0xbe
+# CHECK: s_ff1_i32_b32 s5, s101    ; encoding: [0x65,0x10,0x85,0xbe]
+0x65,0x10,0x85,0xbe
 
-# CHECK: s_ff1_i32_b32 s0, flat_scratch_lo    ; encoding: [0x66,0x10,0x80,0xbe]
-0x66,0x10,0x80,0xbe
+# CHECK: s_ff1_i32_b32 s5, flat_scratch_lo    ; encoding: [0x66,0x10,0x85,0xbe]
+0x66,0x10,0x85,0xbe
 
-# CHECK: s_ff1_i32_b32 s0, flat_scratch_hi    ; encoding: [0x67,0x10,0x80,0xbe]
-0x67,0x10,0x80,0xbe
+# CHECK: s_ff1_i32_b32 s5, flat_scratch_hi    ; encoding: [0x67,0x10,0x85,0xbe]
+0x67,0x10,0x85,0xbe
 
-# CHECK: s_ff1_i32_b32 s0, vcc_lo    ; encoding: [0x6a,0x10,0x80,0xbe]
-0x6a,0x10,0x80,0xbe
+# CHECK: s_ff1_i32_b32 s5, vcc_lo    ; encoding: [0x6a,0x10,0x85,0xbe]
+0x6a,0x10,0x85,0xbe
 
-# CHECK: s_ff1_i32_b32 s0, vcc_hi    ; encoding: [0x6b,0x10,0x80,0xbe]
-0x6b,0x10,0x80,0xbe
+# CHECK: s_ff1_i32_b32 s5, vcc_hi    ; encoding: [0x6b,0x10,0x85,0xbe]
+0x6b,0x10,0x85,0xbe
 
-# CHECK: s_ff1_i32_b32 s0, tba_lo    ; encoding: [0x6c,0x10,0x80,0xbe]
-0x6c,0x10,0x80,0xbe
+# CHECK: s_ff1_i32_b32 s5, tba_lo    ; encoding: [0x6c,0x10,0x85,0xbe]
+0x6c,0x10,0x85,0xbe
 
-# CHECK: s_ff1_i32_b32 s0, tba_hi    ; encoding: [0x6d,0x10,0x80,0xbe]
-0x6d,0x10,0x80,0xbe
+# CHECK: s_ff1_i32_b32 s5, tba_hi    ; encoding: [0x6d,0x10,0x85,0xbe]
+0x6d,0x10,0x85,0xbe
 
-# CHECK: s_ff1_i32_b32 s0, tma_lo    ; encoding: [0x6e,0x10,0x80,0xbe]
-0x6e,0x10,0x80,0xbe
+# CHECK: s_ff1_i32_b32 s5, tma_lo    ; encoding: [0x6e,0x10,0x85,0xbe]
+0x6e,0x10,0x85,0xbe
 
-# CHECK: s_ff1_i32_b32 s0, tma_hi    ; encoding: [0x6f,0x10,0x80,0xbe]
-0x6f,0x10,0x80,0xbe
+# CHECK: s_ff1_i32_b32 s5, tma_hi    ; encoding: [0x6f,0x10,0x85,0xbe]
+0x6f,0x10,0x85,0xbe
 
-# CHECK: s_ff1_i32_b32 s0, ttmp11    ; encoding: [0x7b,0x10,0x80,0xbe]
-0x7b,0x10,0x80,0xbe
+# CHECK: s_ff1_i32_b32 s5, ttmp11    ; encoding: [0x7b,0x10,0x85,0xbe]
+0x7b,0x10,0x85,0xbe
 
-# CHECK: s_ff1_i32_b32 s0, m0    ; encoding: [0x7c,0x10,0x80,0xbe]
-0x7c,0x10,0x80,0xbe
+# CHECK: s_ff1_i32_b32 s5, m0    ; encoding: [0x7c,0x10,0x85,0xbe]
+0x7c,0x10,0x85,0xbe
 
-# CHECK: s_ff1_i32_b32 s0, exec_lo    ; encoding: [0x7e,0x10,0x80,0xbe]
-0x7e,0x10,0x80,0xbe
+# CHECK: s_ff1_i32_b32 s5, exec_lo    ; encoding: [0x7e,0x10,0x85,0xbe]
+0x7e,0x10,0x85,0xbe
 
-# CHECK: s_ff1_i32_b32 s0, exec_hi    ; encoding: [0x7f,0x10,0x80,0xbe]
-0x7f,0x10,0x80,0xbe
+# CHECK: s_ff1_i32_b32 s5, exec_hi    ; encoding: [0x7f,0x10,0x85,0xbe]
+0x7f,0x10,0x85,0xbe
 
-# CHECK: s_ff1_i32_b32 s0, 0    ; encoding: [0x80,0x10,0x80,0xbe]
-0x80,0x10,0x80,0xbe
+# CHECK: s_ff1_i32_b32 s5, 0    ; encoding: [0x80,0x10,0x85,0xbe]
+0x80,0x10,0x85,0xbe
 
-# CHECK: s_ff1_i32_b32 s0, -1    ; encoding: [0xc1,0x10,0x80,0xbe]
-0xc1,0x10,0x80,0xbe
+# CHECK: s_ff1_i32_b32 s5, -1    ; encoding: [0xc1,0x10,0x85,0xbe]
+0xc1,0x10,0x85,0xbe
 
-# CHECK: s_ff1_i32_b32 s0, 0.5    ; encoding: [0xf0,0x10,0x80,0xbe]
-0xf0,0x10,0x80,0xbe
+# CHECK: s_ff1_i32_b32 s5, 0.5    ; encoding: [0xf0,0x10,0x85,0xbe]
+0xf0,0x10,0x85,0xbe
 
-# CHECK: s_ff1_i32_b32 s0, -4.0    ; encoding: [0xf7,0x10,0x80,0xbe]
-0xf7,0x10,0x80,0xbe
+# CHECK: s_ff1_i32_b32 s5, -4.0    ; encoding: [0xf7,0x10,0x85,0xbe]
+0xf7,0x10,0x85,0xbe
 
-# CHECK: s_ff1_i32_b32 s0, scc    ; encoding: [0xfd,0x10,0x80,0xbe]
-0xfd,0x10,0x80,0xbe
+# CHECK: s_ff1_i32_b32 s5, scc    ; encoding: [0xfd,0x10,0x85,0xbe]
+0xfd,0x10,0x85,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 s5, 0xaf123456    ; encoding: [0xff,0x10,0x85,0xbe,0x56,0x34,0x12,0xaf]
+0xff,0x10,0x85,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_b32 s5, 0x3f717273    ; encoding: [0xff,0x10,0x85,0xbe,0x73,0x72,0x71,0x3f]
+0xff,0x10,0x85,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 s5, s[2:3]    ; encoding: [0x02,0x11,0x85,0xbe]
+0x02,0x11,0x85,0xbe
 
-# CHECK: s_ff1_i32_b64 s101, s[0:1]    ; encoding: [0x00,0x11,0xe5,0xbe]
-0x00,0x11,0xe5,0xbe
+# CHECK: s_ff1_i32_b64 s101, s[2:3]    ; encoding: [0x02,0x11,0xe5,0xbe]
+0x02,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_lo, s[2:3]    ; encoding: [0x02,0x11,0xe6,0xbe]
+0x02,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 flat_scratch_hi, s[2:3]    ; encoding: [0x02,0x11,0xe7,0xbe]
+0x02,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_lo, s[2:3]    ; encoding: [0x02,0x11,0xea,0xbe]
+0x02,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 vcc_hi, s[2:3]    ; encoding: [0x02,0x11,0xeb,0xbe]
+0x02,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_lo, s[2:3]    ; encoding: [0x02,0x11,0xec,0xbe]
+0x02,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 tba_hi, s[2:3]    ; encoding: [0x02,0x11,0xed,0xbe]
+0x02,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_lo, s[2:3]    ; encoding: [0x02,0x11,0xee,0xbe]
+0x02,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 tma_hi, s[2:3]    ; encoding: [0x02,0x11,0xef,0xbe]
+0x02,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 ttmp11, s[2:3]    ; encoding: [0x02,0x11,0xfb,0xbe]
+0x02,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 m0, s[2:3]    ; encoding: [0x02,0x11,0xfc,0xbe]
+0x02,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_lo, s[2:3]    ; encoding: [0x02,0x11,0xfe,0xbe]
+0x02,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 exec_hi, s[2:3]    ; encoding: [0x02,0x11,0xff,0xbe]
+0x02,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 s5, s[4:5]    ; encoding: [0x04,0x11,0x85,0xbe]
+0x04,0x11,0x85,0xbe
 
-# CHECK: s_ff1_i32_b64 s0, s[100:101]    ; encoding: [0x64,0x11,0x80,0xbe]
-0x64,0x11,0x80,0xbe
+# CHECK: s_ff1_i32_b64 s5, s[100:101]    ; encoding: [0x64,0x11,0x85,0xbe]
+0x64,0x11,0x85,0xbe
 
-# CHECK: s_ff1_i32_b64 s0, flat_scratch    ; encoding: [0x66,0x11,0x80,0xbe]
-0x66,0x11,0x80,0xbe
+# CHECK: s_ff1_i32_b64 s5, flat_scratch    ; encoding: [0x66,0x11,0x85,0xbe]
+0x66,0x11,0x85,0xbe
 
-# CHECK: s_ff1_i32_b64 s0, vcc    ; encoding: [0x6a,0x11,0x80,0xbe]
-0x6a,0x11,0x80,0xbe
+# CHECK: s_ff1_i32_b64 s5, vcc    ; encoding: [0x6a,0x11,0x85,0xbe]
+0x6a,0x11,0x85,0xbe
 
-# CHECK: s_ff1_i32_b64 s0, tba    ; encoding: [0x6c,0x11,0x80,0xbe]
-0x6c,0x11,0x80,0xbe
+# CHECK: s_ff1_i32_b64 s5, tba    ; encoding: [0x6c,0x11,0x85,0xbe]
+0x6c,0x11,0x85,0xbe
 
-# CHECK: s_ff1_i32_b64 s0, tma    ; encoding: [0x6e,0x11,0x80,0xbe]
-0x6e,0x11,0x80,0xbe
+# CHECK: s_ff1_i32_b64 s5, tma    ; encoding: [0x6e,0x11,0x85,0xbe]
+0x6e,0x11,0x85,0xbe
 
-# CHECK: s_ff1_i32_b64 s0, ttmp[10:11]    ; encoding: [0x7a,0x11,0x80,0xbe]
-0x7a,0x11,0x80,0xbe
+# CHECK: s_ff1_i32_b64 s5, ttmp[10:11]    ; encoding: [0x7a,0x11,0x85,0xbe]
+0x7a,0x11,0x85,0xbe
 
-# CHECK: s_ff1_i32_b64 s0, exec    ; encoding: [0x7e,0x11,0x80,0xbe]
-0x7e,0x11,0x80,0xbe
+# CHECK: s_ff1_i32_b64 s5, exec    ; encoding: [0x7e,0x11,0x85,0xbe]
+0x7e,0x11,0x85,0xbe
 
-# CHECK: s_ff1_i32_b64 s0, 0    ; encoding: [0x80,0x11,0x80,0xbe]
-0x80,0x11,0x80,0xbe
+# CHECK: s_ff1_i32_b64 s5, 0    ; encoding: [0x80,0x11,0x85,0xbe]
+0x80,0x11,0x85,0xbe
 
-# CHECK: s_ff1_i32_b64 s0, -1    ; encoding: [0xc1,0x11,0x80,0xbe]
-0xc1,0x11,0x80,0xbe
+# CHECK: s_ff1_i32_b64 s5, -1    ; encoding: [0xc1,0x11,0x85,0xbe]
+0xc1,0x11,0x85,0xbe
 
-# CHECK: s_ff1_i32_b64 s0, 0.5    ; encoding: [0xf0,0x11,0x80,0xbe]
-0xf0,0x11,0x80,0xbe
+# CHECK: s_ff1_i32_b64 s5, 0.5    ; encoding: [0xf0,0x11,0x85,0xbe]
+0xf0,0x11,0x85,0xbe
 
-# CHECK: s_ff1_i32_b64 s0, -4.0    ; encoding: [0xf7,0x11,0x80,0xbe]
-0xf7,0x11,0x80,0xbe
+# CHECK: s_ff1_i32_b64 s5, -4.0    ; encoding: [0xf7,0x11,0x85,0xbe]
+0xf7,0x11,0x85,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 s5, 0xaf123456    ; encoding: [0xff,0x11,0x85,0xbe,0x56,0x34,0x12,0xaf]
+0xff,0x11,0x85,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_ff1_i32_b64 s5, 0x3f717273    ; encoding: [0xff,0x11,0x85,0xbe,0x73,0x72,0x71,0x3f]
+0xff,0x11,0x85,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 s5, s1    ; encoding: [0x01,0x12,0x85,0xbe]
+0x01,0x12,0x85,0xbe
 
-# CHECK: s_flbit_i32_b32 s101, s0    ; encoding: [0x00,0x12,0xe5,0xbe]
-0x00,0x12,0xe5,0xbe
+# CHECK: s_flbit_i32_b32 s101, s1    ; encoding: [0x01,0x12,0xe5,0xbe]
+0x01,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_lo, s1    ; encoding: [0x01,0x12,0xe6,0xbe]
+0x01,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 flat_scratch_hi, s1    ; encoding: [0x01,0x12,0xe7,0xbe]
+0x01,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_lo, s1    ; encoding: [0x01,0x12,0xea,0xbe]
+0x01,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 vcc_hi, s1    ; encoding: [0x01,0x12,0xeb,0xbe]
+0x01,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_lo, s1    ; encoding: [0x01,0x12,0xec,0xbe]
+0x01,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 tba_hi, s1    ; encoding: [0x01,0x12,0xed,0xbe]
+0x01,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_lo, s1    ; encoding: [0x01,0x12,0xee,0xbe]
+0x01,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 tma_hi, s1    ; encoding: [0x01,0x12,0xef,0xbe]
+0x01,0x12,0xef,0xbe
 
-# CHECK: s_flbit_i32_b32 ttmp11, s0    ; encoding: [0x00,0x12,0xfb,0xbe]
-0x00,0x12,0xfb,0xbe
+# CHECK: s_flbit_i32_b32 ttmp11, s1    ; encoding: [0x01,0x12,0xfb,0xbe]
+0x01,0x12,0xfb,0xbe
 
-# CHECK: s_flbit_i32_b32 m0, s0    ; encoding: [0x00,0x12,0xfc,0xbe]
-0x00,0x12,0xfc,0xbe
+# CHECK: s_flbit_i32_b32 m0, s1    ; encoding: [0x01,0x12,0xfc,0xbe]
+0x01,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_lo, s1    ; encoding: [0x01,0x12,0xfe,0xbe]
+0x01,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 exec_hi, s1    ; encoding: [0x01,0x12,0xff,0xbe]
+0x01,0x12,0xff,0xbe
 
-# CHECK: s_flbit_i32_b32 s0, s101    ; encoding: [0x65,0x12,0x80,0xbe]
-0x65,0x12,0x80,0xbe
+# CHECK: s_flbit_i32_b32 s5, s101    ; encoding: [0x65,0x12,0x85,0xbe]
+0x65,0x12,0x85,0xbe
 
-# CHECK: s_flbit_i32_b32 s0, flat_scratch_lo    ; encoding: [0x66,0x12,0x80,0xbe]
-0x66,0x12,0x80,0xbe
+# CHECK: s_flbit_i32_b32 s5, flat_scratch_lo    ; encoding: [0x66,0x12,0x85,0xbe]
+0x66,0x12,0x85,0xbe
 
-# CHECK: s_flbit_i32_b32 s0, flat_scratch_hi    ; encoding: [0x67,0x12,0x80,0xbe]
-0x67,0x12,0x80,0xbe
+# CHECK: s_flbit_i32_b32 s5, flat_scratch_hi    ; encoding: [0x67,0x12,0x85,0xbe]
+0x67,0x12,0x85,0xbe
 
-# CHECK: s_flbit_i32_b32 s0, vcc_lo    ; encoding: [0x6a,0x12,0x80,0xbe]
-0x6a,0x12,0x80,0xbe
+# CHECK: s_flbit_i32_b32 s5, vcc_lo    ; encoding: [0x6a,0x12,0x85,0xbe]
+0x6a,0x12,0x85,0xbe
 
-# CHECK: s_flbit_i32_b32 s0, vcc_hi    ; encoding: [0x6b,0x12,0x80,0xbe]
-0x6b,0x12,0x80,0xbe
+# CHECK: s_flbit_i32_b32 s5, vcc_hi    ; encoding: [0x6b,0x12,0x85,0xbe]
+0x6b,0x12,0x85,0xbe
 
-# CHECK: s_flbit_i32_b32 s0, tba_lo    ; encoding: [0x6c,0x12,0x80,0xbe]
-0x6c,0x12,0x80,0xbe
+# CHECK: s_flbit_i32_b32 s5, tba_lo    ; encoding: [0x6c,0x12,0x85,0xbe]
+0x6c,0x12,0x85,0xbe
 
-# CHECK: s_flbit_i32_b32 s0, tba_hi    ; encoding: [0x6d,0x12,0x80,0xbe]
-0x6d,0x12,0x80,0xbe
+# CHECK: s_flbit_i32_b32 s5, tba_hi    ; encoding: [0x6d,0x12,0x85,0xbe]
+0x6d,0x12,0x85,0xbe
 
-# CHECK: s_flbit_i32_b32 s0, tma_lo    ; encoding: [0x6e,0x12,0x80,0xbe]
-0x6e,0x12,0x80,0xbe
+# CHECK: s_flbit_i32_b32 s5, tma_lo    ; encoding: [0x6e,0x12,0x85,0xbe]
+0x6e,0x12,0x85,0xbe
 
-# CHECK: s_flbit_i32_b32 s0, tma_hi    ; encoding: [0x6f,0x12,0x80,0xbe]
-0x6f,0x12,0x80,0xbe
+# CHECK: s_flbit_i32_b32 s5, tma_hi    ; encoding: [0x6f,0x12,0x85,0xbe]
+0x6f,0x12,0x85,0xbe
 
-# CHECK: s_flbit_i32_b32 s0, ttmp11    ; encoding: [0x7b,0x12,0x80,0xbe]
-0x7b,0x12,0x80,0xbe
+# CHECK: s_flbit_i32_b32 s5, ttmp11    ; encoding: [0x7b,0x12,0x85,0xbe]
+0x7b,0x12,0x85,0xbe
 
-# CHECK: s_flbit_i32_b32 s0, m0    ; encoding: [0x7c,0x12,0x80,0xbe]
-0x7c,0x12,0x80,0xbe
+# CHECK: s_flbit_i32_b32 s5, m0    ; encoding: [0x7c,0x12,0x85,0xbe]
+0x7c,0x12,0x85,0xbe
 
-# CHECK: s_flbit_i32_b32 s0, exec_lo    ; encoding: [0x7e,0x12,0x80,0xbe]
-0x7e,0x12,0x80,0xbe
+# CHECK: s_flbit_i32_b32 s5, exec_lo    ; encoding: [0x7e,0x12,0x85,0xbe]
+0x7e,0x12,0x85,0xbe
 
-# CHECK: s_flbit_i32_b32 s0, exec_hi    ; encoding: [0x7f,0x12,0x80,0xbe]
-0x7f,0x12,0x80,0xbe
+# CHECK: s_flbit_i32_b32 s5, exec_hi    ; encoding: [0x7f,0x12,0x85,0xbe]
+0x7f,0x12,0x85,0xbe
 
-# CHECK: s_flbit_i32_b32 s0, 0    ; encoding: [0x80,0x12,0x80,0xbe]
-0x80,0x12,0x80,0xbe
+# CHECK: s_flbit_i32_b32 s5, 0    ; encoding: [0x80,0x12,0x85,0xbe]
+0x80,0x12,0x85,0xbe
 
-# CHECK: s_flbit_i32_b32 s0, -1    ; encoding: [0xc1,0x12,0x80,0xbe]
-0xc1,0x12,0x80,0xbe
+# CHECK: s_flbit_i32_b32 s5, -1    ; encoding: [0xc1,0x12,0x85,0xbe]
+0xc1,0x12,0x85,0xbe
 
-# CHECK: s_flbit_i32_b32 s0, 0.5    ; encoding: [0xf0,0x12,0x80,0xbe]
-0xf0,0x12,0x80,0xbe
+# CHECK: s_flbit_i32_b32 s5, 0.5    ; encoding: [0xf0,0x12,0x85,0xbe]
+0xf0,0x12,0x85,0xbe
 
-# CHECK: s_flbit_i32_b32 s0, -4.0    ; encoding: [0xf7,0x12,0x80,0xbe]
-0xf7,0x12,0x80,0xbe
+# CHECK: s_flbit_i32_b32 s5, -4.0    ; encoding: [0xf7,0x12,0x85,0xbe]
+0xf7,0x12,0x85,0xbe
 
-# CHECK: s_flbit_i32_b32 s0, scc    ; encoding: [0xfd,0x12,0x80,0xbe]
-0xfd,0x12,0x80,0xbe
+# CHECK: s_flbit_i32_b32 s5, scc    ; encoding: [0xfd,0x12,0x85,0xbe]
+0xfd,0x12,0x85,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 s5, 0xaf123456    ; encoding: [0xff,0x12,0x85,0xbe,0x56,0x34,0x12,0xaf]
+0xff,0x12,0x85,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_b32 s5, 0x3f717273    ; encoding: [0xff,0x12,0x85,0xbe,0x73,0x72,0x71,0x3f]
+0xff,0x12,0x85,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 s5, s[2:3]    ; encoding: [0x02,0x13,0x85,0xbe]
+0x02,0x13,0x85,0xbe
 
-# CHECK: s_flbit_i32_b64 s101, s[0:1]    ; encoding: [0x00,0x13,0xe5,0xbe]
-0x00,0x13,0xe5,0xbe
+# CHECK: s_flbit_i32_b64 s101, s[2:3]    ; encoding: [0x02,0x13,0xe5,0xbe]
+0x02,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_lo, s[2:3]    ; encoding: [0x02,0x13,0xe6,0xbe]
+0x02,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 flat_scratch_hi, s[2:3]    ; encoding: [0x02,0x13,0xe7,0xbe]
+0x02,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_lo, s[2:3]    ; encoding: [0x02,0x13,0xea,0xbe]
+0x02,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 vcc_hi, s[2:3]    ; encoding: [0x02,0x13,0xeb,0xbe]
+0x02,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_lo, s[2:3]    ; encoding: [0x02,0x13,0xec,0xbe]
+0x02,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 tba_hi, s[2:3]    ; encoding: [0x02,0x13,0xed,0xbe]
+0x02,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_lo, s[2:3]    ; encoding: [0x02,0x13,0xee,0xbe]
+0x02,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 tma_hi, s[2:3]    ; encoding: [0x02,0x13,0xef,0xbe]
+0x02,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 ttmp11, s[2:3]    ; encoding: [0x02,0x13,0xfb,0xbe]
+0x02,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 m0, s[2:3]    ; encoding: [0x02,0x13,0xfc,0xbe]
+0x02,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_lo, s[2:3]    ; encoding: [0x02,0x13,0xfe,0xbe]
+0x02,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 exec_hi, s[2:3]    ; encoding: [0x02,0x13,0xff,0xbe]
+0x02,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 s5, s[4:5]    ; encoding: [0x04,0x13,0x85,0xbe]
+0x04,0x13,0x85,0xbe
 
-# CHECK: s_flbit_i32_b64 s0, s[100:101]    ; encoding: [0x64,0x13,0x80,0xbe]
-0x64,0x13,0x80,0xbe
+# CHECK: s_flbit_i32_b64 s5, s[100:101]    ; encoding: [0x64,0x13,0x85,0xbe]
+0x64,0x13,0x85,0xbe
 
-# CHECK: s_flbit_i32_b64 s0, flat_scratch    ; encoding: [0x66,0x13,0x80,0xbe]
-0x66,0x13,0x80,0xbe
+# CHECK: s_flbit_i32_b64 s5, flat_scratch    ; encoding: [0x66,0x13,0x85,0xbe]
+0x66,0x13,0x85,0xbe
 
-# CHECK: s_flbit_i32_b64 s0, vcc    ; encoding: [0x6a,0x13,0x80,0xbe]
-0x6a,0x13,0x80,0xbe
+# CHECK: s_flbit_i32_b64 s5, vcc    ; encoding: [0x6a,0x13,0x85,0xbe]
+0x6a,0x13,0x85,0xbe
 
-# CHECK: s_flbit_i32_b64 s0, tba    ; encoding: [0x6c,0x13,0x80,0xbe]
-0x6c,0x13,0x80,0xbe
+# CHECK: s_flbit_i32_b64 s5, tba    ; encoding: [0x6c,0x13,0x85,0xbe]
+0x6c,0x13,0x85,0xbe
 
-# CHECK: s_flbit_i32_b64 s0, tma    ; encoding: [0x6e,0x13,0x80,0xbe]
-0x6e,0x13,0x80,0xbe
+# CHECK: s_flbit_i32_b64 s5, tma    ; encoding: [0x6e,0x13,0x85,0xbe]
+0x6e,0x13,0x85,0xbe
 
-# CHECK: s_flbit_i32_b64 s0, ttmp[10:11]    ; encoding: [0x7a,0x13,0x80,0xbe]
-0x7a,0x13,0x80,0xbe
+# CHECK: s_flbit_i32_b64 s5, ttmp[10:11]    ; encoding: [0x7a,0x13,0x85,0xbe]
+0x7a,0x13,0x85,0xbe
 
-# CHECK: s_flbit_i32_b64 s0, exec    ; encoding: [0x7e,0x13,0x80,0xbe]
-0x7e,0x13,0x80,0xbe
+# CHECK: s_flbit_i32_b64 s5, exec    ; encoding: [0x7e,0x13,0x85,0xbe]
+0x7e,0x13,0x85,0xbe
 
-# CHECK: s_flbit_i32_b64 s0, 0    ; encoding: [0x80,0x13,0x80,0xbe]
-0x80,0x13,0x80,0xbe
+# CHECK: s_flbit_i32_b64 s5, 0    ; encoding: [0x80,0x13,0x85,0xbe]
+0x80,0x13,0x85,0xbe
 
-# CHECK: s_flbit_i32_b64 s0, -1    ; encoding: [0xc1,0x13,0x80,0xbe]
-0xc1,0x13,0x80,0xbe
+# CHECK: s_flbit_i32_b64 s5, -1    ; encoding: [0xc1,0x13,0x85,0xbe]
+0xc1,0x13,0x85,0xbe
 
-# CHECK: s_flbit_i32_b64 s0, 0.5    ; encoding: [0xf0,0x13,0x80,0xbe]
-0xf0,0x13,0x80,0xbe
+# CHECK: s_flbit_i32_b64 s5, 0.5    ; encoding: [0xf0,0x13,0x85,0xbe]
+0xf0,0x13,0x85,0xbe
 
-# CHECK: s_flbit_i32_b64 s0, -4.0    ; encoding: [0xf7,0x13,0x80,0xbe]
-0xf7,0x13,0x80,0xbe
+# CHECK: s_flbit_i32_b64 s5, -4.0    ; encoding: [0xf7,0x13,0x85,0xbe]
+0xf7,0x13,0x85,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 s5, 0xaf123456    ; encoding: [0xff,0x13,0x85,0xbe,0x56,0x34,0x12,0xaf]
+0xff,0x13,0x85,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_b64 s5, 0x3f717273    ; encoding: [0xff,0x13,0x85,0xbe,0x73,0x72,0x71,0x3f]
+0xff,0x13,0x85,0xbe,0x73,0x72,0x71,0x3f
 
-# CHECK: s_flbit_i32 s0, s0    ; encoding: [0x00,0x14,0x80,0xbe]
-0x00,0x14,0x80,0xbe
+# CHECK: s_flbit_i32 s5, s1    ; encoding: [0x01,0x14,0x85,0xbe]
+0x01,0x14,0x85,0xbe
 
-# CHECK: s_flbit_i32 s101, s0    ; encoding: [0x00,0x14,0xe5,0xbe]
-0x00,0x14,0xe5,0xbe
+# CHECK: s_flbit_i32 s101, s1    ; encoding: [0x01,0x14,0xe5,0xbe]
+0x01,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_lo, s1    ; encoding: [0x01,0x14,0xe6,0xbe]
+0x01,0x14,0xe6,0xbe
 
-# CHECK: s_flbit_i32 flat_scratch_hi, s0    ; encoding: [0x00,0x14,0xe7,0xbe]
-0x00,0x14,0xe7,0xbe
+# CHECK: s_flbit_i32 flat_scratch_hi, s1    ; encoding: [0x01,0x14,0xe7,0xbe]
+0x01,0x14,0xe7,0xbe
 
-# CHECK: s_flbit_i32 vcc_lo, s0    ; encoding: [0x00,0x14,0xea,0xbe]
-0x00,0x14,0xea,0xbe
+# CHECK: s_flbit_i32 vcc_lo, s1    ; encoding: [0x01,0x14,0xea,0xbe]
+0x01,0x14,0xea,0xbe
 
-# CHECK: s_flbit_i32 vcc_hi, s0    ; encoding: [0x00,0x14,0xeb,0xbe]
-0x00,0x14,0xeb,0xbe
+# CHECK: s_flbit_i32 vcc_hi, s1    ; encoding: [0x01,0x14,0xeb,0xbe]
+0x01,0x14,0xeb,0xbe
 
-# CHECK: s_flbit_i32 tba_lo, s0    ; encoding: [0x00,0x14,0xec,0xbe]
-0x00,0x14,0xec,0xbe
+# CHECK: s_flbit_i32 tba_lo, s1    ; encoding: [0x01,0x14,0xec,0xbe]
+0x01,0x14,0xec,0xbe
 
-# CHECK: s_flbit_i32 tba_hi, s0    ; encoding: [0x00,0x14,0xed,0xbe]
-0x00,0x14,0xed,0xbe
+# CHECK: s_flbit_i32 tba_hi, s1    ; encoding: [0x01,0x14,0xed,0xbe]
+0x01,0x14,0xed,0xbe
 
-# CHECK: s_flbit_i32 tma_lo, s0    ; encoding: [0x00,0x14,0xee,0xbe]
-0x00,0x14,0xee,0xbe
+# CHECK: s_flbit_i32 tma_lo, s1    ; encoding: [0x01,0x14,0xee,0xbe]
+0x01,0x14,0xee,0xbe
 
-# CHECK: s_flbit_i32 tma_hi, s0    ; encoding: [0x00,0x14,0xef,0xbe]
-0x00,0x14,0xef,0xbe
+# CHECK: s_flbit_i32 tma_hi, s1    ; encoding: [0x01,0x14,0xef,0xbe]
+0x01,0x14,0xef,0xbe
 
-# CHECK: s_flbit_i32 ttmp11, s0    ; encoding: [0x00,0x14,0xfb,0xbe]
-0x00,0x14,0xfb,0xbe
+# CHECK: s_flbit_i32 ttmp11, s1    ; encoding: [0x01,0x14,0xfb,0xbe]
+0x01,0x14,0xfb,0xbe
 
-# CHECK: s_flbit_i32 m0, s0    ; encoding: [0x00,0x14,0xfc,0xbe]
-0x00,0x14,0xfc,0xbe
+# CHECK: s_flbit_i32 m0, s1    ; encoding: [0x01,0x14,0xfc,0xbe]
+0x01,0x14,0xfc,0xbe
 
-# CHECK: s_flbit_i32 exec_lo, s0    ; encoding: [0x00,0x14,0xfe,0xbe]
-0x00,0x14,0xfe,0xbe
+# CHECK: s_flbit_i32 exec_lo, s1    ; encoding: [0x01,0x14,0xfe,0xbe]
+0x01,0x14,0xfe,0xbe
 
-# CHECK: s_flbit_i32 exec_hi, s0    ; encoding: [0x00,0x14,0xff,0xbe]
-0x00,0x14,0xff,0xbe
+# CHECK: s_flbit_i32 exec_hi, s1    ; encoding: [0x01,0x14,0xff,0xbe]
+0x01,0x14,0xff,0xbe
 
-# CHECK: s_flbit_i32 s0, s101    ; encoding: [0x65,0x14,0x80,0xbe]
-0x65,0x14,0x80,0xbe
+# CHECK: s_flbit_i32 s5, s101    ; encoding: [0x65,0x14,0x85,0xbe]
+0x65,0x14,0x85,0xbe
 
-# CHECK: s_flbit_i32 s0, flat_scratch_lo    ; encoding: [0x66,0x14,0x80,0xbe]
-0x66,0x14,0x80,0xbe
+# CHECK: s_flbit_i32 s5, flat_scratch_lo    ; encoding: [0x66,0x14,0x85,0xbe]
+0x66,0x14,0x85,0xbe
 
-# CHECK: s_flbit_i32 s0, flat_scratch_hi    ; encoding: [0x67,0x14,0x80,0xbe]
-0x67,0x14,0x80,0xbe
+# CHECK: s_flbit_i32 s5, flat_scratch_hi    ; encoding: [0x67,0x14,0x85,0xbe]
+0x67,0x14,0x85,0xbe
 
-# CHECK: s_flbit_i32 s0, vcc_lo    ; encoding: [0x6a,0x14,0x80,0xbe]
-0x6a,0x14,0x80,0xbe
+# CHECK: s_flbit_i32 s5, vcc_lo    ; encoding: [0x6a,0x14,0x85,0xbe]
+0x6a,0x14,0x85,0xbe
 
-# CHECK: s_flbit_i32 s0, vcc_hi    ; encoding: [0x6b,0x14,0x80,0xbe]
-0x6b,0x14,0x80,0xbe
+# CHECK: s_flbit_i32 s5, vcc_hi    ; encoding: [0x6b,0x14,0x85,0xbe]
+0x6b,0x14,0x85,0xbe
 
-# CHECK: s_flbit_i32 s0, tba_lo    ; encoding: [0x6c,0x14,0x80,0xbe]
-0x6c,0x14,0x80,0xbe
+# CHECK: s_flbit_i32 s5, tba_lo    ; encoding: [0x6c,0x14,0x85,0xbe]
+0x6c,0x14,0x85,0xbe
 
-# CHECK: s_flbit_i32 s0, tba_hi    ; encoding: [0x6d,0x14,0x80,0xbe]
-0x6d,0x14,0x80,0xbe
+# CHECK: s_flbit_i32 s5, tba_hi    ; encoding: [0x6d,0x14,0x85,0xbe]
+0x6d,0x14,0x85,0xbe
 
-# CHECK: s_flbit_i32 s0, tma_lo    ; encoding: [0x6e,0x14,0x80,0xbe]
-0x6e,0x14,0x80,0xbe
+# CHECK: s_flbit_i32 s5, tma_lo    ; encoding: [0x6e,0x14,0x85,0xbe]
+0x6e,0x14,0x85,0xbe
 
-# CHECK: s_flbit_i32 s0, tma_hi    ; encoding: [0x6f,0x14,0x80,0xbe]
-0x6f,0x14,0x80,0xbe
+# CHECK: s_flbit_i32 s5, tma_hi    ; encoding: [0x6f,0x14,0x85,0xbe]
+0x6f,0x14,0x85,0xbe
 
-# CHECK: s_flbit_i32 s0, ttmp11    ; encoding: [0x7b,0x14,0x80,0xbe]
-0x7b,0x14,0x80,0xbe
+# CHECK: s_flbit_i32 s5, ttmp11    ; encoding: [0x7b,0x14,0x85,0xbe]
+0x7b,0x14,0x85,0xbe
 
-# CHECK: s_flbit_i32 s0, m0    ; encoding: [0x7c,0x14,0x80,0xbe]
-0x7c,0x14,0x80,0xbe
+# CHECK: s_flbit_i32 s5, m0    ; encoding: [0x7c,0x14,0x85,0xbe]
+0x7c,0x14,0x85,0xbe
 
-# CHECK: s_flbit_i32 s0, exec_lo    ; encoding: [0x7e,0x14,0x80,0xbe]
-0x7e,0x14,0x80,0xbe
+# CHECK: s_flbit_i32 s5, exec_lo    ; encoding: [0x7e,0x14,0x85,0xbe]
+0x7e,0x14,0x85,0xbe
 
-# CHECK: s_flbit_i32 s0, exec_hi    ; encoding: [0x7f,0x14,0x80,0xbe]
-0x7f,0x14,0x80,0xbe
+# CHECK: s_flbit_i32 s5, exec_hi    ; encoding: [0x7f,0x14,0x85,0xbe]
+0x7f,0x14,0x85,0xbe
 
-# CHECK: s_flbit_i32 s0, 0    ; encoding: [0x80,0x14,0x80,0xbe]
-0x80,0x14,0x80,0xbe
+# CHECK: s_flbit_i32 s5, 0    ; encoding: [0x80,0x14,0x85,0xbe]
+0x80,0x14,0x85,0xbe
 
-# CHECK: s_flbit_i32 s0, -1    ; encoding: [0xc1,0x14,0x80,0xbe]
-0xc1,0x14,0x80,0xbe
+# CHECK: s_flbit_i32 s5, -1    ; encoding: [0xc1,0x14,0x85,0xbe]
+0xc1,0x14,0x85,0xbe
 
-# CHECK: s_flbit_i32 s0, 0.5    ; encoding: [0xf0,0x14,0x80,0xbe]
-0xf0,0x14,0x80,0xbe
+# CHECK: s_flbit_i32 s5, 0.5    ; encoding: [0xf0,0x14,0x85,0xbe]
+0xf0,0x14,0x85,0xbe
 
-# CHECK: s_flbit_i32 s0, -4.0    ; encoding: [0xf7,0x14,0x80,0xbe]
-0xf7,0x14,0x80,0xbe
+# CHECK: s_flbit_i32 s5, -4.0    ; encoding: [0xf7,0x14,0x85,0xbe]
+0xf7,0x14,0x85,0xbe
 
-# CHECK: s_flbit_i32 s0, scc    ; encoding: [0xfd,0x14,0x80,0xbe]
-0xfd,0x14,0x80,0xbe
+# CHECK: s_flbit_i32 s5, scc    ; encoding: [0xfd,0x14,0x85,0xbe]
+0xfd,0x14,0x85,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 s5, 0xaf123456    ; encoding: [0xff,0x14,0x85,0xbe,0x56,0x34,0x12,0xaf]
+0xff,0x14,0x85,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 s5, 0x3f717273    ; encoding: [0xff,0x14,0x85,0xbe,0x73,0x72,0x71,0x3f]
+0xff,0x14,0x85,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 s5, s[2:3]    ; encoding: [0x02,0x15,0x85,0xbe]
+0x02,0x15,0x85,0xbe
 
-# CHECK: s_flbit_i32_i64 s101, s[0:1]    ; encoding: [0x00,0x15,0xe5,0xbe]
-0x00,0x15,0xe5,0xbe
+# CHECK: s_flbit_i32_i64 s101, s[2:3]    ; encoding: [0x02,0x15,0xe5,0xbe]
+0x02,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_lo, s[2:3]    ; encoding: [0x02,0x15,0xe6,0xbe]
+0x02,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 flat_scratch_hi, s[2:3]    ; encoding: [0x02,0x15,0xe7,0xbe]
+0x02,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_lo, s[2:3]    ; encoding: [0x02,0x15,0xea,0xbe]
+0x02,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 vcc_hi, s[2:3]    ; encoding: [0x02,0x15,0xeb,0xbe]
+0x02,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_lo, s[2:3]    ; encoding: [0x02,0x15,0xec,0xbe]
+0x02,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 tba_hi, s[2:3]    ; encoding: [0x02,0x15,0xed,0xbe]
+0x02,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_lo, s[2:3]    ; encoding: [0x02,0x15,0xee,0xbe]
+0x02,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 tma_hi, s[2:3]    ; encoding: [0x02,0x15,0xef,0xbe]
+0x02,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 ttmp11, s[2:3]    ; encoding: [0x02,0x15,0xfb,0xbe]
+0x02,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 m0, s[2:3]    ; encoding: [0x02,0x15,0xfc,0xbe]
+0x02,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_lo, s[2:3]    ; encoding: [0x02,0x15,0xfe,0xbe]
+0x02,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 exec_hi, s[2:3]    ; encoding: [0x02,0x15,0xff,0xbe]
+0x02,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 s5, s[4:5]    ; encoding: [0x04,0x15,0x85,0xbe]
+0x04,0x15,0x85,0xbe
 
-# CHECK: s_flbit_i32_i64 s0, s[100:101]    ; encoding: [0x64,0x15,0x80,0xbe]
-0x64,0x15,0x80,0xbe
+# CHECK: s_flbit_i32_i64 s5, s[100:101]    ; encoding: [0x64,0x15,0x85,0xbe]
+0x64,0x15,0x85,0xbe
 
-# CHECK: s_flbit_i32_i64 s0, flat_scratch    ; encoding: [0x66,0x15,0x80,0xbe]
-0x66,0x15,0x80,0xbe
+# CHECK: s_flbit_i32_i64 s5, flat_scratch    ; encoding: [0x66,0x15,0x85,0xbe]
+0x66,0x15,0x85,0xbe
 
-# CHECK: s_flbit_i32_i64 s0, vcc    ; encoding: [0x6a,0x15,0x80,0xbe]
-0x6a,0x15,0x80,0xbe
+# CHECK: s_flbit_i32_i64 s5, vcc    ; encoding: [0x6a,0x15,0x85,0xbe]
+0x6a,0x15,0x85,0xbe
 
-# CHECK: s_flbit_i32_i64 s0, tba    ; encoding: [0x6c,0x15,0x80,0xbe]
-0x6c,0x15,0x80,0xbe
+# CHECK: s_flbit_i32_i64 s5, tba    ; encoding: [0x6c,0x15,0x85,0xbe]
+0x6c,0x15,0x85,0xbe
 
-# CHECK: s_flbit_i32_i64 s0, tma    ; encoding: [0x6e,0x15,0x80,0xbe]
-0x6e,0x15,0x80,0xbe
+# CHECK: s_flbit_i32_i64 s5, tma    ; encoding: [0x6e,0x15,0x85,0xbe]
+0x6e,0x15,0x85,0xbe
 
-# CHECK: s_flbit_i32_i64 s0, ttmp[10:11]    ; encoding: [0x7a,0x15,0x80,0xbe]
-0x7a,0x15,0x80,0xbe
+# CHECK: s_flbit_i32_i64 s5, ttmp[10:11]    ; encoding: [0x7a,0x15,0x85,0xbe]
+0x7a,0x15,0x85,0xbe
 
-# CHECK: s_flbit_i32_i64 s0, exec    ; encoding: [0x7e,0x15,0x80,0xbe]
-0x7e,0x15,0x80,0xbe
+# CHECK: s_flbit_i32_i64 s5, exec    ; encoding: [0x7e,0x15,0x85,0xbe]
+0x7e,0x15,0x85,0xbe
 
-# CHECK: s_flbit_i32_i64 s0, 0    ; encoding: [0x80,0x15,0x80,0xbe]
-0x80,0x15,0x80,0xbe
+# CHECK: s_flbit_i32_i64 s5, 0    ; encoding: [0x80,0x15,0x85,0xbe]
+0x80,0x15,0x85,0xbe
 
-# CHECK: s_flbit_i32_i64 s0, -1    ; encoding: [0xc1,0x15,0x80,0xbe]
-0xc1,0x15,0x80,0xbe
+# CHECK: s_flbit_i32_i64 s5, -1    ; encoding: [0xc1,0x15,0x85,0xbe]
+0xc1,0x15,0x85,0xbe
 
-# CHECK: s_flbit_i32_i64 s0, 0.5    ; encoding: [0xf0,0x15,0x80,0xbe]
-0xf0,0x15,0x80,0xbe
+# CHECK: s_flbit_i32_i64 s5, 0.5    ; encoding: [0xf0,0x15,0x85,0xbe]
+0xf0,0x15,0x85,0xbe
 
-# CHECK: s_flbit_i32_i64 s0, -4.0    ; encoding: [0xf7,0x15,0x80,0xbe]
-0xf7,0x15,0x80,0xbe
+# CHECK: s_flbit_i32_i64 s5, -4.0    ; encoding: [0xf7,0x15,0x85,0xbe]
+0xf7,0x15,0x85,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 s5, 0xaf123456    ; encoding: [0xff,0x15,0x85,0xbe,0x56,0x34,0x12,0xaf]
+0xff,0x15,0x85,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_flbit_i32_i64 s5, 0x3f717273    ; encoding: [0xff,0x15,0x85,0xbe,0x73,0x72,0x71,0x3f]
+0xff,0x15,0x85,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 s5, s1    ; encoding: [0x01,0x16,0x85,0xbe]
+0x01,0x16,0x85,0xbe
 
-# CHECK: s_sext_i32_i8 s101, s0    ; encoding: [0x00,0x16,0xe5,0xbe]
-0x00,0x16,0xe5,0xbe
+# CHECK: s_sext_i32_i8 s101, s1    ; encoding: [0x01,0x16,0xe5,0xbe]
+0x01,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_lo, s1    ; encoding: [0x01,0x16,0xe6,0xbe]
+0x01,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 flat_scratch_hi, s1    ; encoding: [0x01,0x16,0xe7,0xbe]
+0x01,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_lo, s1    ; encoding: [0x01,0x16,0xea,0xbe]
+0x01,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 vcc_hi, s1    ; encoding: [0x01,0x16,0xeb,0xbe]
+0x01,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_lo, s1    ; encoding: [0x01,0x16,0xec,0xbe]
+0x01,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 tba_hi, s1    ; encoding: [0x01,0x16,0xed,0xbe]
+0x01,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_lo, s1    ; encoding: [0x01,0x16,0xee,0xbe]
+0x01,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 tma_hi, s1    ; encoding: [0x01,0x16,0xef,0xbe]
+0x01,0x16,0xef,0xbe
 
-# CHECK: s_sext_i32_i8 ttmp11, s0    ; encoding: [0x00,0x16,0xfb,0xbe]
-0x00,0x16,0xfb,0xbe
+# CHECK: s_sext_i32_i8 ttmp11, s1    ; encoding: [0x01,0x16,0xfb,0xbe]
+0x01,0x16,0xfb,0xbe
 
-# CHECK: s_sext_i32_i8 m0, s0    ; encoding: [0x00,0x16,0xfc,0xbe]
-0x00,0x16,0xfc,0xbe
+# CHECK: s_sext_i32_i8 m0, s1    ; encoding: [0x01,0x16,0xfc,0xbe]
+0x01,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_lo, s1    ; encoding: [0x01,0x16,0xfe,0xbe]
+0x01,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 exec_hi, s1    ; encoding: [0x01,0x16,0xff,0xbe]
+0x01,0x16,0xff,0xbe
 
-# CHECK: s_sext_i32_i8 s0, s101    ; encoding: [0x65,0x16,0x80,0xbe]
-0x65,0x16,0x80,0xbe
+# CHECK: s_sext_i32_i8 s5, s101    ; encoding: [0x65,0x16,0x85,0xbe]
+0x65,0x16,0x85,0xbe
 
-# CHECK: s_sext_i32_i8 s0, flat_scratch_lo    ; encoding: [0x66,0x16,0x80,0xbe]
-0x66,0x16,0x80,0xbe
+# CHECK: s_sext_i32_i8 s5, flat_scratch_lo    ; encoding: [0x66,0x16,0x85,0xbe]
+0x66,0x16,0x85,0xbe
 
-# CHECK: s_sext_i32_i8 s0, flat_scratch_hi    ; encoding: [0x67,0x16,0x80,0xbe]
-0x67,0x16,0x80,0xbe
+# CHECK: s_sext_i32_i8 s5, flat_scratch_hi    ; encoding: [0x67,0x16,0x85,0xbe]
+0x67,0x16,0x85,0xbe
 
-# CHECK: s_sext_i32_i8 s0, vcc_lo    ; encoding: [0x6a,0x16,0x80,0xbe]
-0x6a,0x16,0x80,0xbe
+# CHECK: s_sext_i32_i8 s5, vcc_lo    ; encoding: [0x6a,0x16,0x85,0xbe]
+0x6a,0x16,0x85,0xbe
 
-# CHECK: s_sext_i32_i8 s0, vcc_hi    ; encoding: [0x6b,0x16,0x80,0xbe]
-0x6b,0x16,0x80,0xbe
+# CHECK: s_sext_i32_i8 s5, vcc_hi    ; encoding: [0x6b,0x16,0x85,0xbe]
+0x6b,0x16,0x85,0xbe
 
-# CHECK: s_sext_i32_i8 s0, tba_lo    ; encoding: [0x6c,0x16,0x80,0xbe]
-0x6c,0x16,0x80,0xbe
+# CHECK: s_sext_i32_i8 s5, tba_lo    ; encoding: [0x6c,0x16,0x85,0xbe]
+0x6c,0x16,0x85,0xbe
 
-# CHECK: s_sext_i32_i8 s0, tba_hi    ; encoding: [0x6d,0x16,0x80,0xbe]
-0x6d,0x16,0x80,0xbe
+# CHECK: s_sext_i32_i8 s5, tba_hi    ; encoding: [0x6d,0x16,0x85,0xbe]
+0x6d,0x16,0x85,0xbe
 
-# CHECK: s_sext_i32_i8 s0, tma_lo    ; encoding: [0x6e,0x16,0x80,0xbe]
-0x6e,0x16,0x80,0xbe
+# CHECK: s_sext_i32_i8 s5, tma_lo    ; encoding: [0x6e,0x16,0x85,0xbe]
+0x6e,0x16,0x85,0xbe
 
-# CHECK: s_sext_i32_i8 s0, tma_hi    ; encoding: [0x6f,0x16,0x80,0xbe]
-0x6f,0x16,0x80,0xbe
+# CHECK: s_sext_i32_i8 s5, tma_hi    ; encoding: [0x6f,0x16,0x85,0xbe]
+0x6f,0x16,0x85,0xbe
 
-# CHECK: s_sext_i32_i8 s0, ttmp11    ; encoding: [0x7b,0x16,0x80,0xbe]
-0x7b,0x16,0x80,0xbe
+# CHECK: s_sext_i32_i8 s5, ttmp11    ; encoding: [0x7b,0x16,0x85,0xbe]
+0x7b,0x16,0x85,0xbe
 
-# CHECK: s_sext_i32_i8 s0, m0    ; encoding: [0x7c,0x16,0x80,0xbe]
-0x7c,0x16,0x80,0xbe
+# CHECK: s_sext_i32_i8 s5, m0    ; encoding: [0x7c,0x16,0x85,0xbe]
+0x7c,0x16,0x85,0xbe
 
-# CHECK: s_sext_i32_i8 s0, exec_lo    ; encoding: [0x7e,0x16,0x80,0xbe]
-0x7e,0x16,0x80,0xbe
+# CHECK: s_sext_i32_i8 s5, exec_lo    ; encoding: [0x7e,0x16,0x85,0xbe]
+0x7e,0x16,0x85,0xbe
 
-# CHECK: s_sext_i32_i8 s0, exec_hi    ; encoding: [0x7f,0x16,0x80,0xbe]
-0x7f,0x16,0x80,0xbe
+# CHECK: s_sext_i32_i8 s5, exec_hi    ; encoding: [0x7f,0x16,0x85,0xbe]
+0x7f,0x16,0x85,0xbe
 
-# CHECK: s_sext_i32_i8 s0, 0    ; encoding: [0x80,0x16,0x80,0xbe]
-0x80,0x16,0x80,0xbe
+# CHECK: s_sext_i32_i8 s5, 0    ; encoding: [0x80,0x16,0x85,0xbe]
+0x80,0x16,0x85,0xbe
 
-# CHECK: s_sext_i32_i8 s0, -1    ; encoding: [0xc1,0x16,0x80,0xbe]
-0xc1,0x16,0x80,0xbe
+# CHECK: s_sext_i32_i8 s5, -1    ; encoding: [0xc1,0x16,0x85,0xbe]
+0xc1,0x16,0x85,0xbe
 
-# CHECK: s_sext_i32_i8 s0, 0.5    ; encoding: [0xf0,0x16,0x80,0xbe]
-0xf0,0x16,0x80,0xbe
+# CHECK: s_sext_i32_i8 s5, 0.5    ; encoding: [0xf0,0x16,0x85,0xbe]
+0xf0,0x16,0x85,0xbe
 
-# CHECK: s_sext_i32_i8 s0, -4.0    ; encoding: [0xf7,0x16,0x80,0xbe]
-0xf7,0x16,0x80,0xbe
+# CHECK: s_sext_i32_i8 s5, -4.0    ; encoding: [0xf7,0x16,0x85,0xbe]
+0xf7,0x16,0x85,0xbe
 
-# CHECK: s_sext_i32_i8 s0, scc    ; encoding: [0xfd,0x16,0x80,0xbe]
-0xfd,0x16,0x80,0xbe
+# CHECK: s_sext_i32_i8 s5, scc    ; encoding: [0xfd,0x16,0x85,0xbe]
+0xfd,0x16,0x85,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 s5, 0x71    ; encoding: [0xff,0x16,0x85,0xbe,0x71,0x00,0x00,0x00]
+0xff,0x16,0x85,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_i8 s5, 0xf0    ; encoding: [0xff,0x16,0x85,0xbe,0xf0,0x00,0x00,0x00]
+0xff,0x16,0x85,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 s5, s1    ; encoding: [0x01,0x17,0x85,0xbe]
+0x01,0x17,0x85,0xbe
 
-# CHECK: s_sext_i32_i16 s101, s0    ; encoding: [0x00,0x17,0xe5,0xbe]
-0x00,0x17,0xe5,0xbe
+# CHECK: s_sext_i32_i16 s101, s1    ; encoding: [0x01,0x17,0xe5,0xbe]
+0x01,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_lo, s1    ; encoding: [0x01,0x17,0xe6,0xbe]
+0x01,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 flat_scratch_hi, s1    ; encoding: [0x01,0x17,0xe7,0xbe]
+0x01,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_lo, s1    ; encoding: [0x01,0x17,0xea,0xbe]
+0x01,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 vcc_hi, s1    ; encoding: [0x01,0x17,0xeb,0xbe]
+0x01,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_lo, s1    ; encoding: [0x01,0x17,0xec,0xbe]
+0x01,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 tba_hi, s1    ; encoding: [0x01,0x17,0xed,0xbe]
+0x01,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_lo, s1    ; encoding: [0x01,0x17,0xee,0xbe]
+0x01,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 tma_hi, s1    ; encoding: [0x01,0x17,0xef,0xbe]
+0x01,0x17,0xef,0xbe
 
-# CHECK: s_sext_i32_i16 ttmp11, s0    ; encoding: [0x00,0x17,0xfb,0xbe]
-0x00,0x17,0xfb,0xbe
+# CHECK: s_sext_i32_i16 ttmp11, s1    ; encoding: [0x01,0x17,0xfb,0xbe]
+0x01,0x17,0xfb,0xbe
 
-# CHECK: s_sext_i32_i16 m0, s0    ; encoding: [0x00,0x17,0xfc,0xbe]
-0x00,0x17,0xfc,0xbe
+# CHECK: s_sext_i32_i16 m0, s1    ; encoding: [0x01,0x17,0xfc,0xbe]
+0x01,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_lo, s1    ; encoding: [0x01,0x17,0xfe,0xbe]
+0x01,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 exec_hi, s1    ; encoding: [0x01,0x17,0xff,0xbe]
+0x01,0x17,0xff,0xbe
 
-# CHECK: s_sext_i32_i16 s0, s101    ; encoding: [0x65,0x17,0x80,0xbe]
-0x65,0x17,0x80,0xbe
+# CHECK: s_sext_i32_i16 s5, s101    ; encoding: [0x65,0x17,0x85,0xbe]
+0x65,0x17,0x85,0xbe
 
-# CHECK: s_sext_i32_i16 s0, flat_scratch_lo    ; encoding: [0x66,0x17,0x80,0xbe]
-0x66,0x17,0x80,0xbe
+# CHECK: s_sext_i32_i16 s5, flat_scratch_lo    ; encoding: [0x66,0x17,0x85,0xbe]
+0x66,0x17,0x85,0xbe
 
-# CHECK: s_sext_i32_i16 s0, flat_scratch_hi    ; encoding: [0x67,0x17,0x80,0xbe]
-0x67,0x17,0x80,0xbe
+# CHECK: s_sext_i32_i16 s5, flat_scratch_hi    ; encoding: [0x67,0x17,0x85,0xbe]
+0x67,0x17,0x85,0xbe
 
-# CHECK: s_sext_i32_i16 s0, vcc_lo    ; encoding: [0x6a,0x17,0x80,0xbe]
-0x6a,0x17,0x80,0xbe
+# CHECK: s_sext_i32_i16 s5, vcc_lo    ; encoding: [0x6a,0x17,0x85,0xbe]
+0x6a,0x17,0x85,0xbe
 
-# CHECK: s_sext_i32_i16 s0, vcc_hi    ; encoding: [0x6b,0x17,0x80,0xbe]
-0x6b,0x17,0x80,0xbe
+# CHECK: s_sext_i32_i16 s5, vcc_hi    ; encoding: [0x6b,0x17,0x85,0xbe]
+0x6b,0x17,0x85,0xbe
 
-# CHECK: s_sext_i32_i16 s0, tba_lo    ; encoding: [0x6c,0x17,0x80,0xbe]
-0x6c,0x17,0x80,0xbe
+# CHECK: s_sext_i32_i16 s5, tba_lo    ; encoding: [0x6c,0x17,0x85,0xbe]
+0x6c,0x17,0x85,0xbe
 
-# CHECK: s_sext_i32_i16 s0, tba_hi    ; encoding: [0x6d,0x17,0x80,0xbe]
-0x6d,0x17,0x80,0xbe
+# CHECK: s_sext_i32_i16 s5, tba_hi    ; encoding: [0x6d,0x17,0x85,0xbe]
+0x6d,0x17,0x85,0xbe
 
-# CHECK: s_sext_i32_i16 s0, tma_lo    ; encoding: [0x6e,0x17,0x80,0xbe]
-0x6e,0x17,0x80,0xbe
+# CHECK: s_sext_i32_i16 s5, tma_lo    ; encoding: [0x6e,0x17,0x85,0xbe]
+0x6e,0x17,0x85,0xbe
 
-# CHECK: s_sext_i32_i16 s0, tma_hi    ; encoding: [0x6f,0x17,0x80,0xbe]
-0x6f,0x17,0x80,0xbe
+# CHECK: s_sext_i32_i16 s5, tma_hi    ; encoding: [0x6f,0x17,0x85,0xbe]
+0x6f,0x17,0x85,0xbe
 
-# CHECK: s_sext_i32_i16 s0, ttmp11    ; encoding: [0x7b,0x17,0x80,0xbe]
-0x7b,0x17,0x80,0xbe
+# CHECK: s_sext_i32_i16 s5, ttmp11    ; encoding: [0x7b,0x17,0x85,0xbe]
+0x7b,0x17,0x85,0xbe
 
-# CHECK: s_sext_i32_i16 s0, m0    ; encoding: [0x7c,0x17,0x80,0xbe]
-0x7c,0x17,0x80,0xbe
+# CHECK: s_sext_i32_i16 s5, m0    ; encoding: [0x7c,0x17,0x85,0xbe]
+0x7c,0x17,0x85,0xbe
 
-# CHECK: s_sext_i32_i16 s0, exec_lo    ; encoding: [0x7e,0x17,0x80,0xbe]
-0x7e,0x17,0x80,0xbe
+# CHECK: s_sext_i32_i16 s5, exec_lo    ; encoding: [0x7e,0x17,0x85,0xbe]
+0x7e,0x17,0x85,0xbe
 
-# CHECK: s_sext_i32_i16 s0, exec_hi    ; encoding: [0x7f,0x17,0x80,0xbe]
-0x7f,0x17,0x80,0xbe
+# CHECK: s_sext_i32_i16 s5, exec_hi    ; encoding: [0x7f,0x17,0x85,0xbe]
+0x7f,0x17,0x85,0xbe
 
-# CHECK: s_sext_i32_i16 s0, 0    ; encoding: [0x80,0x17,0x80,0xbe]
-0x80,0x17,0x80,0xbe
+# CHECK: s_sext_i32_i16 s5, 0    ; encoding: [0x80,0x17,0x85,0xbe]
+0x80,0x17,0x85,0xbe
 
-# CHECK: s_sext_i32_i16 s0, -1    ; encoding: [0xc1,0x17,0x80,0xbe]
-0xc1,0x17,0x80,0xbe
+# CHECK: s_sext_i32_i16 s5, -1    ; encoding: [0xc1,0x17,0x85,0xbe]
+0xc1,0x17,0x85,0xbe
 
-# CHECK: s_sext_i32_i16 s0, 0.5    ; encoding: [0xf0,0x17,0x80,0xbe]
-0xf0,0x17,0x80,0xbe
+# CHECK: s_sext_i32_i16 s5, 0.5    ; encoding: [0xf0,0x17,0x85,0xbe]
+0xf0,0x17,0x85,0xbe
 
-# CHECK: s_sext_i32_i16 s0, -4.0    ; encoding: [0xf7,0x17,0x80,0xbe]
-0xf7,0x17,0x80,0xbe
+# CHECK: s_sext_i32_i16 s5, -4.0    ; encoding: [0xf7,0x17,0x85,0xbe]
+0xf7,0x17,0x85,0xbe
 
-# CHECK: s_sext_i32_i16 s0, scc    ; encoding: [0xfd,0x17,0x80,0xbe]
-0xfd,0x17,0x80,0xbe
+# CHECK: s_sext_i32_i16 s5, scc    ; encoding: [0xfd,0x17,0x85,0xbe]
+0xfd,0x17,0x85,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 s5, 0xaf123456    ; encoding: [0xff,0x17,0x85,0xbe,0x56,0x34,0x12,0xaf]
+0xff,0x17,0x85,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_sext_i32_i16 s5, 0x3f717273    ; encoding: [0xff,0x17,0x85,0xbe,0x73,0x72,0x71,0x3f]
+0xff,0x17,0x85,0xbe,0x73,0x72,0x71,0x3f
 
-# CHECK: s_bitset0_b32 s0, s0    ; encoding: [0x00,0x18,0x80,0xbe]
-0x00,0x18,0x80,0xbe
+# CHECK: s_bitset0_b32 s5, s1    ; encoding: [0x01,0x18,0x85,0xbe]
+0x01,0x18,0x85,0xbe
 
-# CHECK: s_bitset0_b32 s101, s0    ; encoding: [0x00,0x18,0xe5,0xbe]
-0x00,0x18,0xe5,0xbe
+# CHECK: s_bitset0_b32 s101, s1    ; encoding: [0x01,0x18,0xe5,0xbe]
+0x01,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_lo, s1    ; encoding: [0x01,0x18,0xe6,0xbe]
+0x01,0x18,0xe6,0xbe
 
-# CHECK: s_bitset0_b32 flat_scratch_hi, s0    ; encoding: [0x00,0x18,0xe7,0xbe]
-0x00,0x18,0xe7,0xbe
+# CHECK: s_bitset0_b32 flat_scratch_hi, s1    ; encoding: [0x01,0x18,0xe7,0xbe]
+0x01,0x18,0xe7,0xbe
 
-# CHECK: s_bitset0_b32 vcc_lo, s0    ; encoding: [0x00,0x18,0xea,0xbe]
-0x00,0x18,0xea,0xbe
+# CHECK: s_bitset0_b32 vcc_lo, s1    ; encoding: [0x01,0x18,0xea,0xbe]
+0x01,0x18,0xea,0xbe
 
-# CHECK: s_bitset0_b32 vcc_hi, s0    ; encoding: [0x00,0x18,0xeb,0xbe]
-0x00,0x18,0xeb,0xbe
+# CHECK: s_bitset0_b32 vcc_hi, s1    ; encoding: [0x01,0x18,0xeb,0xbe]
+0x01,0x18,0xeb,0xbe
 
-# CHECK: s_bitset0_b32 tba_lo, s0    ; encoding: [0x00,0x18,0xec,0xbe]
-0x00,0x18,0xec,0xbe
+# CHECK: s_bitset0_b32 tba_lo, s1    ; encoding: [0x01,0x18,0xec,0xbe]
+0x01,0x18,0xec,0xbe
 
-# CHECK: s_bitset0_b32 tba_hi, s0    ; encoding: [0x00,0x18,0xed,0xbe]
-0x00,0x18,0xed,0xbe
+# CHECK: s_bitset0_b32 tba_hi, s1    ; encoding: [0x01,0x18,0xed,0xbe]
+0x01,0x18,0xed,0xbe
 
-# CHECK: s_bitset0_b32 tma_lo, s0    ; encoding: [0x00,0x18,0xee,0xbe]
-0x00,0x18,0xee,0xbe
+# CHECK: s_bitset0_b32 tma_lo, s1    ; encoding: [0x01,0x18,0xee,0xbe]
+0x01,0x18,0xee,0xbe
 
-# CHECK: s_bitset0_b32 tma_hi, s0    ; encoding: [0x00,0x18,0xef,0xbe]
-0x00,0x18,0xef,0xbe
+# CHECK: s_bitset0_b32 tma_hi, s1    ; encoding: [0x01,0x18,0xef,0xbe]
+0x01,0x18,0xef,0xbe
 
-# CHECK: s_bitset0_b32 ttmp11, s0    ; encoding: [0x00,0x18,0xfb,0xbe]
-0x00,0x18,0xfb,0xbe
+# CHECK: s_bitset0_b32 ttmp11, s1    ; encoding: [0x01,0x18,0xfb,0xbe]
+0x01,0x18,0xfb,0xbe
 
-# CHECK: s_bitset0_b32 m0, s0    ; encoding: [0x00,0x18,0xfc,0xbe]
-0x00,0x18,0xfc,0xbe
+# CHECK: s_bitset0_b32 m0, s1    ; encoding: [0x01,0x18,0xfc,0xbe]
+0x01,0x18,0xfc,0xbe
 
-# CHECK: s_bitset0_b32 exec_lo, s0    ; encoding: [0x00,0x18,0xfe,0xbe]
-0x00,0x18,0xfe,0xbe
+# CHECK: s_bitset0_b32 exec_lo, s1    ; encoding: [0x01,0x18,0xfe,0xbe]
+0x01,0x18,0xfe,0xbe
 
-# CHECK: s_bitset0_b32 exec_hi, s0    ; encoding: [0x00,0x18,0xff,0xbe]
-0x00,0x18,0xff,0xbe
+# CHECK: s_bitset0_b32 exec_hi, s1    ; encoding: [0x01,0x18,0xff,0xbe]
+0x01,0x18,0xff,0xbe
 
-# CHECK: s_bitset0_b32 s0, s101    ; encoding: [0x65,0x18,0x80,0xbe]
-0x65,0x18,0x80,0xbe
+# CHECK: s_bitset0_b32 s5, s101    ; encoding: [0x65,0x18,0x85,0xbe]
+0x65,0x18,0x85,0xbe
 
-# CHECK: s_bitset0_b32 s0, flat_scratch_lo    ; encoding: [0x66,0x18,0x80,0xbe]
-0x66,0x18,0x80,0xbe
+# CHECK: s_bitset0_b32 s5, flat_scratch_lo    ; encoding: [0x66,0x18,0x85,0xbe]
+0x66,0x18,0x85,0xbe
 
-# CHECK: s_bitset0_b32 s0, flat_scratch_hi    ; encoding: [0x67,0x18,0x80,0xbe]
-0x67,0x18,0x80,0xbe
+# CHECK: s_bitset0_b32 s5, flat_scratch_hi    ; encoding: [0x67,0x18,0x85,0xbe]
+0x67,0x18,0x85,0xbe
 
-# CHECK: s_bitset0_b32 s0, vcc_lo    ; encoding: [0x6a,0x18,0x80,0xbe]
-0x6a,0x18,0x80,0xbe
+# CHECK: s_bitset0_b32 s5, vcc_lo    ; encoding: [0x6a,0x18,0x85,0xbe]
+0x6a,0x18,0x85,0xbe
 
-# CHECK: s_bitset0_b32 s0, vcc_hi    ; encoding: [0x6b,0x18,0x80,0xbe]
-0x6b,0x18,0x80,0xbe
+# CHECK: s_bitset0_b32 s5, vcc_hi    ; encoding: [0x6b,0x18,0x85,0xbe]
+0x6b,0x18,0x85,0xbe
 
-# CHECK: s_bitset0_b32 s0, tba_lo    ; encoding: [0x6c,0x18,0x80,0xbe]
-0x6c,0x18,0x80,0xbe
+# CHECK: s_bitset0_b32 s5, tba_lo    ; encoding: [0x6c,0x18,0x85,0xbe]
+0x6c,0x18,0x85,0xbe
 
-# CHECK: s_bitset0_b32 s0, tba_hi    ; encoding: [0x6d,0x18,0x80,0xbe]
-0x6d,0x18,0x80,0xbe
+# CHECK: s_bitset0_b32 s5, tba_hi    ; encoding: [0x6d,0x18,0x85,0xbe]
+0x6d,0x18,0x85,0xbe
 
-# CHECK: s_bitset0_b32 s0, tma_lo    ; encoding: [0x6e,0x18,0x80,0xbe]
-0x6e,0x18,0x80,0xbe
+# CHECK: s_bitset0_b32 s5, tma_lo    ; encoding: [0x6e,0x18,0x85,0xbe]
+0x6e,0x18,0x85,0xbe
 
-# CHECK: s_bitset0_b32 s0, tma_hi    ; encoding: [0x6f,0x18,0x80,0xbe]
-0x6f,0x18,0x80,0xbe
+# CHECK: s_bitset0_b32 s5, tma_hi    ; encoding: [0x6f,0x18,0x85,0xbe]
+0x6f,0x18,0x85,0xbe
 
-# CHECK: s_bitset0_b32 s0, ttmp11    ; encoding: [0x7b,0x18,0x80,0xbe]
-0x7b,0x18,0x80,0xbe
+# CHECK: s_bitset0_b32 s5, ttmp11    ; encoding: [0x7b,0x18,0x85,0xbe]
+0x7b,0x18,0x85,0xbe
 
-# CHECK: s_bitset0_b32 s0, m0    ; encoding: [0x7c,0x18,0x80,0xbe]
-0x7c,0x18,0x80,0xbe
+# CHECK: s_bitset0_b32 s5, m0    ; encoding: [0x7c,0x18,0x85,0xbe]
+0x7c,0x18,0x85,0xbe
 
-# CHECK: s_bitset0_b32 s0, exec_lo    ; encoding: [0x7e,0x18,0x80,0xbe]
-0x7e,0x18,0x80,0xbe
+# CHECK: s_bitset0_b32 s5, exec_lo    ; encoding: [0x7e,0x18,0x85,0xbe]
+0x7e,0x18,0x85,0xbe
 
-# CHECK: s_bitset0_b32 s0, exec_hi    ; encoding: [0x7f,0x18,0x80,0xbe]
-0x7f,0x18,0x80,0xbe
+# CHECK: s_bitset0_b32 s5, exec_hi    ; encoding: [0x7f,0x18,0x85,0xbe]
+0x7f,0x18,0x85,0xbe
 
-# CHECK: s_bitset0_b32 s0, 0    ; encoding: [0x80,0x18,0x80,0xbe]
-0x80,0x18,0x80,0xbe
+# CHECK: s_bitset0_b32 s5, 0    ; encoding: [0x80,0x18,0x85,0xbe]
+0x80,0x18,0x85,0xbe
 
-# CHECK: s_bitset0_b32 s0, -1    ; encoding: [0xc1,0x18,0x80,0xbe]
-0xc1,0x18,0x80,0xbe
+# CHECK: s_bitset0_b32 s5, -1    ; encoding: [0xc1,0x18,0x85,0xbe]
+0xc1,0x18,0x85,0xbe
 
-# CHECK: s_bitset0_b32 s0, 0.5    ; encoding: [0xf0,0x18,0x80,0xbe]
-0xf0,0x18,0x80,0xbe
+# CHECK: s_bitset0_b32 s5, 0.5    ; encoding: [0xf0,0x18,0x85,0xbe]
+0xf0,0x18,0x85,0xbe
 
-# CHECK: s_bitset0_b32 s0, -4.0    ; encoding: [0xf7,0x18,0x80,0xbe]
-0xf7,0x18,0x80,0xbe
+# CHECK: s_bitset0_b32 s5, -4.0    ; encoding: [0xf7,0x18,0x85,0xbe]
+0xf7,0x18,0x85,0xbe
 
-# CHECK: s_bitset0_b32 s0, scc    ; encoding: [0xfd,0x18,0x80,0xbe]
-0xfd,0x18,0x80,0xbe
+# CHECK: s_bitset0_b32 s5, scc    ; encoding: [0xfd,0x18,0x85,0xbe]
+0xfd,0x18,0x85,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 s5, 0xaf123456    ; encoding: [0xff,0x18,0x85,0xbe,0x56,0x34,0x12,0xaf]
+0xff,0x18,0x85,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_b32 s5, 0x3f717273    ; encoding: [0xff,0x18,0x85,0xbe,0x73,0x72,0x71,0x3f]
+0xff,0x18,0x85,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[10:11], s1    ; encoding: [0x01,0x19,0x8a,0xbe]
+0x01,0x19,0x8a,0xbe
 
-# CHECK: s_bitset0_b64 s[2:3], s0    ; encoding: [0x00,0x19,0x82,0xbe]
-0x00,0x19,0x82,0xbe
+# CHECK: s_bitset0_b64 s[12:13], s1    ; encoding: [0x01,0x19,0x8c,0xbe]
+0x01,0x19,0x8c,0xbe
 
-# CHECK: s_bitset0_b64 s[100:101], s0    ; encoding: [0x00,0x19,0xe4,0xbe]
-0x00,0x19,0xe4,0xbe
+# CHECK: s_bitset0_b64 s[100:101], s1    ; encoding: [0x01,0x19,0xe4,0xbe]
+0x01,0x19,0xe4,0xbe
 
-# CHECK: s_bitset0_b64 flat_scratch, s0    ; encoding: [0x00,0x19,0xe6,0xbe]
-0x00,0x19,0xe6,0xbe
+# CHECK: s_bitset0_b64 flat_scratch, s1    ; encoding: [0x01,0x19,0xe6,0xbe]
+0x01,0x19,0xe6,0xbe
 
-# CHECK: s_bitset0_b64 vcc, s0    ; encoding: [0x00,0x19,0xea,0xbe]
-0x00,0x19,0xea,0xbe
+# CHECK: s_bitset0_b64 vcc, s1    ; encoding: [0x01,0x19,0xea,0xbe]
+0x01,0x19,0xea,0xbe
 
-# CHECK: s_bitset0_b64 tba, s0    ; encoding: [0x00,0x19,0xec,0xbe]
-0x00,0x19,0xec,0xbe
+# CHECK: s_bitset0_b64 tba, s1    ; encoding: [0x01,0x19,0xec,0xbe]
+0x01,0x19,0xec,0xbe
 
-# CHECK: s_bitset0_b64 tma, s0    ; encoding: [0x00,0x19,0xee,0xbe]
-0x00,0x19,0xee,0xbe
+# CHECK: s_bitset0_b64 tma, s1    ; encoding: [0x01,0x19,0xee,0xbe]
+0x01,0x19,0xee,0xbe
 
-# CHECK: s_bitset0_b64 ttmp[10:11], s0    ; encoding: [0x00,0x19,0xfa,0xbe]
-0x00,0x19,0xfa,0xbe
+# CHECK: s_bitset0_b64 ttmp[10:11], s1    ; encoding: [0x01,0x19,0xfa,0xbe]
+0x01,0x19,0xfa,0xbe
 
-# CHECK: s_bitset0_b64 exec, s0    ; encoding: [0x00,0x19,0xfe,0xbe]
-0x00,0x19,0xfe,0xbe
+# CHECK: s_bitset0_b64 exec, s1    ; encoding: [0x01,0x19,0xfe,0xbe]
+0x01,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[10:11], s101    ; encoding: [0x65,0x19,0x8a,0xbe]
+0x65,0x19,0x8a,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[10:11], flat_scratch_lo    ; encoding: [0x66,0x19,0x8a,0xbe]
+0x66,0x19,0x8a,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[10:11], flat_scratch_hi    ; encoding: [0x67,0x19,0x8a,0xbe]
+0x67,0x19,0x8a,0xbe
 
-# CHECK: s_bitset0_b64 s[0:1], vcc_lo    ; encoding: [0x6a,0x19,0x80,0xbe]
-0x6a,0x19,0x80,0xbe
+# CHECK: s_bitset0_b64 s[10:11], vcc_lo    ; encoding: [0x6a,0x19,0x8a,0xbe]
+0x6a,0x19,0x8a,0xbe
 
-# CHECK: s_bitset0_b64 s[0:1], vcc_hi    ; encoding: [0x6b,0x19,0x80,0xbe]
-0x6b,0x19,0x80,0xbe
+# CHECK: s_bitset0_b64 s[10:11], vcc_hi    ; encoding: [0x6b,0x19,0x8a,0xbe]
+0x6b,0x19,0x8a,0xbe
 
-# CHECK: s_bitset0_b64 s[0:1], tba_lo    ; encoding: [0x6c,0x19,0x80,0xbe]
-0x6c,0x19,0x80,0xbe
+# CHECK: s_bitset0_b64 s[10:11], tba_lo    ; encoding: [0x6c,0x19,0x8a,0xbe]
+0x6c,0x19,0x8a,0xbe
 
-# CHECK: s_bitset0_b64 s[0:1], tba_hi    ; encoding: [0x6d,0x19,0x80,0xbe]
-0x6d,0x19,0x80,0xbe
+# CHECK: s_bitset0_b64 s[10:11], tba_hi    ; encoding: [0x6d,0x19,0x8a,0xbe]
+0x6d,0x19,0x8a,0xbe
 
-# CHECK: s_bitset0_b64 s[0:1], tma_lo    ; encoding: [0x6e,0x19,0x80,0xbe]
-0x6e,0x19,0x80,0xbe
+# CHECK: s_bitset0_b64 s[10:11], tma_lo    ; encoding: [0x6e,0x19,0x8a,0xbe]
+0x6e,0x19,0x8a,0xbe
 
-# CHECK: s_bitset0_b64 s[0:1], tma_hi    ; encoding: [0x6f,0x19,0x80,0xbe]
-0x6f,0x19,0x80,0xbe
+# CHECK: s_bitset0_b64 s[10:11], tma_hi    ; encoding: [0x6f,0x19,0x8a,0xbe]
+0x6f,0x19,0x8a,0xbe
 
-# CHECK: s_bitset0_b64 s[0:1], ttmp11    ; encoding: [0x7b,0x19,0x80,0xbe]
-0x7b,0x19,0x80,0xbe
+# CHECK: s_bitset0_b64 s[10:11], ttmp11    ; encoding: [0x7b,0x19,0x8a,0xbe]
+0x7b,0x19,0x8a,0xbe
 
-# CHECK: s_bitset0_b64 s[0:1], m0    ; encoding: [0x7c,0x19,0x80,0xbe]
-0x7c,0x19,0x80,0xbe
+# CHECK: s_bitset0_b64 s[10:11], m0    ; encoding: [0x7c,0x19,0x8a,0xbe]
+0x7c,0x19,0x8a,0xbe
 
-# CHECK: s_bitset0_b64 s[0:1], exec_lo    ; encoding: [0x7e,0x19,0x80,0xbe]
-0x7e,0x19,0x80,0xbe
+# CHECK: s_bitset0_b64 s[10:11], exec_lo    ; encoding: [0x7e,0x19,0x8a,0xbe]
+0x7e,0x19,0x8a,0xbe
 
-# CHECK: s_bitset0_b64 s[0:1], exec_hi    ; encoding: [0x7f,0x19,0x80,0xbe]
-0x7f,0x19,0x80,0xbe
+# CHECK: s_bitset0_b64 s[10:11], exec_hi    ; encoding: [0x7f,0x19,0x8a,0xbe]
+0x7f,0x19,0x8a,0xbe
 
-# CHECK: s_bitset0_b64 s[0:1], 0    ; encoding: [0x80,0x19,0x80,0xbe]
-0x80,0x19,0x80,0xbe
+# CHECK: s_bitset0_b64 s[10:11], 0    ; encoding: [0x80,0x19,0x8a,0xbe]
+0x80,0x19,0x8a,0xbe
 
-# CHECK: s_bitset0_b64 s[0:1], -1    ; encoding: [0xc1,0x19,0x80,0xbe]
-0xc1,0x19,0x80,0xbe
+# CHECK: s_bitset0_b64 s[10:11], -1    ; encoding: [0xc1,0x19,0x8a,0xbe]
+0xc1,0x19,0x8a,0xbe
 
-# CHECK: s_bitset0_b64 s[0:1], 0.5    ; encoding: [0xf0,0x19,0x80,0xbe]
-0xf0,0x19,0x80,0xbe
+# CHECK: s_bitset0_b64 s[10:11], 0.5    ; encoding: [0xf0,0x19,0x8a,0xbe]
+0xf0,0x19,0x8a,0xbe
 
-# CHECK: s_bitset0_b64 s[0:1], -4.0    ; encoding: [0xf7,0x19,0x80,0xbe]
-0xf7,0x19,0x80,0xbe
+# CHECK: s_bitset0_b64 s[10:11], -4.0    ; encoding: [0xf7,0x19,0x8a,0xbe]
+0xf7,0x19,0x8a,0xbe
 
-# CHECK: s_bitset0_b64 s[0:1], scc    ; encoding: [0xfd,0x19,0x80,0xbe]
-0xfd,0x19,0x80,0xbe
+# CHECK: s_bitset0_b64 s[10:11], scc    ; encoding: [0xfd,0x19,0x8a,0xbe]
+0xfd,0x19,0x8a,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[10:11], 0xaf123456    ; encoding: [0xff,0x19,0x8a,0xbe,0x56,0x34,0x12,0xaf]
+0xff,0x19,0x8a,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_bitset0_b64 s[10:11], 0x3f717273    ; encoding: [0xff,0x19,0x8a,0xbe,0x73,0x72,0x71,0x3f]
+0xff,0x19,0x8a,0xbe,0x73,0x72,0x71,0x3f
 
-# CHECK: s_bitset1_b32 s0, s0    ; encoding: [0x00,0x1a,0x80,0xbe]
-0x00,0x1a,0x80,0xbe
+# CHECK: s_bitset1_b32 s5, s1    ; encoding: [0x01,0x1a,0x85,0xbe]
+0x01,0x1a,0x85,0xbe
 
-# CHECK: s_bitset1_b32 s101, s0    ; encoding: [0x00,0x1a,0xe5,0xbe]
-0x00,0x1a,0xe5,0xbe
+# CHECK: s_bitset1_b32 s101, s1    ; encoding: [0x01,0x1a,0xe5,0xbe]
+0x01,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_lo, s1    ; encoding: [0x01,0x1a,0xe6,0xbe]
+0x01,0x1a,0xe6,0xbe
 
-# CHECK: s_bitset1_b32 flat_scratch_hi, s0    ; encoding: [0x00,0x1a,0xe7,0xbe]
-0x00,0x1a,0xe7,0xbe
+# CHECK: s_bitset1_b32 flat_scratch_hi, s1    ; encoding: [0x01,0x1a,0xe7,0xbe]
+0x01,0x1a,0xe7,0xbe
 
-# CHECK: s_bitset1_b32 vcc_lo, s0    ; encoding: [0x00,0x1a,0xea,0xbe]
-0x00,0x1a,0xea,0xbe
+# CHECK: s_bitset1_b32 vcc_lo, s1    ; encoding: [0x01,0x1a,0xea,0xbe]
+0x01,0x1a,0xea,0xbe
 
-# CHECK: s_bitset1_b32 vcc_hi, s0    ; encoding: [0x00,0x1a,0xeb,0xbe]
-0x00,0x1a,0xeb,0xbe
+# CHECK: s_bitset1_b32 vcc_hi, s1    ; encoding: [0x01,0x1a,0xeb,0xbe]
+0x01,0x1a,0xeb,0xbe
 
-# CHECK: s_bitset1_b32 tba_lo, s0    ; encoding: [0x00,0x1a,0xec,0xbe]
-0x00,0x1a,0xec,0xbe
+# CHECK: s_bitset1_b32 tba_lo, s1    ; encoding: [0x01,0x1a,0xec,0xbe]
+0x01,0x1a,0xec,0xbe
 
-# CHECK: s_bitset1_b32 tba_hi, s0    ; encoding: [0x00,0x1a,0xed,0xbe]
-0x00,0x1a,0xed,0xbe
+# CHECK: s_bitset1_b32 tba_hi, s1    ; encoding: [0x01,0x1a,0xed,0xbe]
+0x01,0x1a,0xed,0xbe
 
-# CHECK: s_bitset1_b32 tma_lo, s0    ; encoding: [0x00,0x1a,0xee,0xbe]
-0x00,0x1a,0xee,0xbe
+# CHECK: s_bitset1_b32 tma_lo, s1    ; encoding: [0x01,0x1a,0xee,0xbe]
+0x01,0x1a,0xee,0xbe
 
-# CHECK: s_bitset1_b32 tma_hi, s0    ; encoding: [0x00,0x1a,0xef,0xbe]
-0x00,0x1a,0xef,0xbe
+# CHECK: s_bitset1_b32 tma_hi, s1    ; encoding: [0x01,0x1a,0xef,0xbe]
+0x01,0x1a,0xef,0xbe
 
-# CHECK: s_bitset1_b32 ttmp11, s0    ; encoding: [0x00,0x1a,0xfb,0xbe]
-0x00,0x1a,0xfb,0xbe
+# CHECK: s_bitset1_b32 ttmp11, s1    ; encoding: [0x01,0x1a,0xfb,0xbe]
+0x01,0x1a,0xfb,0xbe
 
-# CHECK: s_bitset1_b32 m0, s0    ; encoding: [0x00,0x1a,0xfc,0xbe]
-0x00,0x1a,0xfc,0xbe
+# CHECK: s_bitset1_b32 m0, s1    ; encoding: [0x01,0x1a,0xfc,0xbe]
+0x01,0x1a,0xfc,0xbe
 
-# CHECK: s_bitset1_b32 exec_lo, s0    ; encoding: [0x00,0x1a,0xfe,0xbe]
-0x00,0x1a,0xfe,0xbe
+# CHECK: s_bitset1_b32 exec_lo, s1    ; encoding: [0x01,0x1a,0xfe,0xbe]
+0x01,0x1a,0xfe,0xbe
 
-# CHECK: s_bitset1_b32 exec_hi, s0    ; encoding: [0x00,0x1a,0xff,0xbe]
-0x00,0x1a,0xff,0xbe
+# CHECK: s_bitset1_b32 exec_hi, s1    ; encoding: [0x01,0x1a,0xff,0xbe]
+0x01,0x1a,0xff,0xbe
 
-# CHECK: s_bitset1_b32 s0, s101    ; encoding: [0x65,0x1a,0x80,0xbe]
-0x65,0x1a,0x80,0xbe
+# CHECK: s_bitset1_b32 s5, s101    ; encoding: [0x65,0x1a,0x85,0xbe]
+0x65,0x1a,0x85,0xbe
 
-# CHECK: s_bitset1_b32 s0, flat_scratch_lo    ; encoding: [0x66,0x1a,0x80,0xbe]
-0x66,0x1a,0x80,0xbe
+# CHECK: s_bitset1_b32 s5, flat_scratch_lo    ; encoding: [0x66,0x1a,0x85,0xbe]
+0x66,0x1a,0x85,0xbe
 
-# CHECK: s_bitset1_b32 s0, flat_scratch_hi    ; encoding: [0x67,0x1a,0x80,0xbe]
-0x67,0x1a,0x80,0xbe
+# CHECK: s_bitset1_b32 s5, flat_scratch_hi    ; encoding: [0x67,0x1a,0x85,0xbe]
+0x67,0x1a,0x85,0xbe
 
-# CHECK: s_bitset1_b32 s0, vcc_lo    ; encoding: [0x6a,0x1a,0x80,0xbe]
-0x6a,0x1a,0x80,0xbe
+# CHECK: s_bitset1_b32 s5, vcc_lo    ; encoding: [0x6a,0x1a,0x85,0xbe]
+0x6a,0x1a,0x85,0xbe
 
-# CHECK: s_bitset1_b32 s0, vcc_hi    ; encoding: [0x6b,0x1a,0x80,0xbe]
-0x6b,0x1a,0x80,0xbe
+# CHECK: s_bitset1_b32 s5, vcc_hi    ; encoding: [0x6b,0x1a,0x85,0xbe]
+0x6b,0x1a,0x85,0xbe
 
-# CHECK: s_bitset1_b32 s0, tba_lo    ; encoding: [0x6c,0x1a,0x80,0xbe]
-0x6c,0x1a,0x80,0xbe
+# CHECK: s_bitset1_b32 s5, tba_lo    ; encoding: [0x6c,0x1a,0x85,0xbe]
+0x6c,0x1a,0x85,0xbe
 
-# CHECK: s_bitset1_b32 s0, tba_hi    ; encoding: [0x6d,0x1a,0x80,0xbe]
-0x6d,0x1a,0x80,0xbe
+# CHECK: s_bitset1_b32 s5, tba_hi    ; encoding: [0x6d,0x1a,0x85,0xbe]
+0x6d,0x1a,0x85,0xbe
 
-# CHECK: s_bitset1_b32 s0, tma_lo    ; encoding: [0x6e,0x1a,0x80,0xbe]
-0x6e,0x1a,0x80,0xbe
+# CHECK: s_bitset1_b32 s5, tma_lo    ; encoding: [0x6e,0x1a,0x85,0xbe]
+0x6e,0x1a,0x85,0xbe
 
-# CHECK: s_bitset1_b32 s0, tma_hi    ; encoding: [0x6f,0x1a,0x80,0xbe]
-0x6f,0x1a,0x80,0xbe
+# CHECK: s_bitset1_b32 s5, tma_hi    ; encoding: [0x6f,0x1a,0x85,0xbe]
+0x6f,0x1a,0x85,0xbe
 
-# CHECK: s_bitset1_b32 s0, ttmp11    ; encoding: [0x7b,0x1a,0x80,0xbe]
-0x7b,0x1a,0x80,0xbe
+# CHECK: s_bitset1_b32 s5, ttmp11    ; encoding: [0x7b,0x1a,0x85,0xbe]
+0x7b,0x1a,0x85,0xbe
 
-# CHECK: s_bitset1_b32 s0, m0    ; encoding: [0x7c,0x1a,0x80,0xbe]
-0x7c,0x1a,0x80,0xbe
+# CHECK: s_bitset1_b32 s5, m0    ; encoding: [0x7c,0x1a,0x85,0xbe]
+0x7c,0x1a,0x85,0xbe
 
-# CHECK: s_bitset1_b32 s0, exec_lo    ; encoding: [0x7e,0x1a,0x80,0xbe]
-0x7e,0x1a,0x80,0xbe
+# CHECK: s_bitset1_b32 s5, exec_lo    ; encoding: [0x7e,0x1a,0x85,0xbe]
+0x7e,0x1a,0x85,0xbe
 
-# CHECK: s_bitset1_b32 s0, exec_hi    ; encoding: [0x7f,0x1a,0x80,0xbe]
-0x7f,0x1a,0x80,0xbe
+# CHECK: s_bitset1_b32 s5, exec_hi    ; encoding: [0x7f,0x1a,0x85,0xbe]
+0x7f,0x1a,0x85,0xbe
 
-# CHECK: s_bitset1_b32 s0, 0    ; encoding: [0x80,0x1a,0x80,0xbe]
-0x80,0x1a,0x80,0xbe
+# CHECK: s_bitset1_b32 s5, 0    ; encoding: [0x80,0x1a,0x85,0xbe]
+0x80,0x1a,0x85,0xbe
 
-# CHECK: s_bitset1_b32 s0, -1    ; encoding: [0xc1,0x1a,0x80,0xbe]
-0xc1,0x1a,0x80,0xbe
+# CHECK: s_bitset1_b32 s5, -1    ; encoding: [0xc1,0x1a,0x85,0xbe]
+0xc1,0x1a,0x85,0xbe
 
-# CHECK: s_bitset1_b32 s0, 0.5    ; encoding: [0xf0,0x1a,0x80,0xbe]
-0xf0,0x1a,0x80,0xbe
+# CHECK: s_bitset1_b32 s5, 0.5    ; encoding: [0xf0,0x1a,0x85,0xbe]
+0xf0,0x1a,0x85,0xbe
 
-# CHECK: s_bitset1_b32 s0, -4.0    ; encoding: [0xf7,0x1a,0x80,0xbe]
-0xf7,0x1a,0x80,0xbe
+# CHECK: s_bitset1_b32 s5, -4.0    ; encoding: [0xf7,0x1a,0x85,0xbe]
+0xf7,0x1a,0x85,0xbe
 
-# CHECK: s_bitset1_b32 s0, scc    ; encoding: [0xfd,0x1a,0x80,0xbe]
-0xfd,0x1a,0x80,0xbe
+# CHECK: s_bitset1_b32 s5, scc    ; encoding: [0xfd,0x1a,0x85,0xbe]
+0xfd,0x1a,0x85,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 s5, 0xaf123456    ; encoding: [0xff,0x1a,0x85,0xbe,0x56,0x34,0x12,0xaf]
+0xff,0x1a,0x85,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_b32 s5, 0x3f717273    ; encoding: [0xff,0x1a,0x85,0xbe,0x73,0x72,0x71,0x3f]
+0xff,0x1a,0x85,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[10:11], s1    ; encoding: [0x01,0x1b,0x8a,0xbe]
+0x01,0x1b,0x8a,0xbe
 
-# CHECK: s_bitset1_b64 s[2:3], s0    ; encoding: [0x00,0x1b,0x82,0xbe]
-0x00,0x1b,0x82,0xbe
+# CHECK: s_bitset1_b64 s[12:13], s1    ; encoding: [0x01,0x1b,0x8c,0xbe]
+0x01,0x1b,0x8c,0xbe
 
-# CHECK: s_bitset1_b64 s[100:101], s0    ; encoding: [0x00,0x1b,0xe4,0xbe]
-0x00,0x1b,0xe4,0xbe
+# CHECK: s_bitset1_b64 s[100:101], s1    ; encoding: [0x01,0x1b,0xe4,0xbe]
+0x01,0x1b,0xe4,0xbe
 
-# CHECK: s_bitset1_b64 flat_scratch, s0    ; encoding: [0x00,0x1b,0xe6,0xbe]
-0x00,0x1b,0xe6,0xbe
+# CHECK: s_bitset1_b64 flat_scratch, s1    ; encoding: [0x01,0x1b,0xe6,0xbe]
+0x01,0x1b,0xe6,0xbe
 
-# CHECK: s_bitset1_b64 vcc, s0    ; encoding: [0x00,0x1b,0xea,0xbe]
-0x00,0x1b,0xea,0xbe
+# CHECK: s_bitset1_b64 vcc, s1    ; encoding: [0x01,0x1b,0xea,0xbe]
+0x01,0x1b,0xea,0xbe
 
-# CHECK: s_bitset1_b64 tba, s0    ; encoding: [0x00,0x1b,0xec,0xbe]
-0x00,0x1b,0xec,0xbe
+# CHECK: s_bitset1_b64 tba, s1    ; encoding: [0x01,0x1b,0xec,0xbe]
+0x01,0x1b,0xec,0xbe
 
-# CHECK: s_bitset1_b64 tma, s0    ; encoding: [0x00,0x1b,0xee,0xbe]
-0x00,0x1b,0xee,0xbe
+# CHECK: s_bitset1_b64 tma, s1    ; encoding: [0x01,0x1b,0xee,0xbe]
+0x01,0x1b,0xee,0xbe
 
-# CHECK: s_bitset1_b64 ttmp[10:11], s0    ; encoding: [0x00,0x1b,0xfa,0xbe]
-0x00,0x1b,0xfa,0xbe
+# CHECK: s_bitset1_b64 ttmp[10:11], s1    ; encoding: [0x01,0x1b,0xfa,0xbe]
+0x01,0x1b,0xfa,0xbe
 
-# CHECK: s_bitset1_b64 exec, s0    ; encoding: [0x00,0x1b,0xfe,0xbe]
-0x00,0x1b,0xfe,0xbe
+# CHECK: s_bitset1_b64 exec, s1    ; encoding: [0x01,0x1b,0xfe,0xbe]
+0x01,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[10:11], s101    ; encoding: [0x65,0x1b,0x8a,0xbe]
+0x65,0x1b,0x8a,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[10:11], flat_scratch_lo    ; encoding: [0x66,0x1b,0x8a,0xbe]
+0x66,0x1b,0x8a,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[10:11], flat_scratch_hi    ; encoding: [0x67,0x1b,0x8a,0xbe]
+0x67,0x1b,0x8a,0xbe
 
-# CHECK: s_bitset1_b64 s[0:1], vcc_lo    ; encoding: [0x6a,0x1b,0x80,0xbe]
-0x6a,0x1b,0x80,0xbe
+# CHECK: s_bitset1_b64 s[10:11], vcc_lo    ; encoding: [0x6a,0x1b,0x8a,0xbe]
+0x6a,0x1b,0x8a,0xbe
 
-# CHECK: s_bitset1_b64 s[0:1], vcc_hi    ; encoding: [0x6b,0x1b,0x80,0xbe]
-0x6b,0x1b,0x80,0xbe
+# CHECK: s_bitset1_b64 s[10:11], vcc_hi    ; encoding: [0x6b,0x1b,0x8a,0xbe]
+0x6b,0x1b,0x8a,0xbe
 
-# CHECK: s_bitset1_b64 s[0:1], tba_lo    ; encoding: [0x6c,0x1b,0x80,0xbe]
-0x6c,0x1b,0x80,0xbe
+# CHECK: s_bitset1_b64 s[10:11], tba_lo    ; encoding: [0x6c,0x1b,0x8a,0xbe]
+0x6c,0x1b,0x8a,0xbe
 
-# CHECK: s_bitset1_b64 s[0:1], tba_hi    ; encoding: [0x6d,0x1b,0x80,0xbe]
-0x6d,0x1b,0x80,0xbe
+# CHECK: s_bitset1_b64 s[10:11], tba_hi    ; encoding: [0x6d,0x1b,0x8a,0xbe]
+0x6d,0x1b,0x8a,0xbe
 
-# CHECK: s_bitset1_b64 s[0:1], tma_lo    ; encoding: [0x6e,0x1b,0x80,0xbe]
-0x6e,0x1b,0x80,0xbe
+# CHECK: s_bitset1_b64 s[10:11], tma_lo    ; encoding: [0x6e,0x1b,0x8a,0xbe]
+0x6e,0x1b,0x8a,0xbe
 
-# CHECK: s_bitset1_b64 s[0:1], tma_hi    ; encoding: [0x6f,0x1b,0x80,0xbe]
-0x6f,0x1b,0x80,0xbe
+# CHECK: s_bitset1_b64 s[10:11], tma_hi    ; encoding: [0x6f,0x1b,0x8a,0xbe]
+0x6f,0x1b,0x8a,0xbe
 
-# CHECK: s_bitset1_b64 s[0:1], ttmp11    ; encoding: [0x7b,0x1b,0x80,0xbe]
-0x7b,0x1b,0x80,0xbe
+# CHECK: s_bitset1_b64 s[10:11], ttmp11    ; encoding: [0x7b,0x1b,0x8a,0xbe]
+0x7b,0x1b,0x8a,0xbe
 
-# CHECK: s_bitset1_b64 s[0:1], m0    ; encoding: [0x7c,0x1b,0x80,0xbe]
-0x7c,0x1b,0x80,0xbe
+# CHECK: s_bitset1_b64 s[10:11], m0    ; encoding: [0x7c,0x1b,0x8a,0xbe]
+0x7c,0x1b,0x8a,0xbe
 
-# CHECK: s_bitset1_b64 s[0:1], exec_lo    ; encoding: [0x7e,0x1b,0x80,0xbe]
-0x7e,0x1b,0x80,0xbe
+# CHECK: s_bitset1_b64 s[10:11], exec_lo    ; encoding: [0x7e,0x1b,0x8a,0xbe]
+0x7e,0x1b,0x8a,0xbe
 
-# CHECK: s_bitset1_b64 s[0:1], exec_hi    ; encoding: [0x7f,0x1b,0x80,0xbe]
-0x7f,0x1b,0x80,0xbe
+# CHECK: s_bitset1_b64 s[10:11], exec_hi    ; encoding: [0x7f,0x1b,0x8a,0xbe]
+0x7f,0x1b,0x8a,0xbe
 
-# CHECK: s_bitset1_b64 s[0:1], 0    ; encoding: [0x80,0x1b,0x80,0xbe]
-0x80,0x1b,0x80,0xbe
+# CHECK: s_bitset1_b64 s[10:11], 0    ; encoding: [0x80,0x1b,0x8a,0xbe]
+0x80,0x1b,0x8a,0xbe
 
-# CHECK: s_bitset1_b64 s[0:1], -1    ; encoding: [0xc1,0x1b,0x80,0xbe]
-0xc1,0x1b,0x80,0xbe
+# CHECK: s_bitset1_b64 s[10:11], -1    ; encoding: [0xc1,0x1b,0x8a,0xbe]
+0xc1,0x1b,0x8a,0xbe
 
-# CHECK: s_bitset1_b64 s[0:1], 0.5    ; encoding: [0xf0,0x1b,0x80,0xbe]
-0xf0,0x1b,0x80,0xbe
+# CHECK: s_bitset1_b64 s[10:11], 0.5    ; encoding: [0xf0,0x1b,0x8a,0xbe]
+0xf0,0x1b,0x8a,0xbe
 
-# CHECK: s_bitset1_b64 s[0:1], -4.0    ; encoding: [0xf7,0x1b,0x80,0xbe]
-0xf7,0x1b,0x80,0xbe
+# CHECK: s_bitset1_b64 s[10:11], -4.0    ; encoding: [0xf7,0x1b,0x8a,0xbe]
+0xf7,0x1b,0x8a,0xbe
 
-# CHECK: s_bitset1_b64 s[0:1], scc    ; encoding: [0xfd,0x1b,0x80,0xbe]
-0xfd,0x1b,0x80,0xbe
+# CHECK: s_bitset1_b64 s[10:11], scc    ; encoding: [0xfd,0x1b,0x8a,0xbe]
+0xfd,0x1b,0x8a,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[10:11], 0xaf123456    ; encoding: [0xff,0x1b,0x8a,0xbe,0x56,0x34,0x12,0xaf]
+0xff,0x1b,0x8a,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_bitset1_b64 s[10:11], 0x3f717273    ; encoding: [0xff,0x1b,0x8a,0xbe,0x73,0x72,0x71,0x3f]
+0xff,0x1b,0x8a,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[10:11]    ; encoding: [0x00,0x1c,0x8a,0xbe]
+0x00,0x1c,0x8a,0xbe
 
-# CHECK: s_getpc_b64 s[2:3]    ; encoding: [0x00,0x1c,0x82,0xbe]
-0x00,0x1c,0x82,0xbe
+# CHECK: s_getpc_b64 s[12:13]    ; encoding: [0x00,0x1c,0x8c,0xbe]
+0x00,0x1c,0x8c,0xbe
 
 # CHECK: s_getpc_b64 s[100:101]    ; encoding: [0x00,0x1c,0xe4,0xbe]
 0x00,0x1c,0xe4,0xbe
@@ -9012,12 +9087,12 @@
 # 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[4:5]    ; encoding: [0x04,0x1d,0x80,0xbe]
+0x04,0x1d,0x80,0xbe
+
 # CHECK: s_setpc_b64 s[100:101]    ; encoding: [0x64,0x1d,0x80,0xbe]
 0x64,0x1d,0x80,0xbe
 
@@ -9036,60 +9111,60 @@
 # 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[10:11], s[2:3]    ; encoding: [0x02,0x1e,0x8a,0xbe]
+0x02,0x1e,0x8a,0xbe
 
-# CHECK: s_swappc_b64 s[100:101], s[0:1]    ; encoding: [0x00,0x1e,0xe4,0xbe]
-0x00,0x1e,0xe4,0xbe
+# CHECK: s_swappc_b64 s[12:13], s[2:3]    ; encoding: [0x02,0x1e,0x8c,0xbe]
+0x02,0x1e,0x8c,0xbe
 
-# CHECK: s_swappc_b64 flat_scratch, s[0:1]    ; encoding: [0x00,0x1e,0xe6,0xbe]
-0x00,0x1e,0xe6,0xbe
+# CHECK: s_swappc_b64 s[100:101], s[2:3]    ; encoding: [0x02,0x1e,0xe4,0xbe]
+0x02,0x1e,0xe4,0xbe
 
-# CHECK: s_swappc_b64 vcc, s[0:1]    ; encoding: [0x00,0x1e,0xea,0xbe]
-0x00,0x1e,0xea,0xbe
+# CHECK: s_swappc_b64 flat_scratch, s[2:3]    ; encoding: [0x02,0x1e,0xe6,0xbe]
+0x02,0x1e,0xe6,0xbe
 
-# CHECK: s_swappc_b64 tba, s[0:1]    ; encoding: [0x00,0x1e,0xec,0xbe]
-0x00,0x1e,0xec,0xbe
+# CHECK: s_swappc_b64 vcc, s[2:3]    ; encoding: [0x02,0x1e,0xea,0xbe]
+0x02,0x1e,0xea,0xbe
 
-# CHECK: s_swappc_b64 tma, s[0:1]    ; encoding: [0x00,0x1e,0xee,0xbe]
-0x00,0x1e,0xee,0xbe
+# CHECK: s_swappc_b64 tba, s[2:3]    ; encoding: [0x02,0x1e,0xec,0xbe]
+0x02,0x1e,0xec,0xbe
 
-# CHECK: s_swappc_b64 ttmp[10:11], s[0:1]    ; encoding: [0x00,0x1e,0xfa,0xbe]
-0x00,0x1e,0xfa,0xbe
+# CHECK: s_swappc_b64 tma, s[2:3]    ; encoding: [0x02,0x1e,0xee,0xbe]
+0x02,0x1e,0xee,0xbe
 
-# CHECK: s_swappc_b64 exec, s[0:1]    ; encoding: [0x00,0x1e,0xfe,0xbe]
-0x00,0x1e,0xfe,0xbe
+# CHECK: s_swappc_b64 ttmp[10:11], s[2:3]    ; encoding: [0x02,0x1e,0xfa,0xbe]
+0x02,0x1e,0xfa,0xbe
 
-# CHECK: s_swappc_b64 s[0:1], s[2:3]    ; encoding: [0x02,0x1e,0x80,0xbe]
-0x02,0x1e,0x80,0xbe
+# CHECK: s_swappc_b64 exec, s[2:3]    ; encoding: [0x02,0x1e,0xfe,0xbe]
+0x02,0x1e,0xfe,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[10:11], s[4:5]    ; encoding: [0x04,0x1e,0x8a,0xbe]
+0x04,0x1e,0x8a,0xbe
 
-# CHECK: s_swappc_b64 s[0:1], flat_scratch    ; encoding: [0x66,0x1e,0x80,0xbe]
-0x66,0x1e,0x80,0xbe
+# CHECK: s_swappc_b64 s[10:11], s[100:101]    ; encoding: [0x64,0x1e,0x8a,0xbe]
+0x64,0x1e,0x8a,0xbe
 
-# CHECK: s_swappc_b64 s[0:1], vcc    ; encoding: [0x6a,0x1e,0x80,0xbe]
-0x6a,0x1e,0x80,0xbe
+# CHECK: s_swappc_b64 s[10:11], flat_scratch    ; encoding: [0x66,0x1e,0x8a,0xbe]
+0x66,0x1e,0x8a,0xbe
 
-# CHECK: s_swappc_b64 s[0:1], tba    ; encoding: [0x6c,0x1e,0x80,0xbe]
-0x6c,0x1e,0x80,0xbe
+# CHECK: s_swappc_b64 s[10:11], vcc    ; encoding: [0x6a,0x1e,0x8a,0xbe]
+0x6a,0x1e,0x8a,0xbe
 
-# CHECK: s_swappc_b64 s[0:1], tma    ; encoding: [0x6e,0x1e,0x80,0xbe]
-0x6e,0x1e,0x80,0xbe
+# CHECK: s_swappc_b64 s[10:11], tba    ; encoding: [0x6c,0x1e,0x8a,0xbe]
+0x6c,0x1e,0x8a,0xbe
 
-# CHECK: s_swappc_b64 s[0:1], ttmp[10:11]    ; encoding: [0x7a,0x1e,0x80,0xbe]
-0x7a,0x1e,0x80,0xbe
+# CHECK: s_swappc_b64 s[10:11], tma    ; encoding: [0x6e,0x1e,0x8a,0xbe]
+0x6e,0x1e,0x8a,0xbe
 
-# CHECK: s_rfe_b64 s[0:1]    ; encoding: [0x00,0x1f,0x80,0xbe]
-0x00,0x1f,0x80,0xbe
+# CHECK: s_swappc_b64 s[10:11], ttmp[10:11]    ; encoding: [0x7a,0x1e,0x8a,0xbe]
+0x7a,0x1e,0x8a,0xbe
 
 # CHECK: s_rfe_b64 s[2:3]    ; encoding: [0x02,0x1f,0x80,0xbe]
 0x02,0x1f,0x80,0xbe
 
+# CHECK: s_rfe_b64 s[4:5]    ; encoding: [0x04,0x1f,0x80,0xbe]
+0x04,0x1f,0x80,0xbe
+
 # CHECK: s_rfe_b64 s[100:101]    ; encoding: [0x64,0x1f,0x80,0xbe]
 0x64,0x1f,0x80,0xbe
 
@@ -9108,1181 +9183,1181 @@
 # 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[10:11], s[2:3]    ; encoding: [0x02,0x20,0x8a,0xbe]
+0x02,0x20,0x8a,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[12:13], s[2:3]    ; encoding: [0x02,0x20,0x8c,0xbe]
+0x02,0x20,0x8c,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 s[100:101], s[2:3]    ; encoding: [0x02,0x20,0xe4,0xbe]
+0x02,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 flat_scratch, s[2:3]    ; encoding: [0x02,0x20,0xe6,0xbe]
+0x02,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 vcc, s[2:3]    ; encoding: [0x02,0x20,0xea,0xbe]
+0x02,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 tba, s[2:3]    ; encoding: [0x02,0x20,0xec,0xbe]
+0x02,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 tma, s[2:3]    ; encoding: [0x02,0x20,0xee,0xbe]
+0x02,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 ttmp[10:11], s[2:3]    ; encoding: [0x02,0x20,0xfa,0xbe]
+0x02,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[10:11], s[4:5]    ; encoding: [0x04,0x20,0x8a,0xbe]
+0x04,0x20,0x8a,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[10:11], s[100:101]    ; encoding: [0x64,0x20,0x8a,0xbe]
+0x64,0x20,0x8a,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[10:11], flat_scratch    ; encoding: [0x66,0x20,0x8a,0xbe]
+0x66,0x20,0x8a,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[10:11], vcc    ; encoding: [0x6a,0x20,0x8a,0xbe]
+0x6a,0x20,0x8a,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[10:11], tba    ; encoding: [0x6c,0x20,0x8a,0xbe]
+0x6c,0x20,0x8a,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[10:11], tma    ; encoding: [0x6e,0x20,0x8a,0xbe]
+0x6e,0x20,0x8a,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[10:11], ttmp[10:11]    ; encoding: [0x7a,0x20,0x8a,0xbe]
+0x7a,0x20,0x8a,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[10:11], exec    ; encoding: [0x7e,0x20,0x8a,0xbe]
+0x7e,0x20,0x8a,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[10:11], 0    ; encoding: [0x80,0x20,0x8a,0xbe]
+0x80,0x20,0x8a,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[10:11], -1    ; encoding: [0xc1,0x20,0x8a,0xbe]
+0xc1,0x20,0x8a,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[10:11], 0.5    ; encoding: [0xf0,0x20,0x8a,0xbe]
+0xf0,0x20,0x8a,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[10:11], -4.0    ; encoding: [0xf7,0x20,0x8a,0xbe]
+0xf7,0x20,0x8a,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[10:11], 0xaf123456    ; encoding: [0xff,0x20,0x8a,0xbe,0x56,0x34,0x12,0xaf]
+0xff,0x20,0x8a,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_and_saveexec_b64 s[10:11], 0x3f717273    ; encoding: [0xff,0x20,0x8a,0xbe,0x73,0x72,0x71,0x3f]
+0xff,0x20,0x8a,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[10:11], s[2:3]    ; encoding: [0x02,0x21,0x8a,0xbe]
+0x02,0x21,0x8a,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[12:13], s[2:3]    ; encoding: [0x02,0x21,0x8c,0xbe]
+0x02,0x21,0x8c,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 s[100:101], s[2:3]    ; encoding: [0x02,0x21,0xe4,0xbe]
+0x02,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 flat_scratch, s[2:3]    ; encoding: [0x02,0x21,0xe6,0xbe]
+0x02,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 vcc, s[2:3]    ; encoding: [0x02,0x21,0xea,0xbe]
+0x02,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 tba, s[2:3]    ; encoding: [0x02,0x21,0xec,0xbe]
+0x02,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 tma, s[2:3]    ; encoding: [0x02,0x21,0xee,0xbe]
+0x02,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 ttmp[10:11], s[2:3]    ; encoding: [0x02,0x21,0xfa,0xbe]
+0x02,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[10:11], s[4:5]    ; encoding: [0x04,0x21,0x8a,0xbe]
+0x04,0x21,0x8a,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[10:11], s[100:101]    ; encoding: [0x64,0x21,0x8a,0xbe]
+0x64,0x21,0x8a,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[10:11], flat_scratch    ; encoding: [0x66,0x21,0x8a,0xbe]
+0x66,0x21,0x8a,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[10:11], vcc    ; encoding: [0x6a,0x21,0x8a,0xbe]
+0x6a,0x21,0x8a,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[10:11], tba    ; encoding: [0x6c,0x21,0x8a,0xbe]
+0x6c,0x21,0x8a,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[10:11], tma    ; encoding: [0x6e,0x21,0x8a,0xbe]
+0x6e,0x21,0x8a,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[10:11], ttmp[10:11]    ; encoding: [0x7a,0x21,0x8a,0xbe]
+0x7a,0x21,0x8a,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[10:11], exec    ; encoding: [0x7e,0x21,0x8a,0xbe]
+0x7e,0x21,0x8a,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[10:11], 0    ; encoding: [0x80,0x21,0x8a,0xbe]
+0x80,0x21,0x8a,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[10:11], -1    ; encoding: [0xc1,0x21,0x8a,0xbe]
+0xc1,0x21,0x8a,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[10:11], 0.5    ; encoding: [0xf0,0x21,0x8a,0xbe]
+0xf0,0x21,0x8a,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[10:11], -4.0    ; encoding: [0xf7,0x21,0x8a,0xbe]
+0xf7,0x21,0x8a,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[10:11], 0xaf123456    ; encoding: [0xff,0x21,0x8a,0xbe,0x56,0x34,0x12,0xaf]
+0xff,0x21,0x8a,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_or_saveexec_b64 s[10:11], 0x3f717273    ; encoding: [0xff,0x21,0x8a,0xbe,0x73,0x72,0x71,0x3f]
+0xff,0x21,0x8a,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[10:11], s[2:3]    ; encoding: [0x02,0x22,0x8a,0xbe]
+0x02,0x22,0x8a,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[12:13], s[2:3]    ; encoding: [0x02,0x22,0x8c,0xbe]
+0x02,0x22,0x8c,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 s[100:101], s[2:3]    ; encoding: [0x02,0x22,0xe4,0xbe]
+0x02,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 flat_scratch, s[2:3]    ; encoding: [0x02,0x22,0xe6,0xbe]
+0x02,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 vcc, s[2:3]    ; encoding: [0x02,0x22,0xea,0xbe]
+0x02,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 tba, s[2:3]    ; encoding: [0x02,0x22,0xec,0xbe]
+0x02,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 tma, s[2:3]    ; encoding: [0x02,0x22,0xee,0xbe]
+0x02,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 ttmp[10:11], s[2:3]    ; encoding: [0x02,0x22,0xfa,0xbe]
+0x02,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[10:11], s[4:5]    ; encoding: [0x04,0x22,0x8a,0xbe]
+0x04,0x22,0x8a,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[10:11], s[100:101]    ; encoding: [0x64,0x22,0x8a,0xbe]
+0x64,0x22,0x8a,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[10:11], flat_scratch    ; encoding: [0x66,0x22,0x8a,0xbe]
+0x66,0x22,0x8a,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[10:11], vcc    ; encoding: [0x6a,0x22,0x8a,0xbe]
+0x6a,0x22,0x8a,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[10:11], tba    ; encoding: [0x6c,0x22,0x8a,0xbe]
+0x6c,0x22,0x8a,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[10:11], tma    ; encoding: [0x6e,0x22,0x8a,0xbe]
+0x6e,0x22,0x8a,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[10:11], ttmp[10:11]    ; encoding: [0x7a,0x22,0x8a,0xbe]
+0x7a,0x22,0x8a,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[10:11], exec    ; encoding: [0x7e,0x22,0x8a,0xbe]
+0x7e,0x22,0x8a,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[10:11], 0    ; encoding: [0x80,0x22,0x8a,0xbe]
+0x80,0x22,0x8a,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[10:11], -1    ; encoding: [0xc1,0x22,0x8a,0xbe]
+0xc1,0x22,0x8a,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[10:11], 0.5    ; encoding: [0xf0,0x22,0x8a,0xbe]
+0xf0,0x22,0x8a,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[10:11], -4.0    ; encoding: [0xf7,0x22,0x8a,0xbe]
+0xf7,0x22,0x8a,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[10:11], 0xaf123456    ; encoding: [0xff,0x22,0x8a,0xbe,0x56,0x34,0x12,0xaf]
+0xff,0x22,0x8a,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_xor_saveexec_b64 s[10:11], 0x3f717273    ; encoding: [0xff,0x22,0x8a,0xbe,0x73,0x72,0x71,0x3f]
+0xff,0x22,0x8a,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[10:11], s[2:3]    ; encoding: [0x02,0x23,0x8a,0xbe]
+0x02,0x23,0x8a,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[12:13], s[2:3]    ; encoding: [0x02,0x23,0x8c,0xbe]
+0x02,0x23,0x8c,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 s[100:101], s[2:3]    ; encoding: [0x02,0x23,0xe4,0xbe]
+0x02,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 flat_scratch, s[2:3]    ; encoding: [0x02,0x23,0xe6,0xbe]
+0x02,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 vcc, s[2:3]    ; encoding: [0x02,0x23,0xea,0xbe]
+0x02,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 tba, s[2:3]    ; encoding: [0x02,0x23,0xec,0xbe]
+0x02,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 tma, s[2:3]    ; encoding: [0x02,0x23,0xee,0xbe]
+0x02,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 ttmp[10:11], s[2:3]    ; encoding: [0x02,0x23,0xfa,0xbe]
+0x02,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[10:11], s[4:5]    ; encoding: [0x04,0x23,0x8a,0xbe]
+0x04,0x23,0x8a,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[10:11], s[100:101]    ; encoding: [0x64,0x23,0x8a,0xbe]
+0x64,0x23,0x8a,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[10:11], flat_scratch    ; encoding: [0x66,0x23,0x8a,0xbe]
+0x66,0x23,0x8a,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[10:11], vcc    ; encoding: [0x6a,0x23,0x8a,0xbe]
+0x6a,0x23,0x8a,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[10:11], tba    ; encoding: [0x6c,0x23,0x8a,0xbe]
+0x6c,0x23,0x8a,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[10:11], tma    ; encoding: [0x6e,0x23,0x8a,0xbe]
+0x6e,0x23,0x8a,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[10:11], ttmp[10:11]    ; encoding: [0x7a,0x23,0x8a,0xbe]
+0x7a,0x23,0x8a,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[10:11], exec    ; encoding: [0x7e,0x23,0x8a,0xbe]
+0x7e,0x23,0x8a,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[10:11], 0    ; encoding: [0x80,0x23,0x8a,0xbe]
+0x80,0x23,0x8a,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[10:11], -1    ; encoding: [0xc1,0x23,0x8a,0xbe]
+0xc1,0x23,0x8a,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[10:11], 0.5    ; encoding: [0xf0,0x23,0x8a,0xbe]
+0xf0,0x23,0x8a,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[10:11], -4.0    ; encoding: [0xf7,0x23,0x8a,0xbe]
+0xf7,0x23,0x8a,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[10:11], 0xaf123456    ; encoding: [0xff,0x23,0x8a,0xbe,0x56,0x34,0x12,0xaf]
+0xff,0x23,0x8a,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_andn2_saveexec_b64 s[10:11], 0x3f717273    ; encoding: [0xff,0x23,0x8a,0xbe,0x73,0x72,0x71,0x3f]
+0xff,0x23,0x8a,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[10:11], s[2:3]    ; encoding: [0x02,0x24,0x8a,0xbe]
+0x02,0x24,0x8a,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[12:13], s[2:3]    ; encoding: [0x02,0x24,0x8c,0xbe]
+0x02,0x24,0x8c,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 s[100:101], s[2:3]    ; encoding: [0x02,0x24,0xe4,0xbe]
+0x02,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 flat_scratch, s[2:3]    ; encoding: [0x02,0x24,0xe6,0xbe]
+0x02,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 vcc, s[2:3]    ; encoding: [0x02,0x24,0xea,0xbe]
+0x02,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 tba, s[2:3]    ; encoding: [0x02,0x24,0xec,0xbe]
+0x02,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 tma, s[2:3]    ; encoding: [0x02,0x24,0xee,0xbe]
+0x02,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 ttmp[10:11], s[2:3]    ; encoding: [0x02,0x24,0xfa,0xbe]
+0x02,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[10:11], s[4:5]    ; encoding: [0x04,0x24,0x8a,0xbe]
+0x04,0x24,0x8a,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[10:11], s[100:101]    ; encoding: [0x64,0x24,0x8a,0xbe]
+0x64,0x24,0x8a,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[10:11], flat_scratch    ; encoding: [0x66,0x24,0x8a,0xbe]
+0x66,0x24,0x8a,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[10:11], vcc    ; encoding: [0x6a,0x24,0x8a,0xbe]
+0x6a,0x24,0x8a,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[10:11], tba    ; encoding: [0x6c,0x24,0x8a,0xbe]
+0x6c,0x24,0x8a,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[10:11], tma    ; encoding: [0x6e,0x24,0x8a,0xbe]
+0x6e,0x24,0x8a,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[10:11], ttmp[10:11]    ; encoding: [0x7a,0x24,0x8a,0xbe]
+0x7a,0x24,0x8a,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[10:11], exec    ; encoding: [0x7e,0x24,0x8a,0xbe]
+0x7e,0x24,0x8a,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[10:11], 0    ; encoding: [0x80,0x24,0x8a,0xbe]
+0x80,0x24,0x8a,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[10:11], -1    ; encoding: [0xc1,0x24,0x8a,0xbe]
+0xc1,0x24,0x8a,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[10:11], 0.5    ; encoding: [0xf0,0x24,0x8a,0xbe]
+0xf0,0x24,0x8a,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[10:11], -4.0    ; encoding: [0xf7,0x24,0x8a,0xbe]
+0xf7,0x24,0x8a,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[10:11], 0xaf123456    ; encoding: [0xff,0x24,0x8a,0xbe,0x56,0x34,0x12,0xaf]
+0xff,0x24,0x8a,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_orn2_saveexec_b64 s[10:11], 0x3f717273    ; encoding: [0xff,0x24,0x8a,0xbe,0x73,0x72,0x71,0x3f]
+0xff,0x24,0x8a,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[10:11], s[2:3]    ; encoding: [0x02,0x25,0x8a,0xbe]
+0x02,0x25,0x8a,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[12:13], s[2:3]    ; encoding: [0x02,0x25,0x8c,0xbe]
+0x02,0x25,0x8c,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 s[100:101], s[2:3]    ; encoding: [0x02,0x25,0xe4,0xbe]
+0x02,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 flat_scratch, s[2:3]    ; encoding: [0x02,0x25,0xe6,0xbe]
+0x02,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 vcc, s[2:3]    ; encoding: [0x02,0x25,0xea,0xbe]
+0x02,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 tba, s[2:3]    ; encoding: [0x02,0x25,0xec,0xbe]
+0x02,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 tma, s[2:3]    ; encoding: [0x02,0x25,0xee,0xbe]
+0x02,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 ttmp[10:11], s[2:3]    ; encoding: [0x02,0x25,0xfa,0xbe]
+0x02,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[10:11], s[4:5]    ; encoding: [0x04,0x25,0x8a,0xbe]
+0x04,0x25,0x8a,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[10:11], s[100:101]    ; encoding: [0x64,0x25,0x8a,0xbe]
+0x64,0x25,0x8a,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[10:11], flat_scratch    ; encoding: [0x66,0x25,0x8a,0xbe]
+0x66,0x25,0x8a,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[10:11], vcc    ; encoding: [0x6a,0x25,0x8a,0xbe]
+0x6a,0x25,0x8a,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[10:11], tba    ; encoding: [0x6c,0x25,0x8a,0xbe]
+0x6c,0x25,0x8a,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[10:11], tma    ; encoding: [0x6e,0x25,0x8a,0xbe]
+0x6e,0x25,0x8a,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[10:11], ttmp[10:11]    ; encoding: [0x7a,0x25,0x8a,0xbe]
+0x7a,0x25,0x8a,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[10:11], exec    ; encoding: [0x7e,0x25,0x8a,0xbe]
+0x7e,0x25,0x8a,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[10:11], 0    ; encoding: [0x80,0x25,0x8a,0xbe]
+0x80,0x25,0x8a,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[10:11], -1    ; encoding: [0xc1,0x25,0x8a,0xbe]
+0xc1,0x25,0x8a,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[10:11], 0.5    ; encoding: [0xf0,0x25,0x8a,0xbe]
+0xf0,0x25,0x8a,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[10:11], -4.0    ; encoding: [0xf7,0x25,0x8a,0xbe]
+0xf7,0x25,0x8a,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[10:11], 0xaf123456    ; encoding: [0xff,0x25,0x8a,0xbe,0x56,0x34,0x12,0xaf]
+0xff,0x25,0x8a,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_nand_saveexec_b64 s[10:11], 0x3f717273    ; encoding: [0xff,0x25,0x8a,0xbe,0x73,0x72,0x71,0x3f]
+0xff,0x25,0x8a,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[10:11], s[2:3]    ; encoding: [0x02,0x26,0x8a,0xbe]
+0x02,0x26,0x8a,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[12:13], s[2:3]    ; encoding: [0x02,0x26,0x8c,0xbe]
+0x02,0x26,0x8c,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 s[100:101], s[2:3]    ; encoding: [0x02,0x26,0xe4,0xbe]
+0x02,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 flat_scratch, s[2:3]    ; encoding: [0x02,0x26,0xe6,0xbe]
+0x02,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 vcc, s[2:3]    ; encoding: [0x02,0x26,0xea,0xbe]
+0x02,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 tba, s[2:3]    ; encoding: [0x02,0x26,0xec,0xbe]
+0x02,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 tma, s[2:3]    ; encoding: [0x02,0x26,0xee,0xbe]
+0x02,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 ttmp[10:11], s[2:3]    ; encoding: [0x02,0x26,0xfa,0xbe]
+0x02,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[10:11], s[4:5]    ; encoding: [0x04,0x26,0x8a,0xbe]
+0x04,0x26,0x8a,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[10:11], s[100:101]    ; encoding: [0x64,0x26,0x8a,0xbe]
+0x64,0x26,0x8a,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[10:11], flat_scratch    ; encoding: [0x66,0x26,0x8a,0xbe]
+0x66,0x26,0x8a,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[10:11], vcc    ; encoding: [0x6a,0x26,0x8a,0xbe]
+0x6a,0x26,0x8a,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[10:11], tba    ; encoding: [0x6c,0x26,0x8a,0xbe]
+0x6c,0x26,0x8a,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[10:11], tma    ; encoding: [0x6e,0x26,0x8a,0xbe]
+0x6e,0x26,0x8a,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[10:11], ttmp[10:11]    ; encoding: [0x7a,0x26,0x8a,0xbe]
+0x7a,0x26,0x8a,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[10:11], exec    ; encoding: [0x7e,0x26,0x8a,0xbe]
+0x7e,0x26,0x8a,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[10:11], 0    ; encoding: [0x80,0x26,0x8a,0xbe]
+0x80,0x26,0x8a,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[10:11], -1    ; encoding: [0xc1,0x26,0x8a,0xbe]
+0xc1,0x26,0x8a,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[10:11], 0.5    ; encoding: [0xf0,0x26,0x8a,0xbe]
+0xf0,0x26,0x8a,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[10:11], -4.0    ; encoding: [0xf7,0x26,0x8a,0xbe]
+0xf7,0x26,0x8a,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[10:11], 0xaf123456    ; encoding: [0xff,0x26,0x8a,0xbe,0x56,0x34,0x12,0xaf]
+0xff,0x26,0x8a,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_nor_saveexec_b64 s[10:11], 0x3f717273    ; encoding: [0xff,0x26,0x8a,0xbe,0x73,0x72,0x71,0x3f]
+0xff,0x26,0x8a,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[10:11], s[2:3]    ; encoding: [0x02,0x27,0x8a,0xbe]
+0x02,0x27,0x8a,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[12:13], s[2:3]    ; encoding: [0x02,0x27,0x8c,0xbe]
+0x02,0x27,0x8c,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 s[100:101], s[2:3]    ; encoding: [0x02,0x27,0xe4,0xbe]
+0x02,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 flat_scratch, s[2:3]    ; encoding: [0x02,0x27,0xe6,0xbe]
+0x02,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 vcc, s[2:3]    ; encoding: [0x02,0x27,0xea,0xbe]
+0x02,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 tba, s[2:3]    ; encoding: [0x02,0x27,0xec,0xbe]
+0x02,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 tma, s[2:3]    ; encoding: [0x02,0x27,0xee,0xbe]
+0x02,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 ttmp[10:11], s[2:3]    ; encoding: [0x02,0x27,0xfa,0xbe]
+0x02,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[10:11], s[4:5]    ; encoding: [0x04,0x27,0x8a,0xbe]
+0x04,0x27,0x8a,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[10:11], s[100:101]    ; encoding: [0x64,0x27,0x8a,0xbe]
+0x64,0x27,0x8a,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[10:11], flat_scratch    ; encoding: [0x66,0x27,0x8a,0xbe]
+0x66,0x27,0x8a,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[10:11], vcc    ; encoding: [0x6a,0x27,0x8a,0xbe]
+0x6a,0x27,0x8a,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[10:11], tba    ; encoding: [0x6c,0x27,0x8a,0xbe]
+0x6c,0x27,0x8a,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[10:11], tma    ; encoding: [0x6e,0x27,0x8a,0xbe]
+0x6e,0x27,0x8a,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[10:11], ttmp[10:11]    ; encoding: [0x7a,0x27,0x8a,0xbe]
+0x7a,0x27,0x8a,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[10:11], exec    ; encoding: [0x7e,0x27,0x8a,0xbe]
+0x7e,0x27,0x8a,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[10:11], 0    ; encoding: [0x80,0x27,0x8a,0xbe]
+0x80,0x27,0x8a,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[10:11], -1    ; encoding: [0xc1,0x27,0x8a,0xbe]
+0xc1,0x27,0x8a,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[10:11], 0.5    ; encoding: [0xf0,0x27,0x8a,0xbe]
+0xf0,0x27,0x8a,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[10:11], -4.0    ; encoding: [0xf7,0x27,0x8a,0xbe]
+0xf7,0x27,0x8a,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[10:11], 0xaf123456    ; encoding: [0xff,0x27,0x8a,0xbe,0x56,0x34,0x12,0xaf]
+0xff,0x27,0x8a,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_xnor_saveexec_b64 s[10:11], 0x3f717273    ; encoding: [0xff,0x27,0x8a,0xbe,0x73,0x72,0x71,0x3f]
+0xff,0x27,0x8a,0xbe,0x73,0x72,0x71,0x3f
 
-# CHECK: s_quadmask_b32 s0, s0    ; encoding: [0x00,0x28,0x80,0xbe]
-0x00,0x28,0x80,0xbe
+# CHECK: s_quadmask_b32 s5, s1    ; encoding: [0x01,0x28,0x85,0xbe]
+0x01,0x28,0x85,0xbe
 
-# CHECK: s_quadmask_b32 s101, s0    ; encoding: [0x00,0x28,0xe5,0xbe]
-0x00,0x28,0xe5,0xbe
+# CHECK: s_quadmask_b32 s101, s1    ; encoding: [0x01,0x28,0xe5,0xbe]
+0x01,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_lo, s1    ; encoding: [0x01,0x28,0xe6,0xbe]
+0x01,0x28,0xe6,0xbe
 
-# CHECK: s_quadmask_b32 flat_scratch_hi, s0    ; encoding: [0x00,0x28,0xe7,0xbe]
-0x00,0x28,0xe7,0xbe
+# CHECK: s_quadmask_b32 flat_scratch_hi, s1    ; encoding: [0x01,0x28,0xe7,0xbe]
+0x01,0x28,0xe7,0xbe
 
-# CHECK: s_quadmask_b32 vcc_lo, s0    ; encoding: [0x00,0x28,0xea,0xbe]
-0x00,0x28,0xea,0xbe
+# CHECK: s_quadmask_b32 vcc_lo, s1    ; encoding: [0x01,0x28,0xea,0xbe]
+0x01,0x28,0xea,0xbe
 
-# CHECK: s_quadmask_b32 vcc_hi, s0    ; encoding: [0x00,0x28,0xeb,0xbe]
-0x00,0x28,0xeb,0xbe
+# CHECK: s_quadmask_b32 vcc_hi, s1    ; encoding: [0x01,0x28,0xeb,0xbe]
+0x01,0x28,0xeb,0xbe
 
-# CHECK: s_quadmask_b32 tba_lo, s0    ; encoding: [0x00,0x28,0xec,0xbe]
-0x00,0x28,0xec,0xbe
+# CHECK: s_quadmask_b32 tba_lo, s1    ; encoding: [0x01,0x28,0xec,0xbe]
+0x01,0x28,0xec,0xbe
 
-# CHECK: s_quadmask_b32 tba_hi, s0    ; encoding: [0x00,0x28,0xed,0xbe]
-0x00,0x28,0xed,0xbe
+# CHECK: s_quadmask_b32 tba_hi, s1    ; encoding: [0x01,0x28,0xed,0xbe]
+0x01,0x28,0xed,0xbe
 
-# CHECK: s_quadmask_b32 tma_lo, s0    ; encoding: [0x00,0x28,0xee,0xbe]
-0x00,0x28,0xee,0xbe
+# CHECK: s_quadmask_b32 tma_lo, s1    ; encoding: [0x01,0x28,0xee,0xbe]
+0x01,0x28,0xee,0xbe
 
-# CHECK: s_quadmask_b32 tma_hi, s0    ; encoding: [0x00,0x28,0xef,0xbe]
-0x00,0x28,0xef,0xbe
+# CHECK: s_quadmask_b32 tma_hi, s1    ; encoding: [0x01,0x28,0xef,0xbe]
+0x01,0x28,0xef,0xbe
 
-# CHECK: s_quadmask_b32 ttmp11, s0    ; encoding: [0x00,0x28,0xfb,0xbe]
-0x00,0x28,0xfb,0xbe
+# CHECK: s_quadmask_b32 ttmp11, s1    ; encoding: [0x01,0x28,0xfb,0xbe]
+0x01,0x28,0xfb,0xbe
 
-# CHECK: s_quadmask_b32 m0, s0    ; encoding: [0x00,0x28,0xfc,0xbe]
-0x00,0x28,0xfc,0xbe
+# CHECK: s_quadmask_b32 m0, s1    ; encoding: [0x01,0x28,0xfc,0xbe]
+0x01,0x28,0xfc,0xbe
 
-# CHECK: s_quadmask_b32 exec_lo, s0    ; encoding: [0x00,0x28,0xfe,0xbe]
-0x00,0x28,0xfe,0xbe
+# CHECK: s_quadmask_b32 exec_lo, s1    ; encoding: [0x01,0x28,0xfe,0xbe]
+0x01,0x28,0xfe,0xbe
 
-# CHECK: s_quadmask_b32 exec_hi, s0    ; encoding: [0x00,0x28,0xff,0xbe]
-0x00,0x28,0xff,0xbe
+# CHECK: s_quadmask_b32 exec_hi, s1    ; encoding: [0x01,0x28,0xff,0xbe]
+0x01,0x28,0xff,0xbe
 
-# CHECK: s_quadmask_b32 s0, s101    ; encoding: [0x65,0x28,0x80,0xbe]
-0x65,0x28,0x80,0xbe
+# CHECK: s_quadmask_b32 s5, s101    ; encoding: [0x65,0x28,0x85,0xbe]
+0x65,0x28,0x85,0xbe
 
-# CHECK: s_quadmask_b32 s0, flat_scratch_lo    ; encoding: [0x66,0x28,0x80,0xbe]
-0x66,0x28,0x80,0xbe
+# CHECK: s_quadmask_b32 s5, flat_scratch_lo    ; encoding: [0x66,0x28,0x85,0xbe]
+0x66,0x28,0x85,0xbe
 
-# CHECK: s_quadmask_b32 s0, flat_scratch_hi    ; encoding: [0x67,0x28,0x80,0xbe]
-0x67,0x28,0x80,0xbe
+# CHECK: s_quadmask_b32 s5, flat_scratch_hi    ; encoding: [0x67,0x28,0x85,0xbe]
+0x67,0x28,0x85,0xbe
 
-# CHECK: s_quadmask_b32 s0, vcc_lo    ; encoding: [0x6a,0x28,0x80,0xbe]
-0x6a,0x28,0x80,0xbe
+# CHECK: s_quadmask_b32 s5, vcc_lo    ; encoding: [0x6a,0x28,0x85,0xbe]
+0x6a,0x28,0x85,0xbe
 
-# CHECK: s_quadmask_b32 s0, vcc_hi    ; encoding: [0x6b,0x28,0x80,0xbe]
-0x6b,0x28,0x80,0xbe
+# CHECK: s_quadmask_b32 s5, vcc_hi    ; encoding: [0x6b,0x28,0x85,0xbe]
+0x6b,0x28,0x85,0xbe
 
-# CHECK: s_quadmask_b32 s0, tba_lo    ; encoding: [0x6c,0x28,0x80,0xbe]
-0x6c,0x28,0x80,0xbe
+# CHECK: s_quadmask_b32 s5, tba_lo    ; encoding: [0x6c,0x28,0x85,0xbe]
+0x6c,0x28,0x85,0xbe
 
-# CHECK: s_quadmask_b32 s0, tba_hi    ; encoding: [0x6d,0x28,0x80,0xbe]
-0x6d,0x28,0x80,0xbe
+# CHECK: s_quadmask_b32 s5, tba_hi    ; encoding: [0x6d,0x28,0x85,0xbe]
+0x6d,0x28,0x85,0xbe
 
-# CHECK: s_quadmask_b32 s0, tma_lo    ; encoding: [0x6e,0x28,0x80,0xbe]
-0x6e,0x28,0x80,0xbe
+# CHECK: s_quadmask_b32 s5, tma_lo    ; encoding: [0x6e,0x28,0x85,0xbe]
+0x6e,0x28,0x85,0xbe
 
-# CHECK: s_quadmask_b32 s0, tma_hi    ; encoding: [0x6f,0x28,0x80,0xbe]
-0x6f,0x28,0x80,0xbe
+# CHECK: s_quadmask_b32 s5, tma_hi    ; encoding: [0x6f,0x28,0x85,0xbe]
+0x6f,0x28,0x85,0xbe
 
-# CHECK: s_quadmask_b32 s0, ttmp11    ; encoding: [0x7b,0x28,0x80,0xbe]
-0x7b,0x28,0x80,0xbe
+# CHECK: s_quadmask_b32 s5, ttmp11    ; encoding: [0x7b,0x28,0x85,0xbe]
+0x7b,0x28,0x85,0xbe
 
-# CHECK: s_quadmask_b32 s0, m0    ; encoding: [0x7c,0x28,0x80,0xbe]
-0x7c,0x28,0x80,0xbe
+# CHECK: s_quadmask_b32 s5, m0    ; encoding: [0x7c,0x28,0x85,0xbe]
+0x7c,0x28,0x85,0xbe
 
-# CHECK: s_quadmask_b32 s0, exec_lo    ; encoding: [0x7e,0x28,0x80,0xbe]
-0x7e,0x28,0x80,0xbe
+# CHECK: s_quadmask_b32 s5, exec_lo    ; encoding: [0x7e,0x28,0x85,0xbe]
+0x7e,0x28,0x85,0xbe
 
-# CHECK: s_quadmask_b32 s0, exec_hi    ; encoding: [0x7f,0x28,0x80,0xbe]
-0x7f,0x28,0x80,0xbe
+# CHECK: s_quadmask_b32 s5, exec_hi    ; encoding: [0x7f,0x28,0x85,0xbe]
+0x7f,0x28,0x85,0xbe
 
-# CHECK: s_quadmask_b32 s0, 0    ; encoding: [0x80,0x28,0x80,0xbe]
-0x80,0x28,0x80,0xbe
+# CHECK: s_quadmask_b32 s5, 0    ; encoding: [0x80,0x28,0x85,0xbe]
+0x80,0x28,0x85,0xbe
 
-# CHECK: s_quadmask_b32 s0, -1    ; encoding: [0xc1,0x28,0x80,0xbe]
-0xc1,0x28,0x80,0xbe
+# CHECK: s_quadmask_b32 s5, -1    ; encoding: [0xc1,0x28,0x85,0xbe]
+0xc1,0x28,0x85,0xbe
 
-# CHECK: s_quadmask_b32 s0, 0.5    ; encoding: [0xf0,0x28,0x80,0xbe]
-0xf0,0x28,0x80,0xbe
+# CHECK: s_quadmask_b32 s5, 0.5    ; encoding: [0xf0,0x28,0x85,0xbe]
+0xf0,0x28,0x85,0xbe
 
-# CHECK: s_quadmask_b32 s0, -4.0    ; encoding: [0xf7,0x28,0x80,0xbe]
-0xf7,0x28,0x80,0xbe
+# CHECK: s_quadmask_b32 s5, -4.0    ; encoding: [0xf7,0x28,0x85,0xbe]
+0xf7,0x28,0x85,0xbe
 
-# CHECK: s_quadmask_b32 s0, scc    ; encoding: [0xfd,0x28,0x80,0xbe]
-0xfd,0x28,0x80,0xbe
+# CHECK: s_quadmask_b32 s5, scc    ; encoding: [0xfd,0x28,0x85,0xbe]
+0xfd,0x28,0x85,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 s5, 0xaf123456    ; encoding: [0xff,0x28,0x85,0xbe,0x56,0x34,0x12,0xaf]
+0xff,0x28,0x85,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_b32 s5, 0x3f717273    ; encoding: [0xff,0x28,0x85,0xbe,0x73,0x72,0x71,0x3f]
+0xff,0x28,0x85,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[10:11], s[2:3]    ; encoding: [0x02,0x29,0x8a,0xbe]
+0x02,0x29,0x8a,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[12:13], s[2:3]    ; encoding: [0x02,0x29,0x8c,0xbe]
+0x02,0x29,0x8c,0xbe
 
-# CHECK: s_quadmask_b64 s[100:101], s[0:1]    ; encoding: [0x00,0x29,0xe4,0xbe]
-0x00,0x29,0xe4,0xbe
+# CHECK: s_quadmask_b64 s[100:101], s[2:3]    ; encoding: [0x02,0x29,0xe4,0xbe]
+0x02,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 flat_scratch, s[2:3]    ; encoding: [0x02,0x29,0xe6,0xbe]
+0x02,0x29,0xe6,0xbe
 
-# CHECK: s_quadmask_b64 vcc, s[0:1]    ; encoding: [0x00,0x29,0xea,0xbe]
-0x00,0x29,0xea,0xbe
+# CHECK: s_quadmask_b64 vcc, s[2:3]    ; encoding: [0x02,0x29,0xea,0xbe]
+0x02,0x29,0xea,0xbe
 
-# CHECK: s_quadmask_b64 tba, s[0:1]    ; encoding: [0x00,0x29,0xec,0xbe]
-0x00,0x29,0xec,0xbe
+# CHECK: s_quadmask_b64 tba, s[2:3]    ; encoding: [0x02,0x29,0xec,0xbe]
+0x02,0x29,0xec,0xbe
 
-# CHECK: s_quadmask_b64 tma, s[0:1]    ; encoding: [0x00,0x29,0xee,0xbe]
-0x00,0x29,0xee,0xbe
+# CHECK: s_quadmask_b64 tma, s[2:3]    ; encoding: [0x02,0x29,0xee,0xbe]
+0x02,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 ttmp[10:11], s[2:3]    ; encoding: [0x02,0x29,0xfa,0xbe]
+0x02,0x29,0xfa,0xbe
 
-# CHECK: s_quadmask_b64 exec, s[0:1]    ; encoding: [0x00,0x29,0xfe,0xbe]
-0x00,0x29,0xfe,0xbe
+# CHECK: s_quadmask_b64 exec, s[2:3]    ; encoding: [0x02,0x29,0xfe,0xbe]
+0x02,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[10:11], s[4:5]    ; encoding: [0x04,0x29,0x8a,0xbe]
+0x04,0x29,0x8a,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[10:11], s[100:101]    ; encoding: [0x64,0x29,0x8a,0xbe]
+0x64,0x29,0x8a,0xbe
 
-# CHECK: s_quadmask_b64 s[0:1], flat_scratch    ; encoding: [0x66,0x29,0x80,0xbe]
-0x66,0x29,0x80,0xbe
+# CHECK: s_quadmask_b64 s[10:11], flat_scratch    ; encoding: [0x66,0x29,0x8a,0xbe]
+0x66,0x29,0x8a,0xbe
 
-# CHECK: s_quadmask_b64 s[0:1], vcc    ; encoding: [0x6a,0x29,0x80,0xbe]
-0x6a,0x29,0x80,0xbe
+# CHECK: s_quadmask_b64 s[10:11], vcc    ; encoding: [0x6a,0x29,0x8a,0xbe]
+0x6a,0x29,0x8a,0xbe
 
-# CHECK: s_quadmask_b64 s[0:1], tba    ; encoding: [0x6c,0x29,0x80,0xbe]
-0x6c,0x29,0x80,0xbe
+# CHECK: s_quadmask_b64 s[10:11], tba    ; encoding: [0x6c,0x29,0x8a,0xbe]
+0x6c,0x29,0x8a,0xbe
 
-# CHECK: s_quadmask_b64 s[0:1], tma    ; encoding: [0x6e,0x29,0x80,0xbe]
-0x6e,0x29,0x80,0xbe
+# CHECK: s_quadmask_b64 s[10:11], tma    ; encoding: [0x6e,0x29,0x8a,0xbe]
+0x6e,0x29,0x8a,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[10:11], ttmp[10:11]    ; encoding: [0x7a,0x29,0x8a,0xbe]
+0x7a,0x29,0x8a,0xbe
 
-# CHECK: s_quadmask_b64 s[0:1], exec    ; encoding: [0x7e,0x29,0x80,0xbe]
-0x7e,0x29,0x80,0xbe
+# CHECK: s_quadmask_b64 s[10:11], exec    ; encoding: [0x7e,0x29,0x8a,0xbe]
+0x7e,0x29,0x8a,0xbe
 
-# CHECK: s_quadmask_b64 s[0:1], 0    ; encoding: [0x80,0x29,0x80,0xbe]
-0x80,0x29,0x80,0xbe
+# CHECK: s_quadmask_b64 s[10:11], 0    ; encoding: [0x80,0x29,0x8a,0xbe]
+0x80,0x29,0x8a,0xbe
 
-# CHECK: s_quadmask_b64 s[0:1], -1    ; encoding: [0xc1,0x29,0x80,0xbe]
-0xc1,0x29,0x80,0xbe
+# CHECK: s_quadmask_b64 s[10:11], -1    ; encoding: [0xc1,0x29,0x8a,0xbe]
+0xc1,0x29,0x8a,0xbe
 
-# CHECK: s_quadmask_b64 s[0:1], 0.5    ; encoding: [0xf0,0x29,0x80,0xbe]
-0xf0,0x29,0x80,0xbe
+# CHECK: s_quadmask_b64 s[10:11], 0.5    ; encoding: [0xf0,0x29,0x8a,0xbe]
+0xf0,0x29,0x8a,0xbe
 
-# CHECK: s_quadmask_b64 s[0:1], -4.0    ; encoding: [0xf7,0x29,0x80,0xbe]
-0xf7,0x29,0x80,0xbe
+# CHECK: s_quadmask_b64 s[10:11], -4.0    ; encoding: [0xf7,0x29,0x8a,0xbe]
+0xf7,0x29,0x8a,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[10:11], 0xaf123456    ; encoding: [0xff,0x29,0x8a,0xbe,0x56,0x34,0x12,0xaf]
+0xff,0x29,0x8a,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_quadmask_b64 s[10:11], 0x3f717273    ; encoding: [0xff,0x29,0x8a,0xbe,0x73,0x72,0x71,0x3f]
+0xff,0x29,0x8a,0xbe,0x73,0x72,0x71,0x3f
 
-# CHECK: s_movrels_b32 s0, s0    ; encoding: [0x00,0x2a,0x80,0xbe]
-0x00,0x2a,0x80,0xbe
+# CHECK: s_movrels_b32 s5, s1    ; encoding: [0x01,0x2a,0x85,0xbe]
+0x01,0x2a,0x85,0xbe
 
-# CHECK: s_movrels_b32 s101, s0    ; encoding: [0x00,0x2a,0xe5,0xbe]
-0x00,0x2a,0xe5,0xbe
+# CHECK: s_movrels_b32 s101, s1    ; encoding: [0x01,0x2a,0xe5,0xbe]
+0x01,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_lo, s1    ; encoding: [0x01,0x2a,0xe6,0xbe]
+0x01,0x2a,0xe6,0xbe
 
-# CHECK: s_movrels_b32 flat_scratch_hi, s0    ; encoding: [0x00,0x2a,0xe7,0xbe]
-0x00,0x2a,0xe7,0xbe
+# CHECK: s_movrels_b32 flat_scratch_hi, s1    ; encoding: [0x01,0x2a,0xe7,0xbe]
+0x01,0x2a,0xe7,0xbe
 
-# CHECK: s_movrels_b32 vcc_lo, s0    ; encoding: [0x00,0x2a,0xea,0xbe]
-0x00,0x2a,0xea,0xbe
+# CHECK: s_movrels_b32 vcc_lo, s1    ; encoding: [0x01,0x2a,0xea,0xbe]
+0x01,0x2a,0xea,0xbe
 
-# CHECK: s_movrels_b32 vcc_hi, s0    ; encoding: [0x00,0x2a,0xeb,0xbe]
-0x00,0x2a,0xeb,0xbe
+# CHECK: s_movrels_b32 vcc_hi, s1    ; encoding: [0x01,0x2a,0xeb,0xbe]
+0x01,0x2a,0xeb,0xbe
 
-# CHECK: s_movrels_b32 tba_lo, s0    ; encoding: [0x00,0x2a,0xec,0xbe]
-0x00,0x2a,0xec,0xbe
+# CHECK: s_movrels_b32 tba_lo, s1    ; encoding: [0x01,0x2a,0xec,0xbe]
+0x01,0x2a,0xec,0xbe
 
-# CHECK: s_movrels_b32 tba_hi, s0    ; encoding: [0x00,0x2a,0xed,0xbe]
-0x00,0x2a,0xed,0xbe
+# CHECK: s_movrels_b32 tba_hi, s1    ; encoding: [0x01,0x2a,0xed,0xbe]
+0x01,0x2a,0xed,0xbe
 
-# CHECK: s_movrels_b32 tma_lo, s0    ; encoding: [0x00,0x2a,0xee,0xbe]
-0x00,0x2a,0xee,0xbe
+# CHECK: s_movrels_b32 tma_lo, s1    ; encoding: [0x01,0x2a,0xee,0xbe]
+0x01,0x2a,0xee,0xbe
 
-# CHECK: s_movrels_b32 tma_hi, s0    ; encoding: [0x00,0x2a,0xef,0xbe]
-0x00,0x2a,0xef,0xbe
+# CHECK: s_movrels_b32 tma_hi, s1    ; encoding: [0x01,0x2a,0xef,0xbe]
+0x01,0x2a,0xef,0xbe
 
-# CHECK: s_movrels_b32 ttmp11, s0    ; encoding: [0x00,0x2a,0xfb,0xbe]
-0x00,0x2a,0xfb,0xbe
+# CHECK: s_movrels_b32 ttmp11, s1    ; encoding: [0x01,0x2a,0xfb,0xbe]
+0x01,0x2a,0xfb,0xbe
 
-# CHECK: s_movrels_b32 m0, s0    ; encoding: [0x00,0x2a,0xfc,0xbe]
-0x00,0x2a,0xfc,0xbe
+# CHECK: s_movrels_b32 m0, s1    ; encoding: [0x01,0x2a,0xfc,0xbe]
+0x01,0x2a,0xfc,0xbe
 
-# CHECK: s_movrels_b32 exec_lo, s0    ; encoding: [0x00,0x2a,0xfe,0xbe]
-0x00,0x2a,0xfe,0xbe
+# CHECK: s_movrels_b32 exec_lo, s1    ; encoding: [0x01,0x2a,0xfe,0xbe]
+0x01,0x2a,0xfe,0xbe
 
-# CHECK: s_movrels_b32 exec_hi, s0    ; encoding: [0x00,0x2a,0xff,0xbe]
-0x00,0x2a,0xff,0xbe
+# CHECK: s_movrels_b32 exec_hi, s1    ; encoding: [0x01,0x2a,0xff,0xbe]
+0x01,0x2a,0xff,0xbe
 
-# CHECK: s_movrels_b32 s0, s101    ; encoding: [0x65,0x2a,0x80,0xbe]
-0x65,0x2a,0x80,0xbe
+# CHECK: s_movrels_b32 s5, s101    ; encoding: [0x65,0x2a,0x85,0xbe]
+0x65,0x2a,0x85,0xbe
 
-# CHECK: s_movrels_b32 s0, flat_scratch_lo    ; encoding: [0x66,0x2a,0x80,0xbe]
-0x66,0x2a,0x80,0xbe
+# CHECK: s_movrels_b32 s5, flat_scratch_lo    ; encoding: [0x66,0x2a,0x85,0xbe]
+0x66,0x2a,0x85,0xbe
 
-# CHECK: s_movrels_b32 s0, flat_scratch_hi    ; encoding: [0x67,0x2a,0x80,0xbe]
-0x67,0x2a,0x80,0xbe
+# CHECK: s_movrels_b32 s5, flat_scratch_hi    ; encoding: [0x67,0x2a,0x85,0xbe]
+0x67,0x2a,0x85,0xbe
 
-# CHECK: s_movrels_b32 s0, vcc_lo    ; encoding: [0x6a,0x2a,0x80,0xbe]
-0x6a,0x2a,0x80,0xbe
+# CHECK: s_movrels_b32 s5, vcc_lo    ; encoding: [0x6a,0x2a,0x85,0xbe]
+0x6a,0x2a,0x85,0xbe
 
-# CHECK: s_movrels_b32 s0, vcc_hi    ; encoding: [0x6b,0x2a,0x80,0xbe]
-0x6b,0x2a,0x80,0xbe
+# CHECK: s_movrels_b32 s5, vcc_hi    ; encoding: [0x6b,0x2a,0x85,0xbe]
+0x6b,0x2a,0x85,0xbe
 
-# CHECK: s_movrels_b32 s0, tba_lo    ; encoding: [0x6c,0x2a,0x80,0xbe]
-0x6c,0x2a,0x80,0xbe
+# CHECK: s_movrels_b32 s5, tba_lo    ; encoding: [0x6c,0x2a,0x85,0xbe]
+0x6c,0x2a,0x85,0xbe
 
-# CHECK: s_movrels_b32 s0, tba_hi    ; encoding: [0x6d,0x2a,0x80,0xbe]
-0x6d,0x2a,0x80,0xbe
+# CHECK: s_movrels_b32 s5, tba_hi    ; encoding: [0x6d,0x2a,0x85,0xbe]
+0x6d,0x2a,0x85,0xbe
 
-# CHECK: s_movrels_b32 s0, tma_lo    ; encoding: [0x6e,0x2a,0x80,0xbe]
-0x6e,0x2a,0x80,0xbe
+# CHECK: s_movrels_b32 s5, tma_lo    ; encoding: [0x6e,0x2a,0x85,0xbe]
+0x6e,0x2a,0x85,0xbe
 
-# CHECK: s_movrels_b32 s0, tma_hi    ; encoding: [0x6f,0x2a,0x80,0xbe]
-0x6f,0x2a,0x80,0xbe
+# CHECK: s_movrels_b32 s5, tma_hi    ; encoding: [0x6f,0x2a,0x85,0xbe]
+0x6f,0x2a,0x85,0xbe
 
-# CHECK: s_movrels_b32 s0, ttmp11    ; encoding: [0x7b,0x2a,0x80,0xbe]
-0x7b,0x2a,0x80,0xbe
+# CHECK: s_movrels_b32 s5, ttmp11    ; encoding: [0x7b,0x2a,0x85,0xbe]
+0x7b,0x2a,0x85,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[10:11], s[2:3]    ; encoding: [0x02,0x2b,0x8a,0xbe]
+0x02,0x2b,0x8a,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[12:13], s[2:3]    ; encoding: [0x02,0x2b,0x8c,0xbe]
+0x02,0x2b,0x8c,0xbe
 
-# CHECK: s_movrels_b64 s[100:101], s[0:1]    ; encoding: [0x00,0x2b,0xe4,0xbe]
-0x00,0x2b,0xe4,0xbe
+# CHECK: s_movrels_b64 s[100:101], s[2:3]    ; encoding: [0x02,0x2b,0xe4,0xbe]
+0x02,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 flat_scratch, s[2:3]    ; encoding: [0x02,0x2b,0xe6,0xbe]
+0x02,0x2b,0xe6,0xbe
 
-# CHECK: s_movrels_b64 vcc, s[0:1]    ; encoding: [0x00,0x2b,0xea,0xbe]
-0x00,0x2b,0xea,0xbe
+# CHECK: s_movrels_b64 vcc, s[2:3]    ; encoding: [0x02,0x2b,0xea,0xbe]
+0x02,0x2b,0xea,0xbe
 
-# CHECK: s_movrels_b64 tba, s[0:1]    ; encoding: [0x00,0x2b,0xec,0xbe]
-0x00,0x2b,0xec,0xbe
+# CHECK: s_movrels_b64 tba, s[2:3]    ; encoding: [0x02,0x2b,0xec,0xbe]
+0x02,0x2b,0xec,0xbe
 
-# CHECK: s_movrels_b64 tma, s[0:1]    ; encoding: [0x00,0x2b,0xee,0xbe]
-0x00,0x2b,0xee,0xbe
+# CHECK: s_movrels_b64 tma, s[2:3]    ; encoding: [0x02,0x2b,0xee,0xbe]
+0x02,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 ttmp[10:11], s[2:3]    ; encoding: [0x02,0x2b,0xfa,0xbe]
+0x02,0x2b,0xfa,0xbe
 
-# CHECK: s_movrels_b64 exec, s[0:1]    ; encoding: [0x00,0x2b,0xfe,0xbe]
-0x00,0x2b,0xfe,0xbe
+# CHECK: s_movrels_b64 exec, s[2:3]    ; encoding: [0x02,0x2b,0xfe,0xbe]
+0x02,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[10:11], s[4:5]    ; encoding: [0x04,0x2b,0x8a,0xbe]
+0x04,0x2b,0x8a,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[10:11], s[100:101]    ; encoding: [0x64,0x2b,0x8a,0xbe]
+0x64,0x2b,0x8a,0xbe
 
-# CHECK: s_movrels_b64 s[0:1], flat_scratch    ; encoding: [0x66,0x2b,0x80,0xbe]
-0x66,0x2b,0x80,0xbe
+# CHECK: s_movrels_b64 s[10:11], flat_scratch    ; encoding: [0x66,0x2b,0x8a,0xbe]
+0x66,0x2b,0x8a,0xbe
 
-# CHECK: s_movrels_b64 s[0:1], vcc    ; encoding: [0x6a,0x2b,0x80,0xbe]
-0x6a,0x2b,0x80,0xbe
+# CHECK: s_movrels_b64 s[10:11], vcc    ; encoding: [0x6a,0x2b,0x8a,0xbe]
+0x6a,0x2b,0x8a,0xbe
 
-# CHECK: s_movrels_b64 s[0:1], tba    ; encoding: [0x6c,0x2b,0x80,0xbe]
-0x6c,0x2b,0x80,0xbe
+# CHECK: s_movrels_b64 s[10:11], tba    ; encoding: [0x6c,0x2b,0x8a,0xbe]
+0x6c,0x2b,0x8a,0xbe
 
-# CHECK: s_movrels_b64 s[0:1], tma    ; encoding: [0x6e,0x2b,0x80,0xbe]
-0x6e,0x2b,0x80,0xbe
+# CHECK: s_movrels_b64 s[10:11], tma    ; encoding: [0x6e,0x2b,0x8a,0xbe]
+0x6e,0x2b,0x8a,0xbe
 
-# CHECK: s_movrels_b64 s[0:1], ttmp[10:11]    ; encoding: [0x7a,0x2b,0x80,0xbe]
-0x7a,0x2b,0x80,0xbe
+# CHECK: s_movrels_b64 s[10:11], ttmp[10:11]    ; encoding: [0x7a,0x2b,0x8a,0xbe]
+0x7a,0x2b,0x8a,0xbe
 
-# CHECK: s_movreld_b32 s0, s0    ; encoding: [0x00,0x2c,0x80,0xbe]
-0x00,0x2c,0x80,0xbe
+# CHECK: s_movreld_b32 s5, s1    ; encoding: [0x01,0x2c,0x85,0xbe]
+0x01,0x2c,0x85,0xbe
 
-# CHECK: s_movreld_b32 s101, s0    ; encoding: [0x00,0x2c,0xe5,0xbe]
-0x00,0x2c,0xe5,0xbe
+# CHECK: s_movreld_b32 s101, s1    ; encoding: [0x01,0x2c,0xe5,0xbe]
+0x01,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_lo, s1    ; encoding: [0x01,0x2c,0xe6,0xbe]
+0x01,0x2c,0xe6,0xbe
 
-# CHECK: s_movreld_b32 flat_scratch_hi, s0    ; encoding: [0x00,0x2c,0xe7,0xbe]
-0x00,0x2c,0xe7,0xbe
+# CHECK: s_movreld_b32 flat_scratch_hi, s1    ; encoding: [0x01,0x2c,0xe7,0xbe]
+0x01,0x2c,0xe7,0xbe
 
-# CHECK: s_movreld_b32 vcc_lo, s0    ; encoding: [0x00,0x2c,0xea,0xbe]
-0x00,0x2c,0xea,0xbe
+# CHECK: s_movreld_b32 vcc_lo, s1    ; encoding: [0x01,0x2c,0xea,0xbe]
+0x01,0x2c,0xea,0xbe
 
-# CHECK: s_movreld_b32 vcc_hi, s0    ; encoding: [0x00,0x2c,0xeb,0xbe]
-0x00,0x2c,0xeb,0xbe
+# CHECK: s_movreld_b32 vcc_hi, s1    ; encoding: [0x01,0x2c,0xeb,0xbe]
+0x01,0x2c,0xeb,0xbe
 
-# CHECK: s_movreld_b32 tba_lo, s0    ; encoding: [0x00,0x2c,0xec,0xbe]
-0x00,0x2c,0xec,0xbe
+# CHECK: s_movreld_b32 tba_lo, s1    ; encoding: [0x01,0x2c,0xec,0xbe]
+0x01,0x2c,0xec,0xbe
 
-# CHECK: s_movreld_b32 tba_hi, s0    ; encoding: [0x00,0x2c,0xed,0xbe]
-0x00,0x2c,0xed,0xbe
+# CHECK: s_movreld_b32 tba_hi, s1    ; encoding: [0x01,0x2c,0xed,0xbe]
+0x01,0x2c,0xed,0xbe
 
-# CHECK: s_movreld_b32 tma_lo, s0    ; encoding: [0x00,0x2c,0xee,0xbe]
-0x00,0x2c,0xee,0xbe
+# CHECK: s_movreld_b32 tma_lo, s1    ; encoding: [0x01,0x2c,0xee,0xbe]
+0x01,0x2c,0xee,0xbe
 
-# CHECK: s_movreld_b32 tma_hi, s0    ; encoding: [0x00,0x2c,0xef,0xbe]
-0x00,0x2c,0xef,0xbe
+# CHECK: s_movreld_b32 tma_hi, s1    ; encoding: [0x01,0x2c,0xef,0xbe]
+0x01,0x2c,0xef,0xbe
 
-# CHECK: s_movreld_b32 ttmp11, s0    ; encoding: [0x00,0x2c,0xfb,0xbe]
-0x00,0x2c,0xfb,0xbe
+# CHECK: s_movreld_b32 ttmp11, s1    ; encoding: [0x01,0x2c,0xfb,0xbe]
+0x01,0x2c,0xfb,0xbe
 
-# CHECK: s_movreld_b32 s0, s101    ; encoding: [0x65,0x2c,0x80,0xbe]
-0x65,0x2c,0x80,0xbe
+# CHECK: s_movreld_b32 s5, s101    ; encoding: [0x65,0x2c,0x85,0xbe]
+0x65,0x2c,0x85,0xbe
 
-# CHECK: s_movreld_b32 s0, flat_scratch_lo    ; encoding: [0x66,0x2c,0x80,0xbe]
-0x66,0x2c,0x80,0xbe
+# CHECK: s_movreld_b32 s5, flat_scratch_lo    ; encoding: [0x66,0x2c,0x85,0xbe]
+0x66,0x2c,0x85,0xbe
 
-# CHECK: s_movreld_b32 s0, flat_scratch_hi    ; encoding: [0x67,0x2c,0x80,0xbe]
-0x67,0x2c,0x80,0xbe
+# CHECK: s_movreld_b32 s5, flat_scratch_hi    ; encoding: [0x67,0x2c,0x85,0xbe]
+0x67,0x2c,0x85,0xbe
 
-# CHECK: s_movreld_b32 s0, vcc_lo    ; encoding: [0x6a,0x2c,0x80,0xbe]
-0x6a,0x2c,0x80,0xbe
+# CHECK: s_movreld_b32 s5, vcc_lo    ; encoding: [0x6a,0x2c,0x85,0xbe]
+0x6a,0x2c,0x85,0xbe
 
-# CHECK: s_movreld_b32 s0, vcc_hi    ; encoding: [0x6b,0x2c,0x80,0xbe]
-0x6b,0x2c,0x80,0xbe
+# CHECK: s_movreld_b32 s5, vcc_hi    ; encoding: [0x6b,0x2c,0x85,0xbe]
+0x6b,0x2c,0x85,0xbe
 
-# CHECK: s_movreld_b32 s0, tba_lo    ; encoding: [0x6c,0x2c,0x80,0xbe]
-0x6c,0x2c,0x80,0xbe
+# CHECK: s_movreld_b32 s5, tba_lo    ; encoding: [0x6c,0x2c,0x85,0xbe]
+0x6c,0x2c,0x85,0xbe
 
-# CHECK: s_movreld_b32 s0, tba_hi    ; encoding: [0x6d,0x2c,0x80,0xbe]
-0x6d,0x2c,0x80,0xbe
+# CHECK: s_movreld_b32 s5, tba_hi    ; encoding: [0x6d,0x2c,0x85,0xbe]
+0x6d,0x2c,0x85,0xbe
 
-# CHECK: s_movreld_b32 s0, tma_lo    ; encoding: [0x6e,0x2c,0x80,0xbe]
-0x6e,0x2c,0x80,0xbe
+# CHECK: s_movreld_b32 s5, tma_lo    ; encoding: [0x6e,0x2c,0x85,0xbe]
+0x6e,0x2c,0x85,0xbe
 
-# CHECK: s_movreld_b32 s0, tma_hi    ; encoding: [0x6f,0x2c,0x80,0xbe]
-0x6f,0x2c,0x80,0xbe
+# CHECK: s_movreld_b32 s5, tma_hi    ; encoding: [0x6f,0x2c,0x85,0xbe]
+0x6f,0x2c,0x85,0xbe
 
-# CHECK: s_movreld_b32 s0, ttmp11    ; encoding: [0x7b,0x2c,0x80,0xbe]
-0x7b,0x2c,0x80,0xbe
+# CHECK: s_movreld_b32 s5, ttmp11    ; encoding: [0x7b,0x2c,0x85,0xbe]
+0x7b,0x2c,0x85,0xbe
 
-# CHECK: s_movreld_b32 s0, m0    ; encoding: [0x7c,0x2c,0x80,0xbe]
-0x7c,0x2c,0x80,0xbe
+# CHECK: s_movreld_b32 s5, m0    ; encoding: [0x7c,0x2c,0x85,0xbe]
+0x7c,0x2c,0x85,0xbe
 
-# CHECK: s_movreld_b32 s0, 0    ; encoding: [0x80,0x2c,0x80,0xbe]
-0x80,0x2c,0x80,0xbe
+# CHECK: s_movreld_b32 s5, 0    ; encoding: [0x80,0x2c,0x85,0xbe]
+0x80,0x2c,0x85,0xbe
 
-# CHECK: s_movreld_b32 s0, -1    ; encoding: [0xc1,0x2c,0x80,0xbe]
-0xc1,0x2c,0x80,0xbe
+# CHECK: s_movreld_b32 s5, -1    ; encoding: [0xc1,0x2c,0x85,0xbe]
+0xc1,0x2c,0x85,0xbe
 
-# CHECK: s_movreld_b32 s0, 0.5    ; encoding: [0xf0,0x2c,0x80,0xbe]
-0xf0,0x2c,0x80,0xbe
+# CHECK: s_movreld_b32 s5, 0.5    ; encoding: [0xf0,0x2c,0x85,0xbe]
+0xf0,0x2c,0x85,0xbe
 
-# CHECK: s_movreld_b32 s0, -4.0    ; encoding: [0xf7,0x2c,0x80,0xbe]
-0xf7,0x2c,0x80,0xbe
+# CHECK: s_movreld_b32 s5, -4.0    ; encoding: [0xf7,0x2c,0x85,0xbe]
+0xf7,0x2c,0x85,0xbe
 
-# CHECK: s_movreld_b32 s0, scc    ; encoding: [0xfd,0x2c,0x80,0xbe]
-0xfd,0x2c,0x80,0xbe
+# CHECK: s_movreld_b32 s5, scc    ; encoding: [0xfd,0x2c,0x85,0xbe]
+0xfd,0x2c,0x85,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 s5, 0xaf123456    ; encoding: [0xff,0x2c,0x85,0xbe,0x56,0x34,0x12,0xaf]
+0xff,0x2c,0x85,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_b32 s5, 0x3f717273    ; encoding: [0xff,0x2c,0x85,0xbe,0x73,0x72,0x71,0x3f]
+0xff,0x2c,0x85,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[10:11], s[2:3]    ; encoding: [0x02,0x2d,0x8a,0xbe]
+0x02,0x2d,0x8a,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[12:13], s[2:3]    ; encoding: [0x02,0x2d,0x8c,0xbe]
+0x02,0x2d,0x8c,0xbe
 
-# CHECK: s_movreld_b64 s[100:101], s[0:1]    ; encoding: [0x00,0x2d,0xe4,0xbe]
-0x00,0x2d,0xe4,0xbe
+# CHECK: s_movreld_b64 s[100:101], s[2:3]    ; encoding: [0x02,0x2d,0xe4,0xbe]
+0x02,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 flat_scratch, s[2:3]    ; encoding: [0x02,0x2d,0xe6,0xbe]
+0x02,0x2d,0xe6,0xbe
 
-# CHECK: s_movreld_b64 vcc, s[0:1]    ; encoding: [0x00,0x2d,0xea,0xbe]
-0x00,0x2d,0xea,0xbe
+# CHECK: s_movreld_b64 vcc, s[2:3]    ; encoding: [0x02,0x2d,0xea,0xbe]
+0x02,0x2d,0xea,0xbe
 
-# CHECK: s_movreld_b64 tba, s[0:1]    ; encoding: [0x00,0x2d,0xec,0xbe]
-0x00,0x2d,0xec,0xbe
+# CHECK: s_movreld_b64 tba, s[2:3]    ; encoding: [0x02,0x2d,0xec,0xbe]
+0x02,0x2d,0xec,0xbe
 
-# CHECK: s_movreld_b64 tma, s[0:1]    ; encoding: [0x00,0x2d,0xee,0xbe]
-0x00,0x2d,0xee,0xbe
+# CHECK: s_movreld_b64 tma, s[2:3]    ; encoding: [0x02,0x2d,0xee,0xbe]
+0x02,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 ttmp[10:11], s[2:3]    ; encoding: [0x02,0x2d,0xfa,0xbe]
+0x02,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[10:11], s[4:5]    ; encoding: [0x04,0x2d,0x8a,0xbe]
+0x04,0x2d,0x8a,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[10:11], s[100:101]    ; encoding: [0x64,0x2d,0x8a,0xbe]
+0x64,0x2d,0x8a,0xbe
 
-# CHECK: s_movreld_b64 s[0:1], flat_scratch    ; encoding: [0x66,0x2d,0x80,0xbe]
-0x66,0x2d,0x80,0xbe
+# CHECK: s_movreld_b64 s[10:11], flat_scratch    ; encoding: [0x66,0x2d,0x8a,0xbe]
+0x66,0x2d,0x8a,0xbe
 
-# CHECK: s_movreld_b64 s[0:1], vcc    ; encoding: [0x6a,0x2d,0x80,0xbe]
-0x6a,0x2d,0x80,0xbe
+# CHECK: s_movreld_b64 s[10:11], vcc    ; encoding: [0x6a,0x2d,0x8a,0xbe]
+0x6a,0x2d,0x8a,0xbe
 
-# CHECK: s_movreld_b64 s[0:1], tba    ; encoding: [0x6c,0x2d,0x80,0xbe]
-0x6c,0x2d,0x80,0xbe
+# CHECK: s_movreld_b64 s[10:11], tba    ; encoding: [0x6c,0x2d,0x8a,0xbe]
+0x6c,0x2d,0x8a,0xbe
 
-# CHECK: s_movreld_b64 s[0:1], tma    ; encoding: [0x6e,0x2d,0x80,0xbe]
-0x6e,0x2d,0x80,0xbe
+# CHECK: s_movreld_b64 s[10:11], tma    ; encoding: [0x6e,0x2d,0x8a,0xbe]
+0x6e,0x2d,0x8a,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[10:11], ttmp[10:11]    ; encoding: [0x7a,0x2d,0x8a,0xbe]
+0x7a,0x2d,0x8a,0xbe
 
-# CHECK: s_movreld_b64 s[0:1], 0    ; encoding: [0x80,0x2d,0x80,0xbe]
-0x80,0x2d,0x80,0xbe
+# CHECK: s_movreld_b64 s[10:11], 0    ; encoding: [0x80,0x2d,0x8a,0xbe]
+0x80,0x2d,0x8a,0xbe
 
-# CHECK: s_movreld_b64 s[0:1], -1    ; encoding: [0xc1,0x2d,0x80,0xbe]
-0xc1,0x2d,0x80,0xbe
+# CHECK: s_movreld_b64 s[10:11], -1    ; encoding: [0xc1,0x2d,0x8a,0xbe]
+0xc1,0x2d,0x8a,0xbe
 
-# CHECK: s_movreld_b64 s[0:1], 0.5    ; encoding: [0xf0,0x2d,0x80,0xbe]
-0xf0,0x2d,0x80,0xbe
+# CHECK: s_movreld_b64 s[10:11], 0.5    ; encoding: [0xf0,0x2d,0x8a,0xbe]
+0xf0,0x2d,0x8a,0xbe
 
-# CHECK: s_movreld_b64 s[0:1], -4.0    ; encoding: [0xf7,0x2d,0x80,0xbe]
-0xf7,0x2d,0x80,0xbe
+# CHECK: s_movreld_b64 s[10:11], -4.0    ; encoding: [0xf7,0x2d,0x8a,0xbe]
+0xf7,0x2d,0x8a,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[10:11], 0xaf123456    ; encoding: [0xff,0x2d,0x8a,0xbe,0x56,0x34,0x12,0xaf]
+0xff,0x2d,0x8a,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_movreld_b64 s[10:11], 0x3f717273    ; encoding: [0xff,0x2d,0x8a,0xbe,0x73,0x72,0x71,0x3f]
+0xff,0x2d,0x8a,0xbe,0x73,0x72,0x71,0x3f
 
-# CHECK: s_abs_i32 s0, s0    ; encoding: [0x00,0x30,0x80,0xbe]
-0x00,0x30,0x80,0xbe
+# CHECK: s_abs_i32 s5, s1    ; encoding: [0x01,0x30,0x85,0xbe]
+0x01,0x30,0x85,0xbe
 
-# CHECK: s_abs_i32 s101, s0    ; encoding: [0x00,0x30,0xe5,0xbe]
-0x00,0x30,0xe5,0xbe
+# CHECK: s_abs_i32 s101, s1    ; encoding: [0x01,0x30,0xe5,0xbe]
+0x01,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_lo, s1    ; encoding: [0x01,0x30,0xe6,0xbe]
+0x01,0x30,0xe6,0xbe
 
-# CHECK: s_abs_i32 flat_scratch_hi, s0    ; encoding: [0x00,0x30,0xe7,0xbe]
-0x00,0x30,0xe7,0xbe
+# CHECK: s_abs_i32 flat_scratch_hi, s1    ; encoding: [0x01,0x30,0xe7,0xbe]
+0x01,0x30,0xe7,0xbe
 
-# CHECK: s_abs_i32 vcc_lo, s0    ; encoding: [0x00,0x30,0xea,0xbe]
-0x00,0x30,0xea,0xbe
+# CHECK: s_abs_i32 vcc_lo, s1    ; encoding: [0x01,0x30,0xea,0xbe]
+0x01,0x30,0xea,0xbe
 
-# CHECK: s_abs_i32 vcc_hi, s0    ; encoding: [0x00,0x30,0xeb,0xbe]
-0x00,0x30,0xeb,0xbe
+# CHECK: s_abs_i32 vcc_hi, s1    ; encoding: [0x01,0x30,0xeb,0xbe]
+0x01,0x30,0xeb,0xbe
 
-# CHECK: s_abs_i32 tba_lo, s0    ; encoding: [0x00,0x30,0xec,0xbe]
-0x00,0x30,0xec,0xbe
+# CHECK: s_abs_i32 tba_lo, s1    ; encoding: [0x01,0x30,0xec,0xbe]
+0x01,0x30,0xec,0xbe
 
-# CHECK: s_abs_i32 tba_hi, s0    ; encoding: [0x00,0x30,0xed,0xbe]
-0x00,0x30,0xed,0xbe
+# CHECK: s_abs_i32 tba_hi, s1    ; encoding: [0x01,0x30,0xed,0xbe]
+0x01,0x30,0xed,0xbe
 
-# CHECK: s_abs_i32 tma_lo, s0    ; encoding: [0x00,0x30,0xee,0xbe]
-0x00,0x30,0xee,0xbe
+# CHECK: s_abs_i32 tma_lo, s1    ; encoding: [0x01,0x30,0xee,0xbe]
+0x01,0x30,0xee,0xbe
 
-# CHECK: s_abs_i32 tma_hi, s0    ; encoding: [0x00,0x30,0xef,0xbe]
-0x00,0x30,0xef,0xbe
+# CHECK: s_abs_i32 tma_hi, s1    ; encoding: [0x01,0x30,0xef,0xbe]
+0x01,0x30,0xef,0xbe
 
-# CHECK: s_abs_i32 ttmp11, s0    ; encoding: [0x00,0x30,0xfb,0xbe]
-0x00,0x30,0xfb,0xbe
+# CHECK: s_abs_i32 ttmp11, s1    ; encoding: [0x01,0x30,0xfb,0xbe]
+0x01,0x30,0xfb,0xbe
 
-# CHECK: s_abs_i32 m0, s0    ; encoding: [0x00,0x30,0xfc,0xbe]
-0x00,0x30,0xfc,0xbe
+# CHECK: s_abs_i32 m0, s1    ; encoding: [0x01,0x30,0xfc,0xbe]
+0x01,0x30,0xfc,0xbe
 
-# CHECK: s_abs_i32 exec_lo, s0    ; encoding: [0x00,0x30,0xfe,0xbe]
-0x00,0x30,0xfe,0xbe
+# CHECK: s_abs_i32 exec_lo, s1    ; encoding: [0x01,0x30,0xfe,0xbe]
+0x01,0x30,0xfe,0xbe
 
-# CHECK: s_abs_i32 exec_hi, s0    ; encoding: [0x00,0x30,0xff,0xbe]
-0x00,0x30,0xff,0xbe
+# CHECK: s_abs_i32 exec_hi, s1    ; encoding: [0x01,0x30,0xff,0xbe]
+0x01,0x30,0xff,0xbe
 
-# CHECK: s_abs_i32 s0, s101    ; encoding: [0x65,0x30,0x80,0xbe]
-0x65,0x30,0x80,0xbe
+# CHECK: s_abs_i32 s5, s101    ; encoding: [0x65,0x30,0x85,0xbe]
+0x65,0x30,0x85,0xbe
 
-# CHECK: s_abs_i32 s0, flat_scratch_lo    ; encoding: [0x66,0x30,0x80,0xbe]
-0x66,0x30,0x80,0xbe
+# CHECK: s_abs_i32 s5, flat_scratch_lo    ; encoding: [0x66,0x30,0x85,0xbe]
+0x66,0x30,0x85,0xbe
 
-# CHECK: s_abs_i32 s0, flat_scratch_hi    ; encoding: [0x67,0x30,0x80,0xbe]
-0x67,0x30,0x80,0xbe
+# CHECK: s_abs_i32 s5, flat_scratch_hi    ; encoding: [0x67,0x30,0x85,0xbe]
+0x67,0x30,0x85,0xbe
 
-# CHECK: s_abs_i32 s0, vcc_lo    ; encoding: [0x6a,0x30,0x80,0xbe]
-0x6a,0x30,0x80,0xbe
+# CHECK: s_abs_i32 s5, vcc_lo    ; encoding: [0x6a,0x30,0x85,0xbe]
+0x6a,0x30,0x85,0xbe
 
-# CHECK: s_abs_i32 s0, vcc_hi    ; encoding: [0x6b,0x30,0x80,0xbe]
-0x6b,0x30,0x80,0xbe
+# CHECK: s_abs_i32 s5, vcc_hi    ; encoding: [0x6b,0x30,0x85,0xbe]
+0x6b,0x30,0x85,0xbe
 
-# CHECK: s_abs_i32 s0, tba_lo    ; encoding: [0x6c,0x30,0x80,0xbe]
-0x6c,0x30,0x80,0xbe
+# CHECK: s_abs_i32 s5, tba_lo    ; encoding: [0x6c,0x30,0x85,0xbe]
+0x6c,0x30,0x85,0xbe
 
-# CHECK: s_abs_i32 s0, tba_hi    ; encoding: [0x6d,0x30,0x80,0xbe]
-0x6d,0x30,0x80,0xbe
+# CHECK: s_abs_i32 s5, tba_hi    ; encoding: [0x6d,0x30,0x85,0xbe]
+0x6d,0x30,0x85,0xbe
 
-# CHECK: s_abs_i32 s0, tma_lo    ; encoding: [0x6e,0x30,0x80,0xbe]
-0x6e,0x30,0x80,0xbe
+# CHECK: s_abs_i32 s5, tma_lo    ; encoding: [0x6e,0x30,0x85,0xbe]
+0x6e,0x30,0x85,0xbe
 
-# CHECK: s_abs_i32 s0, tma_hi    ; encoding: [0x6f,0x30,0x80,0xbe]
-0x6f,0x30,0x80,0xbe
+# CHECK: s_abs_i32 s5, tma_hi    ; encoding: [0x6f,0x30,0x85,0xbe]
+0x6f,0x30,0x85,0xbe
 
-# CHECK: s_abs_i32 s0, ttmp11    ; encoding: [0x7b,0x30,0x80,0xbe]
-0x7b,0x30,0x80,0xbe
+# CHECK: s_abs_i32 s5, ttmp11    ; encoding: [0x7b,0x30,0x85,0xbe]
+0x7b,0x30,0x85,0xbe
 
-# CHECK: s_abs_i32 s0, m0    ; encoding: [0x7c,0x30,0x80,0xbe]
-0x7c,0x30,0x80,0xbe
+# CHECK: s_abs_i32 s5, m0    ; encoding: [0x7c,0x30,0x85,0xbe]
+0x7c,0x30,0x85,0xbe
 
-# CHECK: s_abs_i32 s0, exec_lo    ; encoding: [0x7e,0x30,0x80,0xbe]
-0x7e,0x30,0x80,0xbe
+# CHECK: s_abs_i32 s5, exec_lo    ; encoding: [0x7e,0x30,0x85,0xbe]
+0x7e,0x30,0x85,0xbe
 
-# CHECK: s_abs_i32 s0, exec_hi    ; encoding: [0x7f,0x30,0x80,0xbe]
-0x7f,0x30,0x80,0xbe
+# CHECK: s_abs_i32 s5, exec_hi    ; encoding: [0x7f,0x30,0x85,0xbe]
+0x7f,0x30,0x85,0xbe
 
-# CHECK: s_abs_i32 s0, 0    ; encoding: [0x80,0x30,0x80,0xbe]
-0x80,0x30,0x80,0xbe
+# CHECK: s_abs_i32 s5, 0    ; encoding: [0x80,0x30,0x85,0xbe]
+0x80,0x30,0x85,0xbe
 
-# CHECK: s_abs_i32 s0, -1    ; encoding: [0xc1,0x30,0x80,0xbe]
-0xc1,0x30,0x80,0xbe
+# CHECK: s_abs_i32 s5, -1    ; encoding: [0xc1,0x30,0x85,0xbe]
+0xc1,0x30,0x85,0xbe
 
-# CHECK: s_abs_i32 s0, 0.5    ; encoding: [0xf0,0x30,0x80,0xbe]
-0xf0,0x30,0x80,0xbe
+# CHECK: s_abs_i32 s5, 0.5    ; encoding: [0xf0,0x30,0x85,0xbe]
+0xf0,0x30,0x85,0xbe
 
-# CHECK: s_abs_i32 s0, -4.0    ; encoding: [0xf7,0x30,0x80,0xbe]
-0xf7,0x30,0x80,0xbe
+# CHECK: s_abs_i32 s5, -4.0    ; encoding: [0xf7,0x30,0x85,0xbe]
+0xf7,0x30,0x85,0xbe
 
-# CHECK: s_abs_i32 s0, scc    ; encoding: [0xfd,0x30,0x80,0xbe]
-0xfd,0x30,0x80,0xbe
+# CHECK: s_abs_i32 s5, scc    ; encoding: [0xfd,0x30,0x85,0xbe]
+0xfd,0x30,0x85,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 s5, 0xaf123456    ; encoding: [0xff,0x30,0x85,0xbe,0x56,0x34,0x12,0xaf]
+0xff,0x30,0x85,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_abs_i32 s5, 0x3f717273    ; encoding: [0xff,0x30,0x85,0xbe,0x73,0x72,0x71,0x3f]
+0xff,0x30,0x85,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 s5, s1    ; encoding: [0x01,0x31,0x85,0xbe]
+0x01,0x31,0x85,0xbe
 
-# CHECK: s_mov_fed_b32 s101, s0    ; encoding: [0x00,0x31,0xe5,0xbe]
-0x00,0x31,0xe5,0xbe
+# CHECK: s_mov_fed_b32 s101, s1    ; encoding: [0x01,0x31,0xe5,0xbe]
+0x01,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_lo, s1    ; encoding: [0x01,0x31,0xe6,0xbe]
+0x01,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 flat_scratch_hi, s1    ; encoding: [0x01,0x31,0xe7,0xbe]
+0x01,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_lo, s1    ; encoding: [0x01,0x31,0xea,0xbe]
+0x01,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 vcc_hi, s1    ; encoding: [0x01,0x31,0xeb,0xbe]
+0x01,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_lo, s1    ; encoding: [0x01,0x31,0xec,0xbe]
+0x01,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 tba_hi, s1    ; encoding: [0x01,0x31,0xed,0xbe]
+0x01,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_lo, s1    ; encoding: [0x01,0x31,0xee,0xbe]
+0x01,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 tma_hi, s1    ; encoding: [0x01,0x31,0xef,0xbe]
+0x01,0x31,0xef,0xbe
 
-# CHECK: s_mov_fed_b32 ttmp11, s0    ; encoding: [0x00,0x31,0xfb,0xbe]
-0x00,0x31,0xfb,0xbe
+# CHECK: s_mov_fed_b32 ttmp11, s1    ; encoding: [0x01,0x31,0xfb,0xbe]
+0x01,0x31,0xfb,0xbe
 
-# CHECK: s_mov_fed_b32 m0, s0    ; encoding: [0x00,0x31,0xfc,0xbe]
-0x00,0x31,0xfc,0xbe
+# CHECK: s_mov_fed_b32 m0, s1    ; encoding: [0x01,0x31,0xfc,0xbe]
+0x01,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_lo, s1    ; encoding: [0x01,0x31,0xfe,0xbe]
+0x01,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 exec_hi, s1    ; encoding: [0x01,0x31,0xff,0xbe]
+0x01,0x31,0xff,0xbe
 
-# CHECK: s_mov_fed_b32 s0, s101    ; encoding: [0x65,0x31,0x80,0xbe]
-0x65,0x31,0x80,0xbe
+# CHECK: s_mov_fed_b32 s5, s101    ; encoding: [0x65,0x31,0x85,0xbe]
+0x65,0x31,0x85,0xbe
 
-# CHECK: s_mov_fed_b32 s0, flat_scratch_lo    ; encoding: [0x66,0x31,0x80,0xbe]
-0x66,0x31,0x80,0xbe
+# CHECK: s_mov_fed_b32 s5, flat_scratch_lo    ; encoding: [0x66,0x31,0x85,0xbe]
+0x66,0x31,0x85,0xbe
 
-# CHECK: s_mov_fed_b32 s0, flat_scratch_hi    ; encoding: [0x67,0x31,0x80,0xbe]
-0x67,0x31,0x80,0xbe
+# CHECK: s_mov_fed_b32 s5, flat_scratch_hi    ; encoding: [0x67,0x31,0x85,0xbe]
+0x67,0x31,0x85,0xbe
 
-# CHECK: s_mov_fed_b32 s0, vcc_lo    ; encoding: [0x6a,0x31,0x80,0xbe]
-0x6a,0x31,0x80,0xbe
+# CHECK: s_mov_fed_b32 s5, vcc_lo    ; encoding: [0x6a,0x31,0x85,0xbe]
+0x6a,0x31,0x85,0xbe
 
-# CHECK: s_mov_fed_b32 s0, vcc_hi    ; encoding: [0x6b,0x31,0x80,0xbe]
-0x6b,0x31,0x80,0xbe
+# CHECK: s_mov_fed_b32 s5, vcc_hi    ; encoding: [0x6b,0x31,0x85,0xbe]
+0x6b,0x31,0x85,0xbe
 
-# CHECK: s_mov_fed_b32 s0, tba_lo    ; encoding: [0x6c,0x31,0x80,0xbe]
-0x6c,0x31,0x80,0xbe
+# CHECK: s_mov_fed_b32 s5, tba_lo    ; encoding: [0x6c,0x31,0x85,0xbe]
+0x6c,0x31,0x85,0xbe
 
-# CHECK: s_mov_fed_b32 s0, tba_hi    ; encoding: [0x6d,0x31,0x80,0xbe]
-0x6d,0x31,0x80,0xbe
+# CHECK: s_mov_fed_b32 s5, tba_hi    ; encoding: [0x6d,0x31,0x85,0xbe]
+0x6d,0x31,0x85,0xbe
 
-# CHECK: s_mov_fed_b32 s0, tma_lo    ; encoding: [0x6e,0x31,0x80,0xbe]
-0x6e,0x31,0x80,0xbe
+# CHECK: s_mov_fed_b32 s5, tma_lo    ; encoding: [0x6e,0x31,0x85,0xbe]
+0x6e,0x31,0x85,0xbe
 
-# CHECK: s_mov_fed_b32 s0, tma_hi    ; encoding: [0x6f,0x31,0x80,0xbe]
-0x6f,0x31,0x80,0xbe
+# CHECK: s_mov_fed_b32 s5, tma_hi    ; encoding: [0x6f,0x31,0x85,0xbe]
+0x6f,0x31,0x85,0xbe
 
-# CHECK: s_mov_fed_b32 s0, ttmp11    ; encoding: [0x7b,0x31,0x80,0xbe]
-0x7b,0x31,0x80,0xbe
+# CHECK: s_mov_fed_b32 s5, ttmp11    ; encoding: [0x7b,0x31,0x85,0xbe]
+0x7b,0x31,0x85,0xbe
 
-# CHECK: s_mov_fed_b32 s0, m0    ; encoding: [0x7c,0x31,0x80,0xbe]
-0x7c,0x31,0x80,0xbe
+# CHECK: s_mov_fed_b32 s5, m0    ; encoding: [0x7c,0x31,0x85,0xbe]
+0x7c,0x31,0x85,0xbe
 
-# CHECK: s_mov_fed_b32 s0, exec_lo    ; encoding: [0x7e,0x31,0x80,0xbe]
-0x7e,0x31,0x80,0xbe
+# CHECK: s_mov_fed_b32 s5, exec_lo    ; encoding: [0x7e,0x31,0x85,0xbe]
+0x7e,0x31,0x85,0xbe
 
-# CHECK: s_mov_fed_b32 s0, exec_hi    ; encoding: [0x7f,0x31,0x80,0xbe]
-0x7f,0x31,0x80,0xbe
+# CHECK: s_mov_fed_b32 s5, exec_hi    ; encoding: [0x7f,0x31,0x85,0xbe]
+0x7f,0x31,0x85,0xbe
 
-# CHECK: s_mov_fed_b32 s0, 0    ; encoding: [0x80,0x31,0x80,0xbe]
-0x80,0x31,0x80,0xbe
+# CHECK: s_mov_fed_b32 s5, 0    ; encoding: [0x80,0x31,0x85,0xbe]
+0x80,0x31,0x85,0xbe
 
-# CHECK: s_mov_fed_b32 s0, -1    ; encoding: [0xc1,0x31,0x80,0xbe]
-0xc1,0x31,0x80,0xbe
+# CHECK: s_mov_fed_b32 s5, -1    ; encoding: [0xc1,0x31,0x85,0xbe]
+0xc1,0x31,0x85,0xbe
 
-# CHECK: s_mov_fed_b32 s0, 0.5    ; encoding: [0xf0,0x31,0x80,0xbe]
-0xf0,0x31,0x80,0xbe
+# CHECK: s_mov_fed_b32 s5, 0.5    ; encoding: [0xf0,0x31,0x85,0xbe]
+0xf0,0x31,0x85,0xbe
 
-# CHECK: s_mov_fed_b32 s0, -4.0    ; encoding: [0xf7,0x31,0x80,0xbe]
-0xf7,0x31,0x80,0xbe
+# CHECK: s_mov_fed_b32 s5, -4.0    ; encoding: [0xf7,0x31,0x85,0xbe]
+0xf7,0x31,0x85,0xbe
 
-# CHECK: s_mov_fed_b32 s0, scc    ; encoding: [0xfd,0x31,0x80,0xbe]
-0xfd,0x31,0x80,0xbe
+# CHECK: s_mov_fed_b32 s5, scc    ; encoding: [0xfd,0x31,0x85,0xbe]
+0xfd,0x31,0x85,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 s5, 0xaf123456    ; encoding: [0xff,0x31,0x85,0xbe,0x56,0x34,0x12,0xaf]
+0xff,0x31,0x85,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_mov_fed_b32 s5, 0x3f717273    ; encoding: [0xff,0x31,0x85,0xbe,0x73,0x72,0x71,0x3f]
+0xff,0x31,0x85,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 s1    ; encoding: [0x01,0x32,0x80,0xbe]
+0x01,0x32,0x80,0xbe
 
 # CHECK: s_set_gpr_idx_idx s101    ; encoding: [0x65,0x32,0x80,0xbe]
 0x65,0x32,0x80,0xbe
@@ -10338,8087 +10413,8087 @@
 # 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 s5, s1, s2    ; encoding: [0x01,0x02,0x05,0x80]
+0x01,0x02,0x05,0x80
 
-# CHECK: s_add_u32 s101, s0, s0    ; encoding: [0x00,0x00,0x65,0x80]
-0x00,0x00,0x65,0x80
+# CHECK: s_add_u32 s101, s1, s2    ; encoding: [0x01,0x02,0x65,0x80]
+0x01,0x02,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_lo, s1, s2    ; encoding: [0x01,0x02,0x66,0x80]
+0x01,0x02,0x66,0x80
 
-# CHECK: s_add_u32 flat_scratch_hi, s0, s0    ; encoding: [0x00,0x00,0x67,0x80]
-0x00,0x00,0x67,0x80
+# CHECK: s_add_u32 flat_scratch_hi, s1, s2    ; encoding: [0x01,0x02,0x67,0x80]
+0x01,0x02,0x67,0x80
 
-# CHECK: s_add_u32 vcc_lo, s0, s0    ; encoding: [0x00,0x00,0x6a,0x80]
-0x00,0x00,0x6a,0x80
+# CHECK: s_add_u32 vcc_lo, s1, s2    ; encoding: [0x01,0x02,0x6a,0x80]
+0x01,0x02,0x6a,0x80
 
-# CHECK: s_add_u32 vcc_hi, s0, s0    ; encoding: [0x00,0x00,0x6b,0x80]
-0x00,0x00,0x6b,0x80
+# CHECK: s_add_u32 vcc_hi, s1, s2    ; encoding: [0x01,0x02,0x6b,0x80]
+0x01,0x02,0x6b,0x80
 
-# CHECK: s_add_u32 tba_lo, s0, s0    ; encoding: [0x00,0x00,0x6c,0x80]
-0x00,0x00,0x6c,0x80
+# CHECK: s_add_u32 tba_lo, s1, s2    ; encoding: [0x01,0x02,0x6c,0x80]
+0x01,0x02,0x6c,0x80
 
-# CHECK: s_add_u32 tba_hi, s0, s0    ; encoding: [0x00,0x00,0x6d,0x80]
-0x00,0x00,0x6d,0x80
+# CHECK: s_add_u32 tba_hi, s1, s2    ; encoding: [0x01,0x02,0x6d,0x80]
+0x01,0x02,0x6d,0x80
 
-# CHECK: s_add_u32 tma_lo, s0, s0    ; encoding: [0x00,0x00,0x6e,0x80]
-0x00,0x00,0x6e,0x80
+# CHECK: s_add_u32 tma_lo, s1, s2    ; encoding: [0x01,0x02,0x6e,0x80]
+0x01,0x02,0x6e,0x80
 
-# CHECK: s_add_u32 tma_hi, s0, s0    ; encoding: [0x00,0x00,0x6f,0x80]
-0x00,0x00,0x6f,0x80
+# CHECK: s_add_u32 tma_hi, s1, s2    ; encoding: [0x01,0x02,0x6f,0x80]
+0x01,0x02,0x6f,0x80
 
-# CHECK: s_add_u32 ttmp11, s0, s0    ; encoding: [0x00,0x00,0x7b,0x80]
-0x00,0x00,0x7b,0x80
+# CHECK: s_add_u32 ttmp11, s1, s2    ; encoding: [0x01,0x02,0x7b,0x80]
+0x01,0x02,0x7b,0x80
 
-# CHECK: s_add_u32 m0, s0, s0    ; encoding: [0x00,0x00,0x7c,0x80]
-0x00,0x00,0x7c,0x80
+# CHECK: s_add_u32 m0, s1, s2    ; encoding: [0x01,0x02,0x7c,0x80]
+0x01,0x02,0x7c,0x80
 
-# CHECK: s_add_u32 exec_lo, s0, s0    ; encoding: [0x00,0x00,0x7e,0x80]
-0x00,0x00,0x7e,0x80
+# CHECK: s_add_u32 exec_lo, s1, s2    ; encoding: [0x01,0x02,0x7e,0x80]
+0x01,0x02,0x7e,0x80
 
-# CHECK: s_add_u32 exec_hi, s0, s0    ; encoding: [0x00,0x00,0x7f,0x80]
-0x00,0x00,0x7f,0x80
+# CHECK: s_add_u32 exec_hi, s1, s2    ; encoding: [0x01,0x02,0x7f,0x80]
+0x01,0x02,0x7f,0x80
 
-# CHECK: s_add_u32 s0, s101, s0    ; encoding: [0x65,0x00,0x00,0x80]
-0x65,0x00,0x00,0x80
+# CHECK: s_add_u32 s5, s101, s2    ; encoding: [0x65,0x02,0x05,0x80]
+0x65,0x02,0x05,0x80
 
-# CHECK: s_add_u32 s0, flat_scratch_lo, s0    ; encoding: [0x66,0x00,0x00,0x80]
-0x66,0x00,0x00,0x80
+# CHECK: s_add_u32 s5, flat_scratch_lo, s2    ; encoding: [0x66,0x02,0x05,0x80]
+0x66,0x02,0x05,0x80
 
-# CHECK: s_add_u32 s0, flat_scratch_hi, s0    ; encoding: [0x67,0x00,0x00,0x80]
-0x67,0x00,0x00,0x80
+# CHECK: s_add_u32 s5, flat_scratch_hi, s2    ; encoding: [0x67,0x02,0x05,0x80]
+0x67,0x02,0x05,0x80
 
-# CHECK: s_add_u32 s0, vcc_lo, s0    ; encoding: [0x6a,0x00,0x00,0x80]
-0x6a,0x00,0x00,0x80
+# CHECK: s_add_u32 s5, vcc_lo, s2    ; encoding: [0x6a,0x02,0x05,0x80]
+0x6a,0x02,0x05,0x80
 
-# CHECK: s_add_u32 s0, vcc_hi, s0    ; encoding: [0x6b,0x00,0x00,0x80]
-0x6b,0x00,0x00,0x80
+# CHECK: s_add_u32 s5, vcc_hi, s2    ; encoding: [0x6b,0x02,0x05,0x80]
+0x6b,0x02,0x05,0x80
 
-# CHECK: s_add_u32 s0, tba_lo, s0    ; encoding: [0x6c,0x00,0x00,0x80]
-0x6c,0x00,0x00,0x80
+# CHECK: s_add_u32 s5, tba_lo, s2    ; encoding: [0x6c,0x02,0x05,0x80]
+0x6c,0x02,0x05,0x80
 
-# CHECK: s_add_u32 s0, tba_hi, s0    ; encoding: [0x6d,0x00,0x00,0x80]
-0x6d,0x00,0x00,0x80
+# CHECK: s_add_u32 s5, tba_hi, s2    ; encoding: [0x6d,0x02,0x05,0x80]
+0x6d,0x02,0x05,0x80
 
-# CHECK: s_add_u32 s0, tma_lo, s0    ; encoding: [0x6e,0x00,0x00,0x80]
-0x6e,0x00,0x00,0x80
+# CHECK: s_add_u32 s5, tma_lo, s2    ; encoding: [0x6e,0x02,0x05,0x80]
+0x6e,0x02,0x05,0x80
 
-# CHECK: s_add_u32 s0, tma_hi, s0    ; encoding: [0x6f,0x00,0x00,0x80]
-0x6f,0x00,0x00,0x80
+# CHECK: s_add_u32 s5, tma_hi, s2    ; encoding: [0x6f,0x02,0x05,0x80]
+0x6f,0x02,0x05,0x80
 
-# CHECK: s_add_u32 s0, ttmp11, s0    ; encoding: [0x7b,0x00,0x00,0x80]
-0x7b,0x00,0x00,0x80
+# CHECK: s_add_u32 s5, ttmp11, s2    ; encoding: [0x7b,0x02,0x05,0x80]
+0x7b,0x02,0x05,0x80
 
-# CHECK: s_add_u32 s0, m0, s0    ; encoding: [0x7c,0x00,0x00,0x80]
-0x7c,0x00,0x00,0x80
+# CHECK: s_add_u32 s5, m0, s2    ; encoding: [0x7c,0x02,0x05,0x80]
+0x7c,0x02,0x05,0x80
 
-# CHECK: s_add_u32 s0, exec_lo, s0    ; encoding: [0x7e,0x00,0x00,0x80]
-0x7e,0x00,0x00,0x80
+# CHECK: s_add_u32 s5, exec_lo, s2    ; encoding: [0x7e,0x02,0x05,0x80]
+0x7e,0x02,0x05,0x80
 
-# CHECK: s_add_u32 s0, exec_hi, s0    ; encoding: [0x7f,0x00,0x00,0x80]
-0x7f,0x00,0x00,0x80
+# CHECK: s_add_u32 s5, exec_hi, s2    ; encoding: [0x7f,0x02,0x05,0x80]
+0x7f,0x02,0x05,0x80
 
-# CHECK: s_add_u32 s0, 0, s0    ; encoding: [0x80,0x00,0x00,0x80]
-0x80,0x00,0x00,0x80
+# CHECK: s_add_u32 s5, 0, s2    ; encoding: [0x80,0x02,0x05,0x80]
+0x80,0x02,0x05,0x80
 
-# CHECK: s_add_u32 s0, -1, s0    ; encoding: [0xc1,0x00,0x00,0x80]
-0xc1,0x00,0x00,0x80
+# CHECK: s_add_u32 s5, -1, s2    ; encoding: [0xc1,0x02,0x05,0x80]
+0xc1,0x02,0x05,0x80
 
-# CHECK: s_add_u32 s0, 0.5, s0    ; encoding: [0xf0,0x00,0x00,0x80]
-0xf0,0x00,0x00,0x80
+# CHECK: s_add_u32 s5, 0.5, s2    ; encoding: [0xf0,0x02,0x05,0x80]
+0xf0,0x02,0x05,0x80
 
-# CHECK: s_add_u32 s0, -4.0, s0    ; encoding: [0xf7,0x00,0x00,0x80]
-0xf7,0x00,0x00,0x80
+# CHECK: s_add_u32 s5, -4.0, s2    ; encoding: [0xf7,0x02,0x05,0x80]
+0xf7,0x02,0x05,0x80
 
-# CHECK: s_add_u32 s0, scc, s0    ; encoding: [0xfd,0x00,0x00,0x80]
-0xfd,0x00,0x00,0x80
+# CHECK: s_add_u32 s5, scc, s2    ; encoding: [0xfd,0x02,0x05,0x80]
+0xfd,0x02,0x05,0x80
 
-# CHECK: s_add_u32 s0, s0, s101    ; encoding: [0x00,0x65,0x00,0x80]
-0x00,0x65,0x00,0x80
+# CHECK: s_add_u32 s5, s1, s101    ; encoding: [0x01,0x65,0x05,0x80]
+0x01,0x65,0x05,0x80
 
-# CHECK: s_add_u32 s0, s0, flat_scratch_lo    ; encoding: [0x00,0x66,0x00,0x80]
-0x00,0x66,0x00,0x80
+# CHECK: s_add_u32 s5, s1, flat_scratch_lo    ; encoding: [0x01,0x66,0x05,0x80]
+0x01,0x66,0x05,0x80
 
-# CHECK: s_add_u32 s0, s0, flat_scratch_hi    ; encoding: [0x00,0x67,0x00,0x80]
-0x00,0x67,0x00,0x80
+# CHECK: s_add_u32 s5, s1, flat_scratch_hi    ; encoding: [0x01,0x67,0x05,0x80]
+0x01,0x67,0x05,0x80
 
-# CHECK: s_add_u32 s0, s0, vcc_lo    ; encoding: [0x00,0x6a,0x00,0x80]
-0x00,0x6a,0x00,0x80
+# CHECK: s_add_u32 s5, s1, vcc_lo    ; encoding: [0x01,0x6a,0x05,0x80]
+0x01,0x6a,0x05,0x80
 
-# CHECK: s_add_u32 s0, s0, vcc_hi    ; encoding: [0x00,0x6b,0x00,0x80]
-0x00,0x6b,0x00,0x80
+# CHECK: s_add_u32 s5, s1, vcc_hi    ; encoding: [0x01,0x6b,0x05,0x80]
+0x01,0x6b,0x05,0x80
 
-# CHECK: s_add_u32 s0, s0, tba_lo    ; encoding: [0x00,0x6c,0x00,0x80]
-0x00,0x6c,0x00,0x80
+# CHECK: s_add_u32 s5, s1, tba_lo    ; encoding: [0x01,0x6c,0x05,0x80]
+0x01,0x6c,0x05,0x80
 
-# CHECK: s_add_u32 s0, s0, tba_hi    ; encoding: [0x00,0x6d,0x00,0x80]
-0x00,0x6d,0x00,0x80
+# CHECK: s_add_u32 s5, s1, tba_hi    ; encoding: [0x01,0x6d,0x05,0x80]
+0x01,0x6d,0x05,0x80
 
-# CHECK: s_add_u32 s0, s0, tma_lo    ; encoding: [0x00,0x6e,0x00,0x80]
-0x00,0x6e,0x00,0x80
+# CHECK: s_add_u32 s5, s1, tma_lo    ; encoding: [0x01,0x6e,0x05,0x80]
+0x01,0x6e,0x05,0x80
 
-# CHECK: s_add_u32 s0, s0, tma_hi    ; encoding: [0x00,0x6f,0x00,0x80]
-0x00,0x6f,0x00,0x80
+# CHECK: s_add_u32 s5, s1, tma_hi    ; encoding: [0x01,0x6f,0x05,0x80]
+0x01,0x6f,0x05,0x80
 
-# CHECK: s_add_u32 s0, s0, ttmp11    ; encoding: [0x00,0x7b,0x00,0x80]
-0x00,0x7b,0x00,0x80
+# CHECK: s_add_u32 s5, s1, ttmp11    ; encoding: [0x01,0x7b,0x05,0x80]
+0x01,0x7b,0x05,0x80
 
-# CHECK: s_add_u32 s0, s0, m0    ; encoding: [0x00,0x7c,0x00,0x80]
-0x00,0x7c,0x00,0x80
+# CHECK: s_add_u32 s5, s1, m0    ; encoding: [0x01,0x7c,0x05,0x80]
+0x01,0x7c,0x05,0x80
 
-# CHECK: s_add_u32 s0, s0, exec_lo    ; encoding: [0x00,0x7e,0x00,0x80]
-0x00,0x7e,0x00,0x80
+# CHECK: s_add_u32 s5, s1, exec_lo    ; encoding: [0x01,0x7e,0x05,0x80]
+0x01,0x7e,0x05,0x80
 
-# CHECK: s_add_u32 s0, s0, exec_hi    ; encoding: [0x00,0x7f,0x00,0x80]
-0x00,0x7f,0x00,0x80
+# CHECK: s_add_u32 s5, s1, exec_hi    ; encoding: [0x01,0x7f,0x05,0x80]
+0x01,0x7f,0x05,0x80
 
-# CHECK: s_add_u32 s0, s0, 0    ; encoding: [0x00,0x80,0x00,0x80]
-0x00,0x80,0x00,0x80
+# CHECK: s_add_u32 s5, s1, 0    ; encoding: [0x01,0x80,0x05,0x80]
+0x01,0x80,0x05,0x80
 
-# CHECK: s_add_u32 s0, s0, -1    ; encoding: [0x00,0xc1,0x00,0x80]
-0x00,0xc1,0x00,0x80
+# CHECK: s_add_u32 s5, s1, -1    ; encoding: [0x01,0xc1,0x05,0x80]
+0x01,0xc1,0x05,0x80
 
-# CHECK: s_add_u32 s0, s0, 0.5    ; encoding: [0x00,0xf0,0x00,0x80]
-0x00,0xf0,0x00,0x80
+# CHECK: s_add_u32 s5, s1, 0.5    ; encoding: [0x01,0xf0,0x05,0x80]
+0x01,0xf0,0x05,0x80
 
-# CHECK: s_add_u32 s0, s0, -4.0    ; encoding: [0x00,0xf7,0x00,0x80]
-0x00,0xf7,0x00,0x80
+# CHECK: s_add_u32 s5, s1, -4.0    ; encoding: [0x01,0xf7,0x05,0x80]
+0x01,0xf7,0x05,0x80
 
-# CHECK: s_add_u32 s0, s0, scc    ; encoding: [0x00,0xfd,0x00,0x80]
-0x00,0xfd,0x00,0x80
+# CHECK: s_add_u32 s5, s1, scc    ; encoding: [0x01,0xfd,0x05,0x80]
+0x01,0xfd,0x05,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 s5, s1, 0xaf123456    ; encoding: [0x01,0xff,0x05,0x80,0x56,0x34,0x12,0xaf]
+0x01,0xff,0x05,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_add_u32 s5, s1, 0x3f717273    ; encoding: [0x01,0xff,0x05,0x80,0x73,0x72,0x71,0x3f]
+0x01,0xff,0x05,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 s5, s1, s2    ; encoding: [0x01,0x02,0x85,0x80]
+0x01,0x02,0x85,0x80
 
-# CHECK: s_sub_u32 s101, s0, s0    ; encoding: [0x00,0x00,0xe5,0x80]
-0x00,0x00,0xe5,0x80
+# CHECK: s_sub_u32 s101, s1, s2    ; encoding: [0x01,0x02,0xe5,0x80]
+0x01,0x02,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_lo, s1, s2    ; encoding: [0x01,0x02,0xe6,0x80]
+0x01,0x02,0xe6,0x80
 
-# CHECK: s_sub_u32 flat_scratch_hi, s0, s0    ; encoding: [0x00,0x00,0xe7,0x80]
-0x00,0x00,0xe7,0x80
+# CHECK: s_sub_u32 flat_scratch_hi, s1, s2    ; encoding: [0x01,0x02,0xe7,0x80]
+0x01,0x02,0xe7,0x80
 
-# CHECK: s_sub_u32 vcc_lo, s0, s0    ; encoding: [0x00,0x00,0xea,0x80]
-0x00,0x00,0xea,0x80
+# CHECK: s_sub_u32 vcc_lo, s1, s2    ; encoding: [0x01,0x02,0xea,0x80]
+0x01,0x02,0xea,0x80
 
-# CHECK: s_sub_u32 vcc_hi, s0, s0    ; encoding: [0x00,0x00,0xeb,0x80]
-0x00,0x00,0xeb,0x80
+# CHECK: s_sub_u32 vcc_hi, s1, s2    ; encoding: [0x01,0x02,0xeb,0x80]
+0x01,0x02,0xeb,0x80
 
-# CHECK: s_sub_u32 tba_lo, s0, s0    ; encoding: [0x00,0x00,0xec,0x80]
-0x00,0x00,0xec,0x80
+# CHECK: s_sub_u32 tba_lo, s1, s2    ; encoding: [0x01,0x02,0xec,0x80]
+0x01,0x02,0xec,0x80
 
-# CHECK: s_sub_u32 tba_hi, s0, s0    ; encoding: [0x00,0x00,0xed,0x80]
-0x00,0x00,0xed,0x80
+# CHECK: s_sub_u32 tba_hi, s1, s2    ; encoding: [0x01,0x02,0xed,0x80]
+0x01,0x02,0xed,0x80
 
-# CHECK: s_sub_u32 tma_lo, s0, s0    ; encoding: [0x00,0x00,0xee,0x80]
-0x00,0x00,0xee,0x80
+# CHECK: s_sub_u32 tma_lo, s1, s2    ; encoding: [0x01,0x02,0xee,0x80]
+0x01,0x02,0xee,0x80
 
-# CHECK: s_sub_u32 tma_hi, s0, s0    ; encoding: [0x00,0x00,0xef,0x80]
-0x00,0x00,0xef,0x80
+# CHECK: s_sub_u32 tma_hi, s1, s2    ; encoding: [0x01,0x02,0xef,0x80]
+0x01,0x02,0xef,0x80
 
-# CHECK: s_sub_u32 ttmp11, s0, s0    ; encoding: [0x00,0x00,0xfb,0x80]
-0x00,0x00,0xfb,0x80
+# CHECK: s_sub_u32 ttmp11, s1, s2    ; encoding: [0x01,0x02,0xfb,0x80]
+0x01,0x02,0xfb,0x80
 
-# CHECK: s_sub_u32 m0, s0, s0    ; encoding: [0x00,0x00,0xfc,0x80]
-0x00,0x00,0xfc,0x80
+# CHECK: s_sub_u32 m0, s1, s2    ; encoding: [0x01,0x02,0xfc,0x80]
+0x01,0x02,0xfc,0x80
 
-# CHECK: s_sub_u32 exec_lo, s0, s0    ; encoding: [0x00,0x00,0xfe,0x80]
-0x00,0x00,0xfe,0x80
+# CHECK: s_sub_u32 exec_lo, s1, s2    ; encoding: [0x01,0x02,0xfe,0x80]
+0x01,0x02,0xfe,0x80
 
-# CHECK: s_sub_u32 exec_hi, s0, s0    ; encoding: [0x00,0x00,0xff,0x80]
-0x00,0x00,0xff,0x80
+# CHECK: s_sub_u32 exec_hi, s1, s2    ; encoding: [0x01,0x02,0xff,0x80]
+0x01,0x02,0xff,0x80
 
-# CHECK: s_sub_u32 s0, s101, s0    ; encoding: [0x65,0x00,0x80,0x80]
-0x65,0x00,0x80,0x80
+# CHECK: s_sub_u32 s5, s101, s2    ; encoding: [0x65,0x02,0x85,0x80]
+0x65,0x02,0x85,0x80
 
-# CHECK: s_sub_u32 s0, flat_scratch_lo, s0    ; encoding: [0x66,0x00,0x80,0x80]
-0x66,0x00,0x80,0x80
+# CHECK: s_sub_u32 s5, flat_scratch_lo, s2    ; encoding: [0x66,0x02,0x85,0x80]
+0x66,0x02,0x85,0x80
 
-# CHECK: s_sub_u32 s0, flat_scratch_hi, s0    ; encoding: [0x67,0x00,0x80,0x80]
-0x67,0x00,0x80,0x80
+# CHECK: s_sub_u32 s5, flat_scratch_hi, s2    ; encoding: [0x67,0x02,0x85,0x80]
+0x67,0x02,0x85,0x80
 
-# CHECK: s_sub_u32 s0, vcc_lo, s0    ; encoding: [0x6a,0x00,0x80,0x80]
-0x6a,0x00,0x80,0x80
+# CHECK: s_sub_u32 s5, vcc_lo, s2    ; encoding: [0x6a,0x02,0x85,0x80]
+0x6a,0x02,0x85,0x80
 
-# CHECK: s_sub_u32 s0, vcc_hi, s0    ; encoding: [0x6b,0x00,0x80,0x80]
-0x6b,0x00,0x80,0x80
+# CHECK: s_sub_u32 s5, vcc_hi, s2    ; encoding: [0x6b,0x02,0x85,0x80]
+0x6b,0x02,0x85,0x80
 
-# CHECK: s_sub_u32 s0, tba_lo, s0    ; encoding: [0x6c,0x00,0x80,0x80]
-0x6c,0x00,0x80,0x80
+# CHECK: s_sub_u32 s5, tba_lo, s2    ; encoding: [0x6c,0x02,0x85,0x80]
+0x6c,0x02,0x85,0x80
 
-# CHECK: s_sub_u32 s0, tba_hi, s0    ; encoding: [0x6d,0x00,0x80,0x80]
-0x6d,0x00,0x80,0x80
+# CHECK: s_sub_u32 s5, tba_hi, s2    ; encoding: [0x6d,0x02,0x85,0x80]
+0x6d,0x02,0x85,0x80
 
-# CHECK: s_sub_u32 s0, tma_lo, s0    ; encoding: [0x6e,0x00,0x80,0x80]
-0x6e,0x00,0x80,0x80
+# CHECK: s_sub_u32 s5, tma_lo, s2    ; encoding: [0x6e,0x02,0x85,0x80]
+0x6e,0x02,0x85,0x80
 
-# CHECK: s_sub_u32 s0, tma_hi, s0    ; encoding: [0x6f,0x00,0x80,0x80]
-0x6f,0x00,0x80,0x80
+# CHECK: s_sub_u32 s5, tma_hi, s2    ; encoding: [0x6f,0x02,0x85,0x80]
+0x6f,0x02,0x85,0x80
 
-# CHECK: s_sub_u32 s0, ttmp11, s0    ; encoding: [0x7b,0x00,0x80,0x80]
-0x7b,0x00,0x80,0x80
+# CHECK: s_sub_u32 s5, ttmp11, s2    ; encoding: [0x7b,0x02,0x85,0x80]
+0x7b,0x02,0x85,0x80
 
-# CHECK: s_sub_u32 s0, m0, s0    ; encoding: [0x7c,0x00,0x80,0x80]
-0x7c,0x00,0x80,0x80
+# CHECK: s_sub_u32 s5, m0, s2    ; encoding: [0x7c,0x02,0x85,0x80]
+0x7c,0x02,0x85,0x80
 
-# CHECK: s_sub_u32 s0, exec_lo, s0    ; encoding: [0x7e,0x00,0x80,0x80]
-0x7e,0x00,0x80,0x80
+# CHECK: s_sub_u32 s5, exec_lo, s2    ; encoding: [0x7e,0x02,0x85,0x80]
+0x7e,0x02,0x85,0x80
 
-# CHECK: s_sub_u32 s0, exec_hi, s0    ; encoding: [0x7f,0x00,0x80,0x80]
-0x7f,0x00,0x80,0x80
+# CHECK: s_sub_u32 s5, exec_hi, s2    ; encoding: [0x7f,0x02,0x85,0x80]
+0x7f,0x02,0x85,0x80
 
-# CHECK: s_sub_u32 s0, 0, s0    ; encoding: [0x80,0x00,0x80,0x80]
-0x80,0x00,0x80,0x80
+# CHECK: s_sub_u32 s5, 0, s2    ; encoding: [0x80,0x02,0x85,0x80]
+0x80,0x02,0x85,0x80
 
-# CHECK: s_sub_u32 s0, -1, s0    ; encoding: [0xc1,0x00,0x80,0x80]
-0xc1,0x00,0x80,0x80
+# CHECK: s_sub_u32 s5, -1, s2    ; encoding: [0xc1,0x02,0x85,0x80]
+0xc1,0x02,0x85,0x80
 
-# CHECK: s_sub_u32 s0, 0.5, s0    ; encoding: [0xf0,0x00,0x80,0x80]
-0xf0,0x00,0x80,0x80
+# CHECK: s_sub_u32 s5, 0.5, s2    ; encoding: [0xf0,0x02,0x85,0x80]
+0xf0,0x02,0x85,0x80
 
-# CHECK: s_sub_u32 s0, -4.0, s0    ; encoding: [0xf7,0x00,0x80,0x80]
-0xf7,0x00,0x80,0x80
+# CHECK: s_sub_u32 s5, -4.0, s2    ; encoding: [0xf7,0x02,0x85,0x80]
+0xf7,0x02,0x85,0x80
 
-# CHECK: s_sub_u32 s0, scc, s0    ; encoding: [0xfd,0x00,0x80,0x80]
-0xfd,0x00,0x80,0x80
+# CHECK: s_sub_u32 s5, scc, s2    ; encoding: [0xfd,0x02,0x85,0x80]
+0xfd,0x02,0x85,0x80
 
-# CHECK: s_sub_u32 s0, s0, s101    ; encoding: [0x00,0x65,0x80,0x80]
-0x00,0x65,0x80,0x80
+# CHECK: s_sub_u32 s5, s1, s101    ; encoding: [0x01,0x65,0x85,0x80]
+0x01,0x65,0x85,0x80
 
-# CHECK: s_sub_u32 s0, s0, flat_scratch_lo    ; encoding: [0x00,0x66,0x80,0x80]
-0x00,0x66,0x80,0x80
+# CHECK: s_sub_u32 s5, s1, flat_scratch_lo    ; encoding: [0x01,0x66,0x85,0x80]
+0x01,0x66,0x85,0x80
 
-# CHECK: s_sub_u32 s0, s0, flat_scratch_hi    ; encoding: [0x00,0x67,0x80,0x80]
-0x00,0x67,0x80,0x80
+# CHECK: s_sub_u32 s5, s1, flat_scratch_hi    ; encoding: [0x01,0x67,0x85,0x80]
+0x01,0x67,0x85,0x80
 
-# CHECK: s_sub_u32 s0, s0, vcc_lo    ; encoding: [0x00,0x6a,0x80,0x80]
-0x00,0x6a,0x80,0x80
+# CHECK: s_sub_u32 s5, s1, vcc_lo    ; encoding: [0x01,0x6a,0x85,0x80]
+0x01,0x6a,0x85,0x80
 
-# CHECK: s_sub_u32 s0, s0, vcc_hi    ; encoding: [0x00,0x6b,0x80,0x80]
-0x00,0x6b,0x80,0x80
+# CHECK: s_sub_u32 s5, s1, vcc_hi    ; encoding: [0x01,0x6b,0x85,0x80]
+0x01,0x6b,0x85,0x80
 
-# CHECK: s_sub_u32 s0, s0, tba_lo    ; encoding: [0x00,0x6c,0x80,0x80]
-0x00,0x6c,0x80,0x80
+# CHECK: s_sub_u32 s5, s1, tba_lo    ; encoding: [0x01,0x6c,0x85,0x80]
+0x01,0x6c,0x85,0x80
 
-# CHECK: s_sub_u32 s0, s0, tba_hi    ; encoding: [0x00,0x6d,0x80,0x80]
-0x00,0x6d,0x80,0x80
+# CHECK: s_sub_u32 s5, s1, tba_hi    ; encoding: [0x01,0x6d,0x85,0x80]
+0x01,0x6d,0x85,0x80
 
-# CHECK: s_sub_u32 s0, s0, tma_lo    ; encoding: [0x00,0x6e,0x80,0x80]
-0x00,0x6e,0x80,0x80
+# CHECK: s_sub_u32 s5, s1, tma_lo    ; encoding: [0x01,0x6e,0x85,0x80]
+0x01,0x6e,0x85,0x80
 
-# CHECK: s_sub_u32 s0, s0, tma_hi    ; encoding: [0x00,0x6f,0x80,0x80]
-0x00,0x6f,0x80,0x80
+# CHECK: s_sub_u32 s5, s1, tma_hi    ; encoding: [0x01,0x6f,0x85,0x80]
+0x01,0x6f,0x85,0x80
 
-# CHECK: s_sub_u32 s0, s0, ttmp11    ; encoding: [0x00,0x7b,0x80,0x80]
-0x00,0x7b,0x80,0x80
+# CHECK: s_sub_u32 s5, s1, ttmp11    ; encoding: [0x01,0x7b,0x85,0x80]
+0x01,0x7b,0x85,0x80
 
-# CHECK: s_sub_u32 s0, s0, m0    ; encoding: [0x00,0x7c,0x80,0x80]
-0x00,0x7c,0x80,0x80
+# CHECK: s_sub_u32 s5, s1, m0    ; encoding: [0x01,0x7c,0x85,0x80]
+0x01,0x7c,0x85,0x80
 
-# CHECK: s_sub_u32 s0, s0, exec_lo    ; encoding: [0x00,0x7e,0x80,0x80]
-0x00,0x7e,0x80,0x80
+# CHECK: s_sub_u32 s5, s1, exec_lo    ; encoding: [0x01,0x7e,0x85,0x80]
+0x01,0x7e,0x85,0x80
 
-# CHECK: s_sub_u32 s0, s0, exec_hi    ; encoding: [0x00,0x7f,0x80,0x80]
-0x00,0x7f,0x80,0x80
+# CHECK: s_sub_u32 s5, s1, exec_hi    ; encoding: [0x01,0x7f,0x85,0x80]
+0x01,0x7f,0x85,0x80
 
-# CHECK: s_sub_u32 s0, s0, 0    ; encoding: [0x00,0x80,0x80,0x80]
-0x00,0x80,0x80,0x80
+# CHECK: s_sub_u32 s5, s1, 0    ; encoding: [0x01,0x80,0x85,0x80]
+0x01,0x80,0x85,0x80
 
-# CHECK: s_sub_u32 s0, s0, -1    ; encoding: [0x00,0xc1,0x80,0x80]
-0x00,0xc1,0x80,0x80
+# CHECK: s_sub_u32 s5, s1, -1    ; encoding: [0x01,0xc1,0x85,0x80]
+0x01,0xc1,0x85,0x80
 
-# CHECK: s_sub_u32 s0, s0, 0.5    ; encoding: [0x00,0xf0,0x80,0x80]
-0x00,0xf0,0x80,0x80
+# CHECK: s_sub_u32 s5, s1, 0.5    ; encoding: [0x01,0xf0,0x85,0x80]
+0x01,0xf0,0x85,0x80
 
-# CHECK: s_sub_u32 s0, s0, -4.0    ; encoding: [0x00,0xf7,0x80,0x80]
-0x00,0xf7,0x80,0x80
+# CHECK: s_sub_u32 s5, s1, -4.0    ; encoding: [0x01,0xf7,0x85,0x80]
+0x01,0xf7,0x85,0x80
 
-# CHECK: s_sub_u32 s0, s0, scc    ; encoding: [0x00,0xfd,0x80,0x80]
-0x00,0xfd,0x80,0x80
+# CHECK: s_sub_u32 s5, s1, scc    ; encoding: [0x01,0xfd,0x85,0x80]
+0x01,0xfd,0x85,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 s5, s1, 0xaf123456    ; encoding: [0x01,0xff,0x85,0x80,0x56,0x34,0x12,0xaf]
+0x01,0xff,0x85,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_sub_u32 s5, s1, 0x3f717273    ; encoding: [0x01,0xff,0x85,0x80,0x73,0x72,0x71,0x3f]
+0x01,0xff,0x85,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 s5, s1, s2    ; encoding: [0x01,0x02,0x05,0x81]
+0x01,0x02,0x05,0x81
 
-# CHECK: s_add_i32 s101, s0, s0    ; encoding: [0x00,0x00,0x65,0x81]
-0x00,0x00,0x65,0x81
+# CHECK: s_add_i32 s101, s1, s2    ; encoding: [0x01,0x02,0x65,0x81]
+0x01,0x02,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_lo, s1, s2    ; encoding: [0x01,0x02,0x66,0x81]
+0x01,0x02,0x66,0x81
 
-# CHECK: s_add_i32 flat_scratch_hi, s0, s0    ; encoding: [0x00,0x00,0x67,0x81]
-0x00,0x00,0x67,0x81
+# CHECK: s_add_i32 flat_scratch_hi, s1, s2    ; encoding: [0x01,0x02,0x67,0x81]
+0x01,0x02,0x67,0x81
 
-# CHECK: s_add_i32 vcc_lo, s0, s0    ; encoding: [0x00,0x00,0x6a,0x81]
-0x00,0x00,0x6a,0x81
+# CHECK: s_add_i32 vcc_lo, s1, s2    ; encoding: [0x01,0x02,0x6a,0x81]
+0x01,0x02,0x6a,0x81
 
-# CHECK: s_add_i32 vcc_hi, s0, s0    ; encoding: [0x00,0x00,0x6b,0x81]
-0x00,0x00,0x6b,0x81
+# CHECK: s_add_i32 vcc_hi, s1, s2    ; encoding: [0x01,0x02,0x6b,0x81]
+0x01,0x02,0x6b,0x81
 
-# CHECK: s_add_i32 tba_lo, s0, s0    ; encoding: [0x00,0x00,0x6c,0x81]
-0x00,0x00,0x6c,0x81
+# CHECK: s_add_i32 tba_lo, s1, s2    ; encoding: [0x01,0x02,0x6c,0x81]
+0x01,0x02,0x6c,0x81
 
-# CHECK: s_add_i32 tba_hi, s0, s0    ; encoding: [0x00,0x00,0x6d,0x81]
-0x00,0x00,0x6d,0x81
+# CHECK: s_add_i32 tba_hi, s1, s2    ; encoding: [0x01,0x02,0x6d,0x81]
+0x01,0x02,0x6d,0x81
 
-# CHECK: s_add_i32 tma_lo, s0, s0    ; encoding: [0x00,0x00,0x6e,0x81]
-0x00,0x00,0x6e,0x81
+# CHECK: s_add_i32 tma_lo, s1, s2    ; encoding: [0x01,0x02,0x6e,0x81]
+0x01,0x02,0x6e,0x81
 
-# CHECK: s_add_i32 tma_hi, s0, s0    ; encoding: [0x00,0x00,0x6f,0x81]
-0x00,0x00,0x6f,0x81
+# CHECK: s_add_i32 tma_hi, s1, s2    ; encoding: [0x01,0x02,0x6f,0x81]
+0x01,0x02,0x6f,0x81
 
-# CHECK: s_add_i32 ttmp11, s0, s0    ; encoding: [0x00,0x00,0x7b,0x81]
-0x00,0x00,0x7b,0x81
+# CHECK: s_add_i32 ttmp11, s1, s2    ; encoding: [0x01,0x02,0x7b,0x81]
+0x01,0x02,0x7b,0x81
 
-# CHECK: s_add_i32 m0, s0, s0    ; encoding: [0x00,0x00,0x7c,0x81]
-0x00,0x00,0x7c,0x81
+# CHECK: s_add_i32 m0, s1, s2    ; encoding: [0x01,0x02,0x7c,0x81]
+0x01,0x02,0x7c,0x81
 
-# CHECK: s_add_i32 exec_lo, s0, s0    ; encoding: [0x00,0x00,0x7e,0x81]
-0x00,0x00,0x7e,0x81
+# CHECK: s_add_i32 exec_lo, s1, s2    ; encoding: [0x01,0x02,0x7e,0x81]
+0x01,0x02,0x7e,0x81
 
-# CHECK: s_add_i32 exec_hi, s0, s0    ; encoding: [0x00,0x00,0x7f,0x81]
-0x00,0x00,0x7f,0x81
+# CHECK: s_add_i32 exec_hi, s1, s2    ; encoding: [0x01,0x02,0x7f,0x81]
+0x01,0x02,0x7f,0x81
 
-# CHECK: s_add_i32 s0, s101, s0    ; encoding: [0x65,0x00,0x00,0x81]
-0x65,0x00,0x00,0x81
+# CHECK: s_add_i32 s5, s101, s2    ; encoding: [0x65,0x02,0x05,0x81]
+0x65,0x02,0x05,0x81
 
-# CHECK: s_add_i32 s0, flat_scratch_lo, s0    ; encoding: [0x66,0x00,0x00,0x81]
-0x66,0x00,0x00,0x81
+# CHECK: s_add_i32 s5, flat_scratch_lo, s2    ; encoding: [0x66,0x02,0x05,0x81]
+0x66,0x02,0x05,0x81
 
-# CHECK: s_add_i32 s0, flat_scratch_hi, s0    ; encoding: [0x67,0x00,0x00,0x81]
-0x67,0x00,0x00,0x81
+# CHECK: s_add_i32 s5, flat_scratch_hi, s2    ; encoding: [0x67,0x02,0x05,0x81]
+0x67,0x02,0x05,0x81
 
-# CHECK: s_add_i32 s0, vcc_lo, s0    ; encoding: [0x6a,0x00,0x00,0x81]
-0x6a,0x00,0x00,0x81
+# CHECK: s_add_i32 s5, vcc_lo, s2    ; encoding: [0x6a,0x02,0x05,0x81]
+0x6a,0x02,0x05,0x81
 
-# CHECK: s_add_i32 s0, vcc_hi, s0    ; encoding: [0x6b,0x00,0x00,0x81]
-0x6b,0x00,0x00,0x81
+# CHECK: s_add_i32 s5, vcc_hi, s2    ; encoding: [0x6b,0x02,0x05,0x81]
+0x6b,0x02,0x05,0x81
 
-# CHECK: s_add_i32 s0, tba_lo, s0    ; encoding: [0x6c,0x00,0x00,0x81]
-0x6c,0x00,0x00,0x81
+# CHECK: s_add_i32 s5, tba_lo, s2    ; encoding: [0x6c,0x02,0x05,0x81]
+0x6c,0x02,0x05,0x81
 
-# CHECK: s_add_i32 s0, tba_hi, s0    ; encoding: [0x6d,0x00,0x00,0x81]
-0x6d,0x00,0x00,0x81
+# CHECK: s_add_i32 s5, tba_hi, s2    ; encoding: [0x6d,0x02,0x05,0x81]
+0x6d,0x02,0x05,0x81
 
-# CHECK: s_add_i32 s0, tma_lo, s0    ; encoding: [0x6e,0x00,0x00,0x81]
-0x6e,0x00,0x00,0x81
+# CHECK: s_add_i32 s5, tma_lo, s2    ; encoding: [0x6e,0x02,0x05,0x81]
+0x6e,0x02,0x05,0x81
 
-# CHECK: s_add_i32 s0, tma_hi, s0    ; encoding: [0x6f,0x00,0x00,0x81]
-0x6f,0x00,0x00,0x81
+# CHECK: s_add_i32 s5, tma_hi, s2    ; encoding: [0x6f,0x02,0x05,0x81]
+0x6f,0x02,0x05,0x81
 
-# CHECK: s_add_i32 s0, ttmp11, s0    ; encoding: [0x7b,0x00,0x00,0x81]
-0x7b,0x00,0x00,0x81
+# CHECK: s_add_i32 s5, ttmp11, s2    ; encoding: [0x7b,0x02,0x05,0x81]
+0x7b,0x02,0x05,0x81
 
-# CHECK: s_add_i32 s0, m0, s0    ; encoding: [0x7c,0x00,0x00,0x81]
-0x7c,0x00,0x00,0x81
+# CHECK: s_add_i32 s5, m0, s2    ; encoding: [0x7c,0x02,0x05,0x81]
+0x7c,0x02,0x05,0x81
 
-# CHECK: s_add_i32 s0, exec_lo, s0    ; encoding: [0x7e,0x00,0x00,0x81]
-0x7e,0x00,0x00,0x81
+# CHECK: s_add_i32 s5, exec_lo, s2    ; encoding: [0x7e,0x02,0x05,0x81]
+0x7e,0x02,0x05,0x81
 
-# CHECK: s_add_i32 s0, exec_hi, s0    ; encoding: [0x7f,0x00,0x00,0x81]
-0x7f,0x00,0x00,0x81
+# CHECK: s_add_i32 s5, exec_hi, s2    ; encoding: [0x7f,0x02,0x05,0x81]
+0x7f,0x02,0x05,0x81
 
-# CHECK: s_add_i32 s0, 0, s0    ; encoding: [0x80,0x00,0x00,0x81]
-0x80,0x00,0x00,0x81
+# CHECK: s_add_i32 s5, 0, s2    ; encoding: [0x80,0x02,0x05,0x81]
+0x80,0x02,0x05,0x81
 
-# CHECK: s_add_i32 s0, -1, s0    ; encoding: [0xc1,0x00,0x00,0x81]
-0xc1,0x00,0x00,0x81
+# CHECK: s_add_i32 s5, -1, s2    ; encoding: [0xc1,0x02,0x05,0x81]
+0xc1,0x02,0x05,0x81
 
-# CHECK: s_add_i32 s0, 0.5, s0    ; encoding: [0xf0,0x00,0x00,0x81]
-0xf0,0x00,0x00,0x81
+# CHECK: s_add_i32 s5, 0.5, s2    ; encoding: [0xf0,0x02,0x05,0x81]
+0xf0,0x02,0x05,0x81
 
-# CHECK: s_add_i32 s0, -4.0, s0    ; encoding: [0xf7,0x00,0x00,0x81]
-0xf7,0x00,0x00,0x81
+# CHECK: s_add_i32 s5, -4.0, s2    ; encoding: [0xf7,0x02,0x05,0x81]
+0xf7,0x02,0x05,0x81
 
-# CHECK: s_add_i32 s0, scc, s0    ; encoding: [0xfd,0x00,0x00,0x81]
-0xfd,0x00,0x00,0x81
+# CHECK: s_add_i32 s5, scc, s2    ; encoding: [0xfd,0x02,0x05,0x81]
+0xfd,0x02,0x05,0x81
 
-# CHECK: s_add_i32 s0, s0, s101    ; encoding: [0x00,0x65,0x00,0x81]
-0x00,0x65,0x00,0x81
+# CHECK: s_add_i32 s5, s1, s101    ; encoding: [0x01,0x65,0x05,0x81]
+0x01,0x65,0x05,0x81
 
-# CHECK: s_add_i32 s0, s0, flat_scratch_lo    ; encoding: [0x00,0x66,0x00,0x81]
-0x00,0x66,0x00,0x81
+# CHECK: s_add_i32 s5, s1, flat_scratch_lo    ; encoding: [0x01,0x66,0x05,0x81]
+0x01,0x66,0x05,0x81
 
-# CHECK: s_add_i32 s0, s0, flat_scratch_hi    ; encoding: [0x00,0x67,0x00,0x81]
-0x00,0x67,0x00,0x81
+# CHECK: s_add_i32 s5, s1, flat_scratch_hi    ; encoding: [0x01,0x67,0x05,0x81]
+0x01,0x67,0x05,0x81
 
-# CHECK: s_add_i32 s0, s0, vcc_lo    ; encoding: [0x00,0x6a,0x00,0x81]
-0x00,0x6a,0x00,0x81
+# CHECK: s_add_i32 s5, s1, vcc_lo    ; encoding: [0x01,0x6a,0x05,0x81]
+0x01,0x6a,0x05,0x81
 
-# CHECK: s_add_i32 s0, s0, vcc_hi    ; encoding: [0x00,0x6b,0x00,0x81]
-0x00,0x6b,0x00,0x81
+# CHECK: s_add_i32 s5, s1, vcc_hi    ; encoding: [0x01,0x6b,0x05,0x81]
+0x01,0x6b,0x05,0x81
 
-# CHECK: s_add_i32 s0, s0, tba_lo    ; encoding: [0x00,0x6c,0x00,0x81]
-0x00,0x6c,0x00,0x81
+# CHECK: s_add_i32 s5, s1, tba_lo    ; encoding: [0x01,0x6c,0x05,0x81]
+0x01,0x6c,0x05,0x81
 
-# CHECK: s_add_i32 s0, s0, tba_hi    ; encoding: [0x00,0x6d,0x00,0x81]
-0x00,0x6d,0x00,0x81
+# CHECK: s_add_i32 s5, s1, tba_hi    ; encoding: [0x01,0x6d,0x05,0x81]
+0x01,0x6d,0x05,0x81
 
-# CHECK: s_add_i32 s0, s0, tma_lo    ; encoding: [0x00,0x6e,0x00,0x81]
-0x00,0x6e,0x00,0x81
+# CHECK: s_add_i32 s5, s1, tma_lo    ; encoding: [0x01,0x6e,0x05,0x81]
+0x01,0x6e,0x05,0x81
 
-# CHECK: s_add_i32 s0, s0, tma_hi    ; encoding: [0x00,0x6f,0x00,0x81]
-0x00,0x6f,0x00,0x81
+# CHECK: s_add_i32 s5, s1, tma_hi    ; encoding: [0x01,0x6f,0x05,0x81]
+0x01,0x6f,0x05,0x81
 
-# CHECK: s_add_i32 s0, s0, ttmp11    ; encoding: [0x00,0x7b,0x00,0x81]
-0x00,0x7b,0x00,0x81
+# CHECK: s_add_i32 s5, s1, ttmp11    ; encoding: [0x01,0x7b,0x05,0x81]
+0x01,0x7b,0x05,0x81
 
-# CHECK: s_add_i32 s0, s0, m0    ; encoding: [0x00,0x7c,0x00,0x81]
-0x00,0x7c,0x00,0x81
+# CHECK: s_add_i32 s5, s1, m0    ; encoding: [0x01,0x7c,0x05,0x81]
+0x01,0x7c,0x05,0x81
 
-# CHECK: s_add_i32 s0, s0, exec_lo    ; encoding: [0x00,0x7e,0x00,0x81]
-0x00,0x7e,0x00,0x81
+# CHECK: s_add_i32 s5, s1, exec_lo    ; encoding: [0x01,0x7e,0x05,0x81]
+0x01,0x7e,0x05,0x81
 
-# CHECK: s_add_i32 s0, s0, exec_hi    ; encoding: [0x00,0x7f,0x00,0x81]
-0x00,0x7f,0x00,0x81
+# CHECK: s_add_i32 s5, s1, exec_hi    ; encoding: [0x01,0x7f,0x05,0x81]
+0x01,0x7f,0x05,0x81
 
-# CHECK: s_add_i32 s0, s0, 0    ; encoding: [0x00,0x80,0x00,0x81]
-0x00,0x80,0x00,0x81
+# CHECK: s_add_i32 s5, s1, 0    ; encoding: [0x01,0x80,0x05,0x81]
+0x01,0x80,0x05,0x81
 
-# CHECK: s_add_i32 s0, s0, -1    ; encoding: [0x00,0xc1,0x00,0x81]
-0x00,0xc1,0x00,0x81
+# CHECK: s_add_i32 s5, s1, -1    ; encoding: [0x01,0xc1,0x05,0x81]
+0x01,0xc1,0x05,0x81
 
-# CHECK: s_add_i32 s0, s0, 0.5    ; encoding: [0x00,0xf0,0x00,0x81]
-0x00,0xf0,0x00,0x81
+# CHECK: s_add_i32 s5, s1, 0.5    ; encoding: [0x01,0xf0,0x05,0x81]
+0x01,0xf0,0x05,0x81
 
-# CHECK: s_add_i32 s0, s0, -4.0    ; encoding: [0x00,0xf7,0x00,0x81]
-0x00,0xf7,0x00,0x81
+# CHECK: s_add_i32 s5, s1, -4.0    ; encoding: [0x01,0xf7,0x05,0x81]
+0x01,0xf7,0x05,0x81
 
-# CHECK: s_add_i32 s0, s0, scc    ; encoding: [0x00,0xfd,0x00,0x81]
-0x00,0xfd,0x00,0x81
+# CHECK: s_add_i32 s5, s1, scc    ; encoding: [0x01,0xfd,0x05,0x81]
+0x01,0xfd,0x05,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 s5, s1, 0xaf123456    ; encoding: [0x01,0xff,0x05,0x81,0x56,0x34,0x12,0xaf]
+0x01,0xff,0x05,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_add_i32 s5, s1, 0x3f717273    ; encoding: [0x01,0xff,0x05,0x81,0x73,0x72,0x71,0x3f]
+0x01,0xff,0x05,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 s5, s1, s2    ; encoding: [0x01,0x02,0x85,0x81]
+0x01,0x02,0x85,0x81
 
-# CHECK: s_sub_i32 s101, s0, s0    ; encoding: [0x00,0x00,0xe5,0x81]
-0x00,0x00,0xe5,0x81
+# CHECK: s_sub_i32 s101, s1, s2    ; encoding: [0x01,0x02,0xe5,0x81]
+0x01,0x02,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_lo, s1, s2    ; encoding: [0x01,0x02,0xe6,0x81]
+0x01,0x02,0xe6,0x81
 
-# CHECK: s_sub_i32 flat_scratch_hi, s0, s0    ; encoding: [0x00,0x00,0xe7,0x81]
-0x00,0x00,0xe7,0x81
+# CHECK: s_sub_i32 flat_scratch_hi, s1, s2    ; encoding: [0x01,0x02,0xe7,0x81]
+0x01,0x02,0xe7,0x81
 
-# CHECK: s_sub_i32 vcc_lo, s0, s0    ; encoding: [0x00,0x00,0xea,0x81]
-0x00,0x00,0xea,0x81
+# CHECK: s_sub_i32 vcc_lo, s1, s2    ; encoding: [0x01,0x02,0xea,0x81]
+0x01,0x02,0xea,0x81
 
-# CHECK: s_sub_i32 vcc_hi, s0, s0    ; encoding: [0x00,0x00,0xeb,0x81]
-0x00,0x00,0xeb,0x81
+# CHECK: s_sub_i32 vcc_hi, s1, s2    ; encoding: [0x01,0x02,0xeb,0x81]
+0x01,0x02,0xeb,0x81
 
-# CHECK: s_sub_i32 tba_lo, s0, s0    ; encoding: [0x00,0x00,0xec,0x81]
-0x00,0x00,0xec,0x81
+# CHECK: s_sub_i32 tba_lo, s1, s2    ; encoding: [0x01,0x02,0xec,0x81]
+0x01,0x02,0xec,0x81
 
-# CHECK: s_sub_i32 tba_hi, s0, s0    ; encoding: [0x00,0x00,0xed,0x81]
-0x00,0x00,0xed,0x81
+# CHECK: s_sub_i32 tba_hi, s1, s2    ; encoding: [0x01,0x02,0xed,0x81]
+0x01,0x02,0xed,0x81
 
-# CHECK: s_sub_i32 tma_lo, s0, s0    ; encoding: [0x00,0x00,0xee,0x81]
-0x00,0x00,0xee,0x81
+# CHECK: s_sub_i32 tma_lo, s1, s2    ; encoding: [0x01,0x02,0xee,0x81]
+0x01,0x02,0xee,0x81
 
-# CHECK: s_sub_i32 tma_hi, s0, s0    ; encoding: [0x00,0x00,0xef,0x81]
-0x00,0x00,0xef,0x81
+# CHECK: s_sub_i32 tma_hi, s1, s2    ; encoding: [0x01,0x02,0xef,0x81]
+0x01,0x02,0xef,0x81
 
-# CHECK: s_sub_i32 ttmp11, s0, s0    ; encoding: [0x00,0x00,0xfb,0x81]
-0x00,0x00,0xfb,0x81
+# CHECK: s_sub_i32 ttmp11, s1, s2    ; encoding: [0x01,0x02,0xfb,0x81]
+0x01,0x02,0xfb,0x81
 
-# CHECK: s_sub_i32 m0, s0, s0    ; encoding: [0x00,0x00,0xfc,0x81]
-0x00,0x00,0xfc,0x81
+# CHECK: s_sub_i32 m0, s1, s2    ; encoding: [0x01,0x02,0xfc,0x81]
+0x01,0x02,0xfc,0x81
 
-# CHECK: s_sub_i32 exec_lo, s0, s0    ; encoding: [0x00,0x00,0xfe,0x81]
-0x00,0x00,0xfe,0x81
+# CHECK: s_sub_i32 exec_lo, s1, s2    ; encoding: [0x01,0x02,0xfe,0x81]
+0x01,0x02,0xfe,0x81
 
-# CHECK: s_sub_i32 exec_hi, s0, s0    ; encoding: [0x00,0x00,0xff,0x81]
-0x00,0x00,0xff,0x81
+# CHECK: s_sub_i32 exec_hi, s1, s2    ; encoding: [0x01,0x02,0xff,0x81]
+0x01,0x02,0xff,0x81
 
-# CHECK: s_sub_i32 s0, s101, s0    ; encoding: [0x65,0x00,0x80,0x81]
-0x65,0x00,0x80,0x81
+# CHECK: s_sub_i32 s5, s101, s2    ; encoding: [0x65,0x02,0x85,0x81]
+0x65,0x02,0x85,0x81
 
-# CHECK: s_sub_i32 s0, flat_scratch_lo, s0    ; encoding: [0x66,0x00,0x80,0x81]
-0x66,0x00,0x80,0x81
+# CHECK: s_sub_i32 s5, flat_scratch_lo, s2    ; encoding: [0x66,0x02,0x85,0x81]
+0x66,0x02,0x85,0x81
 
-# CHECK: s_sub_i32 s0, flat_scratch_hi, s0    ; encoding: [0x67,0x00,0x80,0x81]
-0x67,0x00,0x80,0x81
+# CHECK: s_sub_i32 s5, flat_scratch_hi, s2    ; encoding: [0x67,0x02,0x85,0x81]
+0x67,0x02,0x85,0x81
 
-# CHECK: s_sub_i32 s0, vcc_lo, s0    ; encoding: [0x6a,0x00,0x80,0x81]
-0x6a,0x00,0x80,0x81
+# CHECK: s_sub_i32 s5, vcc_lo, s2    ; encoding: [0x6a,0x02,0x85,0x81]
+0x6a,0x02,0x85,0x81
 
-# CHECK: s_sub_i32 s0, vcc_hi, s0    ; encoding: [0x6b,0x00,0x80,0x81]
-0x6b,0x00,0x80,0x81
+# CHECK: s_sub_i32 s5, vcc_hi, s2    ; encoding: [0x6b,0x02,0x85,0x81]
+0x6b,0x02,0x85,0x81
 
-# CHECK: s_sub_i32 s0, tba_lo, s0    ; encoding: [0x6c,0x00,0x80,0x81]
-0x6c,0x00,0x80,0x81
+# CHECK: s_sub_i32 s5, tba_lo, s2    ; encoding: [0x6c,0x02,0x85,0x81]
+0x6c,0x02,0x85,0x81
 
-# CHECK: s_sub_i32 s0, tba_hi, s0    ; encoding: [0x6d,0x00,0x80,0x81]
-0x6d,0x00,0x80,0x81
+# CHECK: s_sub_i32 s5, tba_hi, s2    ; encoding: [0x6d,0x02,0x85,0x81]
+0x6d,0x02,0x85,0x81
 
-# CHECK: s_sub_i32 s0, tma_lo, s0    ; encoding: [0x6e,0x00,0x80,0x81]
-0x6e,0x00,0x80,0x81
+# CHECK: s_sub_i32 s5, tma_lo, s2    ; encoding: [0x6e,0x02,0x85,0x81]
+0x6e,0x02,0x85,0x81
 
-# CHECK: s_sub_i32 s0, tma_hi, s0    ; encoding: [0x6f,0x00,0x80,0x81]
-0x6f,0x00,0x80,0x81
+# CHECK: s_sub_i32 s5, tma_hi, s2    ; encoding: [0x6f,0x02,0x85,0x81]
+0x6f,0x02,0x85,0x81
 
-# CHECK: s_sub_i32 s0, ttmp11, s0    ; encoding: [0x7b,0x00,0x80,0x81]
-0x7b,0x00,0x80,0x81
+# CHECK: s_sub_i32 s5, ttmp11, s2    ; encoding: [0x7b,0x02,0x85,0x81]
+0x7b,0x02,0x85,0x81
 
-# CHECK: s_sub_i32 s0, m0, s0    ; encoding: [0x7c,0x00,0x80,0x81]
-0x7c,0x00,0x80,0x81
+# CHECK: s_sub_i32 s5, m0, s2    ; encoding: [0x7c,0x02,0x85,0x81]
+0x7c,0x02,0x85,0x81
 
-# CHECK: s_sub_i32 s0, exec_lo, s0    ; encoding: [0x7e,0x00,0x80,0x81]
-0x7e,0x00,0x80,0x81
+# CHECK: s_sub_i32 s5, exec_lo, s2    ; encoding: [0x7e,0x02,0x85,0x81]
+0x7e,0x02,0x85,0x81
 
-# CHECK: s_sub_i32 s0, exec_hi, s0    ; encoding: [0x7f,0x00,0x80,0x81]
-0x7f,0x00,0x80,0x81
+# CHECK: s_sub_i32 s5, exec_hi, s2    ; encoding: [0x7f,0x02,0x85,0x81]
+0x7f,0x02,0x85,0x81
 
-# CHECK: s_sub_i32 s0, 0, s0    ; encoding: [0x80,0x00,0x80,0x81]
-0x80,0x00,0x80,0x81
+# CHECK: s_sub_i32 s5, 0, s2    ; encoding: [0x80,0x02,0x85,0x81]
+0x80,0x02,0x85,0x81
 
-# CHECK: s_sub_i32 s0, -1, s0    ; encoding: [0xc1,0x00,0x80,0x81]
-0xc1,0x00,0x80,0x81
+# CHECK: s_sub_i32 s5, -1, s2    ; encoding: [0xc1,0x02,0x85,0x81]
+0xc1,0x02,0x85,0x81
 
-# CHECK: s_sub_i32 s0, 0.5, s0    ; encoding: [0xf0,0x00,0x80,0x81]
-0xf0,0x00,0x80,0x81
+# CHECK: s_sub_i32 s5, 0.5, s2    ; encoding: [0xf0,0x02,0x85,0x81]
+0xf0,0x02,0x85,0x81
 
-# CHECK: s_sub_i32 s0, -4.0, s0    ; encoding: [0xf7,0x00,0x80,0x81]
-0xf7,0x00,0x80,0x81
+# CHECK: s_sub_i32 s5, -4.0, s2    ; encoding: [0xf7,0x02,0x85,0x81]
+0xf7,0x02,0x85,0x81
 
-# CHECK: s_sub_i32 s0, scc, s0    ; encoding: [0xfd,0x00,0x80,0x81]
-0xfd,0x00,0x80,0x81
+# CHECK: s_sub_i32 s5, scc, s2    ; encoding: [0xfd,0x02,0x85,0x81]
+0xfd,0x02,0x85,0x81
 
-# CHECK: s_sub_i32 s0, s0, s101    ; encoding: [0x00,0x65,0x80,0x81]
-0x00,0x65,0x80,0x81
+# CHECK: s_sub_i32 s5, s1, s101    ; encoding: [0x01,0x65,0x85,0x81]
+0x01,0x65,0x85,0x81
 
-# CHECK: s_sub_i32 s0, s0, flat_scratch_lo    ; encoding: [0x00,0x66,0x80,0x81]
-0x00,0x66,0x80,0x81
+# CHECK: s_sub_i32 s5, s1, flat_scratch_lo    ; encoding: [0x01,0x66,0x85,0x81]
+0x01,0x66,0x85,0x81
 
-# CHECK: s_sub_i32 s0, s0, flat_scratch_hi    ; encoding: [0x00,0x67,0x80,0x81]
-0x00,0x67,0x80,0x81
+# CHECK: s_sub_i32 s5, s1, flat_scratch_hi    ; encoding: [0x01,0x67,0x85,0x81]
+0x01,0x67,0x85,0x81
 
-# CHECK: s_sub_i32 s0, s0, vcc_lo    ; encoding: [0x00,0x6a,0x80,0x81]
-0x00,0x6a,0x80,0x81
+# CHECK: s_sub_i32 s5, s1, vcc_lo    ; encoding: [0x01,0x6a,0x85,0x81]
+0x01,0x6a,0x85,0x81
 
-# CHECK: s_sub_i32 s0, s0, vcc_hi    ; encoding: [0x00,0x6b,0x80,0x81]
-0x00,0x6b,0x80,0x81
+# CHECK: s_sub_i32 s5, s1, vcc_hi    ; encoding: [0x01,0x6b,0x85,0x81]
+0x01,0x6b,0x85,0x81
 
-# CHECK: s_sub_i32 s0, s0, tba_lo    ; encoding: [0x00,0x6c,0x80,0x81]
-0x00,0x6c,0x80,0x81
+# CHECK: s_sub_i32 s5, s1, tba_lo    ; encoding: [0x01,0x6c,0x85,0x81]
+0x01,0x6c,0x85,0x81
 
-# CHECK: s_sub_i32 s0, s0, tba_hi    ; encoding: [0x00,0x6d,0x80,0x81]
-0x00,0x6d,0x80,0x81
+# CHECK: s_sub_i32 s5, s1, tba_hi    ; encoding: [0x01,0x6d,0x85,0x81]
+0x01,0x6d,0x85,0x81
 
-# CHECK: s_sub_i32 s0, s0, tma_lo    ; encoding: [0x00,0x6e,0x80,0x81]
-0x00,0x6e,0x80,0x81
+# CHECK: s_sub_i32 s5, s1, tma_lo    ; encoding: [0x01,0x6e,0x85,0x81]
+0x01,0x6e,0x85,0x81
 
-# CHECK: s_sub_i32 s0, s0, tma_hi    ; encoding: [0x00,0x6f,0x80,0x81]
-0x00,0x6f,0x80,0x81
+# CHECK: s_sub_i32 s5, s1, tma_hi    ; encoding: [0x01,0x6f,0x85,0x81]
+0x01,0x6f,0x85,0x81
 
-# CHECK: s_sub_i32 s0, s0, ttmp11    ; encoding: [0x00,0x7b,0x80,0x81]
-0x00,0x7b,0x80,0x81
+# CHECK: s_sub_i32 s5, s1, ttmp11    ; encoding: [0x01,0x7b,0x85,0x81]
+0x01,0x7b,0x85,0x81
 
-# CHECK: s_sub_i32 s0, s0, m0    ; encoding: [0x00,0x7c,0x80,0x81]
-0x00,0x7c,0x80,0x81
+# CHECK: s_sub_i32 s5, s1, m0    ; encoding: [0x01,0x7c,0x85,0x81]
+0x01,0x7c,0x85,0x81
 
-# CHECK: s_sub_i32 s0, s0, exec_lo    ; encoding: [0x00,0x7e,0x80,0x81]
-0x00,0x7e,0x80,0x81
+# CHECK: s_sub_i32 s5, s1, exec_lo    ; encoding: [0x01,0x7e,0x85,0x81]
+0x01,0x7e,0x85,0x81
 
-# CHECK: s_sub_i32 s0, s0, exec_hi    ; encoding: [0x00,0x7f,0x80,0x81]
-0x00,0x7f,0x80,0x81
+# CHECK: s_sub_i32 s5, s1, exec_hi    ; encoding: [0x01,0x7f,0x85,0x81]
+0x01,0x7f,0x85,0x81
 
-# CHECK: s_sub_i32 s0, s0, 0    ; encoding: [0x00,0x80,0x80,0x81]
-0x00,0x80,0x80,0x81
+# CHECK: s_sub_i32 s5, s1, 0    ; encoding: [0x01,0x80,0x85,0x81]
+0x01,0x80,0x85,0x81
 
-# CHECK: s_sub_i32 s0, s0, -1    ; encoding: [0x00,0xc1,0x80,0x81]
-0x00,0xc1,0x80,0x81
+# CHECK: s_sub_i32 s5, s1, -1    ; encoding: [0x01,0xc1,0x85,0x81]
+0x01,0xc1,0x85,0x81
 
-# CHECK: s_sub_i32 s0, s0, 0.5    ; encoding: [0x00,0xf0,0x80,0x81]
-0x00,0xf0,0x80,0x81
+# CHECK: s_sub_i32 s5, s1, 0.5    ; encoding: [0x01,0xf0,0x85,0x81]
+0x01,0xf0,0x85,0x81
 
-# CHECK: s_sub_i32 s0, s0, -4.0    ; encoding: [0x00,0xf7,0x80,0x81]
-0x00,0xf7,0x80,0x81
+# CHECK: s_sub_i32 s5, s1, -4.0    ; encoding: [0x01,0xf7,0x85,0x81]
+0x01,0xf7,0x85,0x81
 
-# CHECK: s_sub_i32 s0, s0, scc    ; encoding: [0x00,0xfd,0x80,0x81]
-0x00,0xfd,0x80,0x81
+# CHECK: s_sub_i32 s5, s1, scc    ; encoding: [0x01,0xfd,0x85,0x81]
+0x01,0xfd,0x85,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 s5, s1, 0xaf123456    ; encoding: [0x01,0xff,0x85,0x81,0x56,0x34,0x12,0xaf]
+0x01,0xff,0x85,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_sub_i32 s5, s1, 0x3f717273    ; encoding: [0x01,0xff,0x85,0x81,0x73,0x72,0x71,0x3f]
+0x01,0xff,0x85,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 s5, s1, s2    ; encoding: [0x01,0x02,0x05,0x82]
+0x01,0x02,0x05,0x82
 
-# CHECK: s_addc_u32 s101, s0, s0    ; encoding: [0x00,0x00,0x65,0x82]
-0x00,0x00,0x65,0x82
+# CHECK: s_addc_u32 s101, s1, s2    ; encoding: [0x01,0x02,0x65,0x82]
+0x01,0x02,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_lo, s1, s2    ; encoding: [0x01,0x02,0x66,0x82]
+0x01,0x02,0x66,0x82
 
-# CHECK: s_addc_u32 flat_scratch_hi, s0, s0    ; encoding: [0x00,0x00,0x67,0x82]
-0x00,0x00,0x67,0x82
+# CHECK: s_addc_u32 flat_scratch_hi, s1, s2    ; encoding: [0x01,0x02,0x67,0x82]
+0x01,0x02,0x67,0x82
 
-# CHECK: s_addc_u32 vcc_lo, s0, s0    ; encoding: [0x00,0x00,0x6a,0x82]
-0x00,0x00,0x6a,0x82
+# CHECK: s_addc_u32 vcc_lo, s1, s2    ; encoding: [0x01,0x02,0x6a,0x82]
+0x01,0x02,0x6a,0x82
 
-# CHECK: s_addc_u32 vcc_hi, s0, s0    ; encoding: [0x00,0x00,0x6b,0x82]
-0x00,0x00,0x6b,0x82
+# CHECK: s_addc_u32 vcc_hi, s1, s2    ; encoding: [0x01,0x02,0x6b,0x82]
+0x01,0x02,0x6b,0x82
 
-# CHECK: s_addc_u32 tba_lo, s0, s0    ; encoding: [0x00,0x00,0x6c,0x82]
-0x00,0x00,0x6c,0x82
+# CHECK: s_addc_u32 tba_lo, s1, s2    ; encoding: [0x01,0x02,0x6c,0x82]
+0x01,0x02,0x6c,0x82
 
-# CHECK: s_addc_u32 tba_hi, s0, s0    ; encoding: [0x00,0x00,0x6d,0x82]
-0x00,0x00,0x6d,0x82
+# CHECK: s_addc_u32 tba_hi, s1, s2    ; encoding: [0x01,0x02,0x6d,0x82]
+0x01,0x02,0x6d,0x82
 
-# CHECK: s_addc_u32 tma_lo, s0, s0    ; encoding: [0x00,0x00,0x6e,0x82]
-0x00,0x00,0x6e,0x82
+# CHECK: s_addc_u32 tma_lo, s1, s2    ; encoding: [0x01,0x02,0x6e,0x82]
+0x01,0x02,0x6e,0x82
 
-# CHECK: s_addc_u32 tma_hi, s0, s0    ; encoding: [0x00,0x00,0x6f,0x82]
-0x00,0x00,0x6f,0x82
+# CHECK: s_addc_u32 tma_hi, s1, s2    ; encoding: [0x01,0x02,0x6f,0x82]
+0x01,0x02,0x6f,0x82
 
-# CHECK: s_addc_u32 ttmp11, s0, s0    ; encoding: [0x00,0x00,0x7b,0x82]
-0x00,0x00,0x7b,0x82
+# CHECK: s_addc_u32 ttmp11, s1, s2    ; encoding: [0x01,0x02,0x7b,0x82]
+0x01,0x02,0x7b,0x82
 
-# CHECK: s_addc_u32 m0, s0, s0    ; encoding: [0x00,0x00,0x7c,0x82]
-0x00,0x00,0x7c,0x82
+# CHECK: s_addc_u32 m0, s1, s2    ; encoding: [0x01,0x02,0x7c,0x82]
+0x01,0x02,0x7c,0x82
 
-# CHECK: s_addc_u32 exec_lo, s0, s0    ; encoding: [0x00,0x00,0x7e,0x82]
-0x00,0x00,0x7e,0x82
+# CHECK: s_addc_u32 exec_lo, s1, s2    ; encoding: [0x01,0x02,0x7e,0x82]
+0x01,0x02,0x7e,0x82
 
-# CHECK: s_addc_u32 exec_hi, s0, s0    ; encoding: [0x00,0x00,0x7f,0x82]
-0x00,0x00,0x7f,0x82
+# CHECK: s_addc_u32 exec_hi, s1, s2    ; encoding: [0x01,0x02,0x7f,0x82]
+0x01,0x02,0x7f,0x82
 
-# CHECK: s_addc_u32 s0, s101, s0    ; encoding: [0x65,0x00,0x00,0x82]
-0x65,0x00,0x00,0x82
+# CHECK: s_addc_u32 s5, s101, s2    ; encoding: [0x65,0x02,0x05,0x82]
+0x65,0x02,0x05,0x82
 
-# CHECK: s_addc_u32 s0, flat_scratch_lo, s0    ; encoding: [0x66,0x00,0x00,0x82]
-0x66,0x00,0x00,0x82
+# CHECK: s_addc_u32 s5, flat_scratch_lo, s2    ; encoding: [0x66,0x02,0x05,0x82]
+0x66,0x02,0x05,0x82
 
-# CHECK: s_addc_u32 s0, flat_scratch_hi, s0    ; encoding: [0x67,0x00,0x00,0x82]
-0x67,0x00,0x00,0x82
+# CHECK: s_addc_u32 s5, flat_scratch_hi, s2    ; encoding: [0x67,0x02,0x05,0x82]
+0x67,0x02,0x05,0x82
 
-# CHECK: s_addc_u32 s0, vcc_lo, s0    ; encoding: [0x6a,0x00,0x00,0x82]
-0x6a,0x00,0x00,0x82
+# CHECK: s_addc_u32 s5, vcc_lo, s2    ; encoding: [0x6a,0x02,0x05,0x82]
+0x6a,0x02,0x05,0x82
 
-# CHECK: s_addc_u32 s0, vcc_hi, s0    ; encoding: [0x6b,0x00,0x00,0x82]
-0x6b,0x00,0x00,0x82
+# CHECK: s_addc_u32 s5, vcc_hi, s2    ; encoding: [0x6b,0x02,0x05,0x82]
+0x6b,0x02,0x05,0x82
 
-# CHECK: s_addc_u32 s0, tba_lo, s0    ; encoding: [0x6c,0x00,0x00,0x82]
-0x6c,0x00,0x00,0x82
+# CHECK: s_addc_u32 s5, tba_lo, s2    ; encoding: [0x6c,0x02,0x05,0x82]
+0x6c,0x02,0x05,0x82
 
-# CHECK: s_addc_u32 s0, tba_hi, s0    ; encoding: [0x6d,0x00,0x00,0x82]
-0x6d,0x00,0x00,0x82
+# CHECK: s_addc_u32 s5, tba_hi, s2    ; encoding: [0x6d,0x02,0x05,0x82]
+0x6d,0x02,0x05,0x82
 
-# CHECK: s_addc_u32 s0, tma_lo, s0    ; encoding: [0x6e,0x00,0x00,0x82]
-0x6e,0x00,0x00,0x82
+# CHECK: s_addc_u32 s5, tma_lo, s2    ; encoding: [0x6e,0x02,0x05,0x82]
+0x6e,0x02,0x05,0x82
 
-# CHECK: s_addc_u32 s0, tma_hi, s0    ; encoding: [0x6f,0x00,0x00,0x82]
-0x6f,0x00,0x00,0x82
+# CHECK: s_addc_u32 s5, tma_hi, s2    ; encoding: [0x6f,0x02,0x05,0x82]
+0x6f,0x02,0x05,0x82
 
-# CHECK: s_addc_u32 s0, ttmp11, s0    ; encoding: [0x7b,0x00,0x00,0x82]
-0x7b,0x00,0x00,0x82
+# CHECK: s_addc_u32 s5, ttmp11, s2    ; encoding: [0x7b,0x02,0x05,0x82]
+0x7b,0x02,0x05,0x82
 
-# CHECK: s_addc_u32 s0, m0, s0    ; encoding: [0x7c,0x00,0x00,0x82]
-0x7c,0x00,0x00,0x82
+# CHECK: s_addc_u32 s5, m0, s2    ; encoding: [0x7c,0x02,0x05,0x82]
+0x7c,0x02,0x05,0x82
 
-# CHECK: s_addc_u32 s0, exec_lo, s0    ; encoding: [0x7e,0x00,0x00,0x82]
-0x7e,0x00,0x00,0x82
+# CHECK: s_addc_u32 s5, exec_lo, s2    ; encoding: [0x7e,0x02,0x05,0x82]
+0x7e,0x02,0x05,0x82
 
-# CHECK: s_addc_u32 s0, exec_hi, s0    ; encoding: [0x7f,0x00,0x00,0x82]
-0x7f,0x00,0x00,0x82
+# CHECK: s_addc_u32 s5, exec_hi, s2    ; encoding: [0x7f,0x02,0x05,0x82]
+0x7f,0x02,0x05,0x82
 
-# CHECK: s_addc_u32 s0, 0, s0    ; encoding: [0x80,0x00,0x00,0x82]
-0x80,0x00,0x00,0x82
+# CHECK: s_addc_u32 s5, 0, s2    ; encoding: [0x80,0x02,0x05,0x82]
+0x80,0x02,0x05,0x82
 
-# CHECK: s_addc_u32 s0, -1, s0    ; encoding: [0xc1,0x00,0x00,0x82]
-0xc1,0x00,0x00,0x82
+# CHECK: s_addc_u32 s5, -1, s2    ; encoding: [0xc1,0x02,0x05,0x82]
+0xc1,0x02,0x05,0x82
 
-# CHECK: s_addc_u32 s0, 0.5, s0    ; encoding: [0xf0,0x00,0x00,0x82]
-0xf0,0x00,0x00,0x82
+# CHECK: s_addc_u32 s5, 0.5, s2    ; encoding: [0xf0,0x02,0x05,0x82]
+0xf0,0x02,0x05,0x82
 
-# CHECK: s_addc_u32 s0, -4.0, s0    ; encoding: [0xf7,0x00,0x00,0x82]
-0xf7,0x00,0x00,0x82
+# CHECK: s_addc_u32 s5, -4.0, s2    ; encoding: [0xf7,0x02,0x05,0x82]
+0xf7,0x02,0x05,0x82
 
-# CHECK: s_addc_u32 s0, scc, s0    ; encoding: [0xfd,0x00,0x00,0x82]
-0xfd,0x00,0x00,0x82
+# CHECK: s_addc_u32 s5, scc, s2    ; encoding: [0xfd,0x02,0x05,0x82]
+0xfd,0x02,0x05,0x82
 
-# CHECK: s_addc_u32 s0, s0, s101    ; encoding: [0x00,0x65,0x00,0x82]
-0x00,0x65,0x00,0x82
+# CHECK: s_addc_u32 s5, s1, s101    ; encoding: [0x01,0x65,0x05,0x82]
+0x01,0x65,0x05,0x82
 
-# CHECK: s_addc_u32 s0, s0, flat_scratch_lo    ; encoding: [0x00,0x66,0x00,0x82]
-0x00,0x66,0x00,0x82
+# CHECK: s_addc_u32 s5, s1, flat_scratch_lo    ; encoding: [0x01,0x66,0x05,0x82]
+0x01,0x66,0x05,0x82
 
-# CHECK: s_addc_u32 s0, s0, flat_scratch_hi    ; encoding: [0x00,0x67,0x00,0x82]
-0x00,0x67,0x00,0x82
+# CHECK: s_addc_u32 s5, s1, flat_scratch_hi    ; encoding: [0x01,0x67,0x05,0x82]
+0x01,0x67,0x05,0x82
 
-# CHECK: s_addc_u32 s0, s0, vcc_lo    ; encoding: [0x00,0x6a,0x00,0x82]
-0x00,0x6a,0x00,0x82
+# CHECK: s_addc_u32 s5, s1, vcc_lo    ; encoding: [0x01,0x6a,0x05,0x82]
+0x01,0x6a,0x05,0x82
 
-# CHECK: s_addc_u32 s0, s0, vcc_hi    ; encoding: [0x00,0x6b,0x00,0x82]
-0x00,0x6b,0x00,0x82
+# CHECK: s_addc_u32 s5, s1, vcc_hi    ; encoding: [0x01,0x6b,0x05,0x82]
+0x01,0x6b,0x05,0x82
 
-# CHECK: s_addc_u32 s0, s0, tba_lo    ; encoding: [0x00,0x6c,0x00,0x82]
-0x00,0x6c,0x00,0x82
+# CHECK: s_addc_u32 s5, s1, tba_lo    ; encoding: [0x01,0x6c,0x05,0x82]
+0x01,0x6c,0x05,0x82
 
-# CHECK: s_addc_u32 s0, s0, tba_hi    ; encoding: [0x00,0x6d,0x00,0x82]
-0x00,0x6d,0x00,0x82
+# CHECK: s_addc_u32 s5, s1, tba_hi    ; encoding: [0x01,0x6d,0x05,0x82]
+0x01,0x6d,0x05,0x82
 
-# CHECK: s_addc_u32 s0, s0, tma_lo    ; encoding: [0x00,0x6e,0x00,0x82]
-0x00,0x6e,0x00,0x82
+# CHECK: s_addc_u32 s5, s1, tma_lo    ; encoding: [0x01,0x6e,0x05,0x82]
+0x01,0x6e,0x05,0x82
 
-# CHECK: s_addc_u32 s0, s0, tma_hi    ; encoding: [0x00,0x6f,0x00,0x82]
-0x00,0x6f,0x00,0x82
+# CHECK: s_addc_u32 s5, s1, tma_hi    ; encoding: [0x01,0x6f,0x05,0x82]
+0x01,0x6f,0x05,0x82
 
-# CHECK: s_addc_u32 s0, s0, ttmp11    ; encoding: [0x00,0x7b,0x00,0x82]
-0x00,0x7b,0x00,0x82
+# CHECK: s_addc_u32 s5, s1, ttmp11    ; encoding: [0x01,0x7b,0x05,0x82]
+0x01,0x7b,0x05,0x82
 
-# CHECK: s_addc_u32 s0, s0, m0    ; encoding: [0x00,0x7c,0x00,0x82]
-0x00,0x7c,0x00,0x82
+# CHECK: s_addc_u32 s5, s1, m0    ; encoding: [0x01,0x7c,0x05,0x82]
+0x01,0x7c,0x05,0x82
 
-# CHECK: s_addc_u32 s0, s0, exec_lo    ; encoding: [0x00,0x7e,0x00,0x82]
-0x00,0x7e,0x00,0x82
+# CHECK: s_addc_u32 s5, s1, exec_lo    ; encoding: [0x01,0x7e,0x05,0x82]
+0x01,0x7e,0x05,0x82
 
-# CHECK: s_addc_u32 s0, s0, exec_hi    ; encoding: [0x00,0x7f,0x00,0x82]
-0x00,0x7f,0x00,0x82
+# CHECK: s_addc_u32 s5, s1, exec_hi    ; encoding: [0x01,0x7f,0x05,0x82]
+0x01,0x7f,0x05,0x82
 
-# CHECK: s_addc_u32 s0, s0, 0    ; encoding: [0x00,0x80,0x00,0x82]
-0x00,0x80,0x00,0x82
+# CHECK: s_addc_u32 s5, s1, 0    ; encoding: [0x01,0x80,0x05,0x82]
+0x01,0x80,0x05,0x82
 
-# CHECK: s_addc_u32 s0, s0, -1    ; encoding: [0x00,0xc1,0x00,0x82]
-0x00,0xc1,0x00,0x82
+# CHECK: s_addc_u32 s5, s1, -1    ; encoding: [0x01,0xc1,0x05,0x82]
+0x01,0xc1,0x05,0x82
 
-# CHECK: s_addc_u32 s0, s0, 0.5    ; encoding: [0x00,0xf0,0x00,0x82]
-0x00,0xf0,0x00,0x82
+# CHECK: s_addc_u32 s5, s1, 0.5    ; encoding: [0x01,0xf0,0x05,0x82]
+0x01,0xf0,0x05,0x82
 
-# CHECK: s_addc_u32 s0, s0, -4.0    ; encoding: [0x00,0xf7,0x00,0x82]
-0x00,0xf7,0x00,0x82
+# CHECK: s_addc_u32 s5, s1, -4.0    ; encoding: [0x01,0xf7,0x05,0x82]
+0x01,0xf7,0x05,0x82
 
-# CHECK: s_addc_u32 s0, s0, scc    ; encoding: [0x00,0xfd,0x00,0x82]
-0x00,0xfd,0x00,0x82
+# CHECK: s_addc_u32 s5, s1, scc    ; encoding: [0x01,0xfd,0x05,0x82]
+0x01,0xfd,0x05,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 s5, s1, 0xaf123456    ; encoding: [0x01,0xff,0x05,0x82,0x56,0x34,0x12,0xaf]
+0x01,0xff,0x05,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_addc_u32 s5, s1, 0x3f717273    ; encoding: [0x01,0xff,0x05,0x82,0x73,0x72,0x71,0x3f]
+0x01,0xff,0x05,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 s5, s1, s2    ; encoding: [0x01,0x02,0x85,0x82]
+0x01,0x02,0x85,0x82
 
-# CHECK: s_subb_u32 s101, s0, s0    ; encoding: [0x00,0x00,0xe5,0x82]
-0x00,0x00,0xe5,0x82
+# CHECK: s_subb_u32 s101, s1, s2    ; encoding: [0x01,0x02,0xe5,0x82]
+0x01,0x02,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_lo, s1, s2    ; encoding: [0x01,0x02,0xe6,0x82]
+0x01,0x02,0xe6,0x82
 
-# CHECK: s_subb_u32 flat_scratch_hi, s0, s0    ; encoding: [0x00,0x00,0xe7,0x82]
-0x00,0x00,0xe7,0x82
+# CHECK: s_subb_u32 flat_scratch_hi, s1, s2    ; encoding: [0x01,0x02,0xe7,0x82]
+0x01,0x02,0xe7,0x82
 
-# CHECK: s_subb_u32 vcc_lo, s0, s0    ; encoding: [0x00,0x00,0xea,0x82]
-0x00,0x00,0xea,0x82
+# CHECK: s_subb_u32 vcc_lo, s1, s2    ; encoding: [0x01,0x02,0xea,0x82]
+0x01,0x02,0xea,0x82
 
-# CHECK: s_subb_u32 vcc_hi, s0, s0    ; encoding: [0x00,0x00,0xeb,0x82]
-0x00,0x00,0xeb,0x82
+# CHECK: s_subb_u32 vcc_hi, s1, s2    ; encoding: [0x01,0x02,0xeb,0x82]
+0x01,0x02,0xeb,0x82
 
-# CHECK: s_subb_u32 tba_lo, s0, s0    ; encoding: [0x00,0x00,0xec,0x82]
-0x00,0x00,0xec,0x82
+# CHECK: s_subb_u32 tba_lo, s1, s2    ; encoding: [0x01,0x02,0xec,0x82]
+0x01,0x02,0xec,0x82
 
-# CHECK: s_subb_u32 tba_hi, s0, s0    ; encoding: [0x00,0x00,0xed,0x82]
-0x00,0x00,0xed,0x82
+# CHECK: s_subb_u32 tba_hi, s1, s2    ; encoding: [0x01,0x02,0xed,0x82]
+0x01,0x02,0xed,0x82
 
-# CHECK: s_subb_u32 tma_lo, s0, s0    ; encoding: [0x00,0x00,0xee,0x82]
-0x00,0x00,0xee,0x82
+# CHECK: s_subb_u32 tma_lo, s1, s2    ; encoding: [0x01,0x02,0xee,0x82]
+0x01,0x02,0xee,0x82
 
-# CHECK: s_subb_u32 tma_hi, s0, s0    ; encoding: [0x00,0x00,0xef,0x82]
-0x00,0x00,0xef,0x82
+# CHECK: s_subb_u32 tma_hi, s1, s2    ; encoding: [0x01,0x02,0xef,0x82]
+0x01,0x02,0xef,0x82
 
-# CHECK: s_subb_u32 ttmp11, s0, s0    ; encoding: [0x00,0x00,0xfb,0x82]
-0x00,0x00,0xfb,0x82
+# CHECK: s_subb_u32 ttmp11, s1, s2    ; encoding: [0x01,0x02,0xfb,0x82]
+0x01,0x02,0xfb,0x82
 
-# CHECK: s_subb_u32 m0, s0, s0    ; encoding: [0x00,0x00,0xfc,0x82]
-0x00,0x00,0xfc,0x82
+# CHECK: s_subb_u32 m0, s1, s2    ; encoding: [0x01,0x02,0xfc,0x82]
+0x01,0x02,0xfc,0x82
 
-# CHECK: s_subb_u32 exec_lo, s0, s0    ; encoding: [0x00,0x00,0xfe,0x82]
-0x00,0x00,0xfe,0x82
+# CHECK: s_subb_u32 exec_lo, s1, s2    ; encoding: [0x01,0x02,0xfe,0x82]
+0x01,0x02,0xfe,0x82
 
-# CHECK: s_subb_u32 exec_hi, s0, s0    ; encoding: [0x00,0x00,0xff,0x82]
-0x00,0x00,0xff,0x82
+# CHECK: s_subb_u32 exec_hi, s1, s2    ; encoding: [0x01,0x02,0xff,0x82]
+0x01,0x02,0xff,0x82
 
-# CHECK: s_subb_u32 s0, s101, s0    ; encoding: [0x65,0x00,0x80,0x82]
-0x65,0x00,0x80,0x82
+# CHECK: s_subb_u32 s5, s101, s2    ; encoding: [0x65,0x02,0x85,0x82]
+0x65,0x02,0x85,0x82
 
-# CHECK: s_subb_u32 s0, flat_scratch_lo, s0    ; encoding: [0x66,0x00,0x80,0x82]
-0x66,0x00,0x80,0x82
+# CHECK: s_subb_u32 s5, flat_scratch_lo, s2    ; encoding: [0x66,0x02,0x85,0x82]
+0x66,0x02,0x85,0x82
 
-# CHECK: s_subb_u32 s0, flat_scratch_hi, s0    ; encoding: [0x67,0x00,0x80,0x82]
-0x67,0x00,0x80,0x82
+# CHECK: s_subb_u32 s5, flat_scratch_hi, s2    ; encoding: [0x67,0x02,0x85,0x82]
+0x67,0x02,0x85,0x82
 
-# CHECK: s_subb_u32 s0, vcc_lo, s0    ; encoding: [0x6a,0x00,0x80,0x82]
-0x6a,0x00,0x80,0x82
+# CHECK: s_subb_u32 s5, vcc_lo, s2    ; encoding: [0x6a,0x02,0x85,0x82]
+0x6a,0x02,0x85,0x82
 
-# CHECK: s_subb_u32 s0, vcc_hi, s0    ; encoding: [0x6b,0x00,0x80,0x82]
-0x6b,0x00,0x80,0x82
+# CHECK: s_subb_u32 s5, vcc_hi, s2    ; encoding: [0x6b,0x02,0x85,0x82]
+0x6b,0x02,0x85,0x82
 
-# CHECK: s_subb_u32 s0, tba_lo, s0    ; encoding: [0x6c,0x00,0x80,0x82]
-0x6c,0x00,0x80,0x82
+# CHECK: s_subb_u32 s5, tba_lo, s2    ; encoding: [0x6c,0x02,0x85,0x82]
+0x6c,0x02,0x85,0x82
 
-# CHECK: s_subb_u32 s0, tba_hi, s0    ; encoding: [0x6d,0x00,0x80,0x82]
-0x6d,0x00,0x80,0x82
+# CHECK: s_subb_u32 s5, tba_hi, s2    ; encoding: [0x6d,0x02,0x85,0x82]
+0x6d,0x02,0x85,0x82
 
-# CHECK: s_subb_u32 s0, tma_lo, s0    ; encoding: [0x6e,0x00,0x80,0x82]
-0x6e,0x00,0x80,0x82
+# CHECK: s_subb_u32 s5, tma_lo, s2    ; encoding: [0x6e,0x02,0x85,0x82]
+0x6e,0x02,0x85,0x82
 
-# CHECK: s_subb_u32 s0, tma_hi, s0    ; encoding: [0x6f,0x00,0x80,0x82]
-0x6f,0x00,0x80,0x82
+# CHECK: s_subb_u32 s5, tma_hi, s2    ; encoding: [0x6f,0x02,0x85,0x82]
+0x6f,0x02,0x85,0x82
 
-# CHECK: s_subb_u32 s0, ttmp11, s0    ; encoding: [0x7b,0x00,0x80,0x82]
-0x7b,0x00,0x80,0x82
+# CHECK: s_subb_u32 s5, ttmp11, s2    ; encoding: [0x7b,0x02,0x85,0x82]
+0x7b,0x02,0x85,0x82
 
-# CHECK: s_subb_u32 s0, m0, s0    ; encoding: [0x7c,0x00,0x80,0x82]
-0x7c,0x00,0x80,0x82
+# CHECK: s_subb_u32 s5, m0, s2    ; encoding: [0x7c,0x02,0x85,0x82]
+0x7c,0x02,0x85,0x82
 
-# CHECK: s_subb_u32 s0, exec_lo, s0    ; encoding: [0x7e,0x00,0x80,0x82]
-0x7e,0x00,0x80,0x82
+# CHECK: s_subb_u32 s5, exec_lo, s2    ; encoding: [0x7e,0x02,0x85,0x82]
+0x7e,0x02,0x85,0x82
 
-# CHECK: s_subb_u32 s0, exec_hi, s0    ; encoding: [0x7f,0x00,0x80,0x82]
-0x7f,0x00,0x80,0x82
+# CHECK: s_subb_u32 s5, exec_hi, s2    ; encoding: [0x7f,0x02,0x85,0x82]
+0x7f,0x02,0x85,0x82
 
-# CHECK: s_subb_u32 s0, 0, s0    ; encoding: [0x80,0x00,0x80,0x82]
-0x80,0x00,0x80,0x82
+# CHECK: s_subb_u32 s5, 0, s2    ; encoding: [0x80,0x02,0x85,0x82]
+0x80,0x02,0x85,0x82
 
-# CHECK: s_subb_u32 s0, -1, s0    ; encoding: [0xc1,0x00,0x80,0x82]
-0xc1,0x00,0x80,0x82
+# CHECK: s_subb_u32 s5, -1, s2    ; encoding: [0xc1,0x02,0x85,0x82]
+0xc1,0x02,0x85,0x82
 
-# CHECK: s_subb_u32 s0, 0.5, s0    ; encoding: [0xf0,0x00,0x80,0x82]
-0xf0,0x00,0x80,0x82
+# CHECK: s_subb_u32 s5, 0.5, s2    ; encoding: [0xf0,0x02,0x85,0x82]
+0xf0,0x02,0x85,0x82
 
-# CHECK: s_subb_u32 s0, -4.0, s0    ; encoding: [0xf7,0x00,0x80,0x82]
-0xf7,0x00,0x80,0x82
+# CHECK: s_subb_u32 s5, -4.0, s2    ; encoding: [0xf7,0x02,0x85,0x82]
+0xf7,0x02,0x85,0x82
 
-# CHECK: s_subb_u32 s0, scc, s0    ; encoding: [0xfd,0x00,0x80,0x82]
-0xfd,0x00,0x80,0x82
+# CHECK: s_subb_u32 s5, scc, s2    ; encoding: [0xfd,0x02,0x85,0x82]
+0xfd,0x02,0x85,0x82
 
-# CHECK: s_subb_u32 s0, s0, s101    ; encoding: [0x00,0x65,0x80,0x82]
-0x00,0x65,0x80,0x82
+# CHECK: s_subb_u32 s5, s1, s101    ; encoding: [0x01,0x65,0x85,0x82]
+0x01,0x65,0x85,0x82
 
-# CHECK: s_subb_u32 s0, s0, flat_scratch_lo    ; encoding: [0x00,0x66,0x80,0x82]
-0x00,0x66,0x80,0x82
+# CHECK: s_subb_u32 s5, s1, flat_scratch_lo    ; encoding: [0x01,0x66,0x85,0x82]
+0x01,0x66,0x85,0x82
 
-# CHECK: s_subb_u32 s0, s0, flat_scratch_hi    ; encoding: [0x00,0x67,0x80,0x82]
-0x00,0x67,0x80,0x82
+# CHECK: s_subb_u32 s5, s1, flat_scratch_hi    ; encoding: [0x01,0x67,0x85,0x82]
+0x01,0x67,0x85,0x82
 
-# CHECK: s_subb_u32 s0, s0, vcc_lo    ; encoding: [0x00,0x6a,0x80,0x82]
-0x00,0x6a,0x80,0x82
+# CHECK: s_subb_u32 s5, s1, vcc_lo    ; encoding: [0x01,0x6a,0x85,0x82]
+0x01,0x6a,0x85,0x82
 
-# CHECK: s_subb_u32 s0, s0, vcc_hi    ; encoding: [0x00,0x6b,0x80,0x82]
-0x00,0x6b,0x80,0x82
+# CHECK: s_subb_u32 s5, s1, vcc_hi    ; encoding: [0x01,0x6b,0x85,0x82]
+0x01,0x6b,0x85,0x82
 
-# CHECK: s_subb_u32 s0, s0, tba_lo    ; encoding: [0x00,0x6c,0x80,0x82]
-0x00,0x6c,0x80,0x82
+# CHECK: s_subb_u32 s5, s1, tba_lo    ; encoding: [0x01,0x6c,0x85,0x82]
+0x01,0x6c,0x85,0x82
 
-# CHECK: s_subb_u32 s0, s0, tba_hi    ; encoding: [0x00,0x6d,0x80,0x82]
-0x00,0x6d,0x80,0x82
+# CHECK: s_subb_u32 s5, s1, tba_hi    ; encoding: [0x01,0x6d,0x85,0x82]
+0x01,0x6d,0x85,0x82
 
-# CHECK: s_subb_u32 s0, s0, tma_lo    ; encoding: [0x00,0x6e,0x80,0x82]
-0x00,0x6e,0x80,0x82
+# CHECK: s_subb_u32 s5, s1, tma_lo    ; encoding: [0x01,0x6e,0x85,0x82]
+0x01,0x6e,0x85,0x82
 
-# CHECK: s_subb_u32 s0, s0, tma_hi    ; encoding: [0x00,0x6f,0x80,0x82]
-0x00,0x6f,0x80,0x82
+# CHECK: s_subb_u32 s5, s1, tma_hi    ; encoding: [0x01,0x6f,0x85,0x82]
+0x01,0x6f,0x85,0x82
 
-# CHECK: s_subb_u32 s0, s0, ttmp11    ; encoding: [0x00,0x7b,0x80,0x82]
-0x00,0x7b,0x80,0x82
+# CHECK: s_subb_u32 s5, s1, ttmp11    ; encoding: [0x01,0x7b,0x85,0x82]
+0x01,0x7b,0x85,0x82
 
-# CHECK: s_subb_u32 s0, s0, m0    ; encoding: [0x00,0x7c,0x80,0x82]
-0x00,0x7c,0x80,0x82
+# CHECK: s_subb_u32 s5, s1, m0    ; encoding: [0x01,0x7c,0x85,0x82]
+0x01,0x7c,0x85,0x82
 
-# CHECK: s_subb_u32 s0, s0, exec_lo    ; encoding: [0x00,0x7e,0x80,0x82]
-0x00,0x7e,0x80,0x82
+# CHECK: s_subb_u32 s5, s1, exec_lo    ; encoding: [0x01,0x7e,0x85,0x82]
+0x01,0x7e,0x85,0x82
 
-# CHECK: s_subb_u32 s0, s0, exec_hi    ; encoding: [0x00,0x7f,0x80,0x82]
-0x00,0x7f,0x80,0x82
+# CHECK: s_subb_u32 s5, s1, exec_hi    ; encoding: [0x01,0x7f,0x85,0x82]
+0x01,0x7f,0x85,0x82
 
-# CHECK: s_subb_u32 s0, s0, 0    ; encoding: [0x00,0x80,0x80,0x82]
-0x00,0x80,0x80,0x82
+# CHECK: s_subb_u32 s5, s1, 0    ; encoding: [0x01,0x80,0x85,0x82]
+0x01,0x80,0x85,0x82
 
-# CHECK: s_subb_u32 s0, s0, -1    ; encoding: [0x00,0xc1,0x80,0x82]
-0x00,0xc1,0x80,0x82
+# CHECK: s_subb_u32 s5, s1, -1    ; encoding: [0x01,0xc1,0x85,0x82]
+0x01,0xc1,0x85,0x82
 
-# CHECK: s_subb_u32 s0, s0, 0.5    ; encoding: [0x00,0xf0,0x80,0x82]
-0x00,0xf0,0x80,0x82
+# CHECK: s_subb_u32 s5, s1, 0.5    ; encoding: [0x01,0xf0,0x85,0x82]
+0x01,0xf0,0x85,0x82
 
-# CHECK: s_subb_u32 s0, s0, -4.0    ; encoding: [0x00,0xf7,0x80,0x82]
-0x00,0xf7,0x80,0x82
+# CHECK: s_subb_u32 s5, s1, -4.0    ; encoding: [0x01,0xf7,0x85,0x82]
+0x01,0xf7,0x85,0x82
 
-# CHECK: s_subb_u32 s0, s0, scc    ; encoding: [0x00,0xfd,0x80,0x82]
-0x00,0xfd,0x80,0x82
+# CHECK: s_subb_u32 s5, s1, scc    ; encoding: [0x01,0xfd,0x85,0x82]
+0x01,0xfd,0x85,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 s5, s1, 0xaf123456    ; encoding: [0x01,0xff,0x85,0x82,0x56,0x34,0x12,0xaf]
+0x01,0xff,0x85,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_subb_u32 s5, s1, 0x3f717273    ; encoding: [0x01,0xff,0x85,0x82,0x73,0x72,0x71,0x3f]
+0x01,0xff,0x85,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 s5, s1, s2    ; encoding: [0x01,0x02,0x05,0x83]
+0x01,0x02,0x05,0x83
 
-# CHECK: s_min_i32 s101, s0, s0    ; encoding: [0x00,0x00,0x65,0x83]
-0x00,0x00,0x65,0x83
+# CHECK: s_min_i32 s101, s1, s2    ; encoding: [0x01,0x02,0x65,0x83]
+0x01,0x02,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_lo, s1, s2    ; encoding: [0x01,0x02,0x66,0x83]
+0x01,0x02,0x66,0x83
 
-# CHECK: s_min_i32 flat_scratch_hi, s0, s0    ; encoding: [0x00,0x00,0x67,0x83]
-0x00,0x00,0x67,0x83
+# CHECK: s_min_i32 flat_scratch_hi, s1, s2    ; encoding: [0x01,0x02,0x67,0x83]
+0x01,0x02,0x67,0x83
 
-# CHECK: s_min_i32 vcc_lo, s0, s0    ; encoding: [0x00,0x00,0x6a,0x83]
-0x00,0x00,0x6a,0x83
+# CHECK: s_min_i32 vcc_lo, s1, s2    ; encoding: [0x01,0x02,0x6a,0x83]
+0x01,0x02,0x6a,0x83
 
-# CHECK: s_min_i32 vcc_hi, s0, s0    ; encoding: [0x00,0x00,0x6b,0x83]
-0x00,0x00,0x6b,0x83
+# CHECK: s_min_i32 vcc_hi, s1, s2    ; encoding: [0x01,0x02,0x6b,0x83]
+0x01,0x02,0x6b,0x83
 
-# CHECK: s_min_i32 tba_lo, s0, s0    ; encoding: [0x00,0x00,0x6c,0x83]
-0x00,0x00,0x6c,0x83
+# CHECK: s_min_i32 tba_lo, s1, s2    ; encoding: [0x01,0x02,0x6c,0x83]
+0x01,0x02,0x6c,0x83
 
-# CHECK: s_min_i32 tba_hi, s0, s0    ; encoding: [0x00,0x00,0x6d,0x83]
-0x00,0x00,0x6d,0x83
+# CHECK: s_min_i32 tba_hi, s1, s2    ; encoding: [0x01,0x02,0x6d,0x83]
+0x01,0x02,0x6d,0x83
 
-# CHECK: s_min_i32 tma_lo, s0, s0    ; encoding: [0x00,0x00,0x6e,0x83]
-0x00,0x00,0x6e,0x83
+# CHECK: s_min_i32 tma_lo, s1, s2    ; encoding: [0x01,0x02,0x6e,0x83]
+0x01,0x02,0x6e,0x83
 
-# CHECK: s_min_i32 tma_hi, s0, s0    ; encoding: [0x00,0x00,0x6f,0x83]
-0x00,0x00,0x6f,0x83
+# CHECK: s_min_i32 tma_hi, s1, s2    ; encoding: [0x01,0x02,0x6f,0x83]
+0x01,0x02,0x6f,0x83
 
-# CHECK: s_min_i32 ttmp11, s0, s0    ; encoding: [0x00,0x00,0x7b,0x83]
-0x00,0x00,0x7b,0x83
+# CHECK: s_min_i32 ttmp11, s1, s2    ; encoding: [0x01,0x02,0x7b,0x83]
+0x01,0x02,0x7b,0x83
 
-# CHECK: s_min_i32 m0, s0, s0    ; encoding: [0x00,0x00,0x7c,0x83]
-0x00,0x00,0x7c,0x83
+# CHECK: s_min_i32 m0, s1, s2    ; encoding: [0x01,0x02,0x7c,0x83]
+0x01,0x02,0x7c,0x83
 
-# CHECK: s_min_i32 exec_lo, s0, s0    ; encoding: [0x00,0x00,0x7e,0x83]
-0x00,0x00,0x7e,0x83
+# CHECK: s_min_i32 exec_lo, s1, s2    ; encoding: [0x01,0x02,0x7e,0x83]
+0x01,0x02,0x7e,0x83
 
-# CHECK: s_min_i32 exec_hi, s0, s0    ; encoding: [0x00,0x00,0x7f,0x83]
-0x00,0x00,0x7f,0x83
+# CHECK: s_min_i32 exec_hi, s1, s2    ; encoding: [0x01,0x02,0x7f,0x83]
+0x01,0x02,0x7f,0x83
 
-# CHECK: s_min_i32 s0, s101, s0    ; encoding: [0x65,0x00,0x00,0x83]
-0x65,0x00,0x00,0x83
+# CHECK: s_min_i32 s5, s101, s2    ; encoding: [0x65,0x02,0x05,0x83]
+0x65,0x02,0x05,0x83
 
-# CHECK: s_min_i32 s0, flat_scratch_lo, s0    ; encoding: [0x66,0x00,0x00,0x83]
-0x66,0x00,0x00,0x83
+# CHECK: s_min_i32 s5, flat_scratch_lo, s2    ; encoding: [0x66,0x02,0x05,0x83]
+0x66,0x02,0x05,0x83
 
-# CHECK: s_min_i32 s0, flat_scratch_hi, s0    ; encoding: [0x67,0x00,0x00,0x83]
-0x67,0x00,0x00,0x83
+# CHECK: s_min_i32 s5, flat_scratch_hi, s2    ; encoding: [0x67,0x02,0x05,0x83]
+0x67,0x02,0x05,0x83
 
-# CHECK: s_min_i32 s0, vcc_lo, s0    ; encoding: [0x6a,0x00,0x00,0x83]
-0x6a,0x00,0x00,0x83
+# CHECK: s_min_i32 s5, vcc_lo, s2    ; encoding: [0x6a,0x02,0x05,0x83]
+0x6a,0x02,0x05,0x83
 
-# CHECK: s_min_i32 s0, vcc_hi, s0    ; encoding: [0x6b,0x00,0x00,0x83]
-0x6b,0x00,0x00,0x83
+# CHECK: s_min_i32 s5, vcc_hi, s2    ; encoding: [0x6b,0x02,0x05,0x83]
+0x6b,0x02,0x05,0x83
 
-# CHECK: s_min_i32 s0, tba_lo, s0    ; encoding: [0x6c,0x00,0x00,0x83]
-0x6c,0x00,0x00,0x83
+# CHECK: s_min_i32 s5, tba_lo, s2    ; encoding: [0x6c,0x02,0x05,0x83]
+0x6c,0x02,0x05,0x83
 
-# CHECK: s_min_i32 s0, tba_hi, s0    ; encoding: [0x6d,0x00,0x00,0x83]
-0x6d,0x00,0x00,0x83
+# CHECK: s_min_i32 s5, tba_hi, s2    ; encoding: [0x6d,0x02,0x05,0x83]
+0x6d,0x02,0x05,0x83
 
-# CHECK: s_min_i32 s0, tma_lo, s0    ; encoding: [0x6e,0x00,0x00,0x83]
-0x6e,0x00,0x00,0x83
+# CHECK: s_min_i32 s5, tma_lo, s2    ; encoding: [0x6e,0x02,0x05,0x83]
+0x6e,0x02,0x05,0x83
 
-# CHECK: s_min_i32 s0, tma_hi, s0    ; encoding: [0x6f,0x00,0x00,0x83]
-0x6f,0x00,0x00,0x83
+# CHECK: s_min_i32 s5, tma_hi, s2    ; encoding: [0x6f,0x02,0x05,0x83]
+0x6f,0x02,0x05,0x83
 
-# CHECK: s_min_i32 s0, ttmp11, s0    ; encoding: [0x7b,0x00,0x00,0x83]
-0x7b,0x00,0x00,0x83
+# CHECK: s_min_i32 s5, ttmp11, s2    ; encoding: [0x7b,0x02,0x05,0x83]
+0x7b,0x02,0x05,0x83
 
-# CHECK: s_min_i32 s0, m0, s0    ; encoding: [0x7c,0x00,0x00,0x83]
-0x7c,0x00,0x00,0x83
+# CHECK: s_min_i32 s5, m0, s2    ; encoding: [0x7c,0x02,0x05,0x83]
+0x7c,0x02,0x05,0x83
 
-# CHECK: s_min_i32 s0, exec_lo, s0    ; encoding: [0x7e,0x00,0x00,0x83]
-0x7e,0x00,0x00,0x83
+# CHECK: s_min_i32 s5, exec_lo, s2    ; encoding: [0x7e,0x02,0x05,0x83]
+0x7e,0x02,0x05,0x83
 
-# CHECK: s_min_i32 s0, exec_hi, s0    ; encoding: [0x7f,0x00,0x00,0x83]
-0x7f,0x00,0x00,0x83
+# CHECK: s_min_i32 s5, exec_hi, s2    ; encoding: [0x7f,0x02,0x05,0x83]
+0x7f,0x02,0x05,0x83
 
-# CHECK: s_min_i32 s0, 0, s0    ; encoding: [0x80,0x00,0x00,0x83]
-0x80,0x00,0x00,0x83
+# CHECK: s_min_i32 s5, 0, s2    ; encoding: [0x80,0x02,0x05,0x83]
+0x80,0x02,0x05,0x83
 
-# CHECK: s_min_i32 s0, -1, s0    ; encoding: [0xc1,0x00,0x00,0x83]
-0xc1,0x00,0x00,0x83
+# CHECK: s_min_i32 s5, -1, s2    ; encoding: [0xc1,0x02,0x05,0x83]
+0xc1,0x02,0x05,0x83
 
-# CHECK: s_min_i32 s0, 0.5, s0    ; encoding: [0xf0,0x00,0x00,0x83]
-0xf0,0x00,0x00,0x83
+# CHECK: s_min_i32 s5, 0.5, s2    ; encoding: [0xf0,0x02,0x05,0x83]
+0xf0,0x02,0x05,0x83
 
-# CHECK: s_min_i32 s0, -4.0, s0    ; encoding: [0xf7,0x00,0x00,0x83]
-0xf7,0x00,0x00,0x83
+# CHECK: s_min_i32 s5, -4.0, s2    ; encoding: [0xf7,0x02,0x05,0x83]
+0xf7,0x02,0x05,0x83
 
-# CHECK: s_min_i32 s0, scc, s0    ; encoding: [0xfd,0x00,0x00,0x83]
-0xfd,0x00,0x00,0x83
+# CHECK: s_min_i32 s5, scc, s2    ; encoding: [0xfd,0x02,0x05,0x83]
+0xfd,0x02,0x05,0x83
 
-# CHECK: s_min_i32 s0, s0, s101    ; encoding: [0x00,0x65,0x00,0x83]
-0x00,0x65,0x00,0x83
+# CHECK: s_min_i32 s5, s1, s101    ; encoding: [0x01,0x65,0x05,0x83]
+0x01,0x65,0x05,0x83
 
-# CHECK: s_min_i32 s0, s0, flat_scratch_lo    ; encoding: [0x00,0x66,0x00,0x83]
-0x00,0x66,0x00,0x83
+# CHECK: s_min_i32 s5, s1, flat_scratch_lo    ; encoding: [0x01,0x66,0x05,0x83]
+0x01,0x66,0x05,0x83
 
-# CHECK: s_min_i32 s0, s0, flat_scratch_hi    ; encoding: [0x00,0x67,0x00,0x83]
-0x00,0x67,0x00,0x83
+# CHECK: s_min_i32 s5, s1, flat_scratch_hi    ; encoding: [0x01,0x67,0x05,0x83]
+0x01,0x67,0x05,0x83
 
-# CHECK: s_min_i32 s0, s0, vcc_lo    ; encoding: [0x00,0x6a,0x00,0x83]
-0x00,0x6a,0x00,0x83
+# CHECK: s_min_i32 s5, s1, vcc_lo    ; encoding: [0x01,0x6a,0x05,0x83]
+0x01,0x6a,0x05,0x83
 
-# CHECK: s_min_i32 s0, s0, vcc_hi    ; encoding: [0x00,0x6b,0x00,0x83]
-0x00,0x6b,0x00,0x83
+# CHECK: s_min_i32 s5, s1, vcc_hi    ; encoding: [0x01,0x6b,0x05,0x83]
+0x01,0x6b,0x05,0x83
 
-# CHECK: s_min_i32 s0, s0, tba_lo    ; encoding: [0x00,0x6c,0x00,0x83]
-0x00,0x6c,0x00,0x83
+# CHECK: s_min_i32 s5, s1, tba_lo    ; encoding: [0x01,0x6c,0x05,0x83]
+0x01,0x6c,0x05,0x83
 
-# CHECK: s_min_i32 s0, s0, tba_hi    ; encoding: [0x00,0x6d,0x00,0x83]
-0x00,0x6d,0x00,0x83
+# CHECK: s_min_i32 s5, s1, tba_hi    ; encoding: [0x01,0x6d,0x05,0x83]
+0x01,0x6d,0x05,0x83
 
-# CHECK: s_min_i32 s0, s0, tma_lo    ; encoding: [0x00,0x6e,0x00,0x83]
-0x00,0x6e,0x00,0x83
+# CHECK: s_min_i32 s5, s1, tma_lo    ; encoding: [0x01,0x6e,0x05,0x83]
+0x01,0x6e,0x05,0x83
 
-# CHECK: s_min_i32 s0, s0, tma_hi    ; encoding: [0x00,0x6f,0x00,0x83]
-0x00,0x6f,0x00,0x83
+# CHECK: s_min_i32 s5, s1, tma_hi    ; encoding: [0x01,0x6f,0x05,0x83]
+0x01,0x6f,0x05,0x83
 
-# CHECK: s_min_i32 s0, s0, ttmp11    ; encoding: [0x00,0x7b,0x00,0x83]
-0x00,0x7b,0x00,0x83
+# CHECK: s_min_i32 s5, s1, ttmp11    ; encoding: [0x01,0x7b,0x05,0x83]
+0x01,0x7b,0x05,0x83
 
-# CHECK: s_min_i32 s0, s0, m0    ; encoding: [0x00,0x7c,0x00,0x83]
-0x00,0x7c,0x00,0x83
+# CHECK: s_min_i32 s5, s1, m0    ; encoding: [0x01,0x7c,0x05,0x83]
+0x01,0x7c,0x05,0x83
 
-# CHECK: s_min_i32 s0, s0, exec_lo    ; encoding: [0x00,0x7e,0x00,0x83]
-0x00,0x7e,0x00,0x83
+# CHECK: s_min_i32 s5, s1, exec_lo    ; encoding: [0x01,0x7e,0x05,0x83]
+0x01,0x7e,0x05,0x83
 
-# CHECK: s_min_i32 s0, s0, exec_hi    ; encoding: [0x00,0x7f,0x00,0x83]
-0x00,0x7f,0x00,0x83
+# CHECK: s_min_i32 s5, s1, exec_hi    ; encoding: [0x01,0x7f,0x05,0x83]
+0x01,0x7f,0x05,0x83
 
-# CHECK: s_min_i32 s0, s0, 0    ; encoding: [0x00,0x80,0x00,0x83]
-0x00,0x80,0x00,0x83
+# CHECK: s_min_i32 s5, s1, 0    ; encoding: [0x01,0x80,0x05,0x83]
+0x01,0x80,0x05,0x83
 
-# CHECK: s_min_i32 s0, s0, -1    ; encoding: [0x00,0xc1,0x00,0x83]
-0x00,0xc1,0x00,0x83
+# CHECK: s_min_i32 s5, s1, -1    ; encoding: [0x01,0xc1,0x05,0x83]
+0x01,0xc1,0x05,0x83
 
-# CHECK: s_min_i32 s0, s0, 0.5    ; encoding: [0x00,0xf0,0x00,0x83]
-0x00,0xf0,0x00,0x83
+# CHECK: s_min_i32 s5, s1, 0.5    ; encoding: [0x01,0xf0,0x05,0x83]
+0x01,0xf0,0x05,0x83
 
-# CHECK: s_min_i32 s0, s0, -4.0    ; encoding: [0x00,0xf7,0x00,0x83]
-0x00,0xf7,0x00,0x83
+# CHECK: s_min_i32 s5, s1, -4.0    ; encoding: [0x01,0xf7,0x05,0x83]
+0x01,0xf7,0x05,0x83
 
-# CHECK: s_min_i32 s0, s0, scc    ; encoding: [0x00,0xfd,0x00,0x83]
-0x00,0xfd,0x00,0x83
+# CHECK: s_min_i32 s5, s1, scc    ; encoding: [0x01,0xfd,0x05,0x83]
+0x01,0xfd,0x05,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 s5, s1, 0xaf123456    ; encoding: [0x01,0xff,0x05,0x83,0x56,0x34,0x12,0xaf]
+0x01,0xff,0x05,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_i32 s5, s1, 0x3f717273    ; encoding: [0x01,0xff,0x05,0x83,0x73,0x72,0x71,0x3f]
+0x01,0xff,0x05,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 s5, s1, s2    ; encoding: [0x01,0x02,0x85,0x83]
+0x01,0x02,0x85,0x83
 
-# CHECK: s_min_u32 s101, s0, s0    ; encoding: [0x00,0x00,0xe5,0x83]
-0x00,0x00,0xe5,0x83
+# CHECK: s_min_u32 s101, s1, s2    ; encoding: [0x01,0x02,0xe5,0x83]
+0x01,0x02,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_lo, s1, s2    ; encoding: [0x01,0x02,0xe6,0x83]
+0x01,0x02,0xe6,0x83
 
-# CHECK: s_min_u32 flat_scratch_hi, s0, s0    ; encoding: [0x00,0x00,0xe7,0x83]
-0x00,0x00,0xe7,0x83
+# CHECK: s_min_u32 flat_scratch_hi, s1, s2    ; encoding: [0x01,0x02,0xe7,0x83]
+0x01,0x02,0xe7,0x83
 
-# CHECK: s_min_u32 vcc_lo, s0, s0    ; encoding: [0x00,0x00,0xea,0x83]
-0x00,0x00,0xea,0x83
+# CHECK: s_min_u32 vcc_lo, s1, s2    ; encoding: [0x01,0x02,0xea,0x83]
+0x01,0x02,0xea,0x83
 
-# CHECK: s_min_u32 vcc_hi, s0, s0    ; encoding: [0x00,0x00,0xeb,0x83]
-0x00,0x00,0xeb,0x83
+# CHECK: s_min_u32 vcc_hi, s1, s2    ; encoding: [0x01,0x02,0xeb,0x83]
+0x01,0x02,0xeb,0x83
 
-# CHECK: s_min_u32 tba_lo, s0, s0    ; encoding: [0x00,0x00,0xec,0x83]
-0x00,0x00,0xec,0x83
+# CHECK: s_min_u32 tba_lo, s1, s2    ; encoding: [0x01,0x02,0xec,0x83]
+0x01,0x02,0xec,0x83
 
-# CHECK: s_min_u32 tba_hi, s0, s0    ; encoding: [0x00,0x00,0xed,0x83]
-0x00,0x00,0xed,0x83
+# CHECK: s_min_u32 tba_hi, s1, s2    ; encoding: [0x01,0x02,0xed,0x83]
+0x01,0x02,0xed,0x83
 
-# CHECK: s_min_u32 tma_lo, s0, s0    ; encoding: [0x00,0x00,0xee,0x83]
-0x00,0x00,0xee,0x83
+# CHECK: s_min_u32 tma_lo, s1, s2    ; encoding: [0x01,0x02,0xee,0x83]
+0x01,0x02,0xee,0x83
 
-# CHECK: s_min_u32 tma_hi, s0, s0    ; encoding: [0x00,0x00,0xef,0x83]
-0x00,0x00,0xef,0x83
+# CHECK: s_min_u32 tma_hi, s1, s2    ; encoding: [0x01,0x02,0xef,0x83]
+0x01,0x02,0xef,0x83
 
-# CHECK: s_min_u32 ttmp11, s0, s0    ; encoding: [0x00,0x00,0xfb,0x83]
-0x00,0x00,0xfb,0x83
+# CHECK: s_min_u32 ttmp11, s1, s2    ; encoding: [0x01,0x02,0xfb,0x83]
+0x01,0x02,0xfb,0x83
 
-# CHECK: s_min_u32 m0, s0, s0    ; encoding: [0x00,0x00,0xfc,0x83]
-0x00,0x00,0xfc,0x83
+# CHECK: s_min_u32 m0, s1, s2    ; encoding: [0x01,0x02,0xfc,0x83]
+0x01,0x02,0xfc,0x83
 
-# CHECK: s_min_u32 exec_lo, s0, s0    ; encoding: [0x00,0x00,0xfe,0x83]
-0x00,0x00,0xfe,0x83
+# CHECK: s_min_u32 exec_lo, s1, s2    ; encoding: [0x01,0x02,0xfe,0x83]
+0x01,0x02,0xfe,0x83
 
-# CHECK: s_min_u32 exec_hi, s0, s0    ; encoding: [0x00,0x00,0xff,0x83]
-0x00,0x00,0xff,0x83
+# CHECK: s_min_u32 exec_hi, s1, s2    ; encoding: [0x01,0x02,0xff,0x83]
+0x01,0x02,0xff,0x83
 
-# CHECK: s_min_u32 s0, s101, s0    ; encoding: [0x65,0x00,0x80,0x83]
-0x65,0x00,0x80,0x83
+# CHECK: s_min_u32 s5, s101, s2    ; encoding: [0x65,0x02,0x85,0x83]
+0x65,0x02,0x85,0x83
 
-# CHECK: s_min_u32 s0, flat_scratch_lo, s0    ; encoding: [0x66,0x00,0x80,0x83]
-0x66,0x00,0x80,0x83
+# CHECK: s_min_u32 s5, flat_scratch_lo, s2    ; encoding: [0x66,0x02,0x85,0x83]
+0x66,0x02,0x85,0x83
 
-# CHECK: s_min_u32 s0, flat_scratch_hi, s0    ; encoding: [0x67,0x00,0x80,0x83]
-0x67,0x00,0x80,0x83
+# CHECK: s_min_u32 s5, flat_scratch_hi, s2    ; encoding: [0x67,0x02,0x85,0x83]
+0x67,0x02,0x85,0x83
 
-# CHECK: s_min_u32 s0, vcc_lo, s0    ; encoding: [0x6a,0x00,0x80,0x83]
-0x6a,0x00,0x80,0x83
+# CHECK: s_min_u32 s5, vcc_lo, s2    ; encoding: [0x6a,0x02,0x85,0x83]
+0x6a,0x02,0x85,0x83
 
-# CHECK: s_min_u32 s0, vcc_hi, s0    ; encoding: [0x6b,0x00,0x80,0x83]
-0x6b,0x00,0x80,0x83
+# CHECK: s_min_u32 s5, vcc_hi, s2    ; encoding: [0x6b,0x02,0x85,0x83]
+0x6b,0x02,0x85,0x83
 
-# CHECK: s_min_u32 s0, tba_lo, s0    ; encoding: [0x6c,0x00,0x80,0x83]
-0x6c,0x00,0x80,0x83
+# CHECK: s_min_u32 s5, tba_lo, s2    ; encoding: [0x6c,0x02,0x85,0x83]
+0x6c,0x02,0x85,0x83
 
-# CHECK: s_min_u32 s0, tba_hi, s0    ; encoding: [0x6d,0x00,0x80,0x83]
-0x6d,0x00,0x80,0x83
+# CHECK: s_min_u32 s5, tba_hi, s2    ; encoding: [0x6d,0x02,0x85,0x83]
+0x6d,0x02,0x85,0x83
 
-# CHECK: s_min_u32 s0, tma_lo, s0    ; encoding: [0x6e,0x00,0x80,0x83]
-0x6e,0x00,0x80,0x83
+# CHECK: s_min_u32 s5, tma_lo, s2    ; encoding: [0x6e,0x02,0x85,0x83]
+0x6e,0x02,0x85,0x83
 
-# CHECK: s_min_u32 s0, tma_hi, s0    ; encoding: [0x6f,0x00,0x80,0x83]
-0x6f,0x00,0x80,0x83
+# CHECK: s_min_u32 s5, tma_hi, s2    ; encoding: [0x6f,0x02,0x85,0x83]
+0x6f,0x02,0x85,0x83
 
-# CHECK: s_min_u32 s0, ttmp11, s0    ; encoding: [0x7b,0x00,0x80,0x83]
-0x7b,0x00,0x80,0x83
+# CHECK: s_min_u32 s5, ttmp11, s2    ; encoding: [0x7b,0x02,0x85,0x83]
+0x7b,0x02,0x85,0x83
 
-# CHECK: s_min_u32 s0, m0, s0    ; encoding: [0x7c,0x00,0x80,0x83]
-0x7c,0x00,0x80,0x83
+# CHECK: s_min_u32 s5, m0, s2    ; encoding: [0x7c,0x02,0x85,0x83]
+0x7c,0x02,0x85,0x83
 
-# CHECK: s_min_u32 s0, exec_lo, s0    ; encoding: [0x7e,0x00,0x80,0x83]
-0x7e,0x00,0x80,0x83
+# CHECK: s_min_u32 s5, exec_lo, s2    ; encoding: [0x7e,0x02,0x85,0x83]
+0x7e,0x02,0x85,0x83
 
-# CHECK: s_min_u32 s0, exec_hi, s0    ; encoding: [0x7f,0x00,0x80,0x83]
-0x7f,0x00,0x80,0x83
+# CHECK: s_min_u32 s5, exec_hi, s2    ; encoding: [0x7f,0x02,0x85,0x83]
+0x7f,0x02,0x85,0x83
 
-# CHECK: s_min_u32 s0, 0, s0    ; encoding: [0x80,0x00,0x80,0x83]
-0x80,0x00,0x80,0x83
+# CHECK: s_min_u32 s5, 0, s2    ; encoding: [0x80,0x02,0x85,0x83]
+0x80,0x02,0x85,0x83
 
-# CHECK: s_min_u32 s0, -1, s0    ; encoding: [0xc1,0x00,0x80,0x83]
-0xc1,0x00,0x80,0x83
+# CHECK: s_min_u32 s5, -1, s2    ; encoding: [0xc1,0x02,0x85,0x83]
+0xc1,0x02,0x85,0x83
 
-# CHECK: s_min_u32 s0, 0.5, s0    ; encoding: [0xf0,0x00,0x80,0x83]
-0xf0,0x00,0x80,0x83
+# CHECK: s_min_u32 s5, 0.5, s2    ; encoding: [0xf0,0x02,0x85,0x83]
+0xf0,0x02,0x85,0x83
 
-# CHECK: s_min_u32 s0, -4.0, s0    ; encoding: [0xf7,0x00,0x80,0x83]
-0xf7,0x00,0x80,0x83
+# CHECK: s_min_u32 s5, -4.0, s2    ; encoding: [0xf7,0x02,0x85,0x83]
+0xf7,0x02,0x85,0x83
 
-# CHECK: s_min_u32 s0, scc, s0    ; encoding: [0xfd,0x00,0x80,0x83]
-0xfd,0x00,0x80,0x83
+# CHECK: s_min_u32 s5, scc, s2    ; encoding: [0xfd,0x02,0x85,0x83]
+0xfd,0x02,0x85,0x83
 
-# CHECK: s_min_u32 s0, s0, s101    ; encoding: [0x00,0x65,0x80,0x83]
-0x00,0x65,0x80,0x83
+# CHECK: s_min_u32 s5, s1, s101    ; encoding: [0x01,0x65,0x85,0x83]
+0x01,0x65,0x85,0x83
 
-# CHECK: s_min_u32 s0, s0, flat_scratch_lo    ; encoding: [0x00,0x66,0x80,0x83]
-0x00,0x66,0x80,0x83
+# CHECK: s_min_u32 s5, s1, flat_scratch_lo    ; encoding: [0x01,0x66,0x85,0x83]
+0x01,0x66,0x85,0x83
 
-# CHECK: s_min_u32 s0, s0, flat_scratch_hi    ; encoding: [0x00,0x67,0x80,0x83]
-0x00,0x67,0x80,0x83
+# CHECK: s_min_u32 s5, s1, flat_scratch_hi    ; encoding: [0x01,0x67,0x85,0x83]
+0x01,0x67,0x85,0x83
 
-# CHECK: s_min_u32 s0, s0, vcc_lo    ; encoding: [0x00,0x6a,0x80,0x83]
-0x00,0x6a,0x80,0x83
+# CHECK: s_min_u32 s5, s1, vcc_lo    ; encoding: [0x01,0x6a,0x85,0x83]
+0x01,0x6a,0x85,0x83
 
-# CHECK: s_min_u32 s0, s0, vcc_hi    ; encoding: [0x00,0x6b,0x80,0x83]
-0x00,0x6b,0x80,0x83
+# CHECK: s_min_u32 s5, s1, vcc_hi    ; encoding: [0x01,0x6b,0x85,0x83]
+0x01,0x6b,0x85,0x83
 
-# CHECK: s_min_u32 s0, s0, tba_lo    ; encoding: [0x00,0x6c,0x80,0x83]
-0x00,0x6c,0x80,0x83
+# CHECK: s_min_u32 s5, s1, tba_lo    ; encoding: [0x01,0x6c,0x85,0x83]
+0x01,0x6c,0x85,0x83
 
-# CHECK: s_min_u32 s0, s0, tba_hi    ; encoding: [0x00,0x6d,0x80,0x83]
-0x00,0x6d,0x80,0x83
+# CHECK: s_min_u32 s5, s1, tba_hi    ; encoding: [0x01,0x6d,0x85,0x83]
+0x01,0x6d,0x85,0x83
 
-# CHECK: s_min_u32 s0, s0, tma_lo    ; encoding: [0x00,0x6e,0x80,0x83]
-0x00,0x6e,0x80,0x83
+# CHECK: s_min_u32 s5, s1, tma_lo    ; encoding: [0x01,0x6e,0x85,0x83]
+0x01,0x6e,0x85,0x83
 
-# CHECK: s_min_u32 s0, s0, tma_hi    ; encoding: [0x00,0x6f,0x80,0x83]
-0x00,0x6f,0x80,0x83
+# CHECK: s_min_u32 s5, s1, tma_hi    ; encoding: [0x01,0x6f,0x85,0x83]
+0x01,0x6f,0x85,0x83
 
-# CHECK: s_min_u32 s0, s0, ttmp11    ; encoding: [0x00,0x7b,0x80,0x83]
-0x00,0x7b,0x80,0x83
+# CHECK: s_min_u32 s5, s1, ttmp11    ; encoding: [0x01,0x7b,0x85,0x83]
+0x01,0x7b,0x85,0x83
 
-# CHECK: s_min_u32 s0, s0, m0    ; encoding: [0x00,0x7c,0x80,0x83]
-0x00,0x7c,0x80,0x83
+# CHECK: s_min_u32 s5, s1, m0    ; encoding: [0x01,0x7c,0x85,0x83]
+0x01,0x7c,0x85,0x83
 
-# CHECK: s_min_u32 s0, s0, exec_lo    ; encoding: [0x00,0x7e,0x80,0x83]
-0x00,0x7e,0x80,0x83
+# CHECK: s_min_u32 s5, s1, exec_lo    ; encoding: [0x01,0x7e,0x85,0x83]
+0x01,0x7e,0x85,0x83
 
-# CHECK: s_min_u32 s0, s0, exec_hi    ; encoding: [0x00,0x7f,0x80,0x83]
-0x00,0x7f,0x80,0x83
+# CHECK: s_min_u32 s5, s1, exec_hi    ; encoding: [0x01,0x7f,0x85,0x83]
+0x01,0x7f,0x85,0x83
 
-# CHECK: s_min_u32 s0, s0, 0    ; encoding: [0x00,0x80,0x80,0x83]
-0x00,0x80,0x80,0x83
+# CHECK: s_min_u32 s5, s1, 0    ; encoding: [0x01,0x80,0x85,0x83]
+0x01,0x80,0x85,0x83
 
-# CHECK: s_min_u32 s0, s0, -1    ; encoding: [0x00,0xc1,0x80,0x83]
-0x00,0xc1,0x80,0x83
+# CHECK: s_min_u32 s5, s1, -1    ; encoding: [0x01,0xc1,0x85,0x83]
+0x01,0xc1,0x85,0x83
 
-# CHECK: s_min_u32 s0, s0, 0.5    ; encoding: [0x00,0xf0,0x80,0x83]
-0x00,0xf0,0x80,0x83
+# CHECK: s_min_u32 s5, s1, 0.5    ; encoding: [0x01,0xf0,0x85,0x83]
+0x01,0xf0,0x85,0x83
 
-# CHECK: s_min_u32 s0, s0, -4.0    ; encoding: [0x00,0xf7,0x80,0x83]
-0x00,0xf7,0x80,0x83
+# CHECK: s_min_u32 s5, s1, -4.0    ; encoding: [0x01,0xf7,0x85,0x83]
+0x01,0xf7,0x85,0x83
 
-# CHECK: s_min_u32 s0, s0, scc    ; encoding: [0x00,0xfd,0x80,0x83]
-0x00,0xfd,0x80,0x83
+# CHECK: s_min_u32 s5, s1, scc    ; encoding: [0x01,0xfd,0x85,0x83]
+0x01,0xfd,0x85,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 s5, s1, 0xaf123456    ; encoding: [0x01,0xff,0x85,0x83,0x56,0x34,0x12,0xaf]
+0x01,0xff,0x85,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_min_u32 s5, s1, 0x3f717273    ; encoding: [0x01,0xff,0x85,0x83,0x73,0x72,0x71,0x3f]
+0x01,0xff,0x85,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 s5, s1, s2    ; encoding: [0x01,0x02,0x05,0x84]
+0x01,0x02,0x05,0x84
 
-# CHECK: s_max_i32 s101, s0, s0    ; encoding: [0x00,0x00,0x65,0x84]
-0x00,0x00,0x65,0x84
+# CHECK: s_max_i32 s101, s1, s2    ; encoding: [0x01,0x02,0x65,0x84]
+0x01,0x02,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_lo, s1, s2    ; encoding: [0x01,0x02,0x66,0x84]
+0x01,0x02,0x66,0x84
 
-# CHECK: s_max_i32 flat_scratch_hi, s0, s0    ; encoding: [0x00,0x00,0x67,0x84]
-0x00,0x00,0x67,0x84
+# CHECK: s_max_i32 flat_scratch_hi, s1, s2    ; encoding: [0x01,0x02,0x67,0x84]
+0x01,0x02,0x67,0x84
 
-# CHECK: s_max_i32 vcc_lo, s0, s0    ; encoding: [0x00,0x00,0x6a,0x84]
-0x00,0x00,0x6a,0x84
+# CHECK: s_max_i32 vcc_lo, s1, s2    ; encoding: [0x01,0x02,0x6a,0x84]
+0x01,0x02,0x6a,0x84
 
-# CHECK: s_max_i32 vcc_hi, s0, s0    ; encoding: [0x00,0x00,0x6b,0x84]
-0x00,0x00,0x6b,0x84
+# CHECK: s_max_i32 vcc_hi, s1, s2    ; encoding: [0x01,0x02,0x6b,0x84]
+0x01,0x02,0x6b,0x84
 
-# CHECK: s_max_i32 tba_lo, s0, s0    ; encoding: [0x00,0x00,0x6c,0x84]
-0x00,0x00,0x6c,0x84
+# CHECK: s_max_i32 tba_lo, s1, s2    ; encoding: [0x01,0x02,0x6c,0x84]
+0x01,0x02,0x6c,0x84
 
-# CHECK: s_max_i32 tba_hi, s0, s0    ; encoding: [0x00,0x00,0x6d,0x84]
-0x00,0x00,0x6d,0x84
+# CHECK: s_max_i32 tba_hi, s1, s2    ; encoding: [0x01,0x02,0x6d,0x84]
+0x01,0x02,0x6d,0x84
 
-# CHECK: s_max_i32 tma_lo, s0, s0    ; encoding: [0x00,0x00,0x6e,0x84]
-0x00,0x00,0x6e,0x84
+# CHECK: s_max_i32 tma_lo, s1, s2    ; encoding: [0x01,0x02,0x6e,0x84]
+0x01,0x02,0x6e,0x84
 
-# CHECK: s_max_i32 tma_hi, s0, s0    ; encoding: [0x00,0x00,0x6f,0x84]
-0x00,0x00,0x6f,0x84
+# CHECK: s_max_i32 tma_hi, s1, s2    ; encoding: [0x01,0x02,0x6f,0x84]
+0x01,0x02,0x6f,0x84
 
-# CHECK: s_max_i32 ttmp11, s0, s0    ; encoding: [0x00,0x00,0x7b,0x84]
-0x00,0x00,0x7b,0x84
+# CHECK: s_max_i32 ttmp11, s1, s2    ; encoding: [0x01,0x02,0x7b,0x84]
+0x01,0x02,0x7b,0x84
 
-# CHECK: s_max_i32 m0, s0, s0    ; encoding: [0x00,0x00,0x7c,0x84]
-0x00,0x00,0x7c,0x84
+# CHECK: s_max_i32 m0, s1, s2    ; encoding: [0x01,0x02,0x7c,0x84]
+0x01,0x02,0x7c,0x84
 
-# CHECK: s_max_i32 exec_lo, s0, s0    ; encoding: [0x00,0x00,0x7e,0x84]
-0x00,0x00,0x7e,0x84
+# CHECK: s_max_i32 exec_lo, s1, s2    ; encoding: [0x01,0x02,0x7e,0x84]
+0x01,0x02,0x7e,0x84
 
-# CHECK: s_max_i32 exec_hi, s0, s0    ; encoding: [0x00,0x00,0x7f,0x84]
-0x00,0x00,0x7f,0x84
+# CHECK: s_max_i32 exec_hi, s1, s2    ; encoding: [0x01,0x02,0x7f,0x84]
+0x01,0x02,0x7f,0x84
 
-# CHECK: s_max_i32 s0, s101, s0    ; encoding: [0x65,0x00,0x00,0x84]
-0x65,0x00,0x00,0x84
+# CHECK: s_max_i32 s5, s101, s2    ; encoding: [0x65,0x02,0x05,0x84]
+0x65,0x02,0x05,0x84
 
-# CHECK: s_max_i32 s0, flat_scratch_lo, s0    ; encoding: [0x66,0x00,0x00,0x84]
-0x66,0x00,0x00,0x84
+# CHECK: s_max_i32 s5, flat_scratch_lo, s2    ; encoding: [0x66,0x02,0x05,0x84]
+0x66,0x02,0x05,0x84
 
-# CHECK: s_max_i32 s0, flat_scratch_hi, s0    ; encoding: [0x67,0x00,0x00,0x84]
-0x67,0x00,0x00,0x84
+# CHECK: s_max_i32 s5, flat_scratch_hi, s2    ; encoding: [0x67,0x02,0x05,0x84]
+0x67,0x02,0x05,0x84
 
-# CHECK: s_max_i32 s0, vcc_lo, s0    ; encoding: [0x6a,0x00,0x00,0x84]
-0x6a,0x00,0x00,0x84
+# CHECK: s_max_i32 s5, vcc_lo, s2    ; encoding: [0x6a,0x02,0x05,0x84]
+0x6a,0x02,0x05,0x84
 
-# CHECK: s_max_i32 s0, vcc_hi, s0    ; encoding: [0x6b,0x00,0x00,0x84]
-0x6b,0x00,0x00,0x84
+# CHECK: s_max_i32 s5, vcc_hi, s2    ; encoding: [0x6b,0x02,0x05,0x84]
+0x6b,0x02,0x05,0x84
 
-# CHECK: s_max_i32 s0, tba_lo, s0    ; encoding: [0x6c,0x00,0x00,0x84]
-0x6c,0x00,0x00,0x84
+# CHECK: s_max_i32 s5, tba_lo, s2    ; encoding: [0x6c,0x02,0x05,0x84]
+0x6c,0x02,0x05,0x84
 
-# CHECK: s_max_i32 s0, tba_hi, s0    ; encoding: [0x6d,0x00,0x00,0x84]
-0x6d,0x00,0x00,0x84
+# CHECK: s_max_i32 s5, tba_hi, s2    ; encoding: [0x6d,0x02,0x05,0x84]
+0x6d,0x02,0x05,0x84
 
-# CHECK: s_max_i32 s0, tma_lo, s0    ; encoding: [0x6e,0x00,0x00,0x84]
-0x6e,0x00,0x00,0x84
+# CHECK: s_max_i32 s5, tma_lo, s2    ; encoding: [0x6e,0x02,0x05,0x84]
+0x6e,0x02,0x05,0x84
 
-# CHECK: s_max_i32 s0, tma_hi, s0    ; encoding: [0x6f,0x00,0x00,0x84]
-0x6f,0x00,0x00,0x84
+# CHECK: s_max_i32 s5, tma_hi, s2    ; encoding: [0x6f,0x02,0x05,0x84]
+0x6f,0x02,0x05,0x84
 
-# CHECK: s_max_i32 s0, ttmp11, s0    ; encoding: [0x7b,0x00,0x00,0x84]
-0x7b,0x00,0x00,0x84
+# CHECK: s_max_i32 s5, ttmp11, s2    ; encoding: [0x7b,0x02,0x05,0x84]
+0x7b,0x02,0x05,0x84
 
-# CHECK: s_max_i32 s0, m0, s0    ; encoding: [0x7c,0x00,0x00,0x84]
-0x7c,0x00,0x00,0x84
+# CHECK: s_max_i32 s5, m0, s2    ; encoding: [0x7c,0x02,0x05,0x84]
+0x7c,0x02,0x05,0x84
 
-# CHECK: s_max_i32 s0, exec_lo, s0    ; encoding: [0x7e,0x00,0x00,0x84]
-0x7e,0x00,0x00,0x84
+# CHECK: s_max_i32 s5, exec_lo, s2    ; encoding: [0x7e,0x02,0x05,0x84]
+0x7e,0x02,0x05,0x84
 
-# CHECK: s_max_i32 s0, exec_hi, s0    ; encoding: [0x7f,0x00,0x00,0x84]
-0x7f,0x00,0x00,0x84
+# CHECK: s_max_i32 s5, exec_hi, s2    ; encoding: [0x7f,0x02,0x05,0x84]
+0x7f,0x02,0x05,0x84
 
-# CHECK: s_max_i32 s0, 0, s0    ; encoding: [0x80,0x00,0x00,0x84]
-0x80,0x00,0x00,0x84
+# CHECK: s_max_i32 s5, 0, s2    ; encoding: [0x80,0x02,0x05,0x84]
+0x80,0x02,0x05,0x84
 
-# CHECK: s_max_i32 s0, -1, s0    ; encoding: [0xc1,0x00,0x00,0x84]
-0xc1,0x00,0x00,0x84
+# CHECK: s_max_i32 s5, -1, s2    ; encoding: [0xc1,0x02,0x05,0x84]
+0xc1,0x02,0x05,0x84
 
-# CHECK: s_max_i32 s0, 0.5, s0    ; encoding: [0xf0,0x00,0x00,0x84]
-0xf0,0x00,0x00,0x84
+# CHECK: s_max_i32 s5, 0.5, s2    ; encoding: [0xf0,0x02,0x05,0x84]
+0xf0,0x02,0x05,0x84
 
-# CHECK: s_max_i32 s0, -4.0, s0    ; encoding: [0xf7,0x00,0x00,0x84]
-0xf7,0x00,0x00,0x84
+# CHECK: s_max_i32 s5, -4.0, s2    ; encoding: [0xf7,0x02,0x05,0x84]
+0xf7,0x02,0x05,0x84
 
-# CHECK: s_max_i32 s0, scc, s0    ; encoding: [0xfd,0x00,0x00,0x84]
-0xfd,0x00,0x00,0x84
+# CHECK: s_max_i32 s5, scc, s2    ; encoding: [0xfd,0x02,0x05,0x84]
+0xfd,0x02,0x05,0x84
 
-# CHECK: s_max_i32 s0, s0, s101    ; encoding: [0x00,0x65,0x00,0x84]
-0x00,0x65,0x00,0x84
+# CHECK: s_max_i32 s5, s1, s101    ; encoding: [0x01,0x65,0x05,0x84]
+0x01,0x65,0x05,0x84
 
-# CHECK: s_max_i32 s0, s0, flat_scratch_lo    ; encoding: [0x00,0x66,0x00,0x84]
-0x00,0x66,0x00,0x84
+# CHECK: s_max_i32 s5, s1, flat_scratch_lo    ; encoding: [0x01,0x66,0x05,0x84]
+0x01,0x66,0x05,0x84
 
-# CHECK: s_max_i32 s0, s0, flat_scratch_hi    ; encoding: [0x00,0x67,0x00,0x84]
-0x00,0x67,0x00,0x84
+# CHECK: s_max_i32 s5, s1, flat_scratch_hi    ; encoding: [0x01,0x67,0x05,0x84]
+0x01,0x67,0x05,0x84
 
-# CHECK: s_max_i32 s0, s0, vcc_lo    ; encoding: [0x00,0x6a,0x00,0x84]
-0x00,0x6a,0x00,0x84
+# CHECK: s_max_i32 s5, s1, vcc_lo    ; encoding: [0x01,0x6a,0x05,0x84]
+0x01,0x6a,0x05,0x84
 
-# CHECK: s_max_i32 s0, s0, vcc_hi    ; encoding: [0x00,0x6b,0x00,0x84]
-0x00,0x6b,0x00,0x84
+# CHECK: s_max_i32 s5, s1, vcc_hi    ; encoding: [0x01,0x6b,0x05,0x84]
+0x01,0x6b,0x05,0x84
 
-# CHECK: s_max_i32 s0, s0, tba_lo    ; encoding: [0x00,0x6c,0x00,0x84]
-0x00,0x6c,0x00,0x84
+# CHECK: s_max_i32 s5, s1, tba_lo    ; encoding: [0x01,0x6c,0x05,0x84]
+0x01,0x6c,0x05,0x84
 
-# CHECK: s_max_i32 s0, s0, tba_hi    ; encoding: [0x00,0x6d,0x00,0x84]
-0x00,0x6d,0x00,0x84
+# CHECK: s_max_i32 s5, s1, tba_hi    ; encoding: [0x01,0x6d,0x05,0x84]
+0x01,0x6d,0x05,0x84
 
-# CHECK: s_max_i32 s0, s0, tma_lo    ; encoding: [0x00,0x6e,0x00,0x84]
-0x00,0x6e,0x00,0x84
+# CHECK: s_max_i32 s5, s1, tma_lo    ; encoding: [0x01,0x6e,0x05,0x84]
+0x01,0x6e,0x05,0x84
 
-# CHECK: s_max_i32 s0, s0, tma_hi    ; encoding: [0x00,0x6f,0x00,0x84]
-0x00,0x6f,0x00,0x84
+# CHECK: s_max_i32 s5, s1, tma_hi    ; encoding: [0x01,0x6f,0x05,0x84]
+0x01,0x6f,0x05,0x84
 
-# CHECK: s_max_i32 s0, s0, ttmp11    ; encoding: [0x00,0x7b,0x00,0x84]
-0x00,0x7b,0x00,0x84
+# CHECK: s_max_i32 s5, s1, ttmp11    ; encoding: [0x01,0x7b,0x05,0x84]
+0x01,0x7b,0x05,0x84
 
-# CHECK: s_max_i32 s0, s0, m0    ; encoding: [0x00,0x7c,0x00,0x84]
-0x00,0x7c,0x00,0x84
+# CHECK: s_max_i32 s5, s1, m0    ; encoding: [0x01,0x7c,0x05,0x84]
+0x01,0x7c,0x05,0x84
 
-# CHECK: s_max_i32 s0, s0, exec_lo    ; encoding: [0x00,0x7e,0x00,0x84]
-0x00,0x7e,0x00,0x84
+# CHECK: s_max_i32 s5, s1, exec_lo    ; encoding: [0x01,0x7e,0x05,0x84]
+0x01,0x7e,0x05,0x84
 
-# CHECK: s_max_i32 s0, s0, exec_hi    ; encoding: [0x00,0x7f,0x00,0x84]
-0x00,0x7f,0x00,0x84
+# CHECK: s_max_i32 s5, s1, exec_hi    ; encoding: [0x01,0x7f,0x05,0x84]
+0x01,0x7f,0x05,0x84
 
-# CHECK: s_max_i32 s0, s0, 0    ; encoding: [0x00,0x80,0x00,0x84]
-0x00,0x80,0x00,0x84
+# CHECK: s_max_i32 s5, s1, 0    ; encoding: [0x01,0x80,0x05,0x84]
+0x01,0x80,0x05,0x84
 
-# CHECK: s_max_i32 s0, s0, -1    ; encoding: [0x00,0xc1,0x00,0x84]
-0x00,0xc1,0x00,0x84
+# CHECK: s_max_i32 s5, s1, -1    ; encoding: [0x01,0xc1,0x05,0x84]
+0x01,0xc1,0x05,0x84
 
-# CHECK: s_max_i32 s0, s0, 0.5    ; encoding: [0x00,0xf0,0x00,0x84]
-0x00,0xf0,0x00,0x84
+# CHECK: s_max_i32 s5, s1, 0.5    ; encoding: [0x01,0xf0,0x05,0x84]
+0x01,0xf0,0x05,0x84
 
-# CHECK: s_max_i32 s0, s0, -4.0    ; encoding: [0x00,0xf7,0x00,0x84]
-0x00,0xf7,0x00,0x84
+# CHECK: s_max_i32 s5, s1, -4.0    ; encoding: [0x01,0xf7,0x05,0x84]
+0x01,0xf7,0x05,0x84
 
-# CHECK: s_max_i32 s0, s0, scc    ; encoding: [0x00,0xfd,0x00,0x84]
-0x00,0xfd,0x00,0x84
+# CHECK: s_max_i32 s5, s1, scc    ; encoding: [0x01,0xfd,0x05,0x84]
+0x01,0xfd,0x05,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 s5, s1, 0xaf123456    ; encoding: [0x01,0xff,0x05,0x84,0x56,0x34,0x12,0xaf]
+0x01,0xff,0x05,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_i32 s5, s1, 0x3f717273    ; encoding: [0x01,0xff,0x05,0x84,0x73,0x72,0x71,0x3f]
+0x01,0xff,0x05,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 s5, s1, s2    ; encoding: [0x01,0x02,0x85,0x84]
+0x01,0x02,0x85,0x84
 
-# CHECK: s_max_u32 s101, s0, s0    ; encoding: [0x00,0x00,0xe5,0x84]
-0x00,0x00,0xe5,0x84
+# CHECK: s_max_u32 s101, s1, s2    ; encoding: [0x01,0x02,0xe5,0x84]
+0x01,0x02,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_lo, s1, s2    ; encoding: [0x01,0x02,0xe6,0x84]
+0x01,0x02,0xe6,0x84
 
-# CHECK: s_max_u32 flat_scratch_hi, s0, s0    ; encoding: [0x00,0x00,0xe7,0x84]
-0x00,0x00,0xe7,0x84
+# CHECK: s_max_u32 flat_scratch_hi, s1, s2    ; encoding: [0x01,0x02,0xe7,0x84]
+0x01,0x02,0xe7,0x84
 
-# CHECK: s_max_u32 vcc_lo, s0, s0    ; encoding: [0x00,0x00,0xea,0x84]
-0x00,0x00,0xea,0x84
+# CHECK: s_max_u32 vcc_lo, s1, s2    ; encoding: [0x01,0x02,0xea,0x84]
+0x01,0x02,0xea,0x84
 
-# CHECK: s_max_u32 vcc_hi, s0, s0    ; encoding: [0x00,0x00,0xeb,0x84]
-0x00,0x00,0xeb,0x84
+# CHECK: s_max_u32 vcc_hi, s1, s2    ; encoding: [0x01,0x02,0xeb,0x84]
+0x01,0x02,0xeb,0x84
 
-# CHECK: s_max_u32 tba_lo, s0, s0    ; encoding: [0x00,0x00,0xec,0x84]
-0x00,0x00,0xec,0x84
+# CHECK: s_max_u32 tba_lo, s1, s2    ; encoding: [0x01,0x02,0xec,0x84]
+0x01,0x02,0xec,0x84
 
-# CHECK: s_max_u32 tba_hi, s0, s0    ; encoding: [0x00,0x00,0xed,0x84]
-0x00,0x00,0xed,0x84
+# CHECK: s_max_u32 tba_hi, s1, s2    ; encoding: [0x01,0x02,0xed,0x84]
+0x01,0x02,0xed,0x84
 
-# CHECK: s_max_u32 tma_lo, s0, s0    ; encoding: [0x00,0x00,0xee,0x84]
-0x00,0x00,0xee,0x84
+# CHECK: s_max_u32 tma_lo, s1, s2    ; encoding: [0x01,0x02,0xee,0x84]
+0x01,0x02,0xee,0x84
 
-# CHECK: s_max_u32 tma_hi, s0, s0    ; encoding: [0x00,0x00,0xef,0x84]
-0x00,0x00,0xef,0x84
+# CHECK: s_max_u32 tma_hi, s1, s2    ; encoding: [0x01,0x02,0xef,0x84]
+0x01,0x02,0xef,0x84
 
-# CHECK: s_max_u32 ttmp11, s0, s0    ; encoding: [0x00,0x00,0xfb,0x84]
-0x00,0x00,0xfb,0x84
+# CHECK: s_max_u32 ttmp11, s1, s2    ; encoding: [0x01,0x02,0xfb,0x84]
+0x01,0x02,0xfb,0x84
 
-# CHECK: s_max_u32 m0, s0, s0    ; encoding: [0x00,0x00,0xfc,0x84]
-0x00,0x00,0xfc,0x84
+# CHECK: s_max_u32 m0, s1, s2    ; encoding: [0x01,0x02,0xfc,0x84]
+0x01,0x02,0xfc,0x84
 
-# CHECK: s_max_u32 exec_lo, s0, s0    ; encoding: [0x00,0x00,0xfe,0x84]
-0x00,0x00,0xfe,0x84
+# CHECK: s_max_u32 exec_lo, s1, s2    ; encoding: [0x01,0x02,0xfe,0x84]
+0x01,0x02,0xfe,0x84
 
-# CHECK: s_max_u32 exec_hi, s0, s0    ; encoding: [0x00,0x00,0xff,0x84]
-0x00,0x00,0xff,0x84
+# CHECK: s_max_u32 exec_hi, s1, s2    ; encoding: [0x01,0x02,0xff,0x84]
+0x01,0x02,0xff,0x84
 
-# CHECK: s_max_u32 s0, s101, s0    ; encoding: [0x65,0x00,0x80,0x84]
-0x65,0x00,0x80,0x84
+# CHECK: s_max_u32 s5, s101, s2    ; encoding: [0x65,0x02,0x85,0x84]
+0x65,0x02,0x85,0x84
 
-# CHECK: s_max_u32 s0, flat_scratch_lo, s0    ; encoding: [0x66,0x00,0x80,0x84]
-0x66,0x00,0x80,0x84
+# CHECK: s_max_u32 s5, flat_scratch_lo, s2    ; encoding: [0x66,0x02,0x85,0x84]
+0x66,0x02,0x85,0x84
 
-# CHECK: s_max_u32 s0, flat_scratch_hi, s0    ; encoding: [0x67,0x00,0x80,0x84]
-0x67,0x00,0x80,0x84
+# CHECK: s_max_u32 s5, flat_scratch_hi, s2    ; encoding: [0x67,0x02,0x85,0x84]
+0x67,0x02,0x85,0x84
 
-# CHECK: s_max_u32 s0, vcc_lo, s0    ; encoding: [0x6a,0x00,0x80,0x84]
-0x6a,0x00,0x80,0x84

[... 133087 lines stripped ...]



More information about the llvm-commits mailing list