llvm/llvm/test/MC/Disassembler/AMDGPU/gfx8_vop3.txt

# RUN: llvm-mc -triple=amdgcn -mcpu=tonga -disassemble -show-encoding < %s | FileCheck -strict-whitespace %s

# CHECK: v_interp_p1_f32_e64 v5, v2, attr0.x     ; encoding: [0x05,0x00,0x70,0xd2,0x00,0x04,0x02,0x00]
0x05,0x00,0x70,0xd2,0x00,0x04,0x02,0x00

# CHECK: v_interp_p1_f32_e64 v255, v2, attr0.x   ; encoding: [0xff,0x00,0x70,0xd2,0x00,0x04,0x02,0x00]
0xff,0x00,0x70,0xd2,0x00,0x04,0x02,0x00

# CHECK: v_interp_p1_f32_e64 v5, v2, attr1.x     ; encoding: [0x05,0x00,0x70,0xd2,0x01,0x04,0x02,0x00]
0x05,0x00,0x70,0xd2,0x01,0x04,0x02,0x00

# CHECK: v_interp_p1_f32_e64 v5, v2, attr31.x    ; encoding: [0x05,0x00,0x70,0xd2,0x1f,0x04,0x02,0x00]
0x05,0x00,0x70,0xd2,0x1f,0x04,0x02,0x00

# CHECK: v_interp_p1_f32_e64 v5, v2, attr32.x    ; encoding: [0x05,0x00,0x70,0xd2,0x20,0x04,0x02,0x00]
0x05,0x00,0x70,0xd2,0x20,0x04,0x02,0x00

# CHECK: v_interp_p1_f32_e64 v5, v255, attr0.x   ; encoding: [0x05,0x00,0x70,0xd2,0x00,0xfe,0x03,0x00]
0x05,0x00,0x70,0xd2,0x00,0xfe,0x03,0x00

# CHECK: v_interp_p1_f32_e64 v5, -v2, attr0.x    ; encoding: [0x05,0x00,0x70,0xd2,0x00,0x04,0x02,0x40]
0x05,0x00,0x70,0xd2,0x00,0x04,0x02,0x40

# CHECK: v_interp_p1_f32_e64 v5, |v2|, attr0.x   ; encoding: [0x05,0x02,0x70,0xd2,0x00,0x04,0x02,0x00]
0x05,0x02,0x70,0xd2,0x00,0x04,0x02,0x00

# CHECK: v_interp_p1_f32_e64 v5, v2, attr0.y     ; encoding: [0x05,0x00,0x70,0xd2,0x40,0x04,0x02,0x00]
0x05,0x00,0x70,0xd2,0x40,0x04,0x02,0x00

# CHECK: v_interp_p1_f32_e64 v5, v2, attr0.z     ; encoding: [0x05,0x00,0x70,0xd2,0x80,0x04,0x02,0x00]
0x05,0x00,0x70,0xd2,0x80,0x04,0x02,0x00

# CHECK: v_interp_p1_f32_e64 v5, v2, attr0.w     ; encoding: [0x05,0x00,0x70,0xd2,0xc0,0x04,0x02,0x00]
0x05,0x00,0x70,0xd2,0xc0,0x04,0x02,0x00

# CHECK: v_interp_p1_f32_e64 v5, v2, attr0.x clamp ; encoding: [0x05,0x80,0x70,0xd2,0x00,0x04,0x02,0x00]
0x05,0x80,0x70,0xd2,0x00,0x04,0x02,0x00

# CHECK: v_interp_p1_f32_e64 v5, v2, attr0.x mul:2 ; encoding: [0x05,0x00,0x70,0xd2,0x00,0x04,0x02,0x08]
0x05,0x00,0x70,0xd2,0x00,0x04,0x02,0x08

# CHECK: v_interp_p1_f32_e64 v5, v2, attr0.x mul:4 ; encoding: [0x05,0x00,0x70,0xd2,0x00,0x04,0x02,0x10]
0x05,0x00,0x70,0xd2,0x00,0x04,0x02,0x10

# CHECK: v_interp_p1_f32_e64 v5, v2, attr0.x div:2 ; encoding: [0x05,0x00,0x70,0xd2,0x00,0x04,0x02,0x18]
0x05,0x00,0x70,0xd2,0x00,0x04,0x02,0x18

# CHECK: v_interp_p2_f32_e64 v5, v2, attr0.x     ; encoding: [0x05,0x00,0x71,0xd2,0x00,0x04,0x02,0x00]
0x05,0x00,0x71,0xd2,0x00,0x04,0x02,0x00

# CHECK: v_interp_p2_f32_e64 v255, v2, attr0.x   ; encoding: [0xff,0x00,0x71,0xd2,0x00,0x04,0x02,0x00]
0xff,0x00,0x71,0xd2,0x00,0x04,0x02,0x00

# CHECK: v_interp_p2_f32_e64 v5, v2, attr1.x     ; encoding: [0x05,0x00,0x71,0xd2,0x01,0x04,0x02,0x00]
0x05,0x00,0x71,0xd2,0x01,0x04,0x02,0x00

# CHECK: v_interp_p2_f32_e64 v5, v2, attr31.x    ; encoding: [0x05,0x00,0x71,0xd2,0x1f,0x04,0x02,0x00]
0x05,0x00,0x71,0xd2,0x1f,0x04,0x02,0x00

# CHECK: v_interp_p2_f32_e64 v5, v2, attr32.x    ; encoding: [0x05,0x00,0x71,0xd2,0x20,0x04,0x02,0x00]
0x05,0x00,0x71,0xd2,0x20,0x04,0x02,0x00

# CHECK: v_interp_p2_f32_e64 v5, v255, attr0.x   ; encoding: [0x05,0x00,0x71,0xd2,0x00,0xfe,0x03,0x00]
0x05,0x00,0x71,0xd2,0x00,0xfe,0x03,0x00

# CHECK: v_interp_p2_f32_e64 v5, -v2, attr0.x    ; encoding: [0x05,0x00,0x71,0xd2,0x00,0x04,0x02,0x40]
0x05,0x00,0x71,0xd2,0x00,0x04,0x02,0x40

# CHECK: v_interp_p2_f32_e64 v5, |v2|, attr0.x   ; encoding: [0x05,0x02,0x71,0xd2,0x00,0x04,0x02,0x00]
0x05,0x02,0x71,0xd2,0x00,0x04,0x02,0x00

# CHECK: v_interp_p2_f32_e64 v5, v2, attr0.y     ; encoding: [0x05,0x00,0x71,0xd2,0x40,0x04,0x02,0x00]
0x05,0x00,0x71,0xd2,0x40,0x04,0x02,0x00

# CHECK: v_interp_p2_f32_e64 v5, v2, attr0.z     ; encoding: [0x05,0x00,0x71,0xd2,0x80,0x04,0x02,0x00]
0x05,0x00,0x71,0xd2,0x80,0x04,0x02,0x00

# CHECK: v_interp_p2_f32_e64 v5, v2, attr0.w     ; encoding: [0x05,0x00,0x71,0xd2,0xc0,0x04,0x02,0x00]
0x05,0x00,0x71,0xd2,0xc0,0x04,0x02,0x00

# CHECK: v_interp_p2_f32_e64 v5, v2, attr0.x clamp ; encoding: [0x05,0x80,0x71,0xd2,0x00,0x04,0x02,0x00]
0x05,0x80,0x71,0xd2,0x00,0x04,0x02,0x00

# CHECK: v_interp_p2_f32_e64 v5, v2, attr0.x mul:2 ; encoding: [0x05,0x00,0x71,0xd2,0x00,0x04,0x02,0x08]
0x05,0x00,0x71,0xd2,0x00,0x04,0x02,0x08

# CHECK: v_interp_p2_f32_e64 v5, v2, attr0.x mul:4 ; encoding: [0x05,0x00,0x71,0xd2,0x00,0x04,0x02,0x10]
0x05,0x00,0x71,0xd2,0x00,0x04,0x02,0x10

# CHECK: v_interp_p2_f32_e64 v5, v2, attr0.x div:2 ; encoding: [0x05,0x00,0x71,0xd2,0x00,0x04,0x02,0x18]
0x05,0x00,0x71,0xd2,0x00,0x04,0x02,0x18

# CHECK: v_interp_mov_f32_e64 v5, p10, attr0.x   ; encoding: [0x05,0x00,0x72,0xd2,0x00,0x00,0x00,0x00]
0x05,0x00,0x72,0xd2,0x00,0x00,0x00,0x00

# CHECK: v_interp_mov_f32_e64 v255, p10, attr0.x ; encoding: [0xff,0x00,0x72,0xd2,0x00,0x00,0x00,0x00]
0xff,0x00,0x72,0xd2,0x00,0x00,0x00,0x00

# CHECK: v_interp_mov_f32_e64 v5, p10, attr1.x   ; encoding: [0x05,0x00,0x72,0xd2,0x01,0x00,0x00,0x00]
0x05,0x00,0x72,0xd2,0x01,0x00,0x00,0x00

# CHECK: v_interp_mov_f32_e64 v5, p10, attr31.x  ; encoding: [0x05,0x00,0x72,0xd2,0x1f,0x00,0x00,0x00]
0x05,0x00,0x72,0xd2,0x1f,0x00,0x00,0x00

# CHECK: v_interp_mov_f32_e64 v5, p10, attr32.x  ; encoding: [0x05,0x00,0x72,0xd2,0x20,0x00,0x00,0x00]
0x05,0x00,0x72,0xd2,0x20,0x00,0x00,0x00

# CHECK: v_interp_mov_f32_e64 v5, p20, attr0.x   ; encoding: [0x05,0x00,0x72,0xd2,0x00,0x02,0x00,0x00]
0x05,0x00,0x72,0xd2,0x00,0x02,0x00,0x00

# CHECK: v_interp_mov_f32_e64 v5, p0, attr0.x    ; encoding: [0x05,0x00,0x72,0xd2,0x00,0x04,0x00,0x00]
0x05,0x00,0x72,0xd2,0x00,0x04,0x00,0x00

# CHECK: v_interp_mov_f32_e64 v5, p10, attr0.y   ; encoding: [0x05,0x00,0x72,0xd2,0x40,0x00,0x00,0x00]
0x05,0x00,0x72,0xd2,0x40,0x00,0x00,0x00

# CHECK: v_interp_mov_f32_e64 v5, p10, attr0.z   ; encoding: [0x05,0x00,0x72,0xd2,0x80,0x00,0x00,0x00]
0x05,0x00,0x72,0xd2,0x80,0x00,0x00,0x00

# CHECK: v_interp_mov_f32_e64 v5, p10, attr0.w   ; encoding: [0x05,0x00,0x72,0xd2,0xc0,0x00,0x00,0x00]
0x05,0x00,0x72,0xd2,0xc0,0x00,0x00,0x00

# CHECK: v_interp_mov_f32_e64 v5, p10, attr0.x clamp ; encoding: [0x05,0x80,0x72,0xd2,0x00,0x00,0x00,0x00]
0x05,0x80,0x72,0xd2,0x00,0x00,0x00,0x00

# CHECK: v_interp_mov_f32_e64 v5, p10, attr0.x mul:2 ; encoding: [0x05,0x00,0x72,0xd2,0x00,0x00,0x00,0x08]
0x05,0x00,0x72,0xd2,0x00,0x00,0x00,0x08

# CHECK: v_interp_mov_f32_e64 v5, p10, attr0.x mul:4 ; encoding: [0x05,0x00,0x72,0xd2,0x00,0x00,0x00,0x10]
0x05,0x00,0x72,0xd2,0x00,0x00,0x00,0x10

# CHECK: v_interp_mov_f32_e64 v5, p10, attr0.x div:2 ; encoding: [0x05,0x00,0x72,0xd2,0x00,0x00,0x00,0x18]
0x05,0x00,0x72,0xd2,0x00,0x00,0x00,0x18

# CHECK: v_nop                                   ; encoding: [0x00,0x00,0x40,0xd1,0x00,0x00,0x00,0x00]
0x00,0x00,0x40,0xd1,0x00,0x00,0x00,0x00

# CHECK: v_mov_b32_e64 v5, v1                    ; encoding: [0x05,0x00,0x41,0xd1,0x01,0x01,0x00,0x00]
0x05,0x00,0x41,0xd1,0x01,0x01,0x00,0x00

# CHECK: v_mov_b32_e64 v255, v1                  ; encoding: [0xff,0x00,0x41,0xd1,0x01,0x01,0x00,0x00]
0xff,0x00,0x41,0xd1,0x01,0x01,0x00,0x00

# CHECK: v_mov_b32_e64 v5, v255                  ; encoding: [0x05,0x00,0x41,0xd1,0xff,0x01,0x00,0x00]
0x05,0x00,0x41,0xd1,0xff,0x01,0x00,0x00

# CHECK: v_mov_b32_e64 v5, s1                    ; encoding: [0x05,0x00,0x41,0xd1,0x01,0x00,0x00,0x00]
0x05,0x00,0x41,0xd1,0x01,0x00,0x00,0x00

# CHECK: v_mov_b32_e64 v5, s101                  ; encoding: [0x05,0x00,0x41,0xd1,0x65,0x00,0x00,0x00]
0x05,0x00,0x41,0xd1,0x65,0x00,0x00,0x00

# CHECK: v_mov_b32_e64 v5, flat_scratch_lo       ; encoding: [0x05,0x00,0x41,0xd1,0x66,0x00,0x00,0x00]
0x05,0x00,0x41,0xd1,0x66,0x00,0x00,0x00

# CHECK: v_mov_b32_e64 v5, flat_scratch_hi       ; encoding: [0x05,0x00,0x41,0xd1,0x67,0x00,0x00,0x00]
0x05,0x00,0x41,0xd1,0x67,0x00,0x00,0x00

# CHECK: v_mov_b32_e64 v5, vcc_lo                ; encoding: [0x05,0x00,0x41,0xd1,0x6a,0x00,0x00,0x00]
0x05,0x00,0x41,0xd1,0x6a,0x00,0x00,0x00

# CHECK: v_mov_b32_e64 v5, vcc_hi                ; encoding: [0x05,0x00,0x41,0xd1,0x6b,0x00,0x00,0x00]
0x05,0x00,0x41,0xd1,0x6b,0x00,0x00,0x00

# CHECK: v_mov_b32_e64 v5, tba_lo                ; encoding: [0x05,0x00,0x41,0xd1,0x6c,0x00,0x00,0x00]
0x05,0x00,0x41,0xd1,0x6c,0x00,0x00,0x00

# CHECK: v_mov_b32_e64 v5, tba_hi                ; encoding: [0x05,0x00,0x41,0xd1,0x6d,0x00,0x00,0x00]
0x05,0x00,0x41,0xd1,0x6d,0x00,0x00,0x00

# CHECK: v_mov_b32_e64 v5, tma_lo                ; encoding: [0x05,0x00,0x41,0xd1,0x6e,0x00,0x00,0x00]
0x05,0x00,0x41,0xd1,0x6e,0x00,0x00,0x00

# CHECK: v_mov_b32_e64 v5, tma_hi                ; encoding: [0x05,0x00,0x41,0xd1,0x6f,0x00,0x00,0x00]
0x05,0x00,0x41,0xd1,0x6f,0x00,0x00,0x00

# CHECK: v_mov_b32_e64 v5, ttmp11                ; encoding: [0x05,0x00,0x41,0xd1,0x7b,0x00,0x00,0x00]
0x05,0x00,0x41,0xd1,0x7b,0x00,0x00,0x00

# CHECK: v_mov_b32_e64 v5, m0                    ; encoding: [0x05,0x00,0x41,0xd1,0x7c,0x00,0x00,0x00]
0x05,0x00,0x41,0xd1,0x7c,0x00,0x00,0x00

# CHECK: v_mov_b32_e64 v5, exec_lo               ; encoding: [0x05,0x00,0x41,0xd1,0x7e,0x00,0x00,0x00]
0x05,0x00,0x41,0xd1,0x7e,0x00,0x00,0x00

# CHECK: v_mov_b32_e64 v5, exec_hi               ; encoding: [0x05,0x00,0x41,0xd1,0x7f,0x00,0x00,0x00]
0x05,0x00,0x41,0xd1,0x7f,0x00,0x00,0x00

# CHECK: v_mov_b32_e64 v5, 0                     ; encoding: [0x05,0x00,0x41,0xd1,0x80,0x00,0x00,0x00]
0x05,0x00,0x41,0xd1,0x80,0x00,0x00,0x00

# CHECK: v_mov_b32_e64 v5, -1                    ; encoding: [0x05,0x00,0x41,0xd1,0xc1,0x00,0x00,0x00]
0x05,0x00,0x41,0xd1,0xc1,0x00,0x00,0x00

# CHECK: v_mov_b32_e64 v5, 0.5                   ; encoding: [0x05,0x00,0x41,0xd1,0xf0,0x00,0x00,0x00]
0x05,0x00,0x41,0xd1,0xf0,0x00,0x00,0x00

# CHECK: v_mov_b32_e64 v5, -4.0                  ; encoding: [0x05,0x00,0x41,0xd1,0xf7,0x00,0x00,0x00]
0x05,0x00,0x41,0xd1,0xf7,0x00,0x00,0x00

# CHECK: v_cvt_i32_f64_e64 v5, v[1:2]            ; encoding: [0x05,0x00,0x43,0xd1,0x01,0x01,0x00,0x00]
0x05,0x00,0x43,0xd1,0x01,0x01,0x00,0x00

# CHECK: v_cvt_i32_f64_e64 v255, v[1:2]          ; encoding: [0xff,0x00,0x43,0xd1,0x01,0x01,0x00,0x00]
0xff,0x00,0x43,0xd1,0x01,0x01,0x00,0x00

# CHECK: v_cvt_i32_f64_e64 v5, v[254:255]        ; encoding: [0x05,0x00,0x43,0xd1,0xfe,0x01,0x00,0x00]
0x05,0x00,0x43,0xd1,0xfe,0x01,0x00,0x00

# CHECK: v_cvt_i32_f64_e64 v5, s[2:3]            ; encoding: [0x05,0x00,0x43,0xd1,0x02,0x00,0x00,0x00]
0x05,0x00,0x43,0xd1,0x02,0x00,0x00,0x00

# CHECK: v_cvt_i32_f64_e64 v5, s[4:5]            ; encoding: [0x05,0x00,0x43,0xd1,0x04,0x00,0x00,0x00]
0x05,0x00,0x43,0xd1,0x04,0x00,0x00,0x00

# CHECK: v_cvt_i32_f64_e64 v5, s[100:101]        ; encoding: [0x05,0x00,0x43,0xd1,0x64,0x00,0x00,0x00]
0x05,0x00,0x43,0xd1,0x64,0x00,0x00,0x00

# CHECK: v_cvt_i32_f64_e64 v5, flat_scratch      ; encoding: [0x05,0x00,0x43,0xd1,0x66,0x00,0x00,0x00]
0x05,0x00,0x43,0xd1,0x66,0x00,0x00,0x00

# CHECK: v_cvt_i32_f64_e64 v5, vcc               ; encoding: [0x05,0x00,0x43,0xd1,0x6a,0x00,0x00,0x00]
0x05,0x00,0x43,0xd1,0x6a,0x00,0x00,0x00

# CHECK: v_cvt_i32_f64_e64 v5, tba               ; encoding: [0x05,0x00,0x43,0xd1,0x6c,0x00,0x00,0x00]
0x05,0x00,0x43,0xd1,0x6c,0x00,0x00,0x00

# CHECK: v_cvt_i32_f64_e64 v5, tma               ; encoding: [0x05,0x00,0x43,0xd1,0x6e,0x00,0x00,0x00]
0x05,0x00,0x43,0xd1,0x6e,0x00,0x00,0x00

# CHECK: v_cvt_i32_f64_e64 v5, ttmp[10:11]       ; encoding: [0x05,0x00,0x43,0xd1,0x7a,0x00,0x00,0x00]
0x05,0x00,0x43,0xd1,0x7a,0x00,0x00,0x00

# CHECK: v_cvt_i32_f64_e64 v5, exec              ; encoding: [0x05,0x00,0x43,0xd1,0x7e,0x00,0x00,0x00]
0x05,0x00,0x43,0xd1,0x7e,0x00,0x00,0x00

# CHECK: v_cvt_i32_f64_e64 v5, 0                 ; encoding: [0x05,0x00,0x43,0xd1,0x80,0x00,0x00,0x00]
0x05,0x00,0x43,0xd1,0x80,0x00,0x00,0x00

# CHECK: v_cvt_i32_f64_e64 v5, -1                ; encoding: [0x05,0x00,0x43,0xd1,0xc1,0x00,0x00,0x00]
0x05,0x00,0x43,0xd1,0xc1,0x00,0x00,0x00

# CHECK: v_cvt_i32_f64_e64 v5, 0.5               ; encoding: [0x05,0x00,0x43,0xd1,0xf0,0x00,0x00,0x00]
0x05,0x00,0x43,0xd1,0xf0,0x00,0x00,0x00

# CHECK: v_cvt_i32_f64_e64 v5, -4.0              ; encoding: [0x05,0x00,0x43,0xd1,0xf7,0x00,0x00,0x00]
0x05,0x00,0x43,0xd1,0xf7,0x00,0x00,0x00

# CHECK: v_cvt_i32_f64_e64 v5, -v[1:2]           ; encoding: [0x05,0x00,0x43,0xd1,0x01,0x01,0x00,0x20]
0x05,0x00,0x43,0xd1,0x01,0x01,0x00,0x20

# CHECK: v_cvt_i32_f64_e64 v5, |v[1:2]|          ; encoding: [0x05,0x01,0x43,0xd1,0x01,0x01,0x00,0x00]
0x05,0x01,0x43,0xd1,0x01,0x01,0x00,0x00

# CHECK: v_cvt_f64_i32_e64 v[5:6], v1            ; encoding: [0x05,0x00,0x44,0xd1,0x01,0x01,0x00,0x00]
0x05,0x00,0x44,0xd1,0x01,0x01,0x00,0x00

# CHECK: v_cvt_f64_i32_e64 v[254:255], v1        ; encoding: [0xfe,0x00,0x44,0xd1,0x01,0x01,0x00,0x00]
0xfe,0x00,0x44,0xd1,0x01,0x01,0x00,0x00

# CHECK: v_cvt_f64_i32_e64 v[5:6], v255          ; encoding: [0x05,0x00,0x44,0xd1,0xff,0x01,0x00,0x00]
0x05,0x00,0x44,0xd1,0xff,0x01,0x00,0x00

# CHECK: v_cvt_f64_i32_e64 v[5:6], s1            ; encoding: [0x05,0x00,0x44,0xd1,0x01,0x00,0x00,0x00]
0x05,0x00,0x44,0xd1,0x01,0x00,0x00,0x00

# CHECK: v_cvt_f64_i32_e64 v[5:6], s101          ; encoding: [0x05,0x00,0x44,0xd1,0x65,0x00,0x00,0x00]
0x05,0x00,0x44,0xd1,0x65,0x00,0x00,0x00

# CHECK: v_cvt_f64_i32_e64 v[5:6], flat_scratch_lo ; encoding: [0x05,0x00,0x44,0xd1,0x66,0x00,0x00,0x00]
0x05,0x00,0x44,0xd1,0x66,0x00,0x00,0x00

# CHECK: v_cvt_f64_i32_e64 v[5:6], flat_scratch_hi ; encoding: [0x05,0x00,0x44,0xd1,0x67,0x00,0x00,0x00]
0x05,0x00,0x44,0xd1,0x67,0x00,0x00,0x00

# CHECK: v_cvt_f64_i32_e64 v[5:6], vcc_lo        ; encoding: [0x05,0x00,0x44,0xd1,0x6a,0x00,0x00,0x00]
0x05,0x00,0x44,0xd1,0x6a,0x00,0x00,0x00

# CHECK: v_cvt_f64_i32_e64 v[5:6], vcc_hi        ; encoding: [0x05,0x00,0x44,0xd1,0x6b,0x00,0x00,0x00]
0x05,0x00,0x44,0xd1,0x6b,0x00,0x00,0x00

# CHECK: v_cvt_f64_i32_e64 v[5:6], tba_lo        ; encoding: [0x05,0x00,0x44,0xd1,0x6c,0x00,0x00,0x00]
0x05,0x00,0x44,0xd1,0x6c,0x00,0x00,0x00

# CHECK: v_cvt_f64_i32_e64 v[5:6], tba_hi        ; encoding: [0x05,0x00,0x44,0xd1,0x6d,0x00,0x00,0x00]
0x05,0x00,0x44,0xd1,0x6d,0x00,0x00,0x00

# CHECK: v_cvt_f64_i32_e64 v[5:6], tma_lo        ; encoding: [0x05,0x00,0x44,0xd1,0x6e,0x00,0x00,0x00]
0x05,0x00,0x44,0xd1,0x6e,0x00,0x00,0x00

# CHECK: v_cvt_f64_i32_e64 v[5:6], tma_hi        ; encoding: [0x05,0x00,0x44,0xd1,0x6f,0x00,0x00,0x00]
0x05,0x00,0x44,0xd1,0x6f,0x00,0x00,0x00

# CHECK: v_cvt_f64_i32_e64 v[5:6], ttmp11        ; encoding: [0x05,0x00,0x44,0xd1,0x7b,0x00,0x00,0x00]
0x05,0x00,0x44,0xd1,0x7b,0x00,0x00,0x00

# CHECK: v_cvt_f64_i32_e64 v[5:6], m0            ; encoding: [0x05,0x00,0x44,0xd1,0x7c,0x00,0x00,0x00]
0x05,0x00,0x44,0xd1,0x7c,0x00,0x00,0x00

# CHECK: v_cvt_f64_i32_e64 v[5:6], exec_lo       ; encoding: [0x05,0x00,0x44,0xd1,0x7e,0x00,0x00,0x00]
0x05,0x00,0x44,0xd1,0x7e,0x00,0x00,0x00

# CHECK: v_cvt_f64_i32_e64 v[5:6], exec_hi       ; encoding: [0x05,0x00,0x44,0xd1,0x7f,0x00,0x00,0x00]
0x05,0x00,0x44,0xd1,0x7f,0x00,0x00,0x00

# CHECK: v_cvt_f64_i32_e64 v[5:6], 0             ; encoding: [0x05,0x00,0x44,0xd1,0x80,0x00,0x00,0x00]
0x05,0x00,0x44,0xd1,0x80,0x00,0x00,0x00

# CHECK: v_cvt_f64_i32_e64 v[5:6], -1            ; encoding: [0x05,0x00,0x44,0xd1,0xc1,0x00,0x00,0x00]
0x05,0x00,0x44,0xd1,0xc1,0x00,0x00,0x00

# CHECK: v_cvt_f64_i32_e64 v[5:6], 0.5           ; encoding: [0x05,0x00,0x44,0xd1,0xf0,0x00,0x00,0x00]
0x05,0x00,0x44,0xd1,0xf0,0x00,0x00,0x00

# CHECK: v_cvt_f64_i32_e64 v[5:6], -4.0          ; encoding: [0x05,0x00,0x44,0xd1,0xf7,0x00,0x00,0x00]
0x05,0x00,0x44,0xd1,0xf7,0x00,0x00,0x00

# CHECK: v_cvt_f64_i32_e64 v[5:6], v1 clamp      ; encoding: [0x05,0x80,0x44,0xd1,0x01,0x01,0x00,0x00]
0x05,0x80,0x44,0xd1,0x01,0x01,0x00,0x00

# CHECK: v_cvt_f64_i32_e64 v[5:6], v1 mul:2      ; encoding: [0x05,0x00,0x44,0xd1,0x01,0x01,0x00,0x08]
0x05,0x00,0x44,0xd1,0x01,0x01,0x00,0x08

# CHECK: v_cvt_f64_i32_e64 v[5:6], v1 mul:4      ; encoding: [0x05,0x00,0x44,0xd1,0x01,0x01,0x00,0x10]
0x05,0x00,0x44,0xd1,0x01,0x01,0x00,0x10

# CHECK: v_cvt_f64_i32_e64 v[5:6], v1 div:2      ; encoding: [0x05,0x00,0x44,0xd1,0x01,0x01,0x00,0x18]
0x05,0x00,0x44,0xd1,0x01,0x01,0x00,0x18

# CHECK: v_cvt_f32_i32_e64 v5, v1                ; encoding: [0x05,0x00,0x45,0xd1,0x01,0x01,0x00,0x00]
0x05,0x00,0x45,0xd1,0x01,0x01,0x00,0x00

# CHECK: v_cvt_f32_i32_e64 v255, v1              ; encoding: [0xff,0x00,0x45,0xd1,0x01,0x01,0x00,0x00]
0xff,0x00,0x45,0xd1,0x01,0x01,0x00,0x00

# CHECK: v_cvt_f32_i32_e64 v5, v255              ; encoding: [0x05,0x00,0x45,0xd1,0xff,0x01,0x00,0x00]
0x05,0x00,0x45,0xd1,0xff,0x01,0x00,0x00

# CHECK: v_cvt_f32_i32_e64 v5, s1                ; encoding: [0x05,0x00,0x45,0xd1,0x01,0x00,0x00,0x00]
0x05,0x00,0x45,0xd1,0x01,0x00,0x00,0x00

# CHECK: v_cvt_f32_i32_e64 v5, s101              ; encoding: [0x05,0x00,0x45,0xd1,0x65,0x00,0x00,0x00]
0x05,0x00,0x45,0xd1,0x65,0x00,0x00,0x00

# CHECK: v_cvt_f32_i32_e64 v5, flat_scratch_lo   ; encoding: [0x05,0x00,0x45,0xd1,0x66,0x00,0x00,0x00]
0x05,0x00,0x45,0xd1,0x66,0x00,0x00,0x00

# CHECK: v_cvt_f32_i32_e64 v5, flat_scratch_hi   ; encoding: [0x05,0x00,0x45,0xd1,0x67,0x00,0x00,0x00]
0x05,0x00,0x45,0xd1,0x67,0x00,0x00,0x00

# CHECK: v_cvt_f32_i32_e64 v5, vcc_lo            ; encoding: [0x05,0x00,0x45,0xd1,0x6a,0x00,0x00,0x00]
0x05,0x00,0x45,0xd1,0x6a,0x00,0x00,0x00

# CHECK: v_cvt_f32_i32_e64 v5, vcc_hi            ; encoding: [0x05,0x00,0x45,0xd1,0x6b,0x00,0x00,0x00]
0x05,0x00,0x45,0xd1,0x6b,0x00,0x00,0x00

# CHECK: v_cvt_f32_i32_e64 v5, tba_lo            ; encoding: [0x05,0x00,0x45,0xd1,0x6c,0x00,0x00,0x00]
0x05,0x00,0x45,0xd1,0x6c,0x00,0x00,0x00

# CHECK: v_cvt_f32_i32_e64 v5, tba_hi            ; encoding: [0x05,0x00,0x45,0xd1,0x6d,0x00,0x00,0x00]
0x05,0x00,0x45,0xd1,0x6d,0x00,0x00,0x00

# CHECK: v_cvt_f32_i32_e64 v5, tma_lo            ; encoding: [0x05,0x00,0x45,0xd1,0x6e,0x00,0x00,0x00]
0x05,0x00,0x45,0xd1,0x6e,0x00,0x00,0x00

# CHECK: v_cvt_f32_i32_e64 v5, tma_hi            ; encoding: [0x05,0x00,0x45,0xd1,0x6f,0x00,0x00,0x00]
0x05,0x00,0x45,0xd1,0x6f,0x00,0x00,0x00

# CHECK: v_cvt_f32_i32_e64 v5, ttmp11            ; encoding: [0x05,0x00,0x45,0xd1,0x7b,0x00,0x00,0x00]
0x05,0x00,0x45,0xd1,0x7b,0x00,0x00,0x00

# CHECK: v_cvt_f32_i32_e64 v5, m0                ; encoding: [0x05,0x00,0x45,0xd1,0x7c,0x00,0x00,0x00]
0x05,0x00,0x45,0xd1,0x7c,0x00,0x00,0x00

# CHECK: v_cvt_f32_i32_e64 v5, exec_lo           ; encoding: [0x05,0x00,0x45,0xd1,0x7e,0x00,0x00,0x00]
0x05,0x00,0x45,0xd1,0x7e,0x00,0x00,0x00

# CHECK: v_cvt_f32_i32_e64 v5, exec_hi           ; encoding: [0x05,0x00,0x45,0xd1,0x7f,0x00,0x00,0x00]
0x05,0x00,0x45,0xd1,0x7f,0x00,0x00,0x00

# CHECK: v_cvt_f32_i32_e64 v5, 0                 ; encoding: [0x05,0x00,0x45,0xd1,0x80,0x00,0x00,0x00]
0x05,0x00,0x45,0xd1,0x80,0x00,0x00,0x00

# CHECK: v_cvt_f32_i32_e64 v5, -1                ; encoding: [0x05,0x00,0x45,0xd1,0xc1,0x00,0x00,0x00]
0x05,0x00,0x45,0xd1,0xc1,0x00,0x00,0x00

# CHECK: v_cvt_f32_i32_e64 v5, 0.5               ; encoding: [0x05,0x00,0x45,0xd1,0xf0,0x00,0x00,0x00]
0x05,0x00,0x45,0xd1,0xf0,0x00,0x00,0x00

# CHECK: v_cvt_f32_i32_e64 v5, -4.0              ; encoding: [0x05,0x00,0x45,0xd1,0xf7,0x00,0x00,0x00]
0x05,0x00,0x45,0xd1,0xf7,0x00,0x00,0x00

# CHECK: v_cvt_f32_i32_e64 v5, v1 clamp          ; encoding: [0x05,0x80,0x45,0xd1,0x01,0x01,0x00,0x00]
0x05,0x80,0x45,0xd1,0x01,0x01,0x00,0x00

# CHECK: v_cvt_f32_i32_e64 v5, v1 mul:2          ; encoding: [0x05,0x00,0x45,0xd1,0x01,0x01,0x00,0x08]
0x05,0x00,0x45,0xd1,0x01,0x01,0x00,0x08

# CHECK: v_cvt_f32_i32_e64 v5, v1 mul:4          ; encoding: [0x05,0x00,0x45,0xd1,0x01,0x01,0x00,0x10]
0x05,0x00,0x45,0xd1,0x01,0x01,0x00,0x10

# CHECK: v_cvt_f32_i32_e64 v5, v1 div:2          ; encoding: [0x05,0x00,0x45,0xd1,0x01,0x01,0x00,0x18]
0x05,0x00,0x45,0xd1,0x01,0x01,0x00,0x18

# CHECK: v_cvt_f32_u32_e64 v5, v1                ; encoding: [0x05,0x00,0x46,0xd1,0x01,0x01,0x00,0x00]
0x05,0x00,0x46,0xd1,0x01,0x01,0x00,0x00

# CHECK: v_cvt_f32_u32_e64 v255, v1              ; encoding: [0xff,0x00,0x46,0xd1,0x01,0x01,0x00,0x00]
0xff,0x00,0x46,0xd1,0x01,0x01,0x00,0x00

# CHECK: v_cvt_f32_u32_e64 v5, v255              ; encoding: [0x05,0x00,0x46,0xd1,0xff,0x01,0x00,0x00]
0x05,0x00,0x46,0xd1,0xff,0x01,0x00,0x00

# CHECK: v_cvt_f32_u32_e64 v5, s1                ; encoding: [0x05,0x00,0x46,0xd1,0x01,0x00,0x00,0x00]
0x05,0x00,0x46,0xd1,0x01,0x00,0x00,0x00

# CHECK: v_cvt_f32_u32_e64 v5, s101              ; encoding: [0x05,0x00,0x46,0xd1,0x65,0x00,0x00,0x00]
0x05,0x00,0x46,0xd1,0x65,0x00,0x00,0x00

# CHECK: v_cvt_f32_u32_e64 v5, flat_scratch_lo   ; encoding: [0x05,0x00,0x46,0xd1,0x66,0x00,0x00,0x00]
0x05,0x00,0x46,0xd1,0x66,0x00,0x00,0x00

# CHECK: v_cvt_f32_u32_e64 v5, flat_scratch_hi   ; encoding: [0x05,0x00,0x46,0xd1,0x67,0x00,0x00,0x00]
0x05,0x00,0x46,0xd1,0x67,0x00,0x00,0x00

# CHECK: v_cvt_f32_u32_e64 v5, vcc_lo            ; encoding: [0x05,0x00,0x46,0xd1,0x6a,0x00,0x00,0x00]
0x05,0x00,0x46,0xd1,0x6a,0x00,0x00,0x00

# CHECK: v_cvt_f32_u32_e64 v5, vcc_hi            ; encoding: [0x05,0x00,0x46,0xd1,0x6b,0x00,0x00,0x00]
0x05,0x00,0x46,0xd1,0x6b,0x00,0x00,0x00

# CHECK: v_cvt_f32_u32_e64 v5, tba_lo            ; encoding: [0x05,0x00,0x46,0xd1,0x6c,0x00,0x00,0x00]
0x05,0x00,0x46,0xd1,0x6c,0x00,0x00,0x00

# CHECK: v_cvt_f32_u32_e64 v5, tba_hi            ; encoding: [0x05,0x00,0x46,0xd1,0x6d,0x00,0x00,0x00]
0x05,0x00,0x46,0xd1,0x6d,0x00,0x00,0x00

# CHECK: v_cvt_f32_u32_e64 v5, tma_lo            ; encoding: [0x05,0x00,0x46,0xd1,0x6e,0x00,0x00,0x00]
0x05,0x00,0x46,0xd1,0x6e,0x00,0x00,0x00

# CHECK: v_cvt_f32_u32_e64 v5, tma_hi            ; encoding: [0x05,0x00,0x46,0xd1,0x6f,0x00,0x00,0x00]
0x05,0x00,0x46,0xd1,0x6f,0x00,0x00,0x00

# CHECK: v_cvt_f32_u32_e64 v5, ttmp11            ; encoding: [0x05,0x00,0x46,0xd1,0x7b,0x00,0x00,0x00]
0x05,0x00,0x46,0xd1,0x7b,0x00,0x00,0x00

# CHECK: v_cvt_f32_u32_e64 v5, m0                ; encoding: [0x05,0x00,0x46,0xd1,0x7c,0x00,0x00,0x00]
0x05,0x00,0x46,0xd1,0x7c,0x00,0x00,0x00

# CHECK: v_cvt_f32_u32_e64 v5, exec_lo           ; encoding: [0x05,0x00,0x46,0xd1,0x7e,0x00,0x00,0x00]
0x05,0x00,0x46,0xd1,0x7e,0x00,0x00,0x00

# CHECK: v_cvt_f32_u32_e64 v5, exec_hi           ; encoding: [0x05,0x00,0x46,0xd1,0x7f,0x00,0x00,0x00]
0x05,0x00,0x46,0xd1,0x7f,0x00,0x00,0x00

# CHECK: v_cvt_f32_u32_e64 v5, 0                 ; encoding: [0x05,0x00,0x46,0xd1,0x80,0x00,0x00,0x00]
0x05,0x00,0x46,0xd1,0x80,0x00,0x00,0x00

# CHECK: v_cvt_f32_u32_e64 v5, -1                ; encoding: [0x05,0x00,0x46,0xd1,0xc1,0x00,0x00,0x00]
0x05,0x00,0x46,0xd1,0xc1,0x00,0x00,0x00

# CHECK: v_cvt_f32_u32_e64 v5, 0.5               ; encoding: [0x05,0x00,0x46,0xd1,0xf0,0x00,0x00,0x00]
0x05,0x00,0x46,0xd1,0xf0,0x00,0x00,0x00

# CHECK: v_cvt_f32_u32_e64 v5, -4.0              ; encoding: [0x05,0x00,0x46,0xd1,0xf7,0x00,0x00,0x00]
0x05,0x00,0x46,0xd1,0xf7,0x00,0x00,0x00

# CHECK: v_cvt_f32_u32_e64 v5, v1 clamp          ; encoding: [0x05,0x80,0x46,0xd1,0x01,0x01,0x00,0x00]
0x05,0x80,0x46,0xd1,0x01,0x01,0x00,0x00

# CHECK: v_cvt_f32_u32_e64 v5, v1 mul:2          ; encoding: [0x05,0x00,0x46,0xd1,0x01,0x01,0x00,0x08]
0x05,0x00,0x46,0xd1,0x01,0x01,0x00,0x08

# CHECK: v_cvt_f32_u32_e64 v5, v1 mul:4          ; encoding: [0x05,0x00,0x46,0xd1,0x01,0x01,0x00,0x10]
0x05,0x00,0x46,0xd1,0x01,0x01,0x00,0x10

# CHECK: v_cvt_f32_u32_e64 v5, v1 div:2          ; encoding: [0x05,0x00,0x46,0xd1,0x01,0x01,0x00,0x18]
0x05,0x00,0x46,0xd1,0x01,0x01,0x00,0x18

# CHECK: v_cvt_u32_f32_e64 v5, v1                ; encoding: [0x05,0x00,0x47,0xd1,0x01,0x01,0x00,0x00]
0x05,0x00,0x47,0xd1,0x01,0x01,0x00,0x00

# CHECK: v_cvt_u32_f32_e64 v255, v1              ; encoding: [0xff,0x00,0x47,0xd1,0x01,0x01,0x00,0x00]
0xff,0x00,0x47,0xd1,0x01,0x01,0x00,0x00

# CHECK: v_cvt_u32_f32_e64 v5, v255              ; encoding: [0x05,0x00,0x47,0xd1,0xff,0x01,0x00,0x00]
0x05,0x00,0x47,0xd1,0xff,0x01,0x00,0x00

# CHECK: v_cvt_u32_f32_e64 v5, s1                ; encoding: [0x05,0x00,0x47,0xd1,0x01,0x00,0x00,0x00]
0x05,0x00,0x47,0xd1,0x01,0x00,0x00,0x00

# CHECK: v_cvt_u32_f32_e64 v5, s101              ; encoding: [0x05,0x00,0x47,0xd1,0x65,0x00,0x00,0x00]
0x05,0x00,0x47,0xd1,0x65,0x00,0x00,0x00

# CHECK: v_cvt_u32_f32_e64 v5, flat_scratch_lo   ; encoding: [0x05,0x00,0x47,0xd1,0x66,0x00,0x00,0x00]
0x05,0x00,0x47,0xd1,0x66,0x00,0x00,0x00

# CHECK: v_cvt_u32_f32_e64 v5, flat_scratch_hi   ; encoding: [0x05,0x00,0x47,0xd1,0x67,0x00,0x00,0x00]
0x05,0x00,0x47,0xd1,0x67,0x00,0x00,0x00

# CHECK: v_cvt_u32_f32_e64 v5, vcc_lo            ; encoding: [0x05,0x00,0x47,0xd1,0x6a,0x00,0x00,0x00]
0x05,0x00,0x47,0xd1,0x6a,0x00,0x00,0x00

# CHECK: v_cvt_u32_f32_e64 v5, vcc_hi            ; encoding: [0x05,0x00,0x47,0xd1,0x6b,0x00,0x00,0x00]
0x05,0x00,0x47,0xd1,0x6b,0x00,0x00,0x00

# CHECK: v_cvt_u32_f32_e64 v5, tba_lo            ; encoding: [0x05,0x00,0x47,0xd1,0x6c,0x00,0x00,0x00]
0x05,0x00,0x47,0xd1,0x6c,0x00,0x00,0x00

# CHECK: v_cvt_u32_f32_e64 v5, tba_hi            ; encoding: [0x05,0x00,0x47,0xd1,0x6d,0x00,0x00,0x00]
0x05,0x00,0x47,0xd1,0x6d,0x00,0x00,0x00

# CHECK: v_cvt_u32_f32_e64 v5, tma_lo            ; encoding: [0x05,0x00,0x47,0xd1,0x6e,0x00,0x00,0x00]
0x05,0x00,0x47,0xd1,0x6e,0x00,0x00,0x00

# CHECK: v_cvt_u32_f32_e64 v5, tma_hi            ; encoding: [0x05,0x00,0x47,0xd1,0x6f,0x00,0x00,0x00]
0x05,0x00,0x47,0xd1,0x6f,0x00,0x00,0x00

# CHECK: v_cvt_u32_f32_e64 v5, ttmp11            ; encoding: [0x05,0x00,0x47,0xd1,0x7b,0x00,0x00,0x00]
0x05,0x00,0x47,0xd1,0x7b,0x00,0x00,0x00

# CHECK: v_cvt_u32_f32_e64 v5, m0                ; encoding: [0x05,0x00,0x47,0xd1,0x7c,0x00,0x00,0x00]
0x05,0x00,0x47,0xd1,0x7c,0x00,0x00,0x00

# CHECK: v_cvt_u32_f32_e64 v5, exec_lo           ; encoding: [0x05,0x00,0x47,0xd1,0x7e,0x00,0x00,0x00]
0x05,0x00,0x47,0xd1,0x7e,0x00,0x00,0x00

# CHECK: v_cvt_u32_f32_e64 v5, exec_hi           ; encoding: [0x05,0x00,0x47,0xd1,0x7f,0x00,0x00,0x00]
0x05,0x00,0x47,0xd1,0x7f,0x00,0x00,0x00

# CHECK: v_cvt_u32_f32_e64 v5, 0                 ; encoding: [0x05,0x00,0x47,0xd1,0x80,0x00,0x00,0x00]
0x05,0x00,0x47,0xd1,0x80,0x00,0x00,0x00

# CHECK: v_cvt_u32_f32_e64 v5, -1                ; encoding: [0x05,0x00,0x47,0xd1,0xc1,0x00,0x00,0x00]
0x05,0x00,0x47,0xd1,0xc1,0x00,0x00,0x00

# CHECK: v_cvt_u32_f32_e64 v5, 0.5               ; encoding: [0x05,0x00,0x47,0xd1,0xf0,0x00,0x00,0x00]
0x05,0x00,0x47,0xd1,0xf0,0x00,0x00,0x00

# CHECK: v_cvt_u32_f32_e64 v5, -4.0              ; encoding: [0x05,0x00,0x47,0xd1,0xf7,0x00,0x00,0x00]
0x05,0x00,0x47,0xd1,0xf7,0x00,0x00,0x00

# CHECK: v_cvt_u32_f32_e64 v5, -v1               ; encoding: [0x05,0x00,0x47,0xd1,0x01,0x01,0x00,0x20]
0x05,0x00,0x47,0xd1,0x01,0x01,0x00,0x20

# CHECK: v_cvt_u32_f32_e64 v5, |v1|              ; encoding: [0x05,0x01,0x47,0xd1,0x01,0x01,0x00,0x00]
0x05,0x01,0x47,0xd1,0x01,0x01,0x00,0x00

# CHECK: v_cvt_i32_f32_e64 v5, v1                ; encoding: [0x05,0x00,0x48,0xd1,0x01,0x01,0x00,0x00]
0x05,0x00,0x48,0xd1,0x01,0x01,0x00,0x00

# CHECK: v_cvt_i32_f32_e64 v255, v1              ; encoding: [0xff,0x00,0x48,0xd1,0x01,0x01,0x00,0x00]
0xff,0x00,0x48,0xd1,0x01,0x01,0x00,0x00

# CHECK: v_cvt_i32_f32_e64 v5, v255              ; encoding: [0x05,0x00,0x48,0xd1,0xff,0x01,0x00,0x00]
0x05,0x00,0x48,0xd1,0xff,0x01,0x00,0x00

# CHECK: v_cvt_i32_f32_e64 v5, s1                ; encoding: [0x05,0x00,0x48,0xd1,0x01,0x00,0x00,0x00]
0x05,0x00,0x48,0xd1,0x01,0x00,0x00,0x00

# CHECK: v_cvt_i32_f32_e64 v5, s101              ; encoding: [0x05,0x00,0x48,0xd1,0x65,0x00,0x00,0x00]
0x05,0x00,0x48,0xd1,0x65,0x00,0x00,0x00

# CHECK: v_cvt_i32_f32_e64 v5, flat_scratch_lo   ; encoding: [0x05,0x00,0x48,0xd1,0x66,0x00,0x00,0x00]
0x05,0x00,0x48,0xd1,0x66,0x00,0x00,0x00

# CHECK: v_cvt_i32_f32_e64 v5, flat_scratch_hi   ; encoding: [0x05,0x00,0x48,0xd1,0x67,0x00,0x00,0x00]
0x05,0x00,0x48,0xd1,0x67,0x00,0x00,0x00

# CHECK: v_cvt_i32_f32_e64 v5, vcc_lo            ; encoding: [0x05,0x00,0x48,0xd1,0x6a,0x00,0x00,0x00]
0x05,0x00,0x48,0xd1,0x6a,0x00,0x00,0x00

# CHECK: v_cvt_i32_f32_e64 v5, vcc_hi            ; encoding: [0x05,0x00,0x48,0xd1,0x6b,0x00,0x00,0x00]
0x05,0x00,0x48,0xd1,0x6b,0x00,0x00,0x00

# CHECK: v_cvt_i32_f32_e64 v5, tba_lo            ; encoding: [0x05,0x00,0x48,0xd1,0x6c,0x00,0x00,0x00]
0x05,0x00,0x48,0xd1,0x6c,0x00,0x00,0x00

# CHECK: v_cvt_i32_f32_e64 v5, tba_hi            ; encoding: [0x05,0x00,0x48,0xd1,0x6d,0x00,0x00,0x00]
0x05,0x00,0x48,0xd1,0x6d,0x00,0x00,0x00

# CHECK: v_cvt_i32_f32_e64 v5, tma_lo            ; encoding: [0x05,0x00,0x48,0xd1,0x6e,0x00,0x00,0x00]
0x05,0x00,0x48,0xd1,0x6e,0x00,0x00,0x00

# CHECK: v_cvt_i32_f32_e64 v5, tma_hi            ; encoding: [0x05,0x00,0x48,0xd1,0x6f,0x00,0x00,0x00]
0x05,0x00,0x48,0xd1,0x6f,0x00,0x00,0x00

# CHECK: v_cvt_i32_f32_e64 v5, ttmp11            ; encoding: [0x05,0x00,0x48,0xd1,0x7b,0x00,0x00,0x00]
0x05,0x00,0x48,0xd1,0x7b,0x00,0x00,0x00

# CHECK: v_cvt_i32_f32_e64 v5, m0                ; encoding: [0x05,0x00,0x48,0xd1,0x7c,0x00,0x00,0x00]
0x05,0x00,0x48,0xd1,0x7c,0x00,0x00,0x00

# CHECK: v_cvt_i32_f32_e64 v5, exec_lo           ; encoding: [0x05,0x00,0x48,0xd1,0x7e,0x00,0x00,0x00]
0x05,0x00,0x48,0xd1,0x7e,0x00,0x00,0x00

# CHECK: v_cvt_i32_f32_e64 v5, exec_hi           ; encoding: [0x05,0x00,0x48,0xd1,0x7f,0x00,0x00,0x00]
0x05,0x00,0x48,0xd1,0x7f,0x00,0x00,0x00

# CHECK: v_cvt_i32_f32_e64 v5, 0                 ; encoding: [0x05,0x00,0x48,0xd1,0x80,0x00,0x00,0x00]
0x05,0x00,0x48,0xd1,0x80,0x00,0x00,0x00

# CHECK: v_cvt_i32_f32_e64 v5, -1                ; encoding: [0x05,0x00,0x48,0xd1,0xc1,0x00,0x00,0x00]
0x05,0x00,0x48,0xd1,0xc1,0x00,0x00,0x00

# CHECK: v_cvt_i32_f32_e64 v5, 0.5               ; encoding: [0x05,0x00,0x48,0xd1,0xf0,0x00,0x00,0x00]
0x05,0x00,0x48,0xd1,0xf0,0x00,0x00,0x00

# CHECK: v_cvt_i32_f32_e64 v5, -4.0              ; encoding: [0x05,0x00,0x48,0xd1,0xf7,0x00,0x00,0x00]
0x05,0x00,0x48,0xd1,0xf7,0x00,0x00,0x00

# CHECK: v_cvt_i32_f32_e64 v5, -v1               ; encoding: [0x05,0x00,0x48,0xd1,0x01,0x01,0x00,0x20]
0x05,0x00,0x48,0xd1,0x01,0x01,0x00,0x20

# CHECK: v_cvt_i32_f32_e64 v5, |v1|              ; encoding: [0x05,0x01,0x48,0xd1,0x01,0x01,0x00,0x00]
0x05,0x01,0x48,0xd1,0x01,0x01,0x00,0x00

# CHECK: v_cvt_f16_f32_e64 v5, v1                ; encoding: [0x05,0x00,0x4a,0xd1,0x01,0x01,0x00,0x00]
0x05,0x00,0x4a,0xd1,0x01,0x01,0x00,0x00

# CHECK: v_cvt_f16_f32_e64 v255, v1              ; encoding: [0xff,0x00,0x4a,0xd1,0x01,0x01,0x00,0x00]
0xff,0x00,0x4a,0xd1,0x01,0x01,0x00,0x00

# CHECK: v_cvt_f16_f32_e64 v5, v255              ; encoding: [0x05,0x00,0x4a,0xd1,0xff,0x01,0x00,0x00]
0x05,0x00,0x4a,0xd1,0xff,0x01,0x00,0x00

# CHECK: v_cvt_f16_f32_e64 v5, s1                ; encoding: [0x05,0x00,0x4a,0xd1,0x01,0x00,0x00,0x00]
0x05,0x00,0x4a,0xd1,0x01,0x00,0x00,0x00

# CHECK: v_cvt_f16_f32_e64 v5, s101              ; encoding: [0x05,0x00,0x4a,0xd1,0x65,0x00,0x00,0x00]
0x05,0x00,0x4a,0xd1,0x65,0x00,0x00,0x00

# CHECK: v_cvt_f16_f32_e64 v5, flat_scratch_lo   ; encoding: [0x05,0x00,0x4a,0xd1,0x66,0x00,0x00,0x00]
0x05,0x00,0x4a,0xd1,0x66,0x00,0x00,0x00

# CHECK: v_cvt_f16_f32_e64 v5, flat_scratch_hi   ; encoding: [0x05,0x00,0x4a,0xd1,0x67,0x00,0x00,0x00]
0x05,0x00,0x4a,0xd1,0x67,0x00,0x00,0x00

# CHECK: v_cvt_f16_f32_e64 v5, vcc_lo            ; encoding: [0x05,0x00,0x4a,0xd1,0x6a,0x00,0x00,0x00]
0x05,0x00,0x4a,0xd1,0x6a,0x00,0x00,0x00

# CHECK: v_cvt_f16_f32_e64 v5, vcc_hi            ; encoding: [0x05,0x00,0x4a,0xd1,0x6b,0x00,0x00,0x00]
0x05,0x00,0x4a,0xd1,0x6b,0x00,0x00,0x00

# CHECK: v_cvt_f16_f32_e64 v5, tba_lo            ; encoding: [0x05,0x00,0x4a,0xd1,0x6c,0x00,0x00,0x00]
0x05,0x00,0x4a,0xd1,0x6c,0x00,0x00,0x00

# CHECK: v_cvt_f16_f32_e64 v5, tba_hi            ; encoding: [0x05,0x00,0x4a,0xd1,0x6d,0x00,0x00,0x00]
0x05,0x00,0x4a,0xd1,0x6d,0x00,0x00,0x00

# CHECK: v_cvt_f16_f32_e64 v5, tma_lo            ; encoding: [0x05,0x00,0x4a,0xd1,0x6e,0x00,0x00,0x00]
0x05,0x00,0x4a,0xd1,0x6e,0x00,0x00,0x00

# CHECK: v_cvt_f16_f32_e64 v5, tma_hi            ; encoding: [0x05,0x00,0x4a,0xd1,0x6f,0x00,0x00,0x00]
0x05,0x00,0x4a,0xd1,0x6f,0x00,0x00,0x00

# CHECK: v_cvt_f16_f32_e64 v5, ttmp11            ; encoding: [0x05,0x00,0x4a,0xd1,0x7b,0x00,0x00,0x00]
0x05,0x00,0x4a,0xd1,0x7b,0x00,0x00,0x00

# CHECK: v_cvt_f16_f32_e64 v5, m0                ; encoding: [0x05,0x00,0x4a,0xd1,0x7c,0x00,0x00,0x00]
0x05,0x00,0x4a,0xd1,0x7c,0x00,0x00,0x00

# CHECK: v_cvt_f16_f32_e64 v5, exec_lo           ; encoding: [0x05,0x00,0x4a,0xd1,0x7e,0x00,0x00,0x00]
0x05,0x00,0x4a,0xd1,0x7e,0x00,0x00,0x00

# CHECK: v_cvt_f16_f32_e64 v5, exec_hi           ; encoding: [0x05,0x00,0x4a,0xd1,0x7f,0x00,0x00,0x00]
0x05,0x00,0x4a,0xd1,0x7f,0x00,0x00,0x00

# CHECK: v_cvt_f16_f32_e64 v5, 0                 ; encoding: [0x05,0x00,0x4a,0xd1,0x80,0x00,0x00,0x00]
0x05,0x00,0x4a,0xd1,0x80,0x00,0x00,0x00

# CHECK: v_cvt_f16_f32_e64 v5, -1                ; encoding: [0x05,0x00,0x4a,0xd1,0xc1,0x00,0x00,0x00]
0x05,0x00,0x4a,0xd1,0xc1,0x00,0x00,0x00

# CHECK: v_cvt_f16_f32_e64 v5, 0.5               ; encoding: [0x05,0x00,0x4a,0xd1,0xf0,0x00,0x00,0x00]
0x05,0x00,0x4a,0xd1,0xf0,0x00,0x00,0x00

# CHECK: v_cvt_f16_f32_e64 v5, -4.0              ; encoding: [0x05,0x00,0x4a,0xd1,0xf7,0x00,0x00,0x00]
0x05,0x00,0x4a,0xd1,0xf7,0x00,0x00,0x00

# CHECK: v_cvt_f16_f32_e64 v5, -v1               ; encoding: [0x05,0x00,0x4a,0xd1,0x01,0x01,0x00,0x20]
0x05,0x00,0x4a,0xd1,0x01,0x01,0x00,0x20

# CHECK: v_cvt_f16_f32_e64 v5, |v1|              ; encoding: [0x05,0x01,0x4a,0xd1,0x01,0x01,0x00,0x00]
0x05,0x01,0x4a,0xd1,0x01,0x01,0x00,0x00

# CHECK: v_cvt_f16_f32_e64 v5, v1 clamp          ; encoding: [0x05,0x80,0x4a,0xd1,0x01,0x01,0x00,0x00]
0x05,0x80,0x4a,0xd1,0x01,0x01,0x00,0x00

# CHECK: v_cvt_f16_f32_e64 v5, v1 mul:2          ; encoding: [0x05,0x00,0x4a,0xd1,0x01,0x01,0x00,0x08]
0x05,0x00,0x4a,0xd1,0x01,0x01,0x00,0x08

# CHECK: v_cvt_f16_f32_e64 v5, v1 mul:4          ; encoding: [0x05,0x00,0x4a,0xd1,0x01,0x01,0x00,0x10]
0x05,0x00,0x4a,0xd1,0x01,0x01,0x00,0x10

# CHECK: v_cvt_f16_f32_e64 v5, v1 div:2          ; encoding: [0x05,0x00,0x4a,0xd1,0x01,0x01,0x00,0x18]
0x05,0x00,0x4a,0xd1,0x01,0x01,0x00,0x18

# CHECK: v_cvt_f32_f16_e64 v5, v1                ; encoding: [0x05,0x00,0x4b,0xd1,0x01,0x01,0x00,0x00]
0x05,0x00,0x4b,0xd1,0x01,0x01,0x00,0x00

# CHECK: v_cvt_f32_f16_e64 v255, v1              ; encoding: [0xff,0x00,0x4b,0xd1,0x01,0x01,0x00,0x00]
0xff,0x00,0x4b,0xd1,0x01,0x01,0x00,0x00

# CHECK: v_cvt_f32_f16_e64 v5, v255              ; encoding: [0x05,0x00,0x4b,0xd1,0xff,0x01,0x00,0x00]
0x05,0x00,0x4b,0xd1,0xff,0x01,0x00,0x00

# CHECK: v_cvt_f32_f16_e64 v5, s1                ; encoding: [0x05,0x00,0x4b,0xd1,0x01,0x00,0x00,0x00]
0x05,0x00,0x4b,0xd1,0x01,0x00,0x00,0x00

# CHECK: v_cvt_f32_f16_e64 v5, s101              ; encoding: [0x05,0x00,0x4b,0xd1,0x65,0x00,0x00,0x00]
0x05,0x00,0x4b,0xd1,0x65,0x00,0x00,0x00

# CHECK: v_cvt_f32_f16_e64 v5, flat_scratch_lo   ; encoding: [0x05,0x00,0x4b,0xd1,0x66,0x00,0x00,0x00]
0x05,0x00,0x4b,0xd1,0x66,0x00,0x00,0x00

# CHECK: v_cvt_f32_f16_e64 v5, flat_scratch_hi   ; encoding: [0x05,0x00,0x4b,0xd1,0x67,0x00,0x00,0x00]
0x05,0x00,0x4b,0xd1,0x67,0x00,0x00,0x00

# CHECK: v_cvt_f32_f16_e64 v5, vcc_lo            ; encoding: [0x05,0x00,0x4b,0xd1,0x6a,0x00,0x00,0x00]
0x05,0x00,0x4b,0xd1,0x6a,0x00,0x00,0x00

# CHECK: v_cvt_f32_f16_e64 v5, vcc_hi            ; encoding: [0x05,0x00,0x4b,0xd1,0x6b,0x00,0x00,0x00]
0x05,0x00,0x4b,0xd1,0x6b,0x00,0x00,0x00

# CHECK: v_cvt_f32_f16_e64 v5, tba_lo            ; encoding: [0x05,0x00,0x4b,0xd1,0x6c,0x00,0x00,0x00]
0x05,0x00,0x4b,0xd1,0x6c,0x00,0x00,0x00

# CHECK: v_cvt_f32_f16_e64 v5, tba_hi            ; encoding: [0x05,0x00,0x4b,0xd1,0x6d,0x00,0x00,0x00]
0x05,0x00,0x4b,0xd1,0x6d,0x00,0x00,0x00

# CHECK: v_cvt_f32_f16_e64 v5, tma_lo            ; encoding: [0x05,0x00,0x4b,0xd1,0x6e,0x00,0x00,0x00]
0x05,0x00,0x4b,0xd1,0x6e,0x00,0x00,0x00

# CHECK: v_cvt_f32_f16_e64 v5, tma_hi            ; encoding: [0x05,0x00,0x4b,0xd1,0x6f,0x00,0x00,0x00]
0x05,0x00,0x4b,0xd1,0x6f,0x00,0x00,0x00

# CHECK: v_cvt_f32_f16_e64 v5, ttmp11            ; encoding: [0x05,0x00,0x4b,0xd1,0x7b,0x00,0x00,0x00]
0x05,0x00,0x4b,0xd1,0x7b,0x00,0x00,0x00

# CHECK: v_cvt_f32_f16_e64 v5, m0                ; encoding: [0x05,0x00,0x4b,0xd1,0x7c,0x00,0x00,0x00]
0x05,0x00,0x4b,0xd1,0x7c,0x00,0x00,0x00

# CHECK: v_cvt_f32_f16_e64 v5, exec_lo           ; encoding: [0x05,0x00,0x4b,0xd1,0x7e,0x00,0x00,0x00]
0x05,0x00,0x4b,0xd1,0x7e,0x00,0x00,0x00

# CHECK: v_cvt_f32_f16_e64 v5, exec_hi           ; encoding: [0x05,0x00,0x4b,0xd1,0x7f,0x00,0x00,0x00]
0x05,0x00,0x4b,0xd1,0x7f,0x00,0x00,0x00

# CHECK: v_cvt_f32_f16_e64 v5, 0                 ; encoding: [0x05,0x00,0x4b,0xd1,0x80,0x00,0x00,0x00]
0x05,0x00,0x4b,0xd1,0x80,0x00,0x00,0x00

# CHECK: v_cvt_f32_f16_e64 v5, -1                ; encoding: [0x05,0x00,0x4b,0xd1,0xc1,0x00,0x00,0x00]
0x05,0x00,0x4b,0xd1,0xc1,0x00,0x00,0x00

# CHECK: v_cvt_f32_f16_e64 v5, 0.5               ; encoding: [0x05,0x00,0x4b,0xd1,0xf0,0x00,0x00,0x00]
0x05,0x00,0x4b,0xd1,0xf0,0x00,0x00,0x00

# CHECK: v_cvt_f32_f16_e64 v5, -4.0              ; encoding: [0x05,0x00,0x4b,0xd1,0xf7,0x00,0x00,0x00]
0x05,0x00,0x4b,0xd1,0xf7,0x00,0x00,0x00

# CHECK: v_cvt_f32_f16_e64 v5, -v1               ; encoding: [0x05,0x00,0x4b,0xd1,0x01,0x01,0x00,0x20]
0x05,0x00,0x4b,0xd1,0x01,0x01,0x00,0x20

# CHECK: v_cvt_f32_f16_e64 v5, |v1|              ; encoding: [0x05,0x01,0x4b,0xd1,0x01,0x01,0x00,0x00]
0x05,0x01,0x4b,0xd1,0x01,0x01,0x00,0x00

# CHECK: v_cvt_f32_f16_e64 v5, v1 clamp          ; encoding: [0x05,0x80,0x4b,0xd1,0x01,0x01,0x00,0x00]
0x05,0x80,0x4b,0xd1,0x01,0x01,0x00,0x00

# CHECK: v_cvt_f32_f16_e64 v5, v1 mul:2          ; encoding: [0x05,0x00,0x4b,0xd1,0x01,0x01,0x00,0x08]
0x05,0x00,0x4b,0xd1,0x01,0x01,0x00,0x08

# CHECK: v_cvt_f32_f16_e64 v5, v1 mul:4          ; encoding: [0x05,0x00,0x4b,0xd1,0x01,0x01,0x00,0x10]
0x05,0x00,0x4b,0xd1,0x01,0x01,0x00,0x10

# CHECK: v_cvt_f32_f16_e64 v5, v1 div:2          ; encoding: [0x05,0x00,0x4b,0xd1,0x01,0x01,0x00,0x18]
0x05,0x00,0x4b,0xd1,0x01,0x01,0x00,0x18

# CHECK: v_cvt_rpi_i32_f32_e64 v5, v1            ; encoding: [0x05,0x00,0x4c,0xd1,0x01,0x01,0x00,0x00]
0x05,0x00,0x4c,0xd1,0x01,0x01,0x00,0x00

# CHECK: v_cvt_rpi_i32_f32_e64 v255, v1          ; encoding: [0xff,0x00,0x4c,0xd1,0x01,0x01,0x00,0x00]
0xff,0x00,0x4c,0xd1,0x01,0x01,0x00,0x00

# CHECK: v_cvt_rpi_i32_f32_e64 v5, v255          ; encoding: [0x05,0x00,0x4c,0xd1,0xff,0x01,0x00,0x00]
0x05,0x00,0x4c,0xd1,0xff,0x01,0x00,0x00

# CHECK: v_cvt_rpi_i32_f32_e64 v5, s1            ; encoding: [0x05,0x00,0x4c,0xd1,0x01,0x00,0x00,0x00]
0x05,0x00,0x4c,0xd1,0x01,0x00,0x00,0x00

# CHECK: v_cvt_rpi_i32_f32_e64 v5, s101          ; encoding: [0x05,0x00,0x4c,0xd1,0x65,0x00,0x00,0x00]
0x05,0x00,0x4c,0xd1,0x65,0x00,0x00,0x00

# CHECK: v_cvt_rpi_i32_f32_e64 v5, flat_scratch_lo ; encoding: [0x05,0x00,0x4c,0xd1,0x66,0x00,0x00,0x00]
0x05,0x00,0x4c,0xd1,0x66,0x00,0x00,0x00

# CHECK: v_cvt_rpi_i32_f32_e64 v5, flat_scratch_hi ; encoding: [0x05,0x00,0x4c,0xd1,0x67,0x00,0x00,0x00]
0x05,0x00,0x4c,0xd1,0x67,0x00,0x00,0x00

# CHECK: v_cvt_rpi_i32_f32_e64 v5, vcc_lo        ; encoding: [0x05,0x00,0x4c,0xd1,0x6a,0x00,0x00,0x00]
0x05,0x00,0x4c,0xd1,0x6a,0x00,0x00,0x00

# CHECK: v_cvt_rpi_i32_f32_e64 v5, vcc_hi        ; encoding: [0x05,0x00,0x4c,0xd1,0x6b,0x00,0x00,0x00]
0x05,0x00,0x4c,0xd1,0x6b,0x00,0x00,0x00

# CHECK: v_cvt_rpi_i32_f32_e64 v5, tba_lo        ; encoding: [0x05,0x00,0x4c,0xd1,0x6c,0x00,0x00,0x00]
0x05,0x00,0x4c,0xd1,0x6c,0x00,0x00,0x00

# CHECK: v_cvt_rpi_i32_f32_e64 v5, tba_hi        ; encoding: [0x05,0x00,0x4c,0xd1,0x6d,0x00,0x00,0x00]
0x05,0x00,0x4c,0xd1,0x6d,0x00,0x00,0x00

# CHECK: v_cvt_rpi_i32_f32_e64 v5, tma_lo        ; encoding: [0x05,0x00,0x4c,0xd1,0x6e,0x00,0x00,0x00]
0x05,0x00,0x4c,0xd1,0x6e,0x00,0x00,0x00

# CHECK: v_cvt_rpi_i32_f32_e64 v5, tma_hi        ; encoding: [0x05,0x00,0x4c,0xd1,0x6f,0x00,0x00,0x00]
0x05,0x00,0x4c,0xd1,0x6f,0x00,0x00,0x00

# CHECK: v_cvt_rpi_i32_f32_e64 v5, ttmp11        ; encoding: [0x05,0x00,0x4c,0xd1,0x7b,0x00,0x00,0x00]
0x05,0x00,0x4c,0xd1,0x7b,0x00,0x00,0x00

# CHECK: v_cvt_rpi_i32_f32_e64 v5, m0            ; encoding: [0x05,0x00,0x4c,0xd1,0x7c,0x00,0x00,0x00]
0x05,0x00,0x4c,0xd1,0x7c,0x00,0x00,0x00

# CHECK: v_cvt_rpi_i32_f32_e64 v5, exec_lo       ; encoding: [0x05,0x00,0x4c,0xd1,0x7e,0x00,0x00,0x00]
0x05,0x00,0x4c,0xd1,0x7e,0x00,0x00,0x00

# CHECK: v_cvt_rpi_i32_f32_e64 v5, exec_hi       ; encoding: [0x05,0x00,0x4c,0xd1,0x7f,0x00,0x00,0x00]
0x05,0x00,0x4c,0xd1,0x7f,0x00,0x00,0x00

# CHECK: v_cvt_rpi_i32_f32_e64 v5, 0             ; encoding: [0x05,0x00,0x4c,0xd1,0x80,0x00,0x00,0x00]
0x05,0x00,0x4c,0xd1,0x80,0x00,0x00,0x00

# CHECK: v_cvt_rpi_i32_f32_e64 v5, -1            ; encoding: [0x05,0x00,0x4c,0xd1,0xc1,0x00,0x00,0x00]
0x05,0x00,0x4c,0xd1,0xc1,0x00,0x00,0x00

# CHECK: v_cvt_rpi_i32_f32_e64 v5, 0.5           ; encoding: [0x05,0x00,0x4c,0xd1,0xf0,0x00,0x00,0x00]
0x05,0x00,0x4c,0xd1,0xf0,0x00,0x00,0x00

# CHECK: v_cvt_rpi_i32_f32_e64 v5, -4.0          ; encoding: [0x05,0x00,0x4c,0xd1,0xf7,0x00,0x00,0x00]
0x05,0x00,0x4c,0xd1,0xf7,0x00,0x00,0x00

# CHECK: v_cvt_rpi_i32_f32_e64 v5, -v1           ; encoding: [0x05,0x00,0x4c,0xd1,0x01,0x01,0x00,0x20]
0x05,0x00,0x4c,0xd1,0x01,0x01,0x00,0x20

# CHECK: v_cvt_rpi_i32_f32_e64 v5, |v1|          ; encoding: [0x05,0x01,0x4c,0xd1,0x01,0x01,0x00,0x00]
0x05,0x01,0x4c,0xd1,0x01,0x01,0x00,0x00

# CHECK: v_cvt_flr_i32_f32_e64 v5, v1            ; encoding: [0x05,0x00,0x4d,0xd1,0x01,0x01,0x00,0x00]
0x05,0x00,0x4d,0xd1,0x01,0x01,0x00,0x00

# CHECK: v_cvt_flr_i32_f32_e64 v255, v1          ; encoding: [0xff,0x00,0x4d,0xd1,0x01,0x01,0x00,0x00]
0xff,0x00,0x4d,0xd1,0x01,0x01,0x00,0x00

# CHECK: v_cvt_flr_i32_f32_e64 v5, v255          ; encoding: [0x05,0x00,0x4d,0xd1,0xff,0x01,0x00,0x00]
0x05,0x00,0x4d,0xd1,0xff,0x01,0x00,0x00

# CHECK: v_cvt_flr_i32_f32_e64 v5, s1            ; encoding: [0x05,0x00,0x4d,0xd1,0x01,0x00,0x00,0x00]
0x05,0x00,0x4d,0xd1,0x01,0x00,0x00,0x00

# CHECK: v_cvt_flr_i32_f32_e64 v5, s101          ; encoding: [0x05,0x00,0x4d,0xd1,0x65,0x00,0x00,0x00]
0x05,0x00,0x4d,0xd1,0x65,0x00,0x00,0x00

# CHECK: v_cvt_flr_i32_f32_e64 v5, flat_scratch_lo ; encoding: [0x05,0x00,0x4d,0xd1,0x66,0x00,0x00,0x00]
0x05,0x00,0x4d,0xd1,0x66,0x00,0x00,0x00

# CHECK: v_cvt_flr_i32_f32_e64 v5, flat_scratch_hi ; encoding: [0x05,0x00,0x4d,0xd1,0x67,0x00,0x00,0x00]
0x05,0x00,0x4d,0xd1,0x67,0x00,0x00,0x00

# CHECK: v_cvt_flr_i32_f32_e64 v5, vcc_lo        ; encoding: [0x05,0x00,0x4d,0xd1,0x6a,0x00,0x00,0x00]
0x05,0x00,0x4d,0xd1,0x6a,0x00,0x00,0x00

# CHECK: v_cvt_flr_i32_f32_e64 v5, vcc_hi        ; encoding: [0x05,0x00,0x4d,0xd1,0x6b,0x00,0x00,0x00]
0x05,0x00,0x4d,0xd1,0x6b,0x00,0x00,0x00

# CHECK: v_cvt_flr_i32_f32_e64 v5, tba_lo        ; encoding: [0x05,0x00,0x4d,0xd1,0x6c,0x00,0x00,0x00]
0x05,0x00,0x4d,0xd1,0x6c,0x00,0x00,0x00

# CHECK: v_cvt_flr_i32_f32_e64 v5, tba_hi        ; encoding: [0x05,0x00,0x4d,0xd1,0x6d,0x00,0x00,0x00]
0x05,0x00,0x4d,0xd1,0x6d,0x00,0x00,0x00

# CHECK: v_cvt_flr_i32_f32_e64 v5, tma_lo        ; encoding: [0x05,0x00,0x4d,0xd1,0x6e,0x00,0x00,0x00]
0x05,0x00,0x4d,0xd1,0x6e,0x00,0x00,0x00

# CHECK: v_cvt_flr_i32_f32_e64 v5, tma_hi        ; encoding: [0x05,0x00,0x4d,0xd1,0x6f,0x00,0x00,0x00]
0x05,0x00,0x4d,0xd1,0x6f,0x00,0x00,0x00

# CHECK: v_cvt_flr_i32_f32_e64 v5, ttmp11        ; encoding: [0x05,0x00,0x4d,0xd1,0x7b,0x00,0x00,0x00]
0x05,0x00,0x4d,0xd1,0x7b,0x00,0x00,0x00

# CHECK: v_cvt_flr_i32_f32_e64 v5, m0            ; encoding: [0x05,0x00,0x4d,0xd1,0x7c,0x00,0x00,0x00]
0x05,0x00,0x4d,0xd1,0x7c,0x00,0x00,0x00

# CHECK: v_cvt_flr_i32_f32_e64 v5, exec_lo       ; encoding: [0x05,0x00,0x4d,0xd1,0x7e,0x00,0x00,0x00]
0x05,0x00,0x4d,0xd1,0x7e,0x00,0x00,0x00

# CHECK: v_cvt_flr_i32_f32_e64 v5, exec_hi       ; encoding: [0x05,0x00,0x4d,0xd1,0x7f,0x00,0x00,0x00]
0x05,0x00,0x4d,0xd1,0x7f,0x00,0x00,0x00

# CHECK: v_cvt_flr_i32_f32_e64 v5, 0             ; encoding: [0x05,0x00,0x4d,0xd1,0x80,0x00,0x00,0x00]
0x05,0x00,0x4d,0xd1,0x80,0x00,0x00,0x00

# CHECK: v_cvt_flr_i32_f32_e64 v5, -1            ; encoding: [0x05,0x00,0x4d,0xd1,0xc1,0x00,0x00,0x00]
0x05,0x00,0x4d,0xd1,0xc1,0x00,0x00,0x00

# CHECK: v_cvt_flr_i32_f32_e64 v5, 0.5           ; encoding: [0x05,0x00,0x4d,0xd1,0xf0,0x00,0x00,0x00]
0x05,0x00,0x4d,0xd1,0xf0,0x00,0x00,0x00

# CHECK: v_cvt_flr_i32_f32_e64 v5, -4.0          ; encoding: [0x05,0x00,0x4d,0xd1,0xf7,0x00,0x00,0x00]
0x05,0x00,0x4d,0xd1,0xf7,0x00,0x00,0x00

# CHECK: v_cvt_flr_i32_f32_e64 v5, -v1           ; encoding: [0x05,0x00,0x4d,0xd1,0x01,0x01,0x00,0x20]
0x05,0x00,0x4d,0xd1,0x01,0x01,0x00,0x20

# CHECK: v_cvt_flr_i32_f32_e64 v5, |v1|          ; encoding: [0x05,0x01,0x4d,0xd1,0x01,0x01,0x00,0x00]
0x05,0x01,0x4d,0xd1,0x01,0x01,0x00,0x00

# CHECK: v_cvt_off_f32_i4_e64 v5, v1             ; encoding: [0x05,0x00,0x4e,0xd1,0x01,0x01,0x00,0x00]
0x05,0x00,0x4e,0xd1,0x01,0x01,0x00,0x00

# CHECK: v_cvt_off_f32_i4_e64 v255, v1           ; encoding: [0xff,0x00,0x4e,0xd1,0x01,0x01,0x00,0x00]
0xff,0x00,0x4e,0xd1,0x01,0x01,0x00,0x00

# CHECK: v_cvt_off_f32_i4_e64 v5, v255           ; encoding: [0x05,0x00,0x4e,0xd1,0xff,0x01,0x00,0x00]
0x05,0x00,0x4e,0xd1,0xff,0x01,0x00,0x00

# CHECK: v_cvt_off_f32_i4_e64 v5, s1             ; encoding: [0x05,0x00,0x4e,0xd1,0x01,0x00,0x00,0x00]
0x05,0x00,0x4e,0xd1,0x01,0x00,0x00,0x00

# CHECK: v_cvt_off_f32_i4_e64 v5, s101           ; encoding: [0x05,0x00,0x4e,0xd1,0x65,0x00,0x00,0x00]
0x05,0x00,0x4e,0xd1,0x65,0x00,0x00,0x00

# CHECK: v_cvt_off_f32_i4_e64 v5, flat_scratch_lo ; encoding: [0x05,0x00,0x4e,0xd1,0x66,0x00,0x00,0x00]
0x05,0x00,0x4e,0xd1,0x66,0x00,0x00,0x00

# CHECK: v_cvt_off_f32_i4_e64 v5, flat_scratch_hi ; encoding: [0x05,0x00,0x4e,0xd1,0x67,0x00,0x00,0x00]
0x05,0x00,0x4e,0xd1,0x67,0x00,0x00,0x00

# CHECK: v_cvt_off_f32_i4_e64 v5, vcc_lo         ; encoding: [0x05,0x00,0x4e,0xd1,0x6a,0x00,0x00,0x00]
0x05,0x00,0x4e,0xd1,0x6a,0x00,0x00,0x00

# CHECK: v_cvt_off_f32_i4_e64 v5, vcc_hi         ; encoding: [0x05,0x00,0x4e,0xd1,0x6b,0x00,0x00,0x00]
0x05,0x00,0x4e,0xd1,0x6b,0x00,0x00,0x00

# CHECK: v_cvt_off_f32_i4_e64 v5, tba_lo         ; encoding: [0x05,0x00,0x4e,0xd1,0x6c,0x00,0x00,0x00]
0x05,0x00,0x4e,0xd1,0x6c,0x00,0x00,0x00

# CHECK: v_cvt_off_f32_i4_e64 v5, tba_hi         ; encoding: [0x05,0x00,0x4e,0xd1,0x6d,0x00,0x00,0x00]
0x05,0x00,0x4e,0xd1,0x6d,0x00,0x00,0x00

# CHECK: v_cvt_off_f32_i4_e64 v5, tma_lo         ; encoding: [0x05,0x00,0x4e,0xd1,0x6e,0x00,0x00,0x00]
0x05,0x00,0x4e,0xd1,0x6e,0x00,0x00,0x00

# CHECK: v_cvt_off_f32_i4_e64 v5, tma_hi         ; encoding: [0x05,0x00,0x4e,0xd1,0x6f,0x00,0x00,0x00]
0x05,0x00,0x4e,0xd1,0x6f,0x00,0x00,0x00

# CHECK: v_cvt_off_f32_i4_e64 v5, ttmp11         ; encoding: [0x05,0x00,0x4e,0xd1,0x7b,0x00,0x00,0x00]
0x05,0x00,0x4e,0xd1,0x7b,0x00,0x00,0x00

# CHECK: v_cvt_off_f32_i4_e64 v5, m0             ; encoding: [0x05,0x00,0x4e,0xd1,0x7c,0x00,0x00,0x00]
0x05,0x00,0x4e,0xd1,0x7c,0x00,0x00,0x00

# CHECK: v_cvt_off_f32_i4_e64 v5, exec_lo        ; encoding: [0x05,0x00,0x4e,0xd1,0x7e,0x00,0x00,0x00]
0x05,0x00,0x4e,0xd1,0x7e,0x00,0x00,0x00

# CHECK: v_cvt_off_f32_i4_e64 v5, exec_hi        ; encoding: [0x05,0x00,0x4e,0xd1,0x7f,0x00,0x00,0x00]
0x05,0x00,0x4e,0xd1,0x7f,0x00,0x00,0x00

# CHECK: v_cvt_off_f32_i4_e64 v5, 0              ; encoding: [0x05,0x00,0x4e,0xd1,0x80,0x00,0x00,0x00]
0x05,0x00,0x4e,0xd1,0x80,0x00,0x00,0x00

# CHECK: v_cvt_off_f32_i4_e64 v5, -1             ; encoding: [0x05,0x00,0x4e,0xd1,0xc1,0x00,0x00,0x00]
0x05,0x00,0x4e,0xd1,0xc1,0x00,0x00,0x00

# CHECK: v_cvt_off_f32_i4_e64 v5, 0.5            ; encoding: [0x05,0x00,0x4e,0xd1,0xf0,0x00,0x00,0x00]
0x05,0x00,0x4e,0xd1,0xf0,0x00,0x00,0x00

# CHECK: v_cvt_off_f32_i4_e64 v5, -4.0           ; encoding: [0x05,0x00,0x4e,0xd1,0xf7,0x00,0x00,0x00]
0x05,0x00,0x4e,0xd1,0xf7,0x00,0x00,0x00

# CHECK: v_cvt_off_f32_i4_e64 v5, v1 clamp       ; encoding: [0x05,0x80,0x4e,0xd1,0x01,0x01,0x00,0x00]
0x05,0x80,0x4e,0xd1,0x01,0x01,0x00,0x00

# CHECK: v_cvt_off_f32_i4_e64 v5, v1 mul:2       ; encoding: [0x05,0x00,0x4e,0xd1,0x01,0x01,0x00,0x08]
0x05,0x00,0x4e,0xd1,0x01,0x01,0x00,0x08

# CHECK: v_cvt_off_f32_i4_e64 v5, v1 mul:4       ; encoding: [0x05,0x00,0x4e,0xd1,0x01,0x01,0x00,0x10]
0x05,0x00,0x4e,0xd1,0x01,0x01,0x00,0x10

# CHECK: v_cvt_off_f32_i4_e64 v5, v1 div:2       ; encoding: [0x05,0x00,0x4e,0xd1,0x01,0x01,0x00,0x18]
0x05,0x00,0x4e,0xd1,0x01,0x01,0x00,0x18

# CHECK: v_cvt_f32_f64_e64 v5, v[1:2]            ; encoding: [0x05,0x00,0x4f,0xd1,0x01,0x01,0x00,0x00]
0x05,0x00,0x4f,0xd1,0x01,0x01,0x00,0x00

# CHECK: v_cvt_f32_f64_e64 v255, v[1:2]          ; encoding: [0xff,0x00,0x4f,0xd1,0x01,0x01,0x00,0x00]
0xff,0x00,0x4f,0xd1,0x01,0x01,0x00,0x00

# CHECK: v_cvt_f32_f64_e64 v5, v[254:255]        ; encoding: [0x05,0x00,0x4f,0xd1,0xfe,0x01,0x00,0x00]
0x05,0x00,0x4f,0xd1,0xfe,0x01,0x00,0x00

# CHECK: v_cvt_f32_f64_e64 v5, s[2:3]            ; encoding: [0x05,0x00,0x4f,0xd1,0x02,0x00,0x00,0x00]
0x05,0x00,0x4f,0xd1,0x02,0x00,0x00,0x00

# CHECK: v_cvt_f32_f64_e64 v5, s[4:5]            ; encoding: [0x05,0x00,0x4f,0xd1,0x04,0x00,0x00,0x00]
0x05,0x00,0x4f,0xd1,0x04,0x00,0x00,0x00

# CHECK: v_cvt_f32_f64_e64 v5, s[100:101]        ; encoding: [0x05,0x00,0x4f,0xd1,0x64,0x00,0x00,0x00]
0x05,0x00,0x4f,0xd1,0x64,0x00,0x00,0x00

# CHECK: v_cvt_f32_f64_e64 v5, flat_scratch      ; encoding: [0x05,0x00,0x4f,0xd1,0x66,0x00,0x00,0x00]
0x05,0x00,0x4f,0xd1,0x66,0x00,0x00,0x00

# CHECK: v_cvt_f32_f64_e64 v5, vcc               ; encoding: [0x05,0x00,0x4f,0xd1,0x6a,0x00,0x00,0x00]
0x05,0x00,0x4f,0xd1,0x6a,0x00,0x00,0x00

# CHECK: v_cvt_f32_f64_e64 v5, tba               ; encoding: [0x05,0x00,0x4f,0xd1,0x6c,0x00,0x00,0x00]
0x05,0x00,0x4f,0xd1,0x6c,0x00,0x00,0x00

# CHECK: v_cvt_f32_f64_e64 v5, tma               ; encoding: [0x05,0x00,0x4f,0xd1,0x6e,0x00,0x00,0x00]
0x05,0x00,0x4f,0xd1,0x6e,0x00,0x00,0x00

# CHECK: v_cvt_f32_f64_e64 v5, ttmp[10:11]       ; encoding: [0x05,0x00,0x4f,0xd1,0x7a,0x00,0x00,0x00]
0x05,0x00,0x4f,0xd1,0x7a,0x00,0x00,0x00

# CHECK: v_cvt_f32_f64_e64 v5, exec              ; encoding: [0x05,0x00,0x4f,0xd1,0x7e,0x00,0x00,0x00]
0x05,0x00,0x4f,0xd1,0x7e,0x00,0x00,0x00

# CHECK: v_cvt_f32_f64_e64 v5, 0                 ; encoding: [0x05,0x00,0x4f,0xd1,0x80,0x00,0x00,0x00]
0x05,0x00,0x4f,0xd1,0x80,0x00,0x00,0x00

# CHECK: v_cvt_f32_f64_e64 v5, -1                ; encoding: [0x05,0x00,0x4f,0xd1,0xc1,0x00,0x00,0x00]
0x05,0x00,0x4f,0xd1,0xc1,0x00,0x00,0x00

# CHECK: v_cvt_f32_f64_e64 v5, 0.5               ; encoding: [0x05,0x00,0x4f,0xd1,0xf0,0x00,0x00,0x00]
0x05,0x00,0x4f,0xd1,0xf0,0x00,0x00,0x00

# CHECK: v_cvt_f32_f64_e64 v5, -4.0              ; encoding: [0x05,0x00,0x4f,0xd1,0xf7,0x00,0x00,0x00]
0x05,0x00,0x4f,0xd1,0xf7,0x00,0x00,0x00

# CHECK: v_cvt_f32_f64_e64 v5, -v[1:2]           ; encoding: [0x05,0x00,0x4f,0xd1,0x01,0x01,0x00,0x20]
0x05,0x00,0x4f,0xd1,0x01,0x01,0x00,0x20

# CHECK: v_cvt_f32_f64_e64 v5, |v[1:2]|          ; encoding: [0x05,0x01,0x4f,0xd1,0x01,0x01,0x00,0x00]
0x05,0x01,0x4f,0xd1,0x01,0x01,0x00,0x00

# CHECK: v_cvt_f32_f64_e64 v5, v[1:2] clamp      ; encoding: [0x05,0x80,0x4f,0xd1,0x01,0x01,0x00,0x00]
0x05,0x80,0x4f,0xd1,0x01,0x01,0x00,0x00

# CHECK: v_cvt_f32_f64_e64 v5, v[1:2] mul:2      ; encoding: [0x05,0x00,0x4f,0xd1,0x01,0x01,0x00,0x08]
0x05,0x00,0x4f,0xd1,0x01,0x01,0x00,0x08

# CHECK: v_cvt_f32_f64_e64 v5, v[1:2] mul:4      ; encoding: [0x05,0x00,0x4f,0xd1,0x01,0x01,0x00,0x10]
0x05,0x00,0x4f,0xd1,0x01,0x01,0x00,0x10

# CHECK: v_cvt_f32_f64_e64 v5, v[1:2] div:2      ; encoding: [0x05,0x00,0x4f,0xd1,0x01,0x01,0x00,0x18]
0x05,0x00,0x4f,0xd1,0x01,0x01,0x00,0x18

# CHECK: v_cvt_f64_f32_e64 v[5:6], v1            ; encoding: [0x05,0x00,0x50,0xd1,0x01,0x01,0x00,0x00]
0x05,0x00,0x50,0xd1,0x01,0x01,0x00,0x00

# CHECK: v_cvt_f64_f32_e64 v[254:255], v1        ; encoding: [0xfe,0x00,0x50,0xd1,0x01,0x01,0x00,0x00]
0xfe,0x00,0x50,0xd1,0x01,0x01,0x00,0x00

# CHECK: v_cvt_f64_f32_e64 v[5:6], v255          ; encoding: [0x05,0x00,0x50,0xd1,0xff,0x01,0x00,0x00]
0x05,0x00,0x50,0xd1,0xff,0x01,0x00,0x00

# CHECK: v_cvt_f64_f32_e64 v[5:6], s1            ; encoding: [0x05,0x00,0x50,0xd1,0x01,0x00,0x00,0x00]
0x05,0x00,0x50,0xd1,0x01,0x00,0x00,0x00

# CHECK: v_cvt_f64_f32_e64 v[5:6], s101          ; encoding: [0x05,0x00,0x50,0xd1,0x65,0x00,0x00,0x00]
0x05,0x00,0x50,0xd1,0x65,0x00,0x00,0x00

# CHECK: v_cvt_f64_f32_e64 v[5:6], flat_scratch_lo ; encoding: [0x05,0x00,0x50,0xd1,0x66,0x00,0x00,0x00]
0x05,0x00,0x50,0xd1,0x66,0x00,0x00,0x00

# CHECK: v_cvt_f64_f32_e64 v[5:6], flat_scratch_hi ; encoding: [0x05,0x00,0x50,0xd1,0x67,0x00,0x00,0x00]
0x05,0x00,0x50,0xd1,0x67,0x00,0x00,0x00

# CHECK: v_cvt_f64_f32_e64 v[5:6], vcc_lo        ; encoding: [0x05,0x00,0x50,0xd1,0x6a,0x00,0x00,0x00]
0x05,0x00,0x50,0xd1,0x6a,0x00,0x00,0x00

# CHECK: v_cvt_f64_f32_e64 v[5:6], vcc_hi        ; encoding: [0x05,0x00,0x50,0xd1,0x6b,0x00,0x00,0x00]
0x05,0x00,0x50,0xd1,0x6b,0x00,0x00,0x00

# CHECK: v_cvt_f64_f32_e64 v[5:6], tba_lo        ; encoding: [0x05,0x00,0x50,0xd1,0x6c,0x00,0x00,0x00]
0x05,0x00,0x50,0xd1,0x6c,0x00,0x00,0x00

# CHECK: v_cvt_f64_f32_e64 v[5:6], tba_hi        ; encoding: [0x05,0x00,0x50,0xd1,0x6d,0x00,0x00,0x00]
0x05,0x00,0x50,0xd1,0x6d,0x00,0x00,0x00

# CHECK: v_cvt_f64_f32_e64 v[5:6], tma_lo        ; encoding: [0x05,0x00,0x50,0xd1,0x6e,0x00,0x00,0x00]
0x05,0x00,0x50,0xd1,0x6e,0x00,0x00,0x00

# CHECK: v_cvt_f64_f32_e64 v[5:6], tma_hi        ; encoding: [0x05,0x00,0x50,0xd1,0x6f,0x00,0x00,0x00]
0x05,0x00,0x50,0xd1,0x6f,0x00,0x00,0x00

# CHECK: v_cvt_f64_f32_e64 v[5:6], ttmp11        ; encoding: [0x05,0x00,0x50,0xd1,0x7b,0x00,0x00,0x00]
0x05,0x00,0x50,0xd1,0x7b,0x00,0x00,0x00

# CHECK: v_cvt_f64_f32_e64 v[5:6], m0            ; encoding: [0x05,0x00,0x50,0xd1,0x7c,0x00,0x00,0x00]
0x05,0x00,0x50,0xd1,0x7c,0x00,0x00,0x00

# CHECK: v_cvt_f64_f32_e64 v[5:6], exec_lo       ; encoding: [0x05,0x00,0x50,0xd1,0x7e,0x00,0x00,0x00]
0x05,0x00,0x50,0xd1,0x7e,0x00,0x00,0x00

# CHECK: v_cvt_f64_f32_e64 v[5:6], exec_hi       ; encoding: [0x05,0x00,0x50,0xd1,0x7f,0x00,0x00,0x00]
0x05,0x00,0x50,0xd1,0x7f,0x00,0x00,0x00

# CHECK: v_cvt_f64_f32_e64 v[5:6], 0             ; encoding: [0x05,0x00,0x50,0xd1,0x80,0x00,0x00,0x00]
0x05,0x00,0x50,0xd1,0x80,0x00,0x00,0x00

# CHECK: v_cvt_f64_f32_e64 v[5:6], -1            ; encoding: [0x05,0x00,0x50,0xd1,0xc1,0x00,0x00,0x00]
0x05,0x00,0x50,0xd1,0xc1,0x00,0x00,0x00

# CHECK: v_cvt_f64_f32_e64 v[5:6], 0.5           ; encoding: [0x05,0x00,0x50,0xd1,0xf0,0x00,0x00,0x00]
0x05,0x00,0x50,0xd1,0xf0,0x00,0x00,0x00

# CHECK: v_cvt_f64_f32_e64 v[5:6], -4.0          ; encoding: [0x05,0x00,0x50,0xd1,0xf7,0x00,0x00,0x00]
0x05,0x00,0x50,0xd1,0xf7,0x00,0x00,0x00

# CHECK: v_cvt_f64_f32_e64 v[5:6], -v1           ; encoding: [0x05,0x00,0x50,0xd1,0x01,0x01,0x00,0x20]
0x05,0x00,0x50,0xd1,0x01,0x01,0x00,0x20

# CHECK: v_cvt_f64_f32_e64 v[5:6], |v1|          ; encoding: [0x05,0x01,0x50,0xd1,0x01,0x01,0x00,0x00]
0x05,0x01,0x50,0xd1,0x01,0x01,0x00,0x00

# CHECK: v_cvt_f64_f32_e64 v[5:6], v1 clamp      ; encoding: [0x05,0x80,0x50,0xd1,0x01,0x01,0x00,0x00]
0x05,0x80,0x50,0xd1,0x01,0x01,0x00,0x00

# CHECK: v_cvt_f64_f32_e64 v[5:6], v1 mul:2      ; encoding: [0x05,0x00,0x50,0xd1,0x01,0x01,0x00,0x08]
0x05,0x00,0x50,0xd1,0x01,0x01,0x00,0x08

# CHECK: v_cvt_f64_f32_e64 v[5:6], v1 mul:4      ; encoding: [0x05,0x00,0x50,0xd1,0x01,0x01,0x00,0x10]
0x05,0x00,0x50,0xd1,0x01,0x01,0x00,0x10

# CHECK: v_cvt_f64_f32_e64 v[5:6], v1 div:2      ; encoding: [0x05,0x00,0x50,0xd1,0x01,0x01,0x00,0x18]
0x05,0x00,0x50,0xd1,0x01,0x01,0x00,0x18

# CHECK: v_cvt_f32_ubyte0_e64 v5, v1             ; encoding: [0x05,0x00,0x51,0xd1,0x01,0x01,0x00,0x00]
0x05,0x00,0x51,0xd1,0x01,0x01,0x00,0x00

# CHECK: v_cvt_f32_ubyte0_e64 v255, v1           ; encoding: [0xff,0x00,0x51,0xd1,0x01,0x01,0x00,0x00]
0xff,0x00,0x51,0xd1,0x01,0x01,0x00,0x00

# CHECK: v_cvt_f32_ubyte0_e64 v5, v255           ; encoding: [0x05,0x00,0x51,0xd1,0xff,0x01,0x00,0x00]
0x05,0x00,0x51,0xd1,0xff,0x01,0x00,0x00

# CHECK: v_cvt_f32_ubyte0_e64 v5, s1             ; encoding: [0x05,0x00,0x51,0xd1,0x01,0x00,0x00,0x00]
0x05,0x00,0x51,0xd1,0x01,0x00,0x00,0x00

# CHECK: v_cvt_f32_ubyte0_e64 v5, s101           ; encoding: [0x05,0x00,0x51,0xd1,0x65,0x00,0x00,0x00]
0x05,0x00,0x51,0xd1,0x65,0x00,0x00,0x00

# CHECK: v_cvt_f32_ubyte0_e64 v5, flat_scratch_lo ; encoding: [0x05,0x00,0x51,0xd1,0x66,0x00,0x00,0x00]
0x05,0x00,0x51,0xd1,0x66,0x00,0x00,0x00

# CHECK: v_cvt_f32_ubyte0_e64 v5, flat_scratch_hi ; encoding: [0x05,0x00,0x51,0xd1,0x67,0x00,0x00,0x00]
0x05,0x00,0x51,0xd1,0x67,0x00,0x00,0x00

# CHECK: v_cvt_f32_ubyte0_e64 v5, vcc_lo         ; encoding: [0x05,0x00,0x51,0xd1,0x6a,0x00,0x00,0x00]
0x05,0x00,0x51,0xd1,0x6a,0x00,0x00,0x00

# CHECK: v_cvt_f32_ubyte0_e64 v5, vcc_hi         ; encoding: [0x05,0x00,0x51,0xd1,0x6b,0x00,0x00,0x00]
0x05,0x00,0x51,0xd1,0x6b,0x00,0x00,0x00

# CHECK: v_cvt_f32_ubyte0_e64 v5, tba_lo         ; encoding: [0x05,0x00,0x51,0xd1,0x6c,0x00,0x00,0x00]
0x05,0x00,0x51,0xd1,0x6c,0x00,0x00,0x00

# CHECK: v_cvt_f32_ubyte0_e64 v5, tba_hi         ; encoding: [0x05,0x00,0x51,0xd1,0x6d,0x00,0x00,0x00]
0x05,0x00,0x51,0xd1,0x6d,0x00,0x00,0x00

# CHECK: v_cvt_f32_ubyte0_e64 v5, tma_lo         ; encoding: [0x05,0x00,0x51,0xd1,0x6e,0x00,0x00,0x00]
0x05,0x00,0x51,0xd1,0x6e,0x00,0x00,0x00

# CHECK: v_cvt_f32_ubyte0_e64 v5, tma_hi         ; encoding: [0x05,0x00,0x51,0xd1,0x6f,0x00,0x00,0x00]
0x05,0x00,0x51,0xd1,0x6f,0x00,0x00,0x00

# CHECK: v_cvt_f32_ubyte0_e64 v5, ttmp11         ; encoding: [0x05,0x00,0x51,0xd1,0x7b,0x00,0x00,0x00]
0x05,0x00,0x51,0xd1,0x7b,0x00,0x00,0x00

# CHECK: v_cvt_f32_ubyte0_e64 v5, m0             ; encoding: [0x05,0x00,0x51,0xd1,0x7c,0x00,0x00,0x00]
0x05,0x00,0x51,0xd1,0x7c,0x00,0x00,0x00

# CHECK: v_cvt_f32_ubyte0_e64 v5, exec_lo        ; encoding: [0x05,0x00,0x51,0xd1,0x7e,0x00,0x00,0x00]
0x05,0x00,0x51,0xd1,0x7e,0x00,0x00,0x00

# CHECK: v_cvt_f32_ubyte0_e64 v5, exec_hi        ; encoding: [0x05,0x00,0x51,0xd1,0x7f,0x00,0x00,0x00]
0x05,0x00,0x51,0xd1,0x7f,0x00,0x00,0x00

# CHECK: v_cvt_f32_ubyte0_e64 v5, 0              ; encoding: [0x05,0x00,0x51,0xd1,0x80,0x00,0x00,0x00]
0x05,0x00,0x51,0xd1,0x80,0x00,0x00,0x00

# CHECK: v_cvt_f32_ubyte0_e64 v5, -1             ; encoding: [0x05,0x00,0x51,0xd1,0xc1,0x00,0x00,0x00]
0x05,0x00,0x51,0xd1,0xc1,0x00,0x00,0x00

# CHECK: v_cvt_f32_ubyte0_e64 v5, 0.5            ; encoding: [0x05,0x00,0x51,0xd1,0xf0,0x00,0x00,0x00]
0x05,0x00,0x51,0xd1,0xf0,0x00,0x00,0x00

# CHECK: v_cvt_f32_ubyte0_e64 v5, -4.0           ; encoding: [0x05,0x00,0x51,0xd1,0xf7,0x00,0x00,0x00]
0x05,0x00,0x51,0xd1,0xf7,0x00,0x00,0x00

# CHECK: v_cvt_f32_ubyte0_e64 v5, v1 clamp       ; encoding: [0x05,0x80,0x51,0xd1,0x01,0x01,0x00,0x00]
0x05,0x80,0x51,0xd1,0x01,0x01,0x00,0x00

# CHECK: v_cvt_f32_ubyte0_e64 v5, v1 mul:2       ; encoding: [0x05,0x00,0x51,0xd1,0x01,0x01,0x00,0x08]
0x05,0x00,0x51,0xd1,0x01,0x01,0x00,0x08

# CHECK: v_cvt_f32_ubyte0_e64 v5, v1 mul:4       ; encoding: [0x05,0x00,0x51,0xd1,0x01,0x01,0x00,0x10]
0x05,0x00,0x51,0xd1,0x01,0x01,0x00,0x10

# CHECK: v_cvt_f32_ubyte0_e64 v5, v1 div:2       ; encoding: [0x05,0x00,0x51,0xd1,0x01,0x01,0x00,0x18]
0x05,0x00,0x51,0xd1,0x01,0x01,0x00,0x18

# CHECK: v_cvt_f32_ubyte1_e64 v5, v1             ; encoding: [0x05,0x00,0x52,0xd1,0x01,0x01,0x00,0x00]
0x05,0x00,0x52,0xd1,0x01,0x01,0x00,0x00

# CHECK: v_cvt_f32_ubyte1_e64 v255, v1           ; encoding: [0xff,0x00,0x52,0xd1,0x01,0x01,0x00,0x00]
0xff,0x00,0x52,0xd1,0x01,0x01,0x00,0x00

# CHECK: v_cvt_f32_ubyte1_e64 v5, v255           ; encoding: [0x05,0x00,0x52,0xd1,0xff,0x01,0x00,0x00]
0x05,0x00,0x52,0xd1,0xff,0x01,0x00,0x00

# CHECK: v_cvt_f32_ubyte1_e64 v5, s1             ; encoding: [0x05,0x00,0x52,0xd1,0x01,0x00,0x00,0x00]
0x05,0x00,0x52,0xd1,0x01,0x00,0x00,0x00

# CHECK: v_cvt_f32_ubyte1_e64 v5, s101           ; encoding: [0x05,0x00,0x52,0xd1,0x65,0x00,0x00,0x00]
0x05,0x00,0x52,0xd1,0x65,0x00,0x00,0x00

# CHECK: v_cvt_f32_ubyte1_e64 v5, flat_scratch_lo ; encoding: [0x05,0x00,0x52,0xd1,0x66,0x00,0x00,0x00]
0x05,0x00,0x52,0xd1,0x66,0x00,0x00,0x00

# CHECK: v_cvt_f32_ubyte1_e64 v5, flat_scratch_hi ; encoding: [0x05,0x00,0x52,0xd1,0x67,0x00,0x00,0x00]
0x05,0x00,0x52,0xd1,0x67,0x00,0x00,0x00

# CHECK: v_cvt_f32_ubyte1_e64 v5, vcc_lo         ; encoding: [0x05,0x00,0x52,0xd1,0x6a,0x00,0x00,0x00]
0x05,0x00,0x52,0xd1,0x6a,0x00,0x00,0x00

# CHECK: v_cvt_f32_ubyte1_e64 v5, vcc_hi         ; encoding: [0x05,0x00,0x52,0xd1,0x6b,0x00,0x00,0x00]
0x05,0x00,0x52,0xd1,0x6b,0x00,0x00,0x00

# CHECK: v_cvt_f32_ubyte1_e64 v5, tba_lo         ; encoding: [0x05,0x00,0x52,0xd1,0x6c,0x00,0x00,0x00]
0x05,0x00,0x52,0xd1,0x6c,0x00,0x00,0x00

# CHECK: v_cvt_f32_ubyte1_e64 v5, tba_hi         ; encoding: [0x05,0x00,0x52,0xd1,0x6d,0x00,0x00,0x00]
0x05,0x00,0x52,0xd1,0x6d,0x00,0x00,0x00

# CHECK: v_cvt_f32_ubyte1_e64 v5, tma_lo         ; encoding: [0x05,0x00,0x52,0xd1,0x6e,0x00,0x00,0x00]
0x05,0x00,0x52,0xd1,0x6e,0x00,0x00,0x00

# CHECK: v_cvt_f32_ubyte1_e64 v5, tma_hi         ; encoding: [0x05,0x00,0x52,0xd1,0x6f,0x00,0x00,0x00]
0x05,0x00,0x52,0xd1,0x6f,0x00,0x00,0x00

# CHECK: v_cvt_f32_ubyte1_e64 v5, ttmp11         ; encoding: [0x05,0x00,0x52,0xd1,0x7b,0x00,0x00,0x00]
0x05,0x00,0x52,0xd1,0x7b,0x00,0x00,0x00

# CHECK: v_cvt_f32_ubyte1_e64 v5, m0             ; encoding: [0x05,0x00,0x52,0xd1,0x7c,0x00,0x00,0x00]
0x05,0x00,0x52,0xd1,0x7c,0x00,0x00,0x00

# CHECK: v_cvt_f32_ubyte1_e64 v5, exec_lo        ; encoding: [0x05,0x00,0x52,0xd1,0x7e,0x00,0x00,0x00]
0x05,0x00,0x52,0xd1,0x7e,0x00,0x00,0x00

# CHECK: v_cvt_f32_ubyte1_e64 v5, exec_hi        ; encoding: [0x05,0x00,0x52,0xd1,0x7f,0x00,0x00,0x00]
0x05,0x00,0x52,0xd1,0x7f,0x00,0x00,0x00

# CHECK: v_cvt_f32_ubyte1_e64 v5, 0              ; encoding: [0x05,0x00,0x52,0xd1,0x80,0x00,0x00,0x00]
0x05,0x00,0x52,0xd1,0x80,0x00,0x00,0x00

# CHECK: v_cvt_f32_ubyte1_e64 v5, -1             ; encoding: [0x05,0x00,0x52,0xd1,0xc1,0x00,0x00,0x00]
0x05,0x00,0x52,0xd1,0xc1,0x00,0x00,0x00

# CHECK: v_cvt_f32_ubyte1_e64 v5, 0.5            ; encoding: [0x05,0x00,0x52,0xd1,0xf0,0x00,0x00,0x00]
0x05,0x00,0x52,0xd1,0xf0,0x00,0x00,0x00

# CHECK: v_cvt_f32_ubyte1_e64 v5, -4.0           ; encoding: [0x05,0x00,0x52,0xd1,0xf7,0x00,0x00,0x00]
0x05,0x00,0x52,0xd1,0xf7,0x00,0x00,0x00

# CHECK: v_cvt_f32_ubyte1_e64 v5, v1 clamp       ; encoding: [0x05,0x80,0x52,0xd1,0x01,0x01,0x00,0x00]
0x05,0x80,0x52,0xd1,0x01,0x01,0x00,0x00

# CHECK: v_cvt_f32_ubyte1_e64 v5, v1 mul:2       ; encoding: [0x05,0x00,0x52,0xd1,0x01,0x01,0x00,0x08]
0x05,0x00,0x52,0xd1,0x01,0x01,0x00,0x08

# CHECK: v_cvt_f32_ubyte1_e64 v5, v1 mul:4       ; encoding: [0x05,0x00,0x52,0xd1,0x01,0x01,0x00,0x10]
0x05,0x00,0x52,0xd1,0x01,0x01,0x00,0x10

# CHECK: v_cvt_f32_ubyte1_e64 v5, v1 div:2       ; encoding: [0x05,0x00,0x52,0xd1,0x01,0x01,0x00,0x18]
0x05,0x00,0x52,0xd1,0x01,0x01,0x00,0x18

# CHECK: v_cvt_f32_ubyte2_e64 v5, v1             ; encoding: [0x05,0x00,0x53,0xd1,0x01,0x01,0x00,0x00]
0x05,0x00,0x53,0xd1,0x01,0x01,0x00,0x00

# CHECK: v_cvt_f32_ubyte2_e64 v255, v1           ; encoding: [0xff,0x00,0x53,0xd1,0x01,0x01,0x00,0x00]
0xff,0x00,0x53,0xd1,0x01,0x01,0x00,0x00

# CHECK: v_cvt_f32_ubyte2_e64 v5, v255           ; encoding: [0x05,0x00,0x53,0xd1,0xff,0x01,0x00,0x00]
0x05,0x00,0x53,0xd1,0xff,0x01,0x00,0x00

# CHECK: v_cvt_f32_ubyte2_e64 v5, s1             ; encoding: [0x05,0x00,0x53,0xd1,0x01,0x00,0x00,0x00]
0x05,0x00,0x53,0xd1,0x01,0x00,0x00,0x00

# CHECK: v_cvt_f32_ubyte2_e64 v5, s101           ; encoding: [0x05,0x00,0x53,0xd1,0x65,0x00,0x00,0x00]
0x05,0x00,0x53,0xd1,0x65,0x00,0x00,0x00

# CHECK: v_cvt_f32_ubyte2_e64 v5, flat_scratch_lo ; encoding: [0x05,0x00,0x53,0xd1,0x66,0x00,0x00,0x00]
0x05,0x00,0x53,0xd1,0x66,0x00,0x00,0x00

# CHECK: v_cvt_f32_ubyte2_e64 v5, flat_scratch_hi ; encoding: [0x05,0x00,0x53,0xd1,0x67,0x00,0x00,0x00]
0x05,0x00,0x53,0xd1,0x67,0x00,0x00,0x00

# CHECK: v_cvt_f32_ubyte2_e64 v5, vcc_lo         ; encoding: [0x05,0x00,0x53,0xd1,0x6a,0x00,0x00,0x00]
0x05,0x00,0x53,0xd1,0x6a,0x00,0x00,0x00

# CHECK: v_cvt_f32_ubyte2_e64 v5, vcc_hi         ; encoding: [0x05,0x00,0x53,0xd1,0x6b,0x00,0x00,0x00]
0x05,0x00,0x53,0xd1,0x6b,0x00,0x00,0x00

# CHECK: v_cvt_f32_ubyte2_e64 v5, tba_lo         ; encoding: [0x05,0x00,0x53,0xd1,0x6c,0x00,0x00,0x00]
0x05,0x00,0x53,0xd1,0x6c,0x00,0x00,0x00

# CHECK: v_cvt_f32_ubyte2_e64 v5, tba_hi         ; encoding: [0x05,0x00,0x53,0xd1,0x6d,0x00,0x00,0x00]
0x05,0x00,0x53,0xd1,0x6d,0x00,0x00,0x00

# CHECK: v_cvt_f32_ubyte2_e64 v5, tma_lo         ; encoding: [0x05,0x00,0x53,0xd1,0x6e,0x00,0x00,0x00]
0x05,0x00,0x53,0xd1,0x6e,0x00,0x00,0x00

# CHECK: v_cvt_f32_ubyte2_e64 v5, tma_hi         ; encoding: [0x05,0x00,0x53,0xd1,0x6f,0x00,0x00,0x00]
0x05,0x00,0x53,0xd1,0x6f,0x00,0x00,0x00

# CHECK: v_cvt_f32_ubyte2_e64 v5, ttmp11         ; encoding: [0x05,0x00,0x53,0xd1,0x7b,0x00,0x00,0x00]
0x05,0x00,0x53,0xd1,0x7b,0x00,0x00,0x00

# CHECK: v_cvt_f32_ubyte2_e64 v5, m0             ; encoding: [0x05,0x00,0x53,0xd1,0x7c,0x00,0x00,0x00]
0x05,0x00,0x53,0xd1,0x7c,0x00,0x00,0x00

# CHECK: v_cvt_f32_ubyte2_e64 v5, exec_lo        ; encoding: [0x05,0x00,0x53,0xd1,0x7e,0x00,0x00,0x00]
0x05,0x00,0x53,0xd1,0x7e,0x00,0x00,0x00

# CHECK: v_cvt_f32_ubyte2_e64 v5, exec_hi        ; encoding: [0x05,0x00,0x53,0xd1,0x7f,0x00,0x00,0x00]
0x05,0x00,0x53,0xd1,0x7f,0x00,0x00,0x00

# CHECK: v_cvt_f32_ubyte2_e64 v5, 0              ; encoding: [0x05,0x00,0x53,0xd1,0x80,0x00,0x00,0x00]
0x05,0x00,0x53,0xd1,0x80,0x00,0x00,0x00

# CHECK: v_cvt_f32_ubyte2_e64 v5, -1             ; encoding: [0x05,0x00,0x53,0xd1,0xc1,0x00,0x00,0x00]
0x05,0x00,0x53,0xd1,0xc1,0x00,0x00,0x00

# CHECK: v_cvt_f32_ubyte2_e64 v5, 0.5            ; encoding: [0x05,0x00,0x53,0xd1,0xf0,0x00,0x00,0x00]
0x05,0x00,0x53,0xd1,0xf0,0x00,0x00,0x00

# CHECK: v_cvt_f32_ubyte2_e64 v5, -4.0           ; encoding: [0x05,0x00,0x53,0xd1,0xf7,0x00,0x00,0x00]
0x05,0x00,0x53,0xd1,0xf7,0x00,0x00,0x00

# CHECK: v_cvt_f32_ubyte2_e64 v5, v1 clamp       ; encoding: [0x05,0x80,0x53,0xd1,0x01,0x01,0x00,0x00]
0x05,0x80,0x53,0xd1,0x01,0x01,0x00,0x00

# CHECK: v_cvt_f32_ubyte2_e64 v5, v1 mul:2       ; encoding: [0x05,0x00,0x53,0xd1,0x01,0x01,0x00,0x08]
0x05,0x00,0x53,0xd1,0x01,0x01,0x00,0x08

# CHECK: v_cvt_f32_ubyte2_e64 v5, v1 mul:4       ; encoding: [0x05,0x00,0x53,0xd1,0x01,0x01,0x00,0x10]
0x05,0x00,0x53,0xd1,0x01,0x01,0x00,0x10

# CHECK: v_cvt_f32_ubyte2_e64 v5, v1 div:2       ; encoding: [0x05,0x00,0x53,0xd1,0x01,0x01,0x00,0x18]
0x05,0x00,0x53,0xd1,0x01,0x01,0x00,0x18

# CHECK: v_cvt_f32_ubyte3_e64 v5, v1             ; encoding: [0x05,0x00,0x54,0xd1,0x01,0x01,0x00,0x00]
0x05,0x00,0x54,0xd1,0x01,0x01,0x00,0x00

# CHECK: v_cvt_f32_ubyte3_e64 v255, v1           ; encoding: [0xff,0x00,0x54,0xd1,0x01,0x01,0x00,0x00]
0xff,0x00,0x54,0xd1,0x01,0x01,0x00,0x00

# CHECK: v_cvt_f32_ubyte3_e64 v5, v255           ; encoding: [0x05,0x00,0x54,0xd1,0xff,0x01,0x00,0x00]
0x05,0x00,0x54,0xd1,0xff,0x01,0x00,0x00

# CHECK: v_cvt_f32_ubyte3_e64 v5, s1             ; encoding: [0x05,0x00,0x54,0xd1,0x01,0x00,0x00,0x00]
0x05,0x00,0x54,0xd1,0x01,0x00,0x00,0x00

# CHECK: v_cvt_f32_ubyte3_e64 v5, s101           ; encoding: [0x05,0x00,0x54,0xd1,0x65,0x00,0x00,0x00]
0x05,0x00,0x54,0xd1,0x65,0x00,0x00,0x00

# CHECK: v_cvt_f32_ubyte3_e64 v5, flat_scratch_lo ; encoding: [0x05,0x00,0x54,0xd1,0x66,0x00,0x00,0x00]
0x05,0x00,0x54,0xd1,0x66,0x00,0x00,0x00

# CHECK: v_cvt_f32_ubyte3_e64 v5, flat_scratch_hi ; encoding: [0x05,0x00,0x54,0xd1,0x67,0x00,0x00,0x00]
0x05,0x00,0x54,0xd1,0x67,0x00,0x00,0x00

# CHECK: v_cvt_f32_ubyte3_e64 v5, vcc_lo         ; encoding: [0x05,0x00,0x54,0xd1,0x6a,0x00,0x00,0x00]
0x05,0x00,0x54,0xd1,0x6a,0x00,0x00,0x00

# CHECK: v_cvt_f32_ubyte3_e64 v5, vcc_hi         ; encoding: [0x05,0x00,0x54,0xd1,0x6b,0x00,0x00,0x00]
0x05,0x00,0x54,0xd1,0x6b,0x00,0x00,0x00

# CHECK: v_cvt_f32_ubyte3_e64 v5, tba_lo         ; encoding: [0x05,0x00,0x54,0xd1,0x6c,0x00,0x00,0x00]
0x05,0x00,0x54,0xd1,0x6c,0x00,0x00,0x00

# CHECK: v_cvt_f32_ubyte3_e64 v5, tba_hi         ; encoding: [0x05,0x00,0x54,0xd1,0x6d,0x00,0x00,0x00]
0x05,0x00,0x54,0xd1,0x6d,0x00,0x00,0x00

# CHECK: v_cvt_f32_ubyte3_e64 v5, tma_lo         ; encoding: [0x05,0x00,0x54,0xd1,0x6e,0x00,0x00,0x00]
0x05,0x00,0x54,0xd1,0x6e,0x00,0x00,0x00

# CHECK: v_cvt_f32_ubyte3_e64 v5, tma_hi         ; encoding: [0x05,0x00,0x54,0xd1,0x6f,0x00,0x00,0x00]
0x05,0x00,0x54,0xd1,0x6f,0x00,0x00,0x00

# CHECK: v_cvt_f32_ubyte3_e64 v5, ttmp11         ; encoding: [0x05,0x00,0x54,0xd1,0x7b,0x00,0x00,0x00]
0x05,0x00,0x54,0xd1,0x7b,0x00,0x00,0x00

# CHECK: v_cvt_f32_ubyte3_e64 v5, m0             ; encoding: [0x05,0x00,0x54,0xd1,0x7c,0x00,0x00,0x00]
0x05,0x00,0x54,0xd1,0x7c,0x00,0x00,0x00

# CHECK: v_cvt_f32_ubyte3_e64 v5, exec_lo        ; encoding: [0x05,0x00,0x54,0xd1,0x7e,0x00,0x00,0x00]
0x05,0x00,0x54,0xd1,0x7e,0x00,0x00,0x00

# CHECK: v_cvt_f32_ubyte3_e64 v5, exec_hi        ; encoding: [0x05,0x00,0x54,0xd1,0x7f,0x00,0x00,0x00]
0x05,0x00,0x54,0xd1,0x7f,0x00,0x00,0x00

# CHECK: v_cvt_f32_ubyte3_e64 v5, 0              ; encoding: [0x05,0x00,0x54,0xd1,0x80,0x00,0x00,0x00]
0x05,0x00,0x54,0xd1,0x80,0x00,0x00,0x00

# CHECK: v_cvt_f32_ubyte3_e64 v5, -1             ; encoding: [0x05,0x00,0x54,0xd1,0xc1,0x00,0x00,0x00]
0x05,0x00,0x54,0xd1,0xc1,0x00,0x00,0x00

# CHECK: v_cvt_f32_ubyte3_e64 v5, 0.5            ; encoding: [0x05,0x00,0x54,0xd1,0xf0,0x00,0x00,0x00]
0x05,0x00,0x54,0xd1,0xf0,0x00,0x00,0x00

# CHECK: v_cvt_f32_ubyte3_e64 v5, -4.0           ; encoding: [0x05,0x00,0x54,0xd1,0xf7,0x00,0x00,0x00]
0x05,0x00,0x54,0xd1,0xf7,0x00,0x00,0x00

# CHECK: v_cvt_f32_ubyte3_e64 v5, v1 clamp       ; encoding: [0x05,0x80,0x54,0xd1,0x01,0x01,0x00,0x00]
0x05,0x80,0x54,0xd1,0x01,0x01,0x00,0x00

# CHECK: v_cvt_f32_ubyte3_e64 v5, v1 mul:2       ; encoding: [0x05,0x00,0x54,0xd1,0x01,0x01,0x00,0x08]
0x05,0x00,0x54,0xd1,0x01,0x01,0x00,0x08

# CHECK: v_cvt_f32_ubyte3_e64 v5, v1 mul:4       ; encoding: [0x05,0x00,0x54,0xd1,0x01,0x01,0x00,0x10]
0x05,0x00,0x54,0xd1,0x01,0x01,0x00,0x10

# CHECK: v_cvt_f32_ubyte3_e64 v5, v1 div:2       ; encoding: [0x05,0x00,0x54,0xd1,0x01,0x01,0x00,0x18]
0x05,0x00,0x54,0xd1,0x01,0x01,0x00,0x18

# CHECK: v_cvt_u32_f64_e64 v5, v[1:2]            ; encoding: [0x05,0x00,0x55,0xd1,0x01,0x01,0x00,0x00]
0x05,0x00,0x55,0xd1,0x01,0x01,0x00,0x00

# CHECK: v_cvt_u32_f64_e64 v255, v[1:2]          ; encoding: [0xff,0x00,0x55,0xd1,0x01,0x01,0x00,0x00]
0xff,0x00,0x55,0xd1,0x01,0x01,0x00,0x00

# CHECK: v_cvt_u32_f64_e64 v5, v[254:255]        ; encoding: [0x05,0x00,0x55,0xd1,0xfe,0x01,0x00,0x00]
0x05,0x00,0x55,0xd1,0xfe,0x01,0x00,0x00

# CHECK: v_cvt_u32_f64_e64 v5, s[2:3]            ; encoding: [0x05,0x00,0x55,0xd1,0x02,0x00,0x00,0x00]
0x05,0x00,0x55,0xd1,0x02,0x00,0x00,0x00

# CHECK: v_cvt_u32_f64_e64 v5, s[4:5]            ; encoding: [0x05,0x00,0x55,0xd1,0x04,0x00,0x00,0x00]
0x05,0x00,0x55,0xd1,0x04,0x00,0x00,0x00

# CHECK: v_cvt_u32_f64_e64 v5, s[100:101]        ; encoding: [0x05,0x00,0x55,0xd1,0x64,0x00,0x00,0x00]
0x05,0x00,0x55,0xd1,0x64,0x00,0x00,0x00

# CHECK: v_cvt_u32_f64_e64 v5, flat_scratch      ; encoding: [0x05,0x00,0x55,0xd1,0x66,0x00,0x00,0x00]
0x05,0x00,0x55,0xd1,0x66,0x00,0x00,0x00

# CHECK: v_cvt_u32_f64_e64 v5, vcc               ; encoding: [0x05,0x00,0x55,0xd1,0x6a,0x00,0x00,0x00]
0x05,0x00,0x55,0xd1,0x6a,0x00,0x00,0x00

# CHECK: v_cvt_u32_f64_e64 v5, tba               ; encoding: [0x05,0x00,0x55,0xd1,0x6c,0x00,0x00,0x00]
0x05,0x00,0x55,0xd1,0x6c,0x00,0x00,0x00

# CHECK: v_cvt_u32_f64_e64 v5, tma               ; encoding: [0x05,0x00,0x55,0xd1,0x6e,0x00,0x00,0x00]
0x05,0x00,0x55,0xd1,0x6e,0x00,0x00,0x00

# CHECK: v_cvt_u32_f64_e64 v5, ttmp[10:11]       ; encoding: [0x05,0x00,0x55,0xd1,0x7a,0x00,0x00,0x00]
0x05,0x00,0x55,0xd1,0x7a,0x00,0x00,0x00

# CHECK: v_cvt_u32_f64_e64 v5, exec              ; encoding: [0x05,0x00,0x55,0xd1,0x7e,0x00,0x00,0x00]
0x05,0x00,0x55,0xd1,0x7e,0x00,0x00,0x00

# CHECK: v_cvt_u32_f64_e64 v5, 0                 ; encoding: [0x05,0x00,0x55,0xd1,0x80,0x00,0x00,0x00]
0x05,0x00,0x55,0xd1,0x80,0x00,0x00,0x00

# CHECK: v_cvt_u32_f64_e64 v5, -1                ; encoding: [0x05,0x00,0x55,0xd1,0xc1,0x00,0x00,0x00]
0x05,0x00,0x55,0xd1,0xc1,0x00,0x00,0x00

# CHECK: v_cvt_u32_f64_e64 v5, 0.5               ; encoding: [0x05,0x00,0x55,0xd1,0xf0,0x00,0x00,0x00]
0x05,0x00,0x55,0xd1,0xf0,0x00,0x00,0x00

# CHECK: v_cvt_u32_f64_e64 v5, -4.0              ; encoding: [0x05,0x00,0x55,0xd1,0xf7,0x00,0x00,0x00]
0x05,0x00,0x55,0xd1,0xf7,0x00,0x00,0x00

# CHECK: v_cvt_u32_f64_e64 v5, -v[1:2]           ; encoding: [0x05,0x00,0x55,0xd1,0x01,0x01,0x00,0x20]
0x05,0x00,0x55,0xd1,0x01,0x01,0x00,0x20

# CHECK: v_cvt_u32_f64_e64 v5, |v[1:2]|          ; encoding: [0x05,0x01,0x55,0xd1,0x01,0x01,0x00,0x00]
0x05,0x01,0x55,0xd1,0x01,0x01,0x00,0x00

# CHECK: v_cvt_f64_u32_e64 v[5:6], v1            ; encoding: [0x05,0x00,0x56,0xd1,0x01,0x01,0x00,0x00]
0x05,0x00,0x56,0xd1,0x01,0x01,0x00,0x00

# CHECK: v_cvt_f64_u32_e64 v[254:255], v1        ; encoding: [0xfe,0x00,0x56,0xd1,0x01,0x01,0x00,0x00]
0xfe,0x00,0x56,0xd1,0x01,0x01,0x00,0x00

# CHECK: v_cvt_f64_u32_e64 v[5:6], v255          ; encoding: [0x05,0x00,0x56,0xd1,0xff,0x01,0x00,0x00]
0x05,0x00,0x56,0xd1,0xff,0x01,0x00,0x00

# CHECK: v_cvt_f64_u32_e64 v[5:6], s1            ; encoding: [0x05,0x00,0x56,0xd1,0x01,0x00,0x00,0x00]
0x05,0x00,0x56,0xd1,0x01,0x00,0x00,0x00

# CHECK: v_cvt_f64_u32_e64 v[5:6], s101          ; encoding: [0x05,0x00,0x56,0xd1,0x65,0x00,0x00,0x00]
0x05,0x00,0x56,0xd1,0x65,0x00,0x00,0x00

# CHECK: v_cvt_f64_u32_e64 v[5:6], flat_scratch_lo ; encoding: [0x05,0x00,0x56,0xd1,0x66,0x00,0x00,0x00]
0x05,0x00,0x56,0xd1,0x66,0x00,0x00,0x00

# CHECK: v_cvt_f64_u32_e64 v[5:6], flat_scratch_hi ; encoding: [0x05,0x00,0x56,0xd1,0x67,0x00,0x00,0x00]
0x05,0x00,0x56,0xd1,0x67,0x00,0x00,0x00

# CHECK: v_cvt_f64_u32_e64 v[5:6], vcc_lo        ; encoding: [0x05,0x00,0x56,0xd1,0x6a,0x00,0x00,0x00]
0x05,0x00,0x56,0xd1,0x6a,0x00,0x00,0x00

# CHECK: v_cvt_f64_u32_e64 v[5:6], vcc_hi        ; encoding: [0x05,0x00,0x56,0xd1,0x6b,0x00,0x00,0x00]
0x05,0x00,0x56,0xd1,0x6b,0x00,0x00,0x00

# CHECK: v_cvt_f64_u32_e64 v[5:6], tba_lo        ; encoding: [0x05,0x00,0x56,0xd1,0x6c,0x00,0x00,0x00]
0x05,0x00,0x56,0xd1,0x6c,0x00,0x00,0x00

# CHECK: v_cvt_f64_u32_e64 v[5:6], tba_hi        ; encoding: [0x05,0x00,0x56,0xd1,0x6d,0x00,0x00,0x00]
0x05,0x00,0x56,0xd1,0x6d,0x00,0x00,0x00

# CHECK: v_cvt_f64_u32_e64 v[5:6], tma_lo        ; encoding: [0x05,0x00,0x56,0xd1,0x6e,0x00,0x00,0x00]
0x05,0x00,0x56,0xd1,0x6e,0x00,0x00,0x00

# CHECK: v_cvt_f64_u32_e64 v[5:6], tma_hi        ; encoding: [0x05,0x00,0x56,0xd1,0x6f,0x00,0x00,0x00]
0x05,0x00,0x56,0xd1,0x6f,0x00,0x00,0x00

# CHECK: v_cvt_f64_u32_e64 v[5:6], ttmp11        ; encoding: [0x05,0x00,0x56,0xd1,0x7b,0x00,0x00,0x00]
0x05,0x00,0x56,0xd1,0x7b,0x00,0x00,0x00

# CHECK: v_cvt_f64_u32_e64 v[5:6], m0            ; encoding: [0x05,0x00,0x56,0xd1,0x7c,0x00,0x00,0x00]
0x05,0x00,0x56,0xd1,0x7c,0x00,0x00,0x00

# CHECK: v_cvt_f64_u32_e64 v[5:6], exec_lo       ; encoding: [0x05,0x00,0x56,0xd1,0x7e,0x00,0x00,0x00]
0x05,0x00,0x56,0xd1,0x7e,0x00,0x00,0x00

# CHECK: v_cvt_f64_u32_e64 v[5:6], exec_hi       ; encoding: [0x05,0x00,0x56,0xd1,0x7f,0x00,0x00,0x00]
0x05,0x00,0x56,0xd1,0x7f,0x00,0x00,0x00

# CHECK: v_cvt_f64_u32_e64 v[5:6], 0             ; encoding: [0x05,0x00,0x56,0xd1,0x80,0x00,0x00,0x00]
0x05,0x00,0x56,0xd1,0x80,0x00,0x00,0x00

# CHECK: v_cvt_f64_u32_e64 v[5:6], -1            ; encoding: [0x05,0x00,0x56,0xd1,0xc1,0x00,0x00,0x00]
0x05,0x00,0x56,0xd1,0xc1,0x00,0x00,0x00

# CHECK: v_cvt_f64_u32_e64 v[5:6], 0.5           ; encoding: [0x05,0x00,0x56,0xd1,0xf0,0x00,0x00,0x00]
0x05,0x00,0x56,0xd1,0xf0,0x00,0x00,0x00

# CHECK: v_cvt_f64_u32_e64 v[5:6], -4.0          ; encoding: [0x05,0x00,0x56,0xd1,0xf7,0x00,0x00,0x00]
0x05,0x00,0x56,0xd1,0xf7,0x00,0x00,0x00

# CHECK: v_cvt_f64_u32_e64 v[5:6], v1 clamp      ; encoding: [0x05,0x80,0x56,0xd1,0x01,0x01,0x00,0x00]
0x05,0x80,0x56,0xd1,0x01,0x01,0x00,0x00

# CHECK: v_cvt_f64_u32_e64 v[5:6], v1 mul:2      ; encoding: [0x05,0x00,0x56,0xd1,0x01,0x01,0x00,0x08]
0x05,0x00,0x56,0xd1,0x01,0x01,0x00,0x08

# CHECK: v_cvt_f64_u32_e64 v[5:6], v1 mul:4      ; encoding: [0x05,0x00,0x56,0xd1,0x01,0x01,0x00,0x10]
0x05,0x00,0x56,0xd1,0x01,0x01,0x00,0x10

# CHECK: v_cvt_f64_u32_e64 v[5:6], v1 div:2      ; encoding: [0x05,0x00,0x56,0xd1,0x01,0x01,0x00,0x18]
0x05,0x00,0x56,0xd1,0x01,0x01,0x00,0x18

# CHECK: v_trunc_f64_e64 v[5:6], v[1:2]          ; encoding: [0x05,0x00,0x57,0xd1,0x01,0x01,0x00,0x00]
0x05,0x00,0x57,0xd1,0x01,0x01,0x00,0x00

# CHECK: v_trunc_f64_e64 v[254:255], v[1:2]      ; encoding: [0xfe,0x00,0x57,0xd1,0x01,0x01,0x00,0x00]
0xfe,0x00,0x57,0xd1,0x01,0x01,0x00,0x00

# CHECK: v_trunc_f64_e64 v[5:6], v[254:255]      ; encoding: [0x05,0x00,0x57,0xd1,0xfe,0x01,0x00,0x00]
0x05,0x00,0x57,0xd1,0xfe,0x01,0x00,0x00

# CHECK: v_trunc_f64_e64 v[5:6], s[2:3]          ; encoding: [0x05,0x00,0x57,0xd1,0x02,0x00,0x00,0x00]
0x05,0x00,0x57,0xd1,0x02,0x00,0x00,0x00

# CHECK: v_trunc_f64_e64 v[5:6], s[4:5]          ; encoding: [0x05,0x00,0x57,0xd1,0x04,0x00,0x00,0x00]
0x05,0x00,0x57,0xd1,0x04,0x00,0x00,0x00

# CHECK: v_trunc_f64_e64 v[5:6], s[100:101]      ; encoding: [0x05,0x00,0x57,0xd1,0x64,0x00,0x00,0x00]
0x05,0x00,0x57,0xd1,0x64,0x00,0x00,0x00

# CHECK: v_trunc_f64_e64 v[5:6], flat_scratch    ; encoding: [0x05,0x00,0x57,0xd1,0x66,0x00,0x00,0x00]
0x05,0x00,0x57,0xd1,0x66,0x00,0x00,0x00

# CHECK: v_trunc_f64_e64 v[5:6], vcc             ; encoding: [0x05,0x00,0x57,0xd1,0x6a,0x00,0x00,0x00]
0x05,0x00,0x57,0xd1,0x6a,0x00,0x00,0x00

# CHECK: v_trunc_f64_e64 v[5:6], tba             ; encoding: [0x05,0x00,0x57,0xd1,0x6c,0x00,0x00,0x00]
0x05,0x00,0x57,0xd1,0x6c,0x00,0x00,0x00

# CHECK: v_trunc_f64_e64 v[5:6], tma             ; encoding: [0x05,0x00,0x57,0xd1,0x6e,0x00,0x00,0x00]
0x05,0x00,0x57,0xd1,0x6e,0x00,0x00,0x00

# CHECK: v_trunc_f64_e64 v[5:6], ttmp[10:11]     ; encoding: [0x05,0x00,0x57,0xd1,0x7a,0x00,0x00,0x00]
0x05,0x00,0x57,0xd1,0x7a,0x00,0x00,0x00

# CHECK: v_trunc_f64_e64 v[5:6], exec            ; encoding: [0x05,0x00,0x57,0xd1,0x7e,0x00,0x00,0x00]
0x05,0x00,0x57,0xd1,0x7e,0x00,0x00,0x00

# CHECK: v_trunc_f64_e64 v[5:6], 0               ; encoding: [0x05,0x00,0x57,0xd1,0x80,0x00,0x00,0x00]
0x05,0x00,0x57,0xd1,0x80,0x00,0x00,0x00

# CHECK: v_trunc_f64_e64 v[5:6], -1              ; encoding: [0x05,0x00,0x57,0xd1,0xc1,0x00,0x00,0x00]
0x05,0x00,0x57,0xd1,0xc1,0x00,0x00,0x00

# CHECK: v_trunc_f64_e64 v[5:6], 0.5             ; encoding: [0x05,0x00,0x57,0xd1,0xf0,0x00,0x00,0x00]
0x05,0x00,0x57,0xd1,0xf0,0x00,0x00,0x00

# CHECK: v_trunc_f64_e64 v[5:6], -4.0            ; encoding: [0x05,0x00,0x57,0xd1,0xf7,0x00,0x00,0x00]
0x05,0x00,0x57,0xd1,0xf7,0x00,0x00,0x00

# CHECK: v_trunc_f64_e64 v[5:6], -v[1:2]         ; encoding: [0x05,0x00,0x57,0xd1,0x01,0x01,0x00,0x20]
0x05,0x00,0x57,0xd1,0x01,0x01,0x00,0x20

# CHECK: v_trunc_f64_e64 v[5:6], |v[1:2]|        ; encoding: [0x05,0x01,0x57,0xd1,0x01,0x01,0x00,0x00]
0x05,0x01,0x57,0xd1,0x01,0x01,0x00,0x00

# CHECK: v_trunc_f64_e64 v[5:6], v[1:2] clamp    ; encoding: [0x05,0x80,0x57,0xd1,0x01,0x01,0x00,0x00]
0x05,0x80,0x57,0xd1,0x01,0x01,0x00,0x00

# CHECK: v_trunc_f64_e64 v[5:6], v[1:2] mul:2    ; encoding: [0x05,0x00,0x57,0xd1,0x01,0x01,0x00,0x08]
0x05,0x00,0x57,0xd1,0x01,0x01,0x00,0x08

# CHECK: v_trunc_f64_e64 v[5:6], v[1:2] mul:4    ; encoding: [0x05,0x00,0x57,0xd1,0x01,0x01,0x00,0x10]
0x05,0x00,0x57,0xd1,0x01,0x01,0x00,0x10

# CHECK: v_trunc_f64_e64 v[5:6], v[1:2] div:2    ; encoding: [0x05,0x00,0x57,0xd1,0x01,0x01,0x00,0x18]
0x05,0x00,0x57,0xd1,0x01,0x01,0x00,0x18

# CHECK: v_ceil_f64_e64 v[5:6], v[1:2]           ; encoding: [0x05,0x00,0x58,0xd1,0x01,0x01,0x00,0x00]
0x05,0x00,0x58,0xd1,0x01,0x01,0x00,0x00

# CHECK: v_ceil_f64_e64 v[254:255], v[1:2]       ; encoding: [0xfe,0x00,0x58,0xd1,0x01,0x01,0x00,0x00]
0xfe,0x00,0x58,0xd1,0x01,0x01,0x00,0x00

# CHECK: v_ceil_f64_e64 v[5:6], v[254:255]       ; encoding: [0x05,0x00,0x58,0xd1,0xfe,0x01,0x00,0x00]
0x05,0x00,0x58,0xd1,0xfe,0x01,0x00,0x00

# CHECK: v_ceil_f64_e64 v[5:6], s[2:3]           ; encoding: [0x05,0x00,0x58,0xd1,0x02,0x00,0x00,0x00]
0x05,0x00,0x58,0xd1,0x02,0x00,0x00,0x00

# CHECK: v_ceil_f64_e64 v[5:6], s[4:5]           ; encoding: [0x05,0x00,0x58,0xd1,0x04,0x00,0x00,0x00]
0x05,0x00,0x58,0xd1,0x04,0x00,0x00,0x00

# CHECK: v_ceil_f64_e64 v[5:6], s[100:101]       ; encoding: [0x05,0x00,0x58,0xd1,0x64,0x00,0x00,0x00]
0x05,0x00,0x58,0xd1,0x64,0x00,0x00,0x00

# CHECK: v_ceil_f64_e64 v[5:6], flat_scratch     ; encoding: [0x05,0x00,0x58,0xd1,0x66,0x00,0x00,0x00]
0x05,0x00,0x58,0xd1,0x66,0x00,0x00,0x00

# CHECK: v_ceil_f64_e64 v[5:6], vcc              ; encoding: [0x05,0x00,0x58,0xd1,0x6a,0x00,0x00,0x00]
0x05,0x00,0x58,0xd1,0x6a,0x00,0x00,0x00

# CHECK: v_ceil_f64_e64 v[5:6], tba              ; encoding: [0x05,0x00,0x58,0xd1,0x6c,0x00,0x00,0x00]
0x05,0x00,0x58,0xd1,0x6c,0x00,0x00,0x00

# CHECK: v_ceil_f64_e64 v[5:6], tma              ; encoding: [0x05,0x00,0x58,0xd1,0x6e,0x00,0x00,0x00]
0x05,0x00,0x58,0xd1,0x6e,0x00,0x00,0x00

# CHECK: v_ceil_f64_e64 v[5:6], ttmp[10:11]      ; encoding: [0x05,0x00,0x58,0xd1,0x7a,0x00,0x00,0x00]
0x05,0x00,0x58,0xd1,0x7a,0x00,0x00,0x00

# CHECK: v_ceil_f64_e64 v[5:6], exec             ; encoding: [0x05,0x00,0x58,0xd1,0x7e,0x00,0x00,0x00]
0x05,0x00,0x58,0xd1,0x7e,0x00,0x00,0x00

# CHECK: v_ceil_f64_e64 v[5:6], 0                ; encoding: [0x05,0x00,0x58,0xd1,0x80,0x00,0x00,0x00]
0x05,0x00,0x58,0xd1,0x80,0x00,0x00,0x00

# CHECK: v_ceil_f64_e64 v[5:6], -1               ; encoding: [0x05,0x00,0x58,0xd1,0xc1,0x00,0x00,0x00]
0x05,0x00,0x58,0xd1,0xc1,0x00,0x00,0x00

# CHECK: v_ceil_f64_e64 v[5:6], 0.5              ; encoding: [0x05,0x00,0x58,0xd1,0xf0,0x00,0x00,0x00]
0x05,0x00,0x58,0xd1,0xf0,0x00,0x00,0x00

# CHECK: v_ceil_f64_e64 v[5:6], -4.0             ; encoding: [0x05,0x00,0x58,0xd1,0xf7,0x00,0x00,0x00]
0x05,0x00,0x58,0xd1,0xf7,0x00,0x00,0x00

# CHECK: v_ceil_f64_e64 v[5:6], -v[1:2]          ; encoding: [0x05,0x00,0x58,0xd1,0x01,0x01,0x00,0x20]
0x05,0x00,0x58,0xd1,0x01,0x01,0x00,0x20

# CHECK: v_ceil_f64_e64 v[5:6], |v[1:2]|         ; encoding: [0x05,0x01,0x58,0xd1,0x01,0x01,0x00,0x00]
0x05,0x01,0x58,0xd1,0x01,0x01,0x00,0x00

# CHECK: v_ceil_f64_e64 v[5:6], v[1:2] clamp     ; encoding: [0x05,0x80,0x58,0xd1,0x01,0x01,0x00,0x00]
0x05,0x80,0x58,0xd1,0x01,0x01,0x00,0x00

# CHECK: v_ceil_f64_e64 v[5:6], v[1:2] mul:2     ; encoding: [0x05,0x00,0x58,0xd1,0x01,0x01,0x00,0x08]
0x05,0x00,0x58,0xd1,0x01,0x01,0x00,0x08

# CHECK: v_ceil_f64_e64 v[5:6], v[1:2] mul:4     ; encoding: [0x05,0x00,0x58,0xd1,0x01,0x01,0x00,0x10]
0x05,0x00,0x58,0xd1,0x01,0x01,0x00,0x10

# CHECK: v_ceil_f64_e64 v[5:6], v[1:2] div:2     ; encoding: [0x05,0x00,0x58,0xd1,0x01,0x01,0x00,0x18]
0x05,0x00,0x58,0xd1,0x01,0x01,0x00,0x18

# CHECK: v_rndne_f64_e64 v[5:6], v[1:2]          ; encoding: [0x05,0x00,0x59,0xd1,0x01,0x01,0x00,0x00]
0x05,0x00,0x59,0xd1,0x01,0x01,0x00,0x00

# CHECK: v_rndne_f64_e64 v[254:255], v[1:2]      ; encoding: [0xfe,0x00,0x59,0xd1,0x01,0x01,0x00,0x00]
0xfe,0x00,0x59,0xd1,0x01,0x01,0x00,0x00

# CHECK: v_rndne_f64_e64 v[5:6], v[254:255]      ; encoding: [0x05,0x00,0x59,0xd1,0xfe,0x01,0x00,0x00]
0x05,0x00,0x59,0xd1,0xfe,0x01,0x00,0x00

# CHECK: v_rndne_f64_e64 v[5:6], s[2:3]          ; encoding: [0x05,0x00,0x59,0xd1,0x02,0x00,0x00,0x00]
0x05,0x00,0x59,0xd1,0x02,0x00,0x00,0x00

# CHECK: v_rndne_f64_e64 v[5:6], s[4:5]          ; encoding: [0x05,0x00,0x59,0xd1,0x04,0x00,0x00,0x00]
0x05,0x00,0x59,0xd1,0x04,0x00,0x00,0x00

# CHECK: v_rndne_f64_e64 v[5:6], s[100:101]      ; encoding: [0x05,0x00,0x59,0xd1,0x64,0x00,0x00,0x00]
0x05,0x00,0x59,0xd1,0x64,0x00,0x00,0x00

# CHECK: v_rndne_f64_e64 v[5:6], flat_scratch    ; encoding: [0x05,0x00,0x59,0xd1,0x66,0x00,0x00,0x00]
0x05,0x00,0x59,0xd1,0x66,0x00,0x00,0x00

# CHECK: v_rndne_f64_e64 v[5:6], vcc             ; encoding: [0x05,0x00,0x59,0xd1,0x6a,0x00,0x00,0x00]
0x05,0x00,0x59,0xd1,0x6a,0x00,0x00,0x00

# CHECK: v_rndne_f64_e64 v[5:6], tba             ; encoding: [0x05,0x00,0x59,0xd1,0x6c,0x00,0x00,0x00]
0x05,0x00,0x59,0xd1,0x6c,0x00,0x00,0x00

# CHECK: v_rndne_f64_e64 v[5:6], tma             ; encoding: [0x05,0x00,0x59,0xd1,0x6e,0x00,0x00,0x00]
0x05,0x00,0x59,0xd1,0x6e,0x00,0x00,0x00

# CHECK: v_rndne_f64_e64 v[5:6], ttmp[10:11]     ; encoding: [0x05,0x00,0x59,0xd1,0x7a,0x00,0x00,0x00]
0x05,0x00,0x59,0xd1,0x7a,0x00,0x00,0x00

# CHECK: v_rndne_f64_e64 v[5:6], exec            ; encoding: [0x05,0x00,0x59,0xd1,0x7e,0x00,0x00,0x00]
0x05,0x00,0x59,0xd1,0x7e,0x00,0x00,0x00

# CHECK: v_rndne_f64_e64 v[5:6], 0               ; encoding: [0x05,0x00,0x59,0xd1,0x80,0x00,0x00,0x00]
0x05,0x00,0x59,0xd1,0x80,0x00,0x00,0x00

# CHECK: v_rndne_f64_e64 v[5:6], -1              ; encoding: [0x05,0x00,0x59,0xd1,0xc1,0x00,0x00,0x00]
0x05,0x00,0x59,0xd1,0xc1,0x00,0x00,0x00

# CHECK: v_rndne_f64_e64 v[5:6], 0.5             ; encoding: [0x05,0x00,0x59,0xd1,0xf0,0x00,0x00,0x00]
0x05,0x00,0x59,0xd1,0xf0,0x00,0x00,0x00

# CHECK: v_rndne_f64_e64 v[5:6], -4.0            ; encoding: [0x05,0x00,0x59,0xd1,0xf7,0x00,0x00,0x00]
0x05,0x00,0x59,0xd1,0xf7,0x00,0x00,0x00

# CHECK: v_rndne_f64_e64 v[5:6], -v[1:2]         ; encoding: [0x05,0x00,0x59,0xd1,0x01,0x01,0x00,0x20]
0x05,0x00,0x59,0xd1,0x01,0x01,0x00,0x20

# CHECK: v_rndne_f64_e64 v[5:6], v[1:2] clamp    ; encoding: [0x05,0x80,0x59,0xd1,0x01,0x01,0x00,0x00]
0x05,0x80,0x59,0xd1,0x01,0x01,0x00,0x00

# CHECK: v_rndne_f64_e64 v[5:6], v[1:2] mul:2    ; encoding: [0x05,0x00,0x59,0xd1,0x01,0x01,0x00,0x08]
0x05,0x00,0x59,0xd1,0x01,0x01,0x00,0x08

# CHECK: v_rndne_f64_e64 v[5:6], v[1:2] mul:4    ; encoding: [0x05,0x00,0x59,0xd1,0x01,0x01,0x00,0x10]
0x05,0x00,0x59,0xd1,0x01,0x01,0x00,0x10

# CHECK: v_rndne_f64_e64 v[5:6], v[1:2] div:2    ; encoding: [0x05,0x00,0x59,0xd1,0x01,0x01,0x00,0x18]
0x05,0x00,0x59,0xd1,0x01,0x01,0x00,0x18

# CHECK: v_floor_f64_e64 v[5:6], v[1:2]          ; encoding: [0x05,0x00,0x5a,0xd1,0x01,0x01,0x00,0x00]
0x05,0x00,0x5a,0xd1,0x01,0x01,0x00,0x00

# CHECK: v_floor_f64_e64 v[254:255], v[1:2]      ; encoding: [0xfe,0x00,0x5a,0xd1,0x01,0x01,0x00,0x00]
0xfe,0x00,0x5a,0xd1,0x01,0x01,0x00,0x00

# CHECK: v_floor_f64_e64 v[5:6], v[254:255]      ; encoding: [0x05,0x00,0x5a,0xd1,0xfe,0x01,0x00,0x00]
0x05,0x00,0x5a,0xd1,0xfe,0x01,0x00,0x00

# CHECK: v_floor_f64_e64 v[5:6], s[2:3]          ; encoding: [0x05,0x00,0x5a,0xd1,0x02,0x00,0x00,0x00]
0x05,0x00,0x5a,0xd1,0x02,0x00,0x00,0x00

# CHECK: v_floor_f64_e64 v[5:6], s[4:5]          ; encoding: [0x05,0x00,0x5a,0xd1,0x04,0x00,0x00,0x00]
0x05,0x00,0x5a,0xd1,0x04,0x00,0x00,0x00

# CHECK: v_floor_f64_e64 v[5:6], s[100:101]      ; encoding: [0x05,0x00,0x5a,0xd1,0x64,0x00,0x00,0x00]
0x05,0x00,0x5a,0xd1,0x64,0x00,0x00,0x00

# CHECK: v_floor_f64_e64 v[5:6], flat_scratch    ; encoding: [0x05,0x00,0x5a,0xd1,0x66,0x00,0x00,0x00]
0x05,0x00,0x5a,0xd1,0x66,0x00,0x00,0x00

# CHECK: v_floor_f64_e64 v[5:6], vcc             ; encoding: [0x05,0x00,0x5a,0xd1,0x6a,0x00,0x00,0x00]
0x05,0x00,0x5a,0xd1,0x6a,0x00,0x00,0x00

# CHECK: v_floor_f64_e64 v[5:6], tba             ; encoding: [0x05,0x00,0x5a,0xd1,0x6c,0x00,0x00,0x00]
0x05,0x00,0x5a,0xd1,0x6c,0x00,0x00,0x00

# CHECK: v_floor_f64_e64 v[5:6], tma             ; encoding: [0x05,0x00,0x5a,0xd1,0x6e,0x00,0x00,0x00]
0x05,0x00,0x5a,0xd1,0x6e,0x00,0x00,0x00

# CHECK: v_floor_f64_e64 v[5:6], ttmp[10:11]     ; encoding: [0x05,0x00,0x5a,0xd1,0x7a,0x00,0x00,0x00]
0x05,0x00,0x5a,0xd1,0x7a,0x00,0x00,0x00

# CHECK: v_floor_f64_e64 v[5:6], exec            ; encoding: [0x05,0x00,0x5a,0xd1,0x7e,0x00,0x00,0x00]
0x05,0x00,0x5a,0xd1,0x7e,0x00,0x00,0x00

# CHECK: v_floor_f64_e64 v[5:6], 0               ; encoding: [0x05,0x00,0x5a,0xd1,0x80,0x00,0x00,0x00]
0x05,0x00,0x5a,0xd1,0x80,0x00,0x00,0x00

# CHECK: v_floor_f64_e64 v[5:6], -1              ; encoding: [0x05,0x00,0x5a,0xd1,0xc1,0x00,0x00,0x00]
0x05,0x00,0x5a,0xd1,0xc1,0x00,0x00,0x00

# CHECK: v_floor_f64_e64 v[5:6], 0.5             ; encoding: [0x05,0x00,0x5a,0xd1,0xf0,0x00,0x00,0x00]
0x05,0x00,0x5a,0xd1,0xf0,0x00,0x00,0x00

# CHECK: v_floor_f64_e64 v[5:6], -4.0            ; encoding: [0x05,0x00,0x5a,0xd1,0xf7,0x00,0x00,0x00]
0x05,0x00,0x5a,0xd1,0xf7,0x00,0x00,0x00

# CHECK: v_floor_f64_e64 v[5:6], -v[1:2]         ; encoding: [0x05,0x00,0x5a,0xd1,0x01,0x01,0x00,0x20]
0x05,0x00,0x5a,0xd1,0x01,0x01,0x00,0x20

# CHECK: v_floor_f64_e64 v[5:6], v[1:2] clamp    ; encoding: [0x05,0x80,0x5a,0xd1,0x01,0x01,0x00,0x00]
0x05,0x80,0x5a,0xd1,0x01,0x01,0x00,0x00

# CHECK: v_floor_f64_e64 v[5:6], v[1:2] mul:2    ; encoding: [0x05,0x00,0x5a,0xd1,0x01,0x01,0x00,0x08]
0x05,0x00,0x5a,0xd1,0x01,0x01,0x00,0x08

# CHECK: v_floor_f64_e64 v[5:6], v[1:2] mul:4    ; encoding: [0x05,0x00,0x5a,0xd1,0x01,0x01,0x00,0x10]
0x05,0x00,0x5a,0xd1,0x01,0x01,0x00,0x10

# CHECK: v_floor_f64_e64 v[5:6], v[1:2] div:2    ; encoding: [0x05,0x00,0x5a,0xd1,0x01,0x01,0x00,0x18]
0x05,0x00,0x5a,0xd1,0x01,0x01,0x00,0x18

# CHECK: v_fract_f32_e64 v5, v1                  ; encoding: [0x05,0x00,0x5b,0xd1,0x01,0x01,0x00,0x00]
0x05,0x00,0x5b,0xd1,0x01,0x01,0x00,0x00

# CHECK: v_fract_f32_e64 v255, v1                ; encoding: [0xff,0x00,0x5b,0xd1,0x01,0x01,0x00,0x00]
0xff,0x00,0x5b,0xd1,0x01,0x01,0x00,0x00

# CHECK: v_fract_f32_e64 v5, v255                ; encoding: [0x05,0x00,0x5b,0xd1,0xff,0x01,0x00,0x00]
0x05,0x00,0x5b,0xd1,0xff,0x01,0x00,0x00

# CHECK: v_fract_f32_e64 v5, s1                  ; encoding: [0x05,0x00,0x5b,0xd1,0x01,0x00,0x00,0x00]
0x05,0x00,0x5b,0xd1,0x01,0x00,0x00,0x00

# CHECK: v_fract_f32_e64 v5, s101                ; encoding: [0x05,0x00,0x5b,0xd1,0x65,0x00,0x00,0x00]
0x05,0x00,0x5b,0xd1,0x65,0x00,0x00,0x00

# CHECK: v_fract_f32_e64 v5, flat_scratch_lo     ; encoding: [0x05,0x00,0x5b,0xd1,0x66,0x00,0x00,0x00]
0x05,0x00,0x5b,0xd1,0x66,0x00,0x00,0x00

# CHECK: v_fract_f32_e64 v5, flat_scratch_hi     ; encoding: [0x05,0x00,0x5b,0xd1,0x67,0x00,0x00,0x00]
0x05,0x00,0x5b,0xd1,0x67,0x00,0x00,0x00

# CHECK: v_fract_f32_e64 v5, vcc_lo              ; encoding: [0x05,0x00,0x5b,0xd1,0x6a,0x00,0x00,0x00]
0x05,0x00,0x5b,0xd1,0x6a,0x00,0x00,0x00

# CHECK: v_fract_f32_e64 v5, vcc_hi              ; encoding: [0x05,0x00,0x5b,0xd1,0x6b,0x00,0x00,0x00]
0x05,0x00,0x5b,0xd1,0x6b,0x00,0x00,0x00

# CHECK: v_fract_f32_e64 v5, tba_lo              ; encoding: [0x05,0x00,0x5b,0xd1,0x6c,0x00,0x00,0x00]
0x05,0x00,0x5b,0xd1,0x6c,0x00,0x00,0x00

# CHECK: v_fract_f32_e64 v5, tba_hi              ; encoding: [0x05,0x00,0x5b,0xd1,0x6d,0x00,0x00,0x00]
0x05,0x00,0x5b,0xd1,0x6d,0x00,0x00,0x00

# CHECK: v_fract_f32_e64 v5, tma_lo              ; encoding: [0x05,0x00,0x5b,0xd1,0x6e,0x00,0x00,0x00]
0x05,0x00,0x5b,0xd1,0x6e,0x00,0x00,0x00

# CHECK: v_fract_f32_e64 v5, tma_hi              ; encoding: [0x05,0x00,0x5b,0xd1,0x6f,0x00,0x00,0x00]
0x05,0x00,0x5b,0xd1,0x6f,0x00,0x00,0x00

# CHECK: v_fract_f32_e64 v5, ttmp11              ; encoding: [0x05,0x00,0x5b,0xd1,0x7b,0x00,0x00,0x00]
0x05,0x00,0x5b,0xd1,0x7b,0x00,0x00,0x00

# CHECK: v_fract_f32_e64 v5, m0                  ; encoding: [0x05,0x00,0x5b,0xd1,0x7c,0x00,0x00,0x00]
0x05,0x00,0x5b,0xd1,0x7c,0x00,0x00,0x00

# CHECK: v_fract_f32_e64 v5, exec_lo             ; encoding: [0x05,0x00,0x5b,0xd1,0x7e,0x00,0x00,0x00]
0x05,0x00,0x5b,0xd1,0x7e,0x00,0x00,0x00

# CHECK: v_fract_f32_e64 v5, exec_hi             ; encoding: [0x05,0x00,0x5b,0xd1,0x7f,0x00,0x00,0x00]
0x05,0x00,0x5b,0xd1,0x7f,0x00,0x00,0x00

# CHECK: v_fract_f32_e64 v5, 0                   ; encoding: [0x05,0x00,0x5b,0xd1,0x80,0x00,0x00,0x00]
0x05,0x00,0x5b,0xd1,0x80,0x00,0x00,0x00

# CHECK: v_fract_f32_e64 v5, -1                  ; encoding: [0x05,0x00,0x5b,0xd1,0xc1,0x00,0x00,0x00]
0x05,0x00,0x5b,0xd1,0xc1,0x00,0x00,0x00

# CHECK: v_fract_f32_e64 v5, 0.5                 ; encoding: [0x05,0x00,0x5b,0xd1,0xf0,0x00,0x00,0x00]
0x05,0x00,0x5b,0xd1,0xf0,0x00,0x00,0x00

# CHECK: v_fract_f32_e64 v5, -4.0                ; encoding: [0x05,0x00,0x5b,0xd1,0xf7,0x00,0x00,0x00]
0x05,0x00,0x5b,0xd1,0xf7,0x00,0x00,0x00

# CHECK: v_fract_f32_e64 v5, -v1                 ; encoding: [0x05,0x00,0x5b,0xd1,0x01,0x01,0x00,0x20]
0x05,0x00,0x5b,0xd1,0x01,0x01,0x00,0x20

# CHECK: v_fract_f32_e64 v5, v1 clamp            ; encoding: [0x05,0x80,0x5b,0xd1,0x01,0x01,0x00,0x00]
0x05,0x80,0x5b,0xd1,0x01,0x01,0x00,0x00

# CHECK: v_fract_f32_e64 v5, v1 mul:2            ; encoding: [0x05,0x00,0x5b,0xd1,0x01,0x01,0x00,0x08]
0x05,0x00,0x5b,0xd1,0x01,0x01,0x00,0x08

# CHECK: v_fract_f32_e64 v5, v1 mul:4            ; encoding: [0x05,0x00,0x5b,0xd1,0x01,0x01,0x00,0x10]
0x05,0x00,0x5b,0xd1,0x01,0x01,0x00,0x10

# CHECK: v_fract_f32_e64 v5, v1 div:2            ; encoding: [0x05,0x00,0x5b,0xd1,0x01,0x01,0x00,0x18]
0x05,0x00,0x5b,0xd1,0x01,0x01,0x00,0x18

# CHECK: v_trunc_f32_e64 v5, v1                  ; encoding: [0x05,0x00,0x5c,0xd1,0x01,0x01,0x00,0x00]
0x05,0x00,0x5c,0xd1,0x01,0x01,0x00,0x00

# CHECK: v_trunc_f32_e64 v255, v1                ; encoding: [0xff,0x00,0x5c,0xd1,0x01,0x01,0x00,0x00]
0xff,0x00,0x5c,0xd1,0x01,0x01,0x00,0x00

# CHECK: v_trunc_f32_e64 v5, v255                ; encoding: [0x05,0x00,0x5c,0xd1,0xff,0x01,0x00,0x00]
0x05,0x00,0x5c,0xd1,0xff,0x01,0x00,0x00

# CHECK: v_trunc_f32_e64 v5, s1                  ; encoding: [0x05,0x00,0x5c,0xd1,0x01,0x00,0x00,0x00]
0x05,0x00,0x5c,0xd1,0x01,0x00,0x00,0x00

# CHECK: v_trunc_f32_e64 v5, s101                ; encoding: [0x05,0x00,0x5c,0xd1,0x65,0x00,0x00,0x00]
0x05,0x00,0x5c,0xd1,0x65,0x00,0x00,0x00

# CHECK: v_trunc_f32_e64 v5, flat_scratch_lo     ; encoding: [0x05,0x00,0x5c,0xd1,0x66,0x00,0x00,0x00]
0x05,0x00,0x5c,0xd1,0x66,0x00,0x00,0x00

# CHECK: v_trunc_f32_e64 v5, flat_scratch_hi     ; encoding: [0x05,0x00,0x5c,0xd1,0x67,0x00,0x00,0x00]
0x05,0x00,0x5c,0xd1,0x67,0x00,0x00,0x00

# CHECK: v_trunc_f32_e64 v5, vcc_lo              ; encoding: [0x05,0x00,0x5c,0xd1,0x6a,0x00,0x00,0x00]
0x05,0x00,0x5c,0xd1,0x6a,0x00,0x00,0x00

# CHECK: v_trunc_f32_e64 v5, vcc_hi              ; encoding: [0x05,0x00,0x5c,0xd1,0x6b,0x00,0x00,0x00]
0x05,0x00,0x5c,0xd1,0x6b,0x00,0x00,0x00

# CHECK: v_trunc_f32_e64 v5, tba_lo              ; encoding: [0x05,0x00,0x5c,0xd1,0x6c,0x00,0x00,0x00]
0x05,0x00,0x5c,0xd1,0x6c,0x00,0x00,0x00

# CHECK: v_trunc_f32_e64 v5, tba_hi              ; encoding: [0x05,0x00,0x5c,0xd1,0x6d,0x00,0x00,0x00]
0x05,0x00,0x5c,0xd1,0x6d,0x00,0x00,0x00

# CHECK: v_trunc_f32_e64 v5, tma_lo              ; encoding: [0x05,0x00,0x5c,0xd1,0x6e,0x00,0x00,0x00]
0x05,0x00,0x5c,0xd1,0x6e,0x00,0x00,0x00

# CHECK: v_trunc_f32_e64 v5, tma_hi              ; encoding: [0x05,0x00,0x5c,0xd1,0x6f,0x00,0x00,0x00]
0x05,0x00,0x5c,0xd1,0x6f,0x00,0x00,0x00

# CHECK: v_trunc_f32_e64 v5, ttmp11              ; encoding: [0x05,0x00,0x5c,0xd1,0x7b,0x00,0x00,0x00]
0x05,0x00,0x5c,0xd1,0x7b,0x00,0x00,0x00

# CHECK: v_trunc_f32_e64 v5, m0                  ; encoding: [0x05,0x00,0x5c,0xd1,0x7c,0x00,0x00,0x00]
0x05,0x00,0x5c,0xd1,0x7c,0x00,0x00,0x00

# CHECK: v_trunc_f32_e64 v5, exec_lo             ; encoding: [0x05,0x00,0x5c,0xd1,0x7e,0x00,0x00,0x00]
0x05,0x00,0x5c,0xd1,0x7e,0x00,0x00,0x00

# CHECK: v_trunc_f32_e64 v5, exec_hi             ; encoding: [0x05,0x00,0x5c,0xd1,0x7f,0x00,0x00,0x00]
0x05,0x00,0x5c,0xd1,0x7f,0x00,0x00,0x00

# CHECK: v_trunc_f32_e64 v5, 0                   ; encoding: [0x05,0x00,0x5c,0xd1,0x80,0x00,0x00,0x00]
0x05,0x00,0x5c,0xd1,0x80,0x00,0x00,0x00

# CHECK: v_trunc_f32_e64 v5, -1                  ; encoding: [0x05,0x00,0x5c,0xd1,0xc1,0x00,0x00,0x00]
0x05,0x00,0x5c,0xd1,0xc1,0x00,0x00,0x00

# CHECK: v_trunc_f32_e64 v5, 0.5                 ; encoding: [0x05,0x00,0x5c,0xd1,0xf0,0x00,0x00,0x00]
0x05,0x00,0x5c,0xd1,0xf0,0x00,0x00,0x00

# CHECK: v_trunc_f32_e64 v5, -4.0                ; encoding: [0x05,0x00,0x5c,0xd1,0xf7,0x00,0x00,0x00]
0x05,0x00,0x5c,0xd1,0xf7,0x00,0x00,0x00

# CHECK: v_trunc_f32_e64 v5, -v1                 ; encoding: [0x05,0x00,0x5c,0xd1,0x01,0x01,0x00,0x20]
0x05,0x00,0x5c,0xd1,0x01,0x01,0x00,0x20

# CHECK: v_trunc_f32_e64 v5, v1 clamp            ; encoding: [0x05,0x80,0x5c,0xd1,0x01,0x01,0x00,0x00]
0x05,0x80,0x5c,0xd1,0x01,0x01,0x00,0x00

# CHECK: v_trunc_f32_e64 v5, v1 mul:2            ; encoding: [0x05,0x00,0x5c,0xd1,0x01,0x01,0x00,0x08]
0x05,0x00,0x5c,0xd1,0x01,0x01,0x00,0x08

# CHECK: v_trunc_f32_e64 v5, v1 mul:4            ; encoding: [0x05,0x00,0x5c,0xd1,0x01,0x01,0x00,0x10]
0x05,0x00,0x5c,0xd1,0x01,0x01,0x00,0x10

# CHECK: v_trunc_f32_e64 v5, v1 div:2            ; encoding: [0x05,0x00,0x5c,0xd1,0x01,0x01,0x00,0x18]
0x05,0x00,0x5c,0xd1,0x01,0x01,0x00,0x18

# CHECK: v_ceil_f32_e64 v5, v1                   ; encoding: [0x05,0x00,0x5d,0xd1,0x01,0x01,0x00,0x00]
0x05,0x00,0x5d,0xd1,0x01,0x01,0x00,0x00

# CHECK: v_ceil_f32_e64 v255, v1                 ; encoding: [0xff,0x00,0x5d,0xd1,0x01,0x01,0x00,0x00]
0xff,0x00,0x5d,0xd1,0x01,0x01,0x00,0x00

# CHECK: v_ceil_f32_e64 v5, v255                 ; encoding: [0x05,0x00,0x5d,0xd1,0xff,0x01,0x00,0x00]
0x05,0x00,0x5d,0xd1,0xff,0x01,0x00,0x00

# CHECK: v_ceil_f32_e64 v5, s1                   ; encoding: [0x05,0x00,0x5d,0xd1,0x01,0x00,0x00,0x00]
0x05,0x00,0x5d,0xd1,0x01,0x00,0x00,0x00

# CHECK: v_ceil_f32_e64 v5, s101                 ; encoding: [0x05,0x00,0x5d,0xd1,0x65,0x00,0x00,0x00]
0x05,0x00,0x5d,0xd1,0x65,0x00,0x00,0x00

# CHECK: v_ceil_f32_e64 v5, flat_scratch_lo      ; encoding: [0x05,0x00,0x5d,0xd1,0x66,0x00,0x00,0x00]
0x05,0x00,0x5d,0xd1,0x66,0x00,0x00,0x00

# CHECK: v_ceil_f32_e64 v5, flat_scratch_hi      ; encoding: [0x05,0x00,0x5d,0xd1,0x67,0x00,0x00,0x00]
0x05,0x00,0x5d,0xd1,0x67,0x00,0x00,0x00

# CHECK: v_ceil_f32_e64 v5, vcc_lo               ; encoding: [0x05,0x00,0x5d,0xd1,0x6a,0x00,0x00,0x00]
0x05,0x00,0x5d,0xd1,0x6a,0x00,0x00,0x00

# CHECK: v_ceil_f32_e64 v5, vcc_hi               ; encoding: [0x05,0x00,0x5d,0xd1,0x6b,0x00,0x00,0x00]
0x05,0x00,0x5d,0xd1,0x6b,0x00,0x00,0x00

# CHECK: v_ceil_f32_e64 v5, tba_lo               ; encoding: [0x05,0x00,0x5d,0xd1,0x6c,0x00,0x00,0x00]
0x05,0x00,0x5d,0xd1,0x6c,0x00,0x00,0x00

# CHECK: v_ceil_f32_e64 v5, tba_hi               ; encoding: [0x05,0x00,0x5d,0xd1,0x6d,0x00,0x00,0x00]
0x05,0x00,0x5d,0xd1,0x6d,0x00,0x00,0x00

# CHECK: v_ceil_f32_e64 v5, tma_lo               ; encoding: [0x05,0x00,0x5d,0xd1,0x6e,0x00,0x00,0x00]
0x05,0x00,0x5d,0xd1,0x6e,0x00,0x00,0x00

# CHECK: v_ceil_f32_e64 v5, tma_hi               ; encoding: [0x05,0x00,0x5d,0xd1,0x6f,0x00,0x00,0x00]
0x05,0x00,0x5d,0xd1,0x6f,0x00,0x00,0x00

# CHECK: v_ceil_f32_e64 v5, ttmp11               ; encoding: [0x05,0x00,0x5d,0xd1,0x7b,0x00,0x00,0x00]
0x05,0x00,0x5d,0xd1,0x7b,0x00,0x00,0x00

# CHECK: v_ceil_f32_e64 v5, m0                   ; encoding: [0x05,0x00,0x5d,0xd1,0x7c,0x00,0x00,0x00]
0x05,0x00,0x5d,0xd1,0x7c,0x00,0x00,0x00

# CHECK: v_ceil_f32_e64 v5, exec_lo              ; encoding: [0x05,0x00,0x5d,0xd1,0x7e,0x00,0x00,0x00]
0x05,0x00,0x5d,0xd1,0x7e,0x00,0x00,0x00

# CHECK: v_ceil_f32_e64 v5, exec_hi              ; encoding: [0x05,0x00,0x5d,0xd1,0x7f,0x00,0x00,0x00]
0x05,0x00,0x5d,0xd1,0x7f,0x00,0x00,0x00

# CHECK: v_ceil_f32_e64 v5, 0                    ; encoding: [0x05,0x00,0x5d,0xd1,0x80,0x00,0x00,0x00]
0x05,0x00,0x5d,0xd1,0x80,0x00,0x00,0x00

# CHECK: v_ceil_f32_e64 v5, -1                   ; encoding: [0x05,0x00,0x5d,0xd1,0xc1,0x00,0x00,0x00]
0x05,0x00,0x5d,0xd1,0xc1,0x00,0x00,0x00

# CHECK: v_ceil_f32_e64 v5, 0.5                  ; encoding: [0x05,0x00,0x5d,0xd1,0xf0,0x00,0x00,0x00]
0x05,0x00,0x5d,0xd1,0xf0,0x00,0x00,0x00

# CHECK: v_ceil_f32_e64 v5, -4.0                 ; encoding: [0x05,0x00,0x5d,0xd1,0xf7,0x00,0x00,0x00]
0x05,0x00,0x5d,0xd1,0xf7,0x00,0x00,0x00

# CHECK: v_ceil_f32_e64 v5, -v1                  ; encoding: [0x05,0x00,0x5d,0xd1,0x01,0x01,0x00,0x20]
0x05,0x00,0x5d,0xd1,0x01,0x01,0x00,0x20

# CHECK: v_ceil_f32_e64 v5, v1 clamp             ; encoding: [0x05,0x80,0x5d,0xd1,0x01,0x01,0x00,0x00]
0x05,0x80,0x5d,0xd1,0x01,0x01,0x00,0x00

# CHECK: v_ceil_f32_e64 v5, v1 mul:2             ; encoding: [0x05,0x00,0x5d,0xd1,0x01,0x01,0x00,0x08]
0x05,0x00,0x5d,0xd1,0x01,0x01,0x00,0x08

# CHECK: v_ceil_f32_e64 v5, v1 mul:4             ; encoding: [0x05,0x00,0x5d,0xd1,0x01,0x01,0x00,0x10]
0x05,0x00,0x5d,0xd1,0x01,0x01,0x00,0x10

# CHECK: v_ceil_f32_e64 v5, v1 div:2             ; encoding: [0x05,0x00,0x5d,0xd1,0x01,0x01,0x00,0x18]
0x05,0x00,0x5d,0xd1,0x01,0x01,0x00,0x18

# CHECK: v_rndne_f32_e64 v5, v1                  ; encoding: [0x05,0x00,0x5e,0xd1,0x01,0x01,0x00,0x00]
0x05,0x00,0x5e,0xd1,0x01,0x01,0x00,0x00

# CHECK: v_rndne_f32_e64 v255, v1                ; encoding: [0xff,0x00,0x5e,0xd1,0x01,0x01,0x00,0x00]
0xff,0x00,0x5e,0xd1,0x01,0x01,0x00,0x00

# CHECK: v_rndne_f32_e64 v5, v255                ; encoding: [0x05,0x00,0x5e,0xd1,0xff,0x01,0x00,0x00]
0x05,0x00,0x5e,0xd1,0xff,0x01,0x00,0x00

# CHECK: v_rndne_f32_e64 v5, s1                  ; encoding: [0x05,0x00,0x5e,0xd1,0x01,0x00,0x00,0x00]
0x05,0x00,0x5e,0xd1,0x01,0x00,0x00,0x00

# CHECK: v_rndne_f32_e64 v5, s101                ; encoding: [0x05,0x00,0x5e,0xd1,0x65,0x00,0x00,0x00]
0x05,0x00,0x5e,0xd1,0x65,0x00,0x00,0x00

# CHECK: v_rndne_f32_e64 v5, flat_scratch_lo     ; encoding: [0x05,0x00,0x5e,0xd1,0x66,0x00,0x00,0x00]
0x05,0x00,0x5e,0xd1,0x66,0x00,0x00,0x00

# CHECK: v_rndne_f32_e64 v5, flat_scratch_hi     ; encoding: [0x05,0x00,0x5e,0xd1,0x67,0x00,0x00,0x00]
0x05,0x00,0x5e,0xd1,0x67,0x00,0x00,0x00

# CHECK: v_rndne_f32_e64 v5, vcc_lo              ; encoding: [0x05,0x00,0x5e,0xd1,0x6a,0x00,0x00,0x00]
0x05,0x00,0x5e,0xd1,0x6a,0x00,0x00,0x00

# CHECK: v_rndne_f32_e64 v5, vcc_hi              ; encoding: [0x05,0x00,0x5e,0xd1,0x6b,0x00,0x00,0x00]
0x05,0x00,0x5e,0xd1,0x6b,0x00,0x00,0x00

# CHECK: v_rndne_f32_e64 v5, tba_lo              ; encoding: [0x05,0x00,0x5e,0xd1,0x6c,0x00,0x00,0x00]
0x05,0x00,0x5e,0xd1,0x6c,0x00,0x00,0x00

# CHECK: v_rndne_f32_e64 v5, tba_hi              ; encoding: [0x05,0x00,0x5e,0xd1,0x6d,0x00,0x00,0x00]
0x05,0x00,0x5e,0xd1,0x6d,0x00,0x00,0x00

# CHECK: v_rndne_f32_e64 v5, tma_lo              ; encoding: [0x05,0x00,0x5e,0xd1,0x6e,0x00,0x00,0x00]
0x05,0x00,0x5e,0xd1,0x6e,0x00,0x00,0x00

# CHECK: v_rndne_f32_e64 v5, tma_hi              ; encoding: [0x05,0x00,0x5e,0xd1,0x6f,0x00,0x00,0x00]
0x05,0x00,0x5e,0xd1,0x6f,0x00,0x00,0x00

# CHECK: v_rndne_f32_e64 v5, ttmp11              ; encoding: [0x05,0x00,0x5e,0xd1,0x7b,0x00,0x00,0x00]
0x05,0x00,0x5e,0xd1,0x7b,0x00,0x00,0x00

# CHECK: v_rndne_f32_e64 v5, m0                  ; encoding: [0x05,0x00,0x5e,0xd1,0x7c,0x00,0x00,0x00]
0x05,0x00,0x5e,0xd1,0x7c,0x00,0x00,0x00

# CHECK: v_rndne_f32_e64 v5, exec_lo             ; encoding: [0x05,0x00,0x5e,0xd1,0x7e,0x00,0x00,0x00]
0x05,0x00,0x5e,0xd1,0x7e,0x00,0x00,0x00

# CHECK: v_rndne_f32_e64 v5, exec_hi             ; encoding: [0x05,0x00,0x5e,0xd1,0x7f,0x00,0x00,0x00]
0x05,0x00,0x5e,0xd1,0x7f,0x00,0x00,0x00

# CHECK: v_rndne_f32_e64 v5, 0                   ; encoding: [0x05,0x00,0x5e,0xd1,0x80,0x00,0x00,0x00]
0x05,0x00,0x5e,0xd1,0x80,0x00,0x00,0x00

# CHECK: v_rndne_f32_e64 v5, -1                  ; encoding: [0x05,0x00,0x5e,0xd1,0xc1,0x00,0x00,0x00]
0x05,0x00,0x5e,0xd1,0xc1,0x00,0x00,0x00

# CHECK: v_rndne_f32_e64 v5, 0.5                 ; encoding: [0x05,0x00,0x5e,0xd1,0xf0,0x00,0x00,0x00]
0x05,0x00,0x5e,0xd1,0xf0,0x00,0x00,0x00

# CHECK: v_rndne_f32_e64 v5, -4.0                ; encoding: [0x05,0x00,0x5e,0xd1,0xf7,0x00,0x00,0x00]
0x05,0x00,0x5e,0xd1,0xf7,0x00,0x00,0x00

# CHECK: v_rndne_f32_e64 v5, -v1                 ; encoding: [0x05,0x00,0x5e,0xd1,0x01,0x01,0x00,0x20]
0x05,0x00,0x5e,0xd1,0x01,0x01,0x00,0x20

# CHECK: v_rndne_f32_e64 v5, v1 clamp            ; encoding: [0x05,0x80,0x5e,0xd1,0x01,0x01,0x00,0x00]
0x05,0x80,0x5e,0xd1,0x01,0x01,0x00,0x00

# CHECK: v_rndne_f32_e64 v5, v1 mul:2            ; encoding: [0x05,0x00,0x5e,0xd1,0x01,0x01,0x00,0x08]
0x05,0x00,0x5e,0xd1,0x01,0x01,0x00,0x08

# CHECK: v_rndne_f32_e64 v5, v1 mul:4            ; encoding: [0x05,0x00,0x5e,0xd1,0x01,0x01,0x00,0x10]
0x05,0x00,0x5e,0xd1,0x01,0x01,0x00,0x10

# CHECK: v_rndne_f32_e64 v5, v1 div:2            ; encoding: [0x05,0x00,0x5e,0xd1,0x01,0x01,0x00,0x18]
0x05,0x00,0x5e,0xd1,0x01,0x01,0x00,0x18

# CHECK: v_floor_f32_e64 v5, v1                  ; encoding: [0x05,0x00,0x5f,0xd1,0x01,0x01,0x00,0x00]
0x05,0x00,0x5f,0xd1,0x01,0x01,0x00,0x00

# CHECK: v_floor_f32_e64 v255, v1                ; encoding: [0xff,0x00,0x5f,0xd1,0x01,0x01,0x00,0x00]
0xff,0x00,0x5f,0xd1,0x01,0x01,0x00,0x00

# CHECK: v_floor_f32_e64 v5, v255                ; encoding: [0x05,0x00,0x5f,0xd1,0xff,0x01,0x00,0x00]
0x05,0x00,0x5f,0xd1,0xff,0x01,0x00,0x00

# CHECK: v_floor_f32_e64 v5, s1                  ; encoding: [0x05,0x00,0x5f,0xd1,0x01,0x00,0x00,0x00]
0x05,0x00,0x5f,0xd1,0x01,0x00,0x00,0x00

# CHECK: v_floor_f32_e64 v5, s101                ; encoding: [0x05,0x00,0x5f,0xd1,0x65,0x00,0x00,0x00]
0x05,0x00,0x5f,0xd1,0x65,0x00,0x00,0x00

# CHECK: v_floor_f32_e64 v5, flat_scratch_lo     ; encoding: [0x05,0x00,0x5f,0xd1,0x66,0x00,0x00,0x00]
0x05,0x00,0x5f,0xd1,0x66,0x00,0x00,0x00

# CHECK: v_floor_f32_e64 v5, flat_scratch_hi     ; encoding: [0x05,0x00,0x5f,0xd1,0x67,0x00,0x00,0x00]
0x05,0x00,0x5f,0xd1,0x67,0x00,0x00,0x00

# CHECK: v_floor_f32_e64 v5, vcc_lo              ; encoding: [0x05,0x00,0x5f,0xd1,0x6a,0x00,0x00,0x00]
0x05,0x00,0x5f,0xd1,0x6a,0x00,0x00,0x00

# CHECK: v_floor_f32_e64 v5, vcc_hi              ; encoding: [0x05,0x00,0x5f,0xd1,0x6b,0x00,0x00,0x00]
0x05,0x00,0x5f,0xd1,0x6b,0x00,0x00,0x00

# CHECK: v_floor_f32_e64 v5, tba_lo              ; encoding: [0x05,0x00,0x5f,0xd1,0x6c,0x00,0x00,0x00]
0x05,0x00,0x5f,0xd1,0x6c,0x00,0x00,0x00

# CHECK: v_floor_f32_e64 v5, tba_hi              ; encoding: [0x05,0x00,0x5f,0xd1,0x6d,0x00,0x00,0x00]
0x05,0x00,0x5f,0xd1,0x6d,0x00,0x00,0x00

# CHECK: v_floor_f32_e64 v5, tma_lo              ; encoding: [0x05,0x00,0x5f,0xd1,0x6e,0x00,0x00,0x00]
0x05,0x00,0x5f,0xd1,0x6e,0x00,0x00,0x00

# CHECK: v_floor_f32_e64 v5, tma_hi              ; encoding: [0x05,0x00,0x5f,0xd1,0x6f,0x00,0x00,0x00]
0x05,0x00,0x5f,0xd1,0x6f,0x00,0x00,0x00

# CHECK: v_floor_f32_e64 v5, ttmp11              ; encoding: [0x05,0x00,0x5f,0xd1,0x7b,0x00,0x00,0x00]
0x05,0x00,0x5f,0xd1,0x7b,0x00,0x00,0x00

# CHECK: v_floor_f32_e64 v5, m0                  ; encoding: [0x05,0x00,0x5f,0xd1,0x7c,0x00,0x00,0x00]
0x05,0x00,0x5f,0xd1,0x7c,0x00,0x00,0x00

# CHECK: v_floor_f32_e64 v5, exec_lo             ; encoding: [0x05,0x00,0x5f,0xd1,0x7e,0x00,0x00,0x00]
0x05,0x00,0x5f,0xd1,0x7e,0x00,0x00,0x00

# CHECK: v_floor_f32_e64 v5, exec_hi             ; encoding: [0x05,0x00,0x5f,0xd1,0x7f,0x00,0x00,0x00]
0x05,0x00,0x5f,0xd1,0x7f,0x00,0x00,0x00

# CHECK: v_floor_f32_e64 v5, 0                   ; encoding: [0x05,0x00,0x5f,0xd1,0x80,0x00,0x00,0x00]
0x05,0x00,0x5f,0xd1,0x80,0x00,0x00,0x00

# CHECK: v_floor_f32_e64 v5, -1                  ; encoding: [0x05,0x00,0x5f,0xd1,0xc1,0x00,0x00,0x00]
0x05,0x00,0x5f,0xd1,0xc1,0x00,0x00,0x00

# CHECK: v_floor_f32_e64 v5, 0.5                 ; encoding: [0x05,0x00,0x5f,0xd1,0xf0,0x00,0x00,0x00]
0x05,0x00,0x5f,0xd1,0xf0,0x00,0x00,0x00

# CHECK: v_floor_f32_e64 v5, -4.0                ; encoding: [0x05,0x00,0x5f,0xd1,0xf7,0x00,0x00,0x00]
0x05,0x00,0x5f,0xd1,0xf7,0x00,0x00,0x00

# CHECK: v_floor_f32_e64 v5, -v1                 ; encoding: [0x05,0x00,0x5f,0xd1,0x01,0x01,0x00,0x20]
0x05,0x00,0x5f,0xd1,0x01,0x01,0x00,0x20

# CHECK: v_floor_f32_e64 v5, |v1|                ; encoding: [0x05,0x01,0x5f,0xd1,0x01,0x01,0x00,0x00]
0x05,0x01,0x5f,0xd1,0x01,0x01,0x00,0x00

# CHECK: v_floor_f32_e64 v5, v1 clamp            ; encoding: [0x05,0x80,0x5f,0xd1,0x01,0x01,0x00,0x00]
0x05,0x80,0x5f,0xd1,0x01,0x01,0x00,0x00

# CHECK: v_floor_f32_e64 v5, v1 mul:2            ; encoding: [0x05,0x00,0x5f,0xd1,0x01,0x01,0x00,0x08]
0x05,0x00,0x5f,0xd1,0x01,0x01,0x00,0x08

# CHECK: v_floor_f32_e64 v5, v1 mul:4            ; encoding: [0x05,0x00,0x5f,0xd1,0x01,0x01,0x00,0x10]
0x05,0x00,0x5f,0xd1,0x01,0x01,0x00,0x10

# CHECK: v_floor_f32_e64 v5, v1 div:2            ; encoding: [0x05,0x00,0x5f,0xd1,0x01,0x01,0x00,0x18]
0x05,0x00,0x5f,0xd1,0x01,0x01,0x00,0x18

# CHECK: v_exp_f32_e64 v5, v1                    ; encoding: [0x05,0x00,0x60,0xd1,0x01,0x01,0x00,0x00]
0x05,0x00,0x60,0xd1,0x01,0x01,0x00,0x00

# CHECK: v_exp_f32_e64 v255, v1                  ; encoding: [0xff,0x00,0x60,0xd1,0x01,0x01,0x00,0x00]
0xff,0x00,0x60,0xd1,0x01,0x01,0x00,0x00

# CHECK: v_exp_f32_e64 v5, v255                  ; encoding: [0x05,0x00,0x60,0xd1,0xff,0x01,0x00,0x00]
0x05,0x00,0x60,0xd1,0xff,0x01,0x00,0x00

# CHECK: v_exp_f32_e64 v5, s1                    ; encoding: [0x05,0x00,0x60,0xd1,0x01,0x00,0x00,0x00]
0x05,0x00,0x60,0xd1,0x01,0x00,0x00,0x00

# CHECK: v_exp_f32_e64 v5, s101                  ; encoding: [0x05,0x00,0x60,0xd1,0x65,0x00,0x00,0x00]
0x05,0x00,0x60,0xd1,0x65,0x00,0x00,0x00

# CHECK: v_exp_f32_e64 v5, flat_scratch_lo       ; encoding: [0x05,0x00,0x60,0xd1,0x66,0x00,0x00,0x00]
0x05,0x00,0x60,0xd1,0x66,0x00,0x00,0x00

# CHECK: v_exp_f32_e64 v5, flat_scratch_hi       ; encoding: [0x05,0x00,0x60,0xd1,0x67,0x00,0x00,0x00]
0x05,0x00,0x60,0xd1,0x67,0x00,0x00,0x00

# CHECK: v_exp_f32_e64 v5, vcc_lo                ; encoding: [0x05,0x00,0x60,0xd1,0x6a,0x00,0x00,0x00]
0x05,0x00,0x60,0xd1,0x6a,0x00,0x00,0x00

# CHECK: v_exp_f32_e64 v5, vcc_hi                ; encoding: [0x05,0x00,0x60,0xd1,0x6b,0x00,0x00,0x00]
0x05,0x00,0x60,0xd1,0x6b,0x00,0x00,0x00

# CHECK: v_exp_f32_e64 v5, tba_lo                ; encoding: [0x05,0x00,0x60,0xd1,0x6c,0x00,0x00,0x00]
0x05,0x00,0x60,0xd1,0x6c,0x00,0x00,0x00

# CHECK: v_exp_f32_e64 v5, tba_hi                ; encoding: [0x05,0x00,0x60,0xd1,0x6d,0x00,0x00,0x00]
0x05,0x00,0x60,0xd1,0x6d,0x00,0x00,0x00

# CHECK: v_exp_f32_e64 v5, tma_lo                ; encoding: [0x05,0x00,0x60,0xd1,0x6e,0x00,0x00,0x00]
0x05,0x00,0x60,0xd1,0x6e,0x00,0x00,0x00

# CHECK: v_exp_f32_e64 v5, tma_hi                ; encoding: [0x05,0x00,0x60,0xd1,0x6f,0x00,0x00,0x00]
0x05,0x00,0x60,0xd1,0x6f,0x00,0x00,0x00

# CHECK: v_exp_f32_e64 v5, ttmp11                ; encoding: [0x05,0x00,0x60,0xd1,0x7b,0x00,0x00,0x00]
0x05,0x00,0x60,0xd1,0x7b,0x00,0x00,0x00

# CHECK: v_exp_f32_e64 v5, m0                    ; encoding: [0x05,0x00,0x60,0xd1,0x7c,0x00,0x00,0x00]
0x05,0x00,0x60,0xd1,0x7c,0x00,0x00,0x00

# CHECK: v_exp_f32_e64 v5, exec_lo               ; encoding: [0x05,0x00,0x60,0xd1,0x7e,0x00,0x00,0x00]
0x05,0x00,0x60,0xd1,0x7e,0x00,0x00,0x00

# CHECK: v_exp_f32_e64 v5, exec_hi               ; encoding: [0x05,0x00,0x60,0xd1,0x7f,0x00,0x00,0x00]
0x05,0x00,0x60,0xd1,0x7f,0x00,0x00,0x00

# CHECK: v_exp_f32_e64 v5, 0                     ; encoding: [0x05,0x00,0x60,0xd1,0x80,0x00,0x00,0x00]
0x05,0x00,0x60,0xd1,0x80,0x00,0x00,0x00

# CHECK: v_exp_f32_e64 v5, -1                    ; encoding: [0x05,0x00,0x60,0xd1,0xc1,0x00,0x00,0x00]
0x05,0x00,0x60,0xd1,0xc1,0x00,0x00,0x00

# CHECK: v_exp_f32_e64 v5, 0.5                   ; encoding: [0x05,0x00,0x60,0xd1,0xf0,0x00,0x00,0x00]
0x05,0x00,0x60,0xd1,0xf0,0x00,0x00,0x00

# CHECK: v_exp_f32_e64 v5, -4.0                  ; encoding: [0x05,0x00,0x60,0xd1,0xf7,0x00,0x00,0x00]
0x05,0x00,0x60,0xd1,0xf7,0x00,0x00,0x00

# CHECK: v_exp_f32_e64 v5, -v1                   ; encoding: [0x05,0x00,0x60,0xd1,0x01,0x01,0x00,0x20]
0x05,0x00,0x60,0xd1,0x01,0x01,0x00,0x20

# CHECK: v_exp_f32_e64 v5, |v1|                  ; encoding: [0x05,0x01,0x60,0xd1,0x01,0x01,0x00,0x00]
0x05,0x01,0x60,0xd1,0x01,0x01,0x00,0x00

# CHECK: v_exp_f32_e64 v5, v1 clamp              ; encoding: [0x05,0x80,0x60,0xd1,0x01,0x01,0x00,0x00]
0x05,0x80,0x60,0xd1,0x01,0x01,0x00,0x00

# CHECK: v_exp_f32_e64 v5, v1 mul:2              ; encoding: [0x05,0x00,0x60,0xd1,0x01,0x01,0x00,0x08]
0x05,0x00,0x60,0xd1,0x01,0x01,0x00,0x08

# CHECK: v_exp_f32_e64 v5, v1 mul:4              ; encoding: [0x05,0x00,0x60,0xd1,0x01,0x01,0x00,0x10]
0x05,0x00,0x60,0xd1,0x01,0x01,0x00,0x10

# CHECK: v_exp_f32_e64 v5, v1 div:2              ; encoding: [0x05,0x00,0x60,0xd1,0x01,0x01,0x00,0x18]
0x05,0x00,0x60,0xd1,0x01,0x01,0x00,0x18

# CHECK: v_log_f32_e64 v5, v1                    ; encoding: [0x05,0x00,0x61,0xd1,0x01,0x01,0x00,0x00]
0x05,0x00,0x61,0xd1,0x01,0x01,0x00,0x00

# CHECK: v_log_f32_e64 v255, v1                  ; encoding: [0xff,0x00,0x61,0xd1,0x01,0x01,0x00,0x00]
0xff,0x00,0x61,0xd1,0x01,0x01,0x00,0x00

# CHECK: v_log_f32_e64 v5, v255                  ; encoding: [0x05,0x00,0x61,0xd1,0xff,0x01,0x00,0x00]
0x05,0x00,0x61,0xd1,0xff,0x01,0x00,0x00

# CHECK: v_log_f32_e64 v5, s1                    ; encoding: [0x05,0x00,0x61,0xd1,0x01,0x00,0x00,0x00]
0x05,0x00,0x61,0xd1,0x01,0x00,0x00,0x00

# CHECK: v_log_f32_e64 v5, s101                  ; encoding: [0x05,0x00,0x61,0xd1,0x65,0x00,0x00,0x00]
0x05,0x00,0x61,0xd1,0x65,0x00,0x00,0x00

# CHECK: v_log_f32_e64 v5, flat_scratch_lo       ; encoding: [0x05,0x00,0x61,0xd1,0x66,0x00,0x00,0x00]
0x05,0x00,0x61,0xd1,0x66,0x00,0x00,0x00

# CHECK: v_log_f32_e64 v5, flat_scratch_hi       ; encoding: [0x05,0x00,0x61,0xd1,0x67,0x00,0x00,0x00]
0x05,0x00,0x61,0xd1,0x67,0x00,0x00,0x00

# CHECK: v_log_f32_e64 v5, vcc_lo                ; encoding: [0x05,0x00,0x61,0xd1,0x6a,0x00,0x00,0x00]
0x05,0x00,0x61,0xd1,0x6a,0x00,0x00,0x00

# CHECK: v_log_f32_e64 v5, vcc_hi                ; encoding: [0x05,0x00,0x61,0xd1,0x6b,0x00,0x00,0x00]
0x05,0x00,0x61,0xd1,0x6b,0x00,0x00,0x00

# CHECK: v_log_f32_e64 v5, tba_lo                ; encoding: [0x05,0x00,0x61,0xd1,0x6c,0x00,0x00,0x00]
0x05,0x00,0x61,0xd1,0x6c,0x00,0x00,0x00

# CHECK: v_log_f32_e64 v5, tba_hi                ; encoding: [0x05,0x00,0x61,0xd1,0x6d,0x00,0x00,0x00]
0x05,0x00,0x61,0xd1,0x6d,0x00,0x00,0x00

# CHECK: v_log_f32_e64 v5, tma_lo                ; encoding: [0x05,0x00,0x61,0xd1,0x6e,0x00,0x00,0x00]
0x05,0x00,0x61,0xd1,0x6e,0x00,0x00,0x00

# CHECK: v_log_f32_e64 v5, tma_hi                ; encoding: [0x05,0x00,0x61,0xd1,0x6f,0x00,0x00,0x00]
0x05,0x00,0x61,0xd1,0x6f,0x00,0x00,0x00

# CHECK: v_log_f32_e64 v5, ttmp11                ; encoding: [0x05,0x00,0x61,0xd1,0x7b,0x00,0x00,0x00]
0x05,0x00,0x61,0xd1,0x7b,0x00,0x00,0x00

# CHECK: v_log_f32_e64 v5, m0                    ; encoding: [0x05,0x00,0x61,0xd1,0x7c,0x00,0x00,0x00]
0x05,0x00,0x61,0xd1,0x7c,0x00,0x00,0x00

# CHECK: v_log_f32_e64 v5, exec_lo               ; encoding: [0x05,0x00,0x61,0xd1,0x7e,0x00,0x00,0x00]
0x05,0x00,0x61,0xd1,0x7e,0x00,0x00,0x00

# CHECK: v_log_f32_e64 v5, exec_hi               ; encoding: [0x05,0x00,0x61,0xd1,0x7f,0x00,0x00,0x00]
0x05,0x00,0x61,0xd1,0x7f,0x00,0x00,0x00

# CHECK: v_log_f32_e64 v5, 0                     ; encoding: [0x05,0x00,0x61,0xd1,0x80,0x00,0x00,0x00]
0x05,0x00,0x61,0xd1,0x80,0x00,0x00,0x00

# CHECK: v_log_f32_e64 v5, -1                    ; encoding: [0x05,0x00,0x61,0xd1,0xc1,0x00,0x00,0x00]
0x05,0x00,0x61,0xd1,0xc1,0x00,0x00,0x00

# CHECK: v_log_f32_e64 v5, 0.5                   ; encoding: [0x05,0x00,0x61,0xd1,0xf0,0x00,0x00,0x00]
0x05,0x00,0x61,0xd1,0xf0,0x00,0x00,0x00

# CHECK: v_log_f32_e64 v5, -4.0                  ; encoding: [0x05,0x00,0x61,0xd1,0xf7,0x00,0x00,0x00]
0x05,0x00,0x61,0xd1,0xf7,0x00,0x00,0x00

# CHECK: v_log_f32_e64 v5, -v1                   ; encoding: [0x05,0x00,0x61,0xd1,0x01,0x01,0x00,0x20]
0x05,0x00,0x61,0xd1,0x01,0x01,0x00,0x20

# CHECK: v_log_f32_e64 v5, |v1|                  ; encoding: [0x05,0x01,0x61,0xd1,0x01,0x01,0x00,0x00]
0x05,0x01,0x61,0xd1,0x01,0x01,0x00,0x00

# CHECK: v_log_f32_e64 v5, v1 clamp              ; encoding: [0x05,0x80,0x61,0xd1,0x01,0x01,0x00,0x00]
0x05,0x80,0x61,0xd1,0x01,0x01,0x00,0x00

# CHECK: v_log_f32_e64 v5, v1 mul:2              ; encoding: [0x05,0x00,0x61,0xd1,0x01,0x01,0x00,0x08]
0x05,0x00,0x61,0xd1,0x01,0x01,0x00,0x08

# CHECK: v_log_f32_e64 v5, v1 mul:4              ; encoding: [0x05,0x00,0x61,0xd1,0x01,0x01,0x00,0x10]
0x05,0x00,0x61,0xd1,0x01,0x01,0x00,0x10

# CHECK: v_log_f32_e64 v5, v1 div:2              ; encoding: [0x05,0x00,0x61,0xd1,0x01,0x01,0x00,0x18]
0x05,0x00,0x61,0xd1,0x01,0x01,0x00,0x18

# CHECK: v_rcp_f32_e64 v5, v1                    ; encoding: [0x05,0x00,0x62,0xd1,0x01,0x01,0x00,0x00]
0x05,0x00,0x62,0xd1,0x01,0x01,0x00,0x00

# CHECK: v_rcp_f32_e64 v255, v1                  ; encoding: [0xff,0x00,0x62,0xd1,0x01,0x01,0x00,0x00]
0xff,0x00,0x62,0xd1,0x01,0x01,0x00,0x00

# CHECK: v_rcp_f32_e64 v5, v255                  ; encoding: [0x05,0x00,0x62,0xd1,0xff,0x01,0x00,0x00]
0x05,0x00,0x62,0xd1,0xff,0x01,0x00,0x00

# CHECK: v_rcp_f32_e64 v5, s1                    ; encoding: [0x05,0x00,0x62,0xd1,0x01,0x00,0x00,0x00]
0x05,0x00,0x62,0xd1,0x01,0x00,0x00,0x00

# CHECK: v_rcp_f32_e64 v5, s101                  ; encoding: [0x05,0x00,0x62,0xd1,0x65,0x00,0x00,0x00]
0x05,0x00,0x62,0xd1,0x65,0x00,0x00,0x00

# CHECK: v_rcp_f32_e64 v5, flat_scratch_lo       ; encoding: [0x05,0x00,0x62,0xd1,0x66,0x00,0x00,0x00]
0x05,0x00,0x62,0xd1,0x66,0x00,0x00,0x00

# CHECK: v_rcp_f32_e64 v5, flat_scratch_hi       ; encoding: [0x05,0x00,0x62,0xd1,0x67,0x00,0x00,0x00]
0x05,0x00,0x62,0xd1,0x67,0x00,0x00,0x00

# CHECK: v_rcp_f32_e64 v5, vcc_lo                ; encoding: [0x05,0x00,0x62,0xd1,0x6a,0x00,0x00,0x00]
0x05,0x00,0x62,0xd1,0x6a,0x00,0x00,0x00

# CHECK: v_rcp_f32_e64 v5, vcc_hi                ; encoding: [0x05,0x00,0x62,0xd1,0x6b,0x00,0x00,0x00]
0x05,0x00,0x62,0xd1,0x6b,0x00,0x00,0x00

# CHECK: v_rcp_f32_e64 v5, tba_lo                ; encoding: [0x05,0x00,0x62,0xd1,0x6c,0x00,0x00,0x00]
0x05,0x00,0x62,0xd1,0x6c,0x00,0x00,0x00

# CHECK: v_rcp_f32_e64 v5, tba_hi                ; encoding: [0x05,0x00,0x62,0xd1,0x6d,0x00,0x00,0x00]
0x05,0x00,0x62,0xd1,0x6d,0x00,0x00,0x00

# CHECK: v_rcp_f32_e64 v5, tma_lo                ; encoding: [0x05,0x00,0x62,0xd1,0x6e,0x00,0x00,0x00]
0x05,0x00,0x62,0xd1,0x6e,0x00,0x00,0x00

# CHECK: v_rcp_f32_e64 v5, tma_hi                ; encoding: [0x05,0x00,0x62,0xd1,0x6f,0x00,0x00,0x00]
0x05,0x00,0x62,0xd1,0x6f,0x00,0x00,0x00

# CHECK: v_rcp_f32_e64 v5, ttmp11                ; encoding: [0x05,0x00,0x62,0xd1,0x7b,0x00,0x00,0x00]
0x05,0x00,0x62,0xd1,0x7b,0x00,0x00,0x00

# CHECK: v_rcp_f32_e64 v5, m0                    ; encoding: [0x05,0x00,0x62,0xd1,0x7c,0x00,0x00,0x00]
0x05,0x00,0x62,0xd1,0x7c,0x00,0x00,0x00

# CHECK: v_rcp_f32_e64 v5, exec_lo               ; encoding: [0x05,0x00,0x62,0xd1,0x7e,0x00,0x00,0x00]
0x05,0x00,0x62,0xd1,0x7e,0x00,0x00,0x00

# CHECK: v_rcp_f32_e64 v5, exec_hi               ; encoding: [0x05,0x00,0x62,0xd1,0x7f,0x00,0x00,0x00]
0x05,0x00,0x62,0xd1,0x7f,0x00,0x00,0x00

# CHECK: v_rcp_f32_e64 v5, 0                     ; encoding: [0x05,0x00,0x62,0xd1,0x80,0x00,0x00,0x00]
0x05,0x00,0x62,0xd1,0x80,0x00,0x00,0x00

# CHECK: v_rcp_f32_e64 v5, -1                    ; encoding: [0x05,0x00,0x62,0xd1,0xc1,0x00,0x00,0x00]
0x05,0x00,0x62,0xd1,0xc1,0x00,0x00,0x00

# CHECK: v_rcp_f32_e64 v5, 0.5                   ; encoding: [0x05,0x00,0x62,0xd1,0xf0,0x00,0x00,0x00]
0x05,0x00,0x62,0xd1,0xf0,0x00,0x00,0x00

# CHECK: v_rcp_f32_e64 v5, -4.0                  ; encoding: [0x05,0x00,0x62,0xd1,0xf7,0x00,0x00,0x00]
0x05,0x00,0x62,0xd1,0xf7,0x00,0x00,0x00

# CHECK: v_rcp_f32_e64 v5, -v1                   ; encoding: [0x05,0x00,0x62,0xd1,0x01,0x01,0x00,0x20]
0x05,0x00,0x62,0xd1,0x01,0x01,0x00,0x20

# CHECK: v_rcp_f32_e64 v5, |v1|                  ; encoding: [0x05,0x01,0x62,0xd1,0x01,0x01,0x00,0x00]
0x05,0x01,0x62,0xd1,0x01,0x01,0x00,0x00

# CHECK: v_rcp_f32_e64 v5, v1 clamp              ; encoding: [0x05,0x80,0x62,0xd1,0x01,0x01,0x00,0x00]
0x05,0x80,0x62,0xd1,0x01,0x01,0x00,0x00

# CHECK: v_rcp_f32_e64 v5, v1 mul:2              ; encoding: [0x05,0x00,0x62,0xd1,0x01,0x01,0x00,0x08]
0x05,0x00,0x62,0xd1,0x01,0x01,0x00,0x08

# CHECK: v_rcp_f32_e64 v5, v1 mul:4              ; encoding: [0x05,0x00,0x62,0xd1,0x01,0x01,0x00,0x10]
0x05,0x00,0x62,0xd1,0x01,0x01,0x00,0x10

# CHECK: v_rcp_f32_e64 v5, v1 div:2              ; encoding: [0x05,0x00,0x62,0xd1,0x01,0x01,0x00,0x18]
0x05,0x00,0x62,0xd1,0x01,0x01,0x00,0x18

# CHECK: v_rcp_iflag_f32_e64 v5, v1              ; encoding: [0x05,0x00,0x63,0xd1,0x01,0x01,0x00,0x00]
0x05,0x00,0x63,0xd1,0x01,0x01,0x00,0x00

# CHECK: v_rcp_iflag_f32_e64 v255, v1            ; encoding: [0xff,0x00,0x63,0xd1,0x01,0x01,0x00,0x00]
0xff,0x00,0x63,0xd1,0x01,0x01,0x00,0x00

# CHECK: v_rcp_iflag_f32_e64 v5, v255            ; encoding: [0x05,0x00,0x63,0xd1,0xff,0x01,0x00,0x00]
0x05,0x00,0x63,0xd1,0xff,0x01,0x00,0x00

# CHECK: v_rcp_iflag_f32_e64 v5, s1              ; encoding: [0x05,0x00,0x63,0xd1,0x01,0x00,0x00,0x00]
0x05,0x00,0x63,0xd1,0x01,0x00,0x00,0x00

# CHECK: v_rcp_iflag_f32_e64 v5, s101            ; encoding: [0x05,0x00,0x63,0xd1,0x65,0x00,0x00,0x00]
0x05,0x00,0x63,0xd1,0x65,0x00,0x00,0x00

# CHECK: v_rcp_iflag_f32_e64 v5, flat_scratch_lo ; encoding: [0x05,0x00,0x63,0xd1,0x66,0x00,0x00,0x00]
0x05,0x00,0x63,0xd1,0x66,0x00,0x00,0x00

# CHECK: v_rcp_iflag_f32_e64 v5, flat_scratch_hi ; encoding: [0x05,0x00,0x63,0xd1,0x67,0x00,0x00,0x00]
0x05,0x00,0x63,0xd1,0x67,0x00,0x00,0x00

# CHECK: v_rcp_iflag_f32_e64 v5, vcc_lo          ; encoding: [0x05,0x00,0x63,0xd1,0x6a,0x00,0x00,0x00]
0x05,0x00,0x63,0xd1,0x6a,0x00,0x00,0x00

# CHECK: v_rcp_iflag_f32_e64 v5, vcc_hi          ; encoding: [0x05,0x00,0x63,0xd1,0x6b,0x00,0x00,0x00]
0x05,0x00,0x63,0xd1,0x6b,0x00,0x00,0x00

# CHECK: v_rcp_iflag_f32_e64 v5, tba_lo          ; encoding: [0x05,0x00,0x63,0xd1,0x6c,0x00,0x00,0x00]
0x05,0x00,0x63,0xd1,0x6c,0x00,0x00,0x00

# CHECK: v_rcp_iflag_f32_e64 v5, tba_hi          ; encoding: [0x05,0x00,0x63,0xd1,0x6d,0x00,0x00,0x00]
0x05,0x00,0x63,0xd1,0x6d,0x00,0x00,0x00

# CHECK: v_rcp_iflag_f32_e64 v5, tma_lo          ; encoding: [0x05,0x00,0x63,0xd1,0x6e,0x00,0x00,0x00]
0x05,0x00,0x63,0xd1,0x6e,0x00,0x00,0x00

# CHECK: v_rcp_iflag_f32_e64 v5, tma_hi          ; encoding: [0x05,0x00,0x63,0xd1,0x6f,0x00,0x00,0x00]
0x05,0x00,0x63,0xd1,0x6f,0x00,0x00,0x00

# CHECK: v_rcp_iflag_f32_e64 v5, ttmp11          ; encoding: [0x05,0x00,0x63,0xd1,0x7b,0x00,0x00,0x00]
0x05,0x00,0x63,0xd1,0x7b,0x00,0x00,0x00

# CHECK: v_rcp_iflag_f32_e64 v5, m0              ; encoding: [0x05,0x00,0x63,0xd1,0x7c,0x00,0x00,0x00]
0x05,0x00,0x63,0xd1,0x7c,0x00,0x00,0x00

# CHECK: v_rcp_iflag_f32_e64 v5, exec_lo         ; encoding: [0x05,0x00,0x63,0xd1,0x7e,0x00,0x00,0x00]
0x05,0x00,0x63,0xd1,0x7e,0x00,0x00,0x00

# CHECK: v_rcp_iflag_f32_e64 v5, exec_hi         ; encoding: [0x05,0x00,0x63,0xd1,0x7f,0x00,0x00,0x00]
0x05,0x00,0x63,0xd1,0x7f,0x00,0x00,0x00

# CHECK: v_rcp_iflag_f32_e64 v5, 0               ; encoding: [0x05,0x00,0x63,0xd1,0x80,0x00,0x00,0x00]
0x05,0x00,0x63,0xd1,0x80,0x00,0x00,0x00

# CHECK: v_rcp_iflag_f32_e64 v5, -1              ; encoding: [0x05,0x00,0x63,0xd1,0xc1,0x00,0x00,0x00]
0x05,0x00,0x63,0xd1,0xc1,0x00,0x00,0x00

# CHECK: v_rcp_iflag_f32_e64 v5, 0.5             ; encoding: [0x05,0x00,0x63,0xd1,0xf0,0x00,0x00,0x00]
0x05,0x00,0x63,0xd1,0xf0,0x00,0x00,0x00

# CHECK: v_rcp_iflag_f32_e64 v5, -4.0            ; encoding: [0x05,0x00,0x63,0xd1,0xf7,0x00,0x00,0x00]
0x05,0x00,0x63,0xd1,0xf7,0x00,0x00,0x00

# CHECK: v_rcp_iflag_f32_e64 v5, -v1             ; encoding: [0x05,0x00,0x63,0xd1,0x01,0x01,0x00,0x20]
0x05,0x00,0x63,0xd1,0x01,0x01,0x00,0x20

# CHECK: v_rcp_iflag_f32_e64 v5, |v1|            ; encoding: [0x05,0x01,0x63,0xd1,0x01,0x01,0x00,0x00]
0x05,0x01,0x63,0xd1,0x01,0x01,0x00,0x00

# CHECK: v_rcp_iflag_f32_e64 v5, v1 clamp        ; encoding: [0x05,0x80,0x63,0xd1,0x01,0x01,0x00,0x00]
0x05,0x80,0x63,0xd1,0x01,0x01,0x00,0x00

# CHECK: v_rcp_iflag_f32_e64 v5, v1 mul:2        ; encoding: [0x05,0x00,0x63,0xd1,0x01,0x01,0x00,0x08]
0x05,0x00,0x63,0xd1,0x01,0x01,0x00,0x08

# CHECK: v_rcp_iflag_f32_e64 v5, v1 mul:4        ; encoding: [0x05,0x00,0x63,0xd1,0x01,0x01,0x00,0x10]
0x05,0x00,0x63,0xd1,0x01,0x01,0x00,0x10

# CHECK: v_rcp_iflag_f32_e64 v5, v1 div:2        ; encoding: [0x05,0x00,0x63,0xd1,0x01,0x01,0x00,0x18]
0x05,0x00,0x63,0xd1,0x01,0x01,0x00,0x18

# CHECK: v_rsq_f32_e64 v5, v1                    ; encoding: [0x05,0x00,0x64,0xd1,0x01,0x01,0x00,0x00]
0x05,0x00,0x64,0xd1,0x01,0x01,0x00,0x00

# CHECK: v_rsq_f32_e64 v255, v1                  ; encoding: [0xff,0x00,0x64,0xd1,0x01,0x01,0x00,0x00]
0xff,0x00,0x64,0xd1,0x01,0x01,0x00,0x00

# CHECK: v_rsq_f32_e64 v5, v255                  ; encoding: [0x05,0x00,0x64,0xd1,0xff,0x01,0x00,0x00]
0x05,0x00,0x64,0xd1,0xff,0x01,0x00,0x00

# CHECK: v_rsq_f32_e64 v5, s1                    ; encoding: [0x05,0x00,0x64,0xd1,0x01,0x00,0x00,0x00]
0x05,0x00,0x64,0xd1,0x01,0x00,0x00,0x00

# CHECK: v_rsq_f32_e64 v5, s101                  ; encoding: [0x05,0x00,0x64,0xd1,0x65,0x00,0x00,0x00]
0x05,0x00,0x64,0xd1,0x65,0x00,0x00,0x00

# CHECK: v_rsq_f32_e64 v5, flat_scratch_lo       ; encoding: [0x05,0x00,0x64,0xd1,0x66,0x00,0x00,0x00]
0x05,0x00,0x64,0xd1,0x66,0x00,0x00,0x00

# CHECK: v_rsq_f32_e64 v5, flat_scratch_hi       ; encoding: [0x05,0x00,0x64,0xd1,0x67,0x00,0x00,0x00]
0x05,0x00,0x64,0xd1,0x67,0x00,0x00,0x00

# CHECK: v_rsq_f32_e64 v5, vcc_lo                ; encoding: [0x05,0x00,0x64,0xd1,0x6a,0x00,0x00,0x00]
0x05,0x00,0x64,0xd1,0x6a,0x00,0x00,0x00

# CHECK: v_rsq_f32_e64 v5, vcc_hi                ; encoding: [0x05,0x00,0x64,0xd1,0x6b,0x00,0x00,0x00]
0x05,0x00,0x64,0xd1,0x6b,0x00,0x00,0x00

# CHECK: v_rsq_f32_e64 v5, tba_lo                ; encoding: [0x05,0x00,0x64,0xd1,0x6c,0x00,0x00,0x00]
0x05,0x00,0x64,0xd1,0x6c,0x00,0x00,0x00

# CHECK: v_rsq_f32_e64 v5, tba_hi                ; encoding: [0x05,0x00,0x64,0xd1,0x6d,0x00,0x00,0x00]
0x05,0x00,0x64,0xd1,0x6d,0x00,0x00,0x00

# CHECK: v_rsq_f32_e64 v5, tma_lo                ; encoding: [0x05,0x00,0x64,0xd1,0x6e,0x00,0x00,0x00]
0x05,0x00,0x64,0xd1,0x6e,0x00,0x00,0x00

# CHECK: v_rsq_f32_e64 v5, tma_hi                ; encoding: [0x05,0x00,0x64,0xd1,0x6f,0x00,0x00,0x00]
0x05,0x00,0x64,0xd1,0x6f,0x00,0x00,0x00

# CHECK: v_rsq_f32_e64 v5, ttmp11                ; encoding: [0x05,0x00,0x64,0xd1,0x7b,0x00,0x00,0x00]
0x05,0x00,0x64,0xd1,0x7b,0x00,0x00,0x00

# CHECK: v_rsq_f32_e64 v5, m0                    ; encoding: [0x05,0x00,0x64,0xd1,0x7c,0x00,0x00,0x00]
0x05,0x00,0x64,0xd1,0x7c,0x00,0x00,0x00

# CHECK: v_rsq_f32_e64 v5, exec_lo               ; encoding: [0x05,0x00,0x64,0xd1,0x7e,0x00,0x00,0x00]
0x05,0x00,0x64,0xd1,0x7e,0x00,0x00,0x00

# CHECK: v_rsq_f32_e64 v5, exec_hi               ; encoding: [0x05,0x00,0x64,0xd1,0x7f,0x00,0x00,0x00]
0x05,0x00,0x64,0xd1,0x7f,0x00,0x00,0x00

# CHECK: v_rsq_f32_e64 v5, 0                     ; encoding: [0x05,0x00,0x64,0xd1,0x80,0x00,0x00,0x00]
0x05,0x00,0x64,0xd1,0x80,0x00,0x00,0x00

# CHECK: v_rsq_f32_e64 v5, -1                    ; encoding: [0x05,0x00,0x64,0xd1,0xc1,0x00,0x00,0x00]
0x05,0x00,0x64,0xd1,0xc1,0x00,0x00,0x00

# CHECK: v_rsq_f32_e64 v5, 0.5                   ; encoding: [0x05,0x00,0x64,0xd1,0xf0,0x00,0x00,0x00]
0x05,0x00,0x64,0xd1,0xf0,0x00,0x00,0x00

# CHECK: v_rsq_f32_e64 v5, -4.0                  ; encoding: [0x05,0x00,0x64,0xd1,0xf7,0x00,0x00,0x00]
0x05,0x00,0x64,0xd1,0xf7,0x00,0x00,0x00

# CHECK: v_rsq_f32_e64 v5, -v1                   ; encoding: [0x05,0x00,0x64,0xd1,0x01,0x01,0x00,0x20]
0x05,0x00,0x64,0xd1,0x01,0x01,0x00,0x20

# CHECK: v_rsq_f32_e64 v5, |v1|                  ; encoding: [0x05,0x01,0x64,0xd1,0x01,0x01,0x00,0x00]
0x05,0x01,0x64,0xd1,0x01,0x01,0x00,0x00

# CHECK: v_rsq_f32_e64 v5, v1 clamp              ; encoding: [0x05,0x80,0x64,0xd1,0x01,0x01,0x00,0x00]
0x05,0x80,0x64,0xd1,0x01,0x01,0x00,0x00

# CHECK: v_rsq_f32_e64 v5, v1 mul:2              ; encoding: [0x05,0x00,0x64,0xd1,0x01,0x01,0x00,0x08]
0x05,0x00,0x64,0xd1,0x01,0x01,0x00,0x08

# CHECK: v_rsq_f32_e64 v5, v1 mul:4              ; encoding: [0x05,0x00,0x64,0xd1,0x01,0x01,0x00,0x10]
0x05,0x00,0x64,0xd1,0x01,0x01,0x00,0x10

# CHECK: v_rsq_f32_e64 v5, v1 div:2              ; encoding: [0x05,0x00,0x64,0xd1,0x01,0x01,0x00,0x18]
0x05,0x00,0x64,0xd1,0x01,0x01,0x00,0x18

# CHECK: v_rcp_f64_e64 v[5:6], v[1:2]            ; encoding: [0x05,0x00,0x65,0xd1,0x01,0x01,0x00,0x00]
0x05,0x00,0x65,0xd1,0x01,0x01,0x00,0x00

# CHECK: v_rcp_f64_e64 v[254:255], v[1:2]        ; encoding: [0xfe,0x00,0x65,0xd1,0x01,0x01,0x00,0x00]
0xfe,0x00,0x65,0xd1,0x01,0x01,0x00,0x00

# CHECK: v_rcp_f64_e64 v[5:6], v[254:255]        ; encoding: [0x05,0x00,0x65,0xd1,0xfe,0x01,0x00,0x00]
0x05,0x00,0x65,0xd1,0xfe,0x01,0x00,0x00

# CHECK: v_rcp_f64_e64 v[5:6], s[2:3]            ; encoding: [0x05,0x00,0x65,0xd1,0x02,0x00,0x00,0x00]
0x05,0x00,0x65,0xd1,0x02,0x00,0x00,0x00

# CHECK: v_rcp_f64_e64 v[5:6], s[4:5]            ; encoding: [0x05,0x00,0x65,0xd1,0x04,0x00,0x00,0x00]
0x05,0x00,0x65,0xd1,0x04,0x00,0x00,0x00

# CHECK: v_rcp_f64_e64 v[5:6], s[100:101]        ; encoding: [0x05,0x00,0x65,0xd1,0x64,0x00,0x00,0x00]
0x05,0x00,0x65,0xd1,0x64,0x00,0x00,0x00

# CHECK: v_rcp_f64_e64 v[5:6], flat_scratch      ; encoding: [0x05,0x00,0x65,0xd1,0x66,0x00,0x00,0x00]
0x05,0x00,0x65,0xd1,0x66,0x00,0x00,0x00

# CHECK: v_rcp_f64_e64 v[5:6], vcc               ; encoding: [0x05,0x00,0x65,0xd1,0x6a,0x00,0x00,0x00]
0x05,0x00,0x65,0xd1,0x6a,0x00,0x00,0x00

# CHECK: v_rcp_f64_e64 v[5:6], tba               ; encoding: [0x05,0x00,0x65,0xd1,0x6c,0x00,0x00,0x00]
0x05,0x00,0x65,0xd1,0x6c,0x00,0x00,0x00

# CHECK: v_rcp_f64_e64 v[5:6], tma               ; encoding: [0x05,0x00,0x65,0xd1,0x6e,0x00,0x00,0x00]
0x05,0x00,0x65,0xd1,0x6e,0x00,0x00,0x00

# CHECK: v_rcp_f64_e64 v[5:6], ttmp[10:11]       ; encoding: [0x05,0x00,0x65,0xd1,0x7a,0x00,0x00,0x00]
0x05,0x00,0x65,0xd1,0x7a,0x00,0x00,0x00

# CHECK: v_rcp_f64_e64 v[5:6], exec              ; encoding: [0x05,0x00,0x65,0xd1,0x7e,0x00,0x00,0x00]
0x05,0x00,0x65,0xd1,0x7e,0x00,0x00,0x00

# CHECK: v_rcp_f64_e64 v[5:6], 0                 ; encoding: [0x05,0x00,0x65,0xd1,0x80,0x00,0x00,0x00]
0x05,0x00,0x65,0xd1,0x80,0x00,0x00,0x00

# CHECK: v_rcp_f64_e64 v[5:6], -1                ; encoding: [0x05,0x00,0x65,0xd1,0xc1,0x00,0x00,0x00]
0x05,0x00,0x65,0xd1,0xc1,0x00,0x00,0x00

# CHECK: v_rcp_f64_e64 v[5:6], 0.5               ; encoding: [0x05,0x00,0x65,0xd1,0xf0,0x00,0x00,0x00]
0x05,0x00,0x65,0xd1,0xf0,0x00,0x00,0x00

# CHECK: v_rcp_f64_e64 v[5:6], -4.0              ; encoding: [0x05,0x00,0x65,0xd1,0xf7,0x00,0x00,0x00]
0x05,0x00,0x65,0xd1,0xf7,0x00,0x00,0x00

# CHECK: v_rcp_f64_e64 v[5:6], -v[1:2]           ; encoding: [0x05,0x00,0x65,0xd1,0x01,0x01,0x00,0x20]
0x05,0x00,0x65,0xd1,0x01,0x01,0x00,0x20

# CHECK: v_rcp_f64_e64 v[5:6], |v[1:2]|          ; encoding: [0x05,0x01,0x65,0xd1,0x01,0x01,0x00,0x00]
0x05,0x01,0x65,0xd1,0x01,0x01,0x00,0x00

# CHECK: v_rcp_f64_e64 v[5:6], v[1:2] clamp      ; encoding: [0x05,0x80,0x65,0xd1,0x01,0x01,0x00,0x00]
0x05,0x80,0x65,0xd1,0x01,0x01,0x00,0x00

# CHECK: v_rcp_f64_e64 v[5:6], v[1:2] mul:2      ; encoding: [0x05,0x00,0x65,0xd1,0x01,0x01,0x00,0x08]
0x05,0x00,0x65,0xd1,0x01,0x01,0x00,0x08

# CHECK: v_rcp_f64_e64 v[5:6], v[1:2] mul:4      ; encoding: [0x05,0x00,0x65,0xd1,0x01,0x01,0x00,0x10]
0x05,0x00,0x65,0xd1,0x01,0x01,0x00,0x10

# CHECK: v_rcp_f64_e64 v[5:6], v[1:2] div:2      ; encoding: [0x05,0x00,0x65,0xd1,0x01,0x01,0x00,0x18]
0x05,0x00,0x65,0xd1,0x01,0x01,0x00,0x18

# CHECK: v_rsq_f64_e64 v[5:6], v[1:2]            ; encoding: [0x05,0x00,0x66,0xd1,0x01,0x01,0x00,0x00]
0x05,0x00,0x66,0xd1,0x01,0x01,0x00,0x00

# CHECK: v_rsq_f64_e64 v[254:255], v[1:2]        ; encoding: [0xfe,0x00,0x66,0xd1,0x01,0x01,0x00,0x00]
0xfe,0x00,0x66,0xd1,0x01,0x01,0x00,0x00

# CHECK: v_rsq_f64_e64 v[5:6], v[254:255]        ; encoding: [0x05,0x00,0x66,0xd1,0xfe,0x01,0x00,0x00]
0x05,0x00,0x66,0xd1,0xfe,0x01,0x00,0x00

# CHECK: v_rsq_f64_e64 v[5:6], s[2:3]            ; encoding: [0x05,0x00,0x66,0xd1,0x02,0x00,0x00,0x00]
0x05,0x00,0x66,0xd1,0x02,0x00,0x00,0x00

# CHECK: v_rsq_f64_e64 v[5:6], s[4:5]            ; encoding: [0x05,0x00,0x66,0xd1,0x04,0x00,0x00,0x00]
0x05,0x00,0x66,0xd1,0x04,0x00,0x00,0x00

# CHECK: v_rsq_f64_e64 v[5:6], s[100:101]        ; encoding: [0x05,0x00,0x66,0xd1,0x64,0x00,0x00,0x00]
0x05,0x00,0x66,0xd1,0x64,0x00,0x00,0x00

# CHECK: v_rsq_f64_e64 v[5:6], flat_scratch      ; encoding: [0x05,0x00,0x66,0xd1,0x66,0x00,0x00,0x00]
0x05,0x00,0x66,0xd1,0x66,0x00,0x00,0x00

# CHECK: v_rsq_f64_e64 v[5:6], vcc               ; encoding: [0x05,0x00,0x66,0xd1,0x6a,0x00,0x00,0x00]
0x05,0x00,0x66,0xd1,0x6a,0x00,0x00,0x00

# CHECK: v_rsq_f64_e64 v[5:6], tba               ; encoding: [0x05,0x00,0x66,0xd1,0x6c,0x00,0x00,0x00]
0x05,0x00,0x66,0xd1,0x6c,0x00,0x00,0x00

# CHECK: v_rsq_f64_e64 v[5:6], tma               ; encoding: [0x05,0x00,0x66,0xd1,0x6e,0x00,0x00,0x00]
0x05,0x00,0x66,0xd1,0x6e,0x00,0x00,0x00

# CHECK: v_rsq_f64_e64 v[5:6], ttmp[10:11]       ; encoding: [0x05,0x00,0x66,0xd1,0x7a,0x00,0x00,0x00]
0x05,0x00,0x66,0xd1,0x7a,0x00,0x00,0x00

# CHECK: v_rsq_f64_e64 v[5:6], exec              ; encoding: [0x05,0x00,0x66,0xd1,0x7e,0x00,0x00,0x00]
0x05,0x00,0x66,0xd1,0x7e,0x00,0x00,0x00

# CHECK: v_rsq_f64_e64 v[5:6], 0                 ; encoding: [0x05,0x00,0x66,0xd1,0x80,0x00,0x00,0x00]
0x05,0x00,0x66,0xd1,0x80,0x00,0x00,0x00

# CHECK: v_rsq_f64_e64 v[5:6], -1                ; encoding: [0x05,0x00,0x66,0xd1,0xc1,0x00,0x00,0x00]
0x05,0x00,0x66,0xd1,0xc1,0x00,0x00,0x00

# CHECK: v_rsq_f64_e64 v[5:6], 0.5               ; encoding: [0x05,0x00,0x66,0xd1,0xf0,0x00,0x00,0x00]
0x05,0x00,0x66,0xd1,0xf0,0x00,0x00,0x00

# CHECK: v_rsq_f64_e64 v[5:6], -4.0              ; encoding: [0x05,0x00,0x66,0xd1,0xf7,0x00,0x00,0x00]
0x05,0x00,0x66,0xd1,0xf7,0x00,0x00,0x00

# CHECK: v_rsq_f64_e64 v[5:6], -v[1:2]           ; encoding: [0x05,0x00,0x66,0xd1,0x01,0x01,0x00,0x20]
0x05,0x00,0x66,0xd1,0x01,0x01,0x00,0x20

# CHECK: v_rsq_f64_e64 v[5:6], |v[1:2]|          ; encoding: [0x05,0x01,0x66,0xd1,0x01,0x01,0x00,0x00]
0x05,0x01,0x66,0xd1,0x01,0x01,0x00,0x00

# CHECK: v_rsq_f64_e64 v[5:6], v[1:2] clamp      ; encoding: [0x05,0x80,0x66,0xd1,0x01,0x01,0x00,0x00]
0x05,0x80,0x66,0xd1,0x01,0x01,0x00,0x00

# CHECK: v_rsq_f64_e64 v[5:6], v[1:2] mul:2      ; encoding: [0x05,0x00,0x66,0xd1,0x01,0x01,0x00,0x08]
0x05,0x00,0x66,0xd1,0x01,0x01,0x00,0x08

# CHECK: v_rsq_f64_e64 v[5:6], v[1:2] mul:4      ; encoding: [0x05,0x00,0x66,0xd1,0x01,0x01,0x00,0x10]
0x05,0x00,0x66,0xd1,0x01,0x01,0x00,0x10

# CHECK: v_rsq_f64_e64 v[5:6], v[1:2] div:2      ; encoding: [0x05,0x00,0x66,0xd1,0x01,0x01,0x00,0x18]
0x05,0x00,0x66,0xd1,0x01,0x01,0x00,0x18

# CHECK: v_sqrt_f32_e64 v5, v1                   ; encoding: [0x05,0x00,0x67,0xd1,0x01,0x01,0x00,0x00]
0x05,0x00,0x67,0xd1,0x01,0x01,0x00,0x00

# CHECK: v_sqrt_f32_e64 v255, v1                 ; encoding: [0xff,0x00,0x67,0xd1,0x01,0x01,0x00,0x00]
0xff,0x00,0x67,0xd1,0x01,0x01,0x00,0x00

# CHECK: v_sqrt_f32_e64 v5, v255                 ; encoding: [0x05,0x00,0x67,0xd1,0xff,0x01,0x00,0x00]
0x05,0x00,0x67,0xd1,0xff,0x01,0x00,0x00

# CHECK: v_sqrt_f32_e64 v5, s1                   ; encoding: [0x05,0x00,0x67,0xd1,0x01,0x00,0x00,0x00]
0x05,0x00,0x67,0xd1,0x01,0x00,0x00,0x00

# CHECK: v_sqrt_f32_e64 v5, s101                 ; encoding: [0x05,0x00,0x67,0xd1,0x65,0x00,0x00,0x00]
0x05,0x00,0x67,0xd1,0x65,0x00,0x00,0x00

# CHECK: v_sqrt_f32_e64 v5, flat_scratch_lo      ; encoding: [0x05,0x00,0x67,0xd1,0x66,0x00,0x00,0x00]
0x05,0x00,0x67,0xd1,0x66,0x00,0x00,0x00

# CHECK: v_sqrt_f32_e64 v5, flat_scratch_hi      ; encoding: [0x05,0x00,0x67,0xd1,0x67,0x00,0x00,0x00]
0x05,0x00,0x67,0xd1,0x67,0x00,0x00,0x00

# CHECK: v_sqrt_f32_e64 v5, vcc_lo               ; encoding: [0x05,0x00,0x67,0xd1,0x6a,0x00,0x00,0x00]
0x05,0x00,0x67,0xd1,0x6a,0x00,0x00,0x00

# CHECK: v_sqrt_f32_e64 v5, vcc_hi               ; encoding: [0x05,0x00,0x67,0xd1,0x6b,0x00,0x00,0x00]
0x05,0x00,0x67,0xd1,0x6b,0x00,0x00,0x00

# CHECK: v_sqrt_f32_e64 v5, tba_lo               ; encoding: [0x05,0x00,0x67,0xd1,0x6c,0x00,0x00,0x00]
0x05,0x00,0x67,0xd1,0x6c,0x00,0x00,0x00

# CHECK: v_sqrt_f32_e64 v5, tba_hi               ; encoding: [0x05,0x00,0x67,0xd1,0x6d,0x00,0x00,0x00]
0x05,0x00,0x67,0xd1,0x6d,0x00,0x00,0x00

# CHECK: v_sqrt_f32_e64 v5, tma_lo               ; encoding: [0x05,0x00,0x67,0xd1,0x6e,0x00,0x00,0x00]
0x05,0x00,0x67,0xd1,0x6e,0x00,0x00,0x00

# CHECK: v_sqrt_f32_e64 v5, tma_hi               ; encoding: [0x05,0x00,0x67,0xd1,0x6f,0x00,0x00,0x00]
0x05,0x00,0x67,0xd1,0x6f,0x00,0x00,0x00

# CHECK: v_sqrt_f32_e64 v5, ttmp11               ; encoding: [0x05,0x00,0x67,0xd1,0x7b,0x00,0x00,0x00]
0x05,0x00,0x67,0xd1,0x7b,0x00,0x00,0x00

# CHECK: v_sqrt_f32_e64 v5, m0                   ; encoding: [0x05,0x00,0x67,0xd1,0x7c,0x00,0x00,0x00]
0x05,0x00,0x67,0xd1,0x7c,0x00,0x00,0x00

# CHECK: v_sqrt_f32_e64 v5, exec_lo              ; encoding: [0x05,0x00,0x67,0xd1,0x7e,0x00,0x00,0x00]
0x05,0x00,0x67,0xd1,0x7e,0x00,0x00,0x00

# CHECK: v_sqrt_f32_e64 v5, exec_hi              ; encoding: [0x05,0x00,0x67,0xd1,0x7f,0x00,0x00,0x00]
0x05,0x00,0x67,0xd1,0x7f,0x00,0x00,0x00

# CHECK: v_sqrt_f32_e64 v5, 0                    ; encoding: [0x05,0x00,0x67,0xd1,0x80,0x00,0x00,0x00]
0x05,0x00,0x67,0xd1,0x80,0x00,0x00,0x00

# CHECK: v_sqrt_f32_e64 v5, -1                   ; encoding: [0x05,0x00,0x67,0xd1,0xc1,0x00,0x00,0x00]
0x05,0x00,0x67,0xd1,0xc1,0x00,0x00,0x00

# CHECK: v_sqrt_f32_e64 v5, 0.5                  ; encoding: [0x05,0x00,0x67,0xd1,0xf0,0x00,0x00,0x00]
0x05,0x00,0x67,0xd1,0xf0,0x00,0x00,0x00

# CHECK: v_sqrt_f32_e64 v5, -4.0                 ; encoding: [0x05,0x00,0x67,0xd1,0xf7,0x00,0x00,0x00]
0x05,0x00,0x67,0xd1,0xf7,0x00,0x00,0x00

# CHECK: v_sqrt_f32_e64 v5, -v1                  ; encoding: [0x05,0x00,0x67,0xd1,0x01,0x01,0x00,0x20]
0x05,0x00,0x67,0xd1,0x01,0x01,0x00,0x20

# CHECK: v_sqrt_f32_e64 v5, |v1|                 ; encoding: [0x05,0x01,0x67,0xd1,0x01,0x01,0x00,0x00]
0x05,0x01,0x67,0xd1,0x01,0x01,0x00,0x00

# CHECK: v_sqrt_f32_e64 v5, v1 clamp             ; encoding: [0x05,0x80,0x67,0xd1,0x01,0x01,0x00,0x00]
0x05,0x80,0x67,0xd1,0x01,0x01,0x00,0x00

# CHECK: v_sqrt_f32_e64 v5, v1 mul:2             ; encoding: [0x05,0x00,0x67,0xd1,0x01,0x01,0x00,0x08]
0x05,0x00,0x67,0xd1,0x01,0x01,0x00,0x08

# CHECK: v_sqrt_f32_e64 v5, v1 mul:4             ; encoding: [0x05,0x00,0x67,0xd1,0x01,0x01,0x00,0x10]
0x05,0x00,0x67,0xd1,0x01,0x01,0x00,0x10

# CHECK: v_sqrt_f32_e64 v5, v1 div:2             ; encoding: [0x05,0x00,0x67,0xd1,0x01,0x01,0x00,0x18]
0x05,0x00,0x67,0xd1,0x01,0x01,0x00,0x18

# CHECK: v_sqrt_f64_e64 v[5:6], v[1:2]           ; encoding: [0x05,0x00,0x68,0xd1,0x01,0x01,0x00,0x00]
0x05,0x00,0x68,0xd1,0x01,0x01,0x00,0x00

# CHECK: v_sqrt_f64_e64 v[254:255], v[1:2]       ; encoding: [0xfe,0x00,0x68,0xd1,0x01,0x01,0x00,0x00]
0xfe,0x00,0x68,0xd1,0x01,0x01,0x00,0x00

# CHECK: v_sqrt_f64_e64 v[5:6], v[254:255]       ; encoding: [0x05,0x00,0x68,0xd1,0xfe,0x01,0x00,0x00]
0x05,0x00,0x68,0xd1,0xfe,0x01,0x00,0x00

# CHECK: v_sqrt_f64_e64 v[5:6], s[2:3]           ; encoding: [0x05,0x00,0x68,0xd1,0x02,0x00,0x00,0x00]
0x05,0x00,0x68,0xd1,0x02,0x00,0x00,0x00

# CHECK: v_sqrt_f64_e64 v[5:6], s[4:5]           ; encoding: [0x05,0x00,0x68,0xd1,0x04,0x00,0x00,0x00]
0x05,0x00,0x68,0xd1,0x04,0x00,0x00,0x00

# CHECK: v_sqrt_f64_e64 v[5:6], s[100:101]       ; encoding: [0x05,0x00,0x68,0xd1,0x64,0x00,0x00,0x00]
0x05,0x00,0x68,0xd1,0x64,0x00,0x00,0x00

# CHECK: v_sqrt_f64_e64 v[5:6], flat_scratch     ; encoding: [0x05,0x00,0x68,0xd1,0x66,0x00,0x00,0x00]
0x05,0x00,0x68,0xd1,0x66,0x00,0x00,0x00

# CHECK: v_sqrt_f64_e64 v[5:6], vcc              ; encoding: [0x05,0x00,0x68,0xd1,0x6a,0x00,0x00,0x00]
0x05,0x00,0x68,0xd1,0x6a,0x00,0x00,0x00

# CHECK: v_sqrt_f64_e64 v[5:6], tba              ; encoding: [0x05,0x00,0x68,0xd1,0x6c,0x00,0x00,0x00]
0x05,0x00,0x68,0xd1,0x6c,0x00,0x00,0x00

# CHECK: v_sqrt_f64_e64 v[5:6], tma              ; encoding: [0x05,0x00,0x68,0xd1,0x6e,0x00,0x00,0x00]
0x05,0x00,0x68,0xd1,0x6e,0x00,0x00,0x00

# CHECK: v_sqrt_f64_e64 v[5:6], ttmp[10:11]      ; encoding: [0x05,0x00,0x68,0xd1,0x7a,0x00,0x00,0x00]
0x05,0x00,0x68,0xd1,0x7a,0x00,0x00,0x00

# CHECK: v_sqrt_f64_e64 v[5:6], exec             ; encoding: [0x05,0x00,0x68,0xd1,0x7e,0x00,0x00,0x00]
0x05,0x00,0x68,0xd1,0x7e,0x00,0x00,0x00

# CHECK: v_sqrt_f64_e64 v[5:6], 0                ; encoding: [0x05,0x00,0x68,0xd1,0x80,0x00,0x00,0x00]
0x05,0x00,0x68,0xd1,0x80,0x00,0x00,0x00

# CHECK: v_sqrt_f64_e64 v[5:6], -1               ; encoding: [0x05,0x00,0x68,0xd1,0xc1,0x00,0x00,0x00]
0x05,0x00,0x68,0xd1,0xc1,0x00,0x00,0x00

# CHECK: v_sqrt_f64_e64 v[5:6], 0.5              ; encoding: [0x05,0x00,0x68,0xd1,0xf0,0x00,0x00,0x00]
0x05,0x00,0x68,0xd1,0xf0,0x00,0x00,0x00

# CHECK: v_sqrt_f64_e64 v[5:6], -4.0             ; encoding: [0x05,0x00,0x68,0xd1,0xf7,0x00,0x00,0x00]
0x05,0x00,0x68,0xd1,0xf7,0x00,0x00,0x00

# CHECK: v_sqrt_f64_e64 v[5:6], -v[1:2]          ; encoding: [0x05,0x00,0x68,0xd1,0x01,0x01,0x00,0x20]
0x05,0x00,0x68,0xd1,0x01,0x01,0x00,0x20

# CHECK: v_sqrt_f64_e64 v[5:6], |v[1:2]|         ; encoding: [0x05,0x01,0x68,0xd1,0x01,0x01,0x00,0x00]
0x05,0x01,0x68,0xd1,0x01,0x01,0x00,0x00

# CHECK: v_sqrt_f64_e64 v[5:6], v[1:2] clamp     ; encoding: [0x05,0x80,0x68,0xd1,0x01,0x01,0x00,0x00]
0x05,0x80,0x68,0xd1,0x01,0x01,0x00,0x00

# CHECK: v_sqrt_f64_e64 v[5:6], v[1:2] mul:2     ; encoding: [0x05,0x00,0x68,0xd1,0x01,0x01,0x00,0x08]
0x05,0x00,0x68,0xd1,0x01,0x01,0x00,0x08

# CHECK: v_sqrt_f64_e64 v[5:6], v[1:2] mul:4     ; encoding: [0x05,0x00,0x68,0xd1,0x01,0x01,0x00,0x10]
0x05,0x00,0x68,0xd1,0x01,0x01,0x00,0x10

# CHECK: v_sqrt_f64_e64 v[5:6], v[1:2] div:2     ; encoding: [0x05,0x00,0x68,0xd1,0x01,0x01,0x00,0x18]
0x05,0x00,0x68,0xd1,0x01,0x01,0x00,0x18

# CHECK: v_sin_f32_e64 v5, v1                    ; encoding: [0x05,0x00,0x69,0xd1,0x01,0x01,0x00,0x00]
0x05,0x00,0x69,0xd1,0x01,0x01,0x00,0x00

# CHECK: v_sin_f32_e64 v255, v1                  ; encoding: [0xff,0x00,0x69,0xd1,0x01,0x01,0x00,0x00]
0xff,0x00,0x69,0xd1,0x01,0x01,0x00,0x00

# CHECK: v_sin_f32_e64 v5, v255                  ; encoding: [0x05,0x00,0x69,0xd1,0xff,0x01,0x00,0x00]
0x05,0x00,0x69,0xd1,0xff,0x01,0x00,0x00

# CHECK: v_sin_f32_e64 v5, s1                    ; encoding: [0x05,0x00,0x69,0xd1,0x01,0x00,0x00,0x00]
0x05,0x00,0x69,0xd1,0x01,0x00,0x00,0x00

# CHECK: v_sin_f32_e64 v5, s101                  ; encoding: [0x05,0x00,0x69,0xd1,0x65,0x00,0x00,0x00]
0x05,0x00,0x69,0xd1,0x65,0x00,0x00,0x00

# CHECK: v_sin_f32_e64 v5, flat_scratch_lo       ; encoding: [0x05,0x00,0x69,0xd1,0x66,0x00,0x00,0x00]
0x05,0x00,0x69,0xd1,0x66,0x00,0x00,0x00

# CHECK: v_sin_f32_e64 v5, flat_scratch_hi       ; encoding: [0x05,0x00,0x69,0xd1,0x67,0x00,0x00,0x00]
0x05,0x00,0x69,0xd1,0x67,0x00,0x00,0x00

# CHECK: v_sin_f32_e64 v5, vcc_lo                ; encoding: [0x05,0x00,0x69,0xd1,0x6a,0x00,0x00,0x00]
0x05,0x00,0x69,0xd1,0x6a,0x00,0x00,0x00

# CHECK: v_sin_f32_e64 v5, vcc_hi                ; encoding: [0x05,0x00,0x69,0xd1,0x6b,0x00,0x00,0x00]
0x05,0x00,0x69,0xd1,0x6b,0x00,0x00,0x00

# CHECK: v_sin_f32_e64 v5, tba_lo                ; encoding: [0x05,0x00,0x69,0xd1,0x6c,0x00,0x00,0x00]
0x05,0x00,0x69,0xd1,0x6c,0x00,0x00,0x00

# CHECK: v_sin_f32_e64 v5, tba_hi                ; encoding: [0x05,0x00,0x69,0xd1,0x6d,0x00,0x00,0x00]
0x05,0x00,0x69,0xd1,0x6d,0x00,0x00,0x00

# CHECK: v_sin_f32_e64 v5, tma_lo                ; encoding: [0x05,0x00,0x69,0xd1,0x6e,0x00,0x00,0x00]
0x05,0x00,0x69,0xd1,0x6e,0x00,0x00,0x00

# CHECK: v_sin_f32_e64 v5, tma_hi                ; encoding: [0x05,0x00,0x69,0xd1,0x6f,0x00,0x00,0x00]
0x05,0x00,0x69,0xd1,0x6f,0x00,0x00,0x00

# CHECK: v_sin_f32_e64 v5, ttmp11                ; encoding: [0x05,0x00,0x69,0xd1,0x7b,0x00,0x00,0x00]
0x05,0x00,0x69,0xd1,0x7b,0x00,0x00,0x00

# CHECK: v_sin_f32_e64 v5, m0                    ; encoding: [0x05,0x00,0x69,0xd1,0x7c,0x00,0x00,0x00]
0x05,0x00,0x69,0xd1,0x7c,0x00,0x00,0x00

# CHECK: v_sin_f32_e64 v5, exec_lo               ; encoding: [0x05,0x00,0x69,0xd1,0x7e,0x00,0x00,0x00]
0x05,0x00,0x69,0xd1,0x7e,0x00,0x00,0x00

# CHECK: v_sin_f32_e64 v5, exec_hi               ; encoding: [0x05,0x00,0x69,0xd1,0x7f,0x00,0x00,0x00]
0x05,0x00,0x69,0xd1,0x7f,0x00,0x00,0x00

# CHECK: v_sin_f32_e64 v5, 0                     ; encoding: [0x05,0x00,0x69,0xd1,0x80,0x00,0x00,0x00]
0x05,0x00,0x69,0xd1,0x80,0x00,0x00,0x00

# CHECK: v_sin_f32_e64 v5, -1                    ; encoding: [0x05,0x00,0x69,0xd1,0xc1,0x00,0x00,0x00]
0x05,0x00,0x69,0xd1,0xc1,0x00,0x00,0x00

# CHECK: v_sin_f32_e64 v5, 0.5                   ; encoding: [0x05,0x00,0x69,0xd1,0xf0,0x00,0x00,0x00]
0x05,0x00,0x69,0xd1,0xf0,0x00,0x00,0x00

# CHECK: v_sin_f32_e64 v5, -4.0                  ; encoding: [0x05,0x00,0x69,0xd1,0xf7,0x00,0x00,0x00]
0x05,0x00,0x69,0xd1,0xf7,0x00,0x00,0x00

# CHECK: v_sin_f32_e64 v5, -v1                   ; encoding: [0x05,0x00,0x69,0xd1,0x01,0x01,0x00,0x20]
0x05,0x00,0x69,0xd1,0x01,0x01,0x00,0x20

# CHECK: v_sin_f32_e64 v5, |v1|                  ; encoding: [0x05,0x01,0x69,0xd1,0x01,0x01,0x00,0x00]
0x05,0x01,0x69,0xd1,0x01,0x01,0x00,0x00

# CHECK: v_sin_f32_e64 v5, v1 clamp              ; encoding: [0x05,0x80,0x69,0xd1,0x01,0x01,0x00,0x00]
0x05,0x80,0x69,0xd1,0x01,0x01,0x00,0x00

# CHECK: v_sin_f32_e64 v5, v1 mul:2              ; encoding: [0x05,0x00,0x69,0xd1,0x01,0x01,0x00,0x08]
0x05,0x00,0x69,0xd1,0x01,0x01,0x00,0x08

# CHECK: v_sin_f32_e64 v5, v1 mul:4              ; encoding: [0x05,0x00,0x69,0xd1,0x01,0x01,0x00,0x10]
0x05,0x00,0x69,0xd1,0x01,0x01,0x00,0x10

# CHECK: v_sin_f32_e64 v5, v1 div:2              ; encoding: [0x05,0x00,0x69,0xd1,0x01,0x01,0x00,0x18]
0x05,0x00,0x69,0xd1,0x01,0x01,0x00,0x18

# CHECK: v_cos_f32_e64 v5, v1                    ; encoding: [0x05,0x00,0x6a,0xd1,0x01,0x01,0x00,0x00]
0x05,0x00,0x6a,0xd1,0x01,0x01,0x00,0x00

# CHECK: v_cos_f32_e64 v255, v1                  ; encoding: [0xff,0x00,0x6a,0xd1,0x01,0x01,0x00,0x00]
0xff,0x00,0x6a,0xd1,0x01,0x01,0x00,0x00

# CHECK: v_cos_f32_e64 v5, v255                  ; encoding: [0x05,0x00,0x6a,0xd1,0xff,0x01,0x00,0x00]
0x05,0x00,0x6a,0xd1,0xff,0x01,0x00,0x00

# CHECK: v_cos_f32_e64 v5, s1                    ; encoding: [0x05,0x00,0x6a,0xd1,0x01,0x00,0x00,0x00]
0x05,0x00,0x6a,0xd1,0x01,0x00,0x00,0x00

# CHECK: v_cos_f32_e64 v5, s101                  ; encoding: [0x05,0x00,0x6a,0xd1,0x65,0x00,0x00,0x00]
0x05,0x00,0x6a,0xd1,0x65,0x00,0x00,0x00

# CHECK: v_cos_f32_e64 v5, flat_scratch_lo       ; encoding: [0x05,0x00,0x6a,0xd1,0x66,0x00,0x00,0x00]
0x05,0x00,0x6a,0xd1,0x66,0x00,0x00,0x00

# CHECK: v_cos_f32_e64 v5, flat_scratch_hi       ; encoding: [0x05,0x00,0x6a,0xd1,0x67,0x00,0x00,0x00]
0x05,0x00,0x6a,0xd1,0x67,0x00,0x00,0x00

# CHECK: v_cos_f32_e64 v5, vcc_lo                ; encoding: [0x05,0x00,0x6a,0xd1,0x6a,0x00,0x00,0x00]
0x05,0x00,0x6a,0xd1,0x6a,0x00,0x00,0x00

# CHECK: v_cos_f32_e64 v5, vcc_hi                ; encoding: [0x05,0x00,0x6a,0xd1,0x6b,0x00,0x00,0x00]
0x05,0x00,0x6a,0xd1,0x6b,0x00,0x00,0x00

# CHECK: v_cos_f32_e64 v5, tba_lo                ; encoding: [0x05,0x00,0x6a,0xd1,0x6c,0x00,0x00,0x00]
0x05,0x00,0x6a,0xd1,0x6c,0x00,0x00,0x00

# CHECK: v_cos_f32_e64 v5, tba_hi                ; encoding: [0x05,0x00,0x6a,0xd1,0x6d,0x00,0x00,0x00]
0x05,0x00,0x6a,0xd1,0x6d,0x00,0x00,0x00

# CHECK: v_cos_f32_e64 v5, tma_lo                ; encoding: [0x05,0x00,0x6a,0xd1,0x6e,0x00,0x00,0x00]
0x05,0x00,0x6a,0xd1,0x6e,0x00,0x00,0x00

# CHECK: v_cos_f32_e64 v5, tma_hi                ; encoding: [0x05,0x00,0x6a,0xd1,0x6f,0x00,0x00,0x00]
0x05,0x00,0x6a,0xd1,0x6f,0x00,0x00,0x00

# CHECK: v_cos_f32_e64 v5, ttmp11                ; encoding: [0x05,0x00,0x6a,0xd1,0x7b,0x00,0x00,0x00]
0x05,0x00,0x6a,0xd1,0x7b,0x00,0x00,0x00

# CHECK: v_cos_f32_e64 v5, m0                    ; encoding: [0x05,0x00,0x6a,0xd1,0x7c,0x00,0x00,0x00]
0x05,0x00,0x6a,0xd1,0x7c,0x00,0x00,0x00

# CHECK: v_cos_f32_e64 v5, exec_lo               ; encoding: [0x05,0x00,0x6a,0xd1,0x7e,0x00,0x00,0x00]
0x05,0x00,0x6a,0xd1,0x7e,0x00,0x00,0x00

# CHECK: v_cos_f32_e64 v5, exec_hi               ; encoding: [0x05,0x00,0x6a,0xd1,0x7f,0x00,0x00,0x00]
0x05,0x00,0x6a,0xd1,0x7f,0x00,0x00,0x00

# CHECK: v_cos_f32_e64 v5, 0                     ; encoding: [0x05,0x00,0x6a,0xd1,0x80,0x00,0x00,0x00]
0x05,0x00,0x6a,0xd1,0x80,0x00,0x00,0x00

# CHECK: v_cos_f32_e64 v5, -1                    ; encoding: [0x05,0x00,0x6a,0xd1,0xc1,0x00,0x00,0x00]
0x05,0x00,0x6a,0xd1,0xc1,0x00,0x00,0x00

# CHECK: v_cos_f32_e64 v5, 0.5                   ; encoding: [0x05,0x00,0x6a,0xd1,0xf0,0x00,0x00,0x00]
0x05,0x00,0x6a,0xd1,0xf0,0x00,0x00,0x00

# CHECK: v_cos_f32_e64 v5, -4.0                  ; encoding: [0x05,0x00,0x6a,0xd1,0xf7,0x00,0x00,0x00]
0x05,0x00,0x6a,0xd1,0xf7,0x00,0x00,0x00

# CHECK: v_cos_f32_e64 v5, -v1                   ; encoding: [0x05,0x00,0x6a,0xd1,0x01,0x01,0x00,0x20]
0x05,0x00,0x6a,0xd1,0x01,0x01,0x00,0x20

# CHECK: v_cos_f32_e64 v5, |v1|                  ; encoding: [0x05,0x01,0x6a,0xd1,0x01,0x01,0x00,0x00]
0x05,0x01,0x6a,0xd1,0x01,0x01,0x00,0x00

# CHECK: v_cos_f32_e64 v5, v1 clamp              ; encoding: [0x05,0x80,0x6a,0xd1,0x01,0x01,0x00,0x00]
0x05,0x80,0x6a,0xd1,0x01,0x01,0x00,0x00

# CHECK: v_cos_f32_e64 v5, v1 mul:2              ; encoding: [0x05,0x00,0x6a,0xd1,0x01,0x01,0x00,0x08]
0x05,0x00,0x6a,0xd1,0x01,0x01,0x00,0x08

# CHECK: v_cos_f32_e64 v5, v1 mul:4              ; encoding: [0x05,0x00,0x6a,0xd1,0x01,0x01,0x00,0x10]
0x05,0x00,0x6a,0xd1,0x01,0x01,0x00,0x10

# CHECK: v_cos_f32_e64 v5, v1 div:2              ; encoding: [0x05,0x00,0x6a,0xd1,0x01,0x01,0x00,0x18]
0x05,0x00,0x6a,0xd1,0x01,0x01,0x00,0x18

# CHECK: v_not_b32_e64 v5, v1                    ; encoding: [0x05,0x00,0x6b,0xd1,0x01,0x01,0x00,0x00]
0x05,0x00,0x6b,0xd1,0x01,0x01,0x00,0x00

# CHECK: v_not_b32_e64 v255, v1                  ; encoding: [0xff,0x00,0x6b,0xd1,0x01,0x01,0x00,0x00]
0xff,0x00,0x6b,0xd1,0x01,0x01,0x00,0x00

# CHECK: v_not_b32_e64 v5, v255                  ; encoding: [0x05,0x00,0x6b,0xd1,0xff,0x01,0x00,0x00]
0x05,0x00,0x6b,0xd1,0xff,0x01,0x00,0x00

# CHECK: v_not_b32_e64 v5, s1                    ; encoding: [0x05,0x00,0x6b,0xd1,0x01,0x00,0x00,0x00]
0x05,0x00,0x6b,0xd1,0x01,0x00,0x00,0x00

# CHECK: v_not_b32_e64 v5, s101                  ; encoding: [0x05,0x00,0x6b,0xd1,0x65,0x00,0x00,0x00]
0x05,0x00,0x6b,0xd1,0x65,0x00,0x00,0x00

# CHECK: v_not_b32_e64 v5, flat_scratch_lo       ; encoding: [0x05,0x00,0x6b,0xd1,0x66,0x00,0x00,0x00]
0x05,0x00,0x6b,0xd1,0x66,0x00,0x00,0x00

# CHECK: v_not_b32_e64 v5, flat_scratch_hi       ; encoding: [0x05,0x00,0x6b,0xd1,0x67,0x00,0x00,0x00]
0x05,0x00,0x6b,0xd1,0x67,0x00,0x00,0x00

# CHECK: v_not_b32_e64 v5, vcc_lo                ; encoding: [0x05,0x00,0x6b,0xd1,0x6a,0x00,0x00,0x00]
0x05,0x00,0x6b,0xd1,0x6a,0x00,0x00,0x00

# CHECK: v_not_b32_e64 v5, vcc_hi                ; encoding: [0x05,0x00,0x6b,0xd1,0x6b,0x00,0x00,0x00]
0x05,0x00,0x6b,0xd1,0x6b,0x00,0x00,0x00

# CHECK: v_not_b32_e64 v5, tba_lo                ; encoding: [0x05,0x00,0x6b,0xd1,0x6c,0x00,0x00,0x00]
0x05,0x00,0x6b,0xd1,0x6c,0x00,0x00,0x00

# CHECK: v_not_b32_e64 v5, tba_hi                ; encoding: [0x05,0x00,0x6b,0xd1,0x6d,0x00,0x00,0x00]
0x05,0x00,0x6b,0xd1,0x6d,0x00,0x00,0x00

# CHECK: v_not_b32_e64 v5, tma_lo                ; encoding: [0x05,0x00,0x6b,0xd1,0x6e,0x00,0x00,0x00]
0x05,0x00,0x6b,0xd1,0x6e,0x00,0x00,0x00

# CHECK: v_not_b32_e64 v5, tma_hi                ; encoding: [0x05,0x00,0x6b,0xd1,0x6f,0x00,0x00,0x00]
0x05,0x00,0x6b,0xd1,0x6f,0x00,0x00,0x00

# CHECK: v_not_b32_e64 v5, ttmp11                ; encoding: [0x05,0x00,0x6b,0xd1,0x7b,0x00,0x00,0x00]
0x05,0x00,0x6b,0xd1,0x7b,0x00,0x00,0x00

# CHECK: v_not_b32_e64 v5, m0                    ; encoding: [0x05,0x00,0x6b,0xd1,0x7c,0x00,0x00,0x00]
0x05,0x00,0x6b,0xd1,0x7c,0x00,0x00,0x00

# CHECK: v_not_b32_e64 v5, exec_lo               ; encoding: [0x05,0x00,0x6b,0xd1,0x7e,0x00,0x00,0x00]
0x05,0x00,0x6b,0xd1,0x7e,0x00,0x00,0x00

# CHECK: v_not_b32_e64 v5, exec_hi               ; encoding: [0x05,0x00,0x6b,0xd1,0x7f,0x00,0x00,0x00]
0x05,0x00,0x6b,0xd1,0x7f,0x00,0x00,0x00

# CHECK: v_not_b32_e64 v5, 0                     ; encoding: [0x05,0x00,0x6b,0xd1,0x80,0x00,0x00,0x00]
0x05,0x00,0x6b,0xd1,0x80,0x00,0x00,0x00

# CHECK: v_not_b32_e64 v5, -1                    ; encoding: [0x05,0x00,0x6b,0xd1,0xc1,0x00,0x00,0x00]
0x05,0x00,0x6b,0xd1,0xc1,0x00,0x00,0x00

# CHECK: v_not_b32_e64 v5, 0.5                   ; encoding: [0x05,0x00,0x6b,0xd1,0xf0,0x00,0x00,0x00]
0x05,0x00,0x6b,0xd1,0xf0,0x00,0x00,0x00

# CHECK: v_not_b32_e64 v5, -4.0                  ; encoding: [0x05,0x00,0x6b,0xd1,0xf7,0x00,0x00,0x00]
0x05,0x00,0x6b,0xd1,0xf7,0x00,0x00,0x00

# CHECK: v_bfrev_b32_e64 v5, v1                  ; encoding: [0x05,0x00,0x6c,0xd1,0x01,0x01,0x00,0x00]
0x05,0x00,0x6c,0xd1,0x01,0x01,0x00,0x00

# CHECK: v_bfrev_b32_e64 v255, v1                ; encoding: [0xff,0x00,0x6c,0xd1,0x01,0x01,0x00,0x00]
0xff,0x00,0x6c,0xd1,0x01,0x01,0x00,0x00

# CHECK: v_bfrev_b32_e64 v5, v255                ; encoding: [0x05,0x00,0x6c,0xd1,0xff,0x01,0x00,0x00]
0x05,0x00,0x6c,0xd1,0xff,0x01,0x00,0x00

# CHECK: v_bfrev_b32_e64 v5, s1                  ; encoding: [0x05,0x00,0x6c,0xd1,0x01,0x00,0x00,0x00]
0x05,0x00,0x6c,0xd1,0x01,0x00,0x00,0x00

# CHECK: v_bfrev_b32_e64 v5, s101                ; encoding: [0x05,0x00,0x6c,0xd1,0x65,0x00,0x00,0x00]
0x05,0x00,0x6c,0xd1,0x65,0x00,0x00,0x00

# CHECK: v_bfrev_b32_e64 v5, flat_scratch_lo     ; encoding: [0x05,0x00,0x6c,0xd1,0x66,0x00,0x00,0x00]
0x05,0x00,0x6c,0xd1,0x66,0x00,0x00,0x00

# CHECK: v_bfrev_b32_e64 v5, flat_scratch_hi     ; encoding: [0x05,0x00,0x6c,0xd1,0x67,0x00,0x00,0x00]
0x05,0x00,0x6c,0xd1,0x67,0x00,0x00,0x00

# CHECK: v_bfrev_b32_e64 v5, vcc_lo              ; encoding: [0x05,0x00,0x6c,0xd1,0x6a,0x00,0x00,0x00]
0x05,0x00,0x6c,0xd1,0x6a,0x00,0x00,0x00

# CHECK: v_bfrev_b32_e64 v5, vcc_hi              ; encoding: [0x05,0x00,0x6c,0xd1,0x6b,0x00,0x00,0x00]
0x05,0x00,0x6c,0xd1,0x6b,0x00,0x00,0x00

# CHECK: v_bfrev_b32_e64 v5, tba_lo              ; encoding: [0x05,0x00,0x6c,0xd1,0x6c,0x00,0x00,0x00]
0x05,0x00,0x6c,0xd1,0x6c,0x00,0x00,0x00

# CHECK: v_bfrev_b32_e64 v5, tba_hi              ; encoding: [0x05,0x00,0x6c,0xd1,0x6d,0x00,0x00,0x00]
0x05,0x00,0x6c,0xd1,0x6d,0x00,0x00,0x00

# CHECK: v_bfrev_b32_e64 v5, tma_lo              ; encoding: [0x05,0x00,0x6c,0xd1,0x6e,0x00,0x00,0x00]
0x05,0x00,0x6c,0xd1,0x6e,0x00,0x00,0x00

# CHECK: v_bfrev_b32_e64 v5, tma_hi              ; encoding: [0x05,0x00,0x6c,0xd1,0x6f,0x00,0x00,0x00]
0x05,0x00,0x6c,0xd1,0x6f,0x00,0x00,0x00

# CHECK: v_bfrev_b32_e64 v5, ttmp11              ; encoding: [0x05,0x00,0x6c,0xd1,0x7b,0x00,0x00,0x00]
0x05,0x00,0x6c,0xd1,0x7b,0x00,0x00,0x00

# CHECK: v_bfrev_b32_e64 v5, m0                  ; encoding: [0x05,0x00,0x6c,0xd1,0x7c,0x00,0x00,0x00]
0x05,0x00,0x6c,0xd1,0x7c,0x00,0x00,0x00

# CHECK: v_bfrev_b32_e64 v5, exec_lo             ; encoding: [0x05,0x00,0x6c,0xd1,0x7e,0x00,0x00,0x00]
0x05,0x00,0x6c,0xd1,0x7e,0x00,0x00,0x00

# CHECK: v_bfrev_b32_e64 v5, exec_hi             ; encoding: [0x05,0x00,0x6c,0xd1,0x7f,0x00,0x00,0x00]
0x05,0x00,0x6c,0xd1,0x7f,0x00,0x00,0x00

# CHECK: v_bfrev_b32_e64 v5, 0                   ; encoding: [0x05,0x00,0x6c,0xd1,0x80,0x00,0x00,0x00]
0x05,0x00,0x6c,0xd1,0x80,0x00,0x00,0x00

# CHECK: v_bfrev_b32_e64 v5, -1                  ; encoding: [0x05,0x00,0x6c,0xd1,0xc1,0x00,0x00,0x00]
0x05,0x00,0x6c,0xd1,0xc1,0x00,0x00,0x00

# CHECK: v_bfrev_b32_e64 v5, 0.5                 ; encoding: [0x05,0x00,0x6c,0xd1,0xf0,0x00,0x00,0x00]
0x05,0x00,0x6c,0xd1,0xf0,0x00,0x00,0x00

# CHECK: v_bfrev_b32_e64 v5, -4.0                ; encoding: [0x05,0x00,0x6c,0xd1,0xf7,0x00,0x00,0x00]
0x05,0x00,0x6c,0xd1,0xf7,0x00,0x00,0x00

# CHECK: v_ffbh_u32_e64 v5, v1                   ; encoding: [0x05,0x00,0x6d,0xd1,0x01,0x01,0x00,0x00]
0x05,0x00,0x6d,0xd1,0x01,0x01,0x00,0x00

# CHECK: v_ffbh_u32_e64 v255, v1                 ; encoding: [0xff,0x00,0x6d,0xd1,0x01,0x01,0x00,0x00]
0xff,0x00,0x6d,0xd1,0x01,0x01,0x00,0x00

# CHECK: v_ffbh_u32_e64 v5, v255                 ; encoding: [0x05,0x00,0x6d,0xd1,0xff,0x01,0x00,0x00]
0x05,0x00,0x6d,0xd1,0xff,0x01,0x00,0x00

# CHECK: v_ffbh_u32_e64 v5, s1                   ; encoding: [0x05,0x00,0x6d,0xd1,0x01,0x00,0x00,0x00]
0x05,0x00,0x6d,0xd1,0x01,0x00,0x00,0x00

# CHECK: v_ffbh_u32_e64 v5, s101                 ; encoding: [0x05,0x00,0x6d,0xd1,0x65,0x00,0x00,0x00]
0x05,0x00,0x6d,0xd1,0x65,0x00,0x00,0x00

# CHECK: v_ffbh_u32_e64 v5, flat_scratch_lo      ; encoding: [0x05,0x00,0x6d,0xd1,0x66,0x00,0x00,0x00]
0x05,0x00,0x6d,0xd1,0x66,0x00,0x00,0x00

# CHECK: v_ffbh_u32_e64 v5, flat_scratch_hi      ; encoding: [0x05,0x00,0x6d,0xd1,0x67,0x00,0x00,0x00]
0x05,0x00,0x6d,0xd1,0x67,0x00,0x00,0x00

# CHECK: v_ffbh_u32_e64 v5, vcc_lo               ; encoding: [0x05,0x00,0x6d,0xd1,0x6a,0x00,0x00,0x00]
0x05,0x00,0x6d,0xd1,0x6a,0x00,0x00,0x00

# CHECK: v_ffbh_u32_e64 v5, vcc_hi               ; encoding: [0x05,0x00,0x6d,0xd1,0x6b,0x00,0x00,0x00]
0x05,0x00,0x6d,0xd1,0x6b,0x00,0x00,0x00

# CHECK: v_ffbh_u32_e64 v5, tba_lo               ; encoding: [0x05,0x00,0x6d,0xd1,0x6c,0x00,0x00,0x00]
0x05,0x00,0x6d,0xd1,0x6c,0x00,0x00,0x00

# CHECK: v_ffbh_u32_e64 v5, tba_hi               ; encoding: [0x05,0x00,0x6d,0xd1,0x6d,0x00,0x00,0x00]
0x05,0x00,0x6d,0xd1,0x6d,0x00,0x00,0x00

# CHECK: v_ffbh_u32_e64 v5, tma_lo               ; encoding: [0x05,0x00,0x6d,0xd1,0x6e,0x00,0x00,0x00]
0x05,0x00,0x6d,0xd1,0x6e,0x00,0x00,0x00

# CHECK: v_ffbh_u32_e64 v5, tma_hi               ; encoding: [0x05,0x00,0x6d,0xd1,0x6f,0x00,0x00,0x00]
0x05,0x00,0x6d,0xd1,0x6f,0x00,0x00,0x00

# CHECK: v_ffbh_u32_e64 v5, ttmp11               ; encoding: [0x05,0x00,0x6d,0xd1,0x7b,0x00,0x00,0x00]
0x05,0x00,0x6d,0xd1,0x7b,0x00,0x00,0x00

# CHECK: v_ffbh_u32_e64 v5, m0                   ; encoding: [0x05,0x00,0x6d,0xd1,0x7c,0x00,0x00,0x00]
0x05,0x00,0x6d,0xd1,0x7c,0x00,0x00,0x00

# CHECK: v_ffbh_u32_e64 v5, exec_lo              ; encoding: [0x05,0x00,0x6d,0xd1,0x7e,0x00,0x00,0x00]
0x05,0x00,0x6d,0xd1,0x7e,0x00,0x00,0x00

# CHECK: v_ffbh_u32_e64 v5, exec_hi              ; encoding: [0x05,0x00,0x6d,0xd1,0x7f,0x00,0x00,0x00]
0x05,0x00,0x6d,0xd1,0x7f,0x00,0x00,0x00

# CHECK: v_ffbh_u32_e64 v5, 0                    ; encoding: [0x05,0x00,0x6d,0xd1,0x80,0x00,0x00,0x00]
0x05,0x00,0x6d,0xd1,0x80,0x00,0x00,0x00

# CHECK: v_ffbh_u32_e64 v5, -1                   ; encoding: [0x05,0x00,0x6d,0xd1,0xc1,0x00,0x00,0x00]
0x05,0x00,0x6d,0xd1,0xc1,0x00,0x00,0x00

# CHECK: v_ffbh_u32_e64 v5, 0.5                  ; encoding: [0x05,0x00,0x6d,0xd1,0xf0,0x00,0x00,0x00]
0x05,0x00,0x6d,0xd1,0xf0,0x00,0x00,0x00

# CHECK: v_ffbh_u32_e64 v5, -4.0                 ; encoding: [0x05,0x00,0x6d,0xd1,0xf7,0x00,0x00,0x00]
0x05,0x00,0x6d,0xd1,0xf7,0x00,0x00,0x00

# CHECK: v_ffbl_b32_e64 v5, v1                   ; encoding: [0x05,0x00,0x6e,0xd1,0x01,0x01,0x00,0x00]
0x05,0x00,0x6e,0xd1,0x01,0x01,0x00,0x00

# CHECK: v_ffbl_b32_e64 v255, v1                 ; encoding: [0xff,0x00,0x6e,0xd1,0x01,0x01,0x00,0x00]
0xff,0x00,0x6e,0xd1,0x01,0x01,0x00,0x00

# CHECK: v_ffbl_b32_e64 v5, v255                 ; encoding: [0x05,0x00,0x6e,0xd1,0xff,0x01,0x00,0x00]
0x05,0x00,0x6e,0xd1,0xff,0x01,0x00,0x00

# CHECK: v_ffbl_b32_e64 v5, s1                   ; encoding: [0x05,0x00,0x6e,0xd1,0x01,0x00,0x00,0x00]
0x05,0x00,0x6e,0xd1,0x01,0x00,0x00,0x00

# CHECK: v_ffbl_b32_e64 v5, s101                 ; encoding: [0x05,0x00,0x6e,0xd1,0x65,0x00,0x00,0x00]
0x05,0x00,0x6e,0xd1,0x65,0x00,0x00,0x00

# CHECK: v_ffbl_b32_e64 v5, flat_scratch_lo      ; encoding: [0x05,0x00,0x6e,0xd1,0x66,0x00,0x00,0x00]
0x05,0x00,0x6e,0xd1,0x66,0x00,0x00,0x00

# CHECK: v_ffbl_b32_e64 v5, flat_scratch_hi      ; encoding: [0x05,0x00,0x6e,0xd1,0x67,0x00,0x00,0x00]
0x05,0x00,0x6e,0xd1,0x67,0x00,0x00,0x00

# CHECK: v_ffbl_b32_e64 v5, vcc_lo               ; encoding: [0x05,0x00,0x6e,0xd1,0x6a,0x00,0x00,0x00]
0x05,0x00,0x6e,0xd1,0x6a,0x00,0x00,0x00

# CHECK: v_ffbl_b32_e64 v5, vcc_hi               ; encoding: [0x05,0x00,0x6e,0xd1,0x6b,0x00,0x00,0x00]
0x05,0x00,0x6e,0xd1,0x6b,0x00,0x00,0x00

# CHECK: v_ffbl_b32_e64 v5, tba_lo               ; encoding: [0x05,0x00,0x6e,0xd1,0x6c,0x00,0x00,0x00]
0x05,0x00,0x6e,0xd1,0x6c,0x00,0x00,0x00

# CHECK: v_ffbl_b32_e64 v5, tba_hi               ; encoding: [0x05,0x00,0x6e,0xd1,0x6d,0x00,0x00,0x00]
0x05,0x00,0x6e,0xd1,0x6d,0x00,0x00,0x00

# CHECK: v_ffbl_b32_e64 v5, tma_lo               ; encoding: [0x05,0x00,0x6e,0xd1,0x6e,0x00,0x00,0x00]
0x05,0x00,0x6e,0xd1,0x6e,0x00,0x00,0x00

# CHECK: v_ffbl_b32_e64 v5, tma_hi               ; encoding: [0x05,0x00,0x6e,0xd1,0x6f,0x00,0x00,0x00]
0x05,0x00,0x6e,0xd1,0x6f,0x00,0x00,0x00

# CHECK: v_ffbl_b32_e64 v5, ttmp11               ; encoding: [0x05,0x00,0x6e,0xd1,0x7b,0x00,0x00,0x00]
0x05,0x00,0x6e,0xd1,0x7b,0x00,0x00,0x00

# CHECK: v_ffbl_b32_e64 v5, m0                   ; encoding: [0x05,0x00,0x6e,0xd1,0x7c,0x00,0x00,0x00]
0x05,0x00,0x6e,0xd1,0x7c,0x00,0x00,0x00

# CHECK: v_ffbl_b32_e64 v5, exec_lo              ; encoding: [0x05,0x00,0x6e,0xd1,0x7e,0x00,0x00,0x00]
0x05,0x00,0x6e,0xd1,0x7e,0x00,0x00,0x00

# CHECK: v_ffbl_b32_e64 v5, exec_hi              ; encoding: [0x05,0x00,0x6e,0xd1,0x7f,0x00,0x00,0x00]
0x05,0x00,0x6e,0xd1,0x7f,0x00,0x00,0x00

# CHECK: v_ffbl_b32_e64 v5, 0                    ; encoding: [0x05,0x00,0x6e,0xd1,0x80,0x00,0x00,0x00]
0x05,0x00,0x6e,0xd1,0x80,0x00,0x00,0x00

# CHECK: v_ffbl_b32_e64 v5, -1                   ; encoding: [0x05,0x00,0x6e,0xd1,0xc1,0x00,0x00,0x00]
0x05,0x00,0x6e,0xd1,0xc1,0x00,0x00,0x00

# CHECK: v_ffbl_b32_e64 v5, 0.5                  ; encoding: [0x05,0x00,0x6e,0xd1,0xf0,0x00,0x00,0x00]
0x05,0x00,0x6e,0xd1,0xf0,0x00,0x00,0x00

# CHECK: v_ffbl_b32_e64 v5, -4.0                 ; encoding: [0x05,0x00,0x6e,0xd1,0xf7,0x00,0x00,0x00]
0x05,0x00,0x6e,0xd1,0xf7,0x00,0x00,0x00

# CHECK: v_ffbh_i32_e64 v5, v1                   ; encoding: [0x05,0x00,0x6f,0xd1,0x01,0x01,0x00,0x00]
0x05,0x00,0x6f,0xd1,0x01,0x01,0x00,0x00

# CHECK: v_ffbh_i32_e64 v255, v1                 ; encoding: [0xff,0x00,0x6f,0xd1,0x01,0x01,0x00,0x00]
0xff,0x00,0x6f,0xd1,0x01,0x01,0x00,0x00

# CHECK: v_ffbh_i32_e64 v5, v255                 ; encoding: [0x05,0x00,0x6f,0xd1,0xff,0x01,0x00,0x00]
0x05,0x00,0x6f,0xd1,0xff,0x01,0x00,0x00

# CHECK: v_ffbh_i32_e64 v5, s1                   ; encoding: [0x05,0x00,0x6f,0xd1,0x01,0x00,0x00,0x00]
0x05,0x00,0x6f,0xd1,0x01,0x00,0x00,0x00

# CHECK: v_ffbh_i32_e64 v5, s101                 ; encoding: [0x05,0x00,0x6f,0xd1,0x65,0x00,0x00,0x00]
0x05,0x00,0x6f,0xd1,0x65,0x00,0x00,0x00

# CHECK: v_ffbh_i32_e64 v5, flat_scratch_lo      ; encoding: [0x05,0x00,0x6f,0xd1,0x66,0x00,0x00,0x00]
0x05,0x00,0x6f,0xd1,0x66,0x00,0x00,0x00

# CHECK: v_ffbh_i32_e64 v5, flat_scratch_hi      ; encoding: [0x05,0x00,0x6f,0xd1,0x67,0x00,0x00,0x00]
0x05,0x00,0x6f,0xd1,0x67,0x00,0x00,0x00

# CHECK: v_ffbh_i32_e64 v5, vcc_lo               ; encoding: [0x05,0x00,0x6f,0xd1,0x6a,0x00,0x00,0x00]
0x05,0x00,0x6f,0xd1,0x6a,0x00,0x00,0x00

# CHECK: v_ffbh_i32_e64 v5, vcc_hi               ; encoding: [0x05,0x00,0x6f,0xd1,0x6b,0x00,0x00,0x00]
0x05,0x00,0x6f,0xd1,0x6b,0x00,0x00,0x00

# CHECK: v_ffbh_i32_e64 v5, tba_lo               ; encoding: [0x05,0x00,0x6f,0xd1,0x6c,0x00,0x00,0x00]
0x05,0x00,0x6f,0xd1,0x6c,0x00,0x00,0x00

# CHECK: v_ffbh_i32_e64 v5, tba_hi               ; encoding: [0x05,0x00,0x6f,0xd1,0x6d,0x00,0x00,0x00]
0x05,0x00,0x6f,0xd1,0x6d,0x00,0x00,0x00

# CHECK: v_ffbh_i32_e64 v5, tma_lo               ; encoding: [0x05,0x00,0x6f,0xd1,0x6e,0x00,0x00,0x00]
0x05,0x00,0x6f,0xd1,0x6e,0x00,0x00,0x00

# CHECK: v_ffbh_i32_e64 v5, tma_hi               ; encoding: [0x05,0x00,0x6f,0xd1,0x6f,0x00,0x00,0x00]
0x05,0x00,0x6f,0xd1,0x6f,0x00,0x00,0x00

# CHECK: v_ffbh_i32_e64 v5, ttmp11               ; encoding: [0x05,0x00,0x6f,0xd1,0x7b,0x00,0x00,0x00]
0x05,0x00,0x6f,0xd1,0x7b,0x00,0x00,0x00

# CHECK: v_ffbh_i32_e64 v5, m0                   ; encoding: [0x05,0x00,0x6f,0xd1,0x7c,0x00,0x00,0x00]
0x05,0x00,0x6f,0xd1,0x7c,0x00,0x00,0x00

# CHECK: v_ffbh_i32_e64 v5, exec_lo              ; encoding: [0x05,0x00,0x6f,0xd1,0x7e,0x00,0x00,0x00]
0x05,0x00,0x6f,0xd1,0x7e,0x00,0x00,0x00

# CHECK: v_ffbh_i32_e64 v5, exec_hi              ; encoding: [0x05,0x00,0x6f,0xd1,0x7f,0x00,0x00,0x00]
0x05,0x00,0x6f,0xd1,0x7f,0x00,0x00,0x00

# CHECK: v_ffbh_i32_e64 v5, 0                    ; encoding: [0x05,0x00,0x6f,0xd1,0x80,0x00,0x00,0x00]
0x05,0x00,0x6f,0xd1,0x80,0x00,0x00,0x00

# CHECK: v_ffbh_i32_e64 v5, -1                   ; encoding: [0x05,0x00,0x6f,0xd1,0xc1,0x00,0x00,0x00]
0x05,0x00,0x6f,0xd1,0xc1,0x00,0x00,0x00

# CHECK: v_ffbh_i32_e64 v5, 0.5                  ; encoding: [0x05,0x00,0x6f,0xd1,0xf0,0x00,0x00,0x00]
0x05,0x00,0x6f,0xd1,0xf0,0x00,0x00,0x00

# CHECK: v_ffbh_i32_e64 v5, -4.0                 ; encoding: [0x05,0x00,0x6f,0xd1,0xf7,0x00,0x00,0x00]
0x05,0x00,0x6f,0xd1,0xf7,0x00,0x00,0x00

# CHECK: v_frexp_exp_i32_f64_e64 v5, v[1:2]      ; encoding: [0x05,0x00,0x70,0xd1,0x01,0x01,0x00,0x00]
0x05,0x00,0x70,0xd1,0x01,0x01,0x00,0x00

# CHECK: v_frexp_exp_i32_f64_e64 v255, v[1:2]    ; encoding: [0xff,0x00,0x70,0xd1,0x01,0x01,0x00,0x00]
0xff,0x00,0x70,0xd1,0x01,0x01,0x00,0x00

# CHECK: v_frexp_exp_i32_f64_e64 v5, v[254:255]  ; encoding: [0x05,0x00,0x70,0xd1,0xfe,0x01,0x00,0x00]
0x05,0x00,0x70,0xd1,0xfe,0x01,0x00,0x00

# CHECK: v_frexp_exp_i32_f64_e64 v5, s[2:3]      ; encoding: [0x05,0x00,0x70,0xd1,0x02,0x00,0x00,0x00]
0x05,0x00,0x70,0xd1,0x02,0x00,0x00,0x00

# CHECK: v_frexp_exp_i32_f64_e64 v5, s[4:5]      ; encoding: [0x05,0x00,0x70,0xd1,0x04,0x00,0x00,0x00]
0x05,0x00,0x70,0xd1,0x04,0x00,0x00,0x00

# CHECK: v_frexp_exp_i32_f64_e64 v5, s[100:101]  ; encoding: [0x05,0x00,0x70,0xd1,0x64,0x00,0x00,0x00]
0x05,0x00,0x70,0xd1,0x64,0x00,0x00,0x00

# CHECK: v_frexp_exp_i32_f64_e64 v5, flat_scratch ; encoding: [0x05,0x00,0x70,0xd1,0x66,0x00,0x00,0x00]
0x05,0x00,0x70,0xd1,0x66,0x00,0x00,0x00

# CHECK: v_frexp_exp_i32_f64_e64 v5, vcc         ; encoding: [0x05,0x00,0x70,0xd1,0x6a,0x00,0x00,0x00]
0x05,0x00,0x70,0xd1,0x6a,0x00,0x00,0x00

# CHECK: v_frexp_exp_i32_f64_e64 v5, tba         ; encoding: [0x05,0x00,0x70,0xd1,0x6c,0x00,0x00,0x00]
0x05,0x00,0x70,0xd1,0x6c,0x00,0x00,0x00

# CHECK: v_frexp_exp_i32_f64_e64 v5, tma         ; encoding: [0x05,0x00,0x70,0xd1,0x6e,0x00,0x00,0x00]
0x05,0x00,0x70,0xd1,0x6e,0x00,0x00,0x00

# CHECK: v_frexp_exp_i32_f64_e64 v5, ttmp[10:11] ; encoding: [0x05,0x00,0x70,0xd1,0x7a,0x00,0x00,0x00]
0x05,0x00,0x70,0xd1,0x7a,0x00,0x00,0x00

# CHECK: v_frexp_exp_i32_f64_e64 v5, exec        ; encoding: [0x05,0x00,0x70,0xd1,0x7e,0x00,0x00,0x00]
0x05,0x00,0x70,0xd1,0x7e,0x00,0x00,0x00

# CHECK: v_frexp_exp_i32_f64_e64 v5, 0           ; encoding: [0x05,0x00,0x70,0xd1,0x80,0x00,0x00,0x00]
0x05,0x00,0x70,0xd1,0x80,0x00,0x00,0x00

# CHECK: v_frexp_exp_i32_f64_e64 v5, -1          ; encoding: [0x05,0x00,0x70,0xd1,0xc1,0x00,0x00,0x00]
0x05,0x00,0x70,0xd1,0xc1,0x00,0x00,0x00

# CHECK: v_frexp_exp_i32_f64_e64 v5, 0.5         ; encoding: [0x05,0x00,0x70,0xd1,0xf0,0x00,0x00,0x00]
0x05,0x00,0x70,0xd1,0xf0,0x00,0x00,0x00

# CHECK: v_frexp_exp_i32_f64_e64 v5, -4.0        ; encoding: [0x05,0x00,0x70,0xd1,0xf7,0x00,0x00,0x00]
0x05,0x00,0x70,0xd1,0xf7,0x00,0x00,0x00

# CHECK: v_frexp_exp_i32_f64_e64 v5, -v[1:2]     ; encoding: [0x05,0x00,0x70,0xd1,0x01,0x01,0x00,0x20]
0x05,0x00,0x70,0xd1,0x01,0x01,0x00,0x20

# CHECK: v_frexp_exp_i32_f64_e64 v5, |v[1:2]|    ; encoding: [0x05,0x01,0x70,0xd1,0x01,0x01,0x00,0x00]
0x05,0x01,0x70,0xd1,0x01,0x01,0x00,0x00

# CHECK: v_frexp_mant_f64_e64 v[5:6], v[1:2]     ; encoding: [0x05,0x00,0x71,0xd1,0x01,0x01,0x00,0x00]
0x05,0x00,0x71,0xd1,0x01,0x01,0x00,0x00

# CHECK: v_frexp_mant_f64_e64 v[254:255], v[1:2] ; encoding: [0xfe,0x00,0x71,0xd1,0x01,0x01,0x00,0x00]
0xfe,0x00,0x71,0xd1,0x01,0x01,0x00,0x00

# CHECK: v_frexp_mant_f64_e64 v[5:6], v[254:255] ; encoding: [0x05,0x00,0x71,0xd1,0xfe,0x01,0x00,0x00]
0x05,0x00,0x71,0xd1,0xfe,0x01,0x00,0x00

# CHECK: v_frexp_mant_f64_e64 v[5:6], s[2:3]     ; encoding: [0x05,0x00,0x71,0xd1,0x02,0x00,0x00,0x00]
0x05,0x00,0x71,0xd1,0x02,0x00,0x00,0x00

# CHECK: v_frexp_mant_f64_e64 v[5:6], s[4:5]     ; encoding: [0x05,0x00,0x71,0xd1,0x04,0x00,0x00,0x00]
0x05,0x00,0x71,0xd1,0x04,0x00,0x00,0x00

# CHECK: v_frexp_mant_f64_e64 v[5:6], s[100:101] ; encoding: [0x05,0x00,0x71,0xd1,0x64,0x00,0x00,0x00]
0x05,0x00,0x71,0xd1,0x64,0x00,0x00,0x00

# CHECK: v_frexp_mant_f64_e64 v[5:6], flat_scratch ; encoding: [0x05,0x00,0x71,0xd1,0x66,0x00,0x00,0x00]
0x05,0x00,0x71,0xd1,0x66,0x00,0x00,0x00

# CHECK: v_frexp_mant_f64_e64 v[5:6], vcc        ; encoding: [0x05,0x00,0x71,0xd1,0x6a,0x00,0x00,0x00]
0x05,0x00,0x71,0xd1,0x6a,0x00,0x00,0x00

# CHECK: v_frexp_mant_f64_e64 v[5:6], tba        ; encoding: [0x05,0x00,0x71,0xd1,0x6c,0x00,0x00,0x00]
0x05,0x00,0x71,0xd1,0x6c,0x00,0x00,0x00

# CHECK: v_frexp_mant_f64_e64 v[5:6], tma        ; encoding: [0x05,0x00,0x71,0xd1,0x6e,0x00,0x00,0x00]
0x05,0x00,0x71,0xd1,0x6e,0x00,0x00,0x00

# CHECK: v_frexp_mant_f64_e64 v[5:6], ttmp[10:11] ; encoding: [0x05,0x00,0x71,0xd1,0x7a,0x00,0x00,0x00]
0x05,0x00,0x71,0xd1,0x7a,0x00,0x00,0x00

# CHECK: v_frexp_mant_f64_e64 v[5:6], exec       ; encoding: [0x05,0x00,0x71,0xd1,0x7e,0x00,0x00,0x00]
0x05,0x00,0x71,0xd1,0x7e,0x00,0x00,0x00

# CHECK: v_frexp_mant_f64_e64 v[5:6], 0          ; encoding: [0x05,0x00,0x71,0xd1,0x80,0x00,0x00,0x00]
0x05,0x00,0x71,0xd1,0x80,0x00,0x00,0x00

# CHECK: v_frexp_mant_f64_e64 v[5:6], -1         ; encoding: [0x05,0x00,0x71,0xd1,0xc1,0x00,0x00,0x00]
0x05,0x00,0x71,0xd1,0xc1,0x00,0x00,0x00

# CHECK: v_frexp_mant_f64_e64 v[5:6], 0.5        ; encoding: [0x05,0x00,0x71,0xd1,0xf0,0x00,0x00,0x00]
0x05,0x00,0x71,0xd1,0xf0,0x00,0x00,0x00

# CHECK: v_frexp_mant_f64_e64 v[5:6], -4.0       ; encoding: [0x05,0x00,0x71,0xd1,0xf7,0x00,0x00,0x00]
0x05,0x00,0x71,0xd1,0xf7,0x00,0x00,0x00

# CHECK: v_frexp_mant_f64_e64 v[5:6], -v[1:2]    ; encoding: [0x05,0x00,0x71,0xd1,0x01,0x01,0x00,0x20]
0x05,0x00,0x71,0xd1,0x01,0x01,0x00,0x20

# CHECK: v_frexp_mant_f64_e64 v[5:6], |v[1:2]|   ; encoding: [0x05,0x01,0x71,0xd1,0x01,0x01,0x00,0x00]
0x05,0x01,0x71,0xd1,0x01,0x01,0x00,0x00

# CHECK: v_frexp_mant_f64_e64 v[5:6], v[1:2] clamp ; encoding: [0x05,0x80,0x71,0xd1,0x01,0x01,0x00,0x00]
0x05,0x80,0x71,0xd1,0x01,0x01,0x00,0x00

# CHECK: v_frexp_mant_f64_e64 v[5:6], v[1:2] mul:2 ; encoding: [0x05,0x00,0x71,0xd1,0x01,0x01,0x00,0x08]
0x05,0x00,0x71,0xd1,0x01,0x01,0x00,0x08

# CHECK: v_frexp_mant_f64_e64 v[5:6], v[1:2] mul:4 ; encoding: [0x05,0x00,0x71,0xd1,0x01,0x01,0x00,0x10]
0x05,0x00,0x71,0xd1,0x01,0x01,0x00,0x10

# CHECK: v_frexp_mant_f64_e64 v[5:6], v[1:2] div:2 ; encoding: [0x05,0x00,0x71,0xd1,0x01,0x01,0x00,0x18]
0x05,0x00,0x71,0xd1,0x01,0x01,0x00,0x18

# CHECK: v_fract_f64_e64 v[5:6], v[1:2]          ; encoding: [0x05,0x00,0x72,0xd1,0x01,0x01,0x00,0x00]
0x05,0x00,0x72,0xd1,0x01,0x01,0x00,0x00

# CHECK: v_fract_f64_e64 v[254:255], v[1:2]      ; encoding: [0xfe,0x00,0x72,0xd1,0x01,0x01,0x00,0x00]
0xfe,0x00,0x72,0xd1,0x01,0x01,0x00,0x00

# CHECK: v_fract_f64_e64 v[5:6], v[254:255]      ; encoding: [0x05,0x00,0x72,0xd1,0xfe,0x01,0x00,0x00]
0x05,0x00,0x72,0xd1,0xfe,0x01,0x00,0x00

# CHECK: v_fract_f64_e64 v[5:6], s[2:3]          ; encoding: [0x05,0x00,0x72,0xd1,0x02,0x00,0x00,0x00]
0x05,0x00,0x72,0xd1,0x02,0x00,0x00,0x00

# CHECK: v_fract_f64_e64 v[5:6], s[4:5]          ; encoding: [0x05,0x00,0x72,0xd1,0x04,0x00,0x00,0x00]
0x05,0x00,0x72,0xd1,0x04,0x00,0x00,0x00

# CHECK: v_fract_f64_e64 v[5:6], s[100:101]      ; encoding: [0x05,0x00,0x72,0xd1,0x64,0x00,0x00,0x00]
0x05,0x00,0x72,0xd1,0x64,0x00,0x00,0x00

# CHECK: v_fract_f64_e64 v[5:6], flat_scratch    ; encoding: [0x05,0x00,0x72,0xd1,0x66,0x00,0x00,0x00]
0x05,0x00,0x72,0xd1,0x66,0x00,0x00,0x00

# CHECK: v_fract_f64_e64 v[5:6], vcc             ; encoding: [0x05,0x00,0x72,0xd1,0x6a,0x00,0x00,0x00]
0x05,0x00,0x72,0xd1,0x6a,0x00,0x00,0x00

# CHECK: v_fract_f64_e64 v[5:6], tba             ; encoding: [0x05,0x00,0x72,0xd1,0x6c,0x00,0x00,0x00]
0x05,0x00,0x72,0xd1,0x6c,0x00,0x00,0x00

# CHECK: v_fract_f64_e64 v[5:6], tma             ; encoding: [0x05,0x00,0x72,0xd1,0x6e,0x00,0x00,0x00]
0x05,0x00,0x72,0xd1,0x6e,0x00,0x00,0x00

# CHECK: v_fract_f64_e64 v[5:6], ttmp[10:11]     ; encoding: [0x05,0x00,0x72,0xd1,0x7a,0x00,0x00,0x00]
0x05,0x00,0x72,0xd1,0x7a,0x00,0x00,0x00

# CHECK: v_fract_f64_e64 v[5:6], exec            ; encoding: [0x05,0x00,0x72,0xd1,0x7e,0x00,0x00,0x00]
0x05,0x00,0x72,0xd1,0x7e,0x00,0x00,0x00

# CHECK: v_fract_f64_e64 v[5:6], 0               ; encoding: [0x05,0x00,0x72,0xd1,0x80,0x00,0x00,0x00]
0x05,0x00,0x72,0xd1,0x80,0x00,0x00,0x00

# CHECK: v_fract_f64_e64 v[5:6], -1              ; encoding: [0x05,0x00,0x72,0xd1,0xc1,0x00,0x00,0x00]
0x05,0x00,0x72,0xd1,0xc1,0x00,0x00,0x00

# CHECK: v_fract_f64_e64 v[5:6], 0.5             ; encoding: [0x05,0x00,0x72,0xd1,0xf0,0x00,0x00,0x00]
0x05,0x00,0x72,0xd1,0xf0,0x00,0x00,0x00

# CHECK: v_fract_f64_e64 v[5:6], -4.0            ; encoding: [0x05,0x00,0x72,0xd1,0xf7,0x00,0x00,0x00]
0x05,0x00,0x72,0xd1,0xf7,0x00,0x00,0x00

# CHECK: v_fract_f64_e64 v[5:6], -v[1:2]         ; encoding: [0x05,0x00,0x72,0xd1,0x01,0x01,0x00,0x20]
0x05,0x00,0x72,0xd1,0x01,0x01,0x00,0x20

# CHECK: v_fract_f64_e64 v[5:6], |v[1:2]|        ; encoding: [0x05,0x01,0x72,0xd1,0x01,0x01,0x00,0x00]
0x05,0x01,0x72,0xd1,0x01,0x01,0x00,0x00

# CHECK: v_fract_f64_e64 v[5:6], v[1:2] clamp    ; encoding: [0x05,0x80,0x72,0xd1,0x01,0x01,0x00,0x00]
0x05,0x80,0x72,0xd1,0x01,0x01,0x00,0x00

# CHECK: v_fract_f64_e64 v[5:6], v[1:2] mul:2    ; encoding: [0x05,0x00,0x72,0xd1,0x01,0x01,0x00,0x08]
0x05,0x00,0x72,0xd1,0x01,0x01,0x00,0x08

# CHECK: v_fract_f64_e64 v[5:6], v[1:2] mul:4    ; encoding: [0x05,0x00,0x72,0xd1,0x01,0x01,0x00,0x10]
0x05,0x00,0x72,0xd1,0x01,0x01,0x00,0x10

# CHECK: v_fract_f64_e64 v[5:6], v[1:2] div:2    ; encoding: [0x05,0x00,0x72,0xd1,0x01,0x01,0x00,0x18]
0x05,0x00,0x72,0xd1,0x01,0x01,0x00,0x18

# CHECK: v_frexp_exp_i32_f32_e64 v5, v1          ; encoding: [0x05,0x00,0x73,0xd1,0x01,0x01,0x00,0x00]
0x05,0x00,0x73,0xd1,0x01,0x01,0x00,0x00

# CHECK: v_frexp_exp_i32_f32_e64 v255, v1        ; encoding: [0xff,0x00,0x73,0xd1,0x01,0x01,0x00,0x00]
0xff,0x00,0x73,0xd1,0x01,0x01,0x00,0x00

# CHECK: v_frexp_exp_i32_f32_e64 v5, v255        ; encoding: [0x05,0x00,0x73,0xd1,0xff,0x01,0x00,0x00]
0x05,0x00,0x73,0xd1,0xff,0x01,0x00,0x00

# CHECK: v_frexp_exp_i32_f32_e64 v5, s1          ; encoding: [0x05,0x00,0x73,0xd1,0x01,0x00,0x00,0x00]
0x05,0x00,0x73,0xd1,0x01,0x00,0x00,0x00

# CHECK: v_frexp_exp_i32_f32_e64 v5, s101        ; encoding: [0x05,0x00,0x73,0xd1,0x65,0x00,0x00,0x00]
0x05,0x00,0x73,0xd1,0x65,0x00,0x00,0x00

# CHECK: v_frexp_exp_i32_f32_e64 v5, flat_scratch_lo ; encoding: [0x05,0x00,0x73,0xd1,0x66,0x00,0x00,0x00]
0x05,0x00,0x73,0xd1,0x66,0x00,0x00,0x00

# CHECK: v_frexp_exp_i32_f32_e64 v5, flat_scratch_hi ; encoding: [0x05,0x00,0x73,0xd1,0x67,0x00,0x00,0x00]
0x05,0x00,0x73,0xd1,0x67,0x00,0x00,0x00

# CHECK: v_frexp_exp_i32_f32_e64 v5, vcc_lo      ; encoding: [0x05,0x00,0x73,0xd1,0x6a,0x00,0x00,0x00]
0x05,0x00,0x73,0xd1,0x6a,0x00,0x00,0x00

# CHECK: v_frexp_exp_i32_f32_e64 v5, vcc_hi      ; encoding: [0x05,0x00,0x73,0xd1,0x6b,0x00,0x00,0x00]
0x05,0x00,0x73,0xd1,0x6b,0x00,0x00,0x00

# CHECK: v_frexp_exp_i32_f32_e64 v5, tba_lo      ; encoding: [0x05,0x00,0x73,0xd1,0x6c,0x00,0x00,0x00]
0x05,0x00,0x73,0xd1,0x6c,0x00,0x00,0x00

# CHECK: v_frexp_exp_i32_f32_e64 v5, tba_hi      ; encoding: [0x05,0x00,0x73,0xd1,0x6d,0x00,0x00,0x00]
0x05,0x00,0x73,0xd1,0x6d,0x00,0x00,0x00

# CHECK: v_frexp_exp_i32_f32_e64 v5, tma_lo      ; encoding: [0x05,0x00,0x73,0xd1,0x6e,0x00,0x00,0x00]
0x05,0x00,0x73,0xd1,0x6e,0x00,0x00,0x00

# CHECK: v_frexp_exp_i32_f32_e64 v5, tma_hi      ; encoding: [0x05,0x00,0x73,0xd1,0x6f,0x00,0x00,0x00]
0x05,0x00,0x73,0xd1,0x6f,0x00,0x00,0x00

# CHECK: v_frexp_exp_i32_f32_e64 v5, ttmp11      ; encoding: [0x05,0x00,0x73,0xd1,0x7b,0x00,0x00,0x00]
0x05,0x00,0x73,0xd1,0x7b,0x00,0x00,0x00

# CHECK: v_frexp_exp_i32_f32_e64 v5, m0          ; encoding: [0x05,0x00,0x73,0xd1,0x7c,0x00,0x00,0x00]
0x05,0x00,0x73,0xd1,0x7c,0x00,0x00,0x00

# CHECK: v_frexp_exp_i32_f32_e64 v5, exec_lo     ; encoding: [0x05,0x00,0x73,0xd1,0x7e,0x00,0x00,0x00]
0x05,0x00,0x73,0xd1,0x7e,0x00,0x00,0x00

# CHECK: v_frexp_exp_i32_f32_e64 v5, exec_hi     ; encoding: [0x05,0x00,0x73,0xd1,0x7f,0x00,0x00,0x00]
0x05,0x00,0x73,0xd1,0x7f,0x00,0x00,0x00

# CHECK: v_frexp_exp_i32_f32_e64 v5, 0           ; encoding: [0x05,0x00,0x73,0xd1,0x80,0x00,0x00,0x00]
0x05,0x00,0x73,0xd1,0x80,0x00,0x00,0x00

# CHECK: v_frexp_exp_i32_f32_e64 v5, -1          ; encoding: [0x05,0x00,0x73,0xd1,0xc1,0x00,0x00,0x00]
0x05,0x00,0x73,0xd1,0xc1,0x00,0x00,0x00

# CHECK: v_frexp_exp_i32_f32_e64 v5, 0.5         ; encoding: [0x05,0x00,0x73,0xd1,0xf0,0x00,0x00,0x00]
0x05,0x00,0x73,0xd1,0xf0,0x00,0x00,0x00

# CHECK: v_frexp_exp_i32_f32_e64 v5, -4.0        ; encoding: [0x05,0x00,0x73,0xd1,0xf7,0x00,0x00,0x00]
0x05,0x00,0x73,0xd1,0xf7,0x00,0x00,0x00

# CHECK: v_frexp_exp_i32_f32_e64 v5, -v1         ; encoding: [0x05,0x00,0x73,0xd1,0x01,0x01,0x00,0x20]
0x05,0x00,0x73,0xd1,0x01,0x01,0x00,0x20

# CHECK: v_frexp_exp_i32_f32_e64 v5, |v1|        ; encoding: [0x05,0x01,0x73,0xd1,0x01,0x01,0x00,0x00]
0x05,0x01,0x73,0xd1,0x01,0x01,0x00,0x00

# CHECK: v_frexp_mant_f32_e64 v5, v1             ; encoding: [0x05,0x00,0x74,0xd1,0x01,0x01,0x00,0x00]
0x05,0x00,0x74,0xd1,0x01,0x01,0x00,0x00

# CHECK: v_frexp_mant_f32_e64 v255, v1           ; encoding: [0xff,0x00,0x74,0xd1,0x01,0x01,0x00,0x00]
0xff,0x00,0x74,0xd1,0x01,0x01,0x00,0x00

# CHECK: v_frexp_mant_f32_e64 v5, v255           ; encoding: [0x05,0x00,0x74,0xd1,0xff,0x01,0x00,0x00]
0x05,0x00,0x74,0xd1,0xff,0x01,0x00,0x00

# CHECK: v_frexp_mant_f32_e64 v5, s1             ; encoding: [0x05,0x00,0x74,0xd1,0x01,0x00,0x00,0x00]
0x05,0x00,0x74,0xd1,0x01,0x00,0x00,0x00

# CHECK: v_frexp_mant_f32_e64 v5, s101           ; encoding: [0x05,0x00,0x74,0xd1,0x65,0x00,0x00,0x00]
0x05,0x00,0x74,0xd1,0x65,0x00,0x00,0x00

# CHECK: v_frexp_mant_f32_e64 v5, flat_scratch_lo ; encoding: [0x05,0x00,0x74,0xd1,0x66,0x00,0x00,0x00]
0x05,0x00,0x74,0xd1,0x66,0x00,0x00,0x00

# CHECK: v_frexp_mant_f32_e64 v5, flat_scratch_hi ; encoding: [0x05,0x00,0x74,0xd1,0x67,0x00,0x00,0x00]
0x05,0x00,0x74,0xd1,0x67,0x00,0x00,0x00

# CHECK: v_frexp_mant_f32_e64 v5, vcc_lo         ; encoding: [0x05,0x00,0x74,0xd1,0x6a,0x00,0x00,0x00]
0x05,0x00,0x74,0xd1,0x6a,0x00,0x00,0x00

# CHECK: v_frexp_mant_f32_e64 v5, vcc_hi         ; encoding: [0x05,0x00,0x74,0xd1,0x6b,0x00,0x00,0x00]
0x05,0x00,0x74,0xd1,0x6b,0x00,0x00,0x00

# CHECK: v_frexp_mant_f32_e64 v5, tba_lo         ; encoding: [0x05,0x00,0x74,0xd1,0x6c,0x00,0x00,0x00]
0x05,0x00,0x74,0xd1,0x6c,0x00,0x00,0x00

# CHECK: v_frexp_mant_f32_e64 v5, tba_hi         ; encoding: [0x05,0x00,0x74,0xd1,0x6d,0x00,0x00,0x00]
0x05,0x00,0x74,0xd1,0x6d,0x00,0x00,0x00

# CHECK: v_frexp_mant_f32_e64 v5, tma_lo         ; encoding: [0x05,0x00,0x74,0xd1,0x6e,0x00,0x00,0x00]
0x05,0x00,0x74,0xd1,0x6e,0x00,0x00,0x00

# CHECK: v_frexp_mant_f32_e64 v5, tma_hi         ; encoding: [0x05,0x00,0x74,0xd1,0x6f,0x00,0x00,0x00]
0x05,0x00,0x74,0xd1,0x6f,0x00,0x00,0x00

# CHECK: v_frexp_mant_f32_e64 v5, ttmp11         ; encoding: [0x05,0x00,0x74,0xd1,0x7b,0x00,0x00,0x00]
0x05,0x00,0x74,0xd1,0x7b,0x00,0x00,0x00

# CHECK: v_frexp_mant_f32_e64 v5, m0             ; encoding: [0x05,0x00,0x74,0xd1,0x7c,0x00,0x00,0x00]
0x05,0x00,0x74,0xd1,0x7c,0x00,0x00,0x00

# CHECK: v_frexp_mant_f32_e64 v5, exec_lo        ; encoding: [0x05,0x00,0x74,0xd1,0x7e,0x00,0x00,0x00]
0x05,0x00,0x74,0xd1,0x7e,0x00,0x00,0x00

# CHECK: v_frexp_mant_f32_e64 v5, exec_hi        ; encoding: [0x05,0x00,0x74,0xd1,0x7f,0x00,0x00,0x00]
0x05,0x00,0x74,0xd1,0x7f,0x00,0x00,0x00

# CHECK: v_frexp_mant_f32_e64 v5, 0              ; encoding: [0x05,0x00,0x74,0xd1,0x80,0x00,0x00,0x00]
0x05,0x00,0x74,0xd1,0x80,0x00,0x00,0x00

# CHECK: v_frexp_mant_f32_e64 v5, -1             ; encoding: [0x05,0x00,0x74,0xd1,0xc1,0x00,0x00,0x00]
0x05,0x00,0x74,0xd1,0xc1,0x00,0x00,0x00

# CHECK: v_frexp_mant_f32_e64 v5, 0.5            ; encoding: [0x05,0x00,0x74,0xd1,0xf0,0x00,0x00,0x00]
0x05,0x00,0x74,0xd1,0xf0,0x00,0x00,0x00

# CHECK: v_frexp_mant_f32_e64 v5, -4.0           ; encoding: [0x05,0x00,0x74,0xd1,0xf7,0x00,0x00,0x00]
0x05,0x00,0x74,0xd1,0xf7,0x00,0x00,0x00

# CHECK: v_frexp_mant_f32_e64 v5, -v1            ; encoding: [0x05,0x00,0x74,0xd1,0x01,0x01,0x00,0x20]
0x05,0x00,0x74,0xd1,0x01,0x01,0x00,0x20

# CHECK: v_frexp_mant_f32_e64 v5, |v1|           ; encoding: [0x05,0x01,0x74,0xd1,0x01,0x01,0x00,0x00]
0x05,0x01,0x74,0xd1,0x01,0x01,0x00,0x00

# CHECK: v_frexp_mant_f32_e64 v5, v1 clamp       ; encoding: [0x05,0x80,0x74,0xd1,0x01,0x01,0x00,0x00]
0x05,0x80,0x74,0xd1,0x01,0x01,0x00,0x00

# CHECK: v_frexp_mant_f32_e64 v5, v1 mul:2       ; encoding: [0x05,0x00,0x74,0xd1,0x01,0x01,0x00,0x08]
0x05,0x00,0x74,0xd1,0x01,0x01,0x00,0x08

# CHECK: v_frexp_mant_f32_e64 v5, v1 mul:4       ; encoding: [0x05,0x00,0x74,0xd1,0x01,0x01,0x00,0x10]
0x05,0x00,0x74,0xd1,0x01,0x01,0x00,0x10

# CHECK: v_frexp_mant_f32_e64 v5, v1 div:2       ; encoding: [0x05,0x00,0x74,0xd1,0x01,0x01,0x00,0x18]
0x05,0x00,0x74,0xd1,0x01,0x01,0x00,0x18

# CHECK: v_clrexcp                               ; encoding: [0x00,0x00,0x75,0xd1,0x00,0x00,0x00,0x00]
0x00,0x00,0x75,0xd1,0x00,0x00,0x00,0x00

# CHECK: v_cvt_f16_u16_e64 v5, v1                ; encoding: [0x05,0x00,0x79,0xd1,0x01,0x01,0x00,0x00]
0x05,0x00,0x79,0xd1,0x01,0x01,0x00,0x00

# CHECK: v_cvt_f16_u16_e64 v255, v1              ; encoding: [0xff,0x00,0x79,0xd1,0x01,0x01,0x00,0x00]
0xff,0x00,0x79,0xd1,0x01,0x01,0x00,0x00

# CHECK: v_cvt_f16_u16_e64 v5, v255              ; encoding: [0x05,0x00,0x79,0xd1,0xff,0x01,0x00,0x00]
0x05,0x00,0x79,0xd1,0xff,0x01,0x00,0x00

# CHECK: v_cvt_f16_u16_e64 v5, s1                ; encoding: [0x05,0x00,0x79,0xd1,0x01,0x00,0x00,0x00]
0x05,0x00,0x79,0xd1,0x01,0x00,0x00,0x00

# CHECK: v_cvt_f16_u16_e64 v5, s101              ; encoding: [0x05,0x00,0x79,0xd1,0x65,0x00,0x00,0x00]
0x05,0x00,0x79,0xd1,0x65,0x00,0x00,0x00

# CHECK: v_cvt_f16_u16_e64 v5, flat_scratch_lo   ; encoding: [0x05,0x00,0x79,0xd1,0x66,0x00,0x00,0x00]
0x05,0x00,0x79,0xd1,0x66,0x00,0x00,0x00

# CHECK: v_cvt_f16_u16_e64 v5, flat_scratch_hi   ; encoding: [0x05,0x00,0x79,0xd1,0x67,0x00,0x00,0x00]
0x05,0x00,0x79,0xd1,0x67,0x00,0x00,0x00

# CHECK: v_cvt_f16_u16_e64 v5, vcc_lo            ; encoding: [0x05,0x00,0x79,0xd1,0x6a,0x00,0x00,0x00]
0x05,0x00,0x79,0xd1,0x6a,0x00,0x00,0x00

# CHECK: v_cvt_f16_u16_e64 v5, vcc_hi            ; encoding: [0x05,0x00,0x79,0xd1,0x6b,0x00,0x00,0x00]
0x05,0x00,0x79,0xd1,0x6b,0x00,0x00,0x00

# CHECK: v_cvt_f16_u16_e64 v5, tba_lo            ; encoding: [0x05,0x00,0x79,0xd1,0x6c,0x00,0x00,0x00]
0x05,0x00,0x79,0xd1,0x6c,0x00,0x00,0x00

# CHECK: v_cvt_f16_u16_e64 v5, tba_hi            ; encoding: [0x05,0x00,0x79,0xd1,0x6d,0x00,0x00,0x00]
0x05,0x00,0x79,0xd1,0x6d,0x00,0x00,0x00

# CHECK: v_cvt_f16_u16_e64 v5, tma_lo            ; encoding: [0x05,0x00,0x79,0xd1,0x6e,0x00,0x00,0x00]
0x05,0x00,0x79,0xd1,0x6e,0x00,0x00,0x00

# CHECK: v_cvt_f16_u16_e64 v5, tma_hi            ; encoding: [0x05,0x00,0x79,0xd1,0x6f,0x00,0x00,0x00]
0x05,0x00,0x79,0xd1,0x6f,0x00,0x00,0x00

# CHECK: v_cvt_f16_u16_e64 v5, ttmp11            ; encoding: [0x05,0x00,0x79,0xd1,0x7b,0x00,0x00,0x00]
0x05,0x00,0x79,0xd1,0x7b,0x00,0x00,0x00

# CHECK: v_cvt_f16_u16_e64 v5, m0                ; encoding: [0x05,0x00,0x79,0xd1,0x7c,0x00,0x00,0x00]
0x05,0x00,0x79,0xd1,0x7c,0x00,0x00,0x00

# CHECK: v_cvt_f16_u16_e64 v5, exec_lo           ; encoding: [0x05,0x00,0x79,0xd1,0x7e,0x00,0x00,0x00]
0x05,0x00,0x79,0xd1,0x7e,0x00,0x00,0x00

# CHECK: v_cvt_f16_u16_e64 v5, exec_hi           ; encoding: [0x05,0x00,0x79,0xd1,0x7f,0x00,0x00,0x00]
0x05,0x00,0x79,0xd1,0x7f,0x00,0x00,0x00

# CHECK: v_cvt_f16_u16_e64 v5, 0                 ; encoding: [0x05,0x00,0x79,0xd1,0x80,0x00,0x00,0x00]
0x05,0x00,0x79,0xd1,0x80,0x00,0x00,0x00

# CHECK: v_cvt_f16_u16_e64 v5, -1                ; encoding: [0x05,0x00,0x79,0xd1,0xc1,0x00,0x00,0x00]
0x05,0x00,0x79,0xd1,0xc1,0x00,0x00,0x00

# CHECK: v_cvt_f16_u16_e64 v5, 0x3800            ; encoding: [0x05,0x00,0x79,0xd1,0xff,0x00,0x00,0x00]
0x05,0x00,0x79,0xd1,0xf0,0x00,0x00,0x00

# CHECK: v_cvt_f16_u16_e64 v5, 0xc400            ; encoding: [0x05,0x00,0x79,0xd1,0xff,0x00,0x00,0x00]
0x05,0x00,0x79,0xd1,0xf7,0x00,0x00,0x00

# CHECK: v_cvt_f16_u16_e64 v5, v1 clamp          ; encoding: [0x05,0x80,0x79,0xd1,0x01,0x01,0x00,0x00]
0x05,0x80,0x79,0xd1,0x01,0x01,0x00,0x00

# CHECK: v_cvt_f16_i16_e64 v5, v1                ; encoding: [0x05,0x00,0x7a,0xd1,0x01,0x01,0x00,0x00]
0x05,0x00,0x7a,0xd1,0x01,0x01,0x00,0x00

# CHECK: v_cvt_f16_i16_e64 v255, v1              ; encoding: [0xff,0x00,0x7a,0xd1,0x01,0x01,0x00,0x00]
0xff,0x00,0x7a,0xd1,0x01,0x01,0x00,0x00

# CHECK: v_cvt_f16_i16_e64 v5, v255              ; encoding: [0x05,0x00,0x7a,0xd1,0xff,0x01,0x00,0x00]
0x05,0x00,0x7a,0xd1,0xff,0x01,0x00,0x00

# CHECK: v_cvt_f16_i16_e64 v5, s1                ; encoding: [0x05,0x00,0x7a,0xd1,0x01,0x00,0x00,0x00]
0x05,0x00,0x7a,0xd1,0x01,0x00,0x00,0x00

# CHECK: v_cvt_f16_i16_e64 v5, s101              ; encoding: [0x05,0x00,0x7a,0xd1,0x65,0x00,0x00,0x00]
0x05,0x00,0x7a,0xd1,0x65,0x00,0x00,0x00

# CHECK: v_cvt_f16_i16_e64 v5, flat_scratch_lo   ; encoding: [0x05,0x00,0x7a,0xd1,0x66,0x00,0x00,0x00]
0x05,0x00,0x7a,0xd1,0x66,0x00,0x00,0x00

# CHECK: v_cvt_f16_i16_e64 v5, flat_scratch_hi   ; encoding: [0x05,0x00,0x7a,0xd1,0x67,0x00,0x00,0x00]
0x05,0x00,0x7a,0xd1,0x67,0x00,0x00,0x00

# CHECK: v_cvt_f16_i16_e64 v5, vcc_lo            ; encoding: [0x05,0x00,0x7a,0xd1,0x6a,0x00,0x00,0x00]
0x05,0x00,0x7a,0xd1,0x6a,0x00,0x00,0x00

# CHECK: v_cvt_f16_i16_e64 v5, vcc_hi            ; encoding: [0x05,0x00,0x7a,0xd1,0x6b,0x00,0x00,0x00]
0x05,0x00,0x7a,0xd1,0x6b,0x00,0x00,0x00

# CHECK: v_cvt_f16_i16_e64 v5, tba_lo            ; encoding: [0x05,0x00,0x7a,0xd1,0x6c,0x00,0x00,0x00]
0x05,0x00,0x7a,0xd1,0x6c,0x00,0x00,0x00

# CHECK: v_cvt_f16_i16_e64 v5, tba_hi            ; encoding: [0x05,0x00,0x7a,0xd1,0x6d,0x00,0x00,0x00]
0x05,0x00,0x7a,0xd1,0x6d,0x00,0x00,0x00

# CHECK: v_cvt_f16_i16_e64 v5, tma_lo            ; encoding: [0x05,0x00,0x7a,0xd1,0x6e,0x00,0x00,0x00]
0x05,0x00,0x7a,0xd1,0x6e,0x00,0x00,0x00

# CHECK: v_cvt_f16_i16_e64 v5, tma_hi            ; encoding: [0x05,0x00,0x7a,0xd1,0x6f,0x00,0x00,0x00]
0x05,0x00,0x7a,0xd1,0x6f,0x00,0x00,0x00

# CHECK: v_cvt_f16_i16_e64 v5, ttmp11            ; encoding: [0x05,0x00,0x7a,0xd1,0x7b,0x00,0x00,0x00]
0x05,0x00,0x7a,0xd1,0x7b,0x00,0x00,0x00

# CHECK: v_cvt_f16_i16_e64 v5, m0                ; encoding: [0x05,0x00,0x7a,0xd1,0x7c,0x00,0x00,0x00]
0x05,0x00,0x7a,0xd1,0x7c,0x00,0x00,0x00

# CHECK: v_cvt_f16_i16_e64 v5, exec_lo           ; encoding: [0x05,0x00,0x7a,0xd1,0x7e,0x00,0x00,0x00]
0x05,0x00,0x7a,0xd1,0x7e,0x00,0x00,0x00

# CHECK: v_cvt_f16_i16_e64 v5, exec_hi           ; encoding: [0x05,0x00,0x7a,0xd1,0x7f,0x00,0x00,0x00]
0x05,0x00,0x7a,0xd1,0x7f,0x00,0x00,0x00

# CHECK: v_cvt_f16_i16_e64 v5, 0                 ; encoding: [0x05,0x00,0x7a,0xd1,0x80,0x00,0x00,0x00]
0x05,0x00,0x7a,0xd1,0x80,0x00,0x00,0x00

# CHECK: v_cvt_f16_i16_e64 v5, -1                ; encoding: [0x05,0x00,0x7a,0xd1,0xc1,0x00,0x00,0x00]
0x05,0x00,0x7a,0xd1,0xc1,0x00,0x00,0x00

# CHECK: v_cvt_f16_i16_e64 v5, 0x3800            ; encoding: [0x05,0x00,0x7a,0xd1,0xff,0x00,0x00,0x00]
0x05,0x00,0x7a,0xd1,0xf0,0x00,0x00,0x00

# CHECK: v_cvt_f16_i16_e64 v5, 0xc400            ; encoding: [0x05,0x00,0x7a,0xd1,0xff,0x00,0x00,0x00]
0x05,0x00,0x7a,0xd1,0xf7,0x00,0x00,0x00

# CHECK: v_cvt_f16_i16_e64 v5, v1 clamp          ; encoding: [0x05,0x80,0x7a,0xd1,0x01,0x01,0x00,0x00]
0x05,0x80,0x7a,0xd1,0x01,0x01,0x00,0x00

# CHECK: v_cvt_u16_f16_e64 v5, v1                ; encoding: [0x05,0x00,0x7b,0xd1,0x01,0x01,0x00,0x00]
0x05,0x00,0x7b,0xd1,0x01,0x01,0x00,0x00

# CHECK: v_cvt_u16_f16_e64 v255, v1              ; encoding: [0xff,0x00,0x7b,0xd1,0x01,0x01,0x00,0x00]
0xff,0x00,0x7b,0xd1,0x01,0x01,0x00,0x00

# CHECK: v_cvt_u16_f16_e64 v5, v255              ; encoding: [0x05,0x00,0x7b,0xd1,0xff,0x01,0x00,0x00]
0x05,0x00,0x7b,0xd1,0xff,0x01,0x00,0x00

# CHECK: v_cvt_u16_f16_e64 v5, s1                ; encoding: [0x05,0x00,0x7b,0xd1,0x01,0x00,0x00,0x00]
0x05,0x00,0x7b,0xd1,0x01,0x00,0x00,0x00

# CHECK: v_cvt_u16_f16_e64 v5, s101              ; encoding: [0x05,0x00,0x7b,0xd1,0x65,0x00,0x00,0x00]
0x05,0x00,0x7b,0xd1,0x65,0x00,0x00,0x00

# CHECK: v_cvt_u16_f16_e64 v5, flat_scratch_lo   ; encoding: [0x05,0x00,0x7b,0xd1,0x66,0x00,0x00,0x00]
0x05,0x00,0x7b,0xd1,0x66,0x00,0x00,0x00

# CHECK: v_cvt_u16_f16_e64 v5, flat_scratch_hi   ; encoding: [0x05,0x00,0x7b,0xd1,0x67,0x00,0x00,0x00]
0x05,0x00,0x7b,0xd1,0x67,0x00,0x00,0x00

# CHECK: v_cvt_u16_f16_e64 v5, vcc_lo            ; encoding: [0x05,0x00,0x7b,0xd1,0x6a,0x00,0x00,0x00]
0x05,0x00,0x7b,0xd1,0x6a,0x00,0x00,0x00

# CHECK: v_cvt_u16_f16_e64 v5, vcc_hi            ; encoding: [0x05,0x00,0x7b,0xd1,0x6b,0x00,0x00,0x00]
0x05,0x00,0x7b,0xd1,0x6b,0x00,0x00,0x00

# CHECK: v_cvt_u16_f16_e64 v5, tba_lo            ; encoding: [0x05,0x00,0x7b,0xd1,0x6c,0x00,0x00,0x00]
0x05,0x00,0x7b,0xd1,0x6c,0x00,0x00,0x00

# CHECK: v_cvt_u16_f16_e64 v5, tba_hi            ; encoding: [0x05,0x00,0x7b,0xd1,0x6d,0x00,0x00,0x00]
0x05,0x00,0x7b,0xd1,0x6d,0x00,0x00,0x00

# CHECK: v_cvt_u16_f16_e64 v5, tma_lo            ; encoding: [0x05,0x00,0x7b,0xd1,0x6e,0x00,0x00,0x00]
0x05,0x00,0x7b,0xd1,0x6e,0x00,0x00,0x00

# CHECK: v_cvt_u16_f16_e64 v5, tma_hi            ; encoding: [0x05,0x00,0x7b,0xd1,0x6f,0x00,0x00,0x00]
0x05,0x00,0x7b,0xd1,0x6f,0x00,0x00,0x00

# CHECK: v_cvt_u16_f16_e64 v5, ttmp11            ; encoding: [0x05,0x00,0x7b,0xd1,0x7b,0x00,0x00,0x00]
0x05,0x00,0x7b,0xd1,0x7b,0x00,0x00,0x00

# CHECK: v_cvt_u16_f16_e64 v5, m0                ; encoding: [0x05,0x00,0x7b,0xd1,0x7c,0x00,0x00,0x00]
0x05,0x00,0x7b,0xd1,0x7c,0x00,0x00,0x00

# CHECK: v_cvt_u16_f16_e64 v5, exec_lo           ; encoding: [0x05,0x00,0x7b,0xd1,0x7e,0x00,0x00,0x00]
0x05,0x00,0x7b,0xd1,0x7e,0x00,0x00,0x00

# CHECK: v_cvt_u16_f16_e64 v5, exec_hi           ; encoding: [0x05,0x00,0x7b,0xd1,0x7f,0x00,0x00,0x00]
0x05,0x00,0x7b,0xd1,0x7f,0x00,0x00,0x00

# CHECK: v_cvt_u16_f16_e64 v5, 0                 ; encoding: [0x05,0x00,0x7b,0xd1,0x80,0x00,0x00,0x00]
0x05,0x00,0x7b,0xd1,0x80,0x00,0x00,0x00

# CHECK: v_cvt_u16_f16_e64 v5, -1                ; encoding: [0x05,0x00,0x7b,0xd1,0xc1,0x00,0x00,0x00]
0x05,0x00,0x7b,0xd1,0xc1,0x00,0x00,0x00

# CHECK: v_cvt_u16_f16_e64 v5, 0.5               ; encoding: [0x05,0x00,0x7b,0xd1,0xf0,0x00,0x00,0x00]
0x05,0x00,0x7b,0xd1,0xf0,0x00,0x00,0x00

# CHECK: v_cvt_u16_f16_e64 v5, -4.0              ; encoding: [0x05,0x00,0x7b,0xd1,0xf7,0x00,0x00,0x00]
0x05,0x00,0x7b,0xd1,0xf7,0x00,0x00,0x00

# CHECK: v_cvt_u16_f16_e64 v5, -v1               ; encoding: [0x05,0x00,0x7b,0xd1,0x01,0x01,0x00,0x20]
0x05,0x00,0x7b,0xd1,0x01,0x01,0x00,0x20

# CHECK: v_cvt_u16_f16_e64 v5, |v1|              ; encoding: [0x05,0x01,0x7b,0xd1,0x01,0x01,0x00,0x00]
0x05,0x01,0x7b,0xd1,0x01,0x01,0x00,0x00

# CHECK: v_cvt_i16_f16_e64 v5, v1                ; encoding: [0x05,0x00,0x7c,0xd1,0x01,0x01,0x00,0x00]
0x05,0x00,0x7c,0xd1,0x01,0x01,0x00,0x00

# CHECK: v_cvt_i16_f16_e64 v255, v1              ; encoding: [0xff,0x00,0x7c,0xd1,0x01,0x01,0x00,0x00]
0xff,0x00,0x7c,0xd1,0x01,0x01,0x00,0x00

# CHECK: v_cvt_i16_f16_e64 v5, v255              ; encoding: [0x05,0x00,0x7c,0xd1,0xff,0x01,0x00,0x00]
0x05,0x00,0x7c,0xd1,0xff,0x01,0x00,0x00

# CHECK: v_cvt_i16_f16_e64 v5, s1                ; encoding: [0x05,0x00,0x7c,0xd1,0x01,0x00,0x00,0x00]
0x05,0x00,0x7c,0xd1,0x01,0x00,0x00,0x00

# CHECK: v_cvt_i16_f16_e64 v5, s101              ; encoding: [0x05,0x00,0x7c,0xd1,0x65,0x00,0x00,0x00]
0x05,0x00,0x7c,0xd1,0x65,0x00,0x00,0x00

# CHECK: v_cvt_i16_f16_e64 v5, flat_scratch_lo   ; encoding: [0x05,0x00,0x7c,0xd1,0x66,0x00,0x00,0x00]
0x05,0x00,0x7c,0xd1,0x66,0x00,0x00,0x00

# CHECK: v_cvt_i16_f16_e64 v5, flat_scratch_hi   ; encoding: [0x05,0x00,0x7c,0xd1,0x67,0x00,0x00,0x00]
0x05,0x00,0x7c,0xd1,0x67,0x00,0x00,0x00

# CHECK: v_cvt_i16_f16_e64 v5, vcc_lo            ; encoding: [0x05,0x00,0x7c,0xd1,0x6a,0x00,0x00,0x00]
0x05,0x00,0x7c,0xd1,0x6a,0x00,0x00,0x00

# CHECK: v_cvt_i16_f16_e64 v5, vcc_hi            ; encoding: [0x05,0x00,0x7c,0xd1,0x6b,0x00,0x00,0x00]
0x05,0x00,0x7c,0xd1,0x6b,0x00,0x00,0x00

# CHECK: v_cvt_i16_f16_e64 v5, tba_lo            ; encoding: [0x05,0x00,0x7c,0xd1,0x6c,0x00,0x00,0x00]
0x05,0x00,0x7c,0xd1,0x6c,0x00,0x00,0x00

# CHECK: v_cvt_i16_f16_e64 v5, tba_hi            ; encoding: [0x05,0x00,0x7c,0xd1,0x6d,0x00,0x00,0x00]
0x05,0x00,0x7c,0xd1,0x6d,0x00,0x00,0x00

# CHECK: v_cvt_i16_f16_e64 v5, tma_lo            ; encoding: [0x05,0x00,0x7c,0xd1,0x6e,0x00,0x00,0x00]
0x05,0x00,0x7c,0xd1,0x6e,0x00,0x00,0x00

# CHECK: v_cvt_i16_f16_e64 v5, tma_hi            ; encoding: [0x05,0x00,0x7c,0xd1,0x6f,0x00,0x00,0x00]
0x05,0x00,0x7c,0xd1,0x6f,0x00,0x00,0x00

# CHECK: v_cvt_i16_f16_e64 v5, ttmp11            ; encoding: [0x05,0x00,0x7c,0xd1,0x7b,0x00,0x00,0x00]
0x05,0x00,0x7c,0xd1,0x7b,0x00,0x00,0x00

# CHECK: v_cvt_i16_f16_e64 v5, m0                ; encoding: [0x05,0x00,0x7c,0xd1,0x7c,0x00,0x00,0x00]
0x05,0x00,0x7c,0xd1,0x7c,0x00,0x00,0x00

# CHECK: v_cvt_i16_f16_e64 v5, exec_lo           ; encoding: [0x05,0x00,0x7c,0xd1,0x7e,0x00,0x00,0x00]
0x05,0x00,0x7c,0xd1,0x7e,0x00,0x00,0x00

# CHECK: v_cvt_i16_f16_e64 v5, exec_hi           ; encoding: [0x05,0x00,0x7c,0xd1,0x7f,0x00,0x00,0x00]
0x05,0x00,0x7c,0xd1,0x7f,0x00,0x00,0x00

# CHECK: v_cvt_i16_f16_e64 v5, 0                 ; encoding: [0x05,0x00,0x7c,0xd1,0x80,0x00,0x00,0x00]
0x05,0x00,0x7c,0xd1,0x80,0x00,0x00,0x00

# CHECK: v_cvt_i16_f16_e64 v5, -1                ; encoding: [0x05,0x00,0x7c,0xd1,0xc1,0x00,0x00,0x00]
0x05,0x00,0x7c,0xd1,0xc1,0x00,0x00,0x00

# CHECK: v_cvt_i16_f16_e64 v5, 0.5               ; encoding: [0x05,0x00,0x7c,0xd1,0xf0,0x00,0x00,0x00]
0x05,0x00,0x7c,0xd1,0xf0,0x00,0x00,0x00

# CHECK: v_cvt_i16_f16_e64 v5, -4.0              ; encoding: [0x05,0x00,0x7c,0xd1,0xf7,0x00,0x00,0x00]
0x05,0x00,0x7c,0xd1,0xf7,0x00,0x00,0x00

# CHECK: v_cvt_i16_f16_e64 v5, -v1               ; encoding: [0x05,0x00,0x7c,0xd1,0x01,0x01,0x00,0x20]
0x05,0x00,0x7c,0xd1,0x01,0x01,0x00,0x20

# CHECK: v_cvt_i16_f16_e64 v5, |v1|              ; encoding: [0x05,0x01,0x7c,0xd1,0x01,0x01,0x00,0x00]
0x05,0x01,0x7c,0xd1,0x01,0x01,0x00,0x00

# CHECK: v_rcp_f16_e64 v5, v1                    ; encoding: [0x05,0x00,0x7d,0xd1,0x01,0x01,0x00,0x00]
0x05,0x00,0x7d,0xd1,0x01,0x01,0x00,0x00

# CHECK: v_rcp_f16_e64 v255, v1                  ; encoding: [0xff,0x00,0x7d,0xd1,0x01,0x01,0x00,0x00]
0xff,0x00,0x7d,0xd1,0x01,0x01,0x00,0x00

# CHECK: v_rcp_f16_e64 v5, v255                  ; encoding: [0x05,0x00,0x7d,0xd1,0xff,0x01,0x00,0x00]
0x05,0x00,0x7d,0xd1,0xff,0x01,0x00,0x00

# CHECK: v_rcp_f16_e64 v5, s1                    ; encoding: [0x05,0x00,0x7d,0xd1,0x01,0x00,0x00,0x00]
0x05,0x00,0x7d,0xd1,0x01,0x00,0x00,0x00

# CHECK: v_rcp_f16_e64 v5, s101                  ; encoding: [0x05,0x00,0x7d,0xd1,0x65,0x00,0x00,0x00]
0x05,0x00,0x7d,0xd1,0x65,0x00,0x00,0x00

# CHECK: v_rcp_f16_e64 v5, flat_scratch_lo       ; encoding: [0x05,0x00,0x7d,0xd1,0x66,0x00,0x00,0x00]
0x05,0x00,0x7d,0xd1,0x66,0x00,0x00,0x00

# CHECK: v_rcp_f16_e64 v5, flat_scratch_hi       ; encoding: [0x05,0x00,0x7d,0xd1,0x67,0x00,0x00,0x00]
0x05,0x00,0x7d,0xd1,0x67,0x00,0x00,0x00

# CHECK: v_rcp_f16_e64 v5, vcc_lo                ; encoding: [0x05,0x00,0x7d,0xd1,0x6a,0x00,0x00,0x00]
0x05,0x00,0x7d,0xd1,0x6a,0x00,0x00,0x00

# CHECK: v_rcp_f16_e64 v5, vcc_hi                ; encoding: [0x05,0x00,0x7d,0xd1,0x6b,0x00,0x00,0x00]
0x05,0x00,0x7d,0xd1,0x6b,0x00,0x00,0x00

# CHECK: v_rcp_f16_e64 v5, tba_lo                ; encoding: [0x05,0x00,0x7d,0xd1,0x6c,0x00,0x00,0x00]
0x05,0x00,0x7d,0xd1,0x6c,0x00,0x00,0x00

# CHECK: v_rcp_f16_e64 v5, tba_hi                ; encoding: [0x05,0x00,0x7d,0xd1,0x6d,0x00,0x00,0x00]
0x05,0x00,0x7d,0xd1,0x6d,0x00,0x00,0x00

# CHECK: v_rcp_f16_e64 v5, tma_lo                ; encoding: [0x05,0x00,0x7d,0xd1,0x6e,0x00,0x00,0x00]
0x05,0x00,0x7d,0xd1,0x6e,0x00,0x00,0x00

# CHECK: v_rcp_f16_e64 v5, tma_hi                ; encoding: [0x05,0x00,0x7d,0xd1,0x6f,0x00,0x00,0x00]
0x05,0x00,0x7d,0xd1,0x6f,0x00,0x00,0x00

# CHECK: v_rcp_f16_e64 v5, ttmp11                ; encoding: [0x05,0x00,0x7d,0xd1,0x7b,0x00,0x00,0x00]
0x05,0x00,0x7d,0xd1,0x7b,0x00,0x00,0x00

# CHECK: v_rcp_f16_e64 v5, m0                    ; encoding: [0x05,0x00,0x7d,0xd1,0x7c,0x00,0x00,0x00]
0x05,0x00,0x7d,0xd1,0x7c,0x00,0x00,0x00

# CHECK: v_rcp_f16_e64 v5, exec_lo               ; encoding: [0x05,0x00,0x7d,0xd1,0x7e,0x00,0x00,0x00]
0x05,0x00,0x7d,0xd1,0x7e,0x00,0x00,0x00

# CHECK: v_rcp_f16_e64 v5, exec_hi               ; encoding: [0x05,0x00,0x7d,0xd1,0x7f,0x00,0x00,0x00]
0x05,0x00,0x7d,0xd1,0x7f,0x00,0x00,0x00

# CHECK: v_rcp_f16_e64 v5, 0                     ; encoding: [0x05,0x00,0x7d,0xd1,0x80,0x00,0x00,0x00]
0x05,0x00,0x7d,0xd1,0x80,0x00,0x00,0x00

# CHECK: v_rcp_f16_e64 v5, -1                    ; encoding: [0x05,0x00,0x7d,0xd1,0xc1,0x00,0x00,0x00]
0x05,0x00,0x7d,0xd1,0xc1,0x00,0x00,0x00

# CHECK: v_rcp_f16_e64 v5, 0.5                   ; encoding: [0x05,0x00,0x7d,0xd1,0xf0,0x00,0x00,0x00]
0x05,0x00,0x7d,0xd1,0xf0,0x00,0x00,0x00

# CHECK: v_rcp_f16_e64 v5, -4.0                  ; encoding: [0x05,0x00,0x7d,0xd1,0xf7,0x00,0x00,0x00]
0x05,0x00,0x7d,0xd1,0xf7,0x00,0x00,0x00

# CHECK: v_rcp_f16_e64 v5, -v1                   ; encoding: [0x05,0x00,0x7d,0xd1,0x01,0x01,0x00,0x20]
0x05,0x00,0x7d,0xd1,0x01,0x01,0x00,0x20

# CHECK: v_rcp_f16_e64 v5, |v1|                  ; encoding: [0x05,0x01,0x7d,0xd1,0x01,0x01,0x00,0x00]
0x05,0x01,0x7d,0xd1,0x01,0x01,0x00,0x00

# CHECK: v_rcp_f16_e64 v5, v1 clamp              ; encoding: [0x05,0x80,0x7d,0xd1,0x01,0x01,0x00,0x00]
0x05,0x80,0x7d,0xd1,0x01,0x01,0x00,0x00

# CHECK: v_sqrt_f16_e64 v5, v1                   ; encoding: [0x05,0x00,0x7e,0xd1,0x01,0x01,0x00,0x00]
0x05,0x00,0x7e,0xd1,0x01,0x01,0x00,0x00

# CHECK: v_sqrt_f16_e64 v255, v1                 ; encoding: [0xff,0x00,0x7e,0xd1,0x01,0x01,0x00,0x00]
0xff,0x00,0x7e,0xd1,0x01,0x01,0x00,0x00

# CHECK: v_sqrt_f16_e64 v5, v255                 ; encoding: [0x05,0x00,0x7e,0xd1,0xff,0x01,0x00,0x00]
0x05,0x00,0x7e,0xd1,0xff,0x01,0x00,0x00

# CHECK: v_sqrt_f16_e64 v5, s1                   ; encoding: [0x05,0x00,0x7e,0xd1,0x01,0x00,0x00,0x00]
0x05,0x00,0x7e,0xd1,0x01,0x00,0x00,0x00

# CHECK: v_sqrt_f16_e64 v5, s101                 ; encoding: [0x05,0x00,0x7e,0xd1,0x65,0x00,0x00,0x00]
0x05,0x00,0x7e,0xd1,0x65,0x00,0x00,0x00

# CHECK: v_sqrt_f16_e64 v5, flat_scratch_lo      ; encoding: [0x05,0x00,0x7e,0xd1,0x66,0x00,0x00,0x00]
0x05,0x00,0x7e,0xd1,0x66,0x00,0x00,0x00

# CHECK: v_sqrt_f16_e64 v5, flat_scratch_hi      ; encoding: [0x05,0x00,0x7e,0xd1,0x67,0x00,0x00,0x00]
0x05,0x00,0x7e,0xd1,0x67,0x00,0x00,0x00

# CHECK: v_sqrt_f16_e64 v5, vcc_lo               ; encoding: [0x05,0x00,0x7e,0xd1,0x6a,0x00,0x00,0x00]
0x05,0x00,0x7e,0xd1,0x6a,0x00,0x00,0x00

# CHECK: v_sqrt_f16_e64 v5, vcc_hi               ; encoding: [0x05,0x00,0x7e,0xd1,0x6b,0x00,0x00,0x00]
0x05,0x00,0x7e,0xd1,0x6b,0x00,0x00,0x00

# CHECK: v_sqrt_f16_e64 v5, tba_lo               ; encoding: [0x05,0x00,0x7e,0xd1,0x6c,0x00,0x00,0x00]
0x05,0x00,0x7e,0xd1,0x6c,0x00,0x00,0x00

# CHECK: v_sqrt_f16_e64 v5, tba_hi               ; encoding: [0x05,0x00,0x7e,0xd1,0x6d,0x00,0x00,0x00]
0x05,0x00,0x7e,0xd1,0x6d,0x00,0x00,0x00

# CHECK: v_sqrt_f16_e64 v5, tma_lo               ; encoding: [0x05,0x00,0x7e,0xd1,0x6e,0x00,0x00,0x00]
0x05,0x00,0x7e,0xd1,0x6e,0x00,0x00,0x00

# CHECK: v_sqrt_f16_e64 v5, tma_hi               ; encoding: [0x05,0x00,0x7e,0xd1,0x6f,0x00,0x00,0x00]
0x05,0x00,0x7e,0xd1,0x6f,0x00,0x00,0x00

# CHECK: v_sqrt_f16_e64 v5, ttmp11               ; encoding: [0x05,0x00,0x7e,0xd1,0x7b,0x00,0x00,0x00]
0x05,0x00,0x7e,0xd1,0x7b,0x00,0x00,0x00

# CHECK: v_sqrt_f16_e64 v5, m0                   ; encoding: [0x05,0x00,0x7e,0xd1,0x7c,0x00,0x00,0x00]
0x05,0x00,0x7e,0xd1,0x7c,0x00,0x00,0x00

# CHECK: v_sqrt_f16_e64 v5, exec_lo              ; encoding: [0x05,0x00,0x7e,0xd1,0x7e,0x00,0x00,0x00]
0x05,0x00,0x7e,0xd1,0x7e,0x00,0x00,0x00

# CHECK: v_sqrt_f16_e64 v5, exec_hi              ; encoding: [0x05,0x00,0x7e,0xd1,0x7f,0x00,0x00,0x00]
0x05,0x00,0x7e,0xd1,0x7f,0x00,0x00,0x00

# CHECK: v_sqrt_f16_e64 v5, 0                    ; encoding: [0x05,0x00,0x7e,0xd1,0x80,0x00,0x00,0x00]
0x05,0x00,0x7e,0xd1,0x80,0x00,0x00,0x00

# CHECK: v_sqrt_f16_e64 v5, -1                   ; encoding: [0x05,0x00,0x7e,0xd1,0xc1,0x00,0x00,0x00]
0x05,0x00,0x7e,0xd1,0xc1,0x00,0x00,0x00

# CHECK: v_sqrt_f16_e64 v5, 0.5                  ; encoding: [0x05,0x00,0x7e,0xd1,0xf0,0x00,0x00,0x00]
0x05,0x00,0x7e,0xd1,0xf0,0x00,0x00,0x00

# CHECK: v_sqrt_f16_e64 v5, -4.0                 ; encoding: [0x05,0x00,0x7e,0xd1,0xf7,0x00,0x00,0x00]
0x05,0x00,0x7e,0xd1,0xf7,0x00,0x00,0x00

# CHECK: v_sqrt_f16_e64 v5, -v1                  ; encoding: [0x05,0x00,0x7e,0xd1,0x01,0x01,0x00,0x20]
0x05,0x00,0x7e,0xd1,0x01,0x01,0x00,0x20

# CHECK: v_sqrt_f16_e64 v5, |v1|                 ; encoding: [0x05,0x01,0x7e,0xd1,0x01,0x01,0x00,0x00]
0x05,0x01,0x7e,0xd1,0x01,0x01,0x00,0x00

# CHECK: v_sqrt_f16_e64 v5, v1 clamp             ; encoding: [0x05,0x80,0x7e,0xd1,0x01,0x01,0x00,0x00]
0x05,0x80,0x7e,0xd1,0x01,0x01,0x00,0x00

# CHECK: v_rsq_f16_e64 v5, v1                    ; encoding: [0x05,0x00,0x7f,0xd1,0x01,0x01,0x00,0x00]
0x05,0x00,0x7f,0xd1,0x01,0x01,0x00,0x00

# CHECK: v_rsq_f16_e64 v255, v1                  ; encoding: [0xff,0x00,0x7f,0xd1,0x01,0x01,0x00,0x00]
0xff,0x00,0x7f,0xd1,0x01,0x01,0x00,0x00

# CHECK: v_rsq_f16_e64 v5, v255                  ; encoding: [0x05,0x00,0x7f,0xd1,0xff,0x01,0x00,0x00]
0x05,0x00,0x7f,0xd1,0xff,0x01,0x00,0x00

# CHECK: v_rsq_f16_e64 v5, s1                    ; encoding: [0x05,0x00,0x7f,0xd1,0x01,0x00,0x00,0x00]
0x05,0x00,0x7f,0xd1,0x01,0x00,0x00,0x00

# CHECK: v_rsq_f16_e64 v5, s101                  ; encoding: [0x05,0x00,0x7f,0xd1,0x65,0x00,0x00,0x00]
0x05,0x00,0x7f,0xd1,0x65,0x00,0x00,0x00

# CHECK: v_rsq_f16_e64 v5, flat_scratch_lo       ; encoding: [0x05,0x00,0x7f,0xd1,0x66,0x00,0x00,0x00]
0x05,0x00,0x7f,0xd1,0x66,0x00,0x00,0x00

# CHECK: v_rsq_f16_e64 v5, flat_scratch_hi       ; encoding: [0x05,0x00,0x7f,0xd1,0x67,0x00,0x00,0x00]
0x05,0x00,0x7f,0xd1,0x67,0x00,0x00,0x00

# CHECK: v_rsq_f16_e64 v5, vcc_lo                ; encoding: [0x05,0x00,0x7f,0xd1,0x6a,0x00,0x00,0x00]
0x05,0x00,0x7f,0xd1,0x6a,0x00,0x00,0x00

# CHECK: v_rsq_f16_e64 v5, vcc_hi                ; encoding: [0x05,0x00,0x7f,0xd1,0x6b,0x00,0x00,0x00]
0x05,0x00,0x7f,0xd1,0x6b,0x00,0x00,0x00

# CHECK: v_rsq_f16_e64 v5, tba_lo                ; encoding: [0x05,0x00,0x7f,0xd1,0x6c,0x00,0x00,0x00]
0x05,0x00,0x7f,0xd1,0x6c,0x00,0x00,0x00

# CHECK: v_rsq_f16_e64 v5, tba_hi                ; encoding: [0x05,0x00,0x7f,0xd1,0x6d,0x00,0x00,0x00]
0x05,0x00,0x7f,0xd1,0x6d,0x00,0x00,0x00

# CHECK: v_rsq_f16_e64 v5, tma_lo                ; encoding: [0x05,0x00,0x7f,0xd1,0x6e,0x00,0x00,0x00]
0x05,0x00,0x7f,0xd1,0x6e,0x00,0x00,0x00

# CHECK: v_rsq_f16_e64 v5, tma_hi                ; encoding: [0x05,0x00,0x7f,0xd1,0x6f,0x00,0x00,0x00]
0x05,0x00,0x7f,0xd1,0x6f,0x00,0x00,0x00

# CHECK: v_rsq_f16_e64 v5, ttmp11                ; encoding: [0x05,0x00,0x7f,0xd1,0x7b,0x00,0x00,0x00]
0x05,0x00,0x7f,0xd1,0x7b,0x00,0x00,0x00

# CHECK: v_rsq_f16_e64 v5, m0                    ; encoding: [0x05,0x00,0x7f,0xd1,0x7c,0x00,0x00,0x00]
0x05,0x00,0x7f,0xd1,0x7c,0x00,0x00,0x00

# CHECK: v_rsq_f16_e64 v5, exec_lo               ; encoding: [0x05,0x00,0x7f,0xd1,0x7e,0x00,0x00,0x00]
0x05,0x00,0x7f,0xd1,0x7e,0x00,0x00,0x00

# CHECK: v_rsq_f16_e64 v5, exec_hi               ; encoding: [0x05,0x00,0x7f,0xd1,0x7f,0x00,0x00,0x00]
0x05,0x00,0x7f,0xd1,0x7f,0x00,0x00,0x00

# CHECK: v_rsq_f16_e64 v5, 0                     ; encoding: [0x05,0x00,0x7f,0xd1,0x80,0x00,0x00,0x00]
0x05,0x00,0x7f,0xd1,0x80,0x00,0x00,0x00

# CHECK: v_rsq_f16_e64 v5, -1                    ; encoding: [0x05,0x00,0x7f,0xd1,0xc1,0x00,0x00,0x00]
0x05,0x00,0x7f,0xd1,0xc1,0x00,0x00,0x00

# CHECK: v_rsq_f16_e64 v5, 0.5                   ; encoding: [0x05,0x00,0x7f,0xd1,0xf0,0x00,0x00,0x00]
0x05,0x00,0x7f,0xd1,0xf0,0x00,0x00,0x00

# CHECK: v_rsq_f16_e64 v5, -4.0                  ; encoding: [0x05,0x00,0x7f,0xd1,0xf7,0x00,0x00,0x00]
0x05,0x00,0x7f,0xd1,0xf7,0x00,0x00,0x00

# CHECK: v_rsq_f16_e64 v5, -v1                   ; encoding: [0x05,0x00,0x7f,0xd1,0x01,0x01,0x00,0x20]
0x05,0x00,0x7f,0xd1,0x01,0x01,0x00,0x20

# CHECK: v_rsq_f16_e64 v5, |v1|                  ; encoding: [0x05,0x01,0x7f,0xd1,0x01,0x01,0x00,0x00]
0x05,0x01,0x7f,0xd1,0x01,0x01,0x00,0x00

# CHECK: v_rsq_f16_e64 v5, v1 clamp              ; encoding: [0x05,0x80,0x7f,0xd1,0x01,0x01,0x00,0x00]
0x05,0x80,0x7f,0xd1,0x01,0x01,0x00,0x00

# CHECK: v_log_f16_e64 v5, v1                    ; encoding: [0x05,0x00,0x80,0xd1,0x01,0x01,0x00,0x00]
0x05,0x00,0x80,0xd1,0x01,0x01,0x00,0x00

# CHECK: v_log_f16_e64 v255, v1                  ; encoding: [0xff,0x00,0x80,0xd1,0x01,0x01,0x00,0x00]
0xff,0x00,0x80,0xd1,0x01,0x01,0x00,0x00

# CHECK: v_log_f16_e64 v5, v255                  ; encoding: [0x05,0x00,0x80,0xd1,0xff,0x01,0x00,0x00]
0x05,0x00,0x80,0xd1,0xff,0x01,0x00,0x00

# CHECK: v_log_f16_e64 v5, s1                    ; encoding: [0x05,0x00,0x80,0xd1,0x01,0x00,0x00,0x00]
0x05,0x00,0x80,0xd1,0x01,0x00,0x00,0x00

# CHECK: v_log_f16_e64 v5, s101                  ; encoding: [0x05,0x00,0x80,0xd1,0x65,0x00,0x00,0x00]
0x05,0x00,0x80,0xd1,0x65,0x00,0x00,0x00

# CHECK: v_log_f16_e64 v5, flat_scratch_lo       ; encoding: [0x05,0x00,0x80,0xd1,0x66,0x00,0x00,0x00]
0x05,0x00,0x80,0xd1,0x66,0x00,0x00,0x00

# CHECK: v_log_f16_e64 v5, flat_scratch_hi       ; encoding: [0x05,0x00,0x80,0xd1,0x67,0x00,0x00,0x00]
0x05,0x00,0x80,0xd1,0x67,0x00,0x00,0x00

# CHECK: v_log_f16_e64 v5, vcc_lo                ; encoding: [0x05,0x00,0x80,0xd1,0x6a,0x00,0x00,0x00]
0x05,0x00,0x80,0xd1,0x6a,0x00,0x00,0x00

# CHECK: v_log_f16_e64 v5, vcc_hi                ; encoding: [0x05,0x00,0x80,0xd1,0x6b,0x00,0x00,0x00]
0x05,0x00,0x80,0xd1,0x6b,0x00,0x00,0x00

# CHECK: v_log_f16_e64 v5, tba_lo                ; encoding: [0x05,0x00,0x80,0xd1,0x6c,0x00,0x00,0x00]
0x05,0x00,0x80,0xd1,0x6c,0x00,0x00,0x00

# CHECK: v_log_f16_e64 v5, tba_hi                ; encoding: [0x05,0x00,0x80,0xd1,0x6d,0x00,0x00,0x00]
0x05,0x00,0x80,0xd1,0x6d,0x00,0x00,0x00

# CHECK: v_log_f16_e64 v5, tma_lo                ; encoding: [0x05,0x00,0x80,0xd1,0x6e,0x00,0x00,0x00]
0x05,0x00,0x80,0xd1,0x6e,0x00,0x00,0x00

# CHECK: v_log_f16_e64 v5, tma_hi                ; encoding: [0x05,0x00,0x80,0xd1,0x6f,0x00,0x00,0x00]
0x05,0x00,0x80,0xd1,0x6f,0x00,0x00,0x00

# CHECK: v_log_f16_e64 v5, ttmp11                ; encoding: [0x05,0x00,0x80,0xd1,0x7b,0x00,0x00,0x00]
0x05,0x00,0x80,0xd1,0x7b,0x00,0x00,0x00

# CHECK: v_log_f16_e64 v5, m0                    ; encoding: [0x05,0x00,0x80,0xd1,0x7c,0x00,0x00,0x00]
0x05,0x00,0x80,0xd1,0x7c,0x00,0x00,0x00

# CHECK: v_log_f16_e64 v5, exec_lo               ; encoding: [0x05,0x00,0x80,0xd1,0x7e,0x00,0x00,0x00]
0x05,0x00,0x80,0xd1,0x7e,0x00,0x00,0x00

# CHECK: v_log_f16_e64 v5, exec_hi               ; encoding: [0x05,0x00,0x80,0xd1,0x7f,0x00,0x00,0x00]
0x05,0x00,0x80,0xd1,0x7f,0x00,0x00,0x00

# CHECK: v_log_f16_e64 v5, 0                     ; encoding: [0x05,0x00,0x80,0xd1,0x80,0x00,0x00,0x00]
0x05,0x00,0x80,0xd1,0x80,0x00,0x00,0x00

# CHECK: v_log_f16_e64 v5, -1                    ; encoding: [0x05,0x00,0x80,0xd1,0xc1,0x00,0x00,0x00]
0x05,0x00,0x80,0xd1,0xc1,0x00,0x00,0x00

# CHECK: v_log_f16_e64 v5, 0.5                   ; encoding: [0x05,0x00,0x80,0xd1,0xf0,0x00,0x00,0x00]
0x05,0x00,0x80,0xd1,0xf0,0x00,0x00,0x00

# CHECK: v_log_f16_e64 v5, -4.0                  ; encoding: [0x05,0x00,0x80,0xd1,0xf7,0x00,0x00,0x00]
0x05,0x00,0x80,0xd1,0xf7,0x00,0x00,0x00

# CHECK: v_log_f16_e64 v5, -v1                   ; encoding: [0x05,0x00,0x80,0xd1,0x01,0x01,0x00,0x20]
0x05,0x00,0x80,0xd1,0x01,0x01,0x00,0x20

# CHECK: v_log_f16_e64 v5, |v1|                  ; encoding: [0x05,0x01,0x80,0xd1,0x01,0x01,0x00,0x00]
0x05,0x01,0x80,0xd1,0x01,0x01,0x00,0x00

# CHECK: v_log_f16_e64 v5, v1 clamp              ; encoding: [0x05,0x80,0x80,0xd1,0x01,0x01,0x00,0x00]
0x05,0x80,0x80,0xd1,0x01,0x01,0x00,0x00

# CHECK: v_exp_f16_e64 v5, v1                    ; encoding: [0x05,0x00,0x81,0xd1,0x01,0x01,0x00,0x00]
0x05,0x00,0x81,0xd1,0x01,0x01,0x00,0x00

# CHECK: v_exp_f16_e64 v255, v1                  ; encoding: [0xff,0x00,0x81,0xd1,0x01,0x01,0x00,0x00]
0xff,0x00,0x81,0xd1,0x01,0x01,0x00,0x00

# CHECK: v_exp_f16_e64 v5, v255                  ; encoding: [0x05,0x00,0x81,0xd1,0xff,0x01,0x00,0x00]
0x05,0x00,0x81,0xd1,0xff,0x01,0x00,0x00

# CHECK: v_exp_f16_e64 v5, s1                    ; encoding: [0x05,0x00,0x81,0xd1,0x01,0x00,0x00,0x00]
0x05,0x00,0x81,0xd1,0x01,0x00,0x00,0x00

# CHECK: v_exp_f16_e64 v5, s101                  ; encoding: [0x05,0x00,0x81,0xd1,0x65,0x00,0x00,0x00]
0x05,0x00,0x81,0xd1,0x65,0x00,0x00,0x00

# CHECK: v_exp_f16_e64 v5, flat_scratch_lo       ; encoding: [0x05,0x00,0x81,0xd1,0x66,0x00,0x00,0x00]
0x05,0x00,0x81,0xd1,0x66,0x00,0x00,0x00

# CHECK: v_exp_f16_e64 v5, flat_scratch_hi       ; encoding: [0x05,0x00,0x81,0xd1,0x67,0x00,0x00,0x00]
0x05,0x00,0x81,0xd1,0x67,0x00,0x00,0x00

# CHECK: v_exp_f16_e64 v5, vcc_lo                ; encoding: [0x05,0x00,0x81,0xd1,0x6a,0x00,0x00,0x00]
0x05,0x00,0x81,0xd1,0x6a,0x00,0x00,0x00

# CHECK: v_exp_f16_e64 v5, vcc_hi                ; encoding: [0x05,0x00,0x81,0xd1,0x6b,0x00,0x00,0x00]
0x05,0x00,0x81,0xd1,0x6b,0x00,0x00,0x00

# CHECK: v_exp_f16_e64 v5, tba_lo                ; encoding: [0x05,0x00,0x81,0xd1,0x6c,0x00,0x00,0x00]
0x05,0x00,0x81,0xd1,0x6c,0x00,0x00,0x00

# CHECK: v_exp_f16_e64 v5, tba_hi                ; encoding: [0x05,0x00,0x81,0xd1,0x6d,0x00,0x00,0x00]
0x05,0x00,0x81,0xd1,0x6d,0x00,0x00,0x00

# CHECK: v_exp_f16_e64 v5, tma_lo                ; encoding: [0x05,0x00,0x81,0xd1,0x6e,0x00,0x00,0x00]
0x05,0x00,0x81,0xd1,0x6e,0x00,0x00,0x00

# CHECK: v_exp_f16_e64 v5, tma_hi                ; encoding: [0x05,0x00,0x81,0xd1,0x6f,0x00,0x00,0x00]
0x05,0x00,0x81,0xd1,0x6f,0x00,0x00,0x00

# CHECK: v_exp_f16_e64 v5, ttmp11                ; encoding: [0x05,0x00,0x81,0xd1,0x7b,0x00,0x00,0x00]
0x05,0x00,0x81,0xd1,0x7b,0x00,0x00,0x00

# CHECK: v_exp_f16_e64 v5, m0                    ; encoding: [0x05,0x00,0x81,0xd1,0x7c,0x00,0x00,0x00]
0x05,0x00,0x81,0xd1,0x7c,0x00,0x00,0x00

# CHECK: v_exp_f16_e64 v5, exec_lo               ; encoding: [0x05,0x00,0x81,0xd1,0x7e,0x00,0x00,0x00]
0x05,0x00,0x81,0xd1,0x7e,0x00,0x00,0x00

# CHECK: v_exp_f16_e64 v5, exec_hi               ; encoding: [0x05,0x00,0x81,0xd1,0x7f,0x00,0x00,0x00]
0x05,0x00,0x81,0xd1,0x7f,0x00,0x00,0x00

# CHECK: v_exp_f16_e64 v5, 0                     ; encoding: [0x05,0x00,0x81,0xd1,0x80,0x00,0x00,0x00]
0x05,0x00,0x81,0xd1,0x80,0x00,0x00,0x00

# CHECK: v_exp_f16_e64 v5, -1                    ; encoding: [0x05,0x00,0x81,0xd1,0xc1,0x00,0x00,0x00]
0x05,0x00,0x81,0xd1,0xc1,0x00,0x00,0x00

# CHECK: v_exp_f16_e64 v5, 0.5                   ; encoding: [0x05,0x00,0x81,0xd1,0xf0,0x00,0x00,0x00]
0x05,0x00,0x81,0xd1,0xf0,0x00,0x00,0x00

# CHECK: v_exp_f16_e64 v5, -4.0                  ; encoding: [0x05,0x00,0x81,0xd1,0xf7,0x00,0x00,0x00]
0x05,0x00,0x81,0xd1,0xf7,0x00,0x00,0x00

# CHECK: v_exp_f16_e64 v5, -v1                   ; encoding: [0x05,0x00,0x81,0xd1,0x01,0x01,0x00,0x20]
0x05,0x00,0x81,0xd1,0x01,0x01,0x00,0x20

# CHECK: v_exp_f16_e64 v5, |v1|                  ; encoding: [0x05,0x01,0x81,0xd1,0x01,0x01,0x00,0x00]
0x05,0x01,0x81,0xd1,0x01,0x01,0x00,0x00

# CHECK: v_exp_f16_e64 v5, v1 clamp              ; encoding: [0x05,0x80,0x81,0xd1,0x01,0x01,0x00,0x00]
0x05,0x80,0x81,0xd1,0x01,0x01,0x00,0x00

# CHECK: v_frexp_mant_f16_e64 v5, v1             ; encoding: [0x05,0x00,0x82,0xd1,0x01,0x01,0x00,0x00]
0x05,0x00,0x82,0xd1,0x01,0x01,0x00,0x00

# CHECK: v_frexp_mant_f16_e64 v255, v1           ; encoding: [0xff,0x00,0x82,0xd1,0x01,0x01,0x00,0x00]
0xff,0x00,0x82,0xd1,0x01,0x01,0x00,0x00

# CHECK: v_frexp_mant_f16_e64 v5, v255           ; encoding: [0x05,0x00,0x82,0xd1,0xff,0x01,0x00,0x00]
0x05,0x00,0x82,0xd1,0xff,0x01,0x00,0x00

# CHECK: v_frexp_mant_f16_e64 v5, s1             ; encoding: [0x05,0x00,0x82,0xd1,0x01,0x00,0x00,0x00]
0x05,0x00,0x82,0xd1,0x01,0x00,0x00,0x00

# CHECK: v_frexp_mant_f16_e64 v5, s101           ; encoding: [0x05,0x00,0x82,0xd1,0x65,0x00,0x00,0x00]
0x05,0x00,0x82,0xd1,0x65,0x00,0x00,0x00

# CHECK: v_frexp_mant_f16_e64 v5, flat_scratch_lo ; encoding: [0x05,0x00,0x82,0xd1,0x66,0x00,0x00,0x00]
0x05,0x00,0x82,0xd1,0x66,0x00,0x00,0x00

# CHECK: v_frexp_mant_f16_e64 v5, flat_scratch_hi ; encoding: [0x05,0x00,0x82,0xd1,0x67,0x00,0x00,0x00]
0x05,0x00,0x82,0xd1,0x67,0x00,0x00,0x00

# CHECK: v_frexp_mant_f16_e64 v5, vcc_lo         ; encoding: [0x05,0x00,0x82,0xd1,0x6a,0x00,0x00,0x00]
0x05,0x00,0x82,0xd1,0x6a,0x00,0x00,0x00

# CHECK: v_frexp_mant_f16_e64 v5, vcc_hi         ; encoding: [0x05,0x00,0x82,0xd1,0x6b,0x00,0x00,0x00]
0x05,0x00,0x82,0xd1,0x6b,0x00,0x00,0x00

# CHECK: v_frexp_mant_f16_e64 v5, tba_lo         ; encoding: [0x05,0x00,0x82,0xd1,0x6c,0x00,0x00,0x00]
0x05,0x00,0x82,0xd1,0x6c,0x00,0x00,0x00

# CHECK: v_frexp_mant_f16_e64 v5, tba_hi         ; encoding: [0x05,0x00,0x82,0xd1,0x6d,0x00,0x00,0x00]
0x05,0x00,0x82,0xd1,0x6d,0x00,0x00,0x00

# CHECK: v_frexp_mant_f16_e64 v5, tma_lo         ; encoding: [0x05,0x00,0x82,0xd1,0x6e,0x00,0x00,0x00]
0x05,0x00,0x82,0xd1,0x6e,0x00,0x00,0x00

# CHECK: v_frexp_mant_f16_e64 v5, tma_hi         ; encoding: [0x05,0x00,0x82,0xd1,0x6f,0x00,0x00,0x00]
0x05,0x00,0x82,0xd1,0x6f,0x00,0x00,0x00

# CHECK: v_frexp_mant_f16_e64 v5, ttmp11         ; encoding: [0x05,0x00,0x82,0xd1,0x7b,0x00,0x00,0x00]
0x05,0x00,0x82,0xd1,0x7b,0x00,0x00,0x00

# CHECK: v_frexp_mant_f16_e64 v5, m0             ; encoding: [0x05,0x00,0x82,0xd1,0x7c,0x00,0x00,0x00]
0x05,0x00,0x82,0xd1,0x7c,0x00,0x00,0x00

# CHECK: v_frexp_mant_f16_e64 v5, exec_lo        ; encoding: [0x05,0x00,0x82,0xd1,0x7e,0x00,0x00,0x00]
0x05,0x00,0x82,0xd1,0x7e,0x00,0x00,0x00

# CHECK: v_frexp_mant_f16_e64 v5, exec_hi        ; encoding: [0x05,0x00,0x82,0xd1,0x7f,0x00,0x00,0x00]
0x05,0x00,0x82,0xd1,0x7f,0x00,0x00,0x00

# CHECK: v_frexp_mant_f16_e64 v5, 0              ; encoding: [0x05,0x00,0x82,0xd1,0x80,0x00,0x00,0x00]
0x05,0x00,0x82,0xd1,0x80,0x00,0x00,0x00

# CHECK: v_frexp_mant_f16_e64 v5, -1             ; encoding: [0x05,0x00,0x82,0xd1,0xc1,0x00,0x00,0x00]
0x05,0x00,0x82,0xd1,0xc1,0x00,0x00,0x00

# CHECK: v_frexp_mant_f16_e64 v5, 0.5            ; encoding: [0x05,0x00,0x82,0xd1,0xf0,0x00,0x00,0x00]
0x05,0x00,0x82,0xd1,0xf0,0x00,0x00,0x00

# CHECK: v_frexp_mant_f16_e64 v5, -4.0           ; encoding: [0x05,0x00,0x82,0xd1,0xf7,0x00,0x00,0x00]
0x05,0x00,0x82,0xd1,0xf7,0x00,0x00,0x00

# CHECK: v_frexp_mant_f16_e64 v5, -v1            ; encoding: [0x05,0x00,0x82,0xd1,0x01,0x01,0x00,0x20]
0x05,0x00,0x82,0xd1,0x01,0x01,0x00,0x20

# CHECK: v_frexp_mant_f16_e64 v5, |v1|           ; encoding: [0x05,0x01,0x82,0xd1,0x01,0x01,0x00,0x00]
0x05,0x01,0x82,0xd1,0x01,0x01,0x00,0x00

# CHECK: v_frexp_mant_f16_e64 v5, v1 clamp       ; encoding: [0x05,0x80,0x82,0xd1,0x01,0x01,0x00,0x00]
0x05,0x80,0x82,0xd1,0x01,0x01,0x00,0x00

# CHECK: v_frexp_exp_i16_f16_e64 v5, v1          ; encoding: [0x05,0x00,0x83,0xd1,0x01,0x01,0x00,0x00]
0x05,0x00,0x83,0xd1,0x01,0x01,0x00,0x00

# CHECK: v_frexp_exp_i16_f16_e64 v255, v1        ; encoding: [0xff,0x00,0x83,0xd1,0x01,0x01,0x00,0x00]
0xff,0x00,0x83,0xd1,0x01,0x01,0x00,0x00

# CHECK: v_frexp_exp_i16_f16_e64 v5, v255        ; encoding: [0x05,0x00,0x83,0xd1,0xff,0x01,0x00,0x00]
0x05,0x00,0x83,0xd1,0xff,0x01,0x00,0x00

# CHECK: v_frexp_exp_i16_f16_e64 v5, s1          ; encoding: [0x05,0x00,0x83,0xd1,0x01,0x00,0x00,0x00]
0x05,0x00,0x83,0xd1,0x01,0x00,0x00,0x00

# CHECK: v_frexp_exp_i16_f16_e64 v5, s101        ; encoding: [0x05,0x00,0x83,0xd1,0x65,0x00,0x00,0x00]
0x05,0x00,0x83,0xd1,0x65,0x00,0x00,0x00

# CHECK: v_frexp_exp_i16_f16_e64 v5, flat_scratch_lo ; encoding: [0x05,0x00,0x83,0xd1,0x66,0x00,0x00,0x00]
0x05,0x00,0x83,0xd1,0x66,0x00,0x00,0x00

# CHECK: v_frexp_exp_i16_f16_e64 v5, flat_scratch_hi ; encoding: [0x05,0x00,0x83,0xd1,0x67,0x00,0x00,0x00]
0x05,0x00,0x83,0xd1,0x67,0x00,0x00,0x00

# CHECK: v_frexp_exp_i16_f16_e64 v5, vcc_lo      ; encoding: [0x05,0x00,0x83,0xd1,0x6a,0x00,0x00,0x00]
0x05,0x00,0x83,0xd1,0x6a,0x00,0x00,0x00

# CHECK: v_frexp_exp_i16_f16_e64 v5, vcc_hi      ; encoding: [0x05,0x00,0x83,0xd1,0x6b,0x00,0x00,0x00]
0x05,0x00,0x83,0xd1,0x6b,0x00,0x00,0x00

# CHECK: v_frexp_exp_i16_f16_e64 v5, tba_lo      ; encoding: [0x05,0x00,0x83,0xd1,0x6c,0x00,0x00,0x00]
0x05,0x00,0x83,0xd1,0x6c,0x00,0x00,0x00

# CHECK: v_frexp_exp_i16_f16_e64 v5, tba_hi      ; encoding: [0x05,0x00,0x83,0xd1,0x6d,0x00,0x00,0x00]
0x05,0x00,0x83,0xd1,0x6d,0x00,0x00,0x00

# CHECK: v_frexp_exp_i16_f16_e64 v5, tma_lo      ; encoding: [0x05,0x00,0x83,0xd1,0x6e,0x00,0x00,0x00]
0x05,0x00,0x83,0xd1,0x6e,0x00,0x00,0x00

# CHECK: v_frexp_exp_i16_f16_e64 v5, tma_hi      ; encoding: [0x05,0x00,0x83,0xd1,0x6f,0x00,0x00,0x00]
0x05,0x00,0x83,0xd1,0x6f,0x00,0x00,0x00

# CHECK: v_frexp_exp_i16_f16_e64 v5, ttmp11      ; encoding: [0x05,0x00,0x83,0xd1,0x7b,0x00,0x00,0x00]
0x05,0x00,0x83,0xd1,0x7b,0x00,0x00,0x00

# CHECK: v_frexp_exp_i16_f16_e64 v5, m0          ; encoding: [0x05,0x00,0x83,0xd1,0x7c,0x00,0x00,0x00]
0x05,0x00,0x83,0xd1,0x7c,0x00,0x00,0x00

# CHECK: v_frexp_exp_i16_f16_e64 v5, exec_lo     ; encoding: [0x05,0x00,0x83,0xd1,0x7e,0x00,0x00,0x00]
0x05,0x00,0x83,0xd1,0x7e,0x00,0x00,0x00

# CHECK: v_frexp_exp_i16_f16_e64 v5, exec_hi     ; encoding: [0x05,0x00,0x83,0xd1,0x7f,0x00,0x00,0x00]
0x05,0x00,0x83,0xd1,0x7f,0x00,0x00,0x00

# CHECK: v_frexp_exp_i16_f16_e64 v5, 0           ; encoding: [0x05,0x00,0x83,0xd1,0x80,0x00,0x00,0x00]
0x05,0x00,0x83,0xd1,0x80,0x00,0x00,0x00

# CHECK: v_frexp_exp_i16_f16_e64 v5, -1          ; encoding: [0x05,0x00,0x83,0xd1,0xc1,0x00,0x00,0x00]
0x05,0x00,0x83,0xd1,0xc1,0x00,0x00,0x00

# CHECK: v_frexp_exp_i16_f16_e64 v5, 0.5         ; encoding: [0x05,0x00,0x83,0xd1,0xf0,0x00,0x00,0x00]
0x05,0x00,0x83,0xd1,0xf0,0x00,0x00,0x00

# CHECK: v_frexp_exp_i16_f16_e64 v5, -4.0        ; encoding: [0x05,0x00,0x83,0xd1,0xf7,0x00,0x00,0x00]
0x05,0x00,0x83,0xd1,0xf7,0x00,0x00,0x00

# CHECK: v_frexp_exp_i16_f16_e64 v5, -v1         ; encoding: [0x05,0x00,0x83,0xd1,0x01,0x01,0x00,0x20]
0x05,0x00,0x83,0xd1,0x01,0x01,0x00,0x20

# CHECK: v_frexp_exp_i16_f16_e64 v5, |v1|        ; encoding: [0x05,0x01,0x83,0xd1,0x01,0x01,0x00,0x00]
0x05,0x01,0x83,0xd1,0x01,0x01,0x00,0x00

# CHECK: v_floor_f16_e64 v5, v1                  ; encoding: [0x05,0x00,0x84,0xd1,0x01,0x01,0x00,0x00]
0x05,0x00,0x84,0xd1,0x01,0x01,0x00,0x00

# CHECK: v_floor_f16_e64 v255, v1                ; encoding: [0xff,0x00,0x84,0xd1,0x01,0x01,0x00,0x00]
0xff,0x00,0x84,0xd1,0x01,0x01,0x00,0x00

# CHECK: v_floor_f16_e64 v5, v255                ; encoding: [0x05,0x00,0x84,0xd1,0xff,0x01,0x00,0x00]
0x05,0x00,0x84,0xd1,0xff,0x01,0x00,0x00

# CHECK: v_floor_f16_e64 v5, s1                  ; encoding: [0x05,0x00,0x84,0xd1,0x01,0x00,0x00,0x00]
0x05,0x00,0x84,0xd1,0x01,0x00,0x00,0x00

# CHECK: v_floor_f16_e64 v5, s101                ; encoding: [0x05,0x00,0x84,0xd1,0x65,0x00,0x00,0x00]
0x05,0x00,0x84,0xd1,0x65,0x00,0x00,0x00

# CHECK: v_floor_f16_e64 v5, flat_scratch_lo     ; encoding: [0x05,0x00,0x84,0xd1,0x66,0x00,0x00,0x00]
0x05,0x00,0x84,0xd1,0x66,0x00,0x00,0x00

# CHECK: v_floor_f16_e64 v5, flat_scratch_hi     ; encoding: [0x05,0x00,0x84,0xd1,0x67,0x00,0x00,0x00]
0x05,0x00,0x84,0xd1,0x67,0x00,0x00,0x00

# CHECK: v_floor_f16_e64 v5, vcc_lo              ; encoding: [0x05,0x00,0x84,0xd1,0x6a,0x00,0x00,0x00]
0x05,0x00,0x84,0xd1,0x6a,0x00,0x00,0x00

# CHECK: v_floor_f16_e64 v5, vcc_hi              ; encoding: [0x05,0x00,0x84,0xd1,0x6b,0x00,0x00,0x00]
0x05,0x00,0x84,0xd1,0x6b,0x00,0x00,0x00

# CHECK: v_floor_f16_e64 v5, tba_lo              ; encoding: [0x05,0x00,0x84,0xd1,0x6c,0x00,0x00,0x00]
0x05,0x00,0x84,0xd1,0x6c,0x00,0x00,0x00

# CHECK: v_floor_f16_e64 v5, tba_hi              ; encoding: [0x05,0x00,0x84,0xd1,0x6d,0x00,0x00,0x00]
0x05,0x00,0x84,0xd1,0x6d,0x00,0x00,0x00

# CHECK: v_floor_f16_e64 v5, tma_lo              ; encoding: [0x05,0x00,0x84,0xd1,0x6e,0x00,0x00,0x00]
0x05,0x00,0x84,0xd1,0x6e,0x00,0x00,0x00

# CHECK: v_floor_f16_e64 v5, tma_hi              ; encoding: [0x05,0x00,0x84,0xd1,0x6f,0x00,0x00,0x00]
0x05,0x00,0x84,0xd1,0x6f,0x00,0x00,0x00

# CHECK: v_floor_f16_e64 v5, ttmp11              ; encoding: [0x05,0x00,0x84,0xd1,0x7b,0x00,0x00,0x00]
0x05,0x00,0x84,0xd1,0x7b,0x00,0x00,0x00

# CHECK: v_floor_f16_e64 v5, m0                  ; encoding: [0x05,0x00,0x84,0xd1,0x7c,0x00,0x00,0x00]
0x05,0x00,0x84,0xd1,0x7c,0x00,0x00,0x00

# CHECK: v_floor_f16_e64 v5, exec_lo             ; encoding: [0x05,0x00,0x84,0xd1,0x7e,0x00,0x00,0x00]
0x05,0x00,0x84,0xd1,0x7e,0x00,0x00,0x00

# CHECK: v_floor_f16_e64 v5, exec_hi             ; encoding: [0x05,0x00,0x84,0xd1,0x7f,0x00,0x00,0x00]
0x05,0x00,0x84,0xd1,0x7f,0x00,0x00,0x00

# CHECK: v_floor_f16_e64 v5, 0                   ; encoding: [0x05,0x00,0x84,0xd1,0x80,0x00,0x00,0x00]
0x05,0x00,0x84,0xd1,0x80,0x00,0x00,0x00

# CHECK: v_floor_f16_e64 v5, -1                  ; encoding: [0x05,0x00,0x84,0xd1,0xc1,0x00,0x00,0x00]
0x05,0x00,0x84,0xd1,0xc1,0x00,0x00,0x00

# CHECK: v_floor_f16_e64 v5, 0.5                 ; encoding: [0x05,0x00,0x84,0xd1,0xf0,0x00,0x00,0x00]
0x05,0x00,0x84,0xd1,0xf0,0x00,0x00,0x00

# CHECK: v_floor_f16_e64 v5, -4.0                ; encoding: [0x05,0x00,0x84,0xd1,0xf7,0x00,0x00,0x00]
0x05,0x00,0x84,0xd1,0xf7,0x00,0x00,0x00

# CHECK: v_floor_f16_e64 v5, -v1                 ; encoding: [0x05,0x00,0x84,0xd1,0x01,0x01,0x00,0x20]
0x05,0x00,0x84,0xd1,0x01,0x01,0x00,0x20

# CHECK: v_floor_f16_e64 v5, |v1|                ; encoding: [0x05,0x01,0x84,0xd1,0x01,0x01,0x00,0x00]
0x05,0x01,0x84,0xd1,0x01,0x01,0x00,0x00

# CHECK: v_floor_f16_e64 v5, v1 clamp            ; encoding: [0x05,0x80,0x84,0xd1,0x01,0x01,0x00,0x00]
0x05,0x80,0x84,0xd1,0x01,0x01,0x00,0x00

# CHECK: v_ceil_f16_e64 v5, v1                   ; encoding: [0x05,0x00,0x85,0xd1,0x01,0x01,0x00,0x00]
0x05,0x00,0x85,0xd1,0x01,0x01,0x00,0x00

# CHECK: v_ceil_f16_e64 v255, v1                 ; encoding: [0xff,0x00,0x85,0xd1,0x01,0x01,0x00,0x00]
0xff,0x00,0x85,0xd1,0x01,0x01,0x00,0x00

# CHECK: v_ceil_f16_e64 v5, v255                 ; encoding: [0x05,0x00,0x85,0xd1,0xff,0x01,0x00,0x00]
0x05,0x00,0x85,0xd1,0xff,0x01,0x00,0x00

# CHECK: v_ceil_f16_e64 v5, s1                   ; encoding: [0x05,0x00,0x85,0xd1,0x01,0x00,0x00,0x00]
0x05,0x00,0x85,0xd1,0x01,0x00,0x00,0x00

# CHECK: v_ceil_f16_e64 v5, s101                 ; encoding: [0x05,0x00,0x85,0xd1,0x65,0x00,0x00,0x00]
0x05,0x00,0x85,0xd1,0x65,0x00,0x00,0x00

# CHECK: v_ceil_f16_e64 v5, flat_scratch_lo      ; encoding: [0x05,0x00,0x85,0xd1,0x66,0x00,0x00,0x00]
0x05,0x00,0x85,0xd1,0x66,0x00,0x00,0x00

# CHECK: v_ceil_f16_e64 v5, flat_scratch_hi      ; encoding: [0x05,0x00,0x85,0xd1,0x67,0x00,0x00,0x00]
0x05,0x00,0x85,0xd1,0x67,0x00,0x00,0x00

# CHECK: v_ceil_f16_e64 v5, vcc_lo               ; encoding: [0x05,0x00,0x85,0xd1,0x6a,0x00,0x00,0x00]
0x05,0x00,0x85,0xd1,0x6a,0x00,0x00,0x00

# CHECK: v_ceil_f16_e64 v5, vcc_hi               ; encoding: [0x05,0x00,0x85,0xd1,0x6b,0x00,0x00,0x00]
0x05,0x00,0x85,0xd1,0x6b,0x00,0x00,0x00

# CHECK: v_ceil_f16_e64 v5, tba_lo               ; encoding: [0x05,0x00,0x85,0xd1,0x6c,0x00,0x00,0x00]
0x05,0x00,0x85,0xd1,0x6c,0x00,0x00,0x00

# CHECK: v_ceil_f16_e64 v5, tba_hi               ; encoding: [0x05,0x00,0x85,0xd1,0x6d,0x00,0x00,0x00]
0x05,0x00,0x85,0xd1,0x6d,0x00,0x00,0x00

# CHECK: v_ceil_f16_e64 v5, tma_lo               ; encoding: [0x05,0x00,0x85,0xd1,0x6e,0x00,0x00,0x00]
0x05,0x00,0x85,0xd1,0x6e,0x00,0x00,0x00

# CHECK: v_ceil_f16_e64 v5, tma_hi               ; encoding: [0x05,0x00,0x85,0xd1,0x6f,0x00,0x00,0x00]
0x05,0x00,0x85,0xd1,0x6f,0x00,0x00,0x00

# CHECK: v_ceil_f16_e64 v5, ttmp11               ; encoding: [0x05,0x00,0x85,0xd1,0x7b,0x00,0x00,0x00]
0x05,0x00,0x85,0xd1,0x7b,0x00,0x00,0x00

# CHECK: v_ceil_f16_e64 v5, m0                   ; encoding: [0x05,0x00,0x85,0xd1,0x7c,0x00,0x00,0x00]
0x05,0x00,0x85,0xd1,0x7c,0x00,0x00,0x00

# CHECK: v_ceil_f16_e64 v5, exec_lo              ; encoding: [0x05,0x00,0x85,0xd1,0x7e,0x00,0x00,0x00]
0x05,0x00,0x85,0xd1,0x7e,0x00,0x00,0x00

# CHECK: v_ceil_f16_e64 v5, exec_hi              ; encoding: [0x05,0x00,0x85,0xd1,0x7f,0x00,0x00,0x00]
0x05,0x00,0x85,0xd1,0x7f,0x00,0x00,0x00

# CHECK: v_ceil_f16_e64 v5, 0                    ; encoding: [0x05,0x00,0x85,0xd1,0x80,0x00,0x00,0x00]
0x05,0x00,0x85,0xd1,0x80,0x00,0x00,0x00

# CHECK: v_ceil_f16_e64 v5, -1                   ; encoding: [0x05,0x00,0x85,0xd1,0xc1,0x00,0x00,0x00]
0x05,0x00,0x85,0xd1,0xc1,0x00,0x00,0x00

# CHECK: v_ceil_f16_e64 v5, 0.5                  ; encoding: [0x05,0x00,0x85,0xd1,0xf0,0x00,0x00,0x00]
0x05,0x00,0x85,0xd1,0xf0,0x00,0x00,0x00

# CHECK: v_ceil_f16_e64 v5, -4.0                 ; encoding: [0x05,0x00,0x85,0xd1,0xf7,0x00,0x00,0x00]
0x05,0x00,0x85,0xd1,0xf7,0x00,0x00,0x00

# CHECK: v_ceil_f16_e64 v5, -v1                  ; encoding: [0x05,0x00,0x85,0xd1,0x01,0x01,0x00,0x20]
0x05,0x00,0x85,0xd1,0x01,0x01,0x00,0x20

# CHECK: v_ceil_f16_e64 v5, |v1|                 ; encoding: [0x05,0x01,0x85,0xd1,0x01,0x01,0x00,0x00]
0x05,0x01,0x85,0xd1,0x01,0x01,0x00,0x00

# CHECK: v_ceil_f16_e64 v5, v1 clamp             ; encoding: [0x05,0x80,0x85,0xd1,0x01,0x01,0x00,0x00]
0x05,0x80,0x85,0xd1,0x01,0x01,0x00,0x00

# CHECK: v_trunc_f16_e64 v5, v1                  ; encoding: [0x05,0x00,0x86,0xd1,0x01,0x01,0x00,0x00]
0x05,0x00,0x86,0xd1,0x01,0x01,0x00,0x00

# CHECK: v_trunc_f16_e64 v255, v1                ; encoding: [0xff,0x00,0x86,0xd1,0x01,0x01,0x00,0x00]
0xff,0x00,0x86,0xd1,0x01,0x01,0x00,0x00

# CHECK: v_trunc_f16_e64 v5, v255                ; encoding: [0x05,0x00,0x86,0xd1,0xff,0x01,0x00,0x00]
0x05,0x00,0x86,0xd1,0xff,0x01,0x00,0x00

# CHECK: v_trunc_f16_e64 v5, s1                  ; encoding: [0x05,0x00,0x86,0xd1,0x01,0x00,0x00,0x00]
0x05,0x00,0x86,0xd1,0x01,0x00,0x00,0x00

# CHECK: v_trunc_f16_e64 v5, s101                ; encoding: [0x05,0x00,0x86,0xd1,0x65,0x00,0x00,0x00]
0x05,0x00,0x86,0xd1,0x65,0x00,0x00,0x00

# CHECK: v_trunc_f16_e64 v5, flat_scratch_lo     ; encoding: [0x05,0x00,0x86,0xd1,0x66,0x00,0x00,0x00]
0x05,0x00,0x86,0xd1,0x66,0x00,0x00,0x00

# CHECK: v_trunc_f16_e64 v5, flat_scratch_hi     ; encoding: [0x05,0x00,0x86,0xd1,0x67,0x00,0x00,0x00]
0x05,0x00,0x86,0xd1,0x67,0x00,0x00,0x00

# CHECK: v_trunc_f16_e64 v5, vcc_lo              ; encoding: [0x05,0x00,0x86,0xd1,0x6a,0x00,0x00,0x00]
0x05,0x00,0x86,0xd1,0x6a,0x00,0x00,0x00

# CHECK: v_trunc_f16_e64 v5, vcc_hi              ; encoding: [0x05,0x00,0x86,0xd1,0x6b,0x00,0x00,0x00]
0x05,0x00,0x86,0xd1,0x6b,0x00,0x00,0x00

# CHECK: v_trunc_f16_e64 v5, tba_lo              ; encoding: [0x05,0x00,0x86,0xd1,0x6c,0x00,0x00,0x00]
0x05,0x00,0x86,0xd1,0x6c,0x00,0x00,0x00

# CHECK: v_trunc_f16_e64 v5, tba_hi              ; encoding: [0x05,0x00,0x86,0xd1,0x6d,0x00,0x00,0x00]
0x05,0x00,0x86,0xd1,0x6d,0x00,0x00,0x00

# CHECK: v_trunc_f16_e64 v5, tma_lo              ; encoding: [0x05,0x00,0x86,0xd1,0x6e,0x00,0x00,0x00]
0x05,0x00,0x86,0xd1,0x6e,0x00,0x00,0x00

# CHECK: v_trunc_f16_e64 v5, tma_hi              ; encoding: [0x05,0x00,0x86,0xd1,0x6f,0x00,0x00,0x00]
0x05,0x00,0x86,0xd1,0x6f,0x00,0x00,0x00

# CHECK: v_trunc_f16_e64 v5, ttmp11              ; encoding: [0x05,0x00,0x86,0xd1,0x7b,0x00,0x00,0x00]
0x05,0x00,0x86,0xd1,0x7b,0x00,0x00,0x00

# CHECK: v_trunc_f16_e64 v5, m0                  ; encoding: [0x05,0x00,0x86,0xd1,0x7c,0x00,0x00,0x00]
0x05,0x00,0x86,0xd1,0x7c,0x00,0x00,0x00

# CHECK: v_trunc_f16_e64 v5, exec_lo             ; encoding: [0x05,0x00,0x86,0xd1,0x7e,0x00,0x00,0x00]
0x05,0x00,0x86,0xd1,0x7e,0x00,0x00,0x00

# CHECK: v_trunc_f16_e64 v5, exec_hi             ; encoding: [0x05,0x00,0x86,0xd1,0x7f,0x00,0x00,0x00]
0x05,0x00,0x86,0xd1,0x7f,0x00,0x00,0x00

# CHECK: v_trunc_f16_e64 v5, 0                   ; encoding: [0x05,0x00,0x86,0xd1,0x80,0x00,0x00,0x00]
0x05,0x00,0x86,0xd1,0x80,0x00,0x00,0x00

# CHECK: v_trunc_f16_e64 v5, -1                  ; encoding: [0x05,0x00,0x86,0xd1,0xc1,0x00,0x00,0x00]
0x05,0x00,0x86,0xd1,0xc1,0x00,0x00,0x00

# CHECK: v_trunc_f16_e64 v5, 0.5                 ; encoding: [0x05,0x00,0x86,0xd1,0xf0,0x00,0x00,0x00]
0x05,0x00,0x86,0xd1,0xf0,0x00,0x00,0x00

# CHECK: v_trunc_f16_e64 v5, -4.0                ; encoding: [0x05,0x00,0x86,0xd1,0xf7,0x00,0x00,0x00]
0x05,0x00,0x86,0xd1,0xf7,0x00,0x00,0x00

# CHECK: v_trunc_f16_e64 v5, -v1                 ; encoding: [0x05,0x00,0x86,0xd1,0x01,0x01,0x00,0x20]
0x05,0x00,0x86,0xd1,0x01,0x01,0x00,0x20

# CHECK: v_trunc_f16_e64 v5, |v1|                ; encoding: [0x05,0x01,0x86,0xd1,0x01,0x01,0x00,0x00]
0x05,0x01,0x86,0xd1,0x01,0x01,0x00,0x00

# CHECK: v_trunc_f16_e64 v5, v1 clamp            ; encoding: [0x05,0x80,0x86,0xd1,0x01,0x01,0x00,0x00]
0x05,0x80,0x86,0xd1,0x01,0x01,0x00,0x00

# CHECK: v_rndne_f16_e64 v5, v1                  ; encoding: [0x05,0x00,0x87,0xd1,0x01,0x01,0x00,0x00]
0x05,0x00,0x87,0xd1,0x01,0x01,0x00,0x00

# CHECK: v_rndne_f16_e64 v255, v1                ; encoding: [0xff,0x00,0x87,0xd1,0x01,0x01,0x00,0x00]
0xff,0x00,0x87,0xd1,0x01,0x01,0x00,0x00

# CHECK: v_rndne_f16_e64 v5, v255                ; encoding: [0x05,0x00,0x87,0xd1,0xff,0x01,0x00,0x00]
0x05,0x00,0x87,0xd1,0xff,0x01,0x00,0x00

# CHECK: v_rndne_f16_e64 v5, s1                  ; encoding: [0x05,0x00,0x87,0xd1,0x01,0x00,0x00,0x00]
0x05,0x00,0x87,0xd1,0x01,0x00,0x00,0x00

# CHECK: v_rndne_f16_e64 v5, s101                ; encoding: [0x05,0x00,0x87,0xd1,0x65,0x00,0x00,0x00]
0x05,0x00,0x87,0xd1,0x65,0x00,0x00,0x00

# CHECK: v_rndne_f16_e64 v5, flat_scratch_lo     ; encoding: [0x05,0x00,0x87,0xd1,0x66,0x00,0x00,0x00]
0x05,0x00,0x87,0xd1,0x66,0x00,0x00,0x00

# CHECK: v_rndne_f16_e64 v5, flat_scratch_hi     ; encoding: [0x05,0x00,0x87,0xd1,0x67,0x00,0x00,0x00]
0x05,0x00,0x87,0xd1,0x67,0x00,0x00,0x00

# CHECK: v_rndne_f16_e64 v5, vcc_lo              ; encoding: [0x05,0x00,0x87,0xd1,0x6a,0x00,0x00,0x00]
0x05,0x00,0x87,0xd1,0x6a,0x00,0x00,0x00

# CHECK: v_rndne_f16_e64 v5, vcc_hi              ; encoding: [0x05,0x00,0x87,0xd1,0x6b,0x00,0x00,0x00]
0x05,0x00,0x87,0xd1,0x6b,0x00,0x00,0x00

# CHECK: v_rndne_f16_e64 v5, tba_lo              ; encoding: [0x05,0x00,0x87,0xd1,0x6c,0x00,0x00,0x00]
0x05,0x00,0x87,0xd1,0x6c,0x00,0x00,0x00

# CHECK: v_rndne_f16_e64 v5, tba_hi              ; encoding: [0x05,0x00,0x87,0xd1,0x6d,0x00,0x00,0x00]
0x05,0x00,0x87,0xd1,0x6d,0x00,0x00,0x00

# CHECK: v_rndne_f16_e64 v5, tma_lo              ; encoding: [0x05,0x00,0x87,0xd1,0x6e,0x00,0x00,0x00]
0x05,0x00,0x87,0xd1,0x6e,0x00,0x00,0x00

# CHECK: v_rndne_f16_e64 v5, tma_hi              ; encoding: [0x05,0x00,0x87,0xd1,0x6f,0x00,0x00,0x00]
0x05,0x00,0x87,0xd1,0x6f,0x00,0x00,0x00

# CHECK: v_rndne_f16_e64 v5, ttmp11              ; encoding: [0x05,0x00,0x87,0xd1,0x7b,0x00,0x00,0x00]
0x05,0x00,0x87,0xd1,0x7b,0x00,0x00,0x00

# CHECK: v_rndne_f16_e64 v5, m0                  ; encoding: [0x05,0x00,0x87,0xd1,0x7c,0x00,0x00,0x00]
0x05,0x00,0x87,0xd1,0x7c,0x00,0x00,0x00

# CHECK: v_rndne_f16_e64 v5, exec_lo             ; encoding: [0x05,0x00,0x87,0xd1,0x7e,0x00,0x00,0x00]
0x05,0x00,0x87,0xd1,0x7e,0x00,0x00,0x00

# CHECK: v_rndne_f16_e64 v5, exec_hi             ; encoding: [0x05,0x00,0x87,0xd1,0x7f,0x00,0x00,0x00]
0x05,0x00,0x87,0xd1,0x7f,0x00,0x00,0x00

# CHECK: v_rndne_f16_e64 v5, 0                   ; encoding: [0x05,0x00,0x87,0xd1,0x80,0x00,0x00,0x00]
0x05,0x00,0x87,0xd1,0x80,0x00,0x00,0x00

# CHECK: v_rndne_f16_e64 v5, -1                  ; encoding: [0x05,0x00,0x87,0xd1,0xc1,0x00,0x00,0x00]
0x05,0x00,0x87,0xd1,0xc1,0x00,0x00,0x00

# CHECK: v_rndne_f16_e64 v5, 0.5                 ; encoding: [0x05,0x00,0x87,0xd1,0xf0,0x00,0x00,0x00]
0x05,0x00,0x87,0xd1,0xf0,0x00,0x00,0x00

# CHECK: v_rndne_f16_e64 v5, -4.0                ; encoding: [0x05,0x00,0x87,0xd1,0xf7,0x00,0x00,0x00]
0x05,0x00,0x87,0xd1,0xf7,0x00,0x00,0x00

# CHECK: v_rndne_f16_e64 v5, -v1                 ; encoding: [0x05,0x00,0x87,0xd1,0x01,0x01,0x00,0x20]
0x05,0x00,0x87,0xd1,0x01,0x01,0x00,0x20

# CHECK: v_rndne_f16_e64 v5, |v1|                ; encoding: [0x05,0x01,0x87,0xd1,0x01,0x01,0x00,0x00]
0x05,0x01,0x87,0xd1,0x01,0x01,0x00,0x00

# CHECK: v_rndne_f16_e64 v5, v1 clamp            ; encoding: [0x05,0x80,0x87,0xd1,0x01,0x01,0x00,0x00]
0x05,0x80,0x87,0xd1,0x01,0x01,0x00,0x00

# CHECK: v_fract_f16_e64 v5, v1                  ; encoding: [0x05,0x00,0x88,0xd1,0x01,0x01,0x00,0x00]
0x05,0x00,0x88,0xd1,0x01,0x01,0x00,0x00

# CHECK: v_fract_f16_e64 v255, v1                ; encoding: [0xff,0x00,0x88,0xd1,0x01,0x01,0x00,0x00]
0xff,0x00,0x88,0xd1,0x01,0x01,0x00,0x00

# CHECK: v_fract_f16_e64 v5, v255                ; encoding: [0x05,0x00,0x88,0xd1,0xff,0x01,0x00,0x00]
0x05,0x00,0x88,0xd1,0xff,0x01,0x00,0x00

# CHECK: v_fract_f16_e64 v5, s1                  ; encoding: [0x05,0x00,0x88,0xd1,0x01,0x00,0x00,0x00]
0x05,0x00,0x88,0xd1,0x01,0x00,0x00,0x00

# CHECK: v_fract_f16_e64 v5, s101                ; encoding: [0x05,0x00,0x88,0xd1,0x65,0x00,0x00,0x00]
0x05,0x00,0x88,0xd1,0x65,0x00,0x00,0x00

# CHECK: v_fract_f16_e64 v5, flat_scratch_lo     ; encoding: [0x05,0x00,0x88,0xd1,0x66,0x00,0x00,0x00]
0x05,0x00,0x88,0xd1,0x66,0x00,0x00,0x00

# CHECK: v_fract_f16_e64 v5, flat_scratch_hi     ; encoding: [0x05,0x00,0x88,0xd1,0x67,0x00,0x00,0x00]
0x05,0x00,0x88,0xd1,0x67,0x00,0x00,0x00

# CHECK: v_fract_f16_e64 v5, vcc_lo              ; encoding: [0x05,0x00,0x88,0xd1,0x6a,0x00,0x00,0x00]
0x05,0x00,0x88,0xd1,0x6a,0x00,0x00,0x00

# CHECK: v_fract_f16_e64 v5, vcc_hi              ; encoding: [0x05,0x00,0x88,0xd1,0x6b,0x00,0x00,0x00]
0x05,0x00,0x88,0xd1,0x6b,0x00,0x00,0x00

# CHECK: v_fract_f16_e64 v5, tba_lo              ; encoding: [0x05,0x00,0x88,0xd1,0x6c,0x00,0x00,0x00]
0x05,0x00,0x88,0xd1,0x6c,0x00,0x00,0x00

# CHECK: v_fract_f16_e64 v5, tba_hi              ; encoding: [0x05,0x00,0x88,0xd1,0x6d,0x00,0x00,0x00]
0x05,0x00,0x88,0xd1,0x6d,0x00,0x00,0x00

# CHECK: v_fract_f16_e64 v5, tma_lo              ; encoding: [0x05,0x00,0x88,0xd1,0x6e,0x00,0x00,0x00]
0x05,0x00,0x88,0xd1,0x6e,0x00,0x00,0x00

# CHECK: v_fract_f16_e64 v5, tma_hi              ; encoding: [0x05,0x00,0x88,0xd1,0x6f,0x00,0x00,0x00]
0x05,0x00,0x88,0xd1,0x6f,0x00,0x00,0x00

# CHECK: v_fract_f16_e64 v5, ttmp11              ; encoding: [0x05,0x00,0x88,0xd1,0x7b,0x00,0x00,0x00]
0x05,0x00,0x88,0xd1,0x7b,0x00,0x00,0x00

# CHECK: v_fract_f16_e64 v5, m0                  ; encoding: [0x05,0x00,0x88,0xd1,0x7c,0x00,0x00,0x00]
0x05,0x00,0x88,0xd1,0x7c,0x00,0x00,0x00

# CHECK: v_fract_f16_e64 v5, exec_lo             ; encoding: [0x05,0x00,0x88,0xd1,0x7e,0x00,0x00,0x00]
0x05,0x00,0x88,0xd1,0x7e,0x00,0x00,0x00

# CHECK: v_fract_f16_e64 v5, exec_hi             ; encoding: [0x05,0x00,0x88,0xd1,0x7f,0x00,0x00,0x00]
0x05,0x00,0x88,0xd1,0x7f,0x00,0x00,0x00

# CHECK: v_fract_f16_e64 v5, 0                   ; encoding: [0x05,0x00,0x88,0xd1,0x80,0x00,0x00,0x00]
0x05,0x00,0x88,0xd1,0x80,0x00,0x00,0x00

# CHECK: v_fract_f16_e64 v5, -1                  ; encoding: [0x05,0x00,0x88,0xd1,0xc1,0x00,0x00,0x00]
0x05,0x00,0x88,0xd1,0xc1,0x00,0x00,0x00

# CHECK: v_fract_f16_e64 v5, 0.5                 ; encoding: [0x05,0x00,0x88,0xd1,0xf0,0x00,0x00,0x00]
0x05,0x00,0x88,0xd1,0xf0,0x00,0x00,0x00

# CHECK: v_fract_f16_e64 v5, -4.0                ; encoding: [0x05,0x00,0x88,0xd1,0xf7,0x00,0x00,0x00]
0x05,0x00,0x88,0xd1,0xf7,0x00,0x00,0x00

# CHECK: v_fract_f16_e64 v5, -v1                 ; encoding: [0x05,0x00,0x88,0xd1,0x01,0x01,0x00,0x20]
0x05,0x00,0x88,0xd1,0x01,0x01,0x00,0x20

# CHECK: v_fract_f16_e64 v5, |v1|                ; encoding: [0x05,0x01,0x88,0xd1,0x01,0x01,0x00,0x00]
0x05,0x01,0x88,0xd1,0x01,0x01,0x00,0x00

# CHECK: v_fract_f16_e64 v5, v1 clamp            ; encoding: [0x05,0x80,0x88,0xd1,0x01,0x01,0x00,0x00]
0x05,0x80,0x88,0xd1,0x01,0x01,0x00,0x00

# CHECK: v_sin_f16_e64 v5, v1                    ; encoding: [0x05,0x00,0x89,0xd1,0x01,0x01,0x00,0x00]
0x05,0x00,0x89,0xd1,0x01,0x01,0x00,0x00

# CHECK: v_sin_f16_e64 v255, v1                  ; encoding: [0xff,0x00,0x89,0xd1,0x01,0x01,0x00,0x00]
0xff,0x00,0x89,0xd1,0x01,0x01,0x00,0x00

# CHECK: v_sin_f16_e64 v5, v255                  ; encoding: [0x05,0x00,0x89,0xd1,0xff,0x01,0x00,0x00]
0x05,0x00,0x89,0xd1,0xff,0x01,0x00,0x00

# CHECK: v_sin_f16_e64 v5, s1                    ; encoding: [0x05,0x00,0x89,0xd1,0x01,0x00,0x00,0x00]
0x05,0x00,0x89,0xd1,0x01,0x00,0x00,0x00

# CHECK: v_sin_f16_e64 v5, s101                  ; encoding: [0x05,0x00,0x89,0xd1,0x65,0x00,0x00,0x00]
0x05,0x00,0x89,0xd1,0x65,0x00,0x00,0x00

# CHECK: v_sin_f16_e64 v5, flat_scratch_lo       ; encoding: [0x05,0x00,0x89,0xd1,0x66,0x00,0x00,0x00]
0x05,0x00,0x89,0xd1,0x66,0x00,0x00,0x00

# CHECK: v_sin_f16_e64 v5, flat_scratch_hi       ; encoding: [0x05,0x00,0x89,0xd1,0x67,0x00,0x00,0x00]
0x05,0x00,0x89,0xd1,0x67,0x00,0x00,0x00

# CHECK: v_sin_f16_e64 v5, vcc_lo                ; encoding: [0x05,0x00,0x89,0xd1,0x6a,0x00,0x00,0x00]
0x05,0x00,0x89,0xd1,0x6a,0x00,0x00,0x00

# CHECK: v_sin_f16_e64 v5, vcc_hi                ; encoding: [0x05,0x00,0x89,0xd1,0x6b,0x00,0x00,0x00]
0x05,0x00,0x89,0xd1,0x6b,0x00,0x00,0x00

# CHECK: v_sin_f16_e64 v5, tba_lo                ; encoding: [0x05,0x00,0x89,0xd1,0x6c,0x00,0x00,0x00]
0x05,0x00,0x89,0xd1,0x6c,0x00,0x00,0x00

# CHECK: v_sin_f16_e64 v5, tba_hi                ; encoding: [0x05,0x00,0x89,0xd1,0x6d,0x00,0x00,0x00]
0x05,0x00,0x89,0xd1,0x6d,0x00,0x00,0x00

# CHECK: v_sin_f16_e64 v5, tma_lo                ; encoding: [0x05,0x00,0x89,0xd1,0x6e,0x00,0x00,0x00]
0x05,0x00,0x89,0xd1,0x6e,0x00,0x00,0x00

# CHECK: v_sin_f16_e64 v5, tma_hi                ; encoding: [0x05,0x00,0x89,0xd1,0x6f,0x00,0x00,0x00]
0x05,0x00,0x89,0xd1,0x6f,0x00,0x00,0x00

# CHECK: v_sin_f16_e64 v5, ttmp11                ; encoding: [0x05,0x00,0x89,0xd1,0x7b,0x00,0x00,0x00]
0x05,0x00,0x89,0xd1,0x7b,0x00,0x00,0x00

# CHECK: v_sin_f16_e64 v5, m0                    ; encoding: [0x05,0x00,0x89,0xd1,0x7c,0x00,0x00,0x00]
0x05,0x00,0x89,0xd1,0x7c,0x00,0x00,0x00

# CHECK: v_sin_f16_e64 v5, exec_lo               ; encoding: [0x05,0x00,0x89,0xd1,0x7e,0x00,0x00,0x00]
0x05,0x00,0x89,0xd1,0x7e,0x00,0x00,0x00

# CHECK: v_sin_f16_e64 v5, exec_hi               ; encoding: [0x05,0x00,0x89,0xd1,0x7f,0x00,0x00,0x00]
0x05,0x00,0x89,0xd1,0x7f,0x00,0x00,0x00

# CHECK: v_sin_f16_e64 v5, 0                     ; encoding: [0x05,0x00,0x89,0xd1,0x80,0x00,0x00,0x00]
0x05,0x00,0x89,0xd1,0x80,0x00,0x00,0x00

# CHECK: v_sin_f16_e64 v5, -1                    ; encoding: [0x05,0x00,0x89,0xd1,0xc1,0x00,0x00,0x00]
0x05,0x00,0x89,0xd1,0xc1,0x00,0x00,0x00

# CHECK: v_sin_f16_e64 v5, 0.5                   ; encoding: [0x05,0x00,0x89,0xd1,0xf0,0x00,0x00,0x00]
0x05,0x00,0x89,0xd1,0xf0,0x00,0x00,0x00

# CHECK: v_sin_f16_e64 v5, -4.0                  ; encoding: [0x05,0x00,0x89,0xd1,0xf7,0x00,0x00,0x00]
0x05,0x00,0x89,0xd1,0xf7,0x00,0x00,0x00

# CHECK: v_sin_f16_e64 v5, -v1                   ; encoding: [0x05,0x00,0x89,0xd1,0x01,0x01,0x00,0x20]
0x05,0x00,0x89,0xd1,0x01,0x01,0x00,0x20

# CHECK: v_sin_f16_e64 v5, |v1|                  ; encoding: [0x05,0x01,0x89,0xd1,0x01,0x01,0x00,0x00]
0x05,0x01,0x89,0xd1,0x01,0x01,0x00,0x00

# CHECK: v_sin_f16_e64 v5, v1 clamp              ; encoding: [0x05,0x80,0x89,0xd1,0x01,0x01,0x00,0x00]
0x05,0x80,0x89,0xd1,0x01,0x01,0x00,0x00

# CHECK: v_cos_f16_e64 v5, v1                    ; encoding: [0x05,0x00,0x8a,0xd1,0x01,0x01,0x00,0x00]
0x05,0x00,0x8a,0xd1,0x01,0x01,0x00,0x00

# CHECK: v_cos_f16_e64 v255, v1                  ; encoding: [0xff,0x00,0x8a,0xd1,0x01,0x01,0x00,0x00]
0xff,0x00,0x8a,0xd1,0x01,0x01,0x00,0x00

# CHECK: v_cos_f16_e64 v5, v255                  ; encoding: [0x05,0x00,0x8a,0xd1,0xff,0x01,0x00,0x00]
0x05,0x00,0x8a,0xd1,0xff,0x01,0x00,0x00

# CHECK: v_cos_f16_e64 v5, s1                    ; encoding: [0x05,0x00,0x8a,0xd1,0x01,0x00,0x00,0x00]
0x05,0x00,0x8a,0xd1,0x01,0x00,0x00,0x00

# CHECK: v_cos_f16_e64 v5, s101                  ; encoding: [0x05,0x00,0x8a,0xd1,0x65,0x00,0x00,0x00]
0x05,0x00,0x8a,0xd1,0x65,0x00,0x00,0x00

# CHECK: v_cos_f16_e64 v5, flat_scratch_lo       ; encoding: [0x05,0x00,0x8a,0xd1,0x66,0x00,0x00,0x00]
0x05,0x00,0x8a,0xd1,0x66,0x00,0x00,0x00

# CHECK: v_cos_f16_e64 v5, flat_scratch_hi       ; encoding: [0x05,0x00,0x8a,0xd1,0x67,0x00,0x00,0x00]
0x05,0x00,0x8a,0xd1,0x67,0x00,0x00,0x00

# CHECK: v_cos_f16_e64 v5, vcc_lo                ; encoding: [0x05,0x00,0x8a,0xd1,0x6a,0x00,0x00,0x00]
0x05,0x00,0x8a,0xd1,0x6a,0x00,0x00,0x00

# CHECK: v_cos_f16_e64 v5, vcc_hi                ; encoding: [0x05,0x00,0x8a,0xd1,0x6b,0x00,0x00,0x00]
0x05,0x00,0x8a,0xd1,0x6b,0x00,0x00,0x00

# CHECK: v_cos_f16_e64 v5, tba_lo                ; encoding: [0x05,0x00,0x8a,0xd1,0x6c,0x00,0x00,0x00]
0x05,0x00,0x8a,0xd1,0x6c,0x00,0x00,0x00

# CHECK: v_cos_f16_e64 v5, tba_hi                ; encoding: [0x05,0x00,0x8a,0xd1,0x6d,0x00,0x00,0x00]
0x05,0x00,0x8a,0xd1,0x6d,0x00,0x00,0x00

# CHECK: v_cos_f16_e64 v5, tma_lo                ; encoding: [0x05,0x00,0x8a,0xd1,0x6e,0x00,0x00,0x00]
0x05,0x00,0x8a,0xd1,0x6e,0x00,0x00,0x00

# CHECK: v_cos_f16_e64 v5, tma_hi                ; encoding: [0x05,0x00,0x8a,0xd1,0x6f,0x00,0x00,0x00]
0x05,0x00,0x8a,0xd1,0x6f,0x00,0x00,0x00

# CHECK: v_cos_f16_e64 v5, ttmp11                ; encoding: [0x05,0x00,0x8a,0xd1,0x7b,0x00,0x00,0x00]
0x05,0x00,0x8a,0xd1,0x7b,0x00,0x00,0x00

# CHECK: v_cos_f16_e64 v5, m0                    ; encoding: [0x05,0x00,0x8a,0xd1,0x7c,0x00,0x00,0x00]
0x05,0x00,0x8a,0xd1,0x7c,0x00,0x00,0x00

# CHECK: v_cos_f16_e64 v5, exec_lo               ; encoding: [0x05,0x00,0x8a,0xd1,0x7e,0x00,0x00,0x00]
0x05,0x00,0x8a,0xd1,0x7e,0x00,0x00,0x00

# CHECK: v_cos_f16_e64 v5, exec_hi               ; encoding: [0x05,0x00,0x8a,0xd1,0x7f,0x00,0x00,0x00]
0x05,0x00,0x8a,0xd1,0x7f,0x00,0x00,0x00

# CHECK: v_cos_f16_e64 v5, 0                     ; encoding: [0x05,0x00,0x8a,0xd1,0x80,0x00,0x00,0x00]
0x05,0x00,0x8a,0xd1,0x80,0x00,0x00,0x00

# CHECK: v_cos_f16_e64 v5, -1                    ; encoding: [0x05,0x00,0x8a,0xd1,0xc1,0x00,0x00,0x00]
0x05,0x00,0x8a,0xd1,0xc1,0x00,0x00,0x00

# CHECK: v_cos_f16_e64 v5, 0.5                   ; encoding: [0x05,0x00,0x8a,0xd1,0xf0,0x00,0x00,0x00]
0x05,0x00,0x8a,0xd1,0xf0,0x00,0x00,0x00

# CHECK: v_cos_f16_e64 v5, -4.0                  ; encoding: [0x05,0x00,0x8a,0xd1,0xf7,0x00,0x00,0x00]
0x05,0x00,0x8a,0xd1,0xf7,0x00,0x00,0x00

# CHECK: v_cos_f16_e64 v5, -v1                   ; encoding: [0x05,0x00,0x8a,0xd1,0x01,0x01,0x00,0x20]
0x05,0x00,0x8a,0xd1,0x01,0x01,0x00,0x20

# CHECK: v_cos_f16_e64 v5, |v1|                  ; encoding: [0x05,0x01,0x8a,0xd1,0x01,0x01,0x00,0x00]
0x05,0x01,0x8a,0xd1,0x01,0x01,0x00,0x00

# CHECK: v_cos_f16_e64 v5, v1 clamp              ; encoding: [0x05,0x80,0x8a,0xd1,0x01,0x01,0x00,0x00]
0x05,0x80,0x8a,0xd1,0x01,0x01,0x00,0x00

# CHECK: v_exp_legacy_f32_e64 v5, v1             ; encoding: [0x05,0x00,0x8b,0xd1,0x01,0x01,0x00,0x00]
0x05,0x00,0x8b,0xd1,0x01,0x01,0x00,0x00

# CHECK: v_exp_legacy_f32_e64 v255, v1           ; encoding: [0xff,0x00,0x8b,0xd1,0x01,0x01,0x00,0x00]
0xff,0x00,0x8b,0xd1,0x01,0x01,0x00,0x00

# CHECK: v_exp_legacy_f32_e64 v5, v255           ; encoding: [0x05,0x00,0x8b,0xd1,0xff,0x01,0x00,0x00]
0x05,0x00,0x8b,0xd1,0xff,0x01,0x00,0x00

# CHECK: v_exp_legacy_f32_e64 v5, s1             ; encoding: [0x05,0x00,0x8b,0xd1,0x01,0x00,0x00,0x00]
0x05,0x00,0x8b,0xd1,0x01,0x00,0x00,0x00

# CHECK: v_exp_legacy_f32_e64 v5, s101           ; encoding: [0x05,0x00,0x8b,0xd1,0x65,0x00,0x00,0x00]
0x05,0x00,0x8b,0xd1,0x65,0x00,0x00,0x00

# CHECK: v_exp_legacy_f32_e64 v5, flat_scratch_lo ; encoding: [0x05,0x00,0x8b,0xd1,0x66,0x00,0x00,0x00]
0x05,0x00,0x8b,0xd1,0x66,0x00,0x00,0x00

# CHECK: v_exp_legacy_f32_e64 v5, flat_scratch_hi ; encoding: [0x05,0x00,0x8b,0xd1,0x67,0x00,0x00,0x00]
0x05,0x00,0x8b,0xd1,0x67,0x00,0x00,0x00

# CHECK: v_exp_legacy_f32_e64 v5, vcc_lo         ; encoding: [0x05,0x00,0x8b,0xd1,0x6a,0x00,0x00,0x00]
0x05,0x00,0x8b,0xd1,0x6a,0x00,0x00,0x00

# CHECK: v_exp_legacy_f32_e64 v5, vcc_hi         ; encoding: [0x05,0x00,0x8b,0xd1,0x6b,0x00,0x00,0x00]
0x05,0x00,0x8b,0xd1,0x6b,0x00,0x00,0x00

# CHECK: v_exp_legacy_f32_e64 v5, tba_lo         ; encoding: [0x05,0x00,0x8b,0xd1,0x6c,0x00,0x00,0x00]
0x05,0x00,0x8b,0xd1,0x6c,0x00,0x00,0x00

# CHECK: v_exp_legacy_f32_e64 v5, tba_hi         ; encoding: [0x05,0x00,0x8b,0xd1,0x6d,0x00,0x00,0x00]
0x05,0x00,0x8b,0xd1,0x6d,0x00,0x00,0x00

# CHECK: v_exp_legacy_f32_e64 v5, tma_lo         ; encoding: [0x05,0x00,0x8b,0xd1,0x6e,0x00,0x00,0x00]
0x05,0x00,0x8b,0xd1,0x6e,0x00,0x00,0x00

# CHECK: v_exp_legacy_f32_e64 v5, tma_hi         ; encoding: [0x05,0x00,0x8b,0xd1,0x6f,0x00,0x00,0x00]
0x05,0x00,0x8b,0xd1,0x6f,0x00,0x00,0x00

# CHECK: v_exp_legacy_f32_e64 v5, ttmp11         ; encoding: [0x05,0x00,0x8b,0xd1,0x7b,0x00,0x00,0x00]
0x05,0x00,0x8b,0xd1,0x7b,0x00,0x00,0x00

# CHECK: v_exp_legacy_f32_e64 v5, m0             ; encoding: [0x05,0x00,0x8b,0xd1,0x7c,0x00,0x00,0x00]
0x05,0x00,0x8b,0xd1,0x7c,0x00,0x00,0x00

# CHECK: v_exp_legacy_f32_e64 v5, exec_lo        ; encoding: [0x05,0x00,0x8b,0xd1,0x7e,0x00,0x00,0x00]
0x05,0x00,0x8b,0xd1,0x7e,0x00,0x00,0x00

# CHECK: v_exp_legacy_f32_e64 v5, exec_hi        ; encoding: [0x05,0x00,0x8b,0xd1,0x7f,0x00,0x00,0x00]
0x05,0x00,0x8b,0xd1,0x7f,0x00,0x00,0x00

# CHECK: v_exp_legacy_f32_e64 v5, 0              ; encoding: [0x05,0x00,0x8b,0xd1,0x80,0x00,0x00,0x00]
0x05,0x00,0x8b,0xd1,0x80,0x00,0x00,0x00

# CHECK: v_exp_legacy_f32_e64 v5, -1             ; encoding: [0x05,0x00,0x8b,0xd1,0xc1,0x00,0x00,0x00]
0x05,0x00,0x8b,0xd1,0xc1,0x00,0x00,0x00

# CHECK: v_exp_legacy_f32_e64 v5, 0.5            ; encoding: [0x05,0x00,0x8b,0xd1,0xf0,0x00,0x00,0x00]
0x05,0x00,0x8b,0xd1,0xf0,0x00,0x00,0x00

# CHECK: v_exp_legacy_f32_e64 v5, -4.0           ; encoding: [0x05,0x00,0x8b,0xd1,0xf7,0x00,0x00,0x00]
0x05,0x00,0x8b,0xd1,0xf7,0x00,0x00,0x00

# CHECK: v_exp_legacy_f32_e64 v5, -v1            ; encoding: [0x05,0x00,0x8b,0xd1,0x01,0x01,0x00,0x20]
0x05,0x00,0x8b,0xd1,0x01,0x01,0x00,0x20

# CHECK: v_exp_legacy_f32_e64 v5, |v1|           ; encoding: [0x05,0x01,0x8b,0xd1,0x01,0x01,0x00,0x00]
0x05,0x01,0x8b,0xd1,0x01,0x01,0x00,0x00

# CHECK: v_exp_legacy_f32_e64 v5, v1 clamp       ; encoding: [0x05,0x80,0x8b,0xd1,0x01,0x01,0x00,0x00]
0x05,0x80,0x8b,0xd1,0x01,0x01,0x00,0x00

# CHECK: v_exp_legacy_f32_e64 v5, v1 mul:2       ; encoding: [0x05,0x00,0x8b,0xd1,0x01,0x01,0x00,0x08]
0x05,0x00,0x8b,0xd1,0x01,0x01,0x00,0x08

# CHECK: v_exp_legacy_f32_e64 v5, v1 mul:4       ; encoding: [0x05,0x00,0x8b,0xd1,0x01,0x01,0x00,0x10]
0x05,0x00,0x8b,0xd1,0x01,0x01,0x00,0x10

# CHECK: v_exp_legacy_f32_e64 v5, v1 div:2       ; encoding: [0x05,0x00,0x8b,0xd1,0x01,0x01,0x00,0x18]
0x05,0x00,0x8b,0xd1,0x01,0x01,0x00,0x18

# CHECK: v_log_legacy_f32_e64 v5, v1             ; encoding: [0x05,0x00,0x8c,0xd1,0x01,0x01,0x00,0x00]
0x05,0x00,0x8c,0xd1,0x01,0x01,0x00,0x00

# CHECK: v_log_legacy_f32_e64 v255, v1           ; encoding: [0xff,0x00,0x8c,0xd1,0x01,0x01,0x00,0x00]
0xff,0x00,0x8c,0xd1,0x01,0x01,0x00,0x00

# CHECK: v_log_legacy_f32_e64 v5, v255           ; encoding: [0x05,0x00,0x8c,0xd1,0xff,0x01,0x00,0x00]
0x05,0x00,0x8c,0xd1,0xff,0x01,0x00,0x00

# CHECK: v_log_legacy_f32_e64 v5, s1             ; encoding: [0x05,0x00,0x8c,0xd1,0x01,0x00,0x00,0x00]
0x05,0x00,0x8c,0xd1,0x01,0x00,0x00,0x00

# CHECK: v_log_legacy_f32_e64 v5, s101           ; encoding: [0x05,0x00,0x8c,0xd1,0x65,0x00,0x00,0x00]
0x05,0x00,0x8c,0xd1,0x65,0x00,0x00,0x00

# CHECK: v_log_legacy_f32_e64 v5, flat_scratch_lo ; encoding: [0x05,0x00,0x8c,0xd1,0x66,0x00,0x00,0x00]
0x05,0x00,0x8c,0xd1,0x66,0x00,0x00,0x00

# CHECK: v_log_legacy_f32_e64 v5, flat_scratch_hi ; encoding: [0x05,0x00,0x8c,0xd1,0x67,0x00,0x00,0x00]
0x05,0x00,0x8c,0xd1,0x67,0x00,0x00,0x00

# CHECK: v_log_legacy_f32_e64 v5, vcc_lo         ; encoding: [0x05,0x00,0x8c,0xd1,0x6a,0x00,0x00,0x00]
0x05,0x00,0x8c,0xd1,0x6a,0x00,0x00,0x00

# CHECK: v_log_legacy_f32_e64 v5, vcc_hi         ; encoding: [0x05,0x00,0x8c,0xd1,0x6b,0x00,0x00,0x00]
0x05,0x00,0x8c,0xd1,0x6b,0x00,0x00,0x00

# CHECK: v_log_legacy_f32_e64 v5, tba_lo         ; encoding: [0x05,0x00,0x8c,0xd1,0x6c,0x00,0x00,0x00]
0x05,0x00,0x8c,0xd1,0x6c,0x00,0x00,0x00

# CHECK: v_log_legacy_f32_e64 v5, tba_hi         ; encoding: [0x05,0x00,0x8c,0xd1,0x6d,0x00,0x00,0x00]
0x05,0x00,0x8c,0xd1,0x6d,0x00,0x00,0x00

# CHECK: v_log_legacy_f32_e64 v5, tma_lo         ; encoding: [0x05,0x00,0x8c,0xd1,0x6e,0x00,0x00,0x00]
0x05,0x00,0x8c,0xd1,0x6e,0x00,0x00,0x00

# CHECK: v_log_legacy_f32_e64 v5, tma_hi         ; encoding: [0x05,0x00,0x8c,0xd1,0x6f,0x00,0x00,0x00]
0x05,0x00,0x8c,0xd1,0x6f,0x00,0x00,0x00

# CHECK: v_log_legacy_f32_e64 v5, ttmp11         ; encoding: [0x05,0x00,0x8c,0xd1,0x7b,0x00,0x00,0x00]
0x05,0x00,0x8c,0xd1,0x7b,0x00,0x00,0x00

# CHECK: v_log_legacy_f32_e64 v5, m0             ; encoding: [0x05,0x00,0x8c,0xd1,0x7c,0x00,0x00,0x00]
0x05,0x00,0x8c,0xd1,0x7c,0x00,0x00,0x00

# CHECK: v_log_legacy_f32_e64 v5, exec_lo        ; encoding: [0x05,0x00,0x8c,0xd1,0x7e,0x00,0x00,0x00]
0x05,0x00,0x8c,0xd1,0x7e,0x00,0x00,0x00

# CHECK: v_log_legacy_f32_e64 v5, exec_hi        ; encoding: [0x05,0x00,0x8c,0xd1,0x7f,0x00,0x00,0x00]
0x05,0x00,0x8c,0xd1,0x7f,0x00,0x00,0x00

# CHECK: v_log_legacy_f32_e64 v5, 0              ; encoding: [0x05,0x00,0x8c,0xd1,0x80,0x00,0x00,0x00]
0x05,0x00,0x8c,0xd1,0x80,0x00,0x00,0x00

# CHECK: v_log_legacy_f32_e64 v5, -1             ; encoding: [0x05,0x00,0x8c,0xd1,0xc1,0x00,0x00,0x00]
0x05,0x00,0x8c,0xd1,0xc1,0x00,0x00,0x00

# CHECK: v_log_legacy_f32_e64 v5, 0.5            ; encoding: [0x05,0x00,0x8c,0xd1,0xf0,0x00,0x00,0x00]
0x05,0x00,0x8c,0xd1,0xf0,0x00,0x00,0x00

# CHECK: v_log_legacy_f32_e64 v5, -4.0           ; encoding: [0x05,0x00,0x8c,0xd1,0xf7,0x00,0x00,0x00]
0x05,0x00,0x8c,0xd1,0xf7,0x00,0x00,0x00

# CHECK: v_log_legacy_f32_e64 v5, -v1            ; encoding: [0x05,0x00,0x8c,0xd1,0x01,0x01,0x00,0x20]
0x05,0x00,0x8c,0xd1,0x01,0x01,0x00,0x20

# CHECK: v_log_legacy_f32_e64 v5, |v1|           ; encoding: [0x05,0x01,0x8c,0xd1,0x01,0x01,0x00,0x00]
0x05,0x01,0x8c,0xd1,0x01,0x01,0x00,0x00

# CHECK: v_log_legacy_f32_e64 v5, v1 clamp       ; encoding: [0x05,0x80,0x8c,0xd1,0x01,0x01,0x00,0x00]
0x05,0x80,0x8c,0xd1,0x01,0x01,0x00,0x00

# CHECK: v_log_legacy_f32_e64 v5, v1 mul:2       ; encoding: [0x05,0x00,0x8c,0xd1,0x01,0x01,0x00,0x08]
0x05,0x00,0x8c,0xd1,0x01,0x01,0x00,0x08

# CHECK: v_log_legacy_f32_e64 v5, v1 mul:4       ; encoding: [0x05,0x00,0x8c,0xd1,0x01,0x01,0x00,0x10]
0x05,0x00,0x8c,0xd1,0x01,0x01,0x00,0x10

# CHECK: v_log_legacy_f32_e64 v5, v1 div:2       ; encoding: [0x05,0x00,0x8c,0xd1,0x01,0x01,0x00,0x18]
0x05,0x00,0x8c,0xd1,0x01,0x01,0x00,0x18

# CHECK: v_cndmask_b32_e64 v5, v1, v2, s[6:7]    ; encoding: [0x05,0x00,0x00,0xd1,0x01,0x05,0x1a,0x00]
0x05,0x00,0x00,0xd1,0x01,0x05,0x1a,0x00

# CHECK: v_cndmask_b32_e64 v255, v1, v2, s[6:7]  ; encoding: [0xff,0x00,0x00,0xd1,0x01,0x05,0x1a,0x00]
0xff,0x00,0x00,0xd1,0x01,0x05,0x1a,0x00

# CHECK: v_cndmask_b32_e64 v5, v255, v2, s[6:7]  ; encoding: [0x05,0x00,0x00,0xd1,0xff,0x05,0x1a,0x00]
0x05,0x00,0x00,0xd1,0xff,0x05,0x1a,0x00

# CHECK: v_cndmask_b32_e64 v5, 0, v2, s[6:7]     ; encoding: [0x05,0x00,0x00,0xd1,0x80,0x04,0x1a,0x00]
0x05,0x00,0x00,0xd1,0x80,0x04,0x1a,0x00

# CHECK: v_cndmask_b32_e64 v5, -1, v2, s[6:7]    ; encoding: [0x05,0x00,0x00,0xd1,0xc1,0x04,0x1a,0x00]
0x05,0x00,0x00,0xd1,0xc1,0x04,0x1a,0x00

# CHECK: v_cndmask_b32_e64 v5, 0.5, v2, s[6:7]   ; encoding: [0x05,0x00,0x00,0xd1,0xf0,0x04,0x1a,0x00]
0x05,0x00,0x00,0xd1,0xf0,0x04,0x1a,0x00

# CHECK: v_cndmask_b32_e64 v5, -4.0, v2, s[6:7]  ; encoding: [0x05,0x00,0x00,0xd1,0xf7,0x04,0x1a,0x00]
0x05,0x00,0x00,0xd1,0xf7,0x04,0x1a,0x00

# CHECK: v_cndmask_b32_e64 v5, v1, v255, s[6:7]  ; encoding: [0x05,0x00,0x00,0xd1,0x01,0xff,0x1b,0x00]
0x05,0x00,0x00,0xd1,0x01,0xff,0x1b,0x00

# CHECK: v_cndmask_b32_e64 v5, v1, 0, s[6:7]     ; encoding: [0x05,0x00,0x00,0xd1,0x01,0x01,0x19,0x00]
0x05,0x00,0x00,0xd1,0x01,0x01,0x19,0x00

# CHECK: v_cndmask_b32_e64 v5, v1, -1, s[6:7]    ; encoding: [0x05,0x00,0x00,0xd1,0x01,0x83,0x19,0x00]
0x05,0x00,0x00,0xd1,0x01,0x83,0x19,0x00

# CHECK: v_cndmask_b32_e64 v5, v1, 0.5, s[6:7]   ; encoding: [0x05,0x00,0x00,0xd1,0x01,0xe1,0x19,0x00]
0x05,0x00,0x00,0xd1,0x01,0xe1,0x19,0x00

# CHECK: v_cndmask_b32_e64 v5, v1, -4.0, s[6:7]  ; encoding: [0x05,0x00,0x00,0xd1,0x01,0xef,0x19,0x00]
0x05,0x00,0x00,0xd1,0x01,0xef,0x19,0x00

# CHECK: v_cndmask_b32_e64 v5, v1, v2, s[8:9]    ; encoding: [0x05,0x00,0x00,0xd1,0x01,0x05,0x22,0x00]
0x05,0x00,0x00,0xd1,0x01,0x05,0x22,0x00

# CHECK: v_cndmask_b32_e64 v5, v1, v2, s[100:101] ; encoding: [0x05,0x00,0x00,0xd1,0x01,0x05,0x92,0x01]
0x05,0x00,0x00,0xd1,0x01,0x05,0x92,0x01

# CHECK: v_cndmask_b32_e64 v5, v1, v2, flat_scratch ; encoding: [0x05,0x00,0x00,0xd1,0x01,0x05,0x9a,0x01]
0x05,0x00,0x00,0xd1,0x01,0x05,0x9a,0x01

# CHECK: v_cndmask_b32_e64 v5, v1, v2, vcc       ; encoding: [0x05,0x00,0x00,0xd1,0x01,0x05,0xaa,0x01]
0x05,0x00,0x00,0xd1,0x01,0x05,0xaa,0x01

# CHECK: v_cndmask_b32_e64 v5, v1, v2, tba       ; encoding: [0x05,0x00,0x00,0xd1,0x01,0x05,0xb2,0x01]
0x05,0x00,0x00,0xd1,0x01,0x05,0xb2,0x01

# CHECK: v_cndmask_b32_e64 v5, v1, v2, tma       ; encoding: [0x05,0x00,0x00,0xd1,0x01,0x05,0xba,0x01]
0x05,0x00,0x00,0xd1,0x01,0x05,0xba,0x01

# CHECK: v_cndmask_b32_e64 v5, v1, v2, ttmp[10:11] ; encoding: [0x05,0x00,0x00,0xd1,0x01,0x05,0xea,0x01]
0x05,0x00,0x00,0xd1,0x01,0x05,0xea,0x01

# CHECK: v_cndmask_b32_e64 v5, -v1, |v2|, vcc    ; encoding: [0x05,0x02,0x00,0xd1,0x01,0x05,0xaa,0x21]
0x05,0x02,0x00,0xd1,0x01,0x05,0xaa,0x21

# CHECK: v_cndmask_b32_e64 v5, |v1|, -v2, vcc    ; encoding: [0x05,0x01,0x00,0xd1,0x01,0x05,0xaa,0x41]
0x05,0x01,0x00,0xd1,0x01,0x05,0xaa,0x41

# CHECK: v_cndmask_b32_e64 v5, -|v1|, -|v2|, vcc ; encoding: [0x05,0x03,0x00,0xd1,0x01,0x05,0xaa,0x61]
0x05,0x03,0x00,0xd1,0x01,0x05,0xaa,0x61

# CHECK: v_add_f32_e64 v5, v1, v2                ; encoding: [0x05,0x00,0x01,0xd1,0x01,0x05,0x02,0x00]
0x05,0x00,0x01,0xd1,0x01,0x05,0x02,0x00

# CHECK: v_add_f32_e64 v255, v1, v2              ; encoding: [0xff,0x00,0x01,0xd1,0x01,0x05,0x02,0x00]
0xff,0x00,0x01,0xd1,0x01,0x05,0x02,0x00

# CHECK: v_add_f32_e64 v5, v255, v2              ; encoding: [0x05,0x00,0x01,0xd1,0xff,0x05,0x02,0x00]
0x05,0x00,0x01,0xd1,0xff,0x05,0x02,0x00

# CHECK: v_add_f32_e64 v5, s1, v2                ; encoding: [0x05,0x00,0x01,0xd1,0x01,0x04,0x02,0x00]
0x05,0x00,0x01,0xd1,0x01,0x04,0x02,0x00

# CHECK: v_add_f32_e64 v5, s101, v2              ; encoding: [0x05,0x00,0x01,0xd1,0x65,0x04,0x02,0x00]
0x05,0x00,0x01,0xd1,0x65,0x04,0x02,0x00

# CHECK: v_add_f32_e64 v5, flat_scratch_lo, v2   ; encoding: [0x05,0x00,0x01,0xd1,0x66,0x04,0x02,0x00]
0x05,0x00,0x01,0xd1,0x66,0x04,0x02,0x00

# CHECK: v_add_f32_e64 v5, flat_scratch_hi, v2   ; encoding: [0x05,0x00,0x01,0xd1,0x67,0x04,0x02,0x00]
0x05,0x00,0x01,0xd1,0x67,0x04,0x02,0x00

# CHECK: v_add_f32_e64 v5, vcc_lo, v2            ; encoding: [0x05,0x00,0x01,0xd1,0x6a,0x04,0x02,0x00]
0x05,0x00,0x01,0xd1,0x6a,0x04,0x02,0x00

# CHECK: v_add_f32_e64 v5, vcc_hi, v2            ; encoding: [0x05,0x00,0x01,0xd1,0x6b,0x04,0x02,0x00]
0x05,0x00,0x01,0xd1,0x6b,0x04,0x02,0x00

# CHECK: v_add_f32_e64 v5, tba_lo, v2            ; encoding: [0x05,0x00,0x01,0xd1,0x6c,0x04,0x02,0x00]
0x05,0x00,0x01,0xd1,0x6c,0x04,0x02,0x00

# CHECK: v_add_f32_e64 v5, tba_hi, v2            ; encoding: [0x05,0x00,0x01,0xd1,0x6d,0x04,0x02,0x00]
0x05,0x00,0x01,0xd1,0x6d,0x04,0x02,0x00

# CHECK: v_add_f32_e64 v5, tma_lo, v2            ; encoding: [0x05,0x00,0x01,0xd1,0x6e,0x04,0x02,0x00]
0x05,0x00,0x01,0xd1,0x6e,0x04,0x02,0x00

# CHECK: v_add_f32_e64 v5, tma_hi, v2            ; encoding: [0x05,0x00,0x01,0xd1,0x6f,0x04,0x02,0x00]
0x05,0x00,0x01,0xd1,0x6f,0x04,0x02,0x00

# CHECK: v_add_f32_e64 v5, ttmp11, v2            ; encoding: [0x05,0x00,0x01,0xd1,0x7b,0x04,0x02,0x00]
0x05,0x00,0x01,0xd1,0x7b,0x04,0x02,0x00

# CHECK: v_add_f32_e64 v5, m0, v2                ; encoding: [0x05,0x00,0x01,0xd1,0x7c,0x04,0x02,0x00]
0x05,0x00,0x01,0xd1,0x7c,0x04,0x02,0x00

# CHECK: v_add_f32_e64 v5, exec_lo, v2           ; encoding: [0x05,0x00,0x01,0xd1,0x7e,0x04,0x02,0x00]
0x05,0x00,0x01,0xd1,0x7e,0x04,0x02,0x00

# CHECK: v_add_f32_e64 v5, exec_hi, v2           ; encoding: [0x05,0x00,0x01,0xd1,0x7f,0x04,0x02,0x00]
0x05,0x00,0x01,0xd1,0x7f,0x04,0x02,0x00

# CHECK: v_add_f32_e64 v5, 0, v2                 ; encoding: [0x05,0x00,0x01,0xd1,0x80,0x04,0x02,0x00]
0x05,0x00,0x01,0xd1,0x80,0x04,0x02,0x00

# CHECK: v_add_f32_e64 v5, -1, v2                ; encoding: [0x05,0x00,0x01,0xd1,0xc1,0x04,0x02,0x00]
0x05,0x00,0x01,0xd1,0xc1,0x04,0x02,0x00

# CHECK: v_add_f32_e64 v5, 0.5, v2               ; encoding: [0x05,0x00,0x01,0xd1,0xf0,0x04,0x02,0x00]
0x05,0x00,0x01,0xd1,0xf0,0x04,0x02,0x00

# CHECK: v_add_f32_e64 v5, -4.0, v2              ; encoding: [0x05,0x00,0x01,0xd1,0xf7,0x04,0x02,0x00]
0x05,0x00,0x01,0xd1,0xf7,0x04,0x02,0x00

# CHECK: v_add_f32_e64 v5, v1, v255              ; encoding: [0x05,0x00,0x01,0xd1,0x01,0xff,0x03,0x00]
0x05,0x00,0x01,0xd1,0x01,0xff,0x03,0x00

# CHECK: v_add_f32_e64 v5, v1, s2                ; encoding: [0x05,0x00,0x01,0xd1,0x01,0x05,0x00,0x00]
0x05,0x00,0x01,0xd1,0x01,0x05,0x00,0x00

# CHECK: v_add_f32_e64 v5, v1, s101              ; encoding: [0x05,0x00,0x01,0xd1,0x01,0xcb,0x00,0x00]
0x05,0x00,0x01,0xd1,0x01,0xcb,0x00,0x00

# CHECK: v_add_f32_e64 v5, v1, flat_scratch_lo   ; encoding: [0x05,0x00,0x01,0xd1,0x01,0xcd,0x00,0x00]
0x05,0x00,0x01,0xd1,0x01,0xcd,0x00,0x00

# CHECK: v_add_f32_e64 v5, v1, flat_scratch_hi   ; encoding: [0x05,0x00,0x01,0xd1,0x01,0xcf,0x00,0x00]
0x05,0x00,0x01,0xd1,0x01,0xcf,0x00,0x00

# CHECK: v_add_f32_e64 v5, v1, vcc_lo            ; encoding: [0x05,0x00,0x01,0xd1,0x01,0xd5,0x00,0x00]
0x05,0x00,0x01,0xd1,0x01,0xd5,0x00,0x00

# CHECK: v_add_f32_e64 v5, v1, vcc_hi            ; encoding: [0x05,0x00,0x01,0xd1,0x01,0xd7,0x00,0x00]
0x05,0x00,0x01,0xd1,0x01,0xd7,0x00,0x00

# CHECK: v_add_f32_e64 v5, v1, tba_lo            ; encoding: [0x05,0x00,0x01,0xd1,0x01,0xd9,0x00,0x00]
0x05,0x00,0x01,0xd1,0x01,0xd9,0x00,0x00

# CHECK: v_add_f32_e64 v5, v1, tba_hi            ; encoding: [0x05,0x00,0x01,0xd1,0x01,0xdb,0x00,0x00]
0x05,0x00,0x01,0xd1,0x01,0xdb,0x00,0x00

# CHECK: v_add_f32_e64 v5, v1, tma_lo            ; encoding: [0x05,0x00,0x01,0xd1,0x01,0xdd,0x00,0x00]
0x05,0x00,0x01,0xd1,0x01,0xdd,0x00,0x00

# CHECK: v_add_f32_e64 v5, v1, tma_hi            ; encoding: [0x05,0x00,0x01,0xd1,0x01,0xdf,0x00,0x00]
0x05,0x00,0x01,0xd1,0x01,0xdf,0x00,0x00

# CHECK: v_add_f32_e64 v5, v1, ttmp11            ; encoding: [0x05,0x00,0x01,0xd1,0x01,0xf7,0x00,0x00]
0x05,0x00,0x01,0xd1,0x01,0xf7,0x00,0x00

# CHECK: v_add_f32_e64 v5, v1, m0                ; encoding: [0x05,0x00,0x01,0xd1,0x01,0xf9,0x00,0x00]
0x05,0x00,0x01,0xd1,0x01,0xf9,0x00,0x00

# CHECK: v_add_f32_e64 v5, v1, exec_lo           ; encoding: [0x05,0x00,0x01,0xd1,0x01,0xfd,0x00,0x00]
0x05,0x00,0x01,0xd1,0x01,0xfd,0x00,0x00

# CHECK: v_add_f32_e64 v5, v1, exec_hi           ; encoding: [0x05,0x00,0x01,0xd1,0x01,0xff,0x00,0x00]
0x05,0x00,0x01,0xd1,0x01,0xff,0x00,0x00

# CHECK: v_add_f32_e64 v5, v1, 0                 ; encoding: [0x05,0x00,0x01,0xd1,0x01,0x01,0x01,0x00]
0x05,0x00,0x01,0xd1,0x01,0x01,0x01,0x00

# CHECK: v_add_f32_e64 v5, v1, -1                ; encoding: [0x05,0x00,0x01,0xd1,0x01,0x83,0x01,0x00]
0x05,0x00,0x01,0xd1,0x01,0x83,0x01,0x00

# CHECK: v_add_f32_e64 v5, v1, 0.5               ; encoding: [0x05,0x00,0x01,0xd1,0x01,0xe1,0x01,0x00]
0x05,0x00,0x01,0xd1,0x01,0xe1,0x01,0x00

# CHECK: v_add_f32_e64 v5, v1, -4.0              ; encoding: [0x05,0x00,0x01,0xd1,0x01,0xef,0x01,0x00]
0x05,0x00,0x01,0xd1,0x01,0xef,0x01,0x00

# CHECK: v_add_f32_e64 v5, -v1, v2               ; encoding: [0x05,0x00,0x01,0xd1,0x01,0x05,0x02,0x20]
0x05,0x00,0x01,0xd1,0x01,0x05,0x02,0x20

# CHECK: v_add_f32_e64 v5, v1, -v2               ; encoding: [0x05,0x00,0x01,0xd1,0x01,0x05,0x02,0x40]
0x05,0x00,0x01,0xd1,0x01,0x05,0x02,0x40

# CHECK: v_add_f32_e64 v5, -v1, -v2              ; encoding: [0x05,0x00,0x01,0xd1,0x01,0x05,0x02,0x60]
0x05,0x00,0x01,0xd1,0x01,0x05,0x02,0x60

# CHECK: v_add_f32_e64 v5, |v1|, v2              ; encoding: [0x05,0x01,0x01,0xd1,0x01,0x05,0x02,0x00]
0x05,0x01,0x01,0xd1,0x01,0x05,0x02,0x00

# CHECK: v_add_f32_e64 v5, v1, |v2|              ; encoding: [0x05,0x02,0x01,0xd1,0x01,0x05,0x02,0x00]
0x05,0x02,0x01,0xd1,0x01,0x05,0x02,0x00

# CHECK: v_add_f32_e64 v5, |v1|, |v2|            ; encoding: [0x05,0x03,0x01,0xd1,0x01,0x05,0x02,0x00]
0x05,0x03,0x01,0xd1,0x01,0x05,0x02,0x00

# CHECK: v_add_f32_e64 v5, v1, v2 clamp          ; encoding: [0x05,0x80,0x01,0xd1,0x01,0x05,0x02,0x00]
0x05,0x80,0x01,0xd1,0x01,0x05,0x02,0x00

# CHECK: v_add_f32_e64 v5, v1, v2 mul:2          ; encoding: [0x05,0x00,0x01,0xd1,0x01,0x05,0x02,0x08]
0x05,0x00,0x01,0xd1,0x01,0x05,0x02,0x08

# CHECK: v_add_f32_e64 v5, v1, v2 mul:4          ; encoding: [0x05,0x00,0x01,0xd1,0x01,0x05,0x02,0x10]
0x05,0x00,0x01,0xd1,0x01,0x05,0x02,0x10

# CHECK: v_add_f32_e64 v5, v1, v2 div:2          ; encoding: [0x05,0x00,0x01,0xd1,0x01,0x05,0x02,0x18]
0x05,0x00,0x01,0xd1,0x01,0x05,0x02,0x18

# CHECK: v_sub_f32_e64 v5, v1, v2                ; encoding: [0x05,0x00,0x02,0xd1,0x01,0x05,0x02,0x00]
0x05,0x00,0x02,0xd1,0x01,0x05,0x02,0x00

# CHECK: v_sub_f32_e64 v255, v1, v2              ; encoding: [0xff,0x00,0x02,0xd1,0x01,0x05,0x02,0x00]
0xff,0x00,0x02,0xd1,0x01,0x05,0x02,0x00

# CHECK: v_sub_f32_e64 v5, v255, v2              ; encoding: [0x05,0x00,0x02,0xd1,0xff,0x05,0x02,0x00]
0x05,0x00,0x02,0xd1,0xff,0x05,0x02,0x00

# CHECK: v_sub_f32_e64 v5, s1, v2                ; encoding: [0x05,0x00,0x02,0xd1,0x01,0x04,0x02,0x00]
0x05,0x00,0x02,0xd1,0x01,0x04,0x02,0x00

# CHECK: v_sub_f32_e64 v5, s101, v2              ; encoding: [0x05,0x00,0x02,0xd1,0x65,0x04,0x02,0x00]
0x05,0x00,0x02,0xd1,0x65,0x04,0x02,0x00

# CHECK: v_sub_f32_e64 v5, flat_scratch_lo, v2   ; encoding: [0x05,0x00,0x02,0xd1,0x66,0x04,0x02,0x00]
0x05,0x00,0x02,0xd1,0x66,0x04,0x02,0x00

# CHECK: v_sub_f32_e64 v5, flat_scratch_hi, v2   ; encoding: [0x05,0x00,0x02,0xd1,0x67,0x04,0x02,0x00]
0x05,0x00,0x02,0xd1,0x67,0x04,0x02,0x00

# CHECK: v_sub_f32_e64 v5, vcc_lo, v2            ; encoding: [0x05,0x00,0x02,0xd1,0x6a,0x04,0x02,0x00]
0x05,0x00,0x02,0xd1,0x6a,0x04,0x02,0x00

# CHECK: v_sub_f32_e64 v5, vcc_hi, v2            ; encoding: [0x05,0x00,0x02,0xd1,0x6b,0x04,0x02,0x00]
0x05,0x00,0x02,0xd1,0x6b,0x04,0x02,0x00

# CHECK: v_sub_f32_e64 v5, tba_lo, v2            ; encoding: [0x05,0x00,0x02,0xd1,0x6c,0x04,0x02,0x00]
0x05,0x00,0x02,0xd1,0x6c,0x04,0x02,0x00

# CHECK: v_sub_f32_e64 v5, tba_hi, v2            ; encoding: [0x05,0x00,0x02,0xd1,0x6d,0x04,0x02,0x00]
0x05,0x00,0x02,0xd1,0x6d,0x04,0x02,0x00

# CHECK: v_sub_f32_e64 v5, tma_lo, v2            ; encoding: [0x05,0x00,0x02,0xd1,0x6e,0x04,0x02,0x00]
0x05,0x00,0x02,0xd1,0x6e,0x04,0x02,0x00

# CHECK: v_sub_f32_e64 v5, tma_hi, v2            ; encoding: [0x05,0x00,0x02,0xd1,0x6f,0x04,0x02,0x00]
0x05,0x00,0x02,0xd1,0x6f,0x04,0x02,0x00

# CHECK: v_sub_f32_e64 v5, ttmp11, v2            ; encoding: [0x05,0x00,0x02,0xd1,0x7b,0x04,0x02,0x00]
0x05,0x00,0x02,0xd1,0x7b,0x04,0x02,0x00

# CHECK: v_sub_f32_e64 v5, m0, v2                ; encoding: [0x05,0x00,0x02,0xd1,0x7c,0x04,0x02,0x00]
0x05,0x00,0x02,0xd1,0x7c,0x04,0x02,0x00

# CHECK: v_sub_f32_e64 v5, exec_lo, v2           ; encoding: [0x05,0x00,0x02,0xd1,0x7e,0x04,0x02,0x00]
0x05,0x00,0x02,0xd1,0x7e,0x04,0x02,0x00

# CHECK: v_sub_f32_e64 v5, exec_hi, v2           ; encoding: [0x05,0x00,0x02,0xd1,0x7f,0x04,0x02,0x00]
0x05,0x00,0x02,0xd1,0x7f,0x04,0x02,0x00

# CHECK: v_sub_f32_e64 v5, 0, v2                 ; encoding: [0x05,0x00,0x02,0xd1,0x80,0x04,0x02,0x00]
0x05,0x00,0x02,0xd1,0x80,0x04,0x02,0x00

# CHECK: v_sub_f32_e64 v5, -1, v2                ; encoding: [0x05,0x00,0x02,0xd1,0xc1,0x04,0x02,0x00]
0x05,0x00,0x02,0xd1,0xc1,0x04,0x02,0x00

# CHECK: v_sub_f32_e64 v5, 0.5, v2               ; encoding: [0x05,0x00,0x02,0xd1,0xf0,0x04,0x02,0x00]
0x05,0x00,0x02,0xd1,0xf0,0x04,0x02,0x00

# CHECK: v_sub_f32_e64 v5, -4.0, v2              ; encoding: [0x05,0x00,0x02,0xd1,0xf7,0x04,0x02,0x00]
0x05,0x00,0x02,0xd1,0xf7,0x04,0x02,0x00

# CHECK: v_sub_f32_e64 v5, v1, v255              ; encoding: [0x05,0x00,0x02,0xd1,0x01,0xff,0x03,0x00]
0x05,0x00,0x02,0xd1,0x01,0xff,0x03,0x00

# CHECK: v_sub_f32_e64 v5, v1, s2                ; encoding: [0x05,0x00,0x02,0xd1,0x01,0x05,0x00,0x00]
0x05,0x00,0x02,0xd1,0x01,0x05,0x00,0x00

# CHECK: v_sub_f32_e64 v5, v1, s101              ; encoding: [0x05,0x00,0x02,0xd1,0x01,0xcb,0x00,0x00]
0x05,0x00,0x02,0xd1,0x01,0xcb,0x00,0x00

# CHECK: v_sub_f32_e64 v5, v1, flat_scratch_lo   ; encoding: [0x05,0x00,0x02,0xd1,0x01,0xcd,0x00,0x00]
0x05,0x00,0x02,0xd1,0x01,0xcd,0x00,0x00

# CHECK: v_sub_f32_e64 v5, v1, flat_scratch_hi   ; encoding: [0x05,0x00,0x02,0xd1,0x01,0xcf,0x00,0x00]
0x05,0x00,0x02,0xd1,0x01,0xcf,0x00,0x00

# CHECK: v_sub_f32_e64 v5, v1, vcc_lo            ; encoding: [0x05,0x00,0x02,0xd1,0x01,0xd5,0x00,0x00]
0x05,0x00,0x02,0xd1,0x01,0xd5,0x00,0x00

# CHECK: v_sub_f32_e64 v5, v1, vcc_hi            ; encoding: [0x05,0x00,0x02,0xd1,0x01,0xd7,0x00,0x00]
0x05,0x00,0x02,0xd1,0x01,0xd7,0x00,0x00

# CHECK: v_sub_f32_e64 v5, v1, tba_lo            ; encoding: [0x05,0x00,0x02,0xd1,0x01,0xd9,0x00,0x00]
0x05,0x00,0x02,0xd1,0x01,0xd9,0x00,0x00

# CHECK: v_sub_f32_e64 v5, v1, tba_hi            ; encoding: [0x05,0x00,0x02,0xd1,0x01,0xdb,0x00,0x00]
0x05,0x00,0x02,0xd1,0x01,0xdb,0x00,0x00

# CHECK: v_sub_f32_e64 v5, v1, tma_lo            ; encoding: [0x05,0x00,0x02,0xd1,0x01,0xdd,0x00,0x00]
0x05,0x00,0x02,0xd1,0x01,0xdd,0x00,0x00

# CHECK: v_sub_f32_e64 v5, v1, tma_hi            ; encoding: [0x05,0x00,0x02,0xd1,0x01,0xdf,0x00,0x00]
0x05,0x00,0x02,0xd1,0x01,0xdf,0x00,0x00

# CHECK: v_sub_f32_e64 v5, v1, ttmp11            ; encoding: [0x05,0x00,0x02,0xd1,0x01,0xf7,0x00,0x00]
0x05,0x00,0x02,0xd1,0x01,0xf7,0x00,0x00

# CHECK: v_sub_f32_e64 v5, v1, m0                ; encoding: [0x05,0x00,0x02,0xd1,0x01,0xf9,0x00,0x00]
0x05,0x00,0x02,0xd1,0x01,0xf9,0x00,0x00

# CHECK: v_sub_f32_e64 v5, v1, exec_lo           ; encoding: [0x05,0x00,0x02,0xd1,0x01,0xfd,0x00,0x00]
0x05,0x00,0x02,0xd1,0x01,0xfd,0x00,0x00

# CHECK: v_sub_f32_e64 v5, v1, exec_hi           ; encoding: [0x05,0x00,0x02,0xd1,0x01,0xff,0x00,0x00]
0x05,0x00,0x02,0xd1,0x01,0xff,0x00,0x00

# CHECK: v_sub_f32_e64 v5, v1, 0                 ; encoding: [0x05,0x00,0x02,0xd1,0x01,0x01,0x01,0x00]
0x05,0x00,0x02,0xd1,0x01,0x01,0x01,0x00

# CHECK: v_sub_f32_e64 v5, v1, -1                ; encoding: [0x05,0x00,0x02,0xd1,0x01,0x83,0x01,0x00]
0x05,0x00,0x02,0xd1,0x01,0x83,0x01,0x00

# CHECK: v_sub_f32_e64 v5, v1, 0.5               ; encoding: [0x05,0x00,0x02,0xd1,0x01,0xe1,0x01,0x00]
0x05,0x00,0x02,0xd1,0x01,0xe1,0x01,0x00

# CHECK: v_sub_f32_e64 v5, v1, -4.0              ; encoding: [0x05,0x00,0x02,0xd1,0x01,0xef,0x01,0x00]
0x05,0x00,0x02,0xd1,0x01,0xef,0x01,0x00

# CHECK: v_sub_f32_e64 v5, -v1, v2               ; encoding: [0x05,0x00,0x02,0xd1,0x01,0x05,0x02,0x20]
0x05,0x00,0x02,0xd1,0x01,0x05,0x02,0x20

# CHECK: v_sub_f32_e64 v5, v1, -v2               ; encoding: [0x05,0x00,0x02,0xd1,0x01,0x05,0x02,0x40]
0x05,0x00,0x02,0xd1,0x01,0x05,0x02,0x40

# CHECK: v_sub_f32_e64 v5, -v1, -v2              ; encoding: [0x05,0x00,0x02,0xd1,0x01,0x05,0x02,0x60]
0x05,0x00,0x02,0xd1,0x01,0x05,0x02,0x60

# CHECK: v_sub_f32_e64 v5, |v1|, v2              ; encoding: [0x05,0x01,0x02,0xd1,0x01,0x05,0x02,0x00]
0x05,0x01,0x02,0xd1,0x01,0x05,0x02,0x00

# CHECK: v_sub_f32_e64 v5, v1, |v2|              ; encoding: [0x05,0x02,0x02,0xd1,0x01,0x05,0x02,0x00]
0x05,0x02,0x02,0xd1,0x01,0x05,0x02,0x00

# CHECK: v_sub_f32_e64 v5, |v1|, |v2|            ; encoding: [0x05,0x03,0x02,0xd1,0x01,0x05,0x02,0x00]
0x05,0x03,0x02,0xd1,0x01,0x05,0x02,0x00

# CHECK: v_sub_f32_e64 v5, v1, v2 clamp          ; encoding: [0x05,0x80,0x02,0xd1,0x01,0x05,0x02,0x00]
0x05,0x80,0x02,0xd1,0x01,0x05,0x02,0x00

# CHECK: v_sub_f32_e64 v5, v1, v2 mul:2          ; encoding: [0x05,0x00,0x02,0xd1,0x01,0x05,0x02,0x08]
0x05,0x00,0x02,0xd1,0x01,0x05,0x02,0x08

# CHECK: v_sub_f32_e64 v5, v1, v2 mul:4          ; encoding: [0x05,0x00,0x02,0xd1,0x01,0x05,0x02,0x10]
0x05,0x00,0x02,0xd1,0x01,0x05,0x02,0x10

# CHECK: v_sub_f32_e64 v5, v1, v2 div:2          ; encoding: [0x05,0x00,0x02,0xd1,0x01,0x05,0x02,0x18]
0x05,0x00,0x02,0xd1,0x01,0x05,0x02,0x18

# CHECK: v_subrev_f32_e64 v5, v1, v2             ; encoding: [0x05,0x00,0x03,0xd1,0x01,0x05,0x02,0x00]
0x05,0x00,0x03,0xd1,0x01,0x05,0x02,0x00

# CHECK: v_subrev_f32_e64 v255, v1, v2           ; encoding: [0xff,0x00,0x03,0xd1,0x01,0x05,0x02,0x00]
0xff,0x00,0x03,0xd1,0x01,0x05,0x02,0x00

# CHECK: v_subrev_f32_e64 v5, v255, v2           ; encoding: [0x05,0x00,0x03,0xd1,0xff,0x05,0x02,0x00]
0x05,0x00,0x03,0xd1,0xff,0x05,0x02,0x00

# CHECK: v_subrev_f32_e64 v5, s1, v2             ; encoding: [0x05,0x00,0x03,0xd1,0x01,0x04,0x02,0x00]
0x05,0x00,0x03,0xd1,0x01,0x04,0x02,0x00

# CHECK: v_subrev_f32_e64 v5, s101, v2           ; encoding: [0x05,0x00,0x03,0xd1,0x65,0x04,0x02,0x00]
0x05,0x00,0x03,0xd1,0x65,0x04,0x02,0x00

# CHECK: v_subrev_f32_e64 v5, flat_scratch_lo, v2 ; encoding: [0x05,0x00,0x03,0xd1,0x66,0x04,0x02,0x00]
0x05,0x00,0x03,0xd1,0x66,0x04,0x02,0x00

# CHECK: v_subrev_f32_e64 v5, flat_scratch_hi, v2 ; encoding: [0x05,0x00,0x03,0xd1,0x67,0x04,0x02,0x00]
0x05,0x00,0x03,0xd1,0x67,0x04,0x02,0x00

# CHECK: v_subrev_f32_e64 v5, vcc_lo, v2         ; encoding: [0x05,0x00,0x03,0xd1,0x6a,0x04,0x02,0x00]
0x05,0x00,0x03,0xd1,0x6a,0x04,0x02,0x00

# CHECK: v_subrev_f32_e64 v5, vcc_hi, v2         ; encoding: [0x05,0x00,0x03,0xd1,0x6b,0x04,0x02,0x00]
0x05,0x00,0x03,0xd1,0x6b,0x04,0x02,0x00

# CHECK: v_subrev_f32_e64 v5, tba_lo, v2         ; encoding: [0x05,0x00,0x03,0xd1,0x6c,0x04,0x02,0x00]
0x05,0x00,0x03,0xd1,0x6c,0x04,0x02,0x00

# CHECK: v_subrev_f32_e64 v5, tba_hi, v2         ; encoding: [0x05,0x00,0x03,0xd1,0x6d,0x04,0x02,0x00]
0x05,0x00,0x03,0xd1,0x6d,0x04,0x02,0x00

# CHECK: v_subrev_f32_e64 v5, tma_lo, v2         ; encoding: [0x05,0x00,0x03,0xd1,0x6e,0x04,0x02,0x00]
0x05,0x00,0x03,0xd1,0x6e,0x04,0x02,0x00

# CHECK: v_subrev_f32_e64 v5, tma_hi, v2         ; encoding: [0x05,0x00,0x03,0xd1,0x6f,0x04,0x02,0x00]
0x05,0x00,0x03,0xd1,0x6f,0x04,0x02,0x00

# CHECK: v_subrev_f32_e64 v5, ttmp11, v2         ; encoding: [0x05,0x00,0x03,0xd1,0x7b,0x04,0x02,0x00]
0x05,0x00,0x03,0xd1,0x7b,0x04,0x02,0x00

# CHECK: v_subrev_f32_e64 v5, m0, v2             ; encoding: [0x05,0x00,0x03,0xd1,0x7c,0x04,0x02,0x00]
0x05,0x00,0x03,0xd1,0x7c,0x04,0x02,0x00

# CHECK: v_subrev_f32_e64 v5, exec_lo, v2        ; encoding: [0x05,0x00,0x03,0xd1,0x7e,0x04,0x02,0x00]
0x05,0x00,0x03,0xd1,0x7e,0x04,0x02,0x00

# CHECK: v_subrev_f32_e64 v5, exec_hi, v2        ; encoding: [0x05,0x00,0x03,0xd1,0x7f,0x04,0x02,0x00]
0x05,0x00,0x03,0xd1,0x7f,0x04,0x02,0x00

# CHECK: v_subrev_f32_e64 v5, 0, v2              ; encoding: [0x05,0x00,0x03,0xd1,0x80,0x04,0x02,0x00]
0x05,0x00,0x03,0xd1,0x80,0x04,0x02,0x00

# CHECK: v_subrev_f32_e64 v5, -1, v2             ; encoding: [0x05,0x00,0x03,0xd1,0xc1,0x04,0x02,0x00]
0x05,0x00,0x03,0xd1,0xc1,0x04,0x02,0x00

# CHECK: v_subrev_f32_e64 v5, 0.5, v2            ; encoding: [0x05,0x00,0x03,0xd1,0xf0,0x04,0x02,0x00]
0x05,0x00,0x03,0xd1,0xf0,0x04,0x02,0x00

# CHECK: v_subrev_f32_e64 v5, -4.0, v2           ; encoding: [0x05,0x00,0x03,0xd1,0xf7,0x04,0x02,0x00]
0x05,0x00,0x03,0xd1,0xf7,0x04,0x02,0x00

# CHECK: v_subrev_f32_e64 v5, v1, v255           ; encoding: [0x05,0x00,0x03,0xd1,0x01,0xff,0x03,0x00]
0x05,0x00,0x03,0xd1,0x01,0xff,0x03,0x00

# CHECK: v_subrev_f32_e64 v5, v1, s2             ; encoding: [0x05,0x00,0x03,0xd1,0x01,0x05,0x00,0x00]
0x05,0x00,0x03,0xd1,0x01,0x05,0x00,0x00

# CHECK: v_subrev_f32_e64 v5, v1, s101           ; encoding: [0x05,0x00,0x03,0xd1,0x01,0xcb,0x00,0x00]
0x05,0x00,0x03,0xd1,0x01,0xcb,0x00,0x00

# CHECK: v_subrev_f32_e64 v5, v1, flat_scratch_lo ; encoding: [0x05,0x00,0x03,0xd1,0x01,0xcd,0x00,0x00]
0x05,0x00,0x03,0xd1,0x01,0xcd,0x00,0x00

# CHECK: v_subrev_f32_e64 v5, v1, flat_scratch_hi ; encoding: [0x05,0x00,0x03,0xd1,0x01,0xcf,0x00,0x00]
0x05,0x00,0x03,0xd1,0x01,0xcf,0x00,0x00

# CHECK: v_subrev_f32_e64 v5, v1, vcc_lo         ; encoding: [0x05,0x00,0x03,0xd1,0x01,0xd5,0x00,0x00]
0x05,0x00,0x03,0xd1,0x01,0xd5,0x00,0x00

# CHECK: v_subrev_f32_e64 v5, v1, vcc_hi         ; encoding: [0x05,0x00,0x03,0xd1,0x01,0xd7,0x00,0x00]
0x05,0x00,0x03,0xd1,0x01,0xd7,0x00,0x00

# CHECK: v_subrev_f32_e64 v5, v1, tba_lo         ; encoding: [0x05,0x00,0x03,0xd1,0x01,0xd9,0x00,0x00]
0x05,0x00,0x03,0xd1,0x01,0xd9,0x00,0x00

# CHECK: v_subrev_f32_e64 v5, v1, tba_hi         ; encoding: [0x05,0x00,0x03,0xd1,0x01,0xdb,0x00,0x00]
0x05,0x00,0x03,0xd1,0x01,0xdb,0x00,0x00

# CHECK: v_subrev_f32_e64 v5, v1, tma_lo         ; encoding: [0x05,0x00,0x03,0xd1,0x01,0xdd,0x00,0x00]
0x05,0x00,0x03,0xd1,0x01,0xdd,0x00,0x00

# CHECK: v_subrev_f32_e64 v5, v1, tma_hi         ; encoding: [0x05,0x00,0x03,0xd1,0x01,0xdf,0x00,0x00]
0x05,0x00,0x03,0xd1,0x01,0xdf,0x00,0x00

# CHECK: v_subrev_f32_e64 v5, v1, ttmp11         ; encoding: [0x05,0x00,0x03,0xd1,0x01,0xf7,0x00,0x00]
0x05,0x00,0x03,0xd1,0x01,0xf7,0x00,0x00

# CHECK: v_subrev_f32_e64 v5, v1, m0             ; encoding: [0x05,0x00,0x03,0xd1,0x01,0xf9,0x00,0x00]
0x05,0x00,0x03,0xd1,0x01,0xf9,0x00,0x00

# CHECK: v_subrev_f32_e64 v5, v1, exec_lo        ; encoding: [0x05,0x00,0x03,0xd1,0x01,0xfd,0x00,0x00]
0x05,0x00,0x03,0xd1,0x01,0xfd,0x00,0x00

# CHECK: v_subrev_f32_e64 v5, v1, exec_hi        ; encoding: [0x05,0x00,0x03,0xd1,0x01,0xff,0x00,0x00]
0x05,0x00,0x03,0xd1,0x01,0xff,0x00,0x00

# CHECK: v_subrev_f32_e64 v5, v1, 0              ; encoding: [0x05,0x00,0x03,0xd1,0x01,0x01,0x01,0x00]
0x05,0x00,0x03,0xd1,0x01,0x01,0x01,0x00

# CHECK: v_subrev_f32_e64 v5, v1, -1             ; encoding: [0x05,0x00,0x03,0xd1,0x01,0x83,0x01,0x00]
0x05,0x00,0x03,0xd1,0x01,0x83,0x01,0x00

# CHECK: v_subrev_f32_e64 v5, v1, 0.5            ; encoding: [0x05,0x00,0x03,0xd1,0x01,0xe1,0x01,0x00]
0x05,0x00,0x03,0xd1,0x01,0xe1,0x01,0x00

# CHECK: v_subrev_f32_e64 v5, v1, -4.0           ; encoding: [0x05,0x00,0x03,0xd1,0x01,0xef,0x01,0x00]
0x05,0x00,0x03,0xd1,0x01,0xef,0x01,0x00

# CHECK: v_subrev_f32_e64 v5, -v1, v2            ; encoding: [0x05,0x00,0x03,0xd1,0x01,0x05,0x02,0x20]
0x05,0x00,0x03,0xd1,0x01,0x05,0x02,0x20

# CHECK: v_subrev_f32_e64 v5, v1, -v2            ; encoding: [0x05,0x00,0x03,0xd1,0x01,0x05,0x02,0x40]
0x05,0x00,0x03,0xd1,0x01,0x05,0x02,0x40

# CHECK: v_subrev_f32_e64 v5, -v1, -v2           ; encoding: [0x05,0x00,0x03,0xd1,0x01,0x05,0x02,0x60]
0x05,0x00,0x03,0xd1,0x01,0x05,0x02,0x60

# CHECK: v_subrev_f32_e64 v5, |v1|, v2           ; encoding: [0x05,0x01,0x03,0xd1,0x01,0x05,0x02,0x00]
0x05,0x01,0x03,0xd1,0x01,0x05,0x02,0x00

# CHECK: v_subrev_f32_e64 v5, v1, |v2|           ; encoding: [0x05,0x02,0x03,0xd1,0x01,0x05,0x02,0x00]
0x05,0x02,0x03,0xd1,0x01,0x05,0x02,0x00

# CHECK: v_subrev_f32_e64 v5, |v1|, |v2|         ; encoding: [0x05,0x03,0x03,0xd1,0x01,0x05,0x02,0x00]
0x05,0x03,0x03,0xd1,0x01,0x05,0x02,0x00

# CHECK: v_subrev_f32_e64 v5, v1, v2 clamp       ; encoding: [0x05,0x80,0x03,0xd1,0x01,0x05,0x02,0x00]
0x05,0x80,0x03,0xd1,0x01,0x05,0x02,0x00

# CHECK: v_subrev_f32_e64 v5, v1, v2 mul:2       ; encoding: [0x05,0x00,0x03,0xd1,0x01,0x05,0x02,0x08]
0x05,0x00,0x03,0xd1,0x01,0x05,0x02,0x08

# CHECK: v_subrev_f32_e64 v5, v1, v2 mul:4       ; encoding: [0x05,0x00,0x03,0xd1,0x01,0x05,0x02,0x10]
0x05,0x00,0x03,0xd1,0x01,0x05,0x02,0x10

# CHECK: v_subrev_f32_e64 v5, v1, v2 div:2       ; encoding: [0x05,0x00,0x03,0xd1,0x01,0x05,0x02,0x18]
0x05,0x00,0x03,0xd1,0x01,0x05,0x02,0x18

# CHECK: v_mul_legacy_f32_e64 v5, v1, v2         ; encoding: [0x05,0x00,0x04,0xd1,0x01,0x05,0x02,0x00]
0x05,0x00,0x04,0xd1,0x01,0x05,0x02,0x00

# CHECK: v_mul_legacy_f32_e64 v255, v1, v2       ; encoding: [0xff,0x00,0x04,0xd1,0x01,0x05,0x02,0x00]
0xff,0x00,0x04,0xd1,0x01,0x05,0x02,0x00

# CHECK: v_mul_legacy_f32_e64 v5, v255, v2       ; encoding: [0x05,0x00,0x04,0xd1,0xff,0x05,0x02,0x00]
0x05,0x00,0x04,0xd1,0xff,0x05,0x02,0x00

# CHECK: v_mul_legacy_f32_e64 v5, s1, v2         ; encoding: [0x05,0x00,0x04,0xd1,0x01,0x04,0x02,0x00]
0x05,0x00,0x04,0xd1,0x01,0x04,0x02,0x00

# CHECK: v_mul_legacy_f32_e64 v5, s101, v2       ; encoding: [0x05,0x00,0x04,0xd1,0x65,0x04,0x02,0x00]
0x05,0x00,0x04,0xd1,0x65,0x04,0x02,0x00

# CHECK: v_mul_legacy_f32_e64 v5, flat_scratch_lo, v2 ; encoding: [0x05,0x00,0x04,0xd1,0x66,0x04,0x02,0x00]
0x05,0x00,0x04,0xd1,0x66,0x04,0x02,0x00

# CHECK: v_mul_legacy_f32_e64 v5, flat_scratch_hi, v2 ; encoding: [0x05,0x00,0x04,0xd1,0x67,0x04,0x02,0x00]
0x05,0x00,0x04,0xd1,0x67,0x04,0x02,0x00

# CHECK: v_mul_legacy_f32_e64 v5, vcc_lo, v2     ; encoding: [0x05,0x00,0x04,0xd1,0x6a,0x04,0x02,0x00]
0x05,0x00,0x04,0xd1,0x6a,0x04,0x02,0x00

# CHECK: v_mul_legacy_f32_e64 v5, vcc_hi, v2     ; encoding: [0x05,0x00,0x04,0xd1,0x6b,0x04,0x02,0x00]
0x05,0x00,0x04,0xd1,0x6b,0x04,0x02,0x00

# CHECK: v_mul_legacy_f32_e64 v5, tba_lo, v2     ; encoding: [0x05,0x00,0x04,0xd1,0x6c,0x04,0x02,0x00]
0x05,0x00,0x04,0xd1,0x6c,0x04,0x02,0x00

# CHECK: v_mul_legacy_f32_e64 v5, tba_hi, v2     ; encoding: [0x05,0x00,0x04,0xd1,0x6d,0x04,0x02,0x00]
0x05,0x00,0x04,0xd1,0x6d,0x04,0x02,0x00

# CHECK: v_mul_legacy_f32_e64 v5, tma_lo, v2     ; encoding: [0x05,0x00,0x04,0xd1,0x6e,0x04,0x02,0x00]
0x05,0x00,0x04,0xd1,0x6e,0x04,0x02,0x00

# CHECK: v_mul_legacy_f32_e64 v5, tma_hi, v2     ; encoding: [0x05,0x00,0x04,0xd1,0x6f,0x04,0x02,0x00]
0x05,0x00,0x04,0xd1,0x6f,0x04,0x02,0x00

# CHECK: v_mul_legacy_f32_e64 v5, ttmp11, v2     ; encoding: [0x05,0x00,0x04,0xd1,0x7b,0x04,0x02,0x00]
0x05,0x00,0x04,0xd1,0x7b,0x04,0x02,0x00

# CHECK: v_mul_legacy_f32_e64 v5, m0, v2         ; encoding: [0x05,0x00,0x04,0xd1,0x7c,0x04,0x02,0x00]
0x05,0x00,0x04,0xd1,0x7c,0x04,0x02,0x00

# CHECK: v_mul_legacy_f32_e64 v5, exec_lo, v2    ; encoding: [0x05,0x00,0x04,0xd1,0x7e,0x04,0x02,0x00]
0x05,0x00,0x04,0xd1,0x7e,0x04,0x02,0x00

# CHECK: v_mul_legacy_f32_e64 v5, exec_hi, v2    ; encoding: [0x05,0x00,0x04,0xd1,0x7f,0x04,0x02,0x00]
0x05,0x00,0x04,0xd1,0x7f,0x04,0x02,0x00

# CHECK: v_mul_legacy_f32_e64 v5, 0, v2          ; encoding: [0x05,0x00,0x04,0xd1,0x80,0x04,0x02,0x00]
0x05,0x00,0x04,0xd1,0x80,0x04,0x02,0x00

# CHECK: v_mul_legacy_f32_e64 v5, -1, v2         ; encoding: [0x05,0x00,0x04,0xd1,0xc1,0x04,0x02,0x00]
0x05,0x00,0x04,0xd1,0xc1,0x04,0x02,0x00

# CHECK: v_mul_legacy_f32_e64 v5, 0.5, v2        ; encoding: [0x05,0x00,0x04,0xd1,0xf0,0x04,0x02,0x00]
0x05,0x00,0x04,0xd1,0xf0,0x04,0x02,0x00

# CHECK: v_mul_legacy_f32_e64 v5, -4.0, v2       ; encoding: [0x05,0x00,0x04,0xd1,0xf7,0x04,0x02,0x00]
0x05,0x00,0x04,0xd1,0xf7,0x04,0x02,0x00

# CHECK: v_mul_legacy_f32_e64 v5, v1, v255       ; encoding: [0x05,0x00,0x04,0xd1,0x01,0xff,0x03,0x00]
0x05,0x00,0x04,0xd1,0x01,0xff,0x03,0x00

# CHECK: v_mul_legacy_f32_e64 v5, v1, s2         ; encoding: [0x05,0x00,0x04,0xd1,0x01,0x05,0x00,0x00]
0x05,0x00,0x04,0xd1,0x01,0x05,0x00,0x00

# CHECK: v_mul_legacy_f32_e64 v5, v1, s101       ; encoding: [0x05,0x00,0x04,0xd1,0x01,0xcb,0x00,0x00]
0x05,0x00,0x04,0xd1,0x01,0xcb,0x00,0x00

# CHECK: v_mul_legacy_f32_e64 v5, v1, flat_scratch_lo ; encoding: [0x05,0x00,0x04,0xd1,0x01,0xcd,0x00,0x00]
0x05,0x00,0x04,0xd1,0x01,0xcd,0x00,0x00

# CHECK: v_mul_legacy_f32_e64 v5, v1, flat_scratch_hi ; encoding: [0x05,0x00,0x04,0xd1,0x01,0xcf,0x00,0x00]
0x05,0x00,0x04,0xd1,0x01,0xcf,0x00,0x00

# CHECK: v_mul_legacy_f32_e64 v5, v1, vcc_lo     ; encoding: [0x05,0x00,0x04,0xd1,0x01,0xd5,0x00,0x00]
0x05,0x00,0x04,0xd1,0x01,0xd5,0x00,0x00

# CHECK: v_mul_legacy_f32_e64 v5, v1, vcc_hi     ; encoding: [0x05,0x00,0x04,0xd1,0x01,0xd7,0x00,0x00]
0x05,0x00,0x04,0xd1,0x01,0xd7,0x00,0x00

# CHECK: v_mul_legacy_f32_e64 v5, v1, tba_lo     ; encoding: [0x05,0x00,0x04,0xd1,0x01,0xd9,0x00,0x00]
0x05,0x00,0x04,0xd1,0x01,0xd9,0x00,0x00

# CHECK: v_mul_legacy_f32_e64 v5, v1, tba_hi     ; encoding: [0x05,0x00,0x04,0xd1,0x01,0xdb,0x00,0x00]
0x05,0x00,0x04,0xd1,0x01,0xdb,0x00,0x00

# CHECK: v_mul_legacy_f32_e64 v5, v1, tma_lo     ; encoding: [0x05,0x00,0x04,0xd1,0x01,0xdd,0x00,0x00]
0x05,0x00,0x04,0xd1,0x01,0xdd,0x00,0x00

# CHECK: v_mul_legacy_f32_e64 v5, v1, tma_hi     ; encoding: [0x05,0x00,0x04,0xd1,0x01,0xdf,0x00,0x00]
0x05,0x00,0x04,0xd1,0x01,0xdf,0x00,0x00

# CHECK: v_mul_legacy_f32_e64 v5, v1, ttmp11     ; encoding: [0x05,0x00,0x04,0xd1,0x01,0xf7,0x00,0x00]
0x05,0x00,0x04,0xd1,0x01,0xf7,0x00,0x00

# CHECK: v_mul_legacy_f32_e64 v5, v1, m0         ; encoding: [0x05,0x00,0x04,0xd1,0x01,0xf9,0x00,0x00]
0x05,0x00,0x04,0xd1,0x01,0xf9,0x00,0x00

# CHECK: v_mul_legacy_f32_e64 v5, v1, exec_lo    ; encoding: [0x05,0x00,0x04,0xd1,0x01,0xfd,0x00,0x00]
0x05,0x00,0x04,0xd1,0x01,0xfd,0x00,0x00

# CHECK: v_mul_legacy_f32_e64 v5, v1, exec_hi    ; encoding: [0x05,0x00,0x04,0xd1,0x01,0xff,0x00,0x00]
0x05,0x00,0x04,0xd1,0x01,0xff,0x00,0x00

# CHECK: v_mul_legacy_f32_e64 v5, v1, 0          ; encoding: [0x05,0x00,0x04,0xd1,0x01,0x01,0x01,0x00]
0x05,0x00,0x04,0xd1,0x01,0x01,0x01,0x00

# CHECK: v_mul_legacy_f32_e64 v5, v1, -1         ; encoding: [0x05,0x00,0x04,0xd1,0x01,0x83,0x01,0x00]
0x05,0x00,0x04,0xd1,0x01,0x83,0x01,0x00

# CHECK: v_mul_legacy_f32_e64 v5, v1, 0.5        ; encoding: [0x05,0x00,0x04,0xd1,0x01,0xe1,0x01,0x00]
0x05,0x00,0x04,0xd1,0x01,0xe1,0x01,0x00

# CHECK: v_mul_legacy_f32_e64 v5, v1, -4.0       ; encoding: [0x05,0x00,0x04,0xd1,0x01,0xef,0x01,0x00]
0x05,0x00,0x04,0xd1,0x01,0xef,0x01,0x00

# CHECK: v_mul_legacy_f32_e64 v5, -v1, v2        ; encoding: [0x05,0x00,0x04,0xd1,0x01,0x05,0x02,0x20]
0x05,0x00,0x04,0xd1,0x01,0x05,0x02,0x20

# CHECK: v_mul_legacy_f32_e64 v5, v1, -v2        ; encoding: [0x05,0x00,0x04,0xd1,0x01,0x05,0x02,0x40]
0x05,0x00,0x04,0xd1,0x01,0x05,0x02,0x40

# CHECK: v_mul_legacy_f32_e64 v5, -v1, -v2       ; encoding: [0x05,0x00,0x04,0xd1,0x01,0x05,0x02,0x60]
0x05,0x00,0x04,0xd1,0x01,0x05,0x02,0x60

# CHECK: v_mul_legacy_f32_e64 v5, |v1|, v2       ; encoding: [0x05,0x01,0x04,0xd1,0x01,0x05,0x02,0x00]
0x05,0x01,0x04,0xd1,0x01,0x05,0x02,0x00

# CHECK: v_mul_legacy_f32_e64 v5, v1, |v2|       ; encoding: [0x05,0x02,0x04,0xd1,0x01,0x05,0x02,0x00]
0x05,0x02,0x04,0xd1,0x01,0x05,0x02,0x00

# CHECK: v_mul_legacy_f32_e64 v5, |v1|, |v2|     ; encoding: [0x05,0x03,0x04,0xd1,0x01,0x05,0x02,0x00]
0x05,0x03,0x04,0xd1,0x01,0x05,0x02,0x00

# CHECK: v_mul_legacy_f32_e64 v5, v1, v2 clamp   ; encoding: [0x05,0x80,0x04,0xd1,0x01,0x05,0x02,0x00]
0x05,0x80,0x04,0xd1,0x01,0x05,0x02,0x00

# CHECK: v_mul_legacy_f32_e64 v5, v1, v2 mul:2   ; encoding: [0x05,0x00,0x04,0xd1,0x01,0x05,0x02,0x08]
0x05,0x00,0x04,0xd1,0x01,0x05,0x02,0x08

# CHECK: v_mul_legacy_f32_e64 v5, v1, v2 mul:4   ; encoding: [0x05,0x00,0x04,0xd1,0x01,0x05,0x02,0x10]
0x05,0x00,0x04,0xd1,0x01,0x05,0x02,0x10

# CHECK: v_mul_legacy_f32_e64 v5, v1, v2 div:2   ; encoding: [0x05,0x00,0x04,0xd1,0x01,0x05,0x02,0x18]
0x05,0x00,0x04,0xd1,0x01,0x05,0x02,0x18

# CHECK: v_mul_f32_e64 v5, v1, v2                ; encoding: [0x05,0x00,0x05,0xd1,0x01,0x05,0x02,0x00]
0x05,0x00,0x05,0xd1,0x01,0x05,0x02,0x00

# CHECK: v_mul_f32_e64 v255, v1, v2              ; encoding: [0xff,0x00,0x05,0xd1,0x01,0x05,0x02,0x00]
0xff,0x00,0x05,0xd1,0x01,0x05,0x02,0x00

# CHECK: v_mul_f32_e64 v5, v255, v2              ; encoding: [0x05,0x00,0x05,0xd1,0xff,0x05,0x02,0x00]
0x05,0x00,0x05,0xd1,0xff,0x05,0x02,0x00

# CHECK: v_mul_f32_e64 v5, s1, v2                ; encoding: [0x05,0x00,0x05,0xd1,0x01,0x04,0x02,0x00]
0x05,0x00,0x05,0xd1,0x01,0x04,0x02,0x00

# CHECK: v_mul_f32_e64 v5, s101, v2              ; encoding: [0x05,0x00,0x05,0xd1,0x65,0x04,0x02,0x00]
0x05,0x00,0x05,0xd1,0x65,0x04,0x02,0x00

# CHECK: v_mul_f32_e64 v5, flat_scratch_lo, v2   ; encoding: [0x05,0x00,0x05,0xd1,0x66,0x04,0x02,0x00]
0x05,0x00,0x05,0xd1,0x66,0x04,0x02,0x00

# CHECK: v_mul_f32_e64 v5, flat_scratch_hi, v2   ; encoding: [0x05,0x00,0x05,0xd1,0x67,0x04,0x02,0x00]
0x05,0x00,0x05,0xd1,0x67,0x04,0x02,0x00

# CHECK: v_mul_f32_e64 v5, vcc_lo, v2            ; encoding: [0x05,0x00,0x05,0xd1,0x6a,0x04,0x02,0x00]
0x05,0x00,0x05,0xd1,0x6a,0x04,0x02,0x00

# CHECK: v_mul_f32_e64 v5, vcc_hi, v2            ; encoding: [0x05,0x00,0x05,0xd1,0x6b,0x04,0x02,0x00]
0x05,0x00,0x05,0xd1,0x6b,0x04,0x02,0x00

# CHECK: v_mul_f32_e64 v5, tba_lo, v2            ; encoding: [0x05,0x00,0x05,0xd1,0x6c,0x04,0x02,0x00]
0x05,0x00,0x05,0xd1,0x6c,0x04,0x02,0x00

# CHECK: v_mul_f32_e64 v5, tba_hi, v2            ; encoding: [0x05,0x00,0x05,0xd1,0x6d,0x04,0x02,0x00]
0x05,0x00,0x05,0xd1,0x6d,0x04,0x02,0x00

# CHECK: v_mul_f32_e64 v5, tma_lo, v2            ; encoding: [0x05,0x00,0x05,0xd1,0x6e,0x04,0x02,0x00]
0x05,0x00,0x05,0xd1,0x6e,0x04,0x02,0x00

# CHECK: v_mul_f32_e64 v5, tma_hi, v2            ; encoding: [0x05,0x00,0x05,0xd1,0x6f,0x04,0x02,0x00]
0x05,0x00,0x05,0xd1,0x6f,0x04,0x02,0x00

# CHECK: v_mul_f32_e64 v5, ttmp11, v2            ; encoding: [0x05,0x00,0x05,0xd1,0x7b,0x04,0x02,0x00]
0x05,0x00,0x05,0xd1,0x7b,0x04,0x02,0x00

# CHECK: v_mul_f32_e64 v5, m0, v2                ; encoding: [0x05,0x00,0x05,0xd1,0x7c,0x04,0x02,0x00]
0x05,0x00,0x05,0xd1,0x7c,0x04,0x02,0x00

# CHECK: v_mul_f32_e64 v5, exec_lo, v2           ; encoding: [0x05,0x00,0x05,0xd1,0x7e,0x04,0x02,0x00]
0x05,0x00,0x05,0xd1,0x7e,0x04,0x02,0x00

# CHECK: v_mul_f32_e64 v5, exec_hi, v2           ; encoding: [0x05,0x00,0x05,0xd1,0x7f,0x04,0x02,0x00]
0x05,0x00,0x05,0xd1,0x7f,0x04,0x02,0x00

# CHECK: v_mul_f32_e64 v5, 0, v2                 ; encoding: [0x05,0x00,0x05,0xd1,0x80,0x04,0x02,0x00]
0x05,0x00,0x05,0xd1,0x80,0x04,0x02,0x00

# CHECK: v_mul_f32_e64 v5, -1, v2                ; encoding: [0x05,0x00,0x05,0xd1,0xc1,0x04,0x02,0x00]
0x05,0x00,0x05,0xd1,0xc1,0x04,0x02,0x00

# CHECK: v_mul_f32_e64 v5, 0.5, v2               ; encoding: [0x05,0x00,0x05,0xd1,0xf0,0x04,0x02,0x00]
0x05,0x00,0x05,0xd1,0xf0,0x04,0x02,0x00

# CHECK: v_mul_f32_e64 v5, -4.0, v2              ; encoding: [0x05,0x00,0x05,0xd1,0xf7,0x04,0x02,0x00]
0x05,0x00,0x05,0xd1,0xf7,0x04,0x02,0x00

# CHECK: v_mul_f32_e64 v5, v1, v255              ; encoding: [0x05,0x00,0x05,0xd1,0x01,0xff,0x03,0x00]
0x05,0x00,0x05,0xd1,0x01,0xff,0x03,0x00

# CHECK: v_mul_f32_e64 v5, v1, s2                ; encoding: [0x05,0x00,0x05,0xd1,0x01,0x05,0x00,0x00]
0x05,0x00,0x05,0xd1,0x01,0x05,0x00,0x00

# CHECK: v_mul_f32_e64 v5, v1, s101              ; encoding: [0x05,0x00,0x05,0xd1,0x01,0xcb,0x00,0x00]
0x05,0x00,0x05,0xd1,0x01,0xcb,0x00,0x00

# CHECK: v_mul_f32_e64 v5, v1, flat_scratch_lo   ; encoding: [0x05,0x00,0x05,0xd1,0x01,0xcd,0x00,0x00]
0x05,0x00,0x05,0xd1,0x01,0xcd,0x00,0x00

# CHECK: v_mul_f32_e64 v5, v1, flat_scratch_hi   ; encoding: [0x05,0x00,0x05,0xd1,0x01,0xcf,0x00,0x00]
0x05,0x00,0x05,0xd1,0x01,0xcf,0x00,0x00

# CHECK: v_mul_f32_e64 v5, v1, vcc_lo            ; encoding: [0x05,0x00,0x05,0xd1,0x01,0xd5,0x00,0x00]
0x05,0x00,0x05,0xd1,0x01,0xd5,0x00,0x00

# CHECK: v_mul_f32_e64 v5, v1, vcc_hi            ; encoding: [0x05,0x00,0x05,0xd1,0x01,0xd7,0x00,0x00]
0x05,0x00,0x05,0xd1,0x01,0xd7,0x00,0x00

# CHECK: v_mul_f32_e64 v5, v1, tba_lo            ; encoding: [0x05,0x00,0x05,0xd1,0x01,0xd9,0x00,0x00]
0x05,0x00,0x05,0xd1,0x01,0xd9,0x00,0x00

# CHECK: v_mul_f32_e64 v5, v1, tba_hi            ; encoding: [0x05,0x00,0x05,0xd1,0x01,0xdb,0x00,0x00]
0x05,0x00,0x05,0xd1,0x01,0xdb,0x00,0x00

# CHECK: v_mul_f32_e64 v5, v1, tma_lo            ; encoding: [0x05,0x00,0x05,0xd1,0x01,0xdd,0x00,0x00]
0x05,0x00,0x05,0xd1,0x01,0xdd,0x00,0x00

# CHECK: v_mul_f32_e64 v5, v1, tma_hi            ; encoding: [0x05,0x00,0x05,0xd1,0x01,0xdf,0x00,0x00]
0x05,0x00,0x05,0xd1,0x01,0xdf,0x00,0x00

# CHECK: v_mul_f32_e64 v5, v1, ttmp11            ; encoding: [0x05,0x00,0x05,0xd1,0x01,0xf7,0x00,0x00]
0x05,0x00,0x05,0xd1,0x01,0xf7,0x00,0x00

# CHECK: v_mul_f32_e64 v5, v1, m0                ; encoding: [0x05,0x00,0x05,0xd1,0x01,0xf9,0x00,0x00]
0x05,0x00,0x05,0xd1,0x01,0xf9,0x00,0x00

# CHECK: v_mul_f32_e64 v5, v1, exec_lo           ; encoding: [0x05,0x00,0x05,0xd1,0x01,0xfd,0x00,0x00]
0x05,0x00,0x05,0xd1,0x01,0xfd,0x00,0x00

# CHECK: v_mul_f32_e64 v5, v1, exec_hi           ; encoding: [0x05,0x00,0x05,0xd1,0x01,0xff,0x00,0x00]
0x05,0x00,0x05,0xd1,0x01,0xff,0x00,0x00

# CHECK: v_mul_f32_e64 v5, v1, 0                 ; encoding: [0x05,0x00,0x05,0xd1,0x01,0x01,0x01,0x00]
0x05,0x00,0x05,0xd1,0x01,0x01,0x01,0x00

# CHECK: v_mul_f32_e64 v5, v1, -1                ; encoding: [0x05,0x00,0x05,0xd1,0x01,0x83,0x01,0x00]
0x05,0x00,0x05,0xd1,0x01,0x83,0x01,0x00

# CHECK: v_mul_f32_e64 v5, v1, 0.5               ; encoding: [0x05,0x00,0x05,0xd1,0x01,0xe1,0x01,0x00]
0x05,0x00,0x05,0xd1,0x01,0xe1,0x01,0x00

# CHECK: v_mul_f32_e64 v5, v1, -4.0              ; encoding: [0x05,0x00,0x05,0xd1,0x01,0xef,0x01,0x00]
0x05,0x00,0x05,0xd1,0x01,0xef,0x01,0x00

# CHECK: v_mul_f32_e64 v5, -v1, v2               ; encoding: [0x05,0x00,0x05,0xd1,0x01,0x05,0x02,0x20]
0x05,0x00,0x05,0xd1,0x01,0x05,0x02,0x20

# CHECK: v_mul_f32_e64 v5, v1, -v2               ; encoding: [0x05,0x00,0x05,0xd1,0x01,0x05,0x02,0x40]
0x05,0x00,0x05,0xd1,0x01,0x05,0x02,0x40

# CHECK: v_mul_f32_e64 v5, -v1, -v2              ; encoding: [0x05,0x00,0x05,0xd1,0x01,0x05,0x02,0x60]
0x05,0x00,0x05,0xd1,0x01,0x05,0x02,0x60

# CHECK: v_mul_f32_e64 v5, |v1|, v2              ; encoding: [0x05,0x01,0x05,0xd1,0x01,0x05,0x02,0x00]
0x05,0x01,0x05,0xd1,0x01,0x05,0x02,0x00

# CHECK: v_mul_f32_e64 v5, v1, |v2|              ; encoding: [0x05,0x02,0x05,0xd1,0x01,0x05,0x02,0x00]
0x05,0x02,0x05,0xd1,0x01,0x05,0x02,0x00

# CHECK: v_mul_f32_e64 v5, |v1|, |v2|            ; encoding: [0x05,0x03,0x05,0xd1,0x01,0x05,0x02,0x00]
0x05,0x03,0x05,0xd1,0x01,0x05,0x02,0x00

# CHECK: v_mul_f32_e64 v5, v1, v2 clamp          ; encoding: [0x05,0x80,0x05,0xd1,0x01,0x05,0x02,0x00]
0x05,0x80,0x05,0xd1,0x01,0x05,0x02,0x00

# CHECK: v_mul_f32_e64 v5, v1, v2 mul:2          ; encoding: [0x05,0x00,0x05,0xd1,0x01,0x05,0x02,0x08]
0x05,0x00,0x05,0xd1,0x01,0x05,0x02,0x08

# CHECK: v_mul_f32_e64 v5, v1, v2 mul:4          ; encoding: [0x05,0x00,0x05,0xd1,0x01,0x05,0x02,0x10]
0x05,0x00,0x05,0xd1,0x01,0x05,0x02,0x10

# CHECK: v_mul_f32_e64 v5, v1, v2 div:2          ; encoding: [0x05,0x00,0x05,0xd1,0x01,0x05,0x02,0x18]
0x05,0x00,0x05,0xd1,0x01,0x05,0x02,0x18

# CHECK: v_mul_i32_i24_e64 v5, v1, v2            ; encoding: [0x05,0x00,0x06,0xd1,0x01,0x05,0x02,0x00]
0x05,0x00,0x06,0xd1,0x01,0x05,0x02,0x00

# CHECK: v_mul_i32_i24_e64 v255, v1, v2          ; encoding: [0xff,0x00,0x06,0xd1,0x01,0x05,0x02,0x00]
0xff,0x00,0x06,0xd1,0x01,0x05,0x02,0x00

# CHECK: v_mul_i32_i24_e64 v5, v255, v2          ; encoding: [0x05,0x00,0x06,0xd1,0xff,0x05,0x02,0x00]
0x05,0x00,0x06,0xd1,0xff,0x05,0x02,0x00

# CHECK: v_mul_i32_i24_e64 v5, s1, v2            ; encoding: [0x05,0x00,0x06,0xd1,0x01,0x04,0x02,0x00]
0x05,0x00,0x06,0xd1,0x01,0x04,0x02,0x00

# CHECK: v_mul_i32_i24_e64 v5, s101, v2          ; encoding: [0x05,0x00,0x06,0xd1,0x65,0x04,0x02,0x00]
0x05,0x00,0x06,0xd1,0x65,0x04,0x02,0x00

# CHECK: v_mul_i32_i24_e64 v5, flat_scratch_lo, v2 ; encoding: [0x05,0x00,0x06,0xd1,0x66,0x04,0x02,0x00]
0x05,0x00,0x06,0xd1,0x66,0x04,0x02,0x00

# CHECK: v_mul_i32_i24_e64 v5, flat_scratch_hi, v2 ; encoding: [0x05,0x00,0x06,0xd1,0x67,0x04,0x02,0x00]
0x05,0x00,0x06,0xd1,0x67,0x04,0x02,0x00

# CHECK: v_mul_i32_i24_e64 v5, vcc_lo, v2        ; encoding: [0x05,0x00,0x06,0xd1,0x6a,0x04,0x02,0x00]
0x05,0x00,0x06,0xd1,0x6a,0x04,0x02,0x00

# CHECK: v_mul_i32_i24_e64 v5, vcc_hi, v2        ; encoding: [0x05,0x00,0x06,0xd1,0x6b,0x04,0x02,0x00]
0x05,0x00,0x06,0xd1,0x6b,0x04,0x02,0x00

# CHECK: v_mul_i32_i24_e64 v5, tba_lo, v2        ; encoding: [0x05,0x00,0x06,0xd1,0x6c,0x04,0x02,0x00]
0x05,0x00,0x06,0xd1,0x6c,0x04,0x02,0x00

# CHECK: v_mul_i32_i24_e64 v5, tba_hi, v2        ; encoding: [0x05,0x00,0x06,0xd1,0x6d,0x04,0x02,0x00]
0x05,0x00,0x06,0xd1,0x6d,0x04,0x02,0x00

# CHECK: v_mul_i32_i24_e64 v5, tma_lo, v2        ; encoding: [0x05,0x00,0x06,0xd1,0x6e,0x04,0x02,0x00]
0x05,0x00,0x06,0xd1,0x6e,0x04,0x02,0x00

# CHECK: v_mul_i32_i24_e64 v5, tma_hi, v2        ; encoding: [0x05,0x00,0x06,0xd1,0x6f,0x04,0x02,0x00]
0x05,0x00,0x06,0xd1,0x6f,0x04,0x02,0x00

# CHECK: v_mul_i32_i24_e64 v5, ttmp11, v2        ; encoding: [0x05,0x00,0x06,0xd1,0x7b,0x04,0x02,0x00]
0x05,0x00,0x06,0xd1,0x7b,0x04,0x02,0x00

# CHECK: v_mul_i32_i24_e64 v5, m0, v2            ; encoding: [0x05,0x00,0x06,0xd1,0x7c,0x04,0x02,0x00]
0x05,0x00,0x06,0xd1,0x7c,0x04,0x02,0x00

# CHECK: v_mul_i32_i24_e64 v5, exec_lo, v2       ; encoding: [0x05,0x00,0x06,0xd1,0x7e,0x04,0x02,0x00]
0x05,0x00,0x06,0xd1,0x7e,0x04,0x02,0x00

# CHECK: v_mul_i32_i24_e64 v5, exec_hi, v2       ; encoding: [0x05,0x00,0x06,0xd1,0x7f,0x04,0x02,0x00]
0x05,0x00,0x06,0xd1,0x7f,0x04,0x02,0x00

# CHECK: v_mul_i32_i24_e64 v5, 0, v2             ; encoding: [0x05,0x00,0x06,0xd1,0x80,0x04,0x02,0x00]
0x05,0x00,0x06,0xd1,0x80,0x04,0x02,0x00

# CHECK: v_mul_i32_i24_e64 v5, -1, v2            ; encoding: [0x05,0x00,0x06,0xd1,0xc1,0x04,0x02,0x00]
0x05,0x00,0x06,0xd1,0xc1,0x04,0x02,0x00

# CHECK: v_mul_i32_i24_e64 v5, 0.5, v2           ; encoding: [0x05,0x00,0x06,0xd1,0xf0,0x04,0x02,0x00]
0x05,0x00,0x06,0xd1,0xf0,0x04,0x02,0x00

# CHECK: v_mul_i32_i24_e64 v5, -4.0, v2          ; encoding: [0x05,0x00,0x06,0xd1,0xf7,0x04,0x02,0x00]
0x05,0x00,0x06,0xd1,0xf7,0x04,0x02,0x00

# CHECK: v_mul_i32_i24_e64 v5, v1, v255          ; encoding: [0x05,0x00,0x06,0xd1,0x01,0xff,0x03,0x00]
0x05,0x00,0x06,0xd1,0x01,0xff,0x03,0x00

# CHECK: v_mul_i32_i24_e64 v5, v1, s2            ; encoding: [0x05,0x00,0x06,0xd1,0x01,0x05,0x00,0x00]
0x05,0x00,0x06,0xd1,0x01,0x05,0x00,0x00

# CHECK: v_mul_i32_i24_e64 v5, v1, s101          ; encoding: [0x05,0x00,0x06,0xd1,0x01,0xcb,0x00,0x00]
0x05,0x00,0x06,0xd1,0x01,0xcb,0x00,0x00

# CHECK: v_mul_i32_i24_e64 v5, v1, flat_scratch_lo ; encoding: [0x05,0x00,0x06,0xd1,0x01,0xcd,0x00,0x00]
0x05,0x00,0x06,0xd1,0x01,0xcd,0x00,0x00

# CHECK: v_mul_i32_i24_e64 v5, v1, flat_scratch_hi ; encoding: [0x05,0x00,0x06,0xd1,0x01,0xcf,0x00,0x00]
0x05,0x00,0x06,0xd1,0x01,0xcf,0x00,0x00

# CHECK: v_mul_i32_i24_e64 v5, v1, vcc_lo        ; encoding: [0x05,0x00,0x06,0xd1,0x01,0xd5,0x00,0x00]
0x05,0x00,0x06,0xd1,0x01,0xd5,0x00,0x00

# CHECK: v_mul_i32_i24_e64 v5, v1, vcc_hi        ; encoding: [0x05,0x00,0x06,0xd1,0x01,0xd7,0x00,0x00]
0x05,0x00,0x06,0xd1,0x01,0xd7,0x00,0x00

# CHECK: v_mul_i32_i24_e64 v5, v1, tba_lo        ; encoding: [0x05,0x00,0x06,0xd1,0x01,0xd9,0x00,0x00]
0x05,0x00,0x06,0xd1,0x01,0xd9,0x00,0x00

# CHECK: v_mul_i32_i24_e64 v5, v1, tba_hi        ; encoding: [0x05,0x00,0x06,0xd1,0x01,0xdb,0x00,0x00]
0x05,0x00,0x06,0xd1,0x01,0xdb,0x00,0x00

# CHECK: v_mul_i32_i24_e64 v5, v1, tma_lo        ; encoding: [0x05,0x00,0x06,0xd1,0x01,0xdd,0x00,0x00]
0x05,0x00,0x06,0xd1,0x01,0xdd,0x00,0x00

# CHECK: v_mul_i32_i24_e64 v5, v1, tma_hi        ; encoding: [0x05,0x00,0x06,0xd1,0x01,0xdf,0x00,0x00]
0x05,0x00,0x06,0xd1,0x01,0xdf,0x00,0x00

# CHECK: v_mul_i32_i24_e64 v5, v1, ttmp11        ; encoding: [0x05,0x00,0x06,0xd1,0x01,0xf7,0x00,0x00]
0x05,0x00,0x06,0xd1,0x01,0xf7,0x00,0x00

# CHECK: v_mul_i32_i24_e64 v5, v1, m0            ; encoding: [0x05,0x00,0x06,0xd1,0x01,0xf9,0x00,0x00]
0x05,0x00,0x06,0xd1,0x01,0xf9,0x00,0x00

# CHECK: v_mul_i32_i24_e64 v5, v1, exec_lo       ; encoding: [0x05,0x00,0x06,0xd1,0x01,0xfd,0x00,0x00]
0x05,0x00,0x06,0xd1,0x01,0xfd,0x00,0x00

# CHECK: v_mul_i32_i24_e64 v5, v1, exec_hi       ; encoding: [0x05,0x00,0x06,0xd1,0x01,0xff,0x00,0x00]
0x05,0x00,0x06,0xd1,0x01,0xff,0x00,0x00

# CHECK: v_mul_i32_i24_e64 v5, v1, 0             ; encoding: [0x05,0x00,0x06,0xd1,0x01,0x01,0x01,0x00]
0x05,0x00,0x06,0xd1,0x01,0x01,0x01,0x00

# CHECK: v_mul_i32_i24_e64 v5, v1, -1            ; encoding: [0x05,0x00,0x06,0xd1,0x01,0x83,0x01,0x00]
0x05,0x00,0x06,0xd1,0x01,0x83,0x01,0x00

# CHECK: v_mul_i32_i24_e64 v5, v1, 0.5           ; encoding: [0x05,0x00,0x06,0xd1,0x01,0xe1,0x01,0x00]
0x05,0x00,0x06,0xd1,0x01,0xe1,0x01,0x00

# CHECK: v_mul_i32_i24_e64 v5, v1, -4.0          ; encoding: [0x05,0x00,0x06,0xd1,0x01,0xef,0x01,0x00]
0x05,0x00,0x06,0xd1,0x01,0xef,0x01,0x00

# CHECK: v_mul_hi_i32_i24_e64 v5, v1, v2         ; encoding: [0x05,0x00,0x07,0xd1,0x01,0x05,0x02,0x00]
0x05,0x00,0x07,0xd1,0x01,0x05,0x02,0x00

# CHECK: v_mul_hi_i32_i24_e64 v255, v1, v2       ; encoding: [0xff,0x00,0x07,0xd1,0x01,0x05,0x02,0x00]
0xff,0x00,0x07,0xd1,0x01,0x05,0x02,0x00

# CHECK: v_mul_hi_i32_i24_e64 v5, v255, v2       ; encoding: [0x05,0x00,0x07,0xd1,0xff,0x05,0x02,0x00]
0x05,0x00,0x07,0xd1,0xff,0x05,0x02,0x00

# CHECK: v_mul_hi_i32_i24_e64 v5, s1, v2         ; encoding: [0x05,0x00,0x07,0xd1,0x01,0x04,0x02,0x00]
0x05,0x00,0x07,0xd1,0x01,0x04,0x02,0x00

# CHECK: v_mul_hi_i32_i24_e64 v5, s101, v2       ; encoding: [0x05,0x00,0x07,0xd1,0x65,0x04,0x02,0x00]
0x05,0x00,0x07,0xd1,0x65,0x04,0x02,0x00

# CHECK: v_mul_hi_i32_i24_e64 v5, flat_scratch_lo, v2 ; encoding: [0x05,0x00,0x07,0xd1,0x66,0x04,0x02,0x00]
0x05,0x00,0x07,0xd1,0x66,0x04,0x02,0x00

# CHECK: v_mul_hi_i32_i24_e64 v5, flat_scratch_hi, v2 ; encoding: [0x05,0x00,0x07,0xd1,0x67,0x04,0x02,0x00]
0x05,0x00,0x07,0xd1,0x67,0x04,0x02,0x00

# CHECK: v_mul_hi_i32_i24_e64 v5, vcc_lo, v2     ; encoding: [0x05,0x00,0x07,0xd1,0x6a,0x04,0x02,0x00]
0x05,0x00,0x07,0xd1,0x6a,0x04,0x02,0x00

# CHECK: v_mul_hi_i32_i24_e64 v5, vcc_hi, v2     ; encoding: [0x05,0x00,0x07,0xd1,0x6b,0x04,0x02,0x00]
0x05,0x00,0x07,0xd1,0x6b,0x04,0x02,0x00

# CHECK: v_mul_hi_i32_i24_e64 v5, tba_lo, v2     ; encoding: [0x05,0x00,0x07,0xd1,0x6c,0x04,0x02,0x00]
0x05,0x00,0x07,0xd1,0x6c,0x04,0x02,0x00

# CHECK: v_mul_hi_i32_i24_e64 v5, tba_hi, v2     ; encoding: [0x05,0x00,0x07,0xd1,0x6d,0x04,0x02,0x00]
0x05,0x00,0x07,0xd1,0x6d,0x04,0x02,0x00

# CHECK: v_mul_hi_i32_i24_e64 v5, tma_lo, v2     ; encoding: [0x05,0x00,0x07,0xd1,0x6e,0x04,0x02,0x00]
0x05,0x00,0x07,0xd1,0x6e,0x04,0x02,0x00

# CHECK: v_mul_hi_i32_i24_e64 v5, tma_hi, v2     ; encoding: [0x05,0x00,0x07,0xd1,0x6f,0x04,0x02,0x00]
0x05,0x00,0x07,0xd1,0x6f,0x04,0x02,0x00

# CHECK: v_mul_hi_i32_i24_e64 v5, ttmp11, v2     ; encoding: [0x05,0x00,0x07,0xd1,0x7b,0x04,0x02,0x00]
0x05,0x00,0x07,0xd1,0x7b,0x04,0x02,0x00

# CHECK: v_mul_hi_i32_i24_e64 v5, m0, v2         ; encoding: [0x05,0x00,0x07,0xd1,0x7c,0x04,0x02,0x00]
0x05,0x00,0x07,0xd1,0x7c,0x04,0x02,0x00

# CHECK: v_mul_hi_i32_i24_e64 v5, exec_lo, v2    ; encoding: [0x05,0x00,0x07,0xd1,0x7e,0x04,0x02,0x00]
0x05,0x00,0x07,0xd1,0x7e,0x04,0x02,0x00

# CHECK: v_mul_hi_i32_i24_e64 v5, exec_hi, v2    ; encoding: [0x05,0x00,0x07,0xd1,0x7f,0x04,0x02,0x00]
0x05,0x00,0x07,0xd1,0x7f,0x04,0x02,0x00

# CHECK: v_mul_hi_i32_i24_e64 v5, 0, v2          ; encoding: [0x05,0x00,0x07,0xd1,0x80,0x04,0x02,0x00]
0x05,0x00,0x07,0xd1,0x80,0x04,0x02,0x00

# CHECK: v_mul_hi_i32_i24_e64 v5, -1, v2         ; encoding: [0x05,0x00,0x07,0xd1,0xc1,0x04,0x02,0x00]
0x05,0x00,0x07,0xd1,0xc1,0x04,0x02,0x00

# CHECK: v_mul_hi_i32_i24_e64 v5, 0.5, v2        ; encoding: [0x05,0x00,0x07,0xd1,0xf0,0x04,0x02,0x00]
0x05,0x00,0x07,0xd1,0xf0,0x04,0x02,0x00

# CHECK: v_mul_hi_i32_i24_e64 v5, -4.0, v2       ; encoding: [0x05,0x00,0x07,0xd1,0xf7,0x04,0x02,0x00]
0x05,0x00,0x07,0xd1,0xf7,0x04,0x02,0x00

# CHECK: v_mul_hi_i32_i24_e64 v5, v1, v255       ; encoding: [0x05,0x00,0x07,0xd1,0x01,0xff,0x03,0x00]
0x05,0x00,0x07,0xd1,0x01,0xff,0x03,0x00

# CHECK: v_mul_hi_i32_i24_e64 v5, v1, s2         ; encoding: [0x05,0x00,0x07,0xd1,0x01,0x05,0x00,0x00]
0x05,0x00,0x07,0xd1,0x01,0x05,0x00,0x00

# CHECK: v_mul_hi_i32_i24_e64 v5, v1, s101       ; encoding: [0x05,0x00,0x07,0xd1,0x01,0xcb,0x00,0x00]
0x05,0x00,0x07,0xd1,0x01,0xcb,0x00,0x00

# CHECK: v_mul_hi_i32_i24_e64 v5, v1, flat_scratch_lo ; encoding: [0x05,0x00,0x07,0xd1,0x01,0xcd,0x00,0x00]
0x05,0x00,0x07,0xd1,0x01,0xcd,0x00,0x00

# CHECK: v_mul_hi_i32_i24_e64 v5, v1, flat_scratch_hi ; encoding: [0x05,0x00,0x07,0xd1,0x01,0xcf,0x00,0x00]
0x05,0x00,0x07,0xd1,0x01,0xcf,0x00,0x00

# CHECK: v_mul_hi_i32_i24_e64 v5, v1, vcc_lo     ; encoding: [0x05,0x00,0x07,0xd1,0x01,0xd5,0x00,0x00]
0x05,0x00,0x07,0xd1,0x01,0xd5,0x00,0x00

# CHECK: v_mul_hi_i32_i24_e64 v5, v1, vcc_hi     ; encoding: [0x05,0x00,0x07,0xd1,0x01,0xd7,0x00,0x00]
0x05,0x00,0x07,0xd1,0x01,0xd7,0x00,0x00

# CHECK: v_mul_hi_i32_i24_e64 v5, v1, tba_lo     ; encoding: [0x05,0x00,0x07,0xd1,0x01,0xd9,0x00,0x00]
0x05,0x00,0x07,0xd1,0x01,0xd9,0x00,0x00

# CHECK: v_mul_hi_i32_i24_e64 v5, v1, tba_hi     ; encoding: [0x05,0x00,0x07,0xd1,0x01,0xdb,0x00,0x00]
0x05,0x00,0x07,0xd1,0x01,0xdb,0x00,0x00

# CHECK: v_mul_hi_i32_i24_e64 v5, v1, tma_lo     ; encoding: [0x05,0x00,0x07,0xd1,0x01,0xdd,0x00,0x00]
0x05,0x00,0x07,0xd1,0x01,0xdd,0x00,0x00

# CHECK: v_mul_hi_i32_i24_e64 v5, v1, tma_hi     ; encoding: [0x05,0x00,0x07,0xd1,0x01,0xdf,0x00,0x00]
0x05,0x00,0x07,0xd1,0x01,0xdf,0x00,0x00

# CHECK: v_mul_hi_i32_i24_e64 v5, v1, ttmp11     ; encoding: [0x05,0x00,0x07,0xd1,0x01,0xf7,0x00,0x00]
0x05,0x00,0x07,0xd1,0x01,0xf7,0x00,0x00

# CHECK: v_mul_hi_i32_i24_e64 v5, v1, m0         ; encoding: [0x05,0x00,0x07,0xd1,0x01,0xf9,0x00,0x00]
0x05,0x00,0x07,0xd1,0x01,0xf9,0x00,0x00

# CHECK: v_mul_hi_i32_i24_e64 v5, v1, exec_lo    ; encoding: [0x05,0x00,0x07,0xd1,0x01,0xfd,0x00,0x00]
0x05,0x00,0x07,0xd1,0x01,0xfd,0x00,0x00

# CHECK: v_mul_hi_i32_i24_e64 v5, v1, exec_hi    ; encoding: [0x05,0x00,0x07,0xd1,0x01,0xff,0x00,0x00]
0x05,0x00,0x07,0xd1,0x01,0xff,0x00,0x00

# CHECK: v_mul_hi_i32_i24_e64 v5, v1, 0          ; encoding: [0x05,0x00,0x07,0xd1,0x01,0x01,0x01,0x00]
0x05,0x00,0x07,0xd1,0x01,0x01,0x01,0x00

# CHECK: v_mul_hi_i32_i24_e64 v5, v1, -1         ; encoding: [0x05,0x00,0x07,0xd1,0x01,0x83,0x01,0x00]
0x05,0x00,0x07,0xd1,0x01,0x83,0x01,0x00

# CHECK: v_mul_hi_i32_i24_e64 v5, v1, 0.5        ; encoding: [0x05,0x00,0x07,0xd1,0x01,0xe1,0x01,0x00]
0x05,0x00,0x07,0xd1,0x01,0xe1,0x01,0x00

# CHECK: v_mul_hi_i32_i24_e64 v5, v1, -4.0       ; encoding: [0x05,0x00,0x07,0xd1,0x01,0xef,0x01,0x00]
0x05,0x00,0x07,0xd1,0x01,0xef,0x01,0x00

# CHECK: v_mul_u32_u24_e64 v5, v1, v2            ; encoding: [0x05,0x00,0x08,0xd1,0x01,0x05,0x02,0x00]
0x05,0x00,0x08,0xd1,0x01,0x05,0x02,0x00

# CHECK: v_mul_u32_u24_e64 v255, v1, v2          ; encoding: [0xff,0x00,0x08,0xd1,0x01,0x05,0x02,0x00]
0xff,0x00,0x08,0xd1,0x01,0x05,0x02,0x00

# CHECK: v_mul_u32_u24_e64 v5, v255, v2          ; encoding: [0x05,0x00,0x08,0xd1,0xff,0x05,0x02,0x00]
0x05,0x00,0x08,0xd1,0xff,0x05,0x02,0x00

# CHECK: v_mul_u32_u24_e64 v5, s1, v2            ; encoding: [0x05,0x00,0x08,0xd1,0x01,0x04,0x02,0x00]
0x05,0x00,0x08,0xd1,0x01,0x04,0x02,0x00

# CHECK: v_mul_u32_u24_e64 v5, s101, v2          ; encoding: [0x05,0x00,0x08,0xd1,0x65,0x04,0x02,0x00]
0x05,0x00,0x08,0xd1,0x65,0x04,0x02,0x00

# CHECK: v_mul_u32_u24_e64 v5, flat_scratch_lo, v2 ; encoding: [0x05,0x00,0x08,0xd1,0x66,0x04,0x02,0x00]
0x05,0x00,0x08,0xd1,0x66,0x04,0x02,0x00

# CHECK: v_mul_u32_u24_e64 v5, flat_scratch_hi, v2 ; encoding: [0x05,0x00,0x08,0xd1,0x67,0x04,0x02,0x00]
0x05,0x00,0x08,0xd1,0x67,0x04,0x02,0x00

# CHECK: v_mul_u32_u24_e64 v5, vcc_lo, v2        ; encoding: [0x05,0x00,0x08,0xd1,0x6a,0x04,0x02,0x00]
0x05,0x00,0x08,0xd1,0x6a,0x04,0x02,0x00

# CHECK: v_mul_u32_u24_e64 v5, vcc_hi, v2        ; encoding: [0x05,0x00,0x08,0xd1,0x6b,0x04,0x02,0x00]
0x05,0x00,0x08,0xd1,0x6b,0x04,0x02,0x00

# CHECK: v_mul_u32_u24_e64 v5, tba_lo, v2        ; encoding: [0x05,0x00,0x08,0xd1,0x6c,0x04,0x02,0x00]
0x05,0x00,0x08,0xd1,0x6c,0x04,0x02,0x00

# CHECK: v_mul_u32_u24_e64 v5, tba_hi, v2        ; encoding: [0x05,0x00,0x08,0xd1,0x6d,0x04,0x02,0x00]
0x05,0x00,0x08,0xd1,0x6d,0x04,0x02,0x00

# CHECK: v_mul_u32_u24_e64 v5, tma_lo, v2        ; encoding: [0x05,0x00,0x08,0xd1,0x6e,0x04,0x02,0x00]
0x05,0x00,0x08,0xd1,0x6e,0x04,0x02,0x00

# CHECK: v_mul_u32_u24_e64 v5, tma_hi, v2        ; encoding: [0x05,0x00,0x08,0xd1,0x6f,0x04,0x02,0x00]
0x05,0x00,0x08,0xd1,0x6f,0x04,0x02,0x00

# CHECK: v_mul_u32_u24_e64 v5, ttmp11, v2        ; encoding: [0x05,0x00,0x08,0xd1,0x7b,0x04,0x02,0x00]
0x05,0x00,0x08,0xd1,0x7b,0x04,0x02,0x00

# CHECK: v_mul_u32_u24_e64 v5, m0, v2            ; encoding: [0x05,0x00,0x08,0xd1,0x7c,0x04,0x02,0x00]
0x05,0x00,0x08,0xd1,0x7c,0x04,0x02,0x00

# CHECK: v_mul_u32_u24_e64 v5, exec_lo, v2       ; encoding: [0x05,0x00,0x08,0xd1,0x7e,0x04,0x02,0x00]
0x05,0x00,0x08,0xd1,0x7e,0x04,0x02,0x00

# CHECK: v_mul_u32_u24_e64 v5, exec_hi, v2       ; encoding: [0x05,0x00,0x08,0xd1,0x7f,0x04,0x02,0x00]
0x05,0x00,0x08,0xd1,0x7f,0x04,0x02,0x00

# CHECK: v_mul_u32_u24_e64 v5, 0, v2             ; encoding: [0x05,0x00,0x08,0xd1,0x80,0x04,0x02,0x00]
0x05,0x00,0x08,0xd1,0x80,0x04,0x02,0x00

# CHECK: v_mul_u32_u24_e64 v5, -1, v2            ; encoding: [0x05,0x00,0x08,0xd1,0xc1,0x04,0x02,0x00]
0x05,0x00,0x08,0xd1,0xc1,0x04,0x02,0x00

# CHECK: v_mul_u32_u24_e64 v5, 0.5, v2           ; encoding: [0x05,0x00,0x08,0xd1,0xf0,0x04,0x02,0x00]
0x05,0x00,0x08,0xd1,0xf0,0x04,0x02,0x00

# CHECK: v_mul_u32_u24_e64 v5, -4.0, v2          ; encoding: [0x05,0x00,0x08,0xd1,0xf7,0x04,0x02,0x00]
0x05,0x00,0x08,0xd1,0xf7,0x04,0x02,0x00

# CHECK: v_mul_u32_u24_e64 v5, v1, v255          ; encoding: [0x05,0x00,0x08,0xd1,0x01,0xff,0x03,0x00]
0x05,0x00,0x08,0xd1,0x01,0xff,0x03,0x00

# CHECK: v_mul_u32_u24_e64 v5, v1, s2            ; encoding: [0x05,0x00,0x08,0xd1,0x01,0x05,0x00,0x00]
0x05,0x00,0x08,0xd1,0x01,0x05,0x00,0x00

# CHECK: v_mul_u32_u24_e64 v5, v1, s101          ; encoding: [0x05,0x00,0x08,0xd1,0x01,0xcb,0x00,0x00]
0x05,0x00,0x08,0xd1,0x01,0xcb,0x00,0x00

# CHECK: v_mul_u32_u24_e64 v5, v1, flat_scratch_lo ; encoding: [0x05,0x00,0x08,0xd1,0x01,0xcd,0x00,0x00]
0x05,0x00,0x08,0xd1,0x01,0xcd,0x00,0x00

# CHECK: v_mul_u32_u24_e64 v5, v1, flat_scratch_hi ; encoding: [0x05,0x00,0x08,0xd1,0x01,0xcf,0x00,0x00]
0x05,0x00,0x08,0xd1,0x01,0xcf,0x00,0x00

# CHECK: v_mul_u32_u24_e64 v5, v1, vcc_lo        ; encoding: [0x05,0x00,0x08,0xd1,0x01,0xd5,0x00,0x00]
0x05,0x00,0x08,0xd1,0x01,0xd5,0x00,0x00

# CHECK: v_mul_u32_u24_e64 v5, v1, vcc_hi        ; encoding: [0x05,0x00,0x08,0xd1,0x01,0xd7,0x00,0x00]
0x05,0x00,0x08,0xd1,0x01,0xd7,0x00,0x00

# CHECK: v_mul_u32_u24_e64 v5, v1, tba_lo        ; encoding: [0x05,0x00,0x08,0xd1,0x01,0xd9,0x00,0x00]
0x05,0x00,0x08,0xd1,0x01,0xd9,0x00,0x00

# CHECK: v_mul_u32_u24_e64 v5, v1, tba_hi        ; encoding: [0x05,0x00,0x08,0xd1,0x01,0xdb,0x00,0x00]
0x05,0x00,0x08,0xd1,0x01,0xdb,0x00,0x00

# CHECK: v_mul_u32_u24_e64 v5, v1, tma_lo        ; encoding: [0x05,0x00,0x08,0xd1,0x01,0xdd,0x00,0x00]
0x05,0x00,0x08,0xd1,0x01,0xdd,0x00,0x00

# CHECK: v_mul_u32_u24_e64 v5, v1, tma_hi        ; encoding: [0x05,0x00,0x08,0xd1,0x01,0xdf,0x00,0x00]
0x05,0x00,0x08,0xd1,0x01,0xdf,0x00,0x00

# CHECK: v_mul_u32_u24_e64 v5, v1, ttmp11        ; encoding: [0x05,0x00,0x08,0xd1,0x01,0xf7,0x00,0x00]
0x05,0x00,0x08,0xd1,0x01,0xf7,0x00,0x00

# CHECK: v_mul_u32_u24_e64 v5, v1, m0            ; encoding: [0x05,0x00,0x08,0xd1,0x01,0xf9,0x00,0x00]
0x05,0x00,0x08,0xd1,0x01,0xf9,0x00,0x00

# CHECK: v_mul_u32_u24_e64 v5, v1, exec_lo       ; encoding: [0x05,0x00,0x08,0xd1,0x01,0xfd,0x00,0x00]
0x05,0x00,0x08,0xd1,0x01,0xfd,0x00,0x00

# CHECK: v_mul_u32_u24_e64 v5, v1, exec_hi       ; encoding: [0x05,0x00,0x08,0xd1,0x01,0xff,0x00,0x00]
0x05,0x00,0x08,0xd1,0x01,0xff,0x00,0x00

# CHECK: v_mul_u32_u24_e64 v5, v1, 0             ; encoding: [0x05,0x00,0x08,0xd1,0x01,0x01,0x01,0x00]
0x05,0x00,0x08,0xd1,0x01,0x01,0x01,0x00

# CHECK: v_mul_u32_u24_e64 v5, v1, -1            ; encoding: [0x05,0x00,0x08,0xd1,0x01,0x83,0x01,0x00]
0x05,0x00,0x08,0xd1,0x01,0x83,0x01,0x00

# CHECK: v_mul_u32_u24_e64 v5, v1, 0.5           ; encoding: [0x05,0x00,0x08,0xd1,0x01,0xe1,0x01,0x00]
0x05,0x00,0x08,0xd1,0x01,0xe1,0x01,0x00

# CHECK: v_mul_u32_u24_e64 v5, v1, -4.0          ; encoding: [0x05,0x00,0x08,0xd1,0x01,0xef,0x01,0x00]
0x05,0x00,0x08,0xd1,0x01,0xef,0x01,0x00

# CHECK: v_mul_hi_u32_u24_e64 v5, v1, v2         ; encoding: [0x05,0x00,0x09,0xd1,0x01,0x05,0x02,0x00]
0x05,0x00,0x09,0xd1,0x01,0x05,0x02,0x00

# CHECK: v_mul_hi_u32_u24_e64 v255, v1, v2       ; encoding: [0xff,0x00,0x09,0xd1,0x01,0x05,0x02,0x00]
0xff,0x00,0x09,0xd1,0x01,0x05,0x02,0x00

# CHECK: v_mul_hi_u32_u24_e64 v5, v255, v2       ; encoding: [0x05,0x00,0x09,0xd1,0xff,0x05,0x02,0x00]
0x05,0x00,0x09,0xd1,0xff,0x05,0x02,0x00

# CHECK: v_mul_hi_u32_u24_e64 v5, s1, v2         ; encoding: [0x05,0x00,0x09,0xd1,0x01,0x04,0x02,0x00]
0x05,0x00,0x09,0xd1,0x01,0x04,0x02,0x00

# CHECK: v_mul_hi_u32_u24_e64 v5, s101, v2       ; encoding: [0x05,0x00,0x09,0xd1,0x65,0x04,0x02,0x00]
0x05,0x00,0x09,0xd1,0x65,0x04,0x02,0x00

# CHECK: v_mul_hi_u32_u24_e64 v5, flat_scratch_lo, v2 ; encoding: [0x05,0x00,0x09,0xd1,0x66,0x04,0x02,0x00]
0x05,0x00,0x09,0xd1,0x66,0x04,0x02,0x00

# CHECK: v_mul_hi_u32_u24_e64 v5, flat_scratch_hi, v2 ; encoding: [0x05,0x00,0x09,0xd1,0x67,0x04,0x02,0x00]
0x05,0x00,0x09,0xd1,0x67,0x04,0x02,0x00

# CHECK: v_mul_hi_u32_u24_e64 v5, vcc_lo, v2     ; encoding: [0x05,0x00,0x09,0xd1,0x6a,0x04,0x02,0x00]
0x05,0x00,0x09,0xd1,0x6a,0x04,0x02,0x00

# CHECK: v_mul_hi_u32_u24_e64 v5, vcc_hi, v2     ; encoding: [0x05,0x00,0x09,0xd1,0x6b,0x04,0x02,0x00]
0x05,0x00,0x09,0xd1,0x6b,0x04,0x02,0x00

# CHECK: v_mul_hi_u32_u24_e64 v5, tba_lo, v2     ; encoding: [0x05,0x00,0x09,0xd1,0x6c,0x04,0x02,0x00]
0x05,0x00,0x09,0xd1,0x6c,0x04,0x02,0x00

# CHECK: v_mul_hi_u32_u24_e64 v5, tba_hi, v2     ; encoding: [0x05,0x00,0x09,0xd1,0x6d,0x04,0x02,0x00]
0x05,0x00,0x09,0xd1,0x6d,0x04,0x02,0x00

# CHECK: v_mul_hi_u32_u24_e64 v5, tma_lo, v2     ; encoding: [0x05,0x00,0x09,0xd1,0x6e,0x04,0x02,0x00]
0x05,0x00,0x09,0xd1,0x6e,0x04,0x02,0x00

# CHECK: v_mul_hi_u32_u24_e64 v5, tma_hi, v2     ; encoding: [0x05,0x00,0x09,0xd1,0x6f,0x04,0x02,0x00]
0x05,0x00,0x09,0xd1,0x6f,0x04,0x02,0x00

# CHECK: v_mul_hi_u32_u24_e64 v5, ttmp11, v2     ; encoding: [0x05,0x00,0x09,0xd1,0x7b,0x04,0x02,0x00]
0x05,0x00,0x09,0xd1,0x7b,0x04,0x02,0x00

# CHECK: v_mul_hi_u32_u24_e64 v5, m0, v2         ; encoding: [0x05,0x00,0x09,0xd1,0x7c,0x04,0x02,0x00]
0x05,0x00,0x09,0xd1,0x7c,0x04,0x02,0x00

# CHECK: v_mul_hi_u32_u24_e64 v5, exec_lo, v2    ; encoding: [0x05,0x00,0x09,0xd1,0x7e,0x04,0x02,0x00]
0x05,0x00,0x09,0xd1,0x7e,0x04,0x02,0x00

# CHECK: v_mul_hi_u32_u24_e64 v5, exec_hi, v2    ; encoding: [0x05,0x00,0x09,0xd1,0x7f,0x04,0x02,0x00]
0x05,0x00,0x09,0xd1,0x7f,0x04,0x02,0x00

# CHECK: v_mul_hi_u32_u24_e64 v5, 0, v2          ; encoding: [0x05,0x00,0x09,0xd1,0x80,0x04,0x02,0x00]
0x05,0x00,0x09,0xd1,0x80,0x04,0x02,0x00

# CHECK: v_mul_hi_u32_u24_e64 v5, -1, v2         ; encoding: [0x05,0x00,0x09,0xd1,0xc1,0x04,0x02,0x00]
0x05,0x00,0x09,0xd1,0xc1,0x04,0x02,0x00

# CHECK: v_mul_hi_u32_u24_e64 v5, 0.5, v2        ; encoding: [0x05,0x00,0x09,0xd1,0xf0,0x04,0x02,0x00]
0x05,0x00,0x09,0xd1,0xf0,0x04,0x02,0x00

# CHECK: v_mul_hi_u32_u24_e64 v5, -4.0, v2       ; encoding: [0x05,0x00,0x09,0xd1,0xf7,0x04,0x02,0x00]
0x05,0x00,0x09,0xd1,0xf7,0x04,0x02,0x00

# CHECK: v_mul_hi_u32_u24_e64 v5, v1, v255       ; encoding: [0x05,0x00,0x09,0xd1,0x01,0xff,0x03,0x00]
0x05,0x00,0x09,0xd1,0x01,0xff,0x03,0x00

# CHECK: v_mul_hi_u32_u24_e64 v5, v1, s2         ; encoding: [0x05,0x00,0x09,0xd1,0x01,0x05,0x00,0x00]
0x05,0x00,0x09,0xd1,0x01,0x05,0x00,0x00

# CHECK: v_mul_hi_u32_u24_e64 v5, v1, s101       ; encoding: [0x05,0x00,0x09,0xd1,0x01,0xcb,0x00,0x00]
0x05,0x00,0x09,0xd1,0x01,0xcb,0x00,0x00

# CHECK: v_mul_hi_u32_u24_e64 v5, v1, flat_scratch_lo ; encoding: [0x05,0x00,0x09,0xd1,0x01,0xcd,0x00,0x00]
0x05,0x00,0x09,0xd1,0x01,0xcd,0x00,0x00

# CHECK: v_mul_hi_u32_u24_e64 v5, v1, flat_scratch_hi ; encoding: [0x05,0x00,0x09,0xd1,0x01,0xcf,0x00,0x00]
0x05,0x00,0x09,0xd1,0x01,0xcf,0x00,0x00

# CHECK: v_mul_hi_u32_u24_e64 v5, v1, vcc_lo     ; encoding: [0x05,0x00,0x09,0xd1,0x01,0xd5,0x00,0x00]
0x05,0x00,0x09,0xd1,0x01,0xd5,0x00,0x00

# CHECK: v_mul_hi_u32_u24_e64 v5, v1, vcc_hi     ; encoding: [0x05,0x00,0x09,0xd1,0x01,0xd7,0x00,0x00]
0x05,0x00,0x09,0xd1,0x01,0xd7,0x00,0x00

# CHECK: v_mul_hi_u32_u24_e64 v5, v1, tba_lo     ; encoding: [0x05,0x00,0x09,0xd1,0x01,0xd9,0x00,0x00]
0x05,0x00,0x09,0xd1,0x01,0xd9,0x00,0x00

# CHECK: v_mul_hi_u32_u24_e64 v5, v1, tba_hi     ; encoding: [0x05,0x00,0x09,0xd1,0x01,0xdb,0x00,0x00]
0x05,0x00,0x09,0xd1,0x01,0xdb,0x00,0x00

# CHECK: v_mul_hi_u32_u24_e64 v5, v1, tma_lo     ; encoding: [0x05,0x00,0x09,0xd1,0x01,0xdd,0x00,0x00]
0x05,0x00,0x09,0xd1,0x01,0xdd,0x00,0x00

# CHECK: v_mul_hi_u32_u24_e64 v5, v1, tma_hi     ; encoding: [0x05,0x00,0x09,0xd1,0x01,0xdf,0x00,0x00]
0x05,0x00,0x09,0xd1,0x01,0xdf,0x00,0x00

# CHECK: v_mul_hi_u32_u24_e64 v5, v1, ttmp11     ; encoding: [0x05,0x00,0x09,0xd1,0x01,0xf7,0x00,0x00]
0x05,0x00,0x09,0xd1,0x01,0xf7,0x00,0x00

# CHECK: v_mul_hi_u32_u24_e64 v5, v1, m0         ; encoding: [0x05,0x00,0x09,0xd1,0x01,0xf9,0x00,0x00]
0x05,0x00,0x09,0xd1,0x01,0xf9,0x00,0x00

# CHECK: v_mul_hi_u32_u24_e64 v5, v1, exec_lo    ; encoding: [0x05,0x00,0x09,0xd1,0x01,0xfd,0x00,0x00]
0x05,0x00,0x09,0xd1,0x01,0xfd,0x00,0x00

# CHECK: v_mul_hi_u32_u24_e64 v5, v1, exec_hi    ; encoding: [0x05,0x00,0x09,0xd1,0x01,0xff,0x00,0x00]
0x05,0x00,0x09,0xd1,0x01,0xff,0x00,0x00

# CHECK: v_mul_hi_u32_u24_e64 v5, v1, 0          ; encoding: [0x05,0x00,0x09,0xd1,0x01,0x01,0x01,0x00]
0x05,0x00,0x09,0xd1,0x01,0x01,0x01,0x00

# CHECK: v_mul_hi_u32_u24_e64 v5, v1, -1         ; encoding: [0x05,0x00,0x09,0xd1,0x01,0x83,0x01,0x00]
0x05,0x00,0x09,0xd1,0x01,0x83,0x01,0x00

# CHECK: v_mul_hi_u32_u24_e64 v5, v1, 0.5        ; encoding: [0x05,0x00,0x09,0xd1,0x01,0xe1,0x01,0x00]
0x05,0x00,0x09,0xd1,0x01,0xe1,0x01,0x00

# CHECK: v_mul_hi_u32_u24_e64 v5, v1, -4.0       ; encoding: [0x05,0x00,0x09,0xd1,0x01,0xef,0x01,0x00]
0x05,0x00,0x09,0xd1,0x01,0xef,0x01,0x00

# CHECK: v_min_f32_e64 v5, v1, v2                ; encoding: [0x05,0x00,0x0a,0xd1,0x01,0x05,0x02,0x00]
0x05,0x00,0x0a,0xd1,0x01,0x05,0x02,0x00

# CHECK: v_min_f32_e64 v255, v1, v2              ; encoding: [0xff,0x00,0x0a,0xd1,0x01,0x05,0x02,0x00]
0xff,0x00,0x0a,0xd1,0x01,0x05,0x02,0x00

# CHECK: v_min_f32_e64 v5, v255, v2              ; encoding: [0x05,0x00,0x0a,0xd1,0xff,0x05,0x02,0x00]
0x05,0x00,0x0a,0xd1,0xff,0x05,0x02,0x00

# CHECK: v_min_f32_e64 v5, s1, v2                ; encoding: [0x05,0x00,0x0a,0xd1,0x01,0x04,0x02,0x00]
0x05,0x00,0x0a,0xd1,0x01,0x04,0x02,0x00

# CHECK: v_min_f32_e64 v5, s101, v2              ; encoding: [0x05,0x00,0x0a,0xd1,0x65,0x04,0x02,0x00]
0x05,0x00,0x0a,0xd1,0x65,0x04,0x02,0x00

# CHECK: v_min_f32_e64 v5, flat_scratch_lo, v2   ; encoding: [0x05,0x00,0x0a,0xd1,0x66,0x04,0x02,0x00]
0x05,0x00,0x0a,0xd1,0x66,0x04,0x02,0x00

# CHECK: v_min_f32_e64 v5, flat_scratch_hi, v2   ; encoding: [0x05,0x00,0x0a,0xd1,0x67,0x04,0x02,0x00]
0x05,0x00,0x0a,0xd1,0x67,0x04,0x02,0x00

# CHECK: v_min_f32_e64 v5, vcc_lo, v2            ; encoding: [0x05,0x00,0x0a,0xd1,0x6a,0x04,0x02,0x00]
0x05,0x00,0x0a,0xd1,0x6a,0x04,0x02,0x00

# CHECK: v_min_f32_e64 v5, vcc_hi, v2            ; encoding: [0x05,0x00,0x0a,0xd1,0x6b,0x04,0x02,0x00]
0x05,0x00,0x0a,0xd1,0x6b,0x04,0x02,0x00

# CHECK: v_min_f32_e64 v5, tba_lo, v2            ; encoding: [0x05,0x00,0x0a,0xd1,0x6c,0x04,0x02,0x00]
0x05,0x00,0x0a,0xd1,0x6c,0x04,0x02,0x00

# CHECK: v_min_f32_e64 v5, tba_hi, v2            ; encoding: [0x05,0x00,0x0a,0xd1,0x6d,0x04,0x02,0x00]
0x05,0x00,0x0a,0xd1,0x6d,0x04,0x02,0x00

# CHECK: v_min_f32_e64 v5, tma_lo, v2            ; encoding: [0x05,0x00,0x0a,0xd1,0x6e,0x04,0x02,0x00]
0x05,0x00,0x0a,0xd1,0x6e,0x04,0x02,0x00

# CHECK: v_min_f32_e64 v5, tma_hi, v2            ; encoding: [0x05,0x00,0x0a,0xd1,0x6f,0x04,0x02,0x00]
0x05,0x00,0x0a,0xd1,0x6f,0x04,0x02,0x00

# CHECK: v_min_f32_e64 v5, ttmp11, v2            ; encoding: [0x05,0x00,0x0a,0xd1,0x7b,0x04,0x02,0x00]
0x05,0x00,0x0a,0xd1,0x7b,0x04,0x02,0x00

# CHECK: v_min_f32_e64 v5, m0, v2                ; encoding: [0x05,0x00,0x0a,0xd1,0x7c,0x04,0x02,0x00]
0x05,0x00,0x0a,0xd1,0x7c,0x04,0x02,0x00

# CHECK: v_min_f32_e64 v5, exec_lo, v2           ; encoding: [0x05,0x00,0x0a,0xd1,0x7e,0x04,0x02,0x00]
0x05,0x00,0x0a,0xd1,0x7e,0x04,0x02,0x00

# CHECK: v_min_f32_e64 v5, exec_hi, v2           ; encoding: [0x05,0x00,0x0a,0xd1,0x7f,0x04,0x02,0x00]
0x05,0x00,0x0a,0xd1,0x7f,0x04,0x02,0x00

# CHECK: v_min_f32_e64 v5, 0, v2                 ; encoding: [0x05,0x00,0x0a,0xd1,0x80,0x04,0x02,0x00]
0x05,0x00,0x0a,0xd1,0x80,0x04,0x02,0x00

# CHECK: v_min_f32_e64 v5, -1, v2                ; encoding: [0x05,0x00,0x0a,0xd1,0xc1,0x04,0x02,0x00]
0x05,0x00,0x0a,0xd1,0xc1,0x04,0x02,0x00

# CHECK: v_min_f32_e64 v5, 0.5, v2               ; encoding: [0x05,0x00,0x0a,0xd1,0xf0,0x04,0x02,0x00]
0x05,0x00,0x0a,0xd1,0xf0,0x04,0x02,0x00

# CHECK: v_min_f32_e64 v5, -4.0, v2              ; encoding: [0x05,0x00,0x0a,0xd1,0xf7,0x04,0x02,0x00]
0x05,0x00,0x0a,0xd1,0xf7,0x04,0x02,0x00

# CHECK: v_min_f32_e64 v5, v1, v255              ; encoding: [0x05,0x00,0x0a,0xd1,0x01,0xff,0x03,0x00]
0x05,0x00,0x0a,0xd1,0x01,0xff,0x03,0x00

# CHECK: v_min_f32_e64 v5, v1, s2                ; encoding: [0x05,0x00,0x0a,0xd1,0x01,0x05,0x00,0x00]
0x05,0x00,0x0a,0xd1,0x01,0x05,0x00,0x00

# CHECK: v_min_f32_e64 v5, v1, s101              ; encoding: [0x05,0x00,0x0a,0xd1,0x01,0xcb,0x00,0x00]
0x05,0x00,0x0a,0xd1,0x01,0xcb,0x00,0x00

# CHECK: v_min_f32_e64 v5, v1, flat_scratch_lo   ; encoding: [0x05,0x00,0x0a,0xd1,0x01,0xcd,0x00,0x00]
0x05,0x00,0x0a,0xd1,0x01,0xcd,0x00,0x00

# CHECK: v_min_f32_e64 v5, v1, flat_scratch_hi   ; encoding: [0x05,0x00,0x0a,0xd1,0x01,0xcf,0x00,0x00]
0x05,0x00,0x0a,0xd1,0x01,0xcf,0x00,0x00

# CHECK: v_min_f32_e64 v5, v1, vcc_lo            ; encoding: [0x05,0x00,0x0a,0xd1,0x01,0xd5,0x00,0x00]
0x05,0x00,0x0a,0xd1,0x01,0xd5,0x00,0x00

# CHECK: v_min_f32_e64 v5, v1, vcc_hi            ; encoding: [0x05,0x00,0x0a,0xd1,0x01,0xd7,0x00,0x00]
0x05,0x00,0x0a,0xd1,0x01,0xd7,0x00,0x00

# CHECK: v_min_f32_e64 v5, v1, tba_lo            ; encoding: [0x05,0x00,0x0a,0xd1,0x01,0xd9,0x00,0x00]
0x05,0x00,0x0a,0xd1,0x01,0xd9,0x00,0x00

# CHECK: v_min_f32_e64 v5, v1, tba_hi            ; encoding: [0x05,0x00,0x0a,0xd1,0x01,0xdb,0x00,0x00]
0x05,0x00,0x0a,0xd1,0x01,0xdb,0x00,0x00

# CHECK: v_min_f32_e64 v5, v1, tma_lo            ; encoding: [0x05,0x00,0x0a,0xd1,0x01,0xdd,0x00,0x00]
0x05,0x00,0x0a,0xd1,0x01,0xdd,0x00,0x00

# CHECK: v_min_f32_e64 v5, v1, tma_hi            ; encoding: [0x05,0x00,0x0a,0xd1,0x01,0xdf,0x00,0x00]
0x05,0x00,0x0a,0xd1,0x01,0xdf,0x00,0x00

# CHECK: v_min_f32_e64 v5, v1, ttmp11            ; encoding: [0x05,0x00,0x0a,0xd1,0x01,0xf7,0x00,0x00]
0x05,0x00,0x0a,0xd1,0x01,0xf7,0x00,0x00

# CHECK: v_min_f32_e64 v5, v1, m0                ; encoding: [0x05,0x00,0x0a,0xd1,0x01,0xf9,0x00,0x00]
0x05,0x00,0x0a,0xd1,0x01,0xf9,0x00,0x00

# CHECK: v_min_f32_e64 v5, v1, exec_lo           ; encoding: [0x05,0x00,0x0a,0xd1,0x01,0xfd,0x00,0x00]
0x05,0x00,0x0a,0xd1,0x01,0xfd,0x00,0x00

# CHECK: v_min_f32_e64 v5, v1, exec_hi           ; encoding: [0x05,0x00,0x0a,0xd1,0x01,0xff,0x00,0x00]
0x05,0x00,0x0a,0xd1,0x01,0xff,0x00,0x00

# CHECK: v_min_f32_e64 v5, v1, 0                 ; encoding: [0x05,0x00,0x0a,0xd1,0x01,0x01,0x01,0x00]
0x05,0x00,0x0a,0xd1,0x01,0x01,0x01,0x00

# CHECK: v_min_f32_e64 v5, v1, -1                ; encoding: [0x05,0x00,0x0a,0xd1,0x01,0x83,0x01,0x00]
0x05,0x00,0x0a,0xd1,0x01,0x83,0x01,0x00

# CHECK: v_min_f32_e64 v5, v1, 0.5               ; encoding: [0x05,0x00,0x0a,0xd1,0x01,0xe1,0x01,0x00]
0x05,0x00,0x0a,0xd1,0x01,0xe1,0x01,0x00

# CHECK: v_min_f32_e64 v5, v1, -4.0              ; encoding: [0x05,0x00,0x0a,0xd1,0x01,0xef,0x01,0x00]
0x05,0x00,0x0a,0xd1,0x01,0xef,0x01,0x00

# CHECK: v_min_f32_e64 v5, -v1, v2               ; encoding: [0x05,0x00,0x0a,0xd1,0x01,0x05,0x02,0x20]
0x05,0x00,0x0a,0xd1,0x01,0x05,0x02,0x20

# CHECK: v_min_f32_e64 v5, v1, -v2               ; encoding: [0x05,0x00,0x0a,0xd1,0x01,0x05,0x02,0x40]
0x05,0x00,0x0a,0xd1,0x01,0x05,0x02,0x40

# CHECK: v_min_f32_e64 v5, -v1, -v2              ; encoding: [0x05,0x00,0x0a,0xd1,0x01,0x05,0x02,0x60]
0x05,0x00,0x0a,0xd1,0x01,0x05,0x02,0x60

# CHECK: v_min_f32_e64 v5, |v1|, v2              ; encoding: [0x05,0x01,0x0a,0xd1,0x01,0x05,0x02,0x00]
0x05,0x01,0x0a,0xd1,0x01,0x05,0x02,0x00

# CHECK: v_min_f32_e64 v5, v1, |v2|              ; encoding: [0x05,0x02,0x0a,0xd1,0x01,0x05,0x02,0x00]
0x05,0x02,0x0a,0xd1,0x01,0x05,0x02,0x00

# CHECK: v_min_f32_e64 v5, |v1|, |v2|            ; encoding: [0x05,0x03,0x0a,0xd1,0x01,0x05,0x02,0x00]
0x05,0x03,0x0a,0xd1,0x01,0x05,0x02,0x00

# CHECK: v_min_f32_e64 v5, v1, v2 clamp          ; encoding: [0x05,0x80,0x0a,0xd1,0x01,0x05,0x02,0x00]
0x05,0x80,0x0a,0xd1,0x01,0x05,0x02,0x00

# CHECK: v_min_f32_e64 v5, v1, v2 mul:2          ; encoding: [0x05,0x00,0x0a,0xd1,0x01,0x05,0x02,0x08]
0x05,0x00,0x0a,0xd1,0x01,0x05,0x02,0x08

# CHECK: v_min_f32_e64 v5, v1, v2 mul:4          ; encoding: [0x05,0x00,0x0a,0xd1,0x01,0x05,0x02,0x10]
0x05,0x00,0x0a,0xd1,0x01,0x05,0x02,0x10

# CHECK: v_min_f32_e64 v5, v1, v2 div:2          ; encoding: [0x05,0x00,0x0a,0xd1,0x01,0x05,0x02,0x18]
0x05,0x00,0x0a,0xd1,0x01,0x05,0x02,0x18

# CHECK: v_max_f32_e64 v5, v1, v2                ; encoding: [0x05,0x00,0x0b,0xd1,0x01,0x05,0x02,0x00]
0x05,0x00,0x0b,0xd1,0x01,0x05,0x02,0x00

# CHECK: v_max_f32_e64 v255, v1, v2              ; encoding: [0xff,0x00,0x0b,0xd1,0x01,0x05,0x02,0x00]
0xff,0x00,0x0b,0xd1,0x01,0x05,0x02,0x00

# CHECK: v_max_f32_e64 v5, v255, v2              ; encoding: [0x05,0x00,0x0b,0xd1,0xff,0x05,0x02,0x00]
0x05,0x00,0x0b,0xd1,0xff,0x05,0x02,0x00

# CHECK: v_max_f32_e64 v5, s1, v2                ; encoding: [0x05,0x00,0x0b,0xd1,0x01,0x04,0x02,0x00]
0x05,0x00,0x0b,0xd1,0x01,0x04,0x02,0x00

# CHECK: v_max_f32_e64 v5, s101, v2              ; encoding: [0x05,0x00,0x0b,0xd1,0x65,0x04,0x02,0x00]
0x05,0x00,0x0b,0xd1,0x65,0x04,0x02,0x00

# CHECK: v_max_f32_e64 v5, flat_scratch_lo, v2   ; encoding: [0x05,0x00,0x0b,0xd1,0x66,0x04,0x02,0x00]
0x05,0x00,0x0b,0xd1,0x66,0x04,0x02,0x00

# CHECK: v_max_f32_e64 v5, flat_scratch_hi, v2   ; encoding: [0x05,0x00,0x0b,0xd1,0x67,0x04,0x02,0x00]
0x05,0x00,0x0b,0xd1,0x67,0x04,0x02,0x00

# CHECK: v_max_f32_e64 v5, vcc_lo, v2            ; encoding: [0x05,0x00,0x0b,0xd1,0x6a,0x04,0x02,0x00]
0x05,0x00,0x0b,0xd1,0x6a,0x04,0x02,0x00

# CHECK: v_max_f32_e64 v5, vcc_hi, v2            ; encoding: [0x05,0x00,0x0b,0xd1,0x6b,0x04,0x02,0x00]
0x05,0x00,0x0b,0xd1,0x6b,0x04,0x02,0x00

# CHECK: v_max_f32_e64 v5, tba_lo, v2            ; encoding: [0x05,0x00,0x0b,0xd1,0x6c,0x04,0x02,0x00]
0x05,0x00,0x0b,0xd1,0x6c,0x04,0x02,0x00

# CHECK: v_max_f32_e64 v5, tba_hi, v2            ; encoding: [0x05,0x00,0x0b,0xd1,0x6d,0x04,0x02,0x00]
0x05,0x00,0x0b,0xd1,0x6d,0x04,0x02,0x00

# CHECK: v_max_f32_e64 v5, tma_lo, v2            ; encoding: [0x05,0x00,0x0b,0xd1,0x6e,0x04,0x02,0x00]
0x05,0x00,0x0b,0xd1,0x6e,0x04,0x02,0x00

# CHECK: v_max_f32_e64 v5, tma_hi, v2            ; encoding: [0x05,0x00,0x0b,0xd1,0x6f,0x04,0x02,0x00]
0x05,0x00,0x0b,0xd1,0x6f,0x04,0x02,0x00

# CHECK: v_max_f32_e64 v5, ttmp11, v2            ; encoding: [0x05,0x00,0x0b,0xd1,0x7b,0x04,0x02,0x00]
0x05,0x00,0x0b,0xd1,0x7b,0x04,0x02,0x00

# CHECK: v_max_f32_e64 v5, m0, v2                ; encoding: [0x05,0x00,0x0b,0xd1,0x7c,0x04,0x02,0x00]
0x05,0x00,0x0b,0xd1,0x7c,0x04,0x02,0x00

# CHECK: v_max_f32_e64 v5, exec_lo, v2           ; encoding: [0x05,0x00,0x0b,0xd1,0x7e,0x04,0x02,0x00]
0x05,0x00,0x0b,0xd1,0x7e,0x04,0x02,0x00

# CHECK: v_max_f32_e64 v5, exec_hi, v2           ; encoding: [0x05,0x00,0x0b,0xd1,0x7f,0x04,0x02,0x00]
0x05,0x00,0x0b,0xd1,0x7f,0x04,0x02,0x00

# CHECK: v_max_f32_e64 v5, 0, v2                 ; encoding: [0x05,0x00,0x0b,0xd1,0x80,0x04,0x02,0x00]
0x05,0x00,0x0b,0xd1,0x80,0x04,0x02,0x00

# CHECK: v_max_f32_e64 v5, -1, v2                ; encoding: [0x05,0x00,0x0b,0xd1,0xc1,0x04,0x02,0x00]
0x05,0x00,0x0b,0xd1,0xc1,0x04,0x02,0x00

# CHECK: v_max_f32_e64 v5, 0.5, v2               ; encoding: [0x05,0x00,0x0b,0xd1,0xf0,0x04,0x02,0x00]
0x05,0x00,0x0b,0xd1,0xf0,0x04,0x02,0x00

# CHECK: v_max_f32_e64 v5, -4.0, v2              ; encoding: [0x05,0x00,0x0b,0xd1,0xf7,0x04,0x02,0x00]
0x05,0x00,0x0b,0xd1,0xf7,0x04,0x02,0x00

# CHECK: v_max_f32_e64 v5, v1, v255              ; encoding: [0x05,0x00,0x0b,0xd1,0x01,0xff,0x03,0x00]
0x05,0x00,0x0b,0xd1,0x01,0xff,0x03,0x00

# CHECK: v_max_f32_e64 v5, v1, s2                ; encoding: [0x05,0x00,0x0b,0xd1,0x01,0x05,0x00,0x00]
0x05,0x00,0x0b,0xd1,0x01,0x05,0x00,0x00

# CHECK: v_max_f32_e64 v5, v1, s101              ; encoding: [0x05,0x00,0x0b,0xd1,0x01,0xcb,0x00,0x00]
0x05,0x00,0x0b,0xd1,0x01,0xcb,0x00,0x00

# CHECK: v_max_f32_e64 v5, v1, flat_scratch_lo   ; encoding: [0x05,0x00,0x0b,0xd1,0x01,0xcd,0x00,0x00]
0x05,0x00,0x0b,0xd1,0x01,0xcd,0x00,0x00

# CHECK: v_max_f32_e64 v5, v1, flat_scratch_hi   ; encoding: [0x05,0x00,0x0b,0xd1,0x01,0xcf,0x00,0x00]
0x05,0x00,0x0b,0xd1,0x01,0xcf,0x00,0x00

# CHECK: v_max_f32_e64 v5, v1, vcc_lo            ; encoding: [0x05,0x00,0x0b,0xd1,0x01,0xd5,0x00,0x00]
0x05,0x00,0x0b,0xd1,0x01,0xd5,0x00,0x00

# CHECK: v_max_f32_e64 v5, v1, vcc_hi            ; encoding: [0x05,0x00,0x0b,0xd1,0x01,0xd7,0x00,0x00]
0x05,0x00,0x0b,0xd1,0x01,0xd7,0x00,0x00

# CHECK: v_max_f32_e64 v5, v1, tba_lo            ; encoding: [0x05,0x00,0x0b,0xd1,0x01,0xd9,0x00,0x00]
0x05,0x00,0x0b,0xd1,0x01,0xd9,0x00,0x00

# CHECK: v_max_f32_e64 v5, v1, tba_hi            ; encoding: [0x05,0x00,0x0b,0xd1,0x01,0xdb,0x00,0x00]
0x05,0x00,0x0b,0xd1,0x01,0xdb,0x00,0x00

# CHECK: v_max_f32_e64 v5, v1, tma_lo            ; encoding: [0x05,0x00,0x0b,0xd1,0x01,0xdd,0x00,0x00]
0x05,0x00,0x0b,0xd1,0x01,0xdd,0x00,0x00

# CHECK: v_max_f32_e64 v5, v1, tma_hi            ; encoding: [0x05,0x00,0x0b,0xd1,0x01,0xdf,0x00,0x00]
0x05,0x00,0x0b,0xd1,0x01,0xdf,0x00,0x00

# CHECK: v_max_f32_e64 v5, v1, ttmp11            ; encoding: [0x05,0x00,0x0b,0xd1,0x01,0xf7,0x00,0x00]
0x05,0x00,0x0b,0xd1,0x01,0xf7,0x00,0x00

# CHECK: v_max_f32_e64 v5, v1, m0                ; encoding: [0x05,0x00,0x0b,0xd1,0x01,0xf9,0x00,0x00]
0x05,0x00,0x0b,0xd1,0x01,0xf9,0x00,0x00

# CHECK: v_max_f32_e64 v5, v1, exec_lo           ; encoding: [0x05,0x00,0x0b,0xd1,0x01,0xfd,0x00,0x00]
0x05,0x00,0x0b,0xd1,0x01,0xfd,0x00,0x00

# CHECK: v_max_f32_e64 v5, v1, exec_hi           ; encoding: [0x05,0x00,0x0b,0xd1,0x01,0xff,0x00,0x00]
0x05,0x00,0x0b,0xd1,0x01,0xff,0x00,0x00

# CHECK: v_max_f32_e64 v5, v1, 0                 ; encoding: [0x05,0x00,0x0b,0xd1,0x01,0x01,0x01,0x00]
0x05,0x00,0x0b,0xd1,0x01,0x01,0x01,0x00

# CHECK: v_max_f32_e64 v5, v1, -1                ; encoding: [0x05,0x00,0x0b,0xd1,0x01,0x83,0x01,0x00]
0x05,0x00,0x0b,0xd1,0x01,0x83,0x01,0x00

# CHECK: v_max_f32_e64 v5, v1, 0.5               ; encoding: [0x05,0x00,0x0b,0xd1,0x01,0xe1,0x01,0x00]
0x05,0x00,0x0b,0xd1,0x01,0xe1,0x01,0x00

# CHECK: v_max_f32_e64 v5, v1, -4.0              ; encoding: [0x05,0x00,0x0b,0xd1,0x01,0xef,0x01,0x00]
0x05,0x00,0x0b,0xd1,0x01,0xef,0x01,0x00

# CHECK: v_max_f32_e64 v5, -v1, v2               ; encoding: [0x05,0x00,0x0b,0xd1,0x01,0x05,0x02,0x20]
0x05,0x00,0x0b,0xd1,0x01,0x05,0x02,0x20

# CHECK: v_max_f32_e64 v5, v1, -v2               ; encoding: [0x05,0x00,0x0b,0xd1,0x01,0x05,0x02,0x40]
0x05,0x00,0x0b,0xd1,0x01,0x05,0x02,0x40

# CHECK: v_max_f32_e64 v5, -v1, -v2              ; encoding: [0x05,0x00,0x0b,0xd1,0x01,0x05,0x02,0x60]
0x05,0x00,0x0b,0xd1,0x01,0x05,0x02,0x60

# CHECK: v_max_f32_e64 v5, |v1|, v2              ; encoding: [0x05,0x01,0x0b,0xd1,0x01,0x05,0x02,0x00]
0x05,0x01,0x0b,0xd1,0x01,0x05,0x02,0x00

# CHECK: v_max_f32_e64 v5, v1, |v2|              ; encoding: [0x05,0x02,0x0b,0xd1,0x01,0x05,0x02,0x00]
0x05,0x02,0x0b,0xd1,0x01,0x05,0x02,0x00

# CHECK: v_max_f32_e64 v5, |v1|, |v2|            ; encoding: [0x05,0x03,0x0b,0xd1,0x01,0x05,0x02,0x00]
0x05,0x03,0x0b,0xd1,0x01,0x05,0x02,0x00

# CHECK: v_max_f32_e64 v5, v1, v2 clamp          ; encoding: [0x05,0x80,0x0b,0xd1,0x01,0x05,0x02,0x00]
0x05,0x80,0x0b,0xd1,0x01,0x05,0x02,0x00

# CHECK: v_max_f32_e64 v5, v1, v2 mul:2          ; encoding: [0x05,0x00,0x0b,0xd1,0x01,0x05,0x02,0x08]
0x05,0x00,0x0b,0xd1,0x01,0x05,0x02,0x08

# CHECK: v_max_f32_e64 v5, v1, v2 mul:4          ; encoding: [0x05,0x00,0x0b,0xd1,0x01,0x05,0x02,0x10]
0x05,0x00,0x0b,0xd1,0x01,0x05,0x02,0x10

# CHECK: v_max_f32_e64 v5, v1, v2 div:2          ; encoding: [0x05,0x00,0x0b,0xd1,0x01,0x05,0x02,0x18]
0x05,0x00,0x0b,0xd1,0x01,0x05,0x02,0x18

# CHECK: v_min_i32_e64 v5, v1, v2                ; encoding: [0x05,0x00,0x0c,0xd1,0x01,0x05,0x02,0x00]
0x05,0x00,0x0c,0xd1,0x01,0x05,0x02,0x00

# CHECK: v_min_i32_e64 v255, v1, v2              ; encoding: [0xff,0x00,0x0c,0xd1,0x01,0x05,0x02,0x00]
0xff,0x00,0x0c,0xd1,0x01,0x05,0x02,0x00

# CHECK: v_min_i32_e64 v5, v255, v2              ; encoding: [0x05,0x00,0x0c,0xd1,0xff,0x05,0x02,0x00]
0x05,0x00,0x0c,0xd1,0xff,0x05,0x02,0x00

# CHECK: v_min_i32_e64 v5, s1, v2                ; encoding: [0x05,0x00,0x0c,0xd1,0x01,0x04,0x02,0x00]
0x05,0x00,0x0c,0xd1,0x01,0x04,0x02,0x00

# CHECK: v_min_i32_e64 v5, s101, v2              ; encoding: [0x05,0x00,0x0c,0xd1,0x65,0x04,0x02,0x00]
0x05,0x00,0x0c,0xd1,0x65,0x04,0x02,0x00

# CHECK: v_min_i32_e64 v5, flat_scratch_lo, v2   ; encoding: [0x05,0x00,0x0c,0xd1,0x66,0x04,0x02,0x00]
0x05,0x00,0x0c,0xd1,0x66,0x04,0x02,0x00

# CHECK: v_min_i32_e64 v5, flat_scratch_hi, v2   ; encoding: [0x05,0x00,0x0c,0xd1,0x67,0x04,0x02,0x00]
0x05,0x00,0x0c,0xd1,0x67,0x04,0x02,0x00

# CHECK: v_min_i32_e64 v5, vcc_lo, v2            ; encoding: [0x05,0x00,0x0c,0xd1,0x6a,0x04,0x02,0x00]
0x05,0x00,0x0c,0xd1,0x6a,0x04,0x02,0x00

# CHECK: v_min_i32_e64 v5, vcc_hi, v2            ; encoding: [0x05,0x00,0x0c,0xd1,0x6b,0x04,0x02,0x00]
0x05,0x00,0x0c,0xd1,0x6b,0x04,0x02,0x00

# CHECK: v_min_i32_e64 v5, tba_lo, v2            ; encoding: [0x05,0x00,0x0c,0xd1,0x6c,0x04,0x02,0x00]
0x05,0x00,0x0c,0xd1,0x6c,0x04,0x02,0x00

# CHECK: v_min_i32_e64 v5, tba_hi, v2            ; encoding: [0x05,0x00,0x0c,0xd1,0x6d,0x04,0x02,0x00]
0x05,0x00,0x0c,0xd1,0x6d,0x04,0x02,0x00

# CHECK: v_min_i32_e64 v5, tma_lo, v2            ; encoding: [0x05,0x00,0x0c,0xd1,0x6e,0x04,0x02,0x00]
0x05,0x00,0x0c,0xd1,0x6e,0x04,0x02,0x00

# CHECK: v_min_i32_e64 v5, tma_hi, v2            ; encoding: [0x05,0x00,0x0c,0xd1,0x6f,0x04,0x02,0x00]
0x05,0x00,0x0c,0xd1,0x6f,0x04,0x02,0x00

# CHECK: v_min_i32_e64 v5, ttmp11, v2            ; encoding: [0x05,0x00,0x0c,0xd1,0x7b,0x04,0x02,0x00]
0x05,0x00,0x0c,0xd1,0x7b,0x04,0x02,0x00

# CHECK: v_min_i32_e64 v5, m0, v2                ; encoding: [0x05,0x00,0x0c,0xd1,0x7c,0x04,0x02,0x00]
0x05,0x00,0x0c,0xd1,0x7c,0x04,0x02,0x00

# CHECK: v_min_i32_e64 v5, exec_lo, v2           ; encoding: [0x05,0x00,0x0c,0xd1,0x7e,0x04,0x02,0x00]
0x05,0x00,0x0c,0xd1,0x7e,0x04,0x02,0x00

# CHECK: v_min_i32_e64 v5, exec_hi, v2           ; encoding: [0x05,0x00,0x0c,0xd1,0x7f,0x04,0x02,0x00]
0x05,0x00,0x0c,0xd1,0x7f,0x04,0x02,0x00

# CHECK: v_min_i32_e64 v5, 0, v2                 ; encoding: [0x05,0x00,0x0c,0xd1,0x80,0x04,0x02,0x00]
0x05,0x00,0x0c,0xd1,0x80,0x04,0x02,0x00

# CHECK: v_min_i32_e64 v5, -1, v2                ; encoding: [0x05,0x00,0x0c,0xd1,0xc1,0x04,0x02,0x00]
0x05,0x00,0x0c,0xd1,0xc1,0x04,0x02,0x00

# CHECK: v_min_i32_e64 v5, 0.5, v2               ; encoding: [0x05,0x00,0x0c,0xd1,0xf0,0x04,0x02,0x00]
0x05,0x00,0x0c,0xd1,0xf0,0x04,0x02,0x00

# CHECK: v_min_i32_e64 v5, -4.0, v2              ; encoding: [0x05,0x00,0x0c,0xd1,0xf7,0x04,0x02,0x00]
0x05,0x00,0x0c,0xd1,0xf7,0x04,0x02,0x00

# CHECK: v_min_i32_e64 v5, v1, v255              ; encoding: [0x05,0x00,0x0c,0xd1,0x01,0xff,0x03,0x00]
0x05,0x00,0x0c,0xd1,0x01,0xff,0x03,0x00

# CHECK: v_min_i32_e64 v5, v1, s2                ; encoding: [0x05,0x00,0x0c,0xd1,0x01,0x05,0x00,0x00]
0x05,0x00,0x0c,0xd1,0x01,0x05,0x00,0x00

# CHECK: v_min_i32_e64 v5, v1, s101              ; encoding: [0x05,0x00,0x0c,0xd1,0x01,0xcb,0x00,0x00]
0x05,0x00,0x0c,0xd1,0x01,0xcb,0x00,0x00

# CHECK: v_min_i32_e64 v5, v1, flat_scratch_lo   ; encoding: [0x05,0x00,0x0c,0xd1,0x01,0xcd,0x00,0x00]
0x05,0x00,0x0c,0xd1,0x01,0xcd,0x00,0x00

# CHECK: v_min_i32_e64 v5, v1, flat_scratch_hi   ; encoding: [0x05,0x00,0x0c,0xd1,0x01,0xcf,0x00,0x00]
0x05,0x00,0x0c,0xd1,0x01,0xcf,0x00,0x00

# CHECK: v_min_i32_e64 v5, v1, vcc_lo            ; encoding: [0x05,0x00,0x0c,0xd1,0x01,0xd5,0x00,0x00]
0x05,0x00,0x0c,0xd1,0x01,0xd5,0x00,0x00

# CHECK: v_min_i32_e64 v5, v1, vcc_hi            ; encoding: [0x05,0x00,0x0c,0xd1,0x01,0xd7,0x00,0x00]
0x05,0x00,0x0c,0xd1,0x01,0xd7,0x00,0x00

# CHECK: v_min_i32_e64 v5, v1, tba_lo            ; encoding: [0x05,0x00,0x0c,0xd1,0x01,0xd9,0x00,0x00]
0x05,0x00,0x0c,0xd1,0x01,0xd9,0x00,0x00

# CHECK: v_min_i32_e64 v5, v1, tba_hi            ; encoding: [0x05,0x00,0x0c,0xd1,0x01,0xdb,0x00,0x00]
0x05,0x00,0x0c,0xd1,0x01,0xdb,0x00,0x00

# CHECK: v_min_i32_e64 v5, v1, tma_lo            ; encoding: [0x05,0x00,0x0c,0xd1,0x01,0xdd,0x00,0x00]
0x05,0x00,0x0c,0xd1,0x01,0xdd,0x00,0x00

# CHECK: v_min_i32_e64 v5, v1, tma_hi            ; encoding: [0x05,0x00,0x0c,0xd1,0x01,0xdf,0x00,0x00]
0x05,0x00,0x0c,0xd1,0x01,0xdf,0x00,0x00

# CHECK: v_min_i32_e64 v5, v1, ttmp11            ; encoding: [0x05,0x00,0x0c,0xd1,0x01,0xf7,0x00,0x00]
0x05,0x00,0x0c,0xd1,0x01,0xf7,0x00,0x00

# CHECK: v_min_i32_e64 v5, v1, m0                ; encoding: [0x05,0x00,0x0c,0xd1,0x01,0xf9,0x00,0x00]
0x05,0x00,0x0c,0xd1,0x01,0xf9,0x00,0x00

# CHECK: v_min_i32_e64 v5, v1, exec_lo           ; encoding: [0x05,0x00,0x0c,0xd1,0x01,0xfd,0x00,0x00]
0x05,0x00,0x0c,0xd1,0x01,0xfd,0x00,0x00

# CHECK: v_min_i32_e64 v5, v1, exec_hi           ; encoding: [0x05,0x00,0x0c,0xd1,0x01,0xff,0x00,0x00]
0x05,0x00,0x0c,0xd1,0x01,0xff,0x00,0x00

# CHECK: v_min_i32_e64 v5, v1, 0                 ; encoding: [0x05,0x00,0x0c,0xd1,0x01,0x01,0x01,0x00]
0x05,0x00,0x0c,0xd1,0x01,0x01,0x01,0x00

# CHECK: v_min_i32_e64 v5, v1, -1                ; encoding: [0x05,0x00,0x0c,0xd1,0x01,0x83,0x01,0x00]
0x05,0x00,0x0c,0xd1,0x01,0x83,0x01,0x00

# CHECK: v_min_i32_e64 v5, v1, 0.5               ; encoding: [0x05,0x00,0x0c,0xd1,0x01,0xe1,0x01,0x00]
0x05,0x00,0x0c,0xd1,0x01,0xe1,0x01,0x00

# CHECK: v_min_i32_e64 v5, v1, -4.0              ; encoding: [0x05,0x00,0x0c,0xd1,0x01,0xef,0x01,0x00]
0x05,0x00,0x0c,0xd1,0x01,0xef,0x01,0x00

# CHECK: v_max_i32_e64 v5, v1, v2                ; encoding: [0x05,0x00,0x0d,0xd1,0x01,0x05,0x02,0x00]
0x05,0x00,0x0d,0xd1,0x01,0x05,0x02,0x00

# CHECK: v_max_i32_e64 v255, v1, v2              ; encoding: [0xff,0x00,0x0d,0xd1,0x01,0x05,0x02,0x00]
0xff,0x00,0x0d,0xd1,0x01,0x05,0x02,0x00

# CHECK: v_max_i32_e64 v5, v255, v2              ; encoding: [0x05,0x00,0x0d,0xd1,0xff,0x05,0x02,0x00]
0x05,0x00,0x0d,0xd1,0xff,0x05,0x02,0x00

# CHECK: v_max_i32_e64 v5, s1, v2                ; encoding: [0x05,0x00,0x0d,0xd1,0x01,0x04,0x02,0x00]
0x05,0x00,0x0d,0xd1,0x01,0x04,0x02,0x00

# CHECK: v_max_i32_e64 v5, s101, v2              ; encoding: [0x05,0x00,0x0d,0xd1,0x65,0x04,0x02,0x00]
0x05,0x00,0x0d,0xd1,0x65,0x04,0x02,0x00

# CHECK: v_max_i32_e64 v5, flat_scratch_lo, v2   ; encoding: [0x05,0x00,0x0d,0xd1,0x66,0x04,0x02,0x00]
0x05,0x00,0x0d,0xd1,0x66,0x04,0x02,0x00

# CHECK: v_max_i32_e64 v5, flat_scratch_hi, v2   ; encoding: [0x05,0x00,0x0d,0xd1,0x67,0x04,0x02,0x00]
0x05,0x00,0x0d,0xd1,0x67,0x04,0x02,0x00

# CHECK: v_max_i32_e64 v5, vcc_lo, v2            ; encoding: [0x05,0x00,0x0d,0xd1,0x6a,0x04,0x02,0x00]
0x05,0x00,0x0d,0xd1,0x6a,0x04,0x02,0x00

# CHECK: v_max_i32_e64 v5, vcc_hi, v2            ; encoding: [0x05,0x00,0x0d,0xd1,0x6b,0x04,0x02,0x00]
0x05,0x00,0x0d,0xd1,0x6b,0x04,0x02,0x00

# CHECK: v_max_i32_e64 v5, tba_lo, v2            ; encoding: [0x05,0x00,0x0d,0xd1,0x6c,0x04,0x02,0x00]
0x05,0x00,0x0d,0xd1,0x6c,0x04,0x02,0x00

# CHECK: v_max_i32_e64 v5, tba_hi, v2            ; encoding: [0x05,0x00,0x0d,0xd1,0x6d,0x04,0x02,0x00]
0x05,0x00,0x0d,0xd1,0x6d,0x04,0x02,0x00

# CHECK: v_max_i32_e64 v5, tma_lo, v2            ; encoding: [0x05,0x00,0x0d,0xd1,0x6e,0x04,0x02,0x00]
0x05,0x00,0x0d,0xd1,0x6e,0x04,0x02,0x00

# CHECK: v_max_i32_e64 v5, tma_hi, v2            ; encoding: [0x05,0x00,0x0d,0xd1,0x6f,0x04,0x02,0x00]
0x05,0x00,0x0d,0xd1,0x6f,0x04,0x02,0x00

# CHECK: v_max_i32_e64 v5, ttmp11, v2            ; encoding: [0x05,0x00,0x0d,0xd1,0x7b,0x04,0x02,0x00]
0x05,0x00,0x0d,0xd1,0x7b,0x04,0x02,0x00

# CHECK: v_max_i32_e64 v5, m0, v2                ; encoding: [0x05,0x00,0x0d,0xd1,0x7c,0x04,0x02,0x00]
0x05,0x00,0x0d,0xd1,0x7c,0x04,0x02,0x00

# CHECK: v_max_i32_e64 v5, exec_lo, v2           ; encoding: [0x05,0x00,0x0d,0xd1,0x7e,0x04,0x02,0x00]
0x05,0x00,0x0d,0xd1,0x7e,0x04,0x02,0x00

# CHECK: v_max_i32_e64 v5, exec_hi, v2           ; encoding: [0x05,0x00,0x0d,0xd1,0x7f,0x04,0x02,0x00]
0x05,0x00,0x0d,0xd1,0x7f,0x04,0x02,0x00

# CHECK: v_max_i32_e64 v5, 0, v2                 ; encoding: [0x05,0x00,0x0d,0xd1,0x80,0x04,0x02,0x00]
0x05,0x00,0x0d,0xd1,0x80,0x04,0x02,0x00

# CHECK: v_max_i32_e64 v5, -1, v2                ; encoding: [0x05,0x00,0x0d,0xd1,0xc1,0x04,0x02,0x00]
0x05,0x00,0x0d,0xd1,0xc1,0x04,0x02,0x00

# CHECK: v_max_i32_e64 v5, 0.5, v2               ; encoding: [0x05,0x00,0x0d,0xd1,0xf0,0x04,0x02,0x00]
0x05,0x00,0x0d,0xd1,0xf0,0x04,0x02,0x00

# CHECK: v_max_i32_e64 v5, -4.0, v2              ; encoding: [0x05,0x00,0x0d,0xd1,0xf7,0x04,0x02,0x00]
0x05,0x00,0x0d,0xd1,0xf7,0x04,0x02,0x00

# CHECK: v_max_i32_e64 v5, v1, v255              ; encoding: [0x05,0x00,0x0d,0xd1,0x01,0xff,0x03,0x00]
0x05,0x00,0x0d,0xd1,0x01,0xff,0x03,0x00

# CHECK: v_max_i32_e64 v5, v1, s2                ; encoding: [0x05,0x00,0x0d,0xd1,0x01,0x05,0x00,0x00]
0x05,0x00,0x0d,0xd1,0x01,0x05,0x00,0x00

# CHECK: v_max_i32_e64 v5, v1, s101              ; encoding: [0x05,0x00,0x0d,0xd1,0x01,0xcb,0x00,0x00]
0x05,0x00,0x0d,0xd1,0x01,0xcb,0x00,0x00

# CHECK: v_max_i32_e64 v5, v1, flat_scratch_lo   ; encoding: [0x05,0x00,0x0d,0xd1,0x01,0xcd,0x00,0x00]
0x05,0x00,0x0d,0xd1,0x01,0xcd,0x00,0x00

# CHECK: v_max_i32_e64 v5, v1, flat_scratch_hi   ; encoding: [0x05,0x00,0x0d,0xd1,0x01,0xcf,0x00,0x00]
0x05,0x00,0x0d,0xd1,0x01,0xcf,0x00,0x00

# CHECK: v_max_i32_e64 v5, v1, vcc_lo            ; encoding: [0x05,0x00,0x0d,0xd1,0x01,0xd5,0x00,0x00]
0x05,0x00,0x0d,0xd1,0x01,0xd5,0x00,0x00

# CHECK: v_max_i32_e64 v5, v1, vcc_hi            ; encoding: [0x05,0x00,0x0d,0xd1,0x01,0xd7,0x00,0x00]
0x05,0x00,0x0d,0xd1,0x01,0xd7,0x00,0x00

# CHECK: v_max_i32_e64 v5, v1, tba_lo            ; encoding: [0x05,0x00,0x0d,0xd1,0x01,0xd9,0x00,0x00]
0x05,0x00,0x0d,0xd1,0x01,0xd9,0x00,0x00

# CHECK: v_max_i32_e64 v5, v1, tba_hi            ; encoding: [0x05,0x00,0x0d,0xd1,0x01,0xdb,0x00,0x00]
0x05,0x00,0x0d,0xd1,0x01,0xdb,0x00,0x00

# CHECK: v_max_i32_e64 v5, v1, tma_lo            ; encoding: [0x05,0x00,0x0d,0xd1,0x01,0xdd,0x00,0x00]
0x05,0x00,0x0d,0xd1,0x01,0xdd,0x00,0x00

# CHECK: v_max_i32_e64 v5, v1, tma_hi            ; encoding: [0x05,0x00,0x0d,0xd1,0x01,0xdf,0x00,0x00]
0x05,0x00,0x0d,0xd1,0x01,0xdf,0x00,0x00

# CHECK: v_max_i32_e64 v5, v1, ttmp11            ; encoding: [0x05,0x00,0x0d,0xd1,0x01,0xf7,0x00,0x00]
0x05,0x00,0x0d,0xd1,0x01,0xf7,0x00,0x00

# CHECK: v_max_i32_e64 v5, v1, m0                ; encoding: [0x05,0x00,0x0d,0xd1,0x01,0xf9,0x00,0x00]
0x05,0x00,0x0d,0xd1,0x01,0xf9,0x00,0x00

# CHECK: v_max_i32_e64 v5, v1, exec_lo           ; encoding: [0x05,0x00,0x0d,0xd1,0x01,0xfd,0x00,0x00]
0x05,0x00,0x0d,0xd1,0x01,0xfd,0x00,0x00

# CHECK: v_max_i32_e64 v5, v1, exec_hi           ; encoding: [0x05,0x00,0x0d,0xd1,0x01,0xff,0x00,0x00]
0x05,0x00,0x0d,0xd1,0x01,0xff,0x00,0x00

# CHECK: v_max_i32_e64 v5, v1, 0                 ; encoding: [0x05,0x00,0x0d,0xd1,0x01,0x01,0x01,0x00]
0x05,0x00,0x0d,0xd1,0x01,0x01,0x01,0x00

# CHECK: v_max_i32_e64 v5, v1, -1                ; encoding: [0x05,0x00,0x0d,0xd1,0x01,0x83,0x01,0x00]
0x05,0x00,0x0d,0xd1,0x01,0x83,0x01,0x00

# CHECK: v_max_i32_e64 v5, v1, 0.5               ; encoding: [0x05,0x00,0x0d,0xd1,0x01,0xe1,0x01,0x00]
0x05,0x00,0x0d,0xd1,0x01,0xe1,0x01,0x00

# CHECK: v_max_i32_e64 v5, v1, -4.0              ; encoding: [0x05,0x00,0x0d,0xd1,0x01,0xef,0x01,0x00]
0x05,0x00,0x0d,0xd1,0x01,0xef,0x01,0x00

# CHECK: v_min_u32_e64 v5, v1, v2                ; encoding: [0x05,0x00,0x0e,0xd1,0x01,0x05,0x02,0x00]
0x05,0x00,0x0e,0xd1,0x01,0x05,0x02,0x00

# CHECK: v_min_u32_e64 v255, v1, v2              ; encoding: [0xff,0x00,0x0e,0xd1,0x01,0x05,0x02,0x00]
0xff,0x00,0x0e,0xd1,0x01,0x05,0x02,0x00

# CHECK: v_min_u32_e64 v5, v255, v2              ; encoding: [0x05,0x00,0x0e,0xd1,0xff,0x05,0x02,0x00]
0x05,0x00,0x0e,0xd1,0xff,0x05,0x02,0x00

# CHECK: v_min_u32_e64 v5, s1, v2                ; encoding: [0x05,0x00,0x0e,0xd1,0x01,0x04,0x02,0x00]
0x05,0x00,0x0e,0xd1,0x01,0x04,0x02,0x00

# CHECK: v_min_u32_e64 v5, s101, v2              ; encoding: [0x05,0x00,0x0e,0xd1,0x65,0x04,0x02,0x00]
0x05,0x00,0x0e,0xd1,0x65,0x04,0x02,0x00

# CHECK: v_min_u32_e64 v5, flat_scratch_lo, v2   ; encoding: [0x05,0x00,0x0e,0xd1,0x66,0x04,0x02,0x00]
0x05,0x00,0x0e,0xd1,0x66,0x04,0x02,0x00

# CHECK: v_min_u32_e64 v5, flat_scratch_hi, v2   ; encoding: [0x05,0x00,0x0e,0xd1,0x67,0x04,0x02,0x00]
0x05,0x00,0x0e,0xd1,0x67,0x04,0x02,0x00

# CHECK: v_min_u32_e64 v5, vcc_lo, v2            ; encoding: [0x05,0x00,0x0e,0xd1,0x6a,0x04,0x02,0x00]
0x05,0x00,0x0e,0xd1,0x6a,0x04,0x02,0x00

# CHECK: v_min_u32_e64 v5, vcc_hi, v2            ; encoding: [0x05,0x00,0x0e,0xd1,0x6b,0x04,0x02,0x00]
0x05,0x00,0x0e,0xd1,0x6b,0x04,0x02,0x00

# CHECK: v_min_u32_e64 v5, tba_lo, v2            ; encoding: [0x05,0x00,0x0e,0xd1,0x6c,0x04,0x02,0x00]
0x05,0x00,0x0e,0xd1,0x6c,0x04,0x02,0x00

# CHECK: v_min_u32_e64 v5, tba_hi, v2            ; encoding: [0x05,0x00,0x0e,0xd1,0x6d,0x04,0x02,0x00]
0x05,0x00,0x0e,0xd1,0x6d,0x04,0x02,0x00

# CHECK: v_min_u32_e64 v5, tma_lo, v2            ; encoding: [0x05,0x00,0x0e,0xd1,0x6e,0x04,0x02,0x00]
0x05,0x00,0x0e,0xd1,0x6e,0x04,0x02,0x00

# CHECK: v_min_u32_e64 v5, tma_hi, v2            ; encoding: [0x05,0x00,0x0e,0xd1,0x6f,0x04,0x02,0x00]
0x05,0x00,0x0e,0xd1,0x6f,0x04,0x02,0x00

# CHECK: v_min_u32_e64 v5, ttmp11, v2            ; encoding: [0x05,0x00,0x0e,0xd1,0x7b,0x04,0x02,0x00]
0x05,0x00,0x0e,0xd1,0x7b,0x04,0x02,0x00

# CHECK: v_min_u32_e64 v5, m0, v2                ; encoding: [0x05,0x00,0x0e,0xd1,0x7c,0x04,0x02,0x00]
0x05,0x00,0x0e,0xd1,0x7c,0x04,0x02,0x00

# CHECK: v_min_u32_e64 v5, exec_lo, v2           ; encoding: [0x05,0x00,0x0e,0xd1,0x7e,0x04,0x02,0x00]
0x05,0x00,0x0e,0xd1,0x7e,0x04,0x02,0x00

# CHECK: v_min_u32_e64 v5, exec_hi, v2           ; encoding: [0x05,0x00,0x0e,0xd1,0x7f,0x04,0x02,0x00]
0x05,0x00,0x0e,0xd1,0x7f,0x04,0x02,0x00

# CHECK: v_min_u32_e64 v5, 0, v2                 ; encoding: [0x05,0x00,0x0e,0xd1,0x80,0x04,0x02,0x00]
0x05,0x00,0x0e,0xd1,0x80,0x04,0x02,0x00

# CHECK: v_min_u32_e64 v5, -1, v2                ; encoding: [0x05,0x00,0x0e,0xd1,0xc1,0x04,0x02,0x00]
0x05,0x00,0x0e,0xd1,0xc1,0x04,0x02,0x00

# CHECK: v_min_u32_e64 v5, 0.5, v2               ; encoding: [0x05,0x00,0x0e,0xd1,0xf0,0x04,0x02,0x00]
0x05,0x00,0x0e,0xd1,0xf0,0x04,0x02,0x00

# CHECK: v_min_u32_e64 v5, -4.0, v2              ; encoding: [0x05,0x00,0x0e,0xd1,0xf7,0x04,0x02,0x00]
0x05,0x00,0x0e,0xd1,0xf7,0x04,0x02,0x00

# CHECK: v_min_u32_e64 v5, v1, v255              ; encoding: [0x05,0x00,0x0e,0xd1,0x01,0xff,0x03,0x00]
0x05,0x00,0x0e,0xd1,0x01,0xff,0x03,0x00

# CHECK: v_min_u32_e64 v5, v1, s2                ; encoding: [0x05,0x00,0x0e,0xd1,0x01,0x05,0x00,0x00]
0x05,0x00,0x0e,0xd1,0x01,0x05,0x00,0x00

# CHECK: v_min_u32_e64 v5, v1, s101              ; encoding: [0x05,0x00,0x0e,0xd1,0x01,0xcb,0x00,0x00]
0x05,0x00,0x0e,0xd1,0x01,0xcb,0x00,0x00

# CHECK: v_min_u32_e64 v5, v1, flat_scratch_lo   ; encoding: [0x05,0x00,0x0e,0xd1,0x01,0xcd,0x00,0x00]
0x05,0x00,0x0e,0xd1,0x01,0xcd,0x00,0x00

# CHECK: v_min_u32_e64 v5, v1, flat_scratch_hi   ; encoding: [0x05,0x00,0x0e,0xd1,0x01,0xcf,0x00,0x00]
0x05,0x00,0x0e,0xd1,0x01,0xcf,0x00,0x00

# CHECK: v_min_u32_e64 v5, v1, vcc_lo            ; encoding: [0x05,0x00,0x0e,0xd1,0x01,0xd5,0x00,0x00]
0x05,0x00,0x0e,0xd1,0x01,0xd5,0x00,0x00

# CHECK: v_min_u32_e64 v5, v1, vcc_hi            ; encoding: [0x05,0x00,0x0e,0xd1,0x01,0xd7,0x00,0x00]
0x05,0x00,0x0e,0xd1,0x01,0xd7,0x00,0x00

# CHECK: v_min_u32_e64 v5, v1, tba_lo            ; encoding: [0x05,0x00,0x0e,0xd1,0x01,0xd9,0x00,0x00]
0x05,0x00,0x0e,0xd1,0x01,0xd9,0x00,0x00

# CHECK: v_min_u32_e64 v5, v1, tba_hi            ; encoding: [0x05,0x00,0x0e,0xd1,0x01,0xdb,0x00,0x00]
0x05,0x00,0x0e,0xd1,0x01,0xdb,0x00,0x00

# CHECK: v_min_u32_e64 v5, v1, tma_lo            ; encoding: [0x05,0x00,0x0e,0xd1,0x01,0xdd,0x00,0x00]
0x05,0x00,0x0e,0xd1,0x01,0xdd,0x00,0x00

# CHECK: v_min_u32_e64 v5, v1, tma_hi            ; encoding: [0x05,0x00,0x0e,0xd1,0x01,0xdf,0x00,0x00]
0x05,0x00,0x0e,0xd1,0x01,0xdf,0x00,0x00

# CHECK: v_min_u32_e64 v5, v1, ttmp11            ; encoding: [0x05,0x00,0x0e,0xd1,0x01,0xf7,0x00,0x00]
0x05,0x00,0x0e,0xd1,0x01,0xf7,0x00,0x00

# CHECK: v_min_u32_e64 v5, v1, m0                ; encoding: [0x05,0x00,0x0e,0xd1,0x01,0xf9,0x00,0x00]
0x05,0x00,0x0e,0xd1,0x01,0xf9,0x00,0x00

# CHECK: v_min_u32_e64 v5, v1, exec_lo           ; encoding: [0x05,0x00,0x0e,0xd1,0x01,0xfd,0x00,0x00]
0x05,0x00,0x0e,0xd1,0x01,0xfd,0x00,0x00

# CHECK: v_min_u32_e64 v5, v1, exec_hi           ; encoding: [0x05,0x00,0x0e,0xd1,0x01,0xff,0x00,0x00]
0x05,0x00,0x0e,0xd1,0x01,0xff,0x00,0x00

# CHECK: v_min_u32_e64 v5, v1, 0                 ; encoding: [0x05,0x00,0x0e,0xd1,0x01,0x01,0x01,0x00]
0x05,0x00,0x0e,0xd1,0x01,0x01,0x01,0x00

# CHECK: v_min_u32_e64 v5, v1, -1                ; encoding: [0x05,0x00,0x0e,0xd1,0x01,0x83,0x01,0x00]
0x05,0x00,0x0e,0xd1,0x01,0x83,0x01,0x00

# CHECK: v_min_u32_e64 v5, v1, 0.5               ; encoding: [0x05,0x00,0x0e,0xd1,0x01,0xe1,0x01,0x00]
0x05,0x00,0x0e,0xd1,0x01,0xe1,0x01,0x00

# CHECK: v_min_u32_e64 v5, v1, -4.0              ; encoding: [0x05,0x00,0x0e,0xd1,0x01,0xef,0x01,0x00]
0x05,0x00,0x0e,0xd1,0x01,0xef,0x01,0x00

# CHECK: v_max_u32_e64 v5, v1, v2                ; encoding: [0x05,0x00,0x0f,0xd1,0x01,0x05,0x02,0x00]
0x05,0x00,0x0f,0xd1,0x01,0x05,0x02,0x00

# CHECK: v_max_u32_e64 v255, v1, v2              ; encoding: [0xff,0x00,0x0f,0xd1,0x01,0x05,0x02,0x00]
0xff,0x00,0x0f,0xd1,0x01,0x05,0x02,0x00

# CHECK: v_max_u32_e64 v5, v255, v2              ; encoding: [0x05,0x00,0x0f,0xd1,0xff,0x05,0x02,0x00]
0x05,0x00,0x0f,0xd1,0xff,0x05,0x02,0x00

# CHECK: v_max_u32_e64 v5, s1, v2                ; encoding: [0x05,0x00,0x0f,0xd1,0x01,0x04,0x02,0x00]
0x05,0x00,0x0f,0xd1,0x01,0x04,0x02,0x00

# CHECK: v_max_u32_e64 v5, s101, v2              ; encoding: [0x05,0x00,0x0f,0xd1,0x65,0x04,0x02,0x00]
0x05,0x00,0x0f,0xd1,0x65,0x04,0x02,0x00

# CHECK: v_max_u32_e64 v5, flat_scratch_lo, v2   ; encoding: [0x05,0x00,0x0f,0xd1,0x66,0x04,0x02,0x00]
0x05,0x00,0x0f,0xd1,0x66,0x04,0x02,0x00

# CHECK: v_max_u32_e64 v5, flat_scratch_hi, v2   ; encoding: [0x05,0x00,0x0f,0xd1,0x67,0x04,0x02,0x00]
0x05,0x00,0x0f,0xd1,0x67,0x04,0x02,0x00

# CHECK: v_max_u32_e64 v5, vcc_lo, v2            ; encoding: [0x05,0x00,0x0f,0xd1,0x6a,0x04,0x02,0x00]
0x05,0x00,0x0f,0xd1,0x6a,0x04,0x02,0x00

# CHECK: v_max_u32_e64 v5, vcc_hi, v2            ; encoding: [0x05,0x00,0x0f,0xd1,0x6b,0x04,0x02,0x00]
0x05,0x00,0x0f,0xd1,0x6b,0x04,0x02,0x00

# CHECK: v_max_u32_e64 v5, tba_lo, v2            ; encoding: [0x05,0x00,0x0f,0xd1,0x6c,0x04,0x02,0x00]
0x05,0x00,0x0f,0xd1,0x6c,0x04,0x02,0x00

# CHECK: v_max_u32_e64 v5, tba_hi, v2            ; encoding: [0x05,0x00,0x0f,0xd1,0x6d,0x04,0x02,0x00]
0x05,0x00,0x0f,0xd1,0x6d,0x04,0x02,0x00

# CHECK: v_max_u32_e64 v5, tma_lo, v2            ; encoding: [0x05,0x00,0x0f,0xd1,0x6e,0x04,0x02,0x00]
0x05,0x00,0x0f,0xd1,0x6e,0x04,0x02,0x00

# CHECK: v_max_u32_e64 v5, tma_hi, v2            ; encoding: [0x05,0x00,0x0f,0xd1,0x6f,0x04,0x02,0x00]
0x05,0x00,0x0f,0xd1,0x6f,0x04,0x02,0x00

# CHECK: v_max_u32_e64 v5, ttmp11, v2            ; encoding: [0x05,0x00,0x0f,0xd1,0x7b,0x04,0x02,0x00]
0x05,0x00,0x0f,0xd1,0x7b,0x04,0x02,0x00

# CHECK: v_max_u32_e64 v5, m0, v2                ; encoding: [0x05,0x00,0x0f,0xd1,0x7c,0x04,0x02,0x00]
0x05,0x00,0x0f,0xd1,0x7c,0x04,0x02,0x00

# CHECK: v_max_u32_e64 v5, exec_lo, v2           ; encoding: [0x05,0x00,0x0f,0xd1,0x7e,0x04,0x02,0x00]
0x05,0x00,0x0f,0xd1,0x7e,0x04,0x02,0x00

# CHECK: v_max_u32_e64 v5, exec_hi, v2           ; encoding: [0x05,0x00,0x0f,0xd1,0x7f,0x04,0x02,0x00]
0x05,0x00,0x0f,0xd1,0x7f,0x04,0x02,0x00

# CHECK: v_max_u32_e64 v5, 0, v2                 ; encoding: [0x05,0x00,0x0f,0xd1,0x80,0x04,0x02,0x00]
0x05,0x00,0x0f,0xd1,0x80,0x04,0x02,0x00

# CHECK: v_max_u32_e64 v5, -1, v2                ; encoding: [0x05,0x00,0x0f,0xd1,0xc1,0x04,0x02,0x00]
0x05,0x00,0x0f,0xd1,0xc1,0x04,0x02,0x00

# CHECK: v_max_u32_e64 v5, 0.5, v2               ; encoding: [0x05,0x00,0x0f,0xd1,0xf0,0x04,0x02,0x00]
0x05,0x00,0x0f,0xd1,0xf0,0x04,0x02,0x00

# CHECK: v_max_u32_e64 v5, -4.0, v2              ; encoding: [0x05,0x00,0x0f,0xd1,0xf7,0x04,0x02,0x00]
0x05,0x00,0x0f,0xd1,0xf7,0x04,0x02,0x00

# CHECK: v_max_u32_e64 v5, v1, v255              ; encoding: [0x05,0x00,0x0f,0xd1,0x01,0xff,0x03,0x00]
0x05,0x00,0x0f,0xd1,0x01,0xff,0x03,0x00

# CHECK: v_max_u32_e64 v5, v1, s2                ; encoding: [0x05,0x00,0x0f,0xd1,0x01,0x05,0x00,0x00]
0x05,0x00,0x0f,0xd1,0x01,0x05,0x00,0x00

# CHECK: v_max_u32_e64 v5, v1, s101              ; encoding: [0x05,0x00,0x0f,0xd1,0x01,0xcb,0x00,0x00]
0x05,0x00,0x0f,0xd1,0x01,0xcb,0x00,0x00

# CHECK: v_max_u32_e64 v5, v1, flat_scratch_lo   ; encoding: [0x05,0x00,0x0f,0xd1,0x01,0xcd,0x00,0x00]
0x05,0x00,0x0f,0xd1,0x01,0xcd,0x00,0x00

# CHECK: v_max_u32_e64 v5, v1, flat_scratch_hi   ; encoding: [0x05,0x00,0x0f,0xd1,0x01,0xcf,0x00,0x00]
0x05,0x00,0x0f,0xd1,0x01,0xcf,0x00,0x00

# CHECK: v_max_u32_e64 v5, v1, vcc_lo            ; encoding: [0x05,0x00,0x0f,0xd1,0x01,0xd5,0x00,0x00]
0x05,0x00,0x0f,0xd1,0x01,0xd5,0x00,0x00

# CHECK: v_max_u32_e64 v5, v1, vcc_hi            ; encoding: [0x05,0x00,0x0f,0xd1,0x01,0xd7,0x00,0x00]
0x05,0x00,0x0f,0xd1,0x01,0xd7,0x00,0x00

# CHECK: v_max_u32_e64 v5, v1, tba_lo            ; encoding: [0x05,0x00,0x0f,0xd1,0x01,0xd9,0x00,0x00]
0x05,0x00,0x0f,0xd1,0x01,0xd9,0x00,0x00

# CHECK: v_max_u32_e64 v5, v1, tba_hi            ; encoding: [0x05,0x00,0x0f,0xd1,0x01,0xdb,0x00,0x00]
0x05,0x00,0x0f,0xd1,0x01,0xdb,0x00,0x00

# CHECK: v_max_u32_e64 v5, v1, tma_lo            ; encoding: [0x05,0x00,0x0f,0xd1,0x01,0xdd,0x00,0x00]
0x05,0x00,0x0f,0xd1,0x01,0xdd,0x00,0x00

# CHECK: v_max_u32_e64 v5, v1, tma_hi            ; encoding: [0x05,0x00,0x0f,0xd1,0x01,0xdf,0x00,0x00]
0x05,0x00,0x0f,0xd1,0x01,0xdf,0x00,0x00

# CHECK: v_max_u32_e64 v5, v1, ttmp11            ; encoding: [0x05,0x00,0x0f,0xd1,0x01,0xf7,0x00,0x00]
0x05,0x00,0x0f,0xd1,0x01,0xf7,0x00,0x00

# CHECK: v_max_u32_e64 v5, v1, m0                ; encoding: [0x05,0x00,0x0f,0xd1,0x01,0xf9,0x00,0x00]
0x05,0x00,0x0f,0xd1,0x01,0xf9,0x00,0x00

# CHECK: v_max_u32_e64 v5, v1, exec_lo           ; encoding: [0x05,0x00,0x0f,0xd1,0x01,0xfd,0x00,0x00]
0x05,0x00,0x0f,0xd1,0x01,0xfd,0x00,0x00

# CHECK: v_max_u32_e64 v5, v1, exec_hi           ; encoding: [0x05,0x00,0x0f,0xd1,0x01,0xff,0x00,0x00]
0x05,0x00,0x0f,0xd1,0x01,0xff,0x00,0x00

# CHECK: v_max_u32_e64 v5, v1, 0                 ; encoding: [0x05,0x00,0x0f,0xd1,0x01,0x01,0x01,0x00]
0x05,0x00,0x0f,0xd1,0x01,0x01,0x01,0x00

# CHECK: v_max_u32_e64 v5, v1, -1                ; encoding: [0x05,0x00,0x0f,0xd1,0x01,0x83,0x01,0x00]
0x05,0x00,0x0f,0xd1,0x01,0x83,0x01,0x00

# CHECK: v_max_u32_e64 v5, v1, 0.5               ; encoding: [0x05,0x00,0x0f,0xd1,0x01,0xe1,0x01,0x00]
0x05,0x00,0x0f,0xd1,0x01,0xe1,0x01,0x00

# CHECK: v_max_u32_e64 v5, v1, -4.0              ; encoding: [0x05,0x00,0x0f,0xd1,0x01,0xef,0x01,0x00]
0x05,0x00,0x0f,0xd1,0x01,0xef,0x01,0x00

# CHECK: v_lshrrev_b32_e64 v5, v1, v2            ; encoding: [0x05,0x00,0x10,0xd1,0x01,0x05,0x02,0x00]
0x05,0x00,0x10,0xd1,0x01,0x05,0x02,0x00

# CHECK: v_lshrrev_b32_e64 v255, v1, v2          ; encoding: [0xff,0x00,0x10,0xd1,0x01,0x05,0x02,0x00]
0xff,0x00,0x10,0xd1,0x01,0x05,0x02,0x00

# CHECK: v_lshrrev_b32_e64 v5, v255, v2          ; encoding: [0x05,0x00,0x10,0xd1,0xff,0x05,0x02,0x00]
0x05,0x00,0x10,0xd1,0xff,0x05,0x02,0x00

# CHECK: v_lshrrev_b32_e64 v5, s1, v2            ; encoding: [0x05,0x00,0x10,0xd1,0x01,0x04,0x02,0x00]
0x05,0x00,0x10,0xd1,0x01,0x04,0x02,0x00

# CHECK: v_lshrrev_b32_e64 v5, s101, v2          ; encoding: [0x05,0x00,0x10,0xd1,0x65,0x04,0x02,0x00]
0x05,0x00,0x10,0xd1,0x65,0x04,0x02,0x00

# CHECK: v_lshrrev_b32_e64 v5, flat_scratch_lo, v2 ; encoding: [0x05,0x00,0x10,0xd1,0x66,0x04,0x02,0x00]
0x05,0x00,0x10,0xd1,0x66,0x04,0x02,0x00

# CHECK: v_lshrrev_b32_e64 v5, flat_scratch_hi, v2 ; encoding: [0x05,0x00,0x10,0xd1,0x67,0x04,0x02,0x00]
0x05,0x00,0x10,0xd1,0x67,0x04,0x02,0x00

# CHECK: v_lshrrev_b32_e64 v5, vcc_lo, v2        ; encoding: [0x05,0x00,0x10,0xd1,0x6a,0x04,0x02,0x00]
0x05,0x00,0x10,0xd1,0x6a,0x04,0x02,0x00

# CHECK: v_lshrrev_b32_e64 v5, vcc_hi, v2        ; encoding: [0x05,0x00,0x10,0xd1,0x6b,0x04,0x02,0x00]
0x05,0x00,0x10,0xd1,0x6b,0x04,0x02,0x00

# CHECK: v_lshrrev_b32_e64 v5, tba_lo, v2        ; encoding: [0x05,0x00,0x10,0xd1,0x6c,0x04,0x02,0x00]
0x05,0x00,0x10,0xd1,0x6c,0x04,0x02,0x00

# CHECK: v_lshrrev_b32_e64 v5, tba_hi, v2        ; encoding: [0x05,0x00,0x10,0xd1,0x6d,0x04,0x02,0x00]
0x05,0x00,0x10,0xd1,0x6d,0x04,0x02,0x00

# CHECK: v_lshrrev_b32_e64 v5, tma_lo, v2        ; encoding: [0x05,0x00,0x10,0xd1,0x6e,0x04,0x02,0x00]
0x05,0x00,0x10,0xd1,0x6e,0x04,0x02,0x00

# CHECK: v_lshrrev_b32_e64 v5, tma_hi, v2        ; encoding: [0x05,0x00,0x10,0xd1,0x6f,0x04,0x02,0x00]
0x05,0x00,0x10,0xd1,0x6f,0x04,0x02,0x00

# CHECK: v_lshrrev_b32_e64 v5, ttmp11, v2        ; encoding: [0x05,0x00,0x10,0xd1,0x7b,0x04,0x02,0x00]
0x05,0x00,0x10,0xd1,0x7b,0x04,0x02,0x00

# CHECK: v_lshrrev_b32_e64 v5, m0, v2            ; encoding: [0x05,0x00,0x10,0xd1,0x7c,0x04,0x02,0x00]
0x05,0x00,0x10,0xd1,0x7c,0x04,0x02,0x00

# CHECK: v_lshrrev_b32_e64 v5, exec_lo, v2       ; encoding: [0x05,0x00,0x10,0xd1,0x7e,0x04,0x02,0x00]
0x05,0x00,0x10,0xd1,0x7e,0x04,0x02,0x00

# CHECK: v_lshrrev_b32_e64 v5, exec_hi, v2       ; encoding: [0x05,0x00,0x10,0xd1,0x7f,0x04,0x02,0x00]
0x05,0x00,0x10,0xd1,0x7f,0x04,0x02,0x00

# CHECK: v_lshrrev_b32_e64 v5, 0, v2             ; encoding: [0x05,0x00,0x10,0xd1,0x80,0x04,0x02,0x00]
0x05,0x00,0x10,0xd1,0x80,0x04,0x02,0x00

# CHECK: v_lshrrev_b32_e64 v5, -1, v2            ; encoding: [0x05,0x00,0x10,0xd1,0xc1,0x04,0x02,0x00]
0x05,0x00,0x10,0xd1,0xc1,0x04,0x02,0x00

# CHECK: v_lshrrev_b32_e64 v5, 0.5, v2           ; encoding: [0x05,0x00,0x10,0xd1,0xf0,0x04,0x02,0x00]
0x05,0x00,0x10,0xd1,0xf0,0x04,0x02,0x00

# CHECK: v_lshrrev_b32_e64 v5, -4.0, v2          ; encoding: [0x05,0x00,0x10,0xd1,0xf7,0x04,0x02,0x00]
0x05,0x00,0x10,0xd1,0xf7,0x04,0x02,0x00

# CHECK: v_lshrrev_b32_e64 v5, v1, v255          ; encoding: [0x05,0x00,0x10,0xd1,0x01,0xff,0x03,0x00]
0x05,0x00,0x10,0xd1,0x01,0xff,0x03,0x00

# CHECK: v_lshrrev_b32_e64 v5, v1, s2            ; encoding: [0x05,0x00,0x10,0xd1,0x01,0x05,0x00,0x00]
0x05,0x00,0x10,0xd1,0x01,0x05,0x00,0x00

# CHECK: v_lshrrev_b32_e64 v5, v1, s101          ; encoding: [0x05,0x00,0x10,0xd1,0x01,0xcb,0x00,0x00]
0x05,0x00,0x10,0xd1,0x01,0xcb,0x00,0x00

# CHECK: v_lshrrev_b32_e64 v5, v1, flat_scratch_lo ; encoding: [0x05,0x00,0x10,0xd1,0x01,0xcd,0x00,0x00]
0x05,0x00,0x10,0xd1,0x01,0xcd,0x00,0x00

# CHECK: v_lshrrev_b32_e64 v5, v1, flat_scratch_hi ; encoding: [0x05,0x00,0x10,0xd1,0x01,0xcf,0x00,0x00]
0x05,0x00,0x10,0xd1,0x01,0xcf,0x00,0x00

# CHECK: v_lshrrev_b32_e64 v5, v1, vcc_lo        ; encoding: [0x05,0x00,0x10,0xd1,0x01,0xd5,0x00,0x00]
0x05,0x00,0x10,0xd1,0x01,0xd5,0x00,0x00

# CHECK: v_lshrrev_b32_e64 v5, v1, vcc_hi        ; encoding: [0x05,0x00,0x10,0xd1,0x01,0xd7,0x00,0x00]
0x05,0x00,0x10,0xd1,0x01,0xd7,0x00,0x00

# CHECK: v_lshrrev_b32_e64 v5, v1, tba_lo        ; encoding: [0x05,0x00,0x10,0xd1,0x01,0xd9,0x00,0x00]
0x05,0x00,0x10,0xd1,0x01,0xd9,0x00,0x00

# CHECK: v_lshrrev_b32_e64 v5, v1, tba_hi        ; encoding: [0x05,0x00,0x10,0xd1,0x01,0xdb,0x00,0x00]
0x05,0x00,0x10,0xd1,0x01,0xdb,0x00,0x00

# CHECK: v_lshrrev_b32_e64 v5, v1, tma_lo        ; encoding: [0x05,0x00,0x10,0xd1,0x01,0xdd,0x00,0x00]
0x05,0x00,0x10,0xd1,0x01,0xdd,0x00,0x00

# CHECK: v_lshrrev_b32_e64 v5, v1, tma_hi        ; encoding: [0x05,0x00,0x10,0xd1,0x01,0xdf,0x00,0x00]
0x05,0x00,0x10,0xd1,0x01,0xdf,0x00,0x00

# CHECK: v_lshrrev_b32_e64 v5, v1, ttmp11        ; encoding: [0x05,0x00,0x10,0xd1,0x01,0xf7,0x00,0x00]
0x05,0x00,0x10,0xd1,0x01,0xf7,0x00,0x00

# CHECK: v_lshrrev_b32_e64 v5, v1, m0            ; encoding: [0x05,0x00,0x10,0xd1,0x01,0xf9,0x00,0x00]
0x05,0x00,0x10,0xd1,0x01,0xf9,0x00,0x00

# CHECK: v_lshrrev_b32_e64 v5, v1, exec_lo       ; encoding: [0x05,0x00,0x10,0xd1,0x01,0xfd,0x00,0x00]
0x05,0x00,0x10,0xd1,0x01,0xfd,0x00,0x00

# CHECK: v_lshrrev_b32_e64 v5, v1, exec_hi       ; encoding: [0x05,0x00,0x10,0xd1,0x01,0xff,0x00,0x00]
0x05,0x00,0x10,0xd1,0x01,0xff,0x00,0x00

# CHECK: v_lshrrev_b32_e64 v5, v1, 0             ; encoding: [0x05,0x00,0x10,0xd1,0x01,0x01,0x01,0x00]
0x05,0x00,0x10,0xd1,0x01,0x01,0x01,0x00

# CHECK: v_lshrrev_b32_e64 v5, v1, -1            ; encoding: [0x05,0x00,0x10,0xd1,0x01,0x83,0x01,0x00]
0x05,0x00,0x10,0xd1,0x01,0x83,0x01,0x00

# CHECK: v_lshrrev_b32_e64 v5, v1, 0.5           ; encoding: [0x05,0x00,0x10,0xd1,0x01,0xe1,0x01,0x00]
0x05,0x00,0x10,0xd1,0x01,0xe1,0x01,0x00

# CHECK: v_lshrrev_b32_e64 v5, v1, -4.0          ; encoding: [0x05,0x00,0x10,0xd1,0x01,0xef,0x01,0x00]
0x05,0x00,0x10,0xd1,0x01,0xef,0x01,0x00

# CHECK: v_ashrrev_i32_e64 v5, v1, v2            ; encoding: [0x05,0x00,0x11,0xd1,0x01,0x05,0x02,0x00]
0x05,0x00,0x11,0xd1,0x01,0x05,0x02,0x00

# CHECK: v_ashrrev_i32_e64 v255, v1, v2          ; encoding: [0xff,0x00,0x11,0xd1,0x01,0x05,0x02,0x00]
0xff,0x00,0x11,0xd1,0x01,0x05,0x02,0x00

# CHECK: v_ashrrev_i32_e64 v5, v255, v2          ; encoding: [0x05,0x00,0x11,0xd1,0xff,0x05,0x02,0x00]
0x05,0x00,0x11,0xd1,0xff,0x05,0x02,0x00

# CHECK: v_ashrrev_i32_e64 v5, s1, v2            ; encoding: [0x05,0x00,0x11,0xd1,0x01,0x04,0x02,0x00]
0x05,0x00,0x11,0xd1,0x01,0x04,0x02,0x00

# CHECK: v_ashrrev_i32_e64 v5, s101, v2          ; encoding: [0x05,0x00,0x11,0xd1,0x65,0x04,0x02,0x00]
0x05,0x00,0x11,0xd1,0x65,0x04,0x02,0x00

# CHECK: v_ashrrev_i32_e64 v5, flat_scratch_lo, v2 ; encoding: [0x05,0x00,0x11,0xd1,0x66,0x04,0x02,0x00]
0x05,0x00,0x11,0xd1,0x66,0x04,0x02,0x00

# CHECK: v_ashrrev_i32_e64 v5, flat_scratch_hi, v2 ; encoding: [0x05,0x00,0x11,0xd1,0x67,0x04,0x02,0x00]
0x05,0x00,0x11,0xd1,0x67,0x04,0x02,0x00

# CHECK: v_ashrrev_i32_e64 v5, vcc_lo, v2        ; encoding: [0x05,0x00,0x11,0xd1,0x6a,0x04,0x02,0x00]
0x05,0x00,0x11,0xd1,0x6a,0x04,0x02,0x00

# CHECK: v_ashrrev_i32_e64 v5, vcc_hi, v2        ; encoding: [0x05,0x00,0x11,0xd1,0x6b,0x04,0x02,0x00]
0x05,0x00,0x11,0xd1,0x6b,0x04,0x02,0x00

# CHECK: v_ashrrev_i32_e64 v5, tba_lo, v2        ; encoding: [0x05,0x00,0x11,0xd1,0x6c,0x04,0x02,0x00]
0x05,0x00,0x11,0xd1,0x6c,0x04,0x02,0x00

# CHECK: v_ashrrev_i32_e64 v5, tba_hi, v2        ; encoding: [0x05,0x00,0x11,0xd1,0x6d,0x04,0x02,0x00]
0x05,0x00,0x11,0xd1,0x6d,0x04,0x02,0x00

# CHECK: v_ashrrev_i32_e64 v5, tma_lo, v2        ; encoding: [0x05,0x00,0x11,0xd1,0x6e,0x04,0x02,0x00]
0x05,0x00,0x11,0xd1,0x6e,0x04,0x02,0x00

# CHECK: v_ashrrev_i32_e64 v5, tma_hi, v2        ; encoding: [0x05,0x00,0x11,0xd1,0x6f,0x04,0x02,0x00]
0x05,0x00,0x11,0xd1,0x6f,0x04,0x02,0x00

# CHECK: v_ashrrev_i32_e64 v5, ttmp11, v2        ; encoding: [0x05,0x00,0x11,0xd1,0x7b,0x04,0x02,0x00]
0x05,0x00,0x11,0xd1,0x7b,0x04,0x02,0x00

# CHECK: v_ashrrev_i32_e64 v5, m0, v2            ; encoding: [0x05,0x00,0x11,0xd1,0x7c,0x04,0x02,0x00]
0x05,0x00,0x11,0xd1,0x7c,0x04,0x02,0x00

# CHECK: v_ashrrev_i32_e64 v5, exec_lo, v2       ; encoding: [0x05,0x00,0x11,0xd1,0x7e,0x04,0x02,0x00]
0x05,0x00,0x11,0xd1,0x7e,0x04,0x02,0x00

# CHECK: v_ashrrev_i32_e64 v5, exec_hi, v2       ; encoding: [0x05,0x00,0x11,0xd1,0x7f,0x04,0x02,0x00]
0x05,0x00,0x11,0xd1,0x7f,0x04,0x02,0x00

# CHECK: v_ashrrev_i32_e64 v5, 0, v2             ; encoding: [0x05,0x00,0x11,0xd1,0x80,0x04,0x02,0x00]
0x05,0x00,0x11,0xd1,0x80,0x04,0x02,0x00

# CHECK: v_ashrrev_i32_e64 v5, -1, v2            ; encoding: [0x05,0x00,0x11,0xd1,0xc1,0x04,0x02,0x00]
0x05,0x00,0x11,0xd1,0xc1,0x04,0x02,0x00

# CHECK: v_ashrrev_i32_e64 v5, 0.5, v2           ; encoding: [0x05,0x00,0x11,0xd1,0xf0,0x04,0x02,0x00]
0x05,0x00,0x11,0xd1,0xf0,0x04,0x02,0x00

# CHECK: v_ashrrev_i32_e64 v5, -4.0, v2          ; encoding: [0x05,0x00,0x11,0xd1,0xf7,0x04,0x02,0x00]
0x05,0x00,0x11,0xd1,0xf7,0x04,0x02,0x00

# CHECK: v_ashrrev_i32_e64 v5, v1, v255          ; encoding: [0x05,0x00,0x11,0xd1,0x01,0xff,0x03,0x00]
0x05,0x00,0x11,0xd1,0x01,0xff,0x03,0x00

# CHECK: v_ashrrev_i32_e64 v5, v1, s2            ; encoding: [0x05,0x00,0x11,0xd1,0x01,0x05,0x00,0x00]
0x05,0x00,0x11,0xd1,0x01,0x05,0x00,0x00

# CHECK: v_ashrrev_i32_e64 v5, v1, s101          ; encoding: [0x05,0x00,0x11,0xd1,0x01,0xcb,0x00,0x00]
0x05,0x00,0x11,0xd1,0x01,0xcb,0x00,0x00

# CHECK: v_ashrrev_i32_e64 v5, v1, flat_scratch_lo ; encoding: [0x05,0x00,0x11,0xd1,0x01,0xcd,0x00,0x00]
0x05,0x00,0x11,0xd1,0x01,0xcd,0x00,0x00

# CHECK: v_ashrrev_i32_e64 v5, v1, flat_scratch_hi ; encoding: [0x05,0x00,0x11,0xd1,0x01,0xcf,0x00,0x00]
0x05,0x00,0x11,0xd1,0x01,0xcf,0x00,0x00

# CHECK: v_ashrrev_i32_e64 v5, v1, vcc_lo        ; encoding: [0x05,0x00,0x11,0xd1,0x01,0xd5,0x00,0x00]
0x05,0x00,0x11,0xd1,0x01,0xd5,0x00,0x00

# CHECK: v_ashrrev_i32_e64 v5, v1, vcc_hi        ; encoding: [0x05,0x00,0x11,0xd1,0x01,0xd7,0x00,0x00]
0x05,0x00,0x11,0xd1,0x01,0xd7,0x00,0x00

# CHECK: v_ashrrev_i32_e64 v5, v1, tba_lo        ; encoding: [0x05,0x00,0x11,0xd1,0x01,0xd9,0x00,0x00]
0x05,0x00,0x11,0xd1,0x01,0xd9,0x00,0x00

# CHECK: v_ashrrev_i32_e64 v5, v1, tba_hi        ; encoding: [0x05,0x00,0x11,0xd1,0x01,0xdb,0x00,0x00]
0x05,0x00,0x11,0xd1,0x01,0xdb,0x00,0x00

# CHECK: v_ashrrev_i32_e64 v5, v1, tma_lo        ; encoding: [0x05,0x00,0x11,0xd1,0x01,0xdd,0x00,0x00]
0x05,0x00,0x11,0xd1,0x01,0xdd,0x00,0x00

# CHECK: v_ashrrev_i32_e64 v5, v1, tma_hi        ; encoding: [0x05,0x00,0x11,0xd1,0x01,0xdf,0x00,0x00]
0x05,0x00,0x11,0xd1,0x01,0xdf,0x00,0x00

# CHECK: v_ashrrev_i32_e64 v5, v1, ttmp11        ; encoding: [0x05,0x00,0x11,0xd1,0x01,0xf7,0x00,0x00]
0x05,0x00,0x11,0xd1,0x01,0xf7,0x00,0x00

# CHECK: v_ashrrev_i32_e64 v5, v1, m0            ; encoding: [0x05,0x00,0x11,0xd1,0x01,0xf9,0x00,0x00]
0x05,0x00,0x11,0xd1,0x01,0xf9,0x00,0x00

# CHECK: v_ashrrev_i32_e64 v5, v1, exec_lo       ; encoding: [0x05,0x00,0x11,0xd1,0x01,0xfd,0x00,0x00]
0x05,0x00,0x11,0xd1,0x01,0xfd,0x00,0x00

# CHECK: v_ashrrev_i32_e64 v5, v1, exec_hi       ; encoding: [0x05,0x00,0x11,0xd1,0x01,0xff,0x00,0x00]
0x05,0x00,0x11,0xd1,0x01,0xff,0x00,0x00

# CHECK: v_ashrrev_i32_e64 v5, v1, 0             ; encoding: [0x05,0x00,0x11,0xd1,0x01,0x01,0x01,0x00]
0x05,0x00,0x11,0xd1,0x01,0x01,0x01,0x00

# CHECK: v_ashrrev_i32_e64 v5, v1, -1            ; encoding: [0x05,0x00,0x11,0xd1,0x01,0x83,0x01,0x00]
0x05,0x00,0x11,0xd1,0x01,0x83,0x01,0x00

# CHECK: v_ashrrev_i32_e64 v5, v1, 0.5           ; encoding: [0x05,0x00,0x11,0xd1,0x01,0xe1,0x01,0x00]
0x05,0x00,0x11,0xd1,0x01,0xe1,0x01,0x00

# CHECK: v_ashrrev_i32_e64 v5, v1, -4.0          ; encoding: [0x05,0x00,0x11,0xd1,0x01,0xef,0x01,0x00]
0x05,0x00,0x11,0xd1,0x01,0xef,0x01,0x00

# CHECK: v_lshlrev_b32_e64 v5, v1, v2            ; encoding: [0x05,0x00,0x12,0xd1,0x01,0x05,0x02,0x00]
0x05,0x00,0x12,0xd1,0x01,0x05,0x02,0x00

# CHECK: v_lshlrev_b32_e64 v255, v1, v2          ; encoding: [0xff,0x00,0x12,0xd1,0x01,0x05,0x02,0x00]
0xff,0x00,0x12,0xd1,0x01,0x05,0x02,0x00

# CHECK: v_lshlrev_b32_e64 v5, v255, v2          ; encoding: [0x05,0x00,0x12,0xd1,0xff,0x05,0x02,0x00]
0x05,0x00,0x12,0xd1,0xff,0x05,0x02,0x00

# CHECK: v_lshlrev_b32_e64 v5, s1, v2            ; encoding: [0x05,0x00,0x12,0xd1,0x01,0x04,0x02,0x00]
0x05,0x00,0x12,0xd1,0x01,0x04,0x02,0x00

# CHECK: v_lshlrev_b32_e64 v5, s101, v2          ; encoding: [0x05,0x00,0x12,0xd1,0x65,0x04,0x02,0x00]
0x05,0x00,0x12,0xd1,0x65,0x04,0x02,0x00

# CHECK: v_lshlrev_b32_e64 v5, flat_scratch_lo, v2 ; encoding: [0x05,0x00,0x12,0xd1,0x66,0x04,0x02,0x00]
0x05,0x00,0x12,0xd1,0x66,0x04,0x02,0x00

# CHECK: v_lshlrev_b32_e64 v5, flat_scratch_hi, v2 ; encoding: [0x05,0x00,0x12,0xd1,0x67,0x04,0x02,0x00]
0x05,0x00,0x12,0xd1,0x67,0x04,0x02,0x00

# CHECK: v_lshlrev_b32_e64 v5, vcc_lo, v2        ; encoding: [0x05,0x00,0x12,0xd1,0x6a,0x04,0x02,0x00]
0x05,0x00,0x12,0xd1,0x6a,0x04,0x02,0x00

# CHECK: v_lshlrev_b32_e64 v5, vcc_hi, v2        ; encoding: [0x05,0x00,0x12,0xd1,0x6b,0x04,0x02,0x00]
0x05,0x00,0x12,0xd1,0x6b,0x04,0x02,0x00

# CHECK: v_lshlrev_b32_e64 v5, tba_lo, v2        ; encoding: [0x05,0x00,0x12,0xd1,0x6c,0x04,0x02,0x00]
0x05,0x00,0x12,0xd1,0x6c,0x04,0x02,0x00

# CHECK: v_lshlrev_b32_e64 v5, tba_hi, v2        ; encoding: [0x05,0x00,0x12,0xd1,0x6d,0x04,0x02,0x00]
0x05,0x00,0x12,0xd1,0x6d,0x04,0x02,0x00

# CHECK: v_lshlrev_b32_e64 v5, tma_lo, v2        ; encoding: [0x05,0x00,0x12,0xd1,0x6e,0x04,0x02,0x00]
0x05,0x00,0x12,0xd1,0x6e,0x04,0x02,0x00

# CHECK: v_lshlrev_b32_e64 v5, tma_hi, v2        ; encoding: [0x05,0x00,0x12,0xd1,0x6f,0x04,0x02,0x00]
0x05,0x00,0x12,0xd1,0x6f,0x04,0x02,0x00

# CHECK: v_lshlrev_b32_e64 v5, ttmp11, v2        ; encoding: [0x05,0x00,0x12,0xd1,0x7b,0x04,0x02,0x00]
0x05,0x00,0x12,0xd1,0x7b,0x04,0x02,0x00

# CHECK: v_lshlrev_b32_e64 v5, m0, v2            ; encoding: [0x05,0x00,0x12,0xd1,0x7c,0x04,0x02,0x00]
0x05,0x00,0x12,0xd1,0x7c,0x04,0x02,0x00

# CHECK: v_lshlrev_b32_e64 v5, exec_lo, v2       ; encoding: [0x05,0x00,0x12,0xd1,0x7e,0x04,0x02,0x00]
0x05,0x00,0x12,0xd1,0x7e,0x04,0x02,0x00

# CHECK: v_lshlrev_b32_e64 v5, exec_hi, v2       ; encoding: [0x05,0x00,0x12,0xd1,0x7f,0x04,0x02,0x00]
0x05,0x00,0x12,0xd1,0x7f,0x04,0x02,0x00

# CHECK: v_lshlrev_b32_e64 v5, 0, v2             ; encoding: [0x05,0x00,0x12,0xd1,0x80,0x04,0x02,0x00]
0x05,0x00,0x12,0xd1,0x80,0x04,0x02,0x00

# CHECK: v_lshlrev_b32_e64 v5, -1, v2            ; encoding: [0x05,0x00,0x12,0xd1,0xc1,0x04,0x02,0x00]
0x05,0x00,0x12,0xd1,0xc1,0x04,0x02,0x00

# CHECK: v_lshlrev_b32_e64 v5, 0.5, v2           ; encoding: [0x05,0x00,0x12,0xd1,0xf0,0x04,0x02,0x00]
0x05,0x00,0x12,0xd1,0xf0,0x04,0x02,0x00

# CHECK: v_lshlrev_b32_e64 v5, -4.0, v2          ; encoding: [0x05,0x00,0x12,0xd1,0xf7,0x04,0x02,0x00]
0x05,0x00,0x12,0xd1,0xf7,0x04,0x02,0x00

# CHECK: v_lshlrev_b32_e64 v5, v1, v255          ; encoding: [0x05,0x00,0x12,0xd1,0x01,0xff,0x03,0x00]
0x05,0x00,0x12,0xd1,0x01,0xff,0x03,0x00

# CHECK: v_lshlrev_b32_e64 v5, v1, s2            ; encoding: [0x05,0x00,0x12,0xd1,0x01,0x05,0x00,0x00]
0x05,0x00,0x12,0xd1,0x01,0x05,0x00,0x00

# CHECK: v_lshlrev_b32_e64 v5, v1, s101          ; encoding: [0x05,0x00,0x12,0xd1,0x01,0xcb,0x00,0x00]
0x05,0x00,0x12,0xd1,0x01,0xcb,0x00,0x00

# CHECK: v_lshlrev_b32_e64 v5, v1, flat_scratch_lo ; encoding: [0x05,0x00,0x12,0xd1,0x01,0xcd,0x00,0x00]
0x05,0x00,0x12,0xd1,0x01,0xcd,0x00,0x00

# CHECK: v_lshlrev_b32_e64 v5, v1, flat_scratch_hi ; encoding: [0x05,0x00,0x12,0xd1,0x01,0xcf,0x00,0x00]
0x05,0x00,0x12,0xd1,0x01,0xcf,0x00,0x00

# CHECK: v_lshlrev_b32_e64 v5, v1, vcc_lo        ; encoding: [0x05,0x00,0x12,0xd1,0x01,0xd5,0x00,0x00]
0x05,0x00,0x12,0xd1,0x01,0xd5,0x00,0x00

# CHECK: v_lshlrev_b32_e64 v5, v1, vcc_hi        ; encoding: [0x05,0x00,0x12,0xd1,0x01,0xd7,0x00,0x00]
0x05,0x00,0x12,0xd1,0x01,0xd7,0x00,0x00

# CHECK: v_lshlrev_b32_e64 v5, v1, tba_lo        ; encoding: [0x05,0x00,0x12,0xd1,0x01,0xd9,0x00,0x00]
0x05,0x00,0x12,0xd1,0x01,0xd9,0x00,0x00

# CHECK: v_lshlrev_b32_e64 v5, v1, tba_hi        ; encoding: [0x05,0x00,0x12,0xd1,0x01,0xdb,0x00,0x00]
0x05,0x00,0x12,0xd1,0x01,0xdb,0x00,0x00

# CHECK: v_lshlrev_b32_e64 v5, v1, tma_lo        ; encoding: [0x05,0x00,0x12,0xd1,0x01,0xdd,0x00,0x00]
0x05,0x00,0x12,0xd1,0x01,0xdd,0x00,0x00

# CHECK: v_lshlrev_b32_e64 v5, v1, tma_hi        ; encoding: [0x05,0x00,0x12,0xd1,0x01,0xdf,0x00,0x00]
0x05,0x00,0x12,0xd1,0x01,0xdf,0x00,0x00

# CHECK: v_lshlrev_b32_e64 v5, v1, ttmp11        ; encoding: [0x05,0x00,0x12,0xd1,0x01,0xf7,0x00,0x00]
0x05,0x00,0x12,0xd1,0x01,0xf7,0x00,0x00

# CHECK: v_lshlrev_b32_e64 v5, v1, m0            ; encoding: [0x05,0x00,0x12,0xd1,0x01,0xf9,0x00,0x00]
0x05,0x00,0x12,0xd1,0x01,0xf9,0x00,0x00

# CHECK: v_lshlrev_b32_e64 v5, v1, exec_lo       ; encoding: [0x05,0x00,0x12,0xd1,0x01,0xfd,0x00,0x00]
0x05,0x00,0x12,0xd1,0x01,0xfd,0x00,0x00

# CHECK: v_lshlrev_b32_e64 v5, v1, exec_hi       ; encoding: [0x05,0x00,0x12,0xd1,0x01,0xff,0x00,0x00]
0x05,0x00,0x12,0xd1,0x01,0xff,0x00,0x00

# CHECK: v_lshlrev_b32_e64 v5, v1, 0             ; encoding: [0x05,0x00,0x12,0xd1,0x01,0x01,0x01,0x00]
0x05,0x00,0x12,0xd1,0x01,0x01,0x01,0x00

# CHECK: v_lshlrev_b32_e64 v5, v1, -1            ; encoding: [0x05,0x00,0x12,0xd1,0x01,0x83,0x01,0x00]
0x05,0x00,0x12,0xd1,0x01,0x83,0x01,0x00

# CHECK: v_lshlrev_b32_e64 v5, v1, 0.5           ; encoding: [0x05,0x00,0x12,0xd1,0x01,0xe1,0x01,0x00]
0x05,0x00,0x12,0xd1,0x01,0xe1,0x01,0x00

# CHECK: v_lshlrev_b32_e64 v5, v1, -4.0          ; encoding: [0x05,0x00,0x12,0xd1,0x01,0xef,0x01,0x00]
0x05,0x00,0x12,0xd1,0x01,0xef,0x01,0x00

# CHECK: v_and_b32_e64 v5, v1, v2                ; encoding: [0x05,0x00,0x13,0xd1,0x01,0x05,0x02,0x00]
0x05,0x00,0x13,0xd1,0x01,0x05,0x02,0x00

# CHECK: v_and_b32_e64 v255, v1, v2              ; encoding: [0xff,0x00,0x13,0xd1,0x01,0x05,0x02,0x00]
0xff,0x00,0x13,0xd1,0x01,0x05,0x02,0x00

# CHECK: v_and_b32_e64 v5, v255, v2              ; encoding: [0x05,0x00,0x13,0xd1,0xff,0x05,0x02,0x00]
0x05,0x00,0x13,0xd1,0xff,0x05,0x02,0x00

# CHECK: v_and_b32_e64 v5, s1, v2                ; encoding: [0x05,0x00,0x13,0xd1,0x01,0x04,0x02,0x00]
0x05,0x00,0x13,0xd1,0x01,0x04,0x02,0x00

# CHECK: v_and_b32_e64 v5, s101, v2              ; encoding: [0x05,0x00,0x13,0xd1,0x65,0x04,0x02,0x00]
0x05,0x00,0x13,0xd1,0x65,0x04,0x02,0x00

# CHECK: v_and_b32_e64 v5, flat_scratch_lo, v2   ; encoding: [0x05,0x00,0x13,0xd1,0x66,0x04,0x02,0x00]
0x05,0x00,0x13,0xd1,0x66,0x04,0x02,0x00

# CHECK: v_and_b32_e64 v5, flat_scratch_hi, v2   ; encoding: [0x05,0x00,0x13,0xd1,0x67,0x04,0x02,0x00]
0x05,0x00,0x13,0xd1,0x67,0x04,0x02,0x00

# CHECK: v_and_b32_e64 v5, vcc_lo, v2            ; encoding: [0x05,0x00,0x13,0xd1,0x6a,0x04,0x02,0x00]
0x05,0x00,0x13,0xd1,0x6a,0x04,0x02,0x00

# CHECK: v_and_b32_e64 v5, vcc_hi, v2            ; encoding: [0x05,0x00,0x13,0xd1,0x6b,0x04,0x02,0x00]
0x05,0x00,0x13,0xd1,0x6b,0x04,0x02,0x00

# CHECK: v_and_b32_e64 v5, tba_lo, v2            ; encoding: [0x05,0x00,0x13,0xd1,0x6c,0x04,0x02,0x00]
0x05,0x00,0x13,0xd1,0x6c,0x04,0x02,0x00

# CHECK: v_and_b32_e64 v5, tba_hi, v2            ; encoding: [0x05,0x00,0x13,0xd1,0x6d,0x04,0x02,0x00]
0x05,0x00,0x13,0xd1,0x6d,0x04,0x02,0x00

# CHECK: v_and_b32_e64 v5, tma_lo, v2            ; encoding: [0x05,0x00,0x13,0xd1,0x6e,0x04,0x02,0x00]
0x05,0x00,0x13,0xd1,0x6e,0x04,0x02,0x00

# CHECK: v_and_b32_e64 v5, tma_hi, v2            ; encoding: [0x05,0x00,0x13,0xd1,0x6f,0x04,0x02,0x00]
0x05,0x00,0x13,0xd1,0x6f,0x04,0x02,0x00

# CHECK: v_and_b32_e64 v5, ttmp11, v2            ; encoding: [0x05,0x00,0x13,0xd1,0x7b,0x04,0x02,0x00]
0x05,0x00,0x13,0xd1,0x7b,0x04,0x02,0x00

# CHECK: v_and_b32_e64 v5, m0, v2                ; encoding: [0x05,0x00,0x13,0xd1,0x7c,0x04,0x02,0x00]
0x05,0x00,0x13,0xd1,0x7c,0x04,0x02,0x00

# CHECK: v_and_b32_e64 v5, exec_lo, v2           ; encoding: [0x05,0x00,0x13,0xd1,0x7e,0x04,0x02,0x00]
0x05,0x00,0x13,0xd1,0x7e,0x04,0x02,0x00

# CHECK: v_and_b32_e64 v5, exec_hi, v2           ; encoding: [0x05,0x00,0x13,0xd1,0x7f,0x04,0x02,0x00]
0x05,0x00,0x13,0xd1,0x7f,0x04,0x02,0x00

# CHECK: v_and_b32_e64 v5, 0, v2                 ; encoding: [0x05,0x00,0x13,0xd1,0x80,0x04,0x02,0x00]
0x05,0x00,0x13,0xd1,0x80,0x04,0x02,0x00

# CHECK: v_and_b32_e64 v5, -1, v2                ; encoding: [0x05,0x00,0x13,0xd1,0xc1,0x04,0x02,0x00]
0x05,0x00,0x13,0xd1,0xc1,0x04,0x02,0x00

# CHECK: v_and_b32_e64 v5, 0.5, v2               ; encoding: [0x05,0x00,0x13,0xd1,0xf0,0x04,0x02,0x00]
0x05,0x00,0x13,0xd1,0xf0,0x04,0x02,0x00

# CHECK: v_and_b32_e64 v5, -4.0, v2              ; encoding: [0x05,0x00,0x13,0xd1,0xf7,0x04,0x02,0x00]
0x05,0x00,0x13,0xd1,0xf7,0x04,0x02,0x00

# CHECK: v_and_b32_e64 v5, v1, v255              ; encoding: [0x05,0x00,0x13,0xd1,0x01,0xff,0x03,0x00]
0x05,0x00,0x13,0xd1,0x01,0xff,0x03,0x00

# CHECK: v_and_b32_e64 v5, v1, s2                ; encoding: [0x05,0x00,0x13,0xd1,0x01,0x05,0x00,0x00]
0x05,0x00,0x13,0xd1,0x01,0x05,0x00,0x00

# CHECK: v_and_b32_e64 v5, v1, s101              ; encoding: [0x05,0x00,0x13,0xd1,0x01,0xcb,0x00,0x00]
0x05,0x00,0x13,0xd1,0x01,0xcb,0x00,0x00

# CHECK: v_and_b32_e64 v5, v1, flat_scratch_lo   ; encoding: [0x05,0x00,0x13,0xd1,0x01,0xcd,0x00,0x00]
0x05,0x00,0x13,0xd1,0x01,0xcd,0x00,0x00

# CHECK: v_and_b32_e64 v5, v1, flat_scratch_hi   ; encoding: [0x05,0x00,0x13,0xd1,0x01,0xcf,0x00,0x00]
0x05,0x00,0x13,0xd1,0x01,0xcf,0x00,0x00

# CHECK: v_and_b32_e64 v5, v1, vcc_lo            ; encoding: [0x05,0x00,0x13,0xd1,0x01,0xd5,0x00,0x00]
0x05,0x00,0x13,0xd1,0x01,0xd5,0x00,0x00

# CHECK: v_and_b32_e64 v5, v1, vcc_hi            ; encoding: [0x05,0x00,0x13,0xd1,0x01,0xd7,0x00,0x00]
0x05,0x00,0x13,0xd1,0x01,0xd7,0x00,0x00

# CHECK: v_and_b32_e64 v5, v1, tba_lo            ; encoding: [0x05,0x00,0x13,0xd1,0x01,0xd9,0x00,0x00]
0x05,0x00,0x13,0xd1,0x01,0xd9,0x00,0x00

# CHECK: v_and_b32_e64 v5, v1, tba_hi            ; encoding: [0x05,0x00,0x13,0xd1,0x01,0xdb,0x00,0x00]
0x05,0x00,0x13,0xd1,0x01,0xdb,0x00,0x00

# CHECK: v_and_b32_e64 v5, v1, tma_lo            ; encoding: [0x05,0x00,0x13,0xd1,0x01,0xdd,0x00,0x00]
0x05,0x00,0x13,0xd1,0x01,0xdd,0x00,0x00

# CHECK: v_and_b32_e64 v5, v1, tma_hi            ; encoding: [0x05,0x00,0x13,0xd1,0x01,0xdf,0x00,0x00]
0x05,0x00,0x13,0xd1,0x01,0xdf,0x00,0x00

# CHECK: v_and_b32_e64 v5, v1, ttmp11            ; encoding: [0x05,0x00,0x13,0xd1,0x01,0xf7,0x00,0x00]
0x05,0x00,0x13,0xd1,0x01,0xf7,0x00,0x00

# CHECK: v_and_b32_e64 v5, v1, m0                ; encoding: [0x05,0x00,0x13,0xd1,0x01,0xf9,0x00,0x00]
0x05,0x00,0x13,0xd1,0x01,0xf9,0x00,0x00

# CHECK: v_and_b32_e64 v5, v1, exec_lo           ; encoding: [0x05,0x00,0x13,0xd1,0x01,0xfd,0x00,0x00]
0x05,0x00,0x13,0xd1,0x01,0xfd,0x00,0x00

# CHECK: v_and_b32_e64 v5, v1, exec_hi           ; encoding: [0x05,0x00,0x13,0xd1,0x01,0xff,0x00,0x00]
0x05,0x00,0x13,0xd1,0x01,0xff,0x00,0x00

# CHECK: v_and_b32_e64 v5, v1, 0                 ; encoding: [0x05,0x00,0x13,0xd1,0x01,0x01,0x01,0x00]
0x05,0x00,0x13,0xd1,0x01,0x01,0x01,0x00

# CHECK: v_and_b32_e64 v5, v1, -1                ; encoding: [0x05,0x00,0x13,0xd1,0x01,0x83,0x01,0x00]
0x05,0x00,0x13,0xd1,0x01,0x83,0x01,0x00

# CHECK: v_and_b32_e64 v5, v1, 0.5               ; encoding: [0x05,0x00,0x13,0xd1,0x01,0xe1,0x01,0x00]
0x05,0x00,0x13,0xd1,0x01,0xe1,0x01,0x00

# CHECK: v_and_b32_e64 v5, v1, -4.0              ; encoding: [0x05,0x00,0x13,0xd1,0x01,0xef,0x01,0x00]
0x05,0x00,0x13,0xd1,0x01,0xef,0x01,0x00

# CHECK: v_or_b32_e64 v5, v1, v2                 ; encoding: [0x05,0x00,0x14,0xd1,0x01,0x05,0x02,0x00]
0x05,0x00,0x14,0xd1,0x01,0x05,0x02,0x00

# CHECK: v_or_b32_e64 v255, v1, v2               ; encoding: [0xff,0x00,0x14,0xd1,0x01,0x05,0x02,0x00]
0xff,0x00,0x14,0xd1,0x01,0x05,0x02,0x00

# CHECK: v_or_b32_e64 v5, v255, v2               ; encoding: [0x05,0x00,0x14,0xd1,0xff,0x05,0x02,0x00]
0x05,0x00,0x14,0xd1,0xff,0x05,0x02,0x00

# CHECK: v_or_b32_e64 v5, s1, v2                 ; encoding: [0x05,0x00,0x14,0xd1,0x01,0x04,0x02,0x00]
0x05,0x00,0x14,0xd1,0x01,0x04,0x02,0x00

# CHECK: v_or_b32_e64 v5, s101, v2               ; encoding: [0x05,0x00,0x14,0xd1,0x65,0x04,0x02,0x00]
0x05,0x00,0x14,0xd1,0x65,0x04,0x02,0x00

# CHECK: v_or_b32_e64 v5, flat_scratch_lo, v2    ; encoding: [0x05,0x00,0x14,0xd1,0x66,0x04,0x02,0x00]
0x05,0x00,0x14,0xd1,0x66,0x04,0x02,0x00

# CHECK: v_or_b32_e64 v5, flat_scratch_hi, v2    ; encoding: [0x05,0x00,0x14,0xd1,0x67,0x04,0x02,0x00]
0x05,0x00,0x14,0xd1,0x67,0x04,0x02,0x00

# CHECK: v_or_b32_e64 v5, vcc_lo, v2             ; encoding: [0x05,0x00,0x14,0xd1,0x6a,0x04,0x02,0x00]
0x05,0x00,0x14,0xd1,0x6a,0x04,0x02,0x00

# CHECK: v_or_b32_e64 v5, vcc_hi, v2             ; encoding: [0x05,0x00,0x14,0xd1,0x6b,0x04,0x02,0x00]
0x05,0x00,0x14,0xd1,0x6b,0x04,0x02,0x00

# CHECK: v_or_b32_e64 v5, tba_lo, v2             ; encoding: [0x05,0x00,0x14,0xd1,0x6c,0x04,0x02,0x00]
0x05,0x00,0x14,0xd1,0x6c,0x04,0x02,0x00

# CHECK: v_or_b32_e64 v5, tba_hi, v2             ; encoding: [0x05,0x00,0x14,0xd1,0x6d,0x04,0x02,0x00]
0x05,0x00,0x14,0xd1,0x6d,0x04,0x02,0x00

# CHECK: v_or_b32_e64 v5, tma_lo, v2             ; encoding: [0x05,0x00,0x14,0xd1,0x6e,0x04,0x02,0x00]
0x05,0x00,0x14,0xd1,0x6e,0x04,0x02,0x00

# CHECK: v_or_b32_e64 v5, tma_hi, v2             ; encoding: [0x05,0x00,0x14,0xd1,0x6f,0x04,0x02,0x00]
0x05,0x00,0x14,0xd1,0x6f,0x04,0x02,0x00

# CHECK: v_or_b32_e64 v5, ttmp11, v2             ; encoding: [0x05,0x00,0x14,0xd1,0x7b,0x04,0x02,0x00]
0x05,0x00,0x14,0xd1,0x7b,0x04,0x02,0x00

# CHECK: v_or_b32_e64 v5, m0, v2                 ; encoding: [0x05,0x00,0x14,0xd1,0x7c,0x04,0x02,0x00]
0x05,0x00,0x14,0xd1,0x7c,0x04,0x02,0x00

# CHECK: v_or_b32_e64 v5, exec_lo, v2            ; encoding: [0x05,0x00,0x14,0xd1,0x7e,0x04,0x02,0x00]
0x05,0x00,0x14,0xd1,0x7e,0x04,0x02,0x00

# CHECK: v_or_b32_e64 v5, exec_hi, v2            ; encoding: [0x05,0x00,0x14,0xd1,0x7f,0x04,0x02,0x00]
0x05,0x00,0x14,0xd1,0x7f,0x04,0x02,0x00

# CHECK: v_or_b32_e64 v5, 0, v2                  ; encoding: [0x05,0x00,0x14,0xd1,0x80,0x04,0x02,0x00]
0x05,0x00,0x14,0xd1,0x80,0x04,0x02,0x00

# CHECK: v_or_b32_e64 v5, -1, v2                 ; encoding: [0x05,0x00,0x14,0xd1,0xc1,0x04,0x02,0x00]
0x05,0x00,0x14,0xd1,0xc1,0x04,0x02,0x00

# CHECK: v_or_b32_e64 v5, 0.5, v2                ; encoding: [0x05,0x00,0x14,0xd1,0xf0,0x04,0x02,0x00]
0x05,0x00,0x14,0xd1,0xf0,0x04,0x02,0x00

# CHECK: v_or_b32_e64 v5, -4.0, v2               ; encoding: [0x05,0x00,0x14,0xd1,0xf7,0x04,0x02,0x00]
0x05,0x00,0x14,0xd1,0xf7,0x04,0x02,0x00

# CHECK: v_or_b32_e64 v5, v1, v255               ; encoding: [0x05,0x00,0x14,0xd1,0x01,0xff,0x03,0x00]
0x05,0x00,0x14,0xd1,0x01,0xff,0x03,0x00

# CHECK: v_or_b32_e64 v5, v1, s2                 ; encoding: [0x05,0x00,0x14,0xd1,0x01,0x05,0x00,0x00]
0x05,0x00,0x14,0xd1,0x01,0x05,0x00,0x00

# CHECK: v_or_b32_e64 v5, v1, s101               ; encoding: [0x05,0x00,0x14,0xd1,0x01,0xcb,0x00,0x00]
0x05,0x00,0x14,0xd1,0x01,0xcb,0x00,0x00

# CHECK: v_or_b32_e64 v5, v1, flat_scratch_lo    ; encoding: [0x05,0x00,0x14,0xd1,0x01,0xcd,0x00,0x00]
0x05,0x00,0x14,0xd1,0x01,0xcd,0x00,0x00

# CHECK: v_or_b32_e64 v5, v1, flat_scratch_hi    ; encoding: [0x05,0x00,0x14,0xd1,0x01,0xcf,0x00,0x00]
0x05,0x00,0x14,0xd1,0x01,0xcf,0x00,0x00

# CHECK: v_or_b32_e64 v5, v1, vcc_lo             ; encoding: [0x05,0x00,0x14,0xd1,0x01,0xd5,0x00,0x00]
0x05,0x00,0x14,0xd1,0x01,0xd5,0x00,0x00

# CHECK: v_or_b32_e64 v5, v1, vcc_hi             ; encoding: [0x05,0x00,0x14,0xd1,0x01,0xd7,0x00,0x00]
0x05,0x00,0x14,0xd1,0x01,0xd7,0x00,0x00

# CHECK: v_or_b32_e64 v5, v1, tba_lo             ; encoding: [0x05,0x00,0x14,0xd1,0x01,0xd9,0x00,0x00]
0x05,0x00,0x14,0xd1,0x01,0xd9,0x00,0x00

# CHECK: v_or_b32_e64 v5, v1, tba_hi             ; encoding: [0x05,0x00,0x14,0xd1,0x01,0xdb,0x00,0x00]
0x05,0x00,0x14,0xd1,0x01,0xdb,0x00,0x00

# CHECK: v_or_b32_e64 v5, v1, tma_lo             ; encoding: [0x05,0x00,0x14,0xd1,0x01,0xdd,0x00,0x00]
0x05,0x00,0x14,0xd1,0x01,0xdd,0x00,0x00

# CHECK: v_or_b32_e64 v5, v1, tma_hi             ; encoding: [0x05,0x00,0x14,0xd1,0x01,0xdf,0x00,0x00]
0x05,0x00,0x14,0xd1,0x01,0xdf,0x00,0x00

# CHECK: v_or_b32_e64 v5, v1, ttmp11             ; encoding: [0x05,0x00,0x14,0xd1,0x01,0xf7,0x00,0x00]
0x05,0x00,0x14,0xd1,0x01,0xf7,0x00,0x00

# CHECK: v_or_b32_e64 v5, v1, m0                 ; encoding: [0x05,0x00,0x14,0xd1,0x01,0xf9,0x00,0x00]
0x05,0x00,0x14,0xd1,0x01,0xf9,0x00,0x00

# CHECK: v_or_b32_e64 v5, v1, exec_lo            ; encoding: [0x05,0x00,0x14,0xd1,0x01,0xfd,0x00,0x00]
0x05,0x00,0x14,0xd1,0x01,0xfd,0x00,0x00

# CHECK: v_or_b32_e64 v5, v1, exec_hi            ; encoding: [0x05,0x00,0x14,0xd1,0x01,0xff,0x00,0x00]
0x05,0x00,0x14,0xd1,0x01,0xff,0x00,0x00

# CHECK: v_or_b32_e64 v5, v1, 0                  ; encoding: [0x05,0x00,0x14,0xd1,0x01,0x01,0x01,0x00]
0x05,0x00,0x14,0xd1,0x01,0x01,0x01,0x00

# CHECK: v_or_b32_e64 v5, v1, -1                 ; encoding: [0x05,0x00,0x14,0xd1,0x01,0x83,0x01,0x00]
0x05,0x00,0x14,0xd1,0x01,0x83,0x01,0x00

# CHECK: v_or_b32_e64 v5, v1, 0.5                ; encoding: [0x05,0x00,0x14,0xd1,0x01,0xe1,0x01,0x00]
0x05,0x00,0x14,0xd1,0x01,0xe1,0x01,0x00

# CHECK: v_or_b32_e64 v5, v1, -4.0               ; encoding: [0x05,0x00,0x14,0xd1,0x01,0xef,0x01,0x00]
0x05,0x00,0x14,0xd1,0x01,0xef,0x01,0x00

# CHECK: v_xor_b32_e64 v5, v1, v2                ; encoding: [0x05,0x00,0x15,0xd1,0x01,0x05,0x02,0x00]
0x05,0x00,0x15,0xd1,0x01,0x05,0x02,0x00

# CHECK: v_xor_b32_e64 v255, v1, v2              ; encoding: [0xff,0x00,0x15,0xd1,0x01,0x05,0x02,0x00]
0xff,0x00,0x15,0xd1,0x01,0x05,0x02,0x00

# CHECK: v_xor_b32_e64 v5, v255, v2              ; encoding: [0x05,0x00,0x15,0xd1,0xff,0x05,0x02,0x00]
0x05,0x00,0x15,0xd1,0xff,0x05,0x02,0x00

# CHECK: v_xor_b32_e64 v5, s1, v2                ; encoding: [0x05,0x00,0x15,0xd1,0x01,0x04,0x02,0x00]
0x05,0x00,0x15,0xd1,0x01,0x04,0x02,0x00

# CHECK: v_xor_b32_e64 v5, s101, v2              ; encoding: [0x05,0x00,0x15,0xd1,0x65,0x04,0x02,0x00]
0x05,0x00,0x15,0xd1,0x65,0x04,0x02,0x00

# CHECK: v_xor_b32_e64 v5, flat_scratch_lo, v2   ; encoding: [0x05,0x00,0x15,0xd1,0x66,0x04,0x02,0x00]
0x05,0x00,0x15,0xd1,0x66,0x04,0x02,0x00

# CHECK: v_xor_b32_e64 v5, flat_scratch_hi, v2   ; encoding: [0x05,0x00,0x15,0xd1,0x67,0x04,0x02,0x00]
0x05,0x00,0x15,0xd1,0x67,0x04,0x02,0x00

# CHECK: v_xor_b32_e64 v5, vcc_lo, v2            ; encoding: [0x05,0x00,0x15,0xd1,0x6a,0x04,0x02,0x00]
0x05,0x00,0x15,0xd1,0x6a,0x04,0x02,0x00

# CHECK: v_xor_b32_e64 v5, vcc_hi, v2            ; encoding: [0x05,0x00,0x15,0xd1,0x6b,0x04,0x02,0x00]
0x05,0x00,0x15,0xd1,0x6b,0x04,0x02,0x00

# CHECK: v_xor_b32_e64 v5, tba_lo, v2            ; encoding: [0x05,0x00,0x15,0xd1,0x6c,0x04,0x02,0x00]
0x05,0x00,0x15,0xd1,0x6c,0x04,0x02,0x00

# CHECK: v_xor_b32_e64 v5, tba_hi, v2            ; encoding: [0x05,0x00,0x15,0xd1,0x6d,0x04,0x02,0x00]
0x05,0x00,0x15,0xd1,0x6d,0x04,0x02,0x00

# CHECK: v_xor_b32_e64 v5, tma_lo, v2            ; encoding: [0x05,0x00,0x15,0xd1,0x6e,0x04,0x02,0x00]
0x05,0x00,0x15,0xd1,0x6e,0x04,0x02,0x00

# CHECK: v_xor_b32_e64 v5, tma_hi, v2            ; encoding: [0x05,0x00,0x15,0xd1,0x6f,0x04,0x02,0x00]
0x05,0x00,0x15,0xd1,0x6f,0x04,0x02,0x00

# CHECK: v_xor_b32_e64 v5, ttmp11, v2            ; encoding: [0x05,0x00,0x15,0xd1,0x7b,0x04,0x02,0x00]
0x05,0x00,0x15,0xd1,0x7b,0x04,0x02,0x00

# CHECK: v_xor_b32_e64 v5, m0, v2                ; encoding: [0x05,0x00,0x15,0xd1,0x7c,0x04,0x02,0x00]
0x05,0x00,0x15,0xd1,0x7c,0x04,0x02,0x00

# CHECK: v_xor_b32_e64 v5, exec_lo, v2           ; encoding: [0x05,0x00,0x15,0xd1,0x7e,0x04,0x02,0x00]
0x05,0x00,0x15,0xd1,0x7e,0x04,0x02,0x00

# CHECK: v_xor_b32_e64 v5, exec_hi, v2           ; encoding: [0x05,0x00,0x15,0xd1,0x7f,0x04,0x02,0x00]
0x05,0x00,0x15,0xd1,0x7f,0x04,0x02,0x00

# CHECK: v_xor_b32_e64 v5, 0, v2                 ; encoding: [0x05,0x00,0x15,0xd1,0x80,0x04,0x02,0x00]
0x05,0x00,0x15,0xd1,0x80,0x04,0x02,0x00

# CHECK: v_xor_b32_e64 v5, -1, v2                ; encoding: [0x05,0x00,0x15,0xd1,0xc1,0x04,0x02,0x00]
0x05,0x00,0x15,0xd1,0xc1,0x04,0x02,0x00

# CHECK: v_xor_b32_e64 v5, 0.5, v2               ; encoding: [0x05,0x00,0x15,0xd1,0xf0,0x04,0x02,0x00]
0x05,0x00,0x15,0xd1,0xf0,0x04,0x02,0x00

# CHECK: v_xor_b32_e64 v5, -4.0, v2              ; encoding: [0x05,0x00,0x15,0xd1,0xf7,0x04,0x02,0x00]
0x05,0x00,0x15,0xd1,0xf7,0x04,0x02,0x00

# CHECK: v_xor_b32_e64 v5, v1, v255              ; encoding: [0x05,0x00,0x15,0xd1,0x01,0xff,0x03,0x00]
0x05,0x00,0x15,0xd1,0x01,0xff,0x03,0x00

# CHECK: v_xor_b32_e64 v5, v1, s2                ; encoding: [0x05,0x00,0x15,0xd1,0x01,0x05,0x00,0x00]
0x05,0x00,0x15,0xd1,0x01,0x05,0x00,0x00

# CHECK: v_xor_b32_e64 v5, v1, s101              ; encoding: [0x05,0x00,0x15,0xd1,0x01,0xcb,0x00,0x00]
0x05,0x00,0x15,0xd1,0x01,0xcb,0x00,0x00

# CHECK: v_xor_b32_e64 v5, v1, flat_scratch_lo   ; encoding: [0x05,0x00,0x15,0xd1,0x01,0xcd,0x00,0x00]
0x05,0x00,0x15,0xd1,0x01,0xcd,0x00,0x00

# CHECK: v_xor_b32_e64 v5, v1, flat_scratch_hi   ; encoding: [0x05,0x00,0x15,0xd1,0x01,0xcf,0x00,0x00]
0x05,0x00,0x15,0xd1,0x01,0xcf,0x00,0x00

# CHECK: v_xor_b32_e64 v5, v1, vcc_lo            ; encoding: [0x05,0x00,0x15,0xd1,0x01,0xd5,0x00,0x00]
0x05,0x00,0x15,0xd1,0x01,0xd5,0x00,0x00

# CHECK: v_xor_b32_e64 v5, v1, vcc_hi            ; encoding: [0x05,0x00,0x15,0xd1,0x01,0xd7,0x00,0x00]
0x05,0x00,0x15,0xd1,0x01,0xd7,0x00,0x00

# CHECK: v_xor_b32_e64 v5, v1, tba_lo            ; encoding: [0x05,0x00,0x15,0xd1,0x01,0xd9,0x00,0x00]
0x05,0x00,0x15,0xd1,0x01,0xd9,0x00,0x00

# CHECK: v_xor_b32_e64 v5, v1, tba_hi            ; encoding: [0x05,0x00,0x15,0xd1,0x01,0xdb,0x00,0x00]
0x05,0x00,0x15,0xd1,0x01,0xdb,0x00,0x00

# CHECK: v_xor_b32_e64 v5, v1, tma_lo            ; encoding: [0x05,0x00,0x15,0xd1,0x01,0xdd,0x00,0x00]
0x05,0x00,0x15,0xd1,0x01,0xdd,0x00,0x00

# CHECK: v_xor_b32_e64 v5, v1, tma_hi            ; encoding: [0x05,0x00,0x15,0xd1,0x01,0xdf,0x00,0x00]
0x05,0x00,0x15,0xd1,0x01,0xdf,0x00,0x00

# CHECK: v_xor_b32_e64 v5, v1, ttmp11            ; encoding: [0x05,0x00,0x15,0xd1,0x01,0xf7,0x00,0x00]
0x05,0x00,0x15,0xd1,0x01,0xf7,0x00,0x00

# CHECK: v_xor_b32_e64 v5, v1, m0                ; encoding: [0x05,0x00,0x15,0xd1,0x01,0xf9,0x00,0x00]
0x05,0x00,0x15,0xd1,0x01,0xf9,0x00,0x00

# CHECK: v_xor_b32_e64 v5, v1, exec_lo           ; encoding: [0x05,0x00,0x15,0xd1,0x01,0xfd,0x00,0x00]
0x05,0x00,0x15,0xd1,0x01,0xfd,0x00,0x00

# CHECK: v_xor_b32_e64 v5, v1, exec_hi           ; encoding: [0x05,0x00,0x15,0xd1,0x01,0xff,0x00,0x00]
0x05,0x00,0x15,0xd1,0x01,0xff,0x00,0x00

# CHECK: v_xor_b32_e64 v5, v1, 0                 ; encoding: [0x05,0x00,0x15,0xd1,0x01,0x01,0x01,0x00]
0x05,0x00,0x15,0xd1,0x01,0x01,0x01,0x00

# CHECK: v_xor_b32_e64 v5, v1, -1                ; encoding: [0x05,0x00,0x15,0xd1,0x01,0x83,0x01,0x00]
0x05,0x00,0x15,0xd1,0x01,0x83,0x01,0x00

# CHECK: v_xor_b32_e64 v5, v1, 0.5               ; encoding: [0x05,0x00,0x15,0xd1,0x01,0xe1,0x01,0x00]
0x05,0x00,0x15,0xd1,0x01,0xe1,0x01,0x00

# CHECK: v_xor_b32_e64 v5, v1, -4.0              ; encoding: [0x05,0x00,0x15,0xd1,0x01,0xef,0x01,0x00]
0x05,0x00,0x15,0xd1,0x01,0xef,0x01,0x00

# CHECK: v_mac_f32_e64 v5, v1, v2                ; encoding: [0x05,0x00,0x16,0xd1,0x01,0x05,0x02,0x00]
0x05,0x00,0x16,0xd1,0x01,0x05,0x02,0x00

# CHECK: v_mac_f32_e64 v255, v1, v2              ; encoding: [0xff,0x00,0x16,0xd1,0x01,0x05,0x02,0x00]
0xff,0x00,0x16,0xd1,0x01,0x05,0x02,0x00

# CHECK: v_mac_f32_e64 v5, v255, v2              ; encoding: [0x05,0x00,0x16,0xd1,0xff,0x05,0x02,0x00]
0x05,0x00,0x16,0xd1,0xff,0x05,0x02,0x00

# CHECK: v_mac_f32_e64 v5, s1, v2                ; encoding: [0x05,0x00,0x16,0xd1,0x01,0x04,0x02,0x00]
0x05,0x00,0x16,0xd1,0x01,0x04,0x02,0x00

# CHECK: v_mac_f32_e64 v5, s101, v2              ; encoding: [0x05,0x00,0x16,0xd1,0x65,0x04,0x02,0x00]
0x05,0x00,0x16,0xd1,0x65,0x04,0x02,0x00

# CHECK: v_mac_f32_e64 v5, flat_scratch_lo, v2   ; encoding: [0x05,0x00,0x16,0xd1,0x66,0x04,0x02,0x00]
0x05,0x00,0x16,0xd1,0x66,0x04,0x02,0x00

# CHECK: v_mac_f32_e64 v5, flat_scratch_hi, v2   ; encoding: [0x05,0x00,0x16,0xd1,0x67,0x04,0x02,0x00]
0x05,0x00,0x16,0xd1,0x67,0x04,0x02,0x00

# CHECK: v_mac_f32_e64 v5, vcc_lo, v2            ; encoding: [0x05,0x00,0x16,0xd1,0x6a,0x04,0x02,0x00]
0x05,0x00,0x16,0xd1,0x6a,0x04,0x02,0x00

# CHECK: v_mac_f32_e64 v5, vcc_hi, v2            ; encoding: [0x05,0x00,0x16,0xd1,0x6b,0x04,0x02,0x00]
0x05,0x00,0x16,0xd1,0x6b,0x04,0x02,0x00

# CHECK: v_mac_f32_e64 v5, tba_lo, v2            ; encoding: [0x05,0x00,0x16,0xd1,0x6c,0x04,0x02,0x00]
0x05,0x00,0x16,0xd1,0x6c,0x04,0x02,0x00

# CHECK: v_mac_f32_e64 v5, tba_hi, v2            ; encoding: [0x05,0x00,0x16,0xd1,0x6d,0x04,0x02,0x00]
0x05,0x00,0x16,0xd1,0x6d,0x04,0x02,0x00

# CHECK: v_mac_f32_e64 v5, tma_lo, v2            ; encoding: [0x05,0x00,0x16,0xd1,0x6e,0x04,0x02,0x00]
0x05,0x00,0x16,0xd1,0x6e,0x04,0x02,0x00

# CHECK: v_mac_f32_e64 v5, tma_hi, v2            ; encoding: [0x05,0x00,0x16,0xd1,0x6f,0x04,0x02,0x00]
0x05,0x00,0x16,0xd1,0x6f,0x04,0x02,0x00

# CHECK: v_mac_f32_e64 v5, ttmp11, v2            ; encoding: [0x05,0x00,0x16,0xd1,0x7b,0x04,0x02,0x00]
0x05,0x00,0x16,0xd1,0x7b,0x04,0x02,0x00

# CHECK: v_mac_f32_e64 v5, m0, v2                ; encoding: [0x05,0x00,0x16,0xd1,0x7c,0x04,0x02,0x00]
0x05,0x00,0x16,0xd1,0x7c,0x04,0x02,0x00

# CHECK: v_mac_f32_e64 v5, exec_lo, v2           ; encoding: [0x05,0x00,0x16,0xd1,0x7e,0x04,0x02,0x00]
0x05,0x00,0x16,0xd1,0x7e,0x04,0x02,0x00

# CHECK: v_mac_f32_e64 v5, exec_hi, v2           ; encoding: [0x05,0x00,0x16,0xd1,0x7f,0x04,0x02,0x00]
0x05,0x00,0x16,0xd1,0x7f,0x04,0x02,0x00

# CHECK: v_mac_f32_e64 v5, 0, v2                 ; encoding: [0x05,0x00,0x16,0xd1,0x80,0x04,0x02,0x00]
0x05,0x00,0x16,0xd1,0x80,0x04,0x02,0x00

# CHECK: v_mac_f32_e64 v5, -1, v2                ; encoding: [0x05,0x00,0x16,0xd1,0xc1,0x04,0x02,0x00]
0x05,0x00,0x16,0xd1,0xc1,0x04,0x02,0x00

# CHECK: v_mac_f32_e64 v5, 0.5, v2               ; encoding: [0x05,0x00,0x16,0xd1,0xf0,0x04,0x02,0x00]
0x05,0x00,0x16,0xd1,0xf0,0x04,0x02,0x00

# CHECK: v_mac_f32_e64 v5, -4.0, v2              ; encoding: [0x05,0x00,0x16,0xd1,0xf7,0x04,0x02,0x00]
0x05,0x00,0x16,0xd1,0xf7,0x04,0x02,0x00

# CHECK: v_mac_f32_e64 v5, v1, v255              ; encoding: [0x05,0x00,0x16,0xd1,0x01,0xff,0x03,0x00]
0x05,0x00,0x16,0xd1,0x01,0xff,0x03,0x00

# CHECK: v_mac_f32_e64 v5, v1, s2                ; encoding: [0x05,0x00,0x16,0xd1,0x01,0x05,0x00,0x00]
0x05,0x00,0x16,0xd1,0x01,0x05,0x00,0x00

# CHECK: v_mac_f32_e64 v5, v1, s101              ; encoding: [0x05,0x00,0x16,0xd1,0x01,0xcb,0x00,0x00]
0x05,0x00,0x16,0xd1,0x01,0xcb,0x00,0x00

# CHECK: v_mac_f32_e64 v5, v1, flat_scratch_lo   ; encoding: [0x05,0x00,0x16,0xd1,0x01,0xcd,0x00,0x00]
0x05,0x00,0x16,0xd1,0x01,0xcd,0x00,0x00

# CHECK: v_mac_f32_e64 v5, v1, flat_scratch_hi   ; encoding: [0x05,0x00,0x16,0xd1,0x01,0xcf,0x00,0x00]
0x05,0x00,0x16,0xd1,0x01,0xcf,0x00,0x00

# CHECK: v_mac_f32_e64 v5, v1, vcc_lo            ; encoding: [0x05,0x00,0x16,0xd1,0x01,0xd5,0x00,0x00]
0x05,0x00,0x16,0xd1,0x01,0xd5,0x00,0x00

# CHECK: v_mac_f32_e64 v5, v1, vcc_hi            ; encoding: [0x05,0x00,0x16,0xd1,0x01,0xd7,0x00,0x00]
0x05,0x00,0x16,0xd1,0x01,0xd7,0x00,0x00

# CHECK: v_mac_f32_e64 v5, v1, tba_lo            ; encoding: [0x05,0x00,0x16,0xd1,0x01,0xd9,0x00,0x00]
0x05,0x00,0x16,0xd1,0x01,0xd9,0x00,0x00

# CHECK: v_mac_f32_e64 v5, v1, tba_hi            ; encoding: [0x05,0x00,0x16,0xd1,0x01,0xdb,0x00,0x00]
0x05,0x00,0x16,0xd1,0x01,0xdb,0x00,0x00

# CHECK: v_mac_f32_e64 v5, v1, tma_lo            ; encoding: [0x05,0x00,0x16,0xd1,0x01,0xdd,0x00,0x00]
0x05,0x00,0x16,0xd1,0x01,0xdd,0x00,0x00

# CHECK: v_mac_f32_e64 v5, v1, tma_hi            ; encoding: [0x05,0x00,0x16,0xd1,0x01,0xdf,0x00,0x00]
0x05,0x00,0x16,0xd1,0x01,0xdf,0x00,0x00

# CHECK: v_mac_f32_e64 v5, v1, ttmp11            ; encoding: [0x05,0x00,0x16,0xd1,0x01,0xf7,0x00,0x00]
0x05,0x00,0x16,0xd1,0x01,0xf7,0x00,0x00

# CHECK: v_mac_f32_e64 v5, v1, m0                ; encoding: [0x05,0x00,0x16,0xd1,0x01,0xf9,0x00,0x00]
0x05,0x00,0x16,0xd1,0x01,0xf9,0x00,0x00

# CHECK: v_mac_f32_e64 v5, v1, exec_lo           ; encoding: [0x05,0x00,0x16,0xd1,0x01,0xfd,0x00,0x00]
0x05,0x00,0x16,0xd1,0x01,0xfd,0x00,0x00

# CHECK: v_mac_f32_e64 v5, v1, exec_hi           ; encoding: [0x05,0x00,0x16,0xd1,0x01,0xff,0x00,0x00]
0x05,0x00,0x16,0xd1,0x01,0xff,0x00,0x00

# CHECK: v_mac_f32_e64 v5, v1, 0                 ; encoding: [0x05,0x00,0x16,0xd1,0x01,0x01,0x01,0x00]
0x05,0x00,0x16,0xd1,0x01,0x01,0x01,0x00

# CHECK: v_mac_f32_e64 v5, v1, -1                ; encoding: [0x05,0x00,0x16,0xd1,0x01,0x83,0x01,0x00]
0x05,0x00,0x16,0xd1,0x01,0x83,0x01,0x00

# CHECK: v_mac_f32_e64 v5, v1, 0.5               ; encoding: [0x05,0x00,0x16,0xd1,0x01,0xe1,0x01,0x00]
0x05,0x00,0x16,0xd1,0x01,0xe1,0x01,0x00

# CHECK: v_mac_f32_e64 v5, v1, -4.0              ; encoding: [0x05,0x00,0x16,0xd1,0x01,0xef,0x01,0x00]
0x05,0x00,0x16,0xd1,0x01,0xef,0x01,0x00

# CHECK: v_mac_f32_e64 v5, -v1, v2               ; encoding: [0x05,0x00,0x16,0xd1,0x01,0x05,0x02,0x20]
0x05,0x00,0x16,0xd1,0x01,0x05,0x02,0x20

# CHECK: v_mac_f32_e64 v5, v1, -v2               ; encoding: [0x05,0x00,0x16,0xd1,0x01,0x05,0x02,0x40]
0x05,0x00,0x16,0xd1,0x01,0x05,0x02,0x40

# CHECK: v_mac_f32_e64 v5, -v1, -v2              ; encoding: [0x05,0x00,0x16,0xd1,0x01,0x05,0x02,0x60]
0x05,0x00,0x16,0xd1,0x01,0x05,0x02,0x60

# CHECK: v_mac_f32_e64 v5, |v1|, v2              ; encoding: [0x05,0x01,0x16,0xd1,0x01,0x05,0x02,0x00]
0x05,0x01,0x16,0xd1,0x01,0x05,0x02,0x00

# CHECK: v_mac_f32_e64 v5, v1, |v2|              ; encoding: [0x05,0x02,0x16,0xd1,0x01,0x05,0x02,0x00]
0x05,0x02,0x16,0xd1,0x01,0x05,0x02,0x00

# CHECK: v_mac_f32_e64 v5, |v1|, |v2|            ; encoding: [0x05,0x03,0x16,0xd1,0x01,0x05,0x02,0x00]
0x05,0x03,0x16,0xd1,0x01,0x05,0x02,0x00

# CHECK: v_mac_f32_e64 v5, v1, v2 clamp          ; encoding: [0x05,0x80,0x16,0xd1,0x01,0x05,0x02,0x00]
0x05,0x80,0x16,0xd1,0x01,0x05,0x02,0x00

# CHECK: v_mac_f32_e64 v5, v1, v2 mul:2          ; encoding: [0x05,0x00,0x16,0xd1,0x01,0x05,0x02,0x08]
0x05,0x00,0x16,0xd1,0x01,0x05,0x02,0x08

# CHECK: v_mac_f32_e64 v5, v1, v2 mul:4          ; encoding: [0x05,0x00,0x16,0xd1,0x01,0x05,0x02,0x10]
0x05,0x00,0x16,0xd1,0x01,0x05,0x02,0x10

# CHECK: v_mac_f32_e64 v5, v1, v2 div:2          ; encoding: [0x05,0x00,0x16,0xd1,0x01,0x05,0x02,0x18]
0x05,0x00,0x16,0xd1,0x01,0x05,0x02,0x18

# CHECK: v_add_u32_e64 v5, s[12:13], v1, v2      ; encoding: [0x05,0x0c,0x19,0xd1,0x01,0x05,0x02,0x00]
0x05,0x0c,0x19,0xd1,0x01,0x05,0x02,0x00

# CHECK: v_add_u32_e64 v255, s[12:13], v1, v2    ; encoding: [0xff,0x0c,0x19,0xd1,0x01,0x05,0x02,0x00]
0xff,0x0c,0x19,0xd1,0x01,0x05,0x02,0x00

# CHECK: v_add_u32_e64 v5, s[14:15], v1, v2      ; encoding: [0x05,0x0e,0x19,0xd1,0x01,0x05,0x02,0x00]
0x05,0x0e,0x19,0xd1,0x01,0x05,0x02,0x00

# CHECK: v_add_u32_e64 v5, s[100:101], v1, v2    ; encoding: [0x05,0x64,0x19,0xd1,0x01,0x05,0x02,0x00]
0x05,0x64,0x19,0xd1,0x01,0x05,0x02,0x00

# CHECK: v_add_u32_e64 v5, flat_scratch, v1, v2  ; encoding: [0x05,0x66,0x19,0xd1,0x01,0x05,0x02,0x00]
0x05,0x66,0x19,0xd1,0x01,0x05,0x02,0x00

# CHECK: v_add_u32_e64 v5, vcc, v1, v2           ; encoding: [0x05,0x6a,0x19,0xd1,0x01,0x05,0x02,0x00]
0x05,0x6a,0x19,0xd1,0x01,0x05,0x02,0x00

# CHECK: v_add_u32_e64 v5, tba, v1, v2           ; encoding: [0x05,0x6c,0x19,0xd1,0x01,0x05,0x02,0x00]
0x05,0x6c,0x19,0xd1,0x01,0x05,0x02,0x00

# CHECK: v_add_u32_e64 v5, tma, v1, v2           ; encoding: [0x05,0x6e,0x19,0xd1,0x01,0x05,0x02,0x00]
0x05,0x6e,0x19,0xd1,0x01,0x05,0x02,0x00

# CHECK: v_add_u32_e64 v5, ttmp[10:11], v1, v2   ; encoding: [0x05,0x7a,0x19,0xd1,0x01,0x05,0x02,0x00]
0x05,0x7a,0x19,0xd1,0x01,0x05,0x02,0x00

# CHECK: v_add_u32_e64 v5, s[12:13], v255, v2    ; encoding: [0x05,0x0c,0x19,0xd1,0xff,0x05,0x02,0x00]
0x05,0x0c,0x19,0xd1,0xff,0x05,0x02,0x00

# CHECK: v_add_u32_e64 v5, s[12:13], s1, v2      ; encoding: [0x05,0x0c,0x19,0xd1,0x01,0x04,0x02,0x00]
0x05,0x0c,0x19,0xd1,0x01,0x04,0x02,0x00

# CHECK: v_add_u32_e64 v5, s[12:13], s101, v2    ; encoding: [0x05,0x0c,0x19,0xd1,0x65,0x04,0x02,0x00]
0x05,0x0c,0x19,0xd1,0x65,0x04,0x02,0x00

# CHECK: v_add_u32_e64 v5, s[12:13], flat_scratch_lo, v2 ; encoding: [0x05,0x0c,0x19,0xd1,0x66,0x04,0x02,0x00]
0x05,0x0c,0x19,0xd1,0x66,0x04,0x02,0x00

# CHECK: v_add_u32_e64 v5, s[12:13], flat_scratch_hi, v2 ; encoding: [0x05,0x0c,0x19,0xd1,0x67,0x04,0x02,0x00]
0x05,0x0c,0x19,0xd1,0x67,0x04,0x02,0x00

# CHECK: v_add_u32_e64 v5, s[12:13], vcc_lo, v2  ; encoding: [0x05,0x0c,0x19,0xd1,0x6a,0x04,0x02,0x00]
0x05,0x0c,0x19,0xd1,0x6a,0x04,0x02,0x00

# CHECK: v_add_u32_e64 v5, s[12:13], vcc_hi, v2  ; encoding: [0x05,0x0c,0x19,0xd1,0x6b,0x04,0x02,0x00]
0x05,0x0c,0x19,0xd1,0x6b,0x04,0x02,0x00

# CHECK: v_add_u32_e64 v5, s[12:13], tba_lo, v2  ; encoding: [0x05,0x0c,0x19,0xd1,0x6c,0x04,0x02,0x00]
0x05,0x0c,0x19,0xd1,0x6c,0x04,0x02,0x00

# CHECK: v_add_u32_e64 v5, s[12:13], tba_hi, v2  ; encoding: [0x05,0x0c,0x19,0xd1,0x6d,0x04,0x02,0x00]
0x05,0x0c,0x19,0xd1,0x6d,0x04,0x02,0x00

# CHECK: v_add_u32_e64 v5, s[12:13], tma_lo, v2  ; encoding: [0x05,0x0c,0x19,0xd1,0x6e,0x04,0x02,0x00]
0x05,0x0c,0x19,0xd1,0x6e,0x04,0x02,0x00

# CHECK: v_add_u32_e64 v5, s[12:13], tma_hi, v2  ; encoding: [0x05,0x0c,0x19,0xd1,0x6f,0x04,0x02,0x00]
0x05,0x0c,0x19,0xd1,0x6f,0x04,0x02,0x00

# CHECK: v_add_u32_e64 v5, s[12:13], ttmp11, v2  ; encoding: [0x05,0x0c,0x19,0xd1,0x7b,0x04,0x02,0x00]
0x05,0x0c,0x19,0xd1,0x7b,0x04,0x02,0x00

# CHECK: v_add_u32_e64 v5, s[12:13], m0, v2      ; encoding: [0x05,0x0c,0x19,0xd1,0x7c,0x04,0x02,0x00]
0x05,0x0c,0x19,0xd1,0x7c,0x04,0x02,0x00

# CHECK: v_add_u32_e64 v5, s[12:13], exec_lo, v2 ; encoding: [0x05,0x0c,0x19,0xd1,0x7e,0x04,0x02,0x00]
0x05,0x0c,0x19,0xd1,0x7e,0x04,0x02,0x00

# CHECK: v_add_u32_e64 v5, s[12:13], exec_hi, v2 ; encoding: [0x05,0x0c,0x19,0xd1,0x7f,0x04,0x02,0x00]
0x05,0x0c,0x19,0xd1,0x7f,0x04,0x02,0x00

# CHECK: v_add_u32_e64 v5, s[12:13], 0, v2       ; encoding: [0x05,0x0c,0x19,0xd1,0x80,0x04,0x02,0x00]
0x05,0x0c,0x19,0xd1,0x80,0x04,0x02,0x00

# CHECK: v_add_u32_e64 v5, s[12:13], -1, v2      ; encoding: [0x05,0x0c,0x19,0xd1,0xc1,0x04,0x02,0x00]
0x05,0x0c,0x19,0xd1,0xc1,0x04,0x02,0x00

# CHECK: v_add_u32_e64 v5, s[12:13], 0.5, v2     ; encoding: [0x05,0x0c,0x19,0xd1,0xf0,0x04,0x02,0x00]
0x05,0x0c,0x19,0xd1,0xf0,0x04,0x02,0x00

# CHECK: v_add_u32_e64 v5, s[12:13], -4.0, v2    ; encoding: [0x05,0x0c,0x19,0xd1,0xf7,0x04,0x02,0x00]
0x05,0x0c,0x19,0xd1,0xf7,0x04,0x02,0x00

# CHECK: v_add_u32_e64 v5, s[12:13], v1, v255    ; encoding: [0x05,0x0c,0x19,0xd1,0x01,0xff,0x03,0x00]
0x05,0x0c,0x19,0xd1,0x01,0xff,0x03,0x00

# CHECK: v_add_u32_e64 v5, s[12:13], v1, s2      ; encoding: [0x05,0x0c,0x19,0xd1,0x01,0x05,0x00,0x00]
0x05,0x0c,0x19,0xd1,0x01,0x05,0x00,0x00

# CHECK: v_add_u32_e64 v5, s[12:13], v1, s101    ; encoding: [0x05,0x0c,0x19,0xd1,0x01,0xcb,0x00,0x00]
0x05,0x0c,0x19,0xd1,0x01,0xcb,0x00,0x00

# CHECK: v_add_u32_e64 v5, s[12:13], v1, flat_scratch_lo ; encoding: [0x05,0x0c,0x19,0xd1,0x01,0xcd,0x00,0x00]
0x05,0x0c,0x19,0xd1,0x01,0xcd,0x00,0x00

# CHECK: v_add_u32_e64 v5, s[12:13], v1, flat_scratch_hi ; encoding: [0x05,0x0c,0x19,0xd1,0x01,0xcf,0x00,0x00]
0x05,0x0c,0x19,0xd1,0x01,0xcf,0x00,0x00

# CHECK: v_add_u32_e64 v5, s[12:13], v1, vcc_lo  ; encoding: [0x05,0x0c,0x19,0xd1,0x01,0xd5,0x00,0x00]
0x05,0x0c,0x19,0xd1,0x01,0xd5,0x00,0x00

# CHECK: v_add_u32_e64 v5, s[12:13], v1, vcc_hi  ; encoding: [0x05,0x0c,0x19,0xd1,0x01,0xd7,0x00,0x00]
0x05,0x0c,0x19,0xd1,0x01,0xd7,0x00,0x00

# CHECK: v_add_u32_e64 v5, s[12:13], v1, tba_lo  ; encoding: [0x05,0x0c,0x19,0xd1,0x01,0xd9,0x00,0x00]
0x05,0x0c,0x19,0xd1,0x01,0xd9,0x00,0x00

# CHECK: v_add_u32_e64 v5, s[12:13], v1, tba_hi  ; encoding: [0x05,0x0c,0x19,0xd1,0x01,0xdb,0x00,0x00]
0x05,0x0c,0x19,0xd1,0x01,0xdb,0x00,0x00

# CHECK: v_add_u32_e64 v5, s[12:13], v1, tma_lo  ; encoding: [0x05,0x0c,0x19,0xd1,0x01,0xdd,0x00,0x00]
0x05,0x0c,0x19,0xd1,0x01,0xdd,0x00,0x00

# CHECK: v_add_u32_e64 v5, s[12:13], v1, tma_hi  ; encoding: [0x05,0x0c,0x19,0xd1,0x01,0xdf,0x00,0x00]
0x05,0x0c,0x19,0xd1,0x01,0xdf,0x00,0x00

# CHECK: v_add_u32_e64 v5, s[12:13], v1, ttmp11  ; encoding: [0x05,0x0c,0x19,0xd1,0x01,0xf7,0x00,0x00]
0x05,0x0c,0x19,0xd1,0x01,0xf7,0x00,0x00

# CHECK: v_add_u32_e64 v5, s[12:13], v1, m0      ; encoding: [0x05,0x0c,0x19,0xd1,0x01,0xf9,0x00,0x00]
0x05,0x0c,0x19,0xd1,0x01,0xf9,0x00,0x00

# CHECK: v_add_u32_e64 v5, s[12:13], v1, exec_lo ; encoding: [0x05,0x0c,0x19,0xd1,0x01,0xfd,0x00,0x00]
0x05,0x0c,0x19,0xd1,0x01,0xfd,0x00,0x00

# CHECK: v_add_u32_e64 v5, s[12:13], v1, exec_hi ; encoding: [0x05,0x0c,0x19,0xd1,0x01,0xff,0x00,0x00]
0x05,0x0c,0x19,0xd1,0x01,0xff,0x00,0x00

# CHECK: v_add_u32_e64 v5, s[12:13], v1, 0       ; encoding: [0x05,0x0c,0x19,0xd1,0x01,0x01,0x01,0x00]
0x05,0x0c,0x19,0xd1,0x01,0x01,0x01,0x00

# CHECK: v_add_u32_e64 v5, s[12:13], v1, -1      ; encoding: [0x05,0x0c,0x19,0xd1,0x01,0x83,0x01,0x00]
0x05,0x0c,0x19,0xd1,0x01,0x83,0x01,0x00

# CHECK: v_add_u32_e64 v5, s[12:13], v1, 0.5     ; encoding: [0x05,0x0c,0x19,0xd1,0x01,0xe1,0x01,0x00]
0x05,0x0c,0x19,0xd1,0x01,0xe1,0x01,0x00

# CHECK: v_add_u32_e64 v5, s[12:13], v1, -4.0    ; encoding: [0x05,0x0c,0x19,0xd1,0x01,0xef,0x01,0x00]
0x05,0x0c,0x19,0xd1,0x01,0xef,0x01,0x00

# CHECK: v_sub_u32_e64 v5, s[12:13], v1, v2      ; encoding: [0x05,0x0c,0x1a,0xd1,0x01,0x05,0x02,0x00]
0x05,0x0c,0x1a,0xd1,0x01,0x05,0x02,0x00

# CHECK: v_sub_u32_e64 v255, s[12:13], v1, v2    ; encoding: [0xff,0x0c,0x1a,0xd1,0x01,0x05,0x02,0x00]
0xff,0x0c,0x1a,0xd1,0x01,0x05,0x02,0x00

# CHECK: v_sub_u32_e64 v5, s[14:15], v1, v2      ; encoding: [0x05,0x0e,0x1a,0xd1,0x01,0x05,0x02,0x00]
0x05,0x0e,0x1a,0xd1,0x01,0x05,0x02,0x00

# CHECK: v_sub_u32_e64 v5, s[100:101], v1, v2    ; encoding: [0x05,0x64,0x1a,0xd1,0x01,0x05,0x02,0x00]
0x05,0x64,0x1a,0xd1,0x01,0x05,0x02,0x00

# CHECK: v_sub_u32_e64 v5, flat_scratch, v1, v2  ; encoding: [0x05,0x66,0x1a,0xd1,0x01,0x05,0x02,0x00]
0x05,0x66,0x1a,0xd1,0x01,0x05,0x02,0x00

# CHECK: v_sub_u32_e64 v5, vcc, v1, v2           ; encoding: [0x05,0x6a,0x1a,0xd1,0x01,0x05,0x02,0x00]
0x05,0x6a,0x1a,0xd1,0x01,0x05,0x02,0x00

# CHECK: v_sub_u32_e64 v5, tba, v1, v2           ; encoding: [0x05,0x6c,0x1a,0xd1,0x01,0x05,0x02,0x00]
0x05,0x6c,0x1a,0xd1,0x01,0x05,0x02,0x00

# CHECK: v_sub_u32_e64 v5, tma, v1, v2           ; encoding: [0x05,0x6e,0x1a,0xd1,0x01,0x05,0x02,0x00]
0x05,0x6e,0x1a,0xd1,0x01,0x05,0x02,0x00

# CHECK: v_sub_u32_e64 v5, ttmp[10:11], v1, v2   ; encoding: [0x05,0x7a,0x1a,0xd1,0x01,0x05,0x02,0x00]
0x05,0x7a,0x1a,0xd1,0x01,0x05,0x02,0x00

# CHECK: v_sub_u32_e64 v5, s[12:13], v255, v2    ; encoding: [0x05,0x0c,0x1a,0xd1,0xff,0x05,0x02,0x00]
0x05,0x0c,0x1a,0xd1,0xff,0x05,0x02,0x00

# CHECK: v_sub_u32_e64 v5, s[12:13], s1, v2      ; encoding: [0x05,0x0c,0x1a,0xd1,0x01,0x04,0x02,0x00]
0x05,0x0c,0x1a,0xd1,0x01,0x04,0x02,0x00

# CHECK: v_sub_u32_e64 v5, s[12:13], s101, v2    ; encoding: [0x05,0x0c,0x1a,0xd1,0x65,0x04,0x02,0x00]
0x05,0x0c,0x1a,0xd1,0x65,0x04,0x02,0x00

# CHECK: v_sub_u32_e64 v5, s[12:13], flat_scratch_lo, v2 ; encoding: [0x05,0x0c,0x1a,0xd1,0x66,0x04,0x02,0x00]
0x05,0x0c,0x1a,0xd1,0x66,0x04,0x02,0x00

# CHECK: v_sub_u32_e64 v5, s[12:13], flat_scratch_hi, v2 ; encoding: [0x05,0x0c,0x1a,0xd1,0x67,0x04,0x02,0x00]
0x05,0x0c,0x1a,0xd1,0x67,0x04,0x02,0x00

# CHECK: v_sub_u32_e64 v5, s[12:13], vcc_lo, v2  ; encoding: [0x05,0x0c,0x1a,0xd1,0x6a,0x04,0x02,0x00]
0x05,0x0c,0x1a,0xd1,0x6a,0x04,0x02,0x00

# CHECK: v_sub_u32_e64 v5, s[12:13], vcc_hi, v2  ; encoding: [0x05,0x0c,0x1a,0xd1,0x6b,0x04,0x02,0x00]
0x05,0x0c,0x1a,0xd1,0x6b,0x04,0x02,0x00

# CHECK: v_sub_u32_e64 v5, s[12:13], tba_lo, v2  ; encoding: [0x05,0x0c,0x1a,0xd1,0x6c,0x04,0x02,0x00]
0x05,0x0c,0x1a,0xd1,0x6c,0x04,0x02,0x00

# CHECK: v_sub_u32_e64 v5, s[12:13], tba_hi, v2  ; encoding: [0x05,0x0c,0x1a,0xd1,0x6d,0x04,0x02,0x00]
0x05,0x0c,0x1a,0xd1,0x6d,0x04,0x02,0x00

# CHECK: v_sub_u32_e64 v5, s[12:13], tma_lo, v2  ; encoding: [0x05,0x0c,0x1a,0xd1,0x6e,0x04,0x02,0x00]
0x05,0x0c,0x1a,0xd1,0x6e,0x04,0x02,0x00

# CHECK: v_sub_u32_e64 v5, s[12:13], tma_hi, v2  ; encoding: [0x05,0x0c,0x1a,0xd1,0x6f,0x04,0x02,0x00]
0x05,0x0c,0x1a,0xd1,0x6f,0x04,0x02,0x00

# CHECK: v_sub_u32_e64 v5, s[12:13], ttmp11, v2  ; encoding: [0x05,0x0c,0x1a,0xd1,0x7b,0x04,0x02,0x00]
0x05,0x0c,0x1a,0xd1,0x7b,0x04,0x02,0x00

# CHECK: v_sub_u32_e64 v5, s[12:13], m0, v2      ; encoding: [0x05,0x0c,0x1a,0xd1,0x7c,0x04,0x02,0x00]
0x05,0x0c,0x1a,0xd1,0x7c,0x04,0x02,0x00

# CHECK: v_sub_u32_e64 v5, s[12:13], exec_lo, v2 ; encoding: [0x05,0x0c,0x1a,0xd1,0x7e,0x04,0x02,0x00]
0x05,0x0c,0x1a,0xd1,0x7e,0x04,0x02,0x00

# CHECK: v_sub_u32_e64 v5, s[12:13], exec_hi, v2 ; encoding: [0x05,0x0c,0x1a,0xd1,0x7f,0x04,0x02,0x00]
0x05,0x0c,0x1a,0xd1,0x7f,0x04,0x02,0x00

# CHECK: v_sub_u32_e64 v5, s[12:13], 0, v2       ; encoding: [0x05,0x0c,0x1a,0xd1,0x80,0x04,0x02,0x00]
0x05,0x0c,0x1a,0xd1,0x80,0x04,0x02,0x00

# CHECK: v_sub_u32_e64 v5, s[12:13], -1, v2      ; encoding: [0x05,0x0c,0x1a,0xd1,0xc1,0x04,0x02,0x00]
0x05,0x0c,0x1a,0xd1,0xc1,0x04,0x02,0x00

# CHECK: v_sub_u32_e64 v5, s[12:13], 0.5, v2     ; encoding: [0x05,0x0c,0x1a,0xd1,0xf0,0x04,0x02,0x00]
0x05,0x0c,0x1a,0xd1,0xf0,0x04,0x02,0x00

# CHECK: v_sub_u32_e64 v5, s[12:13], -4.0, v2    ; encoding: [0x05,0x0c,0x1a,0xd1,0xf7,0x04,0x02,0x00]
0x05,0x0c,0x1a,0xd1,0xf7,0x04,0x02,0x00

# CHECK: v_sub_u32_e64 v5, s[12:13], v1, v255    ; encoding: [0x05,0x0c,0x1a,0xd1,0x01,0xff,0x03,0x00]
0x05,0x0c,0x1a,0xd1,0x01,0xff,0x03,0x00

# CHECK: v_sub_u32_e64 v5, s[12:13], v1, s2      ; encoding: [0x05,0x0c,0x1a,0xd1,0x01,0x05,0x00,0x00]
0x05,0x0c,0x1a,0xd1,0x01,0x05,0x00,0x00

# CHECK: v_sub_u32_e64 v5, s[12:13], v1, s101    ; encoding: [0x05,0x0c,0x1a,0xd1,0x01,0xcb,0x00,0x00]
0x05,0x0c,0x1a,0xd1,0x01,0xcb,0x00,0x00

# CHECK: v_sub_u32_e64 v5, s[12:13], v1, flat_scratch_lo ; encoding: [0x05,0x0c,0x1a,0xd1,0x01,0xcd,0x00,0x00]
0x05,0x0c,0x1a,0xd1,0x01,0xcd,0x00,0x00

# CHECK: v_sub_u32_e64 v5, s[12:13], v1, flat_scratch_hi ; encoding: [0x05,0x0c,0x1a,0xd1,0x01,0xcf,0x00,0x00]
0x05,0x0c,0x1a,0xd1,0x01,0xcf,0x00,0x00

# CHECK: v_sub_u32_e64 v5, s[12:13], v1, vcc_lo  ; encoding: [0x05,0x0c,0x1a,0xd1,0x01,0xd5,0x00,0x00]
0x05,0x0c,0x1a,0xd1,0x01,0xd5,0x00,0x00

# CHECK: v_sub_u32_e64 v5, s[12:13], v1, vcc_hi  ; encoding: [0x05,0x0c,0x1a,0xd1,0x01,0xd7,0x00,0x00]
0x05,0x0c,0x1a,0xd1,0x01,0xd7,0x00,0x00

# CHECK: v_sub_u32_e64 v5, s[12:13], v1, tba_lo  ; encoding: [0x05,0x0c,0x1a,0xd1,0x01,0xd9,0x00,0x00]
0x05,0x0c,0x1a,0xd1,0x01,0xd9,0x00,0x00

# CHECK: v_sub_u32_e64 v5, s[12:13], v1, tba_hi  ; encoding: [0x05,0x0c,0x1a,0xd1,0x01,0xdb,0x00,0x00]
0x05,0x0c,0x1a,0xd1,0x01,0xdb,0x00,0x00

# CHECK: v_sub_u32_e64 v5, s[12:13], v1, tma_lo  ; encoding: [0x05,0x0c,0x1a,0xd1,0x01,0xdd,0x00,0x00]
0x05,0x0c,0x1a,0xd1,0x01,0xdd,0x00,0x00

# CHECK: v_sub_u32_e64 v5, s[12:13], v1, tma_hi  ; encoding: [0x05,0x0c,0x1a,0xd1,0x01,0xdf,0x00,0x00]
0x05,0x0c,0x1a,0xd1,0x01,0xdf,0x00,0x00

# CHECK: v_sub_u32_e64 v5, s[12:13], v1, ttmp11  ; encoding: [0x05,0x0c,0x1a,0xd1,0x01,0xf7,0x00,0x00]
0x05,0x0c,0x1a,0xd1,0x01,0xf7,0x00,0x00

# CHECK: v_sub_u32_e64 v5, s[12:13], v1, m0      ; encoding: [0x05,0x0c,0x1a,0xd1,0x01,0xf9,0x00,0x00]
0x05,0x0c,0x1a,0xd1,0x01,0xf9,0x00,0x00

# CHECK: v_sub_u32_e64 v5, s[12:13], v1, exec_lo ; encoding: [0x05,0x0c,0x1a,0xd1,0x01,0xfd,0x00,0x00]
0x05,0x0c,0x1a,0xd1,0x01,0xfd,0x00,0x00

# CHECK: v_sub_u32_e64 v5, s[12:13], v1, exec_hi ; encoding: [0x05,0x0c,0x1a,0xd1,0x01,0xff,0x00,0x00]
0x05,0x0c,0x1a,0xd1,0x01,0xff,0x00,0x00

# CHECK: v_sub_u32_e64 v5, s[12:13], v1, 0       ; encoding: [0x05,0x0c,0x1a,0xd1,0x01,0x01,0x01,0x00]
0x05,0x0c,0x1a,0xd1,0x01,0x01,0x01,0x00

# CHECK: v_sub_u32_e64 v5, s[12:13], v1, -1      ; encoding: [0x05,0x0c,0x1a,0xd1,0x01,0x83,0x01,0x00]
0x05,0x0c,0x1a,0xd1,0x01,0x83,0x01,0x00

# CHECK: v_sub_u32_e64 v5, s[12:13], v1, 0.5     ; encoding: [0x05,0x0c,0x1a,0xd1,0x01,0xe1,0x01,0x00]
0x05,0x0c,0x1a,0xd1,0x01,0xe1,0x01,0x00

# CHECK: v_sub_u32_e64 v5, s[12:13], v1, -4.0    ; encoding: [0x05,0x0c,0x1a,0xd1,0x01,0xef,0x01,0x00]
0x05,0x0c,0x1a,0xd1,0x01,0xef,0x01,0x00

# CHECK: v_subrev_u32_e64 v5, s[12:13], v1, v2   ; encoding: [0x05,0x0c,0x1b,0xd1,0x01,0x05,0x02,0x00]
0x05,0x0c,0x1b,0xd1,0x01,0x05,0x02,0x00

# CHECK: v_subrev_u32_e64 v255, s[12:13], v1, v2 ; encoding: [0xff,0x0c,0x1b,0xd1,0x01,0x05,0x02,0x00]
0xff,0x0c,0x1b,0xd1,0x01,0x05,0x02,0x00

# CHECK: v_subrev_u32_e64 v5, s[14:15], v1, v2   ; encoding: [0x05,0x0e,0x1b,0xd1,0x01,0x05,0x02,0x00]
0x05,0x0e,0x1b,0xd1,0x01,0x05,0x02,0x00

# CHECK: v_subrev_u32_e64 v5, s[100:101], v1, v2 ; encoding: [0x05,0x64,0x1b,0xd1,0x01,0x05,0x02,0x00]
0x05,0x64,0x1b,0xd1,0x01,0x05,0x02,0x00

# CHECK: v_subrev_u32_e64 v5, flat_scratch, v1, v2 ; encoding: [0x05,0x66,0x1b,0xd1,0x01,0x05,0x02,0x00]
0x05,0x66,0x1b,0xd1,0x01,0x05,0x02,0x00

# CHECK: v_subrev_u32_e64 v5, vcc, v1, v2        ; encoding: [0x05,0x6a,0x1b,0xd1,0x01,0x05,0x02,0x00]
0x05,0x6a,0x1b,0xd1,0x01,0x05,0x02,0x00

# CHECK: v_subrev_u32_e64 v5, tba, v1, v2        ; encoding: [0x05,0x6c,0x1b,0xd1,0x01,0x05,0x02,0x00]
0x05,0x6c,0x1b,0xd1,0x01,0x05,0x02,0x00

# CHECK: v_subrev_u32_e64 v5, tma, v1, v2        ; encoding: [0x05,0x6e,0x1b,0xd1,0x01,0x05,0x02,0x00]
0x05,0x6e,0x1b,0xd1,0x01,0x05,0x02,0x00

# CHECK: v_subrev_u32_e64 v5, ttmp[10:11], v1, v2 ; encoding: [0x05,0x7a,0x1b,0xd1,0x01,0x05,0x02,0x00]
0x05,0x7a,0x1b,0xd1,0x01,0x05,0x02,0x00

# CHECK: v_subrev_u32_e64 v5, s[12:13], v255, v2 ; encoding: [0x05,0x0c,0x1b,0xd1,0xff,0x05,0x02,0x00]
0x05,0x0c,0x1b,0xd1,0xff,0x05,0x02,0x00

# CHECK: v_subrev_u32_e64 v5, s[12:13], s1, v2   ; encoding: [0x05,0x0c,0x1b,0xd1,0x01,0x04,0x02,0x00]
0x05,0x0c,0x1b,0xd1,0x01,0x04,0x02,0x00

# CHECK: v_subrev_u32_e64 v5, s[12:13], s101, v2 ; encoding: [0x05,0x0c,0x1b,0xd1,0x65,0x04,0x02,0x00]
0x05,0x0c,0x1b,0xd1,0x65,0x04,0x02,0x00

# CHECK: v_subrev_u32_e64 v5, s[12:13], flat_scratch_lo, v2 ; encoding: [0x05,0x0c,0x1b,0xd1,0x66,0x04,0x02,0x00]
0x05,0x0c,0x1b,0xd1,0x66,0x04,0x02,0x00

# CHECK: v_subrev_u32_e64 v5, s[12:13], flat_scratch_hi, v2 ; encoding: [0x05,0x0c,0x1b,0xd1,0x67,0x04,0x02,0x00]
0x05,0x0c,0x1b,0xd1,0x67,0x04,0x02,0x00

# CHECK: v_subrev_u32_e64 v5, s[12:13], vcc_lo, v2 ; encoding: [0x05,0x0c,0x1b,0xd1,0x6a,0x04,0x02,0x00]
0x05,0x0c,0x1b,0xd1,0x6a,0x04,0x02,0x00

# CHECK: v_subrev_u32_e64 v5, s[12:13], vcc_hi, v2 ; encoding: [0x05,0x0c,0x1b,0xd1,0x6b,0x04,0x02,0x00]
0x05,0x0c,0x1b,0xd1,0x6b,0x04,0x02,0x00

# CHECK: v_subrev_u32_e64 v5, s[12:13], tba_lo, v2 ; encoding: [0x05,0x0c,0x1b,0xd1,0x6c,0x04,0x02,0x00]
0x05,0x0c,0x1b,0xd1,0x6c,0x04,0x02,0x00

# CHECK: v_subrev_u32_e64 v5, s[12:13], tba_hi, v2 ; encoding: [0x05,0x0c,0x1b,0xd1,0x6d,0x04,0x02,0x00]
0x05,0x0c,0x1b,0xd1,0x6d,0x04,0x02,0x00

# CHECK: v_subrev_u32_e64 v5, s[12:13], tma_lo, v2 ; encoding: [0x05,0x0c,0x1b,0xd1,0x6e,0x04,0x02,0x00]
0x05,0x0c,0x1b,0xd1,0x6e,0x04,0x02,0x00

# CHECK: v_subrev_u32_e64 v5, s[12:13], tma_hi, v2 ; encoding: [0x05,0x0c,0x1b,0xd1,0x6f,0x04,0x02,0x00]
0x05,0x0c,0x1b,0xd1,0x6f,0x04,0x02,0x00

# CHECK: v_subrev_u32_e64 v5, s[12:13], ttmp11, v2 ; encoding: [0x05,0x0c,0x1b,0xd1,0x7b,0x04,0x02,0x00]
0x05,0x0c,0x1b,0xd1,0x7b,0x04,0x02,0x00

# CHECK: v_subrev_u32_e64 v5, s[12:13], m0, v2   ; encoding: [0x05,0x0c,0x1b,0xd1,0x7c,0x04,0x02,0x00]
0x05,0x0c,0x1b,0xd1,0x7c,0x04,0x02,0x00

# CHECK: v_subrev_u32_e64 v5, s[12:13], exec_lo, v2 ; encoding: [0x05,0x0c,0x1b,0xd1,0x7e,0x04,0x02,0x00]
0x05,0x0c,0x1b,0xd1,0x7e,0x04,0x02,0x00

# CHECK: v_subrev_u32_e64 v5, s[12:13], exec_hi, v2 ; encoding: [0x05,0x0c,0x1b,0xd1,0x7f,0x04,0x02,0x00]
0x05,0x0c,0x1b,0xd1,0x7f,0x04,0x02,0x00

# CHECK: v_subrev_u32_e64 v5, s[12:13], 0, v2    ; encoding: [0x05,0x0c,0x1b,0xd1,0x80,0x04,0x02,0x00]
0x05,0x0c,0x1b,0xd1,0x80,0x04,0x02,0x00

# CHECK: v_subrev_u32_e64 v5, s[12:13], -1, v2   ; encoding: [0x05,0x0c,0x1b,0xd1,0xc1,0x04,0x02,0x00]
0x05,0x0c,0x1b,0xd1,0xc1,0x04,0x02,0x00

# CHECK: v_subrev_u32_e64 v5, s[12:13], 0.5, v2  ; encoding: [0x05,0x0c,0x1b,0xd1,0xf0,0x04,0x02,0x00]
0x05,0x0c,0x1b,0xd1,0xf0,0x04,0x02,0x00

# CHECK: v_subrev_u32_e64 v5, s[12:13], -4.0, v2 ; encoding: [0x05,0x0c,0x1b,0xd1,0xf7,0x04,0x02,0x00]
0x05,0x0c,0x1b,0xd1,0xf7,0x04,0x02,0x00

# CHECK: v_subrev_u32_e64 v5, s[12:13], v1, v255 ; encoding: [0x05,0x0c,0x1b,0xd1,0x01,0xff,0x03,0x00]
0x05,0x0c,0x1b,0xd1,0x01,0xff,0x03,0x00

# CHECK: v_subrev_u32_e64 v5, s[12:13], v1, s2   ; encoding: [0x05,0x0c,0x1b,0xd1,0x01,0x05,0x00,0x00]
0x05,0x0c,0x1b,0xd1,0x01,0x05,0x00,0x00

# CHECK: v_subrev_u32_e64 v5, s[12:13], v1, s101 ; encoding: [0x05,0x0c,0x1b,0xd1,0x01,0xcb,0x00,0x00]
0x05,0x0c,0x1b,0xd1,0x01,0xcb,0x00,0x00

# CHECK: v_subrev_u32_e64 v5, s[12:13], v1, flat_scratch_lo ; encoding: [0x05,0x0c,0x1b,0xd1,0x01,0xcd,0x00,0x00]
0x05,0x0c,0x1b,0xd1,0x01,0xcd,0x00,0x00

# CHECK: v_subrev_u32_e64 v5, s[12:13], v1, flat_scratch_hi ; encoding: [0x05,0x0c,0x1b,0xd1,0x01,0xcf,0x00,0x00]
0x05,0x0c,0x1b,0xd1,0x01,0xcf,0x00,0x00

# CHECK: v_subrev_u32_e64 v5, s[12:13], v1, vcc_lo ; encoding: [0x05,0x0c,0x1b,0xd1,0x01,0xd5,0x00,0x00]
0x05,0x0c,0x1b,0xd1,0x01,0xd5,0x00,0x00

# CHECK: v_subrev_u32_e64 v5, s[12:13], v1, vcc_hi ; encoding: [0x05,0x0c,0x1b,0xd1,0x01,0xd7,0x00,0x00]
0x05,0x0c,0x1b,0xd1,0x01,0xd7,0x00,0x00

# CHECK: v_subrev_u32_e64 v5, s[12:13], v1, tba_lo ; encoding: [0x05,0x0c,0x1b,0xd1,0x01,0xd9,0x00,0x00]
0x05,0x0c,0x1b,0xd1,0x01,0xd9,0x00,0x00

# CHECK: v_subrev_u32_e64 v5, s[12:13], v1, tba_hi ; encoding: [0x05,0x0c,0x1b,0xd1,0x01,0xdb,0x00,0x00]
0x05,0x0c,0x1b,0xd1,0x01,0xdb,0x00,0x00

# CHECK: v_subrev_u32_e64 v5, s[12:13], v1, tma_lo ; encoding: [0x05,0x0c,0x1b,0xd1,0x01,0xdd,0x00,0x00]
0x05,0x0c,0x1b,0xd1,0x01,0xdd,0x00,0x00

# CHECK: v_subrev_u32_e64 v5, s[12:13], v1, tma_hi ; encoding: [0x05,0x0c,0x1b,0xd1,0x01,0xdf,0x00,0x00]
0x05,0x0c,0x1b,0xd1,0x01,0xdf,0x00,0x00

# CHECK: v_subrev_u32_e64 v5, s[12:13], v1, ttmp11 ; encoding: [0x05,0x0c,0x1b,0xd1,0x01,0xf7,0x00,0x00]
0x05,0x0c,0x1b,0xd1,0x01,0xf7,0x00,0x00

# CHECK: v_subrev_u32_e64 v5, s[12:13], v1, m0   ; encoding: [0x05,0x0c,0x1b,0xd1,0x01,0xf9,0x00,0x00]
0x05,0x0c,0x1b,0xd1,0x01,0xf9,0x00,0x00

# CHECK: v_subrev_u32_e64 v5, s[12:13], v1, exec_lo ; encoding: [0x05,0x0c,0x1b,0xd1,0x01,0xfd,0x00,0x00]
0x05,0x0c,0x1b,0xd1,0x01,0xfd,0x00,0x00

# CHECK: v_subrev_u32_e64 v5, s[12:13], v1, exec_hi ; encoding: [0x05,0x0c,0x1b,0xd1,0x01,0xff,0x00,0x00]
0x05,0x0c,0x1b,0xd1,0x01,0xff,0x00,0x00

# CHECK: v_subrev_u32_e64 v5, s[12:13], v1, 0    ; encoding: [0x05,0x0c,0x1b,0xd1,0x01,0x01,0x01,0x00]
0x05,0x0c,0x1b,0xd1,0x01,0x01,0x01,0x00

# CHECK: v_subrev_u32_e64 v5, s[12:13], v1, -1   ; encoding: [0x05,0x0c,0x1b,0xd1,0x01,0x83,0x01,0x00]
0x05,0x0c,0x1b,0xd1,0x01,0x83,0x01,0x00

# CHECK: v_subrev_u32_e64 v5, s[12:13], v1, 0.5  ; encoding: [0x05,0x0c,0x1b,0xd1,0x01,0xe1,0x01,0x00]
0x05,0x0c,0x1b,0xd1,0x01,0xe1,0x01,0x00

# CHECK: v_subrev_u32_e64 v5, s[12:13], v1, -4.0 ; encoding: [0x05,0x0c,0x1b,0xd1,0x01,0xef,0x01,0x00]
0x05,0x0c,0x1b,0xd1,0x01,0xef,0x01,0x00

# CHECK: v_addc_u32_e64 v5, s[12:13], v1, v2, s[6:7] ; encoding: [0x05,0x0c,0x1c,0xd1,0x01,0x05,0x1a,0x00]
0x05,0x0c,0x1c,0xd1,0x01,0x05,0x1a,0x00

# CHECK: v_addc_u32_e64 v255, s[12:13], v1, v2, s[6:7] ; encoding: [0xff,0x0c,0x1c,0xd1,0x01,0x05,0x1a,0x00]
0xff,0x0c,0x1c,0xd1,0x01,0x05,0x1a,0x00

# CHECK: v_addc_u32_e64 v5, s[14:15], v1, v2, s[6:7] ; encoding: [0x05,0x0e,0x1c,0xd1,0x01,0x05,0x1a,0x00]
0x05,0x0e,0x1c,0xd1,0x01,0x05,0x1a,0x00

# CHECK: v_addc_u32_e64 v5, s[100:101], v1, v2, s[6:7] ; encoding: [0x05,0x64,0x1c,0xd1,0x01,0x05,0x1a,0x00]
0x05,0x64,0x1c,0xd1,0x01,0x05,0x1a,0x00

# CHECK: v_addc_u32_e64 v5, flat_scratch, v1, v2, s[6:7] ; encoding: [0x05,0x66,0x1c,0xd1,0x01,0x05,0x1a,0x00]
0x05,0x66,0x1c,0xd1,0x01,0x05,0x1a,0x00

# CHECK: v_addc_u32_e64 v5, vcc, v1, v2, s[6:7]  ; encoding: [0x05,0x6a,0x1c,0xd1,0x01,0x05,0x1a,0x00]
0x05,0x6a,0x1c,0xd1,0x01,0x05,0x1a,0x00

# CHECK: v_addc_u32_e64 v5, tba, v1, v2, s[6:7]  ; encoding: [0x05,0x6c,0x1c,0xd1,0x01,0x05,0x1a,0x00]
0x05,0x6c,0x1c,0xd1,0x01,0x05,0x1a,0x00

# CHECK: v_addc_u32_e64 v5, tma, v1, v2, s[6:7]  ; encoding: [0x05,0x6e,0x1c,0xd1,0x01,0x05,0x1a,0x00]
0x05,0x6e,0x1c,0xd1,0x01,0x05,0x1a,0x00

# CHECK: v_addc_u32_e64 v5, ttmp[10:11], v1, v2, s[6:7] ; encoding: [0x05,0x7a,0x1c,0xd1,0x01,0x05,0x1a,0x00]
0x05,0x7a,0x1c,0xd1,0x01,0x05,0x1a,0x00

# CHECK: v_addc_u32_e64 v5, s[12:13], v255, v2, s[6:7] ; encoding: [0x05,0x0c,0x1c,0xd1,0xff,0x05,0x1a,0x00]
0x05,0x0c,0x1c,0xd1,0xff,0x05,0x1a,0x00

# CHECK: v_addc_u32_e64 v5, s[12:13], 0, v2, s[6:7] ; encoding: [0x05,0x0c,0x1c,0xd1,0x80,0x04,0x1a,0x00]
0x05,0x0c,0x1c,0xd1,0x80,0x04,0x1a,0x00

# CHECK: v_addc_u32_e64 v5, s[12:13], -1, v2, s[6:7] ; encoding: [0x05,0x0c,0x1c,0xd1,0xc1,0x04,0x1a,0x00]
0x05,0x0c,0x1c,0xd1,0xc1,0x04,0x1a,0x00

# CHECK: v_addc_u32_e64 v5, s[12:13], 0.5, v2, s[6:7] ; encoding: [0x05,0x0c,0x1c,0xd1,0xf0,0x04,0x1a,0x00]
0x05,0x0c,0x1c,0xd1,0xf0,0x04,0x1a,0x00

# CHECK: v_addc_u32_e64 v5, s[12:13], -4.0, v2, s[6:7] ; encoding: [0x05,0x0c,0x1c,0xd1,0xf7,0x04,0x1a,0x00]
0x05,0x0c,0x1c,0xd1,0xf7,0x04,0x1a,0x00

# CHECK: v_addc_u32_e64 v5, s[12:13], v1, v255, s[6:7] ; encoding: [0x05,0x0c,0x1c,0xd1,0x01,0xff,0x1b,0x00]
0x05,0x0c,0x1c,0xd1,0x01,0xff,0x1b,0x00

# CHECK: v_addc_u32_e64 v5, s[12:13], v1, 0, s[6:7] ; encoding: [0x05,0x0c,0x1c,0xd1,0x01,0x01,0x19,0x00]
0x05,0x0c,0x1c,0xd1,0x01,0x01,0x19,0x00

# CHECK: v_addc_u32_e64 v5, s[12:13], v1, -1, s[6:7] ; encoding: [0x05,0x0c,0x1c,0xd1,0x01,0x83,0x19,0x00]
0x05,0x0c,0x1c,0xd1,0x01,0x83,0x19,0x00

# CHECK: v_addc_u32_e64 v5, s[12:13], v1, 0.5, s[6:7] ; encoding: [0x05,0x0c,0x1c,0xd1,0x01,0xe1,0x19,0x00]
0x05,0x0c,0x1c,0xd1,0x01,0xe1,0x19,0x00

# CHECK: v_addc_u32_e64 v5, s[12:13], v1, -4.0, s[6:7] ; encoding: [0x05,0x0c,0x1c,0xd1,0x01,0xef,0x19,0x00]
0x05,0x0c,0x1c,0xd1,0x01,0xef,0x19,0x00

# CHECK: v_addc_u32_e64 v5, s[12:13], v1, v2, s[8:9] ; encoding: [0x05,0x0c,0x1c,0xd1,0x01,0x05,0x22,0x00]
0x05,0x0c,0x1c,0xd1,0x01,0x05,0x22,0x00

# CHECK: v_addc_u32_e64 v5, s[12:13], v1, v2, s[100:101] ; encoding: [0x05,0x0c,0x1c,0xd1,0x01,0x05,0x92,0x01]
0x05,0x0c,0x1c,0xd1,0x01,0x05,0x92,0x01

# CHECK: v_addc_u32_e64 v5, s[12:13], v1, v2, flat_scratch ; encoding: [0x05,0x0c,0x1c,0xd1,0x01,0x05,0x9a,0x01]
0x05,0x0c,0x1c,0xd1,0x01,0x05,0x9a,0x01

# CHECK: v_addc_u32_e64 v5, s[12:13], v1, v2, vcc ; encoding: [0x05,0x0c,0x1c,0xd1,0x01,0x05,0xaa,0x01]
0x05,0x0c,0x1c,0xd1,0x01,0x05,0xaa,0x01

# CHECK: v_addc_u32_e64 v5, s[12:13], v1, v2, tba ; encoding: [0x05,0x0c,0x1c,0xd1,0x01,0x05,0xb2,0x01]
0x05,0x0c,0x1c,0xd1,0x01,0x05,0xb2,0x01

# CHECK: v_addc_u32_e64 v5, s[12:13], v1, v2, tma ; encoding: [0x05,0x0c,0x1c,0xd1,0x01,0x05,0xba,0x01]
0x05,0x0c,0x1c,0xd1,0x01,0x05,0xba,0x01

# CHECK: v_addc_u32_e64 v5, s[12:13], v1, v2, ttmp[10:11] ; encoding: [0x05,0x0c,0x1c,0xd1,0x01,0x05,0xea,0x01]
0x05,0x0c,0x1c,0xd1,0x01,0x05,0xea,0x01

# CHECK: v_subb_u32_e64 v5, s[12:13], v1, v2, s[6:7] ; encoding: [0x05,0x0c,0x1d,0xd1,0x01,0x05,0x1a,0x00]
0x05,0x0c,0x1d,0xd1,0x01,0x05,0x1a,0x00

# CHECK: v_subb_u32_e64 v255, s[12:13], v1, v2, s[6:7] ; encoding: [0xff,0x0c,0x1d,0xd1,0x01,0x05,0x1a,0x00]
0xff,0x0c,0x1d,0xd1,0x01,0x05,0x1a,0x00

# CHECK: v_subb_u32_e64 v5, s[14:15], v1, v2, s[6:7] ; encoding: [0x05,0x0e,0x1d,0xd1,0x01,0x05,0x1a,0x00]
0x05,0x0e,0x1d,0xd1,0x01,0x05,0x1a,0x00

# CHECK: v_subb_u32_e64 v5, s[100:101], v1, v2, s[6:7] ; encoding: [0x05,0x64,0x1d,0xd1,0x01,0x05,0x1a,0x00]
0x05,0x64,0x1d,0xd1,0x01,0x05,0x1a,0x00

# CHECK: v_subb_u32_e64 v5, flat_scratch, v1, v2, s[6:7] ; encoding: [0x05,0x66,0x1d,0xd1,0x01,0x05,0x1a,0x00]
0x05,0x66,0x1d,0xd1,0x01,0x05,0x1a,0x00

# CHECK: v_subb_u32_e64 v5, vcc, v1, v2, s[6:7]  ; encoding: [0x05,0x6a,0x1d,0xd1,0x01,0x05,0x1a,0x00]
0x05,0x6a,0x1d,0xd1,0x01,0x05,0x1a,0x00

# CHECK: v_subb_u32_e64 v5, tba, v1, v2, s[6:7]  ; encoding: [0x05,0x6c,0x1d,0xd1,0x01,0x05,0x1a,0x00]
0x05,0x6c,0x1d,0xd1,0x01,0x05,0x1a,0x00

# CHECK: v_subb_u32_e64 v5, tma, v1, v2, s[6:7]  ; encoding: [0x05,0x6e,0x1d,0xd1,0x01,0x05,0x1a,0x00]
0x05,0x6e,0x1d,0xd1,0x01,0x05,0x1a,0x00

# CHECK: v_subb_u32_e64 v5, ttmp[10:11], v1, v2, s[6:7] ; encoding: [0x05,0x7a,0x1d,0xd1,0x01,0x05,0x1a,0x00]
0x05,0x7a,0x1d,0xd1,0x01,0x05,0x1a,0x00

# CHECK: v_subb_u32_e64 v5, s[12:13], v255, v2, s[6:7] ; encoding: [0x05,0x0c,0x1d,0xd1,0xff,0x05,0x1a,0x00]
0x05,0x0c,0x1d,0xd1,0xff,0x05,0x1a,0x00

# CHECK: v_subb_u32_e64 v5, s[12:13], 0, v2, s[6:7] ; encoding: [0x05,0x0c,0x1d,0xd1,0x80,0x04,0x1a,0x00]
0x05,0x0c,0x1d,0xd1,0x80,0x04,0x1a,0x00

# CHECK: v_subb_u32_e64 v5, s[12:13], -1, v2, s[6:7] ; encoding: [0x05,0x0c,0x1d,0xd1,0xc1,0x04,0x1a,0x00]
0x05,0x0c,0x1d,0xd1,0xc1,0x04,0x1a,0x00

# CHECK: v_subb_u32_e64 v5, s[12:13], 0.5, v2, s[6:7] ; encoding: [0x05,0x0c,0x1d,0xd1,0xf0,0x04,0x1a,0x00]
0x05,0x0c,0x1d,0xd1,0xf0,0x04,0x1a,0x00

# CHECK: v_subb_u32_e64 v5, s[12:13], -4.0, v2, s[6:7] ; encoding: [0x05,0x0c,0x1d,0xd1,0xf7,0x04,0x1a,0x00]
0x05,0x0c,0x1d,0xd1,0xf7,0x04,0x1a,0x00

# CHECK: v_subb_u32_e64 v5, s[12:13], v1, v255, s[6:7] ; encoding: [0x05,0x0c,0x1d,0xd1,0x01,0xff,0x1b,0x00]
0x05,0x0c,0x1d,0xd1,0x01,0xff,0x1b,0x00

# CHECK: v_subb_u32_e64 v5, s[12:13], v1, 0, s[6:7] ; encoding: [0x05,0x0c,0x1d,0xd1,0x01,0x01,0x19,0x00]
0x05,0x0c,0x1d,0xd1,0x01,0x01,0x19,0x00

# CHECK: v_subb_u32_e64 v5, s[12:13], v1, -1, s[6:7] ; encoding: [0x05,0x0c,0x1d,0xd1,0x01,0x83,0x19,0x00]
0x05,0x0c,0x1d,0xd1,0x01,0x83,0x19,0x00

# CHECK: v_subb_u32_e64 v5, s[12:13], v1, 0.5, s[6:7] ; encoding: [0x05,0x0c,0x1d,0xd1,0x01,0xe1,0x19,0x00]
0x05,0x0c,0x1d,0xd1,0x01,0xe1,0x19,0x00

# CHECK: v_subb_u32_e64 v5, s[12:13], v1, -4.0, s[6:7] ; encoding: [0x05,0x0c,0x1d,0xd1,0x01,0xef,0x19,0x00]
0x05,0x0c,0x1d,0xd1,0x01,0xef,0x19,0x00

# CHECK: v_subb_u32_e64 v5, s[12:13], v1, v2, s[8:9] ; encoding: [0x05,0x0c,0x1d,0xd1,0x01,0x05,0x22,0x00]
0x05,0x0c,0x1d,0xd1,0x01,0x05,0x22,0x00

# CHECK: v_subb_u32_e64 v5, s[12:13], v1, v2, s[100:101] ; encoding: [0x05,0x0c,0x1d,0xd1,0x01,0x05,0x92,0x01]
0x05,0x0c,0x1d,0xd1,0x01,0x05,0x92,0x01

# CHECK: v_subb_u32_e64 v5, s[12:13], v1, v2, flat_scratch ; encoding: [0x05,0x0c,0x1d,0xd1,0x01,0x05,0x9a,0x01]
0x05,0x0c,0x1d,0xd1,0x01,0x05,0x9a,0x01

# CHECK: v_subb_u32_e64 v5, s[12:13], v1, v2, vcc ; encoding: [0x05,0x0c,0x1d,0xd1,0x01,0x05,0xaa,0x01]
0x05,0x0c,0x1d,0xd1,0x01,0x05,0xaa,0x01

# CHECK: v_subb_u32_e64 v5, s[12:13], v1, v2, tba ; encoding: [0x05,0x0c,0x1d,0xd1,0x01,0x05,0xb2,0x01]
0x05,0x0c,0x1d,0xd1,0x01,0x05,0xb2,0x01

# CHECK: v_subb_u32_e64 v5, s[12:13], v1, v2, tma ; encoding: [0x05,0x0c,0x1d,0xd1,0x01,0x05,0xba,0x01]
0x05,0x0c,0x1d,0xd1,0x01,0x05,0xba,0x01

# CHECK: v_subb_u32_e64 v5, s[12:13], v1, v2, ttmp[10:11] ; encoding: [0x05,0x0c,0x1d,0xd1,0x01,0x05,0xea,0x01]
0x05,0x0c,0x1d,0xd1,0x01,0x05,0xea,0x01

# CHECK: v_subbrev_u32_e64 v5, s[12:13], v1, v2, s[6:7] ; encoding: [0x05,0x0c,0x1e,0xd1,0x01,0x05,0x1a,0x00]
0x05,0x0c,0x1e,0xd1,0x01,0x05,0x1a,0x00

# CHECK: v_subbrev_u32_e64 v255, s[12:13], v1, v2, s[6:7] ; encoding: [0xff,0x0c,0x1e,0xd1,0x01,0x05,0x1a,0x00]
0xff,0x0c,0x1e,0xd1,0x01,0x05,0x1a,0x00

# CHECK: v_subbrev_u32_e64 v5, s[14:15], v1, v2, s[6:7] ; encoding: [0x05,0x0e,0x1e,0xd1,0x01,0x05,0x1a,0x00]
0x05,0x0e,0x1e,0xd1,0x01,0x05,0x1a,0x00

# CHECK: v_subbrev_u32_e64 v5, s[100:101], v1, v2, s[6:7] ; encoding: [0x05,0x64,0x1e,0xd1,0x01,0x05,0x1a,0x00]
0x05,0x64,0x1e,0xd1,0x01,0x05,0x1a,0x00

# CHECK: v_subbrev_u32_e64 v5, flat_scratch, v1, v2, s[6:7] ; encoding: [0x05,0x66,0x1e,0xd1,0x01,0x05,0x1a,0x00]
0x05,0x66,0x1e,0xd1,0x01,0x05,0x1a,0x00

# CHECK: v_subbrev_u32_e64 v5, vcc, v1, v2, s[6:7] ; encoding: [0x05,0x6a,0x1e,0xd1,0x01,0x05,0x1a,0x00]
0x05,0x6a,0x1e,0xd1,0x01,0x05,0x1a,0x00

# CHECK: v_subbrev_u32_e64 v5, tba, v1, v2, s[6:7] ; encoding: [0x05,0x6c,0x1e,0xd1,0x01,0x05,0x1a,0x00]
0x05,0x6c,0x1e,0xd1,0x01,0x05,0x1a,0x00

# CHECK: v_subbrev_u32_e64 v5, tma, v1, v2, s[6:7] ; encoding: [0x05,0x6e,0x1e,0xd1,0x01,0x05,0x1a,0x00]
0x05,0x6e,0x1e,0xd1,0x01,0x05,0x1a,0x00

# CHECK: v_subbrev_u32_e64 v5, ttmp[10:11], v1, v2, s[6:7] ; encoding: [0x05,0x7a,0x1e,0xd1,0x01,0x05,0x1a,0x00]
0x05,0x7a,0x1e,0xd1,0x01,0x05,0x1a,0x00

# CHECK: v_subbrev_u32_e64 v5, s[12:13], v255, v2, s[6:7] ; encoding: [0x05,0x0c,0x1e,0xd1,0xff,0x05,0x1a,0x00]
0x05,0x0c,0x1e,0xd1,0xff,0x05,0x1a,0x00

# CHECK: v_subbrev_u32_e64 v5, s[12:13], 0, v2, s[6:7] ; encoding: [0x05,0x0c,0x1e,0xd1,0x80,0x04,0x1a,0x00]
0x05,0x0c,0x1e,0xd1,0x80,0x04,0x1a,0x00

# CHECK: v_subbrev_u32_e64 v5, s[12:13], -1, v2, s[6:7] ; encoding: [0x05,0x0c,0x1e,0xd1,0xc1,0x04,0x1a,0x00]
0x05,0x0c,0x1e,0xd1,0xc1,0x04,0x1a,0x00

# CHECK: v_subbrev_u32_e64 v5, s[12:13], 0.5, v2, s[6:7] ; encoding: [0x05,0x0c,0x1e,0xd1,0xf0,0x04,0x1a,0x00]
0x05,0x0c,0x1e,0xd1,0xf0,0x04,0x1a,0x00

# CHECK: v_subbrev_u32_e64 v5, s[12:13], -4.0, v2, s[6:7] ; encoding: [0x05,0x0c,0x1e,0xd1,0xf7,0x04,0x1a,0x00]
0x05,0x0c,0x1e,0xd1,0xf7,0x04,0x1a,0x00

# CHECK: v_subbrev_u32_e64 v5, s[12:13], v1, v255, s[6:7] ; encoding: [0x05,0x0c,0x1e,0xd1,0x01,0xff,0x1b,0x00]
0x05,0x0c,0x1e,0xd1,0x01,0xff,0x1b,0x00

# CHECK: v_subbrev_u32_e64 v5, s[12:13], v1, 0, s[6:7] ; encoding: [0x05,0x0c,0x1e,0xd1,0x01,0x01,0x19,0x00]
0x05,0x0c,0x1e,0xd1,0x01,0x01,0x19,0x00

# CHECK: v_subbrev_u32_e64 v5, s[12:13], v1, -1, s[6:7] ; encoding: [0x05,0x0c,0x1e,0xd1,0x01,0x83,0x19,0x00]
0x05,0x0c,0x1e,0xd1,0x01,0x83,0x19,0x00

# CHECK: v_subbrev_u32_e64 v5, s[12:13], v1, 0.5, s[6:7] ; encoding: [0x05,0x0c,0x1e,0xd1,0x01,0xe1,0x19,0x00]
0x05,0x0c,0x1e,0xd1,0x01,0xe1,0x19,0x00

# CHECK: v_subbrev_u32_e64 v5, s[12:13], v1, -4.0, s[6:7] ; encoding: [0x05,0x0c,0x1e,0xd1,0x01,0xef,0x19,0x00]
0x05,0x0c,0x1e,0xd1,0x01,0xef,0x19,0x00

# CHECK: v_subbrev_u32_e64 v5, s[12:13], v1, v2, s[8:9] ; encoding: [0x05,0x0c,0x1e,0xd1,0x01,0x05,0x22,0x00]
0x05,0x0c,0x1e,0xd1,0x01,0x05,0x22,0x00

# CHECK: v_subbrev_u32_e64 v5, s[12:13], v1, v2, s[100:101] ; encoding: [0x05,0x0c,0x1e,0xd1,0x01,0x05,0x92,0x01]
0x05,0x0c,0x1e,0xd1,0x01,0x05,0x92,0x01

# CHECK: v_subbrev_u32_e64 v5, s[12:13], v1, v2, flat_scratch ; encoding: [0x05,0x0c,0x1e,0xd1,0x01,0x05,0x9a,0x01]
0x05,0x0c,0x1e,0xd1,0x01,0x05,0x9a,0x01

# CHECK: v_subbrev_u32_e64 v5, s[12:13], v1, v2, vcc ; encoding: [0x05,0x0c,0x1e,0xd1,0x01,0x05,0xaa,0x01]
0x05,0x0c,0x1e,0xd1,0x01,0x05,0xaa,0x01

# CHECK: v_subbrev_u32_e64 v5, s[12:13], v1, v2, tba ; encoding: [0x05,0x0c,0x1e,0xd1,0x01,0x05,0xb2,0x01]
0x05,0x0c,0x1e,0xd1,0x01,0x05,0xb2,0x01

# CHECK: v_subbrev_u32_e64 v5, s[12:13], v1, v2, tma ; encoding: [0x05,0x0c,0x1e,0xd1,0x01,0x05,0xba,0x01]
0x05,0x0c,0x1e,0xd1,0x01,0x05,0xba,0x01

# CHECK: v_subbrev_u32_e64 v5, s[12:13], v1, v2, ttmp[10:11] ; encoding: [0x05,0x0c,0x1e,0xd1,0x01,0x05,0xea,0x01]
0x05,0x0c,0x1e,0xd1,0x01,0x05,0xea,0x01

# CHECK: v_add_f16_e64 v5, v1, v2                ; encoding: [0x05,0x00,0x1f,0xd1,0x01,0x05,0x02,0x00]
0x05,0x00,0x1f,0xd1,0x01,0x05,0x02,0x00

# CHECK: v_add_f16_e64 v255, v1, v2              ; encoding: [0xff,0x00,0x1f,0xd1,0x01,0x05,0x02,0x00]
0xff,0x00,0x1f,0xd1,0x01,0x05,0x02,0x00

# CHECK: v_add_f16_e64 v5, v255, v2              ; encoding: [0x05,0x00,0x1f,0xd1,0xff,0x05,0x02,0x00]
0x05,0x00,0x1f,0xd1,0xff,0x05,0x02,0x00

# CHECK: v_add_f16_e64 v5, s1, v2                ; encoding: [0x05,0x00,0x1f,0xd1,0x01,0x04,0x02,0x00]
0x05,0x00,0x1f,0xd1,0x01,0x04,0x02,0x00

# CHECK: v_add_f16_e64 v5, s101, v2              ; encoding: [0x05,0x00,0x1f,0xd1,0x65,0x04,0x02,0x00]
0x05,0x00,0x1f,0xd1,0x65,0x04,0x02,0x00

# CHECK: v_add_f16_e64 v5, flat_scratch_lo, v2   ; encoding: [0x05,0x00,0x1f,0xd1,0x66,0x04,0x02,0x00]
0x05,0x00,0x1f,0xd1,0x66,0x04,0x02,0x00

# CHECK: v_add_f16_e64 v5, flat_scratch_hi, v2   ; encoding: [0x05,0x00,0x1f,0xd1,0x67,0x04,0x02,0x00]
0x05,0x00,0x1f,0xd1,0x67,0x04,0x02,0x00

# CHECK: v_add_f16_e64 v5, vcc_lo, v2            ; encoding: [0x05,0x00,0x1f,0xd1,0x6a,0x04,0x02,0x00]
0x05,0x00,0x1f,0xd1,0x6a,0x04,0x02,0x00

# CHECK: v_add_f16_e64 v5, vcc_hi, v2            ; encoding: [0x05,0x00,0x1f,0xd1,0x6b,0x04,0x02,0x00]
0x05,0x00,0x1f,0xd1,0x6b,0x04,0x02,0x00

# CHECK: v_add_f16_e64 v5, tba_lo, v2            ; encoding: [0x05,0x00,0x1f,0xd1,0x6c,0x04,0x02,0x00]
0x05,0x00,0x1f,0xd1,0x6c,0x04,0x02,0x00

# CHECK: v_add_f16_e64 v5, tba_hi, v2            ; encoding: [0x05,0x00,0x1f,0xd1,0x6d,0x04,0x02,0x00]
0x05,0x00,0x1f,0xd1,0x6d,0x04,0x02,0x00

# CHECK: v_add_f16_e64 v5, tma_lo, v2            ; encoding: [0x05,0x00,0x1f,0xd1,0x6e,0x04,0x02,0x00]
0x05,0x00,0x1f,0xd1,0x6e,0x04,0x02,0x00

# CHECK: v_add_f16_e64 v5, tma_hi, v2            ; encoding: [0x05,0x00,0x1f,0xd1,0x6f,0x04,0x02,0x00]
0x05,0x00,0x1f,0xd1,0x6f,0x04,0x02,0x00

# CHECK: v_add_f16_e64 v5, ttmp11, v2            ; encoding: [0x05,0x00,0x1f,0xd1,0x7b,0x04,0x02,0x00]
0x05,0x00,0x1f,0xd1,0x7b,0x04,0x02,0x00

# CHECK: v_add_f16_e64 v5, m0, v2                ; encoding: [0x05,0x00,0x1f,0xd1,0x7c,0x04,0x02,0x00]
0x05,0x00,0x1f,0xd1,0x7c,0x04,0x02,0x00

# CHECK: v_add_f16_e64 v5, exec_lo, v2           ; encoding: [0x05,0x00,0x1f,0xd1,0x7e,0x04,0x02,0x00]
0x05,0x00,0x1f,0xd1,0x7e,0x04,0x02,0x00

# CHECK: v_add_f16_e64 v5, exec_hi, v2           ; encoding: [0x05,0x00,0x1f,0xd1,0x7f,0x04,0x02,0x00]
0x05,0x00,0x1f,0xd1,0x7f,0x04,0x02,0x00

# CHECK: v_add_f16_e64 v5, 0, v2                 ; encoding: [0x05,0x00,0x1f,0xd1,0x80,0x04,0x02,0x00]
0x05,0x00,0x1f,0xd1,0x80,0x04,0x02,0x00

# CHECK: v_add_f16_e64 v5, -1, v2                ; encoding: [0x05,0x00,0x1f,0xd1,0xc1,0x04,0x02,0x00]
0x05,0x00,0x1f,0xd1,0xc1,0x04,0x02,0x00

# CHECK: v_add_f16_e64 v5, 0.5, v2               ; encoding: [0x05,0x00,0x1f,0xd1,0xf0,0x04,0x02,0x00]
0x05,0x00,0x1f,0xd1,0xf0,0x04,0x02,0x00

# CHECK: v_add_f16_e64 v5, -4.0, v2              ; encoding: [0x05,0x00,0x1f,0xd1,0xf7,0x04,0x02,0x00]
0x05,0x00,0x1f,0xd1,0xf7,0x04,0x02,0x00

# CHECK: v_add_f16_e64 v5, v1, v255              ; encoding: [0x05,0x00,0x1f,0xd1,0x01,0xff,0x03,0x00]
0x05,0x00,0x1f,0xd1,0x01,0xff,0x03,0x00

# CHECK: v_add_f16_e64 v5, v1, s2                ; encoding: [0x05,0x00,0x1f,0xd1,0x01,0x05,0x00,0x00]
0x05,0x00,0x1f,0xd1,0x01,0x05,0x00,0x00

# CHECK: v_add_f16_e64 v5, v1, s101              ; encoding: [0x05,0x00,0x1f,0xd1,0x01,0xcb,0x00,0x00]
0x05,0x00,0x1f,0xd1,0x01,0xcb,0x00,0x00

# CHECK: v_add_f16_e64 v5, v1, flat_scratch_lo   ; encoding: [0x05,0x00,0x1f,0xd1,0x01,0xcd,0x00,0x00]
0x05,0x00,0x1f,0xd1,0x01,0xcd,0x00,0x00

# CHECK: v_add_f16_e64 v5, v1, flat_scratch_hi   ; encoding: [0x05,0x00,0x1f,0xd1,0x01,0xcf,0x00,0x00]
0x05,0x00,0x1f,0xd1,0x01,0xcf,0x00,0x00

# CHECK: v_add_f16_e64 v5, v1, vcc_lo            ; encoding: [0x05,0x00,0x1f,0xd1,0x01,0xd5,0x00,0x00]
0x05,0x00,0x1f,0xd1,0x01,0xd5,0x00,0x00

# CHECK: v_add_f16_e64 v5, v1, vcc_hi            ; encoding: [0x05,0x00,0x1f,0xd1,0x01,0xd7,0x00,0x00]
0x05,0x00,0x1f,0xd1,0x01,0xd7,0x00,0x00

# CHECK: v_add_f16_e64 v5, v1, tba_lo            ; encoding: [0x05,0x00,0x1f,0xd1,0x01,0xd9,0x00,0x00]
0x05,0x00,0x1f,0xd1,0x01,0xd9,0x00,0x00

# CHECK: v_add_f16_e64 v5, v1, tba_hi            ; encoding: [0x05,0x00,0x1f,0xd1,0x01,0xdb,0x00,0x00]
0x05,0x00,0x1f,0xd1,0x01,0xdb,0x00,0x00

# CHECK: v_add_f16_e64 v5, v1, tma_lo            ; encoding: [0x05,0x00,0x1f,0xd1,0x01,0xdd,0x00,0x00]
0x05,0x00,0x1f,0xd1,0x01,0xdd,0x00,0x00

# CHECK: v_add_f16_e64 v5, v1, tma_hi            ; encoding: [0x05,0x00,0x1f,0xd1,0x01,0xdf,0x00,0x00]
0x05,0x00,0x1f,0xd1,0x01,0xdf,0x00,0x00

# CHECK: v_add_f16_e64 v5, v1, ttmp11            ; encoding: [0x05,0x00,0x1f,0xd1,0x01,0xf7,0x00,0x00]
0x05,0x00,0x1f,0xd1,0x01,0xf7,0x00,0x00

# CHECK: v_add_f16_e64 v5, v1, m0                ; encoding: [0x05,0x00,0x1f,0xd1,0x01,0xf9,0x00,0x00]
0x05,0x00,0x1f,0xd1,0x01,0xf9,0x00,0x00

# CHECK: v_add_f16_e64 v5, v1, exec_lo           ; encoding: [0x05,0x00,0x1f,0xd1,0x01,0xfd,0x00,0x00]
0x05,0x00,0x1f,0xd1,0x01,0xfd,0x00,0x00

# CHECK: v_add_f16_e64 v5, v1, exec_hi           ; encoding: [0x05,0x00,0x1f,0xd1,0x01,0xff,0x00,0x00]
0x05,0x00,0x1f,0xd1,0x01,0xff,0x00,0x00

# CHECK: v_add_f16_e64 v5, v1, 0                 ; encoding: [0x05,0x00,0x1f,0xd1,0x01,0x01,0x01,0x00]
0x05,0x00,0x1f,0xd1,0x01,0x01,0x01,0x00

# CHECK: v_add_f16_e64 v5, v1, -1                ; encoding: [0x05,0x00,0x1f,0xd1,0x01,0x83,0x01,0x00]
0x05,0x00,0x1f,0xd1,0x01,0x83,0x01,0x00

# CHECK: v_add_f16_e64 v5, v1, 0.5               ; encoding: [0x05,0x00,0x1f,0xd1,0x01,0xe1,0x01,0x00]
0x05,0x00,0x1f,0xd1,0x01,0xe1,0x01,0x00

# CHECK: v_add_f16_e64 v5, v1, -4.0              ; encoding: [0x05,0x00,0x1f,0xd1,0x01,0xef,0x01,0x00]
0x05,0x00,0x1f,0xd1,0x01,0xef,0x01,0x00

# CHECK: v_add_f16_e64 v5, -v1, v2               ; encoding: [0x05,0x00,0x1f,0xd1,0x01,0x05,0x02,0x20]
0x05,0x00,0x1f,0xd1,0x01,0x05,0x02,0x20

# CHECK: v_add_f16_e64 v5, v1, -v2               ; encoding: [0x05,0x00,0x1f,0xd1,0x01,0x05,0x02,0x40]
0x05,0x00,0x1f,0xd1,0x01,0x05,0x02,0x40

# CHECK: v_add_f16_e64 v5, -v1, -v2              ; encoding: [0x05,0x00,0x1f,0xd1,0x01,0x05,0x02,0x60]
0x05,0x00,0x1f,0xd1,0x01,0x05,0x02,0x60

# CHECK: v_add_f16_e64 v5, |v1|, v2              ; encoding: [0x05,0x01,0x1f,0xd1,0x01,0x05,0x02,0x00]
0x05,0x01,0x1f,0xd1,0x01,0x05,0x02,0x00

# CHECK: v_add_f16_e64 v5, v1, |v2|              ; encoding: [0x05,0x02,0x1f,0xd1,0x01,0x05,0x02,0x00]
0x05,0x02,0x1f,0xd1,0x01,0x05,0x02,0x00

# CHECK: v_add_f16_e64 v5, |v1|, |v2|            ; encoding: [0x05,0x03,0x1f,0xd1,0x01,0x05,0x02,0x00]
0x05,0x03,0x1f,0xd1,0x01,0x05,0x02,0x00

# CHECK: v_add_f16_e64 v5, v1, v2 clamp          ; encoding: [0x05,0x80,0x1f,0xd1,0x01,0x05,0x02,0x00]
0x05,0x80,0x1f,0xd1,0x01,0x05,0x02,0x00

# CHECK: v_sub_f16_e64 v5, v1, v2                ; encoding: [0x05,0x00,0x20,0xd1,0x01,0x05,0x02,0x00]
0x05,0x00,0x20,0xd1,0x01,0x05,0x02,0x00

# CHECK: v_sub_f16_e64 v255, v1, v2              ; encoding: [0xff,0x00,0x20,0xd1,0x01,0x05,0x02,0x00]
0xff,0x00,0x20,0xd1,0x01,0x05,0x02,0x00

# CHECK: v_sub_f16_e64 v5, v255, v2              ; encoding: [0x05,0x00,0x20,0xd1,0xff,0x05,0x02,0x00]
0x05,0x00,0x20,0xd1,0xff,0x05,0x02,0x00

# CHECK: v_sub_f16_e64 v5, s1, v2                ; encoding: [0x05,0x00,0x20,0xd1,0x01,0x04,0x02,0x00]
0x05,0x00,0x20,0xd1,0x01,0x04,0x02,0x00

# CHECK: v_sub_f16_e64 v5, s101, v2              ; encoding: [0x05,0x00,0x20,0xd1,0x65,0x04,0x02,0x00]
0x05,0x00,0x20,0xd1,0x65,0x04,0x02,0x00

# CHECK: v_sub_f16_e64 v5, flat_scratch_lo, v2   ; encoding: [0x05,0x00,0x20,0xd1,0x66,0x04,0x02,0x00]
0x05,0x00,0x20,0xd1,0x66,0x04,0x02,0x00

# CHECK: v_sub_f16_e64 v5, flat_scratch_hi, v2   ; encoding: [0x05,0x00,0x20,0xd1,0x67,0x04,0x02,0x00]
0x05,0x00,0x20,0xd1,0x67,0x04,0x02,0x00

# CHECK: v_sub_f16_e64 v5, vcc_lo, v2            ; encoding: [0x05,0x00,0x20,0xd1,0x6a,0x04,0x02,0x00]
0x05,0x00,0x20,0xd1,0x6a,0x04,0x02,0x00

# CHECK: v_sub_f16_e64 v5, vcc_hi, v2            ; encoding: [0x05,0x00,0x20,0xd1,0x6b,0x04,0x02,0x00]
0x05,0x00,0x20,0xd1,0x6b,0x04,0x02,0x00

# CHECK: v_sub_f16_e64 v5, tba_lo, v2            ; encoding: [0x05,0x00,0x20,0xd1,0x6c,0x04,0x02,0x00]
0x05,0x00,0x20,0xd1,0x6c,0x04,0x02,0x00

# CHECK: v_sub_f16_e64 v5, tba_hi, v2            ; encoding: [0x05,0x00,0x20,0xd1,0x6d,0x04,0x02,0x00]
0x05,0x00,0x20,0xd1,0x6d,0x04,0x02,0x00

# CHECK: v_sub_f16_e64 v5, tma_lo, v2            ; encoding: [0x05,0x00,0x20,0xd1,0x6e,0x04,0x02,0x00]
0x05,0x00,0x20,0xd1,0x6e,0x04,0x02,0x00

# CHECK: v_sub_f16_e64 v5, tma_hi, v2            ; encoding: [0x05,0x00,0x20,0xd1,0x6f,0x04,0x02,0x00]
0x05,0x00,0x20,0xd1,0x6f,0x04,0x02,0x00

# CHECK: v_sub_f16_e64 v5, ttmp11, v2            ; encoding: [0x05,0x00,0x20,0xd1,0x7b,0x04,0x02,0x00]
0x05,0x00,0x20,0xd1,0x7b,0x04,0x02,0x00

# CHECK: v_sub_f16_e64 v5, m0, v2                ; encoding: [0x05,0x00,0x20,0xd1,0x7c,0x04,0x02,0x00]
0x05,0x00,0x20,0xd1,0x7c,0x04,0x02,0x00

# CHECK: v_sub_f16_e64 v5, exec_lo, v2           ; encoding: [0x05,0x00,0x20,0xd1,0x7e,0x04,0x02,0x00]
0x05,0x00,0x20,0xd1,0x7e,0x04,0x02,0x00

# CHECK: v_sub_f16_e64 v5, exec_hi, v2           ; encoding: [0x05,0x00,0x20,0xd1,0x7f,0x04,0x02,0x00]
0x05,0x00,0x20,0xd1,0x7f,0x04,0x02,0x00

# CHECK: v_sub_f16_e64 v5, 0, v2                 ; encoding: [0x05,0x00,0x20,0xd1,0x80,0x04,0x02,0x00]
0x05,0x00,0x20,0xd1,0x80,0x04,0x02,0x00

# CHECK: v_sub_f16_e64 v5, -1, v2                ; encoding: [0x05,0x00,0x20,0xd1,0xc1,0x04,0x02,0x00]
0x05,0x00,0x20,0xd1,0xc1,0x04,0x02,0x00

# CHECK: v_sub_f16_e64 v5, 0.5, v2               ; encoding: [0x05,0x00,0x20,0xd1,0xf0,0x04,0x02,0x00]
0x05,0x00,0x20,0xd1,0xf0,0x04,0x02,0x00

# CHECK: v_sub_f16_e64 v5, -4.0, v2              ; encoding: [0x05,0x00,0x20,0xd1,0xf7,0x04,0x02,0x00]
0x05,0x00,0x20,0xd1,0xf7,0x04,0x02,0x00

# CHECK: v_sub_f16_e64 v5, v1, v255              ; encoding: [0x05,0x00,0x20,0xd1,0x01,0xff,0x03,0x00]
0x05,0x00,0x20,0xd1,0x01,0xff,0x03,0x00

# CHECK: v_sub_f16_e64 v5, v1, s2                ; encoding: [0x05,0x00,0x20,0xd1,0x01,0x05,0x00,0x00]
0x05,0x00,0x20,0xd1,0x01,0x05,0x00,0x00

# CHECK: v_sub_f16_e64 v5, v1, s101              ; encoding: [0x05,0x00,0x20,0xd1,0x01,0xcb,0x00,0x00]
0x05,0x00,0x20,0xd1,0x01,0xcb,0x00,0x00

# CHECK: v_sub_f16_e64 v5, v1, flat_scratch_lo   ; encoding: [0x05,0x00,0x20,0xd1,0x01,0xcd,0x00,0x00]
0x05,0x00,0x20,0xd1,0x01,0xcd,0x00,0x00

# CHECK: v_sub_f16_e64 v5, v1, flat_scratch_hi   ; encoding: [0x05,0x00,0x20,0xd1,0x01,0xcf,0x00,0x00]
0x05,0x00,0x20,0xd1,0x01,0xcf,0x00,0x00

# CHECK: v_sub_f16_e64 v5, v1, vcc_lo            ; encoding: [0x05,0x00,0x20,0xd1,0x01,0xd5,0x00,0x00]
0x05,0x00,0x20,0xd1,0x01,0xd5,0x00,0x00

# CHECK: v_sub_f16_e64 v5, v1, vcc_hi            ; encoding: [0x05,0x00,0x20,0xd1,0x01,0xd7,0x00,0x00]
0x05,0x00,0x20,0xd1,0x01,0xd7,0x00,0x00

# CHECK: v_sub_f16_e64 v5, v1, tba_lo            ; encoding: [0x05,0x00,0x20,0xd1,0x01,0xd9,0x00,0x00]
0x05,0x00,0x20,0xd1,0x01,0xd9,0x00,0x00

# CHECK: v_sub_f16_e64 v5, v1, tba_hi            ; encoding: [0x05,0x00,0x20,0xd1,0x01,0xdb,0x00,0x00]
0x05,0x00,0x20,0xd1,0x01,0xdb,0x00,0x00

# CHECK: v_sub_f16_e64 v5, v1, tma_lo            ; encoding: [0x05,0x00,0x20,0xd1,0x01,0xdd,0x00,0x00]
0x05,0x00,0x20,0xd1,0x01,0xdd,0x00,0x00

# CHECK: v_sub_f16_e64 v5, v1, tma_hi            ; encoding: [0x05,0x00,0x20,0xd1,0x01,0xdf,0x00,0x00]
0x05,0x00,0x20,0xd1,0x01,0xdf,0x00,0x00

# CHECK: v_sub_f16_e64 v5, v1, ttmp11            ; encoding: [0x05,0x00,0x20,0xd1,0x01,0xf7,0x00,0x00]
0x05,0x00,0x20,0xd1,0x01,0xf7,0x00,0x00

# CHECK: v_sub_f16_e64 v5, v1, m0                ; encoding: [0x05,0x00,0x20,0xd1,0x01,0xf9,0x00,0x00]
0x05,0x00,0x20,0xd1,0x01,0xf9,0x00,0x00

# CHECK: v_sub_f16_e64 v5, v1, exec_lo           ; encoding: [0x05,0x00,0x20,0xd1,0x01,0xfd,0x00,0x00]
0x05,0x00,0x20,0xd1,0x01,0xfd,0x00,0x00

# CHECK: v_sub_f16_e64 v5, v1, exec_hi           ; encoding: [0x05,0x00,0x20,0xd1,0x01,0xff,0x00,0x00]
0x05,0x00,0x20,0xd1,0x01,0xff,0x00,0x00

# CHECK: v_sub_f16_e64 v5, v1, 0                 ; encoding: [0x05,0x00,0x20,0xd1,0x01,0x01,0x01,0x00]
0x05,0x00,0x20,0xd1,0x01,0x01,0x01,0x00

# CHECK: v_sub_f16_e64 v5, v1, -1                ; encoding: [0x05,0x00,0x20,0xd1,0x01,0x83,0x01,0x00]
0x05,0x00,0x20,0xd1,0x01,0x83,0x01,0x00

# CHECK: v_sub_f16_e64 v5, v1, 0.5               ; encoding: [0x05,0x00,0x20,0xd1,0x01,0xe1,0x01,0x00]
0x05,0x00,0x20,0xd1,0x01,0xe1,0x01,0x00

# CHECK: v_sub_f16_e64 v5, v1, -4.0              ; encoding: [0x05,0x00,0x20,0xd1,0x01,0xef,0x01,0x00]
0x05,0x00,0x20,0xd1,0x01,0xef,0x01,0x00

# CHECK: v_sub_f16_e64 v5, -v1, v2               ; encoding: [0x05,0x00,0x20,0xd1,0x01,0x05,0x02,0x20]
0x05,0x00,0x20,0xd1,0x01,0x05,0x02,0x20

# CHECK: v_sub_f16_e64 v5, v1, -v2               ; encoding: [0x05,0x00,0x20,0xd1,0x01,0x05,0x02,0x40]
0x05,0x00,0x20,0xd1,0x01,0x05,0x02,0x40

# CHECK: v_sub_f16_e64 v5, -v1, -v2              ; encoding: [0x05,0x00,0x20,0xd1,0x01,0x05,0x02,0x60]
0x05,0x00,0x20,0xd1,0x01,0x05,0x02,0x60

# CHECK: v_sub_f16_e64 v5, |v1|, v2              ; encoding: [0x05,0x01,0x20,0xd1,0x01,0x05,0x02,0x00]
0x05,0x01,0x20,0xd1,0x01,0x05,0x02,0x00

# CHECK: v_sub_f16_e64 v5, v1, |v2|              ; encoding: [0x05,0x02,0x20,0xd1,0x01,0x05,0x02,0x00]
0x05,0x02,0x20,0xd1,0x01,0x05,0x02,0x00

# CHECK: v_sub_f16_e64 v5, |v1|, |v2|            ; encoding: [0x05,0x03,0x20,0xd1,0x01,0x05,0x02,0x00]
0x05,0x03,0x20,0xd1,0x01,0x05,0x02,0x00

# CHECK: v_sub_f16_e64 v5, v1, v2 clamp          ; encoding: [0x05,0x80,0x20,0xd1,0x01,0x05,0x02,0x00]
0x05,0x80,0x20,0xd1,0x01,0x05,0x02,0x00

# CHECK: v_subrev_f16_e64 v5, v1, v2             ; encoding: [0x05,0x00,0x21,0xd1,0x01,0x05,0x02,0x00]
0x05,0x00,0x21,0xd1,0x01,0x05,0x02,0x00

# CHECK: v_subrev_f16_e64 v255, v1, v2           ; encoding: [0xff,0x00,0x21,0xd1,0x01,0x05,0x02,0x00]
0xff,0x00,0x21,0xd1,0x01,0x05,0x02,0x00

# CHECK: v_subrev_f16_e64 v5, v255, v2           ; encoding: [0x05,0x00,0x21,0xd1,0xff,0x05,0x02,0x00]
0x05,0x00,0x21,0xd1,0xff,0x05,0x02,0x00

# CHECK: v_subrev_f16_e64 v5, s1, v2             ; encoding: [0x05,0x00,0x21,0xd1,0x01,0x04,0x02,0x00]
0x05,0x00,0x21,0xd1,0x01,0x04,0x02,0x00

# CHECK: v_subrev_f16_e64 v5, s101, v2           ; encoding: [0x05,0x00,0x21,0xd1,0x65,0x04,0x02,0x00]
0x05,0x00,0x21,0xd1,0x65,0x04,0x02,0x00

# CHECK: v_subrev_f16_e64 v5, flat_scratch_lo, v2 ; encoding: [0x05,0x00,0x21,0xd1,0x66,0x04,0x02,0x00]
0x05,0x00,0x21,0xd1,0x66,0x04,0x02,0x00

# CHECK: v_subrev_f16_e64 v5, flat_scratch_hi, v2 ; encoding: [0x05,0x00,0x21,0xd1,0x67,0x04,0x02,0x00]
0x05,0x00,0x21,0xd1,0x67,0x04,0x02,0x00

# CHECK: v_subrev_f16_e64 v5, vcc_lo, v2         ; encoding: [0x05,0x00,0x21,0xd1,0x6a,0x04,0x02,0x00]
0x05,0x00,0x21,0xd1,0x6a,0x04,0x02,0x00

# CHECK: v_subrev_f16_e64 v5, vcc_hi, v2         ; encoding: [0x05,0x00,0x21,0xd1,0x6b,0x04,0x02,0x00]
0x05,0x00,0x21,0xd1,0x6b,0x04,0x02,0x00

# CHECK: v_subrev_f16_e64 v5, tba_lo, v2         ; encoding: [0x05,0x00,0x21,0xd1,0x6c,0x04,0x02,0x00]
0x05,0x00,0x21,0xd1,0x6c,0x04,0x02,0x00

# CHECK: v_subrev_f16_e64 v5, tba_hi, v2         ; encoding: [0x05,0x00,0x21,0xd1,0x6d,0x04,0x02,0x00]
0x05,0x00,0x21,0xd1,0x6d,0x04,0x02,0x00

# CHECK: v_subrev_f16_e64 v5, tma_lo, v2         ; encoding: [0x05,0x00,0x21,0xd1,0x6e,0x04,0x02,0x00]
0x05,0x00,0x21,0xd1,0x6e,0x04,0x02,0x00

# CHECK: v_subrev_f16_e64 v5, tma_hi, v2         ; encoding: [0x05,0x00,0x21,0xd1,0x6f,0x04,0x02,0x00]
0x05,0x00,0x21,0xd1,0x6f,0x04,0x02,0x00

# CHECK: v_subrev_f16_e64 v5, ttmp11, v2         ; encoding: [0x05,0x00,0x21,0xd1,0x7b,0x04,0x02,0x00]
0x05,0x00,0x21,0xd1,0x7b,0x04,0x02,0x00

# CHECK: v_subrev_f16_e64 v5, m0, v2             ; encoding: [0x05,0x00,0x21,0xd1,0x7c,0x04,0x02,0x00]
0x05,0x00,0x21,0xd1,0x7c,0x04,0x02,0x00

# CHECK: v_subrev_f16_e64 v5, exec_lo, v2        ; encoding: [0x05,0x00,0x21,0xd1,0x7e,0x04,0x02,0x00]
0x05,0x00,0x21,0xd1,0x7e,0x04,0x02,0x00

# CHECK: v_subrev_f16_e64 v5, exec_hi, v2        ; encoding: [0x05,0x00,0x21,0xd1,0x7f,0x04,0x02,0x00]
0x05,0x00,0x21,0xd1,0x7f,0x04,0x02,0x00

# CHECK: v_subrev_f16_e64 v5, 0, v2              ; encoding: [0x05,0x00,0x21,0xd1,0x80,0x04,0x02,0x00]
0x05,0x00,0x21,0xd1,0x80,0x04,0x02,0x00

# CHECK: v_subrev_f16_e64 v5, -1, v2             ; encoding: [0x05,0x00,0x21,0xd1,0xc1,0x04,0x02,0x00]
0x05,0x00,0x21,0xd1,0xc1,0x04,0x02,0x00

# CHECK: v_subrev_f16_e64 v5, 0.5, v2            ; encoding: [0x05,0x00,0x21,0xd1,0xf0,0x04,0x02,0x00]
0x05,0x00,0x21,0xd1,0xf0,0x04,0x02,0x00

# CHECK: v_subrev_f16_e64 v5, -4.0, v2           ; encoding: [0x05,0x00,0x21,0xd1,0xf7,0x04,0x02,0x00]
0x05,0x00,0x21,0xd1,0xf7,0x04,0x02,0x00

# CHECK: v_subrev_f16_e64 v5, v1, v255           ; encoding: [0x05,0x00,0x21,0xd1,0x01,0xff,0x03,0x00]
0x05,0x00,0x21,0xd1,0x01,0xff,0x03,0x00

# CHECK: v_subrev_f16_e64 v5, v1, s2             ; encoding: [0x05,0x00,0x21,0xd1,0x01,0x05,0x00,0x00]
0x05,0x00,0x21,0xd1,0x01,0x05,0x00,0x00

# CHECK: v_subrev_f16_e64 v5, v1, s101           ; encoding: [0x05,0x00,0x21,0xd1,0x01,0xcb,0x00,0x00]
0x05,0x00,0x21,0xd1,0x01,0xcb,0x00,0x00

# CHECK: v_subrev_f16_e64 v5, v1, flat_scratch_lo ; encoding: [0x05,0x00,0x21,0xd1,0x01,0xcd,0x00,0x00]
0x05,0x00,0x21,0xd1,0x01,0xcd,0x00,0x00

# CHECK: v_subrev_f16_e64 v5, v1, flat_scratch_hi ; encoding: [0x05,0x00,0x21,0xd1,0x01,0xcf,0x00,0x00]
0x05,0x00,0x21,0xd1,0x01,0xcf,0x00,0x00

# CHECK: v_subrev_f16_e64 v5, v1, vcc_lo         ; encoding: [0x05,0x00,0x21,0xd1,0x01,0xd5,0x00,0x00]
0x05,0x00,0x21,0xd1,0x01,0xd5,0x00,0x00

# CHECK: v_subrev_f16_e64 v5, v1, vcc_hi         ; encoding: [0x05,0x00,0x21,0xd1,0x01,0xd7,0x00,0x00]
0x05,0x00,0x21,0xd1,0x01,0xd7,0x00,0x00

# CHECK: v_subrev_f16_e64 v5, v1, tba_lo         ; encoding: [0x05,0x00,0x21,0xd1,0x01,0xd9,0x00,0x00]
0x05,0x00,0x21,0xd1,0x01,0xd9,0x00,0x00

# CHECK: v_subrev_f16_e64 v5, v1, tba_hi         ; encoding: [0x05,0x00,0x21,0xd1,0x01,0xdb,0x00,0x00]
0x05,0x00,0x21,0xd1,0x01,0xdb,0x00,0x00

# CHECK: v_subrev_f16_e64 v5, v1, tma_lo         ; encoding: [0x05,0x00,0x21,0xd1,0x01,0xdd,0x00,0x00]
0x05,0x00,0x21,0xd1,0x01,0xdd,0x00,0x00

# CHECK: v_subrev_f16_e64 v5, v1, tma_hi         ; encoding: [0x05,0x00,0x21,0xd1,0x01,0xdf,0x00,0x00]
0x05,0x00,0x21,0xd1,0x01,0xdf,0x00,0x00

# CHECK: v_subrev_f16_e64 v5, v1, ttmp11         ; encoding: [0x05,0x00,0x21,0xd1,0x01,0xf7,0x00,0x00]
0x05,0x00,0x21,0xd1,0x01,0xf7,0x00,0x00

# CHECK: v_subrev_f16_e64 v5, v1, m0             ; encoding: [0x05,0x00,0x21,0xd1,0x01,0xf9,0x00,0x00]
0x05,0x00,0x21,0xd1,0x01,0xf9,0x00,0x00

# CHECK: v_subrev_f16_e64 v5, v1, exec_lo        ; encoding: [0x05,0x00,0x21,0xd1,0x01,0xfd,0x00,0x00]
0x05,0x00,0x21,0xd1,0x01,0xfd,0x00,0x00

# CHECK: v_subrev_f16_e64 v5, v1, exec_hi        ; encoding: [0x05,0x00,0x21,0xd1,0x01,0xff,0x00,0x00]
0x05,0x00,0x21,0xd1,0x01,0xff,0x00,0x00

# CHECK: v_subrev_f16_e64 v5, v1, 0              ; encoding: [0x05,0x00,0x21,0xd1,0x01,0x01,0x01,0x00]
0x05,0x00,0x21,0xd1,0x01,0x01,0x01,0x00

# CHECK: v_subrev_f16_e64 v5, v1, -1             ; encoding: [0x05,0x00,0x21,0xd1,0x01,0x83,0x01,0x00]
0x05,0x00,0x21,0xd1,0x01,0x83,0x01,0x00

# CHECK: v_subrev_f16_e64 v5, v1, 0.5            ; encoding: [0x05,0x00,0x21,0xd1,0x01,0xe1,0x01,0x00]
0x05,0x00,0x21,0xd1,0x01,0xe1,0x01,0x00

# CHECK: v_subrev_f16_e64 v5, v1, -4.0           ; encoding: [0x05,0x00,0x21,0xd1,0x01,0xef,0x01,0x00]
0x05,0x00,0x21,0xd1,0x01,0xef,0x01,0x00

# CHECK: v_subrev_f16_e64 v5, -v1, v2            ; encoding: [0x05,0x00,0x21,0xd1,0x01,0x05,0x02,0x20]
0x05,0x00,0x21,0xd1,0x01,0x05,0x02,0x20

# CHECK: v_subrev_f16_e64 v5, v1, -v2            ; encoding: [0x05,0x00,0x21,0xd1,0x01,0x05,0x02,0x40]
0x05,0x00,0x21,0xd1,0x01,0x05,0x02,0x40

# CHECK: v_subrev_f16_e64 v5, -v1, -v2           ; encoding: [0x05,0x00,0x21,0xd1,0x01,0x05,0x02,0x60]
0x05,0x00,0x21,0xd1,0x01,0x05,0x02,0x60

# CHECK: v_subrev_f16_e64 v5, |v1|, v2           ; encoding: [0x05,0x01,0x21,0xd1,0x01,0x05,0x02,0x00]
0x05,0x01,0x21,0xd1,0x01,0x05,0x02,0x00

# CHECK: v_subrev_f16_e64 v5, v1, |v2|           ; encoding: [0x05,0x02,0x21,0xd1,0x01,0x05,0x02,0x00]
0x05,0x02,0x21,0xd1,0x01,0x05,0x02,0x00

# CHECK: v_subrev_f16_e64 v5, |v1|, |v2|         ; encoding: [0x05,0x03,0x21,0xd1,0x01,0x05,0x02,0x00]
0x05,0x03,0x21,0xd1,0x01,0x05,0x02,0x00

# CHECK: v_subrev_f16_e64 v5, v1, v2 clamp       ; encoding: [0x05,0x80,0x21,0xd1,0x01,0x05,0x02,0x00]
0x05,0x80,0x21,0xd1,0x01,0x05,0x02,0x00

# CHECK: v_mul_f16_e64 v5, v1, v2                ; encoding: [0x05,0x00,0x22,0xd1,0x01,0x05,0x02,0x00]
0x05,0x00,0x22,0xd1,0x01,0x05,0x02,0x00

# CHECK: v_mul_f16_e64 v255, v1, v2              ; encoding: [0xff,0x00,0x22,0xd1,0x01,0x05,0x02,0x00]
0xff,0x00,0x22,0xd1,0x01,0x05,0x02,0x00

# CHECK: v_mul_f16_e64 v5, v255, v2              ; encoding: [0x05,0x00,0x22,0xd1,0xff,0x05,0x02,0x00]
0x05,0x00,0x22,0xd1,0xff,0x05,0x02,0x00

# CHECK: v_mul_f16_e64 v5, s1, v2                ; encoding: [0x05,0x00,0x22,0xd1,0x01,0x04,0x02,0x00]
0x05,0x00,0x22,0xd1,0x01,0x04,0x02,0x00

# CHECK: v_mul_f16_e64 v5, s101, v2              ; encoding: [0x05,0x00,0x22,0xd1,0x65,0x04,0x02,0x00]
0x05,0x00,0x22,0xd1,0x65,0x04,0x02,0x00

# CHECK: v_mul_f16_e64 v5, flat_scratch_lo, v2   ; encoding: [0x05,0x00,0x22,0xd1,0x66,0x04,0x02,0x00]
0x05,0x00,0x22,0xd1,0x66,0x04,0x02,0x00

# CHECK: v_mul_f16_e64 v5, flat_scratch_hi, v2   ; encoding: [0x05,0x00,0x22,0xd1,0x67,0x04,0x02,0x00]
0x05,0x00,0x22,0xd1,0x67,0x04,0x02,0x00

# CHECK: v_mul_f16_e64 v5, vcc_lo, v2            ; encoding: [0x05,0x00,0x22,0xd1,0x6a,0x04,0x02,0x00]
0x05,0x00,0x22,0xd1,0x6a,0x04,0x02,0x00

# CHECK: v_mul_f16_e64 v5, vcc_hi, v2            ; encoding: [0x05,0x00,0x22,0xd1,0x6b,0x04,0x02,0x00]
0x05,0x00,0x22,0xd1,0x6b,0x04,0x02,0x00

# CHECK: v_mul_f16_e64 v5, tba_lo, v2            ; encoding: [0x05,0x00,0x22,0xd1,0x6c,0x04,0x02,0x00]
0x05,0x00,0x22,0xd1,0x6c,0x04,0x02,0x00

# CHECK: v_mul_f16_e64 v5, tba_hi, v2            ; encoding: [0x05,0x00,0x22,0xd1,0x6d,0x04,0x02,0x00]
0x05,0x00,0x22,0xd1,0x6d,0x04,0x02,0x00

# CHECK: v_mul_f16_e64 v5, tma_lo, v2            ; encoding: [0x05,0x00,0x22,0xd1,0x6e,0x04,0x02,0x00]
0x05,0x00,0x22,0xd1,0x6e,0x04,0x02,0x00

# CHECK: v_mul_f16_e64 v5, tma_hi, v2            ; encoding: [0x05,0x00,0x22,0xd1,0x6f,0x04,0x02,0x00]
0x05,0x00,0x22,0xd1,0x6f,0x04,0x02,0x00

# CHECK: v_mul_f16_e64 v5, ttmp11, v2            ; encoding: [0x05,0x00,0x22,0xd1,0x7b,0x04,0x02,0x00]
0x05,0x00,0x22,0xd1,0x7b,0x04,0x02,0x00

# CHECK: v_mul_f16_e64 v5, m0, v2                ; encoding: [0x05,0x00,0x22,0xd1,0x7c,0x04,0x02,0x00]
0x05,0x00,0x22,0xd1,0x7c,0x04,0x02,0x00

# CHECK: v_mul_f16_e64 v5, exec_lo, v2           ; encoding: [0x05,0x00,0x22,0xd1,0x7e,0x04,0x02,0x00]
0x05,0x00,0x22,0xd1,0x7e,0x04,0x02,0x00

# CHECK: v_mul_f16_e64 v5, exec_hi, v2           ; encoding: [0x05,0x00,0x22,0xd1,0x7f,0x04,0x02,0x00]
0x05,0x00,0x22,0xd1,0x7f,0x04,0x02,0x00

# CHECK: v_mul_f16_e64 v5, 0, v2                 ; encoding: [0x05,0x00,0x22,0xd1,0x80,0x04,0x02,0x00]
0x05,0x00,0x22,0xd1,0x80,0x04,0x02,0x00

# CHECK: v_mul_f16_e64 v5, -1, v2                ; encoding: [0x05,0x00,0x22,0xd1,0xc1,0x04,0x02,0x00]
0x05,0x00,0x22,0xd1,0xc1,0x04,0x02,0x00

# CHECK: v_mul_f16_e64 v5, 0.5, v2               ; encoding: [0x05,0x00,0x22,0xd1,0xf0,0x04,0x02,0x00]
0x05,0x00,0x22,0xd1,0xf0,0x04,0x02,0x00

# CHECK: v_mul_f16_e64 v5, -4.0, v2              ; encoding: [0x05,0x00,0x22,0xd1,0xf7,0x04,0x02,0x00]
0x05,0x00,0x22,0xd1,0xf7,0x04,0x02,0x00

# CHECK: v_mul_f16_e64 v5, v1, v255              ; encoding: [0x05,0x00,0x22,0xd1,0x01,0xff,0x03,0x00]
0x05,0x00,0x22,0xd1,0x01,0xff,0x03,0x00

# CHECK: v_mul_f16_e64 v5, v1, s2                ; encoding: [0x05,0x00,0x22,0xd1,0x01,0x05,0x00,0x00]
0x05,0x00,0x22,0xd1,0x01,0x05,0x00,0x00

# CHECK: v_mul_f16_e64 v5, v1, s101              ; encoding: [0x05,0x00,0x22,0xd1,0x01,0xcb,0x00,0x00]
0x05,0x00,0x22,0xd1,0x01,0xcb,0x00,0x00

# CHECK: v_mul_f16_e64 v5, v1, flat_scratch_lo   ; encoding: [0x05,0x00,0x22,0xd1,0x01,0xcd,0x00,0x00]
0x05,0x00,0x22,0xd1,0x01,0xcd,0x00,0x00

# CHECK: v_mul_f16_e64 v5, v1, flat_scratch_hi   ; encoding: [0x05,0x00,0x22,0xd1,0x01,0xcf,0x00,0x00]
0x05,0x00,0x22,0xd1,0x01,0xcf,0x00,0x00

# CHECK: v_mul_f16_e64 v5, v1, vcc_lo            ; encoding: [0x05,0x00,0x22,0xd1,0x01,0xd5,0x00,0x00]
0x05,0x00,0x22,0xd1,0x01,0xd5,0x00,0x00

# CHECK: v_mul_f16_e64 v5, v1, vcc_hi            ; encoding: [0x05,0x00,0x22,0xd1,0x01,0xd7,0x00,0x00]
0x05,0x00,0x22,0xd1,0x01,0xd7,0x00,0x00

# CHECK: v_mul_f16_e64 v5, v1, tba_lo            ; encoding: [0x05,0x00,0x22,0xd1,0x01,0xd9,0x00,0x00]
0x05,0x00,0x22,0xd1,0x01,0xd9,0x00,0x00

# CHECK: v_mul_f16_e64 v5, v1, tba_hi            ; encoding: [0x05,0x00,0x22,0xd1,0x01,0xdb,0x00,0x00]
0x05,0x00,0x22,0xd1,0x01,0xdb,0x00,0x00

# CHECK: v_mul_f16_e64 v5, v1, tma_lo            ; encoding: [0x05,0x00,0x22,0xd1,0x01,0xdd,0x00,0x00]
0x05,0x00,0x22,0xd1,0x01,0xdd,0x00,0x00

# CHECK: v_mul_f16_e64 v5, v1, tma_hi            ; encoding: [0x05,0x00,0x22,0xd1,0x01,0xdf,0x00,0x00]
0x05,0x00,0x22,0xd1,0x01,0xdf,0x00,0x00

# CHECK: v_mul_f16_e64 v5, v1, ttmp11            ; encoding: [0x05,0x00,0x22,0xd1,0x01,0xf7,0x00,0x00]
0x05,0x00,0x22,0xd1,0x01,0xf7,0x00,0x00

# CHECK: v_mul_f16_e64 v5, v1, m0                ; encoding: [0x05,0x00,0x22,0xd1,0x01,0xf9,0x00,0x00]
0x05,0x00,0x22,0xd1,0x01,0xf9,0x00,0x00

# CHECK: v_mul_f16_e64 v5, v1, exec_lo           ; encoding: [0x05,0x00,0x22,0xd1,0x01,0xfd,0x00,0x00]
0x05,0x00,0x22,0xd1,0x01,0xfd,0x00,0x00

# CHECK: v_mul_f16_e64 v5, v1, exec_hi           ; encoding: [0x05,0x00,0x22,0xd1,0x01,0xff,0x00,0x00]
0x05,0x00,0x22,0xd1,0x01,0xff,0x00,0x00

# CHECK: v_mul_f16_e64 v5, v1, 0                 ; encoding: [0x05,0x00,0x22,0xd1,0x01,0x01,0x01,0x00]
0x05,0x00,0x22,0xd1,0x01,0x01,0x01,0x00

# CHECK: v_mul_f16_e64 v5, v1, -1                ; encoding: [0x05,0x00,0x22,0xd1,0x01,0x83,0x01,0x00]
0x05,0x00,0x22,0xd1,0x01,0x83,0x01,0x00

# CHECK: v_mul_f16_e64 v5, v1, 0.5               ; encoding: [0x05,0x00,0x22,0xd1,0x01,0xe1,0x01,0x00]
0x05,0x00,0x22,0xd1,0x01,0xe1,0x01,0x00

# CHECK: v_mul_f16_e64 v5, v1, -4.0              ; encoding: [0x05,0x00,0x22,0xd1,0x01,0xef,0x01,0x00]
0x05,0x00,0x22,0xd1,0x01,0xef,0x01,0x00

# CHECK: v_mul_f16_e64 v5, -v1, v2               ; encoding: [0x05,0x00,0x22,0xd1,0x01,0x05,0x02,0x20]
0x05,0x00,0x22,0xd1,0x01,0x05,0x02,0x20

# CHECK: v_mul_f16_e64 v5, v1, -v2               ; encoding: [0x05,0x00,0x22,0xd1,0x01,0x05,0x02,0x40]
0x05,0x00,0x22,0xd1,0x01,0x05,0x02,0x40

# CHECK: v_mul_f16_e64 v5, -v1, -v2              ; encoding: [0x05,0x00,0x22,0xd1,0x01,0x05,0x02,0x60]
0x05,0x00,0x22,0xd1,0x01,0x05,0x02,0x60

# CHECK: v_mul_f16_e64 v5, |v1|, v2              ; encoding: [0x05,0x01,0x22,0xd1,0x01,0x05,0x02,0x00]
0x05,0x01,0x22,0xd1,0x01,0x05,0x02,0x00

# CHECK: v_mul_f16_e64 v5, v1, |v2|              ; encoding: [0x05,0x02,0x22,0xd1,0x01,0x05,0x02,0x00]
0x05,0x02,0x22,0xd1,0x01,0x05,0x02,0x00

# CHECK: v_mul_f16_e64 v5, |v1|, |v2|            ; encoding: [0x05,0x03,0x22,0xd1,0x01,0x05,0x02,0x00]
0x05,0x03,0x22,0xd1,0x01,0x05,0x02,0x00

# CHECK: v_mul_f16_e64 v5, v1, v2 clamp          ; encoding: [0x05,0x80,0x22,0xd1,0x01,0x05,0x02,0x00]
0x05,0x80,0x22,0xd1,0x01,0x05,0x02,0x00

# CHECK: v_mac_f16_e64 v5, v1, v2                ; encoding: [0x05,0x00,0x23,0xd1,0x01,0x05,0x02,0x00]
0x05,0x00,0x23,0xd1,0x01,0x05,0x02,0x00

# CHECK: v_mac_f16_e64 v255, v1, v2              ; encoding: [0xff,0x00,0x23,0xd1,0x01,0x05,0x02,0x00]
0xff,0x00,0x23,0xd1,0x01,0x05,0x02,0x00

# CHECK: v_mac_f16_e64 v5, v255, v2              ; encoding: [0x05,0x00,0x23,0xd1,0xff,0x05,0x02,0x00]
0x05,0x00,0x23,0xd1,0xff,0x05,0x02,0x00

# CHECK: v_mac_f16_e64 v5, s1, v2                ; encoding: [0x05,0x00,0x23,0xd1,0x01,0x04,0x02,0x00]
0x05,0x00,0x23,0xd1,0x01,0x04,0x02,0x00

# CHECK: v_mac_f16_e64 v5, s101, v2              ; encoding: [0x05,0x00,0x23,0xd1,0x65,0x04,0x02,0x00]
0x05,0x00,0x23,0xd1,0x65,0x04,0x02,0x00

# CHECK: v_mac_f16_e64 v5, flat_scratch_lo, v2   ; encoding: [0x05,0x00,0x23,0xd1,0x66,0x04,0x02,0x00]
0x05,0x00,0x23,0xd1,0x66,0x04,0x02,0x00

# CHECK: v_mac_f16_e64 v5, flat_scratch_hi, v2   ; encoding: [0x05,0x00,0x23,0xd1,0x67,0x04,0x02,0x00]
0x05,0x00,0x23,0xd1,0x67,0x04,0x02,0x00

# CHECK: v_mac_f16_e64 v5, vcc_lo, v2            ; encoding: [0x05,0x00,0x23,0xd1,0x6a,0x04,0x02,0x00]
0x05,0x00,0x23,0xd1,0x6a,0x04,0x02,0x00

# CHECK: v_mac_f16_e64 v5, vcc_hi, v2            ; encoding: [0x05,0x00,0x23,0xd1,0x6b,0x04,0x02,0x00]
0x05,0x00,0x23,0xd1,0x6b,0x04,0x02,0x00

# CHECK: v_mac_f16_e64 v5, tba_lo, v2            ; encoding: [0x05,0x00,0x23,0xd1,0x6c,0x04,0x02,0x00]
0x05,0x00,0x23,0xd1,0x6c,0x04,0x02,0x00

# CHECK: v_mac_f16_e64 v5, tba_hi, v2            ; encoding: [0x05,0x00,0x23,0xd1,0x6d,0x04,0x02,0x00]
0x05,0x00,0x23,0xd1,0x6d,0x04,0x02,0x00

# CHECK: v_mac_f16_e64 v5, tma_lo, v2            ; encoding: [0x05,0x00,0x23,0xd1,0x6e,0x04,0x02,0x00]
0x05,0x00,0x23,0xd1,0x6e,0x04,0x02,0x00

# CHECK: v_mac_f16_e64 v5, tma_hi, v2            ; encoding: [0x05,0x00,0x23,0xd1,0x6f,0x04,0x02,0x00]
0x05,0x00,0x23,0xd1,0x6f,0x04,0x02,0x00

# CHECK: v_mac_f16_e64 v5, ttmp11, v2            ; encoding: [0x05,0x00,0x23,0xd1,0x7b,0x04,0x02,0x00]
0x05,0x00,0x23,0xd1,0x7b,0x04,0x02,0x00

# CHECK: v_mac_f16_e64 v5, m0, v2                ; encoding: [0x05,0x00,0x23,0xd1,0x7c,0x04,0x02,0x00]
0x05,0x00,0x23,0xd1,0x7c,0x04,0x02,0x00

# CHECK: v_mac_f16_e64 v5, exec_lo, v2           ; encoding: [0x05,0x00,0x23,0xd1,0x7e,0x04,0x02,0x00]
0x05,0x00,0x23,0xd1,0x7e,0x04,0x02,0x00

# CHECK: v_mac_f16_e64 v5, exec_hi, v2           ; encoding: [0x05,0x00,0x23,0xd1,0x7f,0x04,0x02,0x00]
0x05,0x00,0x23,0xd1,0x7f,0x04,0x02,0x00

# CHECK: v_mac_f16_e64 v5, 0, v2                 ; encoding: [0x05,0x00,0x23,0xd1,0x80,0x04,0x02,0x00]
0x05,0x00,0x23,0xd1,0x80,0x04,0x02,0x00

# CHECK: v_mac_f16_e64 v5, -1, v2                ; encoding: [0x05,0x00,0x23,0xd1,0xc1,0x04,0x02,0x00]
0x05,0x00,0x23,0xd1,0xc1,0x04,0x02,0x00

# CHECK: v_mac_f16_e64 v5, 0.5, v2               ; encoding: [0x05,0x00,0x23,0xd1,0xf0,0x04,0x02,0x00]
0x05,0x00,0x23,0xd1,0xf0,0x04,0x02,0x00

# CHECK: v_mac_f16_e64 v5, -4.0, v2              ; encoding: [0x05,0x00,0x23,0xd1,0xf7,0x04,0x02,0x00]
0x05,0x00,0x23,0xd1,0xf7,0x04,0x02,0x00

# CHECK: v_mac_f16_e64 v5, v1, v255              ; encoding: [0x05,0x00,0x23,0xd1,0x01,0xff,0x03,0x00]
0x05,0x00,0x23,0xd1,0x01,0xff,0x03,0x00

# CHECK: v_mac_f16_e64 v5, v1, s2                ; encoding: [0x05,0x00,0x23,0xd1,0x01,0x05,0x00,0x00]
0x05,0x00,0x23,0xd1,0x01,0x05,0x00,0x00

# CHECK: v_mac_f16_e64 v5, v1, s101              ; encoding: [0x05,0x00,0x23,0xd1,0x01,0xcb,0x00,0x00]
0x05,0x00,0x23,0xd1,0x01,0xcb,0x00,0x00

# CHECK: v_mac_f16_e64 v5, v1, flat_scratch_lo   ; encoding: [0x05,0x00,0x23,0xd1,0x01,0xcd,0x00,0x00]
0x05,0x00,0x23,0xd1,0x01,0xcd,0x00,0x00

# CHECK: v_mac_f16_e64 v5, v1, flat_scratch_hi   ; encoding: [0x05,0x00,0x23,0xd1,0x01,0xcf,0x00,0x00]
0x05,0x00,0x23,0xd1,0x01,0xcf,0x00,0x00

# CHECK: v_mac_f16_e64 v5, v1, vcc_lo            ; encoding: [0x05,0x00,0x23,0xd1,0x01,0xd5,0x00,0x00]
0x05,0x00,0x23,0xd1,0x01,0xd5,0x00,0x00

# CHECK: v_mac_f16_e64 v5, v1, vcc_hi            ; encoding: [0x05,0x00,0x23,0xd1,0x01,0xd7,0x00,0x00]
0x05,0x00,0x23,0xd1,0x01,0xd7,0x00,0x00

# CHECK: v_mac_f16_e64 v5, v1, tba_lo            ; encoding: [0x05,0x00,0x23,0xd1,0x01,0xd9,0x00,0x00]
0x05,0x00,0x23,0xd1,0x01,0xd9,0x00,0x00

# CHECK: v_mac_f16_e64 v5, v1, tba_hi            ; encoding: [0x05,0x00,0x23,0xd1,0x01,0xdb,0x00,0x00]
0x05,0x00,0x23,0xd1,0x01,0xdb,0x00,0x00

# CHECK: v_mac_f16_e64 v5, v1, tma_lo            ; encoding: [0x05,0x00,0x23,0xd1,0x01,0xdd,0x00,0x00]
0x05,0x00,0x23,0xd1,0x01,0xdd,0x00,0x00

# CHECK: v_mac_f16_e64 v5, v1, tma_hi            ; encoding: [0x05,0x00,0x23,0xd1,0x01,0xdf,0x00,0x00]
0x05,0x00,0x23,0xd1,0x01,0xdf,0x00,0x00

# CHECK: v_mac_f16_e64 v5, v1, ttmp11            ; encoding: [0x05,0x00,0x23,0xd1,0x01,0xf7,0x00,0x00]
0x05,0x00,0x23,0xd1,0x01,0xf7,0x00,0x00

# CHECK: v_mac_f16_e64 v5, v1, m0                ; encoding: [0x05,0x00,0x23,0xd1,0x01,0xf9,0x00,0x00]
0x05,0x00,0x23,0xd1,0x01,0xf9,0x00,0x00

# CHECK: v_mac_f16_e64 v5, v1, exec_lo           ; encoding: [0x05,0x00,0x23,0xd1,0x01,0xfd,0x00,0x00]
0x05,0x00,0x23,0xd1,0x01,0xfd,0x00,0x00

# CHECK: v_mac_f16_e64 v5, v1, exec_hi           ; encoding: [0x05,0x00,0x23,0xd1,0x01,0xff,0x00,0x00]
0x05,0x00,0x23,0xd1,0x01,0xff,0x00,0x00

# CHECK: v_mac_f16_e64 v5, v1, 0                 ; encoding: [0x05,0x00,0x23,0xd1,0x01,0x01,0x01,0x00]
0x05,0x00,0x23,0xd1,0x01,0x01,0x01,0x00

# CHECK: v_mac_f16_e64 v5, v1, -1                ; encoding: [0x05,0x00,0x23,0xd1,0x01,0x83,0x01,0x00]
0x05,0x00,0x23,0xd1,0x01,0x83,0x01,0x00

# CHECK: v_mac_f16_e64 v5, v1, 0.5               ; encoding: [0x05,0x00,0x23,0xd1,0x01,0xe1,0x01,0x00]
0x05,0x00,0x23,0xd1,0x01,0xe1,0x01,0x00

# CHECK: v_mac_f16_e64 v5, v1, -4.0              ; encoding: [0x05,0x00,0x23,0xd1,0x01,0xef,0x01,0x00]
0x05,0x00,0x23,0xd1,0x01,0xef,0x01,0x00

# CHECK: v_mac_f16_e64 v5, -v1, v2               ; encoding: [0x05,0x00,0x23,0xd1,0x01,0x05,0x02,0x20]
0x05,0x00,0x23,0xd1,0x01,0x05,0x02,0x20

# CHECK: v_mac_f16_e64 v5, v1, -v2               ; encoding: [0x05,0x00,0x23,0xd1,0x01,0x05,0x02,0x40]
0x05,0x00,0x23,0xd1,0x01,0x05,0x02,0x40

# CHECK: v_mac_f16_e64 v5, -v1, -v2              ; encoding: [0x05,0x00,0x23,0xd1,0x01,0x05,0x02,0x60]
0x05,0x00,0x23,0xd1,0x01,0x05,0x02,0x60

# CHECK: v_mac_f16_e64 v5, |v1|, v2              ; encoding: [0x05,0x01,0x23,0xd1,0x01,0x05,0x02,0x00]
0x05,0x01,0x23,0xd1,0x01,0x05,0x02,0x00

# CHECK: v_mac_f16_e64 v5, v1, |v2|              ; encoding: [0x05,0x02,0x23,0xd1,0x01,0x05,0x02,0x00]
0x05,0x02,0x23,0xd1,0x01,0x05,0x02,0x00

# CHECK: v_mac_f16_e64 v5, |v1|, |v2|            ; encoding: [0x05,0x03,0x23,0xd1,0x01,0x05,0x02,0x00]
0x05,0x03,0x23,0xd1,0x01,0x05,0x02,0x00

# CHECK: v_mac_f16_e64 v5, v1, v2 clamp          ; encoding: [0x05,0x80,0x23,0xd1,0x01,0x05,0x02,0x00]
0x05,0x80,0x23,0xd1,0x01,0x05,0x02,0x00

# CHECK: v_add_u16_e64 v5, v1, v2                ; encoding: [0x05,0x00,0x26,0xd1,0x01,0x05,0x02,0x00]
0x05,0x00,0x26,0xd1,0x01,0x05,0x02,0x00

# CHECK: v_add_u16_e64 v255, v1, v2              ; encoding: [0xff,0x00,0x26,0xd1,0x01,0x05,0x02,0x00]
0xff,0x00,0x26,0xd1,0x01,0x05,0x02,0x00

# CHECK: v_add_u16_e64 v5, v255, v2              ; encoding: [0x05,0x00,0x26,0xd1,0xff,0x05,0x02,0x00]
0x05,0x00,0x26,0xd1,0xff,0x05,0x02,0x00

# CHECK: v_add_u16_e64 v5, s1, v2                ; encoding: [0x05,0x00,0x26,0xd1,0x01,0x04,0x02,0x00]
0x05,0x00,0x26,0xd1,0x01,0x04,0x02,0x00

# CHECK: v_add_u16_e64 v5, s101, v2              ; encoding: [0x05,0x00,0x26,0xd1,0x65,0x04,0x02,0x00]
0x05,0x00,0x26,0xd1,0x65,0x04,0x02,0x00

# CHECK: v_add_u16_e64 v5, flat_scratch_lo, v2   ; encoding: [0x05,0x00,0x26,0xd1,0x66,0x04,0x02,0x00]
0x05,0x00,0x26,0xd1,0x66,0x04,0x02,0x00

# CHECK: v_add_u16_e64 v5, flat_scratch_hi, v2   ; encoding: [0x05,0x00,0x26,0xd1,0x67,0x04,0x02,0x00]
0x05,0x00,0x26,0xd1,0x67,0x04,0x02,0x00

# CHECK: v_add_u16_e64 v5, vcc_lo, v2            ; encoding: [0x05,0x00,0x26,0xd1,0x6a,0x04,0x02,0x00]
0x05,0x00,0x26,0xd1,0x6a,0x04,0x02,0x00

# CHECK: v_add_u16_e64 v5, vcc_hi, v2            ; encoding: [0x05,0x00,0x26,0xd1,0x6b,0x04,0x02,0x00]
0x05,0x00,0x26,0xd1,0x6b,0x04,0x02,0x00

# CHECK: v_add_u16_e64 v5, tba_lo, v2            ; encoding: [0x05,0x00,0x26,0xd1,0x6c,0x04,0x02,0x00]
0x05,0x00,0x26,0xd1,0x6c,0x04,0x02,0x00

# CHECK: v_add_u16_e64 v5, tba_hi, v2            ; encoding: [0x05,0x00,0x26,0xd1,0x6d,0x04,0x02,0x00]
0x05,0x00,0x26,0xd1,0x6d,0x04,0x02,0x00

# CHECK: v_add_u16_e64 v5, tma_lo, v2            ; encoding: [0x05,0x00,0x26,0xd1,0x6e,0x04,0x02,0x00]
0x05,0x00,0x26,0xd1,0x6e,0x04,0x02,0x00

# CHECK: v_add_u16_e64 v5, tma_hi, v2            ; encoding: [0x05,0x00,0x26,0xd1,0x6f,0x04,0x02,0x00]
0x05,0x00,0x26,0xd1,0x6f,0x04,0x02,0x00

# CHECK: v_add_u16_e64 v5, ttmp11, v2            ; encoding: [0x05,0x00,0x26,0xd1,0x7b,0x04,0x02,0x00]
0x05,0x00,0x26,0xd1,0x7b,0x04,0x02,0x00

# CHECK: v_add_u16_e64 v5, m0, v2                ; encoding: [0x05,0x00,0x26,0xd1,0x7c,0x04,0x02,0x00]
0x05,0x00,0x26,0xd1,0x7c,0x04,0x02,0x00

# CHECK: v_add_u16_e64 v5, exec_lo, v2           ; encoding: [0x05,0x00,0x26,0xd1,0x7e,0x04,0x02,0x00]
0x05,0x00,0x26,0xd1,0x7e,0x04,0x02,0x00

# CHECK: v_add_u16_e64 v5, exec_hi, v2           ; encoding: [0x05,0x00,0x26,0xd1,0x7f,0x04,0x02,0x00]
0x05,0x00,0x26,0xd1,0x7f,0x04,0x02,0x00

# CHECK: v_add_u16_e64 v5, 0, v2                 ; encoding: [0x05,0x00,0x26,0xd1,0x80,0x04,0x02,0x00]
0x05,0x00,0x26,0xd1,0x80,0x04,0x02,0x00

# CHECK: v_add_u16_e64 v5, -1, v2                ; encoding: [0x05,0x00,0x26,0xd1,0xc1,0x04,0x02,0x00]
0x05,0x00,0x26,0xd1,0xc1,0x04,0x02,0x00

# CHECK: v_add_u16_e64 v5, 0x3800, v2            ; encoding: [0x05,0x00,0x26,0xd1,0xff,0x04,0x02,0x00]
0x05,0x00,0x26,0xd1,0xf0,0x04,0x02,0x00

# CHECK: v_add_u16_e64 v5, 0xc400, v2            ; encoding: [0x05,0x00,0x26,0xd1,0xff,0x04,0x02,0x00]
0x05,0x00,0x26,0xd1,0xf7,0x04,0x02,0x00

# CHECK: v_add_u16_e64 v5, v1, v255              ; encoding: [0x05,0x00,0x26,0xd1,0x01,0xff,0x03,0x00]
0x05,0x00,0x26,0xd1,0x01,0xff,0x03,0x00

# CHECK: v_add_u16_e64 v5, v1, s2                ; encoding: [0x05,0x00,0x26,0xd1,0x01,0x05,0x00,0x00]
0x05,0x00,0x26,0xd1,0x01,0x05,0x00,0x00

# CHECK: v_add_u16_e64 v5, v1, s101              ; encoding: [0x05,0x00,0x26,0xd1,0x01,0xcb,0x00,0x00]
0x05,0x00,0x26,0xd1,0x01,0xcb,0x00,0x00

# CHECK: v_add_u16_e64 v5, v1, flat_scratch_lo   ; encoding: [0x05,0x00,0x26,0xd1,0x01,0xcd,0x00,0x00]
0x05,0x00,0x26,0xd1,0x01,0xcd,0x00,0x00

# CHECK: v_add_u16_e64 v5, v1, flat_scratch_hi   ; encoding: [0x05,0x00,0x26,0xd1,0x01,0xcf,0x00,0x00]
0x05,0x00,0x26,0xd1,0x01,0xcf,0x00,0x00

# CHECK: v_add_u16_e64 v5, v1, vcc_lo            ; encoding: [0x05,0x00,0x26,0xd1,0x01,0xd5,0x00,0x00]
0x05,0x00,0x26,0xd1,0x01,0xd5,0x00,0x00

# CHECK: v_add_u16_e64 v5, v1, vcc_hi            ; encoding: [0x05,0x00,0x26,0xd1,0x01,0xd7,0x00,0x00]
0x05,0x00,0x26,0xd1,0x01,0xd7,0x00,0x00

# CHECK: v_add_u16_e64 v5, v1, tba_lo            ; encoding: [0x05,0x00,0x26,0xd1,0x01,0xd9,0x00,0x00]
0x05,0x00,0x26,0xd1,0x01,0xd9,0x00,0x00

# CHECK: v_add_u16_e64 v5, v1, tba_hi            ; encoding: [0x05,0x00,0x26,0xd1,0x01,0xdb,0x00,0x00]
0x05,0x00,0x26,0xd1,0x01,0xdb,0x00,0x00

# CHECK: v_add_u16_e64 v5, v1, tma_lo            ; encoding: [0x05,0x00,0x26,0xd1,0x01,0xdd,0x00,0x00]
0x05,0x00,0x26,0xd1,0x01,0xdd,0x00,0x00

# CHECK: v_add_u16_e64 v5, v1, tma_hi            ; encoding: [0x05,0x00,0x26,0xd1,0x01,0xdf,0x00,0x00]
0x05,0x00,0x26,0xd1,0x01,0xdf,0x00,0x00

# CHECK: v_add_u16_e64 v5, v1, ttmp11            ; encoding: [0x05,0x00,0x26,0xd1,0x01,0xf7,0x00,0x00]
0x05,0x00,0x26,0xd1,0x01,0xf7,0x00,0x00

# CHECK: v_add_u16_e64 v5, v1, m0                ; encoding: [0x05,0x00,0x26,0xd1,0x01,0xf9,0x00,0x00]
0x05,0x00,0x26,0xd1,0x01,0xf9,0x00,0x00

# CHECK: v_add_u16_e64 v5, v1, exec_lo           ; encoding: [0x05,0x00,0x26,0xd1,0x01,0xfd,0x00,0x00]
0x05,0x00,0x26,0xd1,0x01,0xfd,0x00,0x00

# CHECK: v_add_u16_e64 v5, v1, exec_hi           ; encoding: [0x05,0x00,0x26,0xd1,0x01,0xff,0x00,0x00]
0x05,0x00,0x26,0xd1,0x01,0xff,0x00,0x00

# CHECK: v_add_u16_e64 v5, v1, 0                 ; encoding: [0x05,0x00,0x26,0xd1,0x01,0x01,0x01,0x00]
0x05,0x00,0x26,0xd1,0x01,0x01,0x01,0x00

# CHECK: v_add_u16_e64 v5, v1, -1                ; encoding: [0x05,0x00,0x26,0xd1,0x01,0x83,0x01,0x00]
0x05,0x00,0x26,0xd1,0x01,0x83,0x01,0x00

# CHECK: v_add_u16_e64 v5, v1, 0x3800            ; encoding: [0x05,0x00,0x26,0xd1,0x01,0xff,0x01,0x00]
0x05,0x00,0x26,0xd1,0x01,0xe1,0x01,0x00

# CHECK: v_add_u16_e64 v5, v1, 0xc400            ; encoding: [0x05,0x00,0x26,0xd1,0x01,0xff,0x01,0x00]
0x05,0x00,0x26,0xd1,0x01,0xef,0x01,0x00

# CHECK: v_sub_u16_e64 v5, v1, v2                ; encoding: [0x05,0x00,0x27,0xd1,0x01,0x05,0x02,0x00]
0x05,0x00,0x27,0xd1,0x01,0x05,0x02,0x00

# CHECK: v_sub_u16_e64 v255, v1, v2              ; encoding: [0xff,0x00,0x27,0xd1,0x01,0x05,0x02,0x00]
0xff,0x00,0x27,0xd1,0x01,0x05,0x02,0x00

# CHECK: v_sub_u16_e64 v5, v255, v2              ; encoding: [0x05,0x00,0x27,0xd1,0xff,0x05,0x02,0x00]
0x05,0x00,0x27,0xd1,0xff,0x05,0x02,0x00

# CHECK: v_sub_u16_e64 v5, s1, v2                ; encoding: [0x05,0x00,0x27,0xd1,0x01,0x04,0x02,0x00]
0x05,0x00,0x27,0xd1,0x01,0x04,0x02,0x00

# CHECK: v_sub_u16_e64 v5, s101, v2              ; encoding: [0x05,0x00,0x27,0xd1,0x65,0x04,0x02,0x00]
0x05,0x00,0x27,0xd1,0x65,0x04,0x02,0x00

# CHECK: v_sub_u16_e64 v5, flat_scratch_lo, v2   ; encoding: [0x05,0x00,0x27,0xd1,0x66,0x04,0x02,0x00]
0x05,0x00,0x27,0xd1,0x66,0x04,0x02,0x00

# CHECK: v_sub_u16_e64 v5, flat_scratch_hi, v2   ; encoding: [0x05,0x00,0x27,0xd1,0x67,0x04,0x02,0x00]
0x05,0x00,0x27,0xd1,0x67,0x04,0x02,0x00

# CHECK: v_sub_u16_e64 v5, vcc_lo, v2            ; encoding: [0x05,0x00,0x27,0xd1,0x6a,0x04,0x02,0x00]
0x05,0x00,0x27,0xd1,0x6a,0x04,0x02,0x00

# CHECK: v_sub_u16_e64 v5, vcc_hi, v2            ; encoding: [0x05,0x00,0x27,0xd1,0x6b,0x04,0x02,0x00]
0x05,0x00,0x27,0xd1,0x6b,0x04,0x02,0x00

# CHECK: v_sub_u16_e64 v5, tba_lo, v2            ; encoding: [0x05,0x00,0x27,0xd1,0x6c,0x04,0x02,0x00]
0x05,0x00,0x27,0xd1,0x6c,0x04,0x02,0x00

# CHECK: v_sub_u16_e64 v5, tba_hi, v2            ; encoding: [0x05,0x00,0x27,0xd1,0x6d,0x04,0x02,0x00]
0x05,0x00,0x27,0xd1,0x6d,0x04,0x02,0x00

# CHECK: v_sub_u16_e64 v5, tma_lo, v2            ; encoding: [0x05,0x00,0x27,0xd1,0x6e,0x04,0x02,0x00]
0x05,0x00,0x27,0xd1,0x6e,0x04,0x02,0x00

# CHECK: v_sub_u16_e64 v5, tma_hi, v2            ; encoding: [0x05,0x00,0x27,0xd1,0x6f,0x04,0x02,0x00]
0x05,0x00,0x27,0xd1,0x6f,0x04,0x02,0x00

# CHECK: v_sub_u16_e64 v5, ttmp11, v2            ; encoding: [0x05,0x00,0x27,0xd1,0x7b,0x04,0x02,0x00]
0x05,0x00,0x27,0xd1,0x7b,0x04,0x02,0x00

# CHECK: v_sub_u16_e64 v5, m0, v2                ; encoding: [0x05,0x00,0x27,0xd1,0x7c,0x04,0x02,0x00]
0x05,0x00,0x27,0xd1,0x7c,0x04,0x02,0x00

# CHECK: v_sub_u16_e64 v5, exec_lo, v2           ; encoding: [0x05,0x00,0x27,0xd1,0x7e,0x04,0x02,0x00]
0x05,0x00,0x27,0xd1,0x7e,0x04,0x02,0x00

# CHECK: v_sub_u16_e64 v5, exec_hi, v2           ; encoding: [0x05,0x00,0x27,0xd1,0x7f,0x04,0x02,0x00]
0x05,0x00,0x27,0xd1,0x7f,0x04,0x02,0x00

# CHECK: v_sub_u16_e64 v5, 0, v2                 ; encoding: [0x05,0x00,0x27,0xd1,0x80,0x04,0x02,0x00]
0x05,0x00,0x27,0xd1,0x80,0x04,0x02,0x00

# CHECK: v_sub_u16_e64 v5, -1, v2                ; encoding: [0x05,0x00,0x27,0xd1,0xc1,0x04,0x02,0x00]
0x05,0x00,0x27,0xd1,0xc1,0x04,0x02,0x00

# CHECK: v_sub_u16_e64 v5, 0x3800, v2            ; encoding: [0x05,0x00,0x27,0xd1,0xff,0x04,0x02,0x00]
0x05,0x00,0x27,0xd1,0xf0,0x04,0x02,0x00

# CHECK: v_sub_u16_e64 v5, 0xc400, v2            ; encoding: [0x05,0x00,0x27,0xd1,0xff,0x04,0x02,0x00]
0x05,0x00,0x27,0xd1,0xf7,0x04,0x02,0x00

# CHECK: v_sub_u16_e64 v5, v1, v255              ; encoding: [0x05,0x00,0x27,0xd1,0x01,0xff,0x03,0x00]
0x05,0x00,0x27,0xd1,0x01,0xff,0x03,0x00

# CHECK: v_sub_u16_e64 v5, v1, s2                ; encoding: [0x05,0x00,0x27,0xd1,0x01,0x05,0x00,0x00]
0x05,0x00,0x27,0xd1,0x01,0x05,0x00,0x00

# CHECK: v_sub_u16_e64 v5, v1, s101              ; encoding: [0x05,0x00,0x27,0xd1,0x01,0xcb,0x00,0x00]
0x05,0x00,0x27,0xd1,0x01,0xcb,0x00,0x00

# CHECK: v_sub_u16_e64 v5, v1, flat_scratch_lo   ; encoding: [0x05,0x00,0x27,0xd1,0x01,0xcd,0x00,0x00]
0x05,0x00,0x27,0xd1,0x01,0xcd,0x00,0x00

# CHECK: v_sub_u16_e64 v5, v1, flat_scratch_hi   ; encoding: [0x05,0x00,0x27,0xd1,0x01,0xcf,0x00,0x00]
0x05,0x00,0x27,0xd1,0x01,0xcf,0x00,0x00

# CHECK: v_sub_u16_e64 v5, v1, vcc_lo            ; encoding: [0x05,0x00,0x27,0xd1,0x01,0xd5,0x00,0x00]
0x05,0x00,0x27,0xd1,0x01,0xd5,0x00,0x00

# CHECK: v_sub_u16_e64 v5, v1, vcc_hi            ; encoding: [0x05,0x00,0x27,0xd1,0x01,0xd7,0x00,0x00]
0x05,0x00,0x27,0xd1,0x01,0xd7,0x00,0x00

# CHECK: v_sub_u16_e64 v5, v1, tba_lo            ; encoding: [0x05,0x00,0x27,0xd1,0x01,0xd9,0x00,0x00]
0x05,0x00,0x27,0xd1,0x01,0xd9,0x00,0x00

# CHECK: v_sub_u16_e64 v5, v1, tba_hi            ; encoding: [0x05,0x00,0x27,0xd1,0x01,0xdb,0x00,0x00]
0x05,0x00,0x27,0xd1,0x01,0xdb,0x00,0x00

# CHECK: v_sub_u16_e64 v5, v1, tma_lo            ; encoding: [0x05,0x00,0x27,0xd1,0x01,0xdd,0x00,0x00]
0x05,0x00,0x27,0xd1,0x01,0xdd,0x00,0x00

# CHECK: v_sub_u16_e64 v5, v1, tma_hi            ; encoding: [0x05,0x00,0x27,0xd1,0x01,0xdf,0x00,0x00]
0x05,0x00,0x27,0xd1,0x01,0xdf,0x00,0x00

# CHECK: v_sub_u16_e64 v5, v1, ttmp11            ; encoding: [0x05,0x00,0x27,0xd1,0x01,0xf7,0x00,0x00]
0x05,0x00,0x27,0xd1,0x01,0xf7,0x00,0x00

# CHECK: v_sub_u16_e64 v5, v1, m0                ; encoding: [0x05,0x00,0x27,0xd1,0x01,0xf9,0x00,0x00]
0x05,0x00,0x27,0xd1,0x01,0xf9,0x00,0x00

# CHECK: v_sub_u16_e64 v5, v1, exec_lo           ; encoding: [0x05,0x00,0x27,0xd1,0x01,0xfd,0x00,0x00]
0x05,0x00,0x27,0xd1,0x01,0xfd,0x00,0x00

# CHECK: v_sub_u16_e64 v5, v1, exec_hi           ; encoding: [0x05,0x00,0x27,0xd1,0x01,0xff,0x00,0x00]
0x05,0x00,0x27,0xd1,0x01,0xff,0x00,0x00

# CHECK: v_sub_u16_e64 v5, v1, 0                 ; encoding: [0x05,0x00,0x27,0xd1,0x01,0x01,0x01,0x00]
0x05,0x00,0x27,0xd1,0x01,0x01,0x01,0x00

# CHECK: v_sub_u16_e64 v5, v1, -1                ; encoding: [0x05,0x00,0x27,0xd1,0x01,0x83,0x01,0x00]
0x05,0x00,0x27,0xd1,0x01,0x83,0x01,0x00

# CHECK: v_sub_u16_e64 v5, v1, 0x3800            ; encoding: [0x05,0x00,0x27,0xd1,0x01,0xff,0x01,0x00]
0x05,0x00,0x27,0xd1,0x01,0xe1,0x01,0x00

# CHECK: v_sub_u16_e64 v5, v1, 0xc400            ; encoding: [0x05,0x00,0x27,0xd1,0x01,0xff,0x01,0x00]
0x05,0x00,0x27,0xd1,0x01,0xef,0x01,0x00

# CHECK: v_subrev_u16_e64 v5, v1, v2             ; encoding: [0x05,0x00,0x28,0xd1,0x01,0x05,0x02,0x00]
0x05,0x00,0x28,0xd1,0x01,0x05,0x02,0x00

# CHECK: v_subrev_u16_e64 v255, v1, v2           ; encoding: [0xff,0x00,0x28,0xd1,0x01,0x05,0x02,0x00]
0xff,0x00,0x28,0xd1,0x01,0x05,0x02,0x00

# CHECK: v_subrev_u16_e64 v5, v255, v2           ; encoding: [0x05,0x00,0x28,0xd1,0xff,0x05,0x02,0x00]
0x05,0x00,0x28,0xd1,0xff,0x05,0x02,0x00

# CHECK: v_subrev_u16_e64 v5, s1, v2             ; encoding: [0x05,0x00,0x28,0xd1,0x01,0x04,0x02,0x00]
0x05,0x00,0x28,0xd1,0x01,0x04,0x02,0x00

# CHECK: v_subrev_u16_e64 v5, s101, v2           ; encoding: [0x05,0x00,0x28,0xd1,0x65,0x04,0x02,0x00]
0x05,0x00,0x28,0xd1,0x65,0x04,0x02,0x00

# CHECK: v_subrev_u16_e64 v5, flat_scratch_lo, v2 ; encoding: [0x05,0x00,0x28,0xd1,0x66,0x04,0x02,0x00]
0x05,0x00,0x28,0xd1,0x66,0x04,0x02,0x00

# CHECK: v_subrev_u16_e64 v5, flat_scratch_hi, v2 ; encoding: [0x05,0x00,0x28,0xd1,0x67,0x04,0x02,0x00]
0x05,0x00,0x28,0xd1,0x67,0x04,0x02,0x00

# CHECK: v_subrev_u16_e64 v5, vcc_lo, v2         ; encoding: [0x05,0x00,0x28,0xd1,0x6a,0x04,0x02,0x00]
0x05,0x00,0x28,0xd1,0x6a,0x04,0x02,0x00

# CHECK: v_subrev_u16_e64 v5, vcc_hi, v2         ; encoding: [0x05,0x00,0x28,0xd1,0x6b,0x04,0x02,0x00]
0x05,0x00,0x28,0xd1,0x6b,0x04,0x02,0x00

# CHECK: v_subrev_u16_e64 v5, tba_lo, v2         ; encoding: [0x05,0x00,0x28,0xd1,0x6c,0x04,0x02,0x00]
0x05,0x00,0x28,0xd1,0x6c,0x04,0x02,0x00

# CHECK: v_subrev_u16_e64 v5, tba_hi, v2         ; encoding: [0x05,0x00,0x28,0xd1,0x6d,0x04,0x02,0x00]
0x05,0x00,0x28,0xd1,0x6d,0x04,0x02,0x00

# CHECK: v_subrev_u16_e64 v5, tma_lo, v2         ; encoding: [0x05,0x00,0x28,0xd1,0x6e,0x04,0x02,0x00]
0x05,0x00,0x28,0xd1,0x6e,0x04,0x02,0x00

# CHECK: v_subrev_u16_e64 v5, tma_hi, v2         ; encoding: [0x05,0x00,0x28,0xd1,0x6f,0x04,0x02,0x00]
0x05,0x00,0x28,0xd1,0x6f,0x04,0x02,0x00

# CHECK: v_subrev_u16_e64 v5, ttmp11, v2         ; encoding: [0x05,0x00,0x28,0xd1,0x7b,0x04,0x02,0x00]
0x05,0x00,0x28,0xd1,0x7b,0x04,0x02,0x00

# CHECK: v_subrev_u16_e64 v5, m0, v2             ; encoding: [0x05,0x00,0x28,0xd1,0x7c,0x04,0x02,0x00]
0x05,0x00,0x28,0xd1,0x7c,0x04,0x02,0x00

# CHECK: v_subrev_u16_e64 v5, exec_lo, v2        ; encoding: [0x05,0x00,0x28,0xd1,0x7e,0x04,0x02,0x00]
0x05,0x00,0x28,0xd1,0x7e,0x04,0x02,0x00

# CHECK: v_subrev_u16_e64 v5, exec_hi, v2        ; encoding: [0x05,0x00,0x28,0xd1,0x7f,0x04,0x02,0x00]
0x05,0x00,0x28,0xd1,0x7f,0x04,0x02,0x00

# CHECK: v_subrev_u16_e64 v5, 0, v2              ; encoding: [0x05,0x00,0x28,0xd1,0x80,0x04,0x02,0x00]
0x05,0x00,0x28,0xd1,0x80,0x04,0x02,0x00

# CHECK: v_subrev_u16_e64 v5, -1, v2             ; encoding: [0x05,0x00,0x28,0xd1,0xc1,0x04,0x02,0x00]
0x05,0x00,0x28,0xd1,0xc1,0x04,0x02,0x00

# CHECK: v_subrev_u16_e64 v5, 0x3800, v2         ; encoding: [0x05,0x00,0x28,0xd1,0xff,0x04,0x02,0x00]
0x05,0x00,0x28,0xd1,0xf0,0x04,0x02,0x00

# CHECK: v_subrev_u16_e64 v5, 0xc400, v2         ; encoding: [0x05,0x00,0x28,0xd1,0xff,0x04,0x02,0x00]
0x05,0x00,0x28,0xd1,0xf7,0x04,0x02,0x00

# CHECK: v_subrev_u16_e64 v5, v1, v255           ; encoding: [0x05,0x00,0x28,0xd1,0x01,0xff,0x03,0x00]
0x05,0x00,0x28,0xd1,0x01,0xff,0x03,0x00

# CHECK: v_subrev_u16_e64 v5, v1, s2             ; encoding: [0x05,0x00,0x28,0xd1,0x01,0x05,0x00,0x00]
0x05,0x00,0x28,0xd1,0x01,0x05,0x00,0x00

# CHECK: v_subrev_u16_e64 v5, v1, s101           ; encoding: [0x05,0x00,0x28,0xd1,0x01,0xcb,0x00,0x00]
0x05,0x00,0x28,0xd1,0x01,0xcb,0x00,0x00

# CHECK: v_subrev_u16_e64 v5, v1, flat_scratch_lo ; encoding: [0x05,0x00,0x28,0xd1,0x01,0xcd,0x00,0x00]
0x05,0x00,0x28,0xd1,0x01,0xcd,0x00,0x00

# CHECK: v_subrev_u16_e64 v5, v1, flat_scratch_hi ; encoding: [0x05,0x00,0x28,0xd1,0x01,0xcf,0x00,0x00]
0x05,0x00,0x28,0xd1,0x01,0xcf,0x00,0x00

# CHECK: v_subrev_u16_e64 v5, v1, vcc_lo         ; encoding: [0x05,0x00,0x28,0xd1,0x01,0xd5,0x00,0x00]
0x05,0x00,0x28,0xd1,0x01,0xd5,0x00,0x00

# CHECK: v_subrev_u16_e64 v5, v1, vcc_hi         ; encoding: [0x05,0x00,0x28,0xd1,0x01,0xd7,0x00,0x00]
0x05,0x00,0x28,0xd1,0x01,0xd7,0x00,0x00

# CHECK: v_subrev_u16_e64 v5, v1, tba_lo         ; encoding: [0x05,0x00,0x28,0xd1,0x01,0xd9,0x00,0x00]
0x05,0x00,0x28,0xd1,0x01,0xd9,0x00,0x00

# CHECK: v_subrev_u16_e64 v5, v1, tba_hi         ; encoding: [0x05,0x00,0x28,0xd1,0x01,0xdb,0x00,0x00]
0x05,0x00,0x28,0xd1,0x01,0xdb,0x00,0x00

# CHECK: v_subrev_u16_e64 v5, v1, tma_lo         ; encoding: [0x05,0x00,0x28,0xd1,0x01,0xdd,0x00,0x00]
0x05,0x00,0x28,0xd1,0x01,0xdd,0x00,0x00

# CHECK: v_subrev_u16_e64 v5, v1, tma_hi         ; encoding: [0x05,0x00,0x28,0xd1,0x01,0xdf,0x00,0x00]
0x05,0x00,0x28,0xd1,0x01,0xdf,0x00,0x00

# CHECK: v_subrev_u16_e64 v5, v1, ttmp11         ; encoding: [0x05,0x00,0x28,0xd1,0x01,0xf7,0x00,0x00]
0x05,0x00,0x28,0xd1,0x01,0xf7,0x00,0x00

# CHECK: v_subrev_u16_e64 v5, v1, m0             ; encoding: [0x05,0x00,0x28,0xd1,0x01,0xf9,0x00,0x00]
0x05,0x00,0x28,0xd1,0x01,0xf9,0x00,0x00

# CHECK: v_subrev_u16_e64 v5, v1, exec_lo        ; encoding: [0x05,0x00,0x28,0xd1,0x01,0xfd,0x00,0x00]
0x05,0x00,0x28,0xd1,0x01,0xfd,0x00,0x00

# CHECK: v_subrev_u16_e64 v5, v1, exec_hi        ; encoding: [0x05,0x00,0x28,0xd1,0x01,0xff,0x00,0x00]
0x05,0x00,0x28,0xd1,0x01,0xff,0x00,0x00

# CHECK: v_subrev_u16_e64 v5, v1, 0              ; encoding: [0x05,0x00,0x28,0xd1,0x01,0x01,0x01,0x00]
0x05,0x00,0x28,0xd1,0x01,0x01,0x01,0x00

# CHECK: v_subrev_u16_e64 v5, v1, -1             ; encoding: [0x05,0x00,0x28,0xd1,0x01,0x83,0x01,0x00]
0x05,0x00,0x28,0xd1,0x01,0x83,0x01,0x00

# CHECK: v_subrev_u16_e64 v5, v1, 0x3800         ; encoding: [0x05,0x00,0x28,0xd1,0x01,0xff,0x01,0x00]
0x05,0x00,0x28,0xd1,0x01,0xe1,0x01,0x00

# CHECK: v_subrev_u16_e64 v5, v1, 0xc400         ; encoding: [0x05,0x00,0x28,0xd1,0x01,0xff,0x01,0x00]
0x05,0x00,0x28,0xd1,0x01,0xef,0x01,0x00

# CHECK: v_mul_lo_u16_e64 v5, v1, v2             ; encoding: [0x05,0x00,0x29,0xd1,0x01,0x05,0x02,0x00]
0x05,0x00,0x29,0xd1,0x01,0x05,0x02,0x00

# CHECK: v_mul_lo_u16_e64 v255, v1, v2           ; encoding: [0xff,0x00,0x29,0xd1,0x01,0x05,0x02,0x00]
0xff,0x00,0x29,0xd1,0x01,0x05,0x02,0x00

# CHECK: v_mul_lo_u16_e64 v5, v255, v2           ; encoding: [0x05,0x00,0x29,0xd1,0xff,0x05,0x02,0x00]
0x05,0x00,0x29,0xd1,0xff,0x05,0x02,0x00

# CHECK: v_mul_lo_u16_e64 v5, s1, v2             ; encoding: [0x05,0x00,0x29,0xd1,0x01,0x04,0x02,0x00]
0x05,0x00,0x29,0xd1,0x01,0x04,0x02,0x00

# CHECK: v_mul_lo_u16_e64 v5, s101, v2           ; encoding: [0x05,0x00,0x29,0xd1,0x65,0x04,0x02,0x00]
0x05,0x00,0x29,0xd1,0x65,0x04,0x02,0x00

# CHECK: v_mul_lo_u16_e64 v5, flat_scratch_lo, v2 ; encoding: [0x05,0x00,0x29,0xd1,0x66,0x04,0x02,0x00]
0x05,0x00,0x29,0xd1,0x66,0x04,0x02,0x00

# CHECK: v_mul_lo_u16_e64 v5, flat_scratch_hi, v2 ; encoding: [0x05,0x00,0x29,0xd1,0x67,0x04,0x02,0x00]
0x05,0x00,0x29,0xd1,0x67,0x04,0x02,0x00

# CHECK: v_mul_lo_u16_e64 v5, vcc_lo, v2         ; encoding: [0x05,0x00,0x29,0xd1,0x6a,0x04,0x02,0x00]
0x05,0x00,0x29,0xd1,0x6a,0x04,0x02,0x00

# CHECK: v_mul_lo_u16_e64 v5, vcc_hi, v2         ; encoding: [0x05,0x00,0x29,0xd1,0x6b,0x04,0x02,0x00]
0x05,0x00,0x29,0xd1,0x6b,0x04,0x02,0x00

# CHECK: v_mul_lo_u16_e64 v5, tba_lo, v2         ; encoding: [0x05,0x00,0x29,0xd1,0x6c,0x04,0x02,0x00]
0x05,0x00,0x29,0xd1,0x6c,0x04,0x02,0x00

# CHECK: v_mul_lo_u16_e64 v5, tba_hi, v2         ; encoding: [0x05,0x00,0x29,0xd1,0x6d,0x04,0x02,0x00]
0x05,0x00,0x29,0xd1,0x6d,0x04,0x02,0x00

# CHECK: v_mul_lo_u16_e64 v5, tma_lo, v2         ; encoding: [0x05,0x00,0x29,0xd1,0x6e,0x04,0x02,0x00]
0x05,0x00,0x29,0xd1,0x6e,0x04,0x02,0x00

# CHECK: v_mul_lo_u16_e64 v5, tma_hi, v2         ; encoding: [0x05,0x00,0x29,0xd1,0x6f,0x04,0x02,0x00]
0x05,0x00,0x29,0xd1,0x6f,0x04,0x02,0x00

# CHECK: v_mul_lo_u16_e64 v5, ttmp11, v2         ; encoding: [0x05,0x00,0x29,0xd1,0x7b,0x04,0x02,0x00]
0x05,0x00,0x29,0xd1,0x7b,0x04,0x02,0x00

# CHECK: v_mul_lo_u16_e64 v5, m0, v2             ; encoding: [0x05,0x00,0x29,0xd1,0x7c,0x04,0x02,0x00]
0x05,0x00,0x29,0xd1,0x7c,0x04,0x02,0x00

# CHECK: v_mul_lo_u16_e64 v5, exec_lo, v2        ; encoding: [0x05,0x00,0x29,0xd1,0x7e,0x04,0x02,0x00]
0x05,0x00,0x29,0xd1,0x7e,0x04,0x02,0x00

# CHECK: v_mul_lo_u16_e64 v5, exec_hi, v2        ; encoding: [0x05,0x00,0x29,0xd1,0x7f,0x04,0x02,0x00]
0x05,0x00,0x29,0xd1,0x7f,0x04,0x02,0x00

# CHECK: v_mul_lo_u16_e64 v5, 0, v2              ; encoding: [0x05,0x00,0x29,0xd1,0x80,0x04,0x02,0x00]
0x05,0x00,0x29,0xd1,0x80,0x04,0x02,0x00

# CHECK: v_mul_lo_u16_e64 v5, -1, v2             ; encoding: [0x05,0x00,0x29,0xd1,0xc1,0x04,0x02,0x00]
0x05,0x00,0x29,0xd1,0xc1,0x04,0x02,0x00

# CHECK: v_mul_lo_u16_e64 v5, 0x3800, v2         ; encoding: [0x05,0x00,0x29,0xd1,0xff,0x04,0x02,0x00]
0x05,0x00,0x29,0xd1,0xf0,0x04,0x02,0x00

# CHECK: v_mul_lo_u16_e64 v5, 0xc400, v2         ; encoding: [0x05,0x00,0x29,0xd1,0xff,0x04,0x02,0x00]
0x05,0x00,0x29,0xd1,0xf7,0x04,0x02,0x00

# CHECK: v_mul_lo_u16_e64 v5, v1, v255           ; encoding: [0x05,0x00,0x29,0xd1,0x01,0xff,0x03,0x00]
0x05,0x00,0x29,0xd1,0x01,0xff,0x03,0x00

# CHECK: v_mul_lo_u16_e64 v5, v1, s2             ; encoding: [0x05,0x00,0x29,0xd1,0x01,0x05,0x00,0x00]
0x05,0x00,0x29,0xd1,0x01,0x05,0x00,0x00

# CHECK: v_mul_lo_u16_e64 v5, v1, s101           ; encoding: [0x05,0x00,0x29,0xd1,0x01,0xcb,0x00,0x00]
0x05,0x00,0x29,0xd1,0x01,0xcb,0x00,0x00

# CHECK: v_mul_lo_u16_e64 v5, v1, flat_scratch_lo ; encoding: [0x05,0x00,0x29,0xd1,0x01,0xcd,0x00,0x00]
0x05,0x00,0x29,0xd1,0x01,0xcd,0x00,0x00

# CHECK: v_mul_lo_u16_e64 v5, v1, flat_scratch_hi ; encoding: [0x05,0x00,0x29,0xd1,0x01,0xcf,0x00,0x00]
0x05,0x00,0x29,0xd1,0x01,0xcf,0x00,0x00

# CHECK: v_mul_lo_u16_e64 v5, v1, vcc_lo         ; encoding: [0x05,0x00,0x29,0xd1,0x01,0xd5,0x00,0x00]
0x05,0x00,0x29,0xd1,0x01,0xd5,0x00,0x00

# CHECK: v_mul_lo_u16_e64 v5, v1, vcc_hi         ; encoding: [0x05,0x00,0x29,0xd1,0x01,0xd7,0x00,0x00]
0x05,0x00,0x29,0xd1,0x01,0xd7,0x00,0x00

# CHECK: v_mul_lo_u16_e64 v5, v1, tba_lo         ; encoding: [0x05,0x00,0x29,0xd1,0x01,0xd9,0x00,0x00]
0x05,0x00,0x29,0xd1,0x01,0xd9,0x00,0x00

# CHECK: v_mul_lo_u16_e64 v5, v1, tba_hi         ; encoding: [0x05,0x00,0x29,0xd1,0x01,0xdb,0x00,0x00]
0x05,0x00,0x29,0xd1,0x01,0xdb,0x00,0x00

# CHECK: v_mul_lo_u16_e64 v5, v1, tma_lo         ; encoding: [0x05,0x00,0x29,0xd1,0x01,0xdd,0x00,0x00]
0x05,0x00,0x29,0xd1,0x01,0xdd,0x00,0x00

# CHECK: v_mul_lo_u16_e64 v5, v1, tma_hi         ; encoding: [0x05,0x00,0x29,0xd1,0x01,0xdf,0x00,0x00]
0x05,0x00,0x29,0xd1,0x01,0xdf,0x00,0x00

# CHECK: v_mul_lo_u16_e64 v5, v1, ttmp11         ; encoding: [0x05,0x00,0x29,0xd1,0x01,0xf7,0x00,0x00]
0x05,0x00,0x29,0xd1,0x01,0xf7,0x00,0x00

# CHECK: v_mul_lo_u16_e64 v5, v1, m0             ; encoding: [0x05,0x00,0x29,0xd1,0x01,0xf9,0x00,0x00]
0x05,0x00,0x29,0xd1,0x01,0xf9,0x00,0x00

# CHECK: v_mul_lo_u16_e64 v5, v1, exec_lo        ; encoding: [0x05,0x00,0x29,0xd1,0x01,0xfd,0x00,0x00]
0x05,0x00,0x29,0xd1,0x01,0xfd,0x00,0x00

# CHECK: v_mul_lo_u16_e64 v5, v1, exec_hi        ; encoding: [0x05,0x00,0x29,0xd1,0x01,0xff,0x00,0x00]
0x05,0x00,0x29,0xd1,0x01,0xff,0x00,0x00

# CHECK: v_mul_lo_u16_e64 v5, v1, 0              ; encoding: [0x05,0x00,0x29,0xd1,0x01,0x01,0x01,0x00]
0x05,0x00,0x29,0xd1,0x01,0x01,0x01,0x00

# CHECK: v_mul_lo_u16_e64 v5, v1, -1             ; encoding: [0x05,0x00,0x29,0xd1,0x01,0x83,0x01,0x00]
0x05,0x00,0x29,0xd1,0x01,0x83,0x01,0x00

# CHECK: v_mul_lo_u16_e64 v5, v1, 0x3800         ; encoding: [0x05,0x00,0x29,0xd1,0x01,0xff,0x01,0x00]
0x05,0x00,0x29,0xd1,0x01,0xe1,0x01,0x00

# CHECK: v_mul_lo_u16_e64 v5, v1, 0xc400         ; encoding: [0x05,0x00,0x29,0xd1,0x01,0xff,0x01,0x00]
0x05,0x00,0x29,0xd1,0x01,0xef,0x01,0x00

# CHECK: v_lshlrev_b16_e64 v5, v1, v2            ; encoding: [0x05,0x00,0x2a,0xd1,0x01,0x05,0x02,0x00]
0x05,0x00,0x2a,0xd1,0x01,0x05,0x02,0x00

# CHECK: v_lshlrev_b16_e64 v255, v1, v2          ; encoding: [0xff,0x00,0x2a,0xd1,0x01,0x05,0x02,0x00]
0xff,0x00,0x2a,0xd1,0x01,0x05,0x02,0x00

# CHECK: v_lshlrev_b16_e64 v5, v255, v2          ; encoding: [0x05,0x00,0x2a,0xd1,0xff,0x05,0x02,0x00]
0x05,0x00,0x2a,0xd1,0xff,0x05,0x02,0x00

# CHECK: v_lshlrev_b16_e64 v5, s1, v2            ; encoding: [0x05,0x00,0x2a,0xd1,0x01,0x04,0x02,0x00]
0x05,0x00,0x2a,0xd1,0x01,0x04,0x02,0x00

# CHECK: v_lshlrev_b16_e64 v5, s101, v2          ; encoding: [0x05,0x00,0x2a,0xd1,0x65,0x04,0x02,0x00]
0x05,0x00,0x2a,0xd1,0x65,0x04,0x02,0x00

# CHECK: v_lshlrev_b16_e64 v5, flat_scratch_lo, v2 ; encoding: [0x05,0x00,0x2a,0xd1,0x66,0x04,0x02,0x00]
0x05,0x00,0x2a,0xd1,0x66,0x04,0x02,0x00

# CHECK: v_lshlrev_b16_e64 v5, flat_scratch_hi, v2 ; encoding: [0x05,0x00,0x2a,0xd1,0x67,0x04,0x02,0x00]
0x05,0x00,0x2a,0xd1,0x67,0x04,0x02,0x00

# CHECK: v_lshlrev_b16_e64 v5, vcc_lo, v2        ; encoding: [0x05,0x00,0x2a,0xd1,0x6a,0x04,0x02,0x00]
0x05,0x00,0x2a,0xd1,0x6a,0x04,0x02,0x00

# CHECK: v_lshlrev_b16_e64 v5, vcc_hi, v2        ; encoding: [0x05,0x00,0x2a,0xd1,0x6b,0x04,0x02,0x00]
0x05,0x00,0x2a,0xd1,0x6b,0x04,0x02,0x00

# CHECK: v_lshlrev_b16_e64 v5, tba_lo, v2        ; encoding: [0x05,0x00,0x2a,0xd1,0x6c,0x04,0x02,0x00]
0x05,0x00,0x2a,0xd1,0x6c,0x04,0x02,0x00

# CHECK: v_lshlrev_b16_e64 v5, tba_hi, v2        ; encoding: [0x05,0x00,0x2a,0xd1,0x6d,0x04,0x02,0x00]
0x05,0x00,0x2a,0xd1,0x6d,0x04,0x02,0x00

# CHECK: v_lshlrev_b16_e64 v5, tma_lo, v2        ; encoding: [0x05,0x00,0x2a,0xd1,0x6e,0x04,0x02,0x00]
0x05,0x00,0x2a,0xd1,0x6e,0x04,0x02,0x00

# CHECK: v_lshlrev_b16_e64 v5, tma_hi, v2        ; encoding: [0x05,0x00,0x2a,0xd1,0x6f,0x04,0x02,0x00]
0x05,0x00,0x2a,0xd1,0x6f,0x04,0x02,0x00

# CHECK: v_lshlrev_b16_e64 v5, ttmp11, v2        ; encoding: [0x05,0x00,0x2a,0xd1,0x7b,0x04,0x02,0x00]
0x05,0x00,0x2a,0xd1,0x7b,0x04,0x02,0x00

# CHECK: v_lshlrev_b16_e64 v5, m0, v2            ; encoding: [0x05,0x00,0x2a,0xd1,0x7c,0x04,0x02,0x00]
0x05,0x00,0x2a,0xd1,0x7c,0x04,0x02,0x00

# CHECK: v_lshlrev_b16_e64 v5, exec_lo, v2       ; encoding: [0x05,0x00,0x2a,0xd1,0x7e,0x04,0x02,0x00]
0x05,0x00,0x2a,0xd1,0x7e,0x04,0x02,0x00

# CHECK: v_lshlrev_b16_e64 v5, exec_hi, v2       ; encoding: [0x05,0x00,0x2a,0xd1,0x7f,0x04,0x02,0x00]
0x05,0x00,0x2a,0xd1,0x7f,0x04,0x02,0x00

# CHECK: v_lshlrev_b16_e64 v5, 0, v2             ; encoding: [0x05,0x00,0x2a,0xd1,0x80,0x04,0x02,0x00]
0x05,0x00,0x2a,0xd1,0x80,0x04,0x02,0x00

# CHECK: v_lshlrev_b16_e64 v5, -1, v2            ; encoding: [0x05,0x00,0x2a,0xd1,0xc1,0x04,0x02,0x00]
0x05,0x00,0x2a,0xd1,0xc1,0x04,0x02,0x00

# CHECK: v_lshlrev_b16_e64 v5, 0x3800, v2        ; encoding: [0x05,0x00,0x2a,0xd1,0xff,0x04,0x02,0x00]
0x05,0x00,0x2a,0xd1,0xf0,0x04,0x02,0x00

# CHECK: v_lshlrev_b16_e64 v5, 0xc400, v2        ; encoding: [0x05,0x00,0x2a,0xd1,0xff,0x04,0x02,0x00]
0x05,0x00,0x2a,0xd1,0xf7,0x04,0x02,0x00

# CHECK: v_lshlrev_b16_e64 v5, v1, v255          ; encoding: [0x05,0x00,0x2a,0xd1,0x01,0xff,0x03,0x00]
0x05,0x00,0x2a,0xd1,0x01,0xff,0x03,0x00

# CHECK: v_lshlrev_b16_e64 v5, v1, s2            ; encoding: [0x05,0x00,0x2a,0xd1,0x01,0x05,0x00,0x00]
0x05,0x00,0x2a,0xd1,0x01,0x05,0x00,0x00

# CHECK: v_lshlrev_b16_e64 v5, v1, s101          ; encoding: [0x05,0x00,0x2a,0xd1,0x01,0xcb,0x00,0x00]
0x05,0x00,0x2a,0xd1,0x01,0xcb,0x00,0x00

# CHECK: v_lshlrev_b16_e64 v5, v1, flat_scratch_lo ; encoding: [0x05,0x00,0x2a,0xd1,0x01,0xcd,0x00,0x00]
0x05,0x00,0x2a,0xd1,0x01,0xcd,0x00,0x00

# CHECK: v_lshlrev_b16_e64 v5, v1, flat_scratch_hi ; encoding: [0x05,0x00,0x2a,0xd1,0x01,0xcf,0x00,0x00]
0x05,0x00,0x2a,0xd1,0x01,0xcf,0x00,0x00

# CHECK: v_lshlrev_b16_e64 v5, v1, vcc_lo        ; encoding: [0x05,0x00,0x2a,0xd1,0x01,0xd5,0x00,0x00]
0x05,0x00,0x2a,0xd1,0x01,0xd5,0x00,0x00

# CHECK: v_lshlrev_b16_e64 v5, v1, vcc_hi        ; encoding: [0x05,0x00,0x2a,0xd1,0x01,0xd7,0x00,0x00]
0x05,0x00,0x2a,0xd1,0x01,0xd7,0x00,0x00

# CHECK: v_lshlrev_b16_e64 v5, v1, tba_lo        ; encoding: [0x05,0x00,0x2a,0xd1,0x01,0xd9,0x00,0x00]
0x05,0x00,0x2a,0xd1,0x01,0xd9,0x00,0x00

# CHECK: v_lshlrev_b16_e64 v5, v1, tba_hi        ; encoding: [0x05,0x00,0x2a,0xd1,0x01,0xdb,0x00,0x00]
0x05,0x00,0x2a,0xd1,0x01,0xdb,0x00,0x00

# CHECK: v_lshlrev_b16_e64 v5, v1, tma_lo        ; encoding: [0x05,0x00,0x2a,0xd1,0x01,0xdd,0x00,0x00]
0x05,0x00,0x2a,0xd1,0x01,0xdd,0x00,0x00

# CHECK: v_lshlrev_b16_e64 v5, v1, tma_hi        ; encoding: [0x05,0x00,0x2a,0xd1,0x01,0xdf,0x00,0x00]
0x05,0x00,0x2a,0xd1,0x01,0xdf,0x00,0x00

# CHECK: v_lshlrev_b16_e64 v5, v1, ttmp11        ; encoding: [0x05,0x00,0x2a,0xd1,0x01,0xf7,0x00,0x00]
0x05,0x00,0x2a,0xd1,0x01,0xf7,0x00,0x00

# CHECK: v_lshlrev_b16_e64 v5, v1, m0            ; encoding: [0x05,0x00,0x2a,0xd1,0x01,0xf9,0x00,0x00]
0x05,0x00,0x2a,0xd1,0x01,0xf9,0x00,0x00

# CHECK: v_lshlrev_b16_e64 v5, v1, exec_lo       ; encoding: [0x05,0x00,0x2a,0xd1,0x01,0xfd,0x00,0x00]
0x05,0x00,0x2a,0xd1,0x01,0xfd,0x00,0x00

# CHECK: v_lshlrev_b16_e64 v5, v1, exec_hi       ; encoding: [0x05,0x00,0x2a,0xd1,0x01,0xff,0x00,0x00]
0x05,0x00,0x2a,0xd1,0x01,0xff,0x00,0x00

# CHECK: v_lshlrev_b16_e64 v5, v1, 0             ; encoding: [0x05,0x00,0x2a,0xd1,0x01,0x01,0x01,0x00]
0x05,0x00,0x2a,0xd1,0x01,0x01,0x01,0x00

# CHECK: v_lshlrev_b16_e64 v5, v1, -1            ; encoding: [0x05,0x00,0x2a,0xd1,0x01,0x83,0x01,0x00]
0x05,0x00,0x2a,0xd1,0x01,0x83,0x01,0x00

# CHECK: v_lshlrev_b16_e64 v5, v1, 0x3800        ; encoding: [0x05,0x00,0x2a,0xd1,0x01,0xff,0x01,0x00]
0x05,0x00,0x2a,0xd1,0x01,0xe1,0x01,0x00

# CHECK: v_lshlrev_b16_e64 v5, v1, 0xc400        ; encoding: [0x05,0x00,0x2a,0xd1,0x01,0xff,0x01,0x00]
0x05,0x00,0x2a,0xd1,0x01,0xef,0x01,0x00

# CHECK: v_lshrrev_b16_e64 v5, v1, v2            ; encoding: [0x05,0x00,0x2b,0xd1,0x01,0x05,0x02,0x00]
0x05,0x00,0x2b,0xd1,0x01,0x05,0x02,0x00

# CHECK: v_lshrrev_b16_e64 v255, v1, v2          ; encoding: [0xff,0x00,0x2b,0xd1,0x01,0x05,0x02,0x00]
0xff,0x00,0x2b,0xd1,0x01,0x05,0x02,0x00

# CHECK: v_lshrrev_b16_e64 v5, v255, v2          ; encoding: [0x05,0x00,0x2b,0xd1,0xff,0x05,0x02,0x00]
0x05,0x00,0x2b,0xd1,0xff,0x05,0x02,0x00

# CHECK: v_lshrrev_b16_e64 v5, s1, v2            ; encoding: [0x05,0x00,0x2b,0xd1,0x01,0x04,0x02,0x00]
0x05,0x00,0x2b,0xd1,0x01,0x04,0x02,0x00

# CHECK: v_lshrrev_b16_e64 v5, s101, v2          ; encoding: [0x05,0x00,0x2b,0xd1,0x65,0x04,0x02,0x00]
0x05,0x00,0x2b,0xd1,0x65,0x04,0x02,0x00

# CHECK: v_lshrrev_b16_e64 v5, flat_scratch_lo, v2 ; encoding: [0x05,0x00,0x2b,0xd1,0x66,0x04,0x02,0x00]
0x05,0x00,0x2b,0xd1,0x66,0x04,0x02,0x00

# CHECK: v_lshrrev_b16_e64 v5, flat_scratch_hi, v2 ; encoding: [0x05,0x00,0x2b,0xd1,0x67,0x04,0x02,0x00]
0x05,0x00,0x2b,0xd1,0x67,0x04,0x02,0x00

# CHECK: v_lshrrev_b16_e64 v5, vcc_lo, v2        ; encoding: [0x05,0x00,0x2b,0xd1,0x6a,0x04,0x02,0x00]
0x05,0x00,0x2b,0xd1,0x6a,0x04,0x02,0x00

# CHECK: v_lshrrev_b16_e64 v5, vcc_hi, v2        ; encoding: [0x05,0x00,0x2b,0xd1,0x6b,0x04,0x02,0x00]
0x05,0x00,0x2b,0xd1,0x6b,0x04,0x02,0x00

# CHECK: v_lshrrev_b16_e64 v5, tba_lo, v2        ; encoding: [0x05,0x00,0x2b,0xd1,0x6c,0x04,0x02,0x00]
0x05,0x00,0x2b,0xd1,0x6c,0x04,0x02,0x00

# CHECK: v_lshrrev_b16_e64 v5, tba_hi, v2        ; encoding: [0x05,0x00,0x2b,0xd1,0x6d,0x04,0x02,0x00]
0x05,0x00,0x2b,0xd1,0x6d,0x04,0x02,0x00

# CHECK: v_lshrrev_b16_e64 v5, tma_lo, v2        ; encoding: [0x05,0x00,0x2b,0xd1,0x6e,0x04,0x02,0x00]
0x05,0x00,0x2b,0xd1,0x6e,0x04,0x02,0x00

# CHECK: v_lshrrev_b16_e64 v5, tma_hi, v2        ; encoding: [0x05,0x00,0x2b,0xd1,0x6f,0x04,0x02,0x00]
0x05,0x00,0x2b,0xd1,0x6f,0x04,0x02,0x00

# CHECK: v_lshrrev_b16_e64 v5, ttmp11, v2        ; encoding: [0x05,0x00,0x2b,0xd1,0x7b,0x04,0x02,0x00]
0x05,0x00,0x2b,0xd1,0x7b,0x04,0x02,0x00

# CHECK: v_lshrrev_b16_e64 v5, m0, v2            ; encoding: [0x05,0x00,0x2b,0xd1,0x7c,0x04,0x02,0x00]
0x05,0x00,0x2b,0xd1,0x7c,0x04,0x02,0x00

# CHECK: v_lshrrev_b16_e64 v5, exec_lo, v2       ; encoding: [0x05,0x00,0x2b,0xd1,0x7e,0x04,0x02,0x00]
0x05,0x00,0x2b,0xd1,0x7e,0x04,0x02,0x00

# CHECK: v_lshrrev_b16_e64 v5, exec_hi, v2       ; encoding: [0x05,0x00,0x2b,0xd1,0x7f,0x04,0x02,0x00]
0x05,0x00,0x2b,0xd1,0x7f,0x04,0x02,0x00

# CHECK: v_lshrrev_b16_e64 v5, 0, v2             ; encoding: [0x05,0x00,0x2b,0xd1,0x80,0x04,0x02,0x00]
0x05,0x00,0x2b,0xd1,0x80,0x04,0x02,0x00

# CHECK: v_lshrrev_b16_e64 v5, -1, v2            ; encoding: [0x05,0x00,0x2b,0xd1,0xc1,0x04,0x02,0x00]
0x05,0x00,0x2b,0xd1,0xc1,0x04,0x02,0x00

# CHECK: v_lshrrev_b16_e64 v5, 0x3800, v2        ; encoding: [0x05,0x00,0x2b,0xd1,0xff,0x04,0x02,0x00]
0x05,0x00,0x2b,0xd1,0xf0,0x04,0x02,0x00

# CHECK: v_lshrrev_b16_e64 v5, 0xc400, v2        ; encoding: [0x05,0x00,0x2b,0xd1,0xff,0x04,0x02,0x00]
0x05,0x00,0x2b,0xd1,0xf7,0x04,0x02,0x00

# CHECK: v_lshrrev_b16_e64 v5, v1, v255          ; encoding: [0x05,0x00,0x2b,0xd1,0x01,0xff,0x03,0x00]
0x05,0x00,0x2b,0xd1,0x01,0xff,0x03,0x00

# CHECK: v_lshrrev_b16_e64 v5, v1, s2            ; encoding: [0x05,0x00,0x2b,0xd1,0x01,0x05,0x00,0x00]
0x05,0x00,0x2b,0xd1,0x01,0x05,0x00,0x00

# CHECK: v_lshrrev_b16_e64 v5, v1, s101          ; encoding: [0x05,0x00,0x2b,0xd1,0x01,0xcb,0x00,0x00]
0x05,0x00,0x2b,0xd1,0x01,0xcb,0x00,0x00

# CHECK: v_lshrrev_b16_e64 v5, v1, flat_scratch_lo ; encoding: [0x05,0x00,0x2b,0xd1,0x01,0xcd,0x00,0x00]
0x05,0x00,0x2b,0xd1,0x01,0xcd,0x00,0x00

# CHECK: v_lshrrev_b16_e64 v5, v1, flat_scratch_hi ; encoding: [0x05,0x00,0x2b,0xd1,0x01,0xcf,0x00,0x00]
0x05,0x00,0x2b,0xd1,0x01,0xcf,0x00,0x00

# CHECK: v_lshrrev_b16_e64 v5, v1, vcc_lo        ; encoding: [0x05,0x00,0x2b,0xd1,0x01,0xd5,0x00,0x00]
0x05,0x00,0x2b,0xd1,0x01,0xd5,0x00,0x00

# CHECK: v_lshrrev_b16_e64 v5, v1, vcc_hi        ; encoding: [0x05,0x00,0x2b,0xd1,0x01,0xd7,0x00,0x00]
0x05,0x00,0x2b,0xd1,0x01,0xd7,0x00,0x00

# CHECK: v_lshrrev_b16_e64 v5, v1, tba_lo        ; encoding: [0x05,0x00,0x2b,0xd1,0x01,0xd9,0x00,0x00]
0x05,0x00,0x2b,0xd1,0x01,0xd9,0x00,0x00

# CHECK: v_lshrrev_b16_e64 v5, v1, tba_hi        ; encoding: [0x05,0x00,0x2b,0xd1,0x01,0xdb,0x00,0x00]
0x05,0x00,0x2b,0xd1,0x01,0xdb,0x00,0x00

# CHECK: v_lshrrev_b16_e64 v5, v1, tma_lo        ; encoding: [0x05,0x00,0x2b,0xd1,0x01,0xdd,0x00,0x00]
0x05,0x00,0x2b,0xd1,0x01,0xdd,0x00,0x00

# CHECK: v_lshrrev_b16_e64 v5, v1, tma_hi        ; encoding: [0x05,0x00,0x2b,0xd1,0x01,0xdf,0x00,0x00]
0x05,0x00,0x2b,0xd1,0x01,0xdf,0x00,0x00

# CHECK: v_lshrrev_b16_e64 v5, v1, ttmp11        ; encoding: [0x05,0x00,0x2b,0xd1,0x01,0xf7,0x00,0x00]
0x05,0x00,0x2b,0xd1,0x01,0xf7,0x00,0x00

# CHECK: v_lshrrev_b16_e64 v5, v1, m0            ; encoding: [0x05,0x00,0x2b,0xd1,0x01,0xf9,0x00,0x00]
0x05,0x00,0x2b,0xd1,0x01,0xf9,0x00,0x00

# CHECK: v_lshrrev_b16_e64 v5, v1, exec_lo       ; encoding: [0x05,0x00,0x2b,0xd1,0x01,0xfd,0x00,0x00]
0x05,0x00,0x2b,0xd1,0x01,0xfd,0x00,0x00

# CHECK: v_lshrrev_b16_e64 v5, v1, exec_hi       ; encoding: [0x05,0x00,0x2b,0xd1,0x01,0xff,0x00,0x00]
0x05,0x00,0x2b,0xd1,0x01,0xff,0x00,0x00

# CHECK: v_lshrrev_b16_e64 v5, v1, 0             ; encoding: [0x05,0x00,0x2b,0xd1,0x01,0x01,0x01,0x00]
0x05,0x00,0x2b,0xd1,0x01,0x01,0x01,0x00

# CHECK: v_lshrrev_b16_e64 v5, v1, -1            ; encoding: [0x05,0x00,0x2b,0xd1,0x01,0x83,0x01,0x00]
0x05,0x00,0x2b,0xd1,0x01,0x83,0x01,0x00

# CHECK: v_lshrrev_b16_e64 v5, v1, 0x3800        ; encoding: [0x05,0x00,0x2b,0xd1,0x01,0xff,0x01,0x00]
0x05,0x00,0x2b,0xd1,0x01,0xe1,0x01,0x00

# CHECK: v_lshrrev_b16_e64 v5, v1, 0xc400        ; encoding: [0x05,0x00,0x2b,0xd1,0x01,0xff,0x01,0x00]
0x05,0x00,0x2b,0xd1,0x01,0xef,0x01,0x00

# CHECK: v_ashrrev_i16_e64 v5, v1, v2            ; encoding: [0x05,0x00,0x2c,0xd1,0x01,0x05,0x02,0x00]
0x05,0x00,0x2c,0xd1,0x01,0x05,0x02,0x00

# CHECK: v_ashrrev_i16_e64 v255, v1, v2          ; encoding: [0xff,0x00,0x2c,0xd1,0x01,0x05,0x02,0x00]
0xff,0x00,0x2c,0xd1,0x01,0x05,0x02,0x00

# CHECK: v_ashrrev_i16_e64 v5, v255, v2          ; encoding: [0x05,0x00,0x2c,0xd1,0xff,0x05,0x02,0x00]
0x05,0x00,0x2c,0xd1,0xff,0x05,0x02,0x00

# CHECK: v_ashrrev_i16_e64 v5, s1, v2            ; encoding: [0x05,0x00,0x2c,0xd1,0x01,0x04,0x02,0x00]
0x05,0x00,0x2c,0xd1,0x01,0x04,0x02,0x00

# CHECK: v_ashrrev_i16_e64 v5, s101, v2          ; encoding: [0x05,0x00,0x2c,0xd1,0x65,0x04,0x02,0x00]
0x05,0x00,0x2c,0xd1,0x65,0x04,0x02,0x00

# CHECK: v_ashrrev_i16_e64 v5, flat_scratch_lo, v2 ; encoding: [0x05,0x00,0x2c,0xd1,0x66,0x04,0x02,0x00]
0x05,0x00,0x2c,0xd1,0x66,0x04,0x02,0x00

# CHECK: v_ashrrev_i16_e64 v5, flat_scratch_hi, v2 ; encoding: [0x05,0x00,0x2c,0xd1,0x67,0x04,0x02,0x00]
0x05,0x00,0x2c,0xd1,0x67,0x04,0x02,0x00

# CHECK: v_ashrrev_i16_e64 v5, vcc_lo, v2        ; encoding: [0x05,0x00,0x2c,0xd1,0x6a,0x04,0x02,0x00]
0x05,0x00,0x2c,0xd1,0x6a,0x04,0x02,0x00

# CHECK: v_ashrrev_i16_e64 v5, vcc_hi, v2        ; encoding: [0x05,0x00,0x2c,0xd1,0x6b,0x04,0x02,0x00]
0x05,0x00,0x2c,0xd1,0x6b,0x04,0x02,0x00

# CHECK: v_ashrrev_i16_e64 v5, tba_lo, v2        ; encoding: [0x05,0x00,0x2c,0xd1,0x6c,0x04,0x02,0x00]
0x05,0x00,0x2c,0xd1,0x6c,0x04,0x02,0x00

# CHECK: v_ashrrev_i16_e64 v5, tba_hi, v2        ; encoding: [0x05,0x00,0x2c,0xd1,0x6d,0x04,0x02,0x00]
0x05,0x00,0x2c,0xd1,0x6d,0x04,0x02,0x00

# CHECK: v_ashrrev_i16_e64 v5, tma_lo, v2        ; encoding: [0x05,0x00,0x2c,0xd1,0x6e,0x04,0x02,0x00]
0x05,0x00,0x2c,0xd1,0x6e,0x04,0x02,0x00

# CHECK: v_ashrrev_i16_e64 v5, tma_hi, v2        ; encoding: [0x05,0x00,0x2c,0xd1,0x6f,0x04,0x02,0x00]
0x05,0x00,0x2c,0xd1,0x6f,0x04,0x02,0x00

# CHECK: v_ashrrev_i16_e64 v5, ttmp11, v2        ; encoding: [0x05,0x00,0x2c,0xd1,0x7b,0x04,0x02,0x00]
0x05,0x00,0x2c,0xd1,0x7b,0x04,0x02,0x00

# CHECK: v_ashrrev_i16_e64 v5, m0, v2            ; encoding: [0x05,0x00,0x2c,0xd1,0x7c,0x04,0x02,0x00]
0x05,0x00,0x2c,0xd1,0x7c,0x04,0x02,0x00

# CHECK: v_ashrrev_i16_e64 v5, exec_lo, v2       ; encoding: [0x05,0x00,0x2c,0xd1,0x7e,0x04,0x02,0x00]
0x05,0x00,0x2c,0xd1,0x7e,0x04,0x02,0x00

# CHECK: v_ashrrev_i16_e64 v5, exec_hi, v2       ; encoding: [0x05,0x00,0x2c,0xd1,0x7f,0x04,0x02,0x00]
0x05,0x00,0x2c,0xd1,0x7f,0x04,0x02,0x00

# CHECK: v_ashrrev_i16_e64 v5, 0, v2             ; encoding: [0x05,0x00,0x2c,0xd1,0x80,0x04,0x02,0x00]
0x05,0x00,0x2c,0xd1,0x80,0x04,0x02,0x00

# CHECK: v_ashrrev_i16_e64 v5, -1, v2            ; encoding: [0x05,0x00,0x2c,0xd1,0xc1,0x04,0x02,0x00]
0x05,0x00,0x2c,0xd1,0xc1,0x04,0x02,0x00

# CHECK: v_ashrrev_i16_e64 v5, 0x3800, v2        ; encoding: [0x05,0x00,0x2c,0xd1,0xff,0x04,0x02,0x00]
0x05,0x00,0x2c,0xd1,0xf0,0x04,0x02,0x00

# CHECK: v_ashrrev_i16_e64 v5, 0xc400, v2        ; encoding: [0x05,0x00,0x2c,0xd1,0xff,0x04,0x02,0x00]
0x05,0x00,0x2c,0xd1,0xf7,0x04,0x02,0x00

# CHECK: v_ashrrev_i16_e64 v5, v1, v255          ; encoding: [0x05,0x00,0x2c,0xd1,0x01,0xff,0x03,0x00]
0x05,0x00,0x2c,0xd1,0x01,0xff,0x03,0x00

# CHECK: v_ashrrev_i16_e64 v5, v1, s2            ; encoding: [0x05,0x00,0x2c,0xd1,0x01,0x05,0x00,0x00]
0x05,0x00,0x2c,0xd1,0x01,0x05,0x00,0x00

# CHECK: v_ashrrev_i16_e64 v5, v1, s101          ; encoding: [0x05,0x00,0x2c,0xd1,0x01,0xcb,0x00,0x00]
0x05,0x00,0x2c,0xd1,0x01,0xcb,0x00,0x00

# CHECK: v_ashrrev_i16_e64 v5, v1, flat_scratch_lo ; encoding: [0x05,0x00,0x2c,0xd1,0x01,0xcd,0x00,0x00]
0x05,0x00,0x2c,0xd1,0x01,0xcd,0x00,0x00

# CHECK: v_ashrrev_i16_e64 v5, v1, flat_scratch_hi ; encoding: [0x05,0x00,0x2c,0xd1,0x01,0xcf,0x00,0x00]
0x05,0x00,0x2c,0xd1,0x01,0xcf,0x00,0x00

# CHECK: v_ashrrev_i16_e64 v5, v1, vcc_lo        ; encoding: [0x05,0x00,0x2c,0xd1,0x01,0xd5,0x00,0x00]
0x05,0x00,0x2c,0xd1,0x01,0xd5,0x00,0x00

# CHECK: v_ashrrev_i16_e64 v5, v1, vcc_hi        ; encoding: [0x05,0x00,0x2c,0xd1,0x01,0xd7,0x00,0x00]
0x05,0x00,0x2c,0xd1,0x01,0xd7,0x00,0x00

# CHECK: v_ashrrev_i16_e64 v5, v1, tba_lo        ; encoding: [0x05,0x00,0x2c,0xd1,0x01,0xd9,0x00,0x00]
0x05,0x00,0x2c,0xd1,0x01,0xd9,0x00,0x00

# CHECK: v_ashrrev_i16_e64 v5, v1, tba_hi        ; encoding: [0x05,0x00,0x2c,0xd1,0x01,0xdb,0x00,0x00]
0x05,0x00,0x2c,0xd1,0x01,0xdb,0x00,0x00

# CHECK: v_ashrrev_i16_e64 v5, v1, tma_lo        ; encoding: [0x05,0x00,0x2c,0xd1,0x01,0xdd,0x00,0x00]
0x05,0x00,0x2c,0xd1,0x01,0xdd,0x00,0x00

# CHECK: v_ashrrev_i16_e64 v5, v1, tma_hi        ; encoding: [0x05,0x00,0x2c,0xd1,0x01,0xdf,0x00,0x00]
0x05,0x00,0x2c,0xd1,0x01,0xdf,0x00,0x00

# CHECK: v_ashrrev_i16_e64 v5, v1, ttmp11        ; encoding: [0x05,0x00,0x2c,0xd1,0x01,0xf7,0x00,0x00]
0x05,0x00,0x2c,0xd1,0x01,0xf7,0x00,0x00

# CHECK: v_ashrrev_i16_e64 v5, v1, m0            ; encoding: [0x05,0x00,0x2c,0xd1,0x01,0xf9,0x00,0x00]
0x05,0x00,0x2c,0xd1,0x01,0xf9,0x00,0x00

# CHECK: v_ashrrev_i16_e64 v5, v1, exec_lo       ; encoding: [0x05,0x00,0x2c,0xd1,0x01,0xfd,0x00,0x00]
0x05,0x00,0x2c,0xd1,0x01,0xfd,0x00,0x00

# CHECK: v_ashrrev_i16_e64 v5, v1, exec_hi       ; encoding: [0x05,0x00,0x2c,0xd1,0x01,0xff,0x00,0x00]
0x05,0x00,0x2c,0xd1,0x01,0xff,0x00,0x00

# CHECK: v_ashrrev_i16_e64 v5, v1, 0             ; encoding: [0x05,0x00,0x2c,0xd1,0x01,0x01,0x01,0x00]
0x05,0x00,0x2c,0xd1,0x01,0x01,0x01,0x00

# CHECK: v_ashrrev_i16_e64 v5, v1, -1            ; encoding: [0x05,0x00,0x2c,0xd1,0x01,0x83,0x01,0x00]
0x05,0x00,0x2c,0xd1,0x01,0x83,0x01,0x00

# CHECK: v_ashrrev_i16_e64 v5, v1, 0x3800        ; encoding: [0x05,0x00,0x2c,0xd1,0x01,0xff,0x01,0x00]
0x05,0x00,0x2c,0xd1,0x01,0xe1,0x01,0x00

# CHECK: v_ashrrev_i16_e64 v5, v1, 0xc400        ; encoding: [0x05,0x00,0x2c,0xd1,0x01,0xff,0x01,0x00]
0x05,0x00,0x2c,0xd1,0x01,0xef,0x01,0x00

# CHECK: v_max_f16_e64 v5, v1, v2                ; encoding: [0x05,0x00,0x2d,0xd1,0x01,0x05,0x02,0x00]
0x05,0x00,0x2d,0xd1,0x01,0x05,0x02,0x00

# CHECK: v_max_f16_e64 v255, v1, v2              ; encoding: [0xff,0x00,0x2d,0xd1,0x01,0x05,0x02,0x00]
0xff,0x00,0x2d,0xd1,0x01,0x05,0x02,0x00

# CHECK: v_max_f16_e64 v5, v255, v2              ; encoding: [0x05,0x00,0x2d,0xd1,0xff,0x05,0x02,0x00]
0x05,0x00,0x2d,0xd1,0xff,0x05,0x02,0x00

# CHECK: v_max_f16_e64 v5, s1, v2                ; encoding: [0x05,0x00,0x2d,0xd1,0x01,0x04,0x02,0x00]
0x05,0x00,0x2d,0xd1,0x01,0x04,0x02,0x00

# CHECK: v_max_f16_e64 v5, s101, v2              ; encoding: [0x05,0x00,0x2d,0xd1,0x65,0x04,0x02,0x00]
0x05,0x00,0x2d,0xd1,0x65,0x04,0x02,0x00

# CHECK: v_max_f16_e64 v5, flat_scratch_lo, v2   ; encoding: [0x05,0x00,0x2d,0xd1,0x66,0x04,0x02,0x00]
0x05,0x00,0x2d,0xd1,0x66,0x04,0x02,0x00

# CHECK: v_max_f16_e64 v5, flat_scratch_hi, v2   ; encoding: [0x05,0x00,0x2d,0xd1,0x67,0x04,0x02,0x00]
0x05,0x00,0x2d,0xd1,0x67,0x04,0x02,0x00

# CHECK: v_max_f16_e64 v5, vcc_lo, v2            ; encoding: [0x05,0x00,0x2d,0xd1,0x6a,0x04,0x02,0x00]
0x05,0x00,0x2d,0xd1,0x6a,0x04,0x02,0x00

# CHECK: v_max_f16_e64 v5, vcc_hi, v2            ; encoding: [0x05,0x00,0x2d,0xd1,0x6b,0x04,0x02,0x00]
0x05,0x00,0x2d,0xd1,0x6b,0x04,0x02,0x00

# CHECK: v_max_f16_e64 v5, tba_lo, v2            ; encoding: [0x05,0x00,0x2d,0xd1,0x6c,0x04,0x02,0x00]
0x05,0x00,0x2d,0xd1,0x6c,0x04,0x02,0x00

# CHECK: v_max_f16_e64 v5, tba_hi, v2            ; encoding: [0x05,0x00,0x2d,0xd1,0x6d,0x04,0x02,0x00]
0x05,0x00,0x2d,0xd1,0x6d,0x04,0x02,0x00

# CHECK: v_max_f16_e64 v5, tma_lo, v2            ; encoding: [0x05,0x00,0x2d,0xd1,0x6e,0x04,0x02,0x00]
0x05,0x00,0x2d,0xd1,0x6e,0x04,0x02,0x00

# CHECK: v_max_f16_e64 v5, tma_hi, v2            ; encoding: [0x05,0x00,0x2d,0xd1,0x6f,0x04,0x02,0x00]
0x05,0x00,0x2d,0xd1,0x6f,0x04,0x02,0x00

# CHECK: v_max_f16_e64 v5, ttmp11, v2            ; encoding: [0x05,0x00,0x2d,0xd1,0x7b,0x04,0x02,0x00]
0x05,0x00,0x2d,0xd1,0x7b,0x04,0x02,0x00

# CHECK: v_max_f16_e64 v5, m0, v2                ; encoding: [0x05,0x00,0x2d,0xd1,0x7c,0x04,0x02,0x00]
0x05,0x00,0x2d,0xd1,0x7c,0x04,0x02,0x00

# CHECK: v_max_f16_e64 v5, exec_lo, v2           ; encoding: [0x05,0x00,0x2d,0xd1,0x7e,0x04,0x02,0x00]
0x05,0x00,0x2d,0xd1,0x7e,0x04,0x02,0x00

# CHECK: v_max_f16_e64 v5, exec_hi, v2           ; encoding: [0x05,0x00,0x2d,0xd1,0x7f,0x04,0x02,0x00]
0x05,0x00,0x2d,0xd1,0x7f,0x04,0x02,0x00

# CHECK: v_max_f16_e64 v5, 0, v2                 ; encoding: [0x05,0x00,0x2d,0xd1,0x80,0x04,0x02,0x00]
0x05,0x00,0x2d,0xd1,0x80,0x04,0x02,0x00

# CHECK: v_max_f16_e64 v5, -1, v2                ; encoding: [0x05,0x00,0x2d,0xd1,0xc1,0x04,0x02,0x00]
0x05,0x00,0x2d,0xd1,0xc1,0x04,0x02,0x00

# CHECK: v_max_f16_e64 v5, 0.5, v2               ; encoding: [0x05,0x00,0x2d,0xd1,0xf0,0x04,0x02,0x00]
0x05,0x00,0x2d,0xd1,0xf0,0x04,0x02,0x00

# CHECK: v_max_f16_e64 v5, -4.0, v2              ; encoding: [0x05,0x00,0x2d,0xd1,0xf7,0x04,0x02,0x00]
0x05,0x00,0x2d,0xd1,0xf7,0x04,0x02,0x00

# CHECK: v_max_f16_e64 v5, v1, v255              ; encoding: [0x05,0x00,0x2d,0xd1,0x01,0xff,0x03,0x00]
0x05,0x00,0x2d,0xd1,0x01,0xff,0x03,0x00

# CHECK: v_max_f16_e64 v5, v1, s2                ; encoding: [0x05,0x00,0x2d,0xd1,0x01,0x05,0x00,0x00]
0x05,0x00,0x2d,0xd1,0x01,0x05,0x00,0x00

# CHECK: v_max_f16_e64 v5, v1, s101              ; encoding: [0x05,0x00,0x2d,0xd1,0x01,0xcb,0x00,0x00]
0x05,0x00,0x2d,0xd1,0x01,0xcb,0x00,0x00

# CHECK: v_max_f16_e64 v5, v1, flat_scratch_lo   ; encoding: [0x05,0x00,0x2d,0xd1,0x01,0xcd,0x00,0x00]
0x05,0x00,0x2d,0xd1,0x01,0xcd,0x00,0x00

# CHECK: v_max_f16_e64 v5, v1, flat_scratch_hi   ; encoding: [0x05,0x00,0x2d,0xd1,0x01,0xcf,0x00,0x00]
0x05,0x00,0x2d,0xd1,0x01,0xcf,0x00,0x00

# CHECK: v_max_f16_e64 v5, v1, vcc_lo            ; encoding: [0x05,0x00,0x2d,0xd1,0x01,0xd5,0x00,0x00]
0x05,0x00,0x2d,0xd1,0x01,0xd5,0x00,0x00

# CHECK: v_max_f16_e64 v5, v1, vcc_hi            ; encoding: [0x05,0x00,0x2d,0xd1,0x01,0xd7,0x00,0x00]
0x05,0x00,0x2d,0xd1,0x01,0xd7,0x00,0x00

# CHECK: v_max_f16_e64 v5, v1, tba_lo            ; encoding: [0x05,0x00,0x2d,0xd1,0x01,0xd9,0x00,0x00]
0x05,0x00,0x2d,0xd1,0x01,0xd9,0x00,0x00

# CHECK: v_max_f16_e64 v5, v1, tba_hi            ; encoding: [0x05,0x00,0x2d,0xd1,0x01,0xdb,0x00,0x00]
0x05,0x00,0x2d,0xd1,0x01,0xdb,0x00,0x00

# CHECK: v_max_f16_e64 v5, v1, tma_lo            ; encoding: [0x05,0x00,0x2d,0xd1,0x01,0xdd,0x00,0x00]
0x05,0x00,0x2d,0xd1,0x01,0xdd,0x00,0x00

# CHECK: v_max_f16_e64 v5, v1, tma_hi            ; encoding: [0x05,0x00,0x2d,0xd1,0x01,0xdf,0x00,0x00]
0x05,0x00,0x2d,0xd1,0x01,0xdf,0x00,0x00

# CHECK: v_max_f16_e64 v5, v1, ttmp11            ; encoding: [0x05,0x00,0x2d,0xd1,0x01,0xf7,0x00,0x00]
0x05,0x00,0x2d,0xd1,0x01,0xf7,0x00,0x00

# CHECK: v_max_f16_e64 v5, v1, m0                ; encoding: [0x05,0x00,0x2d,0xd1,0x01,0xf9,0x00,0x00]
0x05,0x00,0x2d,0xd1,0x01,0xf9,0x00,0x00

# CHECK: v_max_f16_e64 v5, v1, exec_lo           ; encoding: [0x05,0x00,0x2d,0xd1,0x01,0xfd,0x00,0x00]
0x05,0x00,0x2d,0xd1,0x01,0xfd,0x00,0x00

# CHECK: v_max_f16_e64 v5, v1, exec_hi           ; encoding: [0x05,0x00,0x2d,0xd1,0x01,0xff,0x00,0x00]
0x05,0x00,0x2d,0xd1,0x01,0xff,0x00,0x00

# CHECK: v_max_f16_e64 v5, v1, 0                 ; encoding: [0x05,0x00,0x2d,0xd1,0x01,0x01,0x01,0x00]
0x05,0x00,0x2d,0xd1,0x01,0x01,0x01,0x00

# CHECK: v_max_f16_e64 v5, v1, -1                ; encoding: [0x05,0x00,0x2d,0xd1,0x01,0x83,0x01,0x00]
0x05,0x00,0x2d,0xd1,0x01,0x83,0x01,0x00

# CHECK: v_max_f16_e64 v5, v1, 0.5               ; encoding: [0x05,0x00,0x2d,0xd1,0x01,0xe1,0x01,0x00]
0x05,0x00,0x2d,0xd1,0x01,0xe1,0x01,0x00

# CHECK: v_max_f16_e64 v5, v1, -4.0              ; encoding: [0x05,0x00,0x2d,0xd1,0x01,0xef,0x01,0x00]
0x05,0x00,0x2d,0xd1,0x01,0xef,0x01,0x00

# CHECK: v_max_f16_e64 v5, -v1, v2               ; encoding: [0x05,0x00,0x2d,0xd1,0x01,0x05,0x02,0x20]
0x05,0x00,0x2d,0xd1,0x01,0x05,0x02,0x20

# CHECK: v_max_f16_e64 v5, v1, -v2               ; encoding: [0x05,0x00,0x2d,0xd1,0x01,0x05,0x02,0x40]
0x05,0x00,0x2d,0xd1,0x01,0x05,0x02,0x40

# CHECK: v_max_f16_e64 v5, -v1, -v2              ; encoding: [0x05,0x00,0x2d,0xd1,0x01,0x05,0x02,0x60]
0x05,0x00,0x2d,0xd1,0x01,0x05,0x02,0x60

# CHECK: v_max_f16_e64 v5, |v1|, v2              ; encoding: [0x05,0x01,0x2d,0xd1,0x01,0x05,0x02,0x00]
0x05,0x01,0x2d,0xd1,0x01,0x05,0x02,0x00

# CHECK: v_max_f16_e64 v5, v1, |v2|              ; encoding: [0x05,0x02,0x2d,0xd1,0x01,0x05,0x02,0x00]
0x05,0x02,0x2d,0xd1,0x01,0x05,0x02,0x00

# CHECK: v_max_f16_e64 v5, |v1|, |v2|            ; encoding: [0x05,0x03,0x2d,0xd1,0x01,0x05,0x02,0x00]
0x05,0x03,0x2d,0xd1,0x01,0x05,0x02,0x00

# CHECK: v_max_f16_e64 v5, v1, v2 clamp          ; encoding: [0x05,0x80,0x2d,0xd1,0x01,0x05,0x02,0x00]
0x05,0x80,0x2d,0xd1,0x01,0x05,0x02,0x00

# CHECK: v_min_f16_e64 v5, v1, v2                ; encoding: [0x05,0x00,0x2e,0xd1,0x01,0x05,0x02,0x00]
0x05,0x00,0x2e,0xd1,0x01,0x05,0x02,0x00

# CHECK: v_min_f16_e64 v255, v1, v2              ; encoding: [0xff,0x00,0x2e,0xd1,0x01,0x05,0x02,0x00]
0xff,0x00,0x2e,0xd1,0x01,0x05,0x02,0x00

# CHECK: v_min_f16_e64 v5, v255, v2              ; encoding: [0x05,0x00,0x2e,0xd1,0xff,0x05,0x02,0x00]
0x05,0x00,0x2e,0xd1,0xff,0x05,0x02,0x00

# CHECK: v_min_f16_e64 v5, s1, v2                ; encoding: [0x05,0x00,0x2e,0xd1,0x01,0x04,0x02,0x00]
0x05,0x00,0x2e,0xd1,0x01,0x04,0x02,0x00

# CHECK: v_min_f16_e64 v5, s101, v2              ; encoding: [0x05,0x00,0x2e,0xd1,0x65,0x04,0x02,0x00]
0x05,0x00,0x2e,0xd1,0x65,0x04,0x02,0x00

# CHECK: v_min_f16_e64 v5, flat_scratch_lo, v2   ; encoding: [0x05,0x00,0x2e,0xd1,0x66,0x04,0x02,0x00]
0x05,0x00,0x2e,0xd1,0x66,0x04,0x02,0x00

# CHECK: v_min_f16_e64 v5, flat_scratch_hi, v2   ; encoding: [0x05,0x00,0x2e,0xd1,0x67,0x04,0x02,0x00]
0x05,0x00,0x2e,0xd1,0x67,0x04,0x02,0x00

# CHECK: v_min_f16_e64 v5, vcc_lo, v2            ; encoding: [0x05,0x00,0x2e,0xd1,0x6a,0x04,0x02,0x00]
0x05,0x00,0x2e,0xd1,0x6a,0x04,0x02,0x00

# CHECK: v_min_f16_e64 v5, vcc_hi, v2            ; encoding: [0x05,0x00,0x2e,0xd1,0x6b,0x04,0x02,0x00]
0x05,0x00,0x2e,0xd1,0x6b,0x04,0x02,0x00

# CHECK: v_min_f16_e64 v5, tba_lo, v2            ; encoding: [0x05,0x00,0x2e,0xd1,0x6c,0x04,0x02,0x00]
0x05,0x00,0x2e,0xd1,0x6c,0x04,0x02,0x00

# CHECK: v_min_f16_e64 v5, tba_hi, v2            ; encoding: [0x05,0x00,0x2e,0xd1,0x6d,0x04,0x02,0x00]
0x05,0x00,0x2e,0xd1,0x6d,0x04,0x02,0x00

# CHECK: v_min_f16_e64 v5, tma_lo, v2            ; encoding: [0x05,0x00,0x2e,0xd1,0x6e,0x04,0x02,0x00]
0x05,0x00,0x2e,0xd1,0x6e,0x04,0x02,0x00

# CHECK: v_min_f16_e64 v5, tma_hi, v2            ; encoding: [0x05,0x00,0x2e,0xd1,0x6f,0x04,0x02,0x00]
0x05,0x00,0x2e,0xd1,0x6f,0x04,0x02,0x00

# CHECK: v_min_f16_e64 v5, ttmp11, v2            ; encoding: [0x05,0x00,0x2e,0xd1,0x7b,0x04,0x02,0x00]
0x05,0x00,0x2e,0xd1,0x7b,0x04,0x02,0x00

# CHECK: v_min_f16_e64 v5, m0, v2                ; encoding: [0x05,0x00,0x2e,0xd1,0x7c,0x04,0x02,0x00]
0x05,0x00,0x2e,0xd1,0x7c,0x04,0x02,0x00

# CHECK: v_min_f16_e64 v5, exec_lo, v2           ; encoding: [0x05,0x00,0x2e,0xd1,0x7e,0x04,0x02,0x00]
0x05,0x00,0x2e,0xd1,0x7e,0x04,0x02,0x00

# CHECK: v_min_f16_e64 v5, exec_hi, v2           ; encoding: [0x05,0x00,0x2e,0xd1,0x7f,0x04,0x02,0x00]
0x05,0x00,0x2e,0xd1,0x7f,0x04,0x02,0x00

# CHECK: v_min_f16_e64 v5, 0, v2                 ; encoding: [0x05,0x00,0x2e,0xd1,0x80,0x04,0x02,0x00]
0x05,0x00,0x2e,0xd1,0x80,0x04,0x02,0x00

# CHECK: v_min_f16_e64 v5, -1, v2                ; encoding: [0x05,0x00,0x2e,0xd1,0xc1,0x04,0x02,0x00]
0x05,0x00,0x2e,0xd1,0xc1,0x04,0x02,0x00

# CHECK: v_min_f16_e64 v5, 0.5, v2               ; encoding: [0x05,0x00,0x2e,0xd1,0xf0,0x04,0x02,0x00]
0x05,0x00,0x2e,0xd1,0xf0,0x04,0x02,0x00

# CHECK: v_min_f16_e64 v5, -4.0, v2              ; encoding: [0x05,0x00,0x2e,0xd1,0xf7,0x04,0x02,0x00]
0x05,0x00,0x2e,0xd1,0xf7,0x04,0x02,0x00

# CHECK: v_min_f16_e64 v5, v1, v255              ; encoding: [0x05,0x00,0x2e,0xd1,0x01,0xff,0x03,0x00]
0x05,0x00,0x2e,0xd1,0x01,0xff,0x03,0x00

# CHECK: v_min_f16_e64 v5, v1, s2                ; encoding: [0x05,0x00,0x2e,0xd1,0x01,0x05,0x00,0x00]
0x05,0x00,0x2e,0xd1,0x01,0x05,0x00,0x00

# CHECK: v_min_f16_e64 v5, v1, s101              ; encoding: [0x05,0x00,0x2e,0xd1,0x01,0xcb,0x00,0x00]
0x05,0x00,0x2e,0xd1,0x01,0xcb,0x00,0x00

# CHECK: v_min_f16_e64 v5, v1, flat_scratch_lo   ; encoding: [0x05,0x00,0x2e,0xd1,0x01,0xcd,0x00,0x00]
0x05,0x00,0x2e,0xd1,0x01,0xcd,0x00,0x00

# CHECK: v_min_f16_e64 v5, v1, flat_scratch_hi   ; encoding: [0x05,0x00,0x2e,0xd1,0x01,0xcf,0x00,0x00]
0x05,0x00,0x2e,0xd1,0x01,0xcf,0x00,0x00

# CHECK: v_min_f16_e64 v5, v1, vcc_lo            ; encoding: [0x05,0x00,0x2e,0xd1,0x01,0xd5,0x00,0x00]
0x05,0x00,0x2e,0xd1,0x01,0xd5,0x00,0x00

# CHECK: v_min_f16_e64 v5, v1, vcc_hi            ; encoding: [0x05,0x00,0x2e,0xd1,0x01,0xd7,0x00,0x00]
0x05,0x00,0x2e,0xd1,0x01,0xd7,0x00,0x00

# CHECK: v_min_f16_e64 v5, v1, tba_lo            ; encoding: [0x05,0x00,0x2e,0xd1,0x01,0xd9,0x00,0x00]
0x05,0x00,0x2e,0xd1,0x01,0xd9,0x00,0x00

# CHECK: v_min_f16_e64 v5, v1, tba_hi            ; encoding: [0x05,0x00,0x2e,0xd1,0x01,0xdb,0x00,0x00]
0x05,0x00,0x2e,0xd1,0x01,0xdb,0x00,0x00

# CHECK: v_min_f16_e64 v5, v1, tma_lo            ; encoding: [0x05,0x00,0x2e,0xd1,0x01,0xdd,0x00,0x00]
0x05,0x00,0x2e,0xd1,0x01,0xdd,0x00,0x00

# CHECK: v_min_f16_e64 v5, v1, tma_hi            ; encoding: [0x05,0x00,0x2e,0xd1,0x01,0xdf,0x00,0x00]
0x05,0x00,0x2e,0xd1,0x01,0xdf,0x00,0x00

# CHECK: v_min_f16_e64 v5, v1, ttmp11            ; encoding: [0x05,0x00,0x2e,0xd1,0x01,0xf7,0x00,0x00]
0x05,0x00,0x2e,0xd1,0x01,0xf7,0x00,0x00

# CHECK: v_min_f16_e64 v5, v1, m0                ; encoding: [0x05,0x00,0x2e,0xd1,0x01,0xf9,0x00,0x00]
0x05,0x00,0x2e,0xd1,0x01,0xf9,0x00,0x00

# CHECK: v_min_f16_e64 v5, v1, exec_lo           ; encoding: [0x05,0x00,0x2e,0xd1,0x01,0xfd,0x00,0x00]
0x05,0x00,0x2e,0xd1,0x01,0xfd,0x00,0x00

# CHECK: v_min_f16_e64 v5, v1, exec_hi           ; encoding: [0x05,0x00,0x2e,0xd1,0x01,0xff,0x00,0x00]
0x05,0x00,0x2e,0xd1,0x01,0xff,0x00,0x00

# CHECK: v_min_f16_e64 v5, v1, 0                 ; encoding: [0x05,0x00,0x2e,0xd1,0x01,0x01,0x01,0x00]
0x05,0x00,0x2e,0xd1,0x01,0x01,0x01,0x00

# CHECK: v_min_f16_e64 v5, v1, -1                ; encoding: [0x05,0x00,0x2e,0xd1,0x01,0x83,0x01,0x00]
0x05,0x00,0x2e,0xd1,0x01,0x83,0x01,0x00

# CHECK: v_min_f16_e64 v5, v1, 0.5               ; encoding: [0x05,0x00,0x2e,0xd1,0x01,0xe1,0x01,0x00]
0x05,0x00,0x2e,0xd1,0x01,0xe1,0x01,0x00

# CHECK: v_min_f16_e64 v5, v1, -4.0              ; encoding: [0x05,0x00,0x2e,0xd1,0x01,0xef,0x01,0x00]
0x05,0x00,0x2e,0xd1,0x01,0xef,0x01,0x00

# CHECK: v_min_f16_e64 v5, -v1, v2               ; encoding: [0x05,0x00,0x2e,0xd1,0x01,0x05,0x02,0x20]
0x05,0x00,0x2e,0xd1,0x01,0x05,0x02,0x20

# CHECK: v_min_f16_e64 v5, v1, -v2               ; encoding: [0x05,0x00,0x2e,0xd1,0x01,0x05,0x02,0x40]
0x05,0x00,0x2e,0xd1,0x01,0x05,0x02,0x40

# CHECK: v_min_f16_e64 v5, -v1, -v2              ; encoding: [0x05,0x00,0x2e,0xd1,0x01,0x05,0x02,0x60]
0x05,0x00,0x2e,0xd1,0x01,0x05,0x02,0x60

# CHECK: v_min_f16_e64 v5, |v1|, v2              ; encoding: [0x05,0x01,0x2e,0xd1,0x01,0x05,0x02,0x00]
0x05,0x01,0x2e,0xd1,0x01,0x05,0x02,0x00

# CHECK: v_min_f16_e64 v5, v1, |v2|              ; encoding: [0x05,0x02,0x2e,0xd1,0x01,0x05,0x02,0x00]
0x05,0x02,0x2e,0xd1,0x01,0x05,0x02,0x00

# CHECK: v_min_f16_e64 v5, |v1|, |v2|            ; encoding: [0x05,0x03,0x2e,0xd1,0x01,0x05,0x02,0x00]
0x05,0x03,0x2e,0xd1,0x01,0x05,0x02,0x00

# CHECK: v_min_f16_e64 v5, v1, v2 clamp          ; encoding: [0x05,0x80,0x2e,0xd1,0x01,0x05,0x02,0x00]
0x05,0x80,0x2e,0xd1,0x01,0x05,0x02,0x00

# CHECK: v_max_u16_e64 v5, v1, v2                ; encoding: [0x05,0x00,0x2f,0xd1,0x01,0x05,0x02,0x00]
0x05,0x00,0x2f,0xd1,0x01,0x05,0x02,0x00

# CHECK: v_max_u16_e64 v255, v1, v2              ; encoding: [0xff,0x00,0x2f,0xd1,0x01,0x05,0x02,0x00]
0xff,0x00,0x2f,0xd1,0x01,0x05,0x02,0x00

# CHECK: v_max_u16_e64 v5, v255, v2              ; encoding: [0x05,0x00,0x2f,0xd1,0xff,0x05,0x02,0x00]
0x05,0x00,0x2f,0xd1,0xff,0x05,0x02,0x00

# CHECK: v_max_u16_e64 v5, s1, v2                ; encoding: [0x05,0x00,0x2f,0xd1,0x01,0x04,0x02,0x00]
0x05,0x00,0x2f,0xd1,0x01,0x04,0x02,0x00

# CHECK: v_max_u16_e64 v5, s101, v2              ; encoding: [0x05,0x00,0x2f,0xd1,0x65,0x04,0x02,0x00]
0x05,0x00,0x2f,0xd1,0x65,0x04,0x02,0x00

# CHECK: v_max_u16_e64 v5, flat_scratch_lo, v2   ; encoding: [0x05,0x00,0x2f,0xd1,0x66,0x04,0x02,0x00]
0x05,0x00,0x2f,0xd1,0x66,0x04,0x02,0x00

# CHECK: v_max_u16_e64 v5, flat_scratch_hi, v2   ; encoding: [0x05,0x00,0x2f,0xd1,0x67,0x04,0x02,0x00]
0x05,0x00,0x2f,0xd1,0x67,0x04,0x02,0x00

# CHECK: v_max_u16_e64 v5, vcc_lo, v2            ; encoding: [0x05,0x00,0x2f,0xd1,0x6a,0x04,0x02,0x00]
0x05,0x00,0x2f,0xd1,0x6a,0x04,0x02,0x00

# CHECK: v_max_u16_e64 v5, vcc_hi, v2            ; encoding: [0x05,0x00,0x2f,0xd1,0x6b,0x04,0x02,0x00]
0x05,0x00,0x2f,0xd1,0x6b,0x04,0x02,0x00

# CHECK: v_max_u16_e64 v5, tba_lo, v2            ; encoding: [0x05,0x00,0x2f,0xd1,0x6c,0x04,0x02,0x00]
0x05,0x00,0x2f,0xd1,0x6c,0x04,0x02,0x00

# CHECK: v_max_u16_e64 v5, tba_hi, v2            ; encoding: [0x05,0x00,0x2f,0xd1,0x6d,0x04,0x02,0x00]
0x05,0x00,0x2f,0xd1,0x6d,0x04,0x02,0x00

# CHECK: v_max_u16_e64 v5, tma_lo, v2            ; encoding: [0x05,0x00,0x2f,0xd1,0x6e,0x04,0x02,0x00]
0x05,0x00,0x2f,0xd1,0x6e,0x04,0x02,0x00

# CHECK: v_max_u16_e64 v5, tma_hi, v2            ; encoding: [0x05,0x00,0x2f,0xd1,0x6f,0x04,0x02,0x00]
0x05,0x00,0x2f,0xd1,0x6f,0x04,0x02,0x00

# CHECK: v_max_u16_e64 v5, ttmp11, v2            ; encoding: [0x05,0x00,0x2f,0xd1,0x7b,0x04,0x02,0x00]
0x05,0x00,0x2f,0xd1,0x7b,0x04,0x02,0x00

# CHECK: v_max_u16_e64 v5, m0, v2                ; encoding: [0x05,0x00,0x2f,0xd1,0x7c,0x04,0x02,0x00]
0x05,0x00,0x2f,0xd1,0x7c,0x04,0x02,0x00

# CHECK: v_max_u16_e64 v5, exec_lo, v2           ; encoding: [0x05,0x00,0x2f,0xd1,0x7e,0x04,0x02,0x00]
0x05,0x00,0x2f,0xd1,0x7e,0x04,0x02,0x00

# CHECK: v_max_u16_e64 v5, exec_hi, v2           ; encoding: [0x05,0x00,0x2f,0xd1,0x7f,0x04,0x02,0x00]
0x05,0x00,0x2f,0xd1,0x7f,0x04,0x02,0x00

# CHECK: v_max_u16_e64 v5, 0, v2                 ; encoding: [0x05,0x00,0x2f,0xd1,0x80,0x04,0x02,0x00]
0x05,0x00,0x2f,0xd1,0x80,0x04,0x02,0x00

# CHECK: v_max_u16_e64 v5, -1, v2                ; encoding: [0x05,0x00,0x2f,0xd1,0xc1,0x04,0x02,0x00]
0x05,0x00,0x2f,0xd1,0xc1,0x04,0x02,0x00

# CHECK: v_max_u16_e64 v5, 0x3800, v2            ; encoding: [0x05,0x00,0x2f,0xd1,0xff,0x04,0x02,0x00]
0x05,0x00,0x2f,0xd1,0xf0,0x04,0x02,0x00

# CHECK: v_max_u16_e64 v5, 0xc400, v2            ; encoding: [0x05,0x00,0x2f,0xd1,0xff,0x04,0x02,0x00]
0x05,0x00,0x2f,0xd1,0xf7,0x04,0x02,0x00

# CHECK: v_max_u16_e64 v5, v1, v255              ; encoding: [0x05,0x00,0x2f,0xd1,0x01,0xff,0x03,0x00]
0x05,0x00,0x2f,0xd1,0x01,0xff,0x03,0x00

# CHECK: v_max_u16_e64 v5, v1, s2                ; encoding: [0x05,0x00,0x2f,0xd1,0x01,0x05,0x00,0x00]
0x05,0x00,0x2f,0xd1,0x01,0x05,0x00,0x00

# CHECK: v_max_u16_e64 v5, v1, s101              ; encoding: [0x05,0x00,0x2f,0xd1,0x01,0xcb,0x00,0x00]
0x05,0x00,0x2f,0xd1,0x01,0xcb,0x00,0x00

# CHECK: v_max_u16_e64 v5, v1, flat_scratch_lo   ; encoding: [0x05,0x00,0x2f,0xd1,0x01,0xcd,0x00,0x00]
0x05,0x00,0x2f,0xd1,0x01,0xcd,0x00,0x00

# CHECK: v_max_u16_e64 v5, v1, flat_scratch_hi   ; encoding: [0x05,0x00,0x2f,0xd1,0x01,0xcf,0x00,0x00]
0x05,0x00,0x2f,0xd1,0x01,0xcf,0x00,0x00

# CHECK: v_max_u16_e64 v5, v1, vcc_lo            ; encoding: [0x05,0x00,0x2f,0xd1,0x01,0xd5,0x00,0x00]
0x05,0x00,0x2f,0xd1,0x01,0xd5,0x00,0x00

# CHECK: v_max_u16_e64 v5, v1, vcc_hi            ; encoding: [0x05,0x00,0x2f,0xd1,0x01,0xd7,0x00,0x00]
0x05,0x00,0x2f,0xd1,0x01,0xd7,0x00,0x00

# CHECK: v_max_u16_e64 v5, v1, tba_lo            ; encoding: [0x05,0x00,0x2f,0xd1,0x01,0xd9,0x00,0x00]
0x05,0x00,0x2f,0xd1,0x01,0xd9,0x00,0x00

# CHECK: v_max_u16_e64 v5, v1, tba_hi            ; encoding: [0x05,0x00,0x2f,0xd1,0x01,0xdb,0x00,0x00]
0x05,0x00,0x2f,0xd1,0x01,0xdb,0x00,0x00

# CHECK: v_max_u16_e64 v5, v1, tma_lo            ; encoding: [0x05,0x00,0x2f,0xd1,0x01,0xdd,0x00,0x00]
0x05,0x00,0x2f,0xd1,0x01,0xdd,0x00,0x00

# CHECK: v_max_u16_e64 v5, v1, tma_hi            ; encoding: [0x05,0x00,0x2f,0xd1,0x01,0xdf,0x00,0x00]
0x05,0x00,0x2f,0xd1,0x01,0xdf,0x00,0x00

# CHECK: v_max_u16_e64 v5, v1, ttmp11            ; encoding: [0x05,0x00,0x2f,0xd1,0x01,0xf7,0x00,0x00]
0x05,0x00,0x2f,0xd1,0x01,0xf7,0x00,0x00

# CHECK: v_max_u16_e64 v5, v1, m0                ; encoding: [0x05,0x00,0x2f,0xd1,0x01,0xf9,0x00,0x00]
0x05,0x00,0x2f,0xd1,0x01,0xf9,0x00,0x00

# CHECK: v_max_u16_e64 v5, v1, exec_lo           ; encoding: [0x05,0x00,0x2f,0xd1,0x01,0xfd,0x00,0x00]
0x05,0x00,0x2f,0xd1,0x01,0xfd,0x00,0x00

# CHECK: v_max_u16_e64 v5, v1, exec_hi           ; encoding: [0x05,0x00,0x2f,0xd1,0x01,0xff,0x00,0x00]
0x05,0x00,0x2f,0xd1,0x01,0xff,0x00,0x00

# CHECK: v_max_u16_e64 v5, v1, 0                 ; encoding: [0x05,0x00,0x2f,0xd1,0x01,0x01,0x01,0x00]
0x05,0x00,0x2f,0xd1,0x01,0x01,0x01,0x00

# CHECK: v_max_u16_e64 v5, v1, -1                ; encoding: [0x05,0x00,0x2f,0xd1,0x01,0x83,0x01,0x00]
0x05,0x00,0x2f,0xd1,0x01,0x83,0x01,0x00

# CHECK: v_max_u16_e64 v5, v1, 0x3800            ; encoding: [0x05,0x00,0x2f,0xd1,0x01,0xff,0x01,0x00]
0x05,0x00,0x2f,0xd1,0x01,0xe1,0x01,0x00

# CHECK: v_max_u16_e64 v5, v1, 0xc400            ; encoding: [0x05,0x00,0x2f,0xd1,0x01,0xff,0x01,0x00]
0x05,0x00,0x2f,0xd1,0x01,0xef,0x01,0x00

# CHECK: v_max_i16_e64 v5, v1, v2                ; encoding: [0x05,0x00,0x30,0xd1,0x01,0x05,0x02,0x00]
0x05,0x00,0x30,0xd1,0x01,0x05,0x02,0x00

# CHECK: v_max_i16_e64 v255, v1, v2              ; encoding: [0xff,0x00,0x30,0xd1,0x01,0x05,0x02,0x00]
0xff,0x00,0x30,0xd1,0x01,0x05,0x02,0x00

# CHECK: v_max_i16_e64 v5, v255, v2              ; encoding: [0x05,0x00,0x30,0xd1,0xff,0x05,0x02,0x00]
0x05,0x00,0x30,0xd1,0xff,0x05,0x02,0x00

# CHECK: v_max_i16_e64 v5, s1, v2                ; encoding: [0x05,0x00,0x30,0xd1,0x01,0x04,0x02,0x00]
0x05,0x00,0x30,0xd1,0x01,0x04,0x02,0x00

# CHECK: v_max_i16_e64 v5, s101, v2              ; encoding: [0x05,0x00,0x30,0xd1,0x65,0x04,0x02,0x00]
0x05,0x00,0x30,0xd1,0x65,0x04,0x02,0x00

# CHECK: v_max_i16_e64 v5, flat_scratch_lo, v2   ; encoding: [0x05,0x00,0x30,0xd1,0x66,0x04,0x02,0x00]
0x05,0x00,0x30,0xd1,0x66,0x04,0x02,0x00

# CHECK: v_max_i16_e64 v5, flat_scratch_hi, v2   ; encoding: [0x05,0x00,0x30,0xd1,0x67,0x04,0x02,0x00]
0x05,0x00,0x30,0xd1,0x67,0x04,0x02,0x00

# CHECK: v_max_i16_e64 v5, vcc_lo, v2            ; encoding: [0x05,0x00,0x30,0xd1,0x6a,0x04,0x02,0x00]
0x05,0x00,0x30,0xd1,0x6a,0x04,0x02,0x00

# CHECK: v_max_i16_e64 v5, vcc_hi, v2            ; encoding: [0x05,0x00,0x30,0xd1,0x6b,0x04,0x02,0x00]
0x05,0x00,0x30,0xd1,0x6b,0x04,0x02,0x00

# CHECK: v_max_i16_e64 v5, tba_lo, v2            ; encoding: [0x05,0x00,0x30,0xd1,0x6c,0x04,0x02,0x00]
0x05,0x00,0x30,0xd1,0x6c,0x04,0x02,0x00

# CHECK: v_max_i16_e64 v5, tba_hi, v2            ; encoding: [0x05,0x00,0x30,0xd1,0x6d,0x04,0x02,0x00]
0x05,0x00,0x30,0xd1,0x6d,0x04,0x02,0x00

# CHECK: v_max_i16_e64 v5, tma_lo, v2            ; encoding: [0x05,0x00,0x30,0xd1,0x6e,0x04,0x02,0x00]
0x05,0x00,0x30,0xd1,0x6e,0x04,0x02,0x00

# CHECK: v_max_i16_e64 v5, tma_hi, v2            ; encoding: [0x05,0x00,0x30,0xd1,0x6f,0x04,0x02,0x00]
0x05,0x00,0x30,0xd1,0x6f,0x04,0x02,0x00

# CHECK: v_max_i16_e64 v5, ttmp11, v2            ; encoding: [0x05,0x00,0x30,0xd1,0x7b,0x04,0x02,0x00]
0x05,0x00,0x30,0xd1,0x7b,0x04,0x02,0x00

# CHECK: v_max_i16_e64 v5, m0, v2                ; encoding: [0x05,0x00,0x30,0xd1,0x7c,0x04,0x02,0x00]
0x05,0x00,0x30,0xd1,0x7c,0x04,0x02,0x00

# CHECK: v_max_i16_e64 v5, exec_lo, v2           ; encoding: [0x05,0x00,0x30,0xd1,0x7e,0x04,0x02,0x00]
0x05,0x00,0x30,0xd1,0x7e,0x04,0x02,0x00

# CHECK: v_max_i16_e64 v5, exec_hi, v2           ; encoding: [0x05,0x00,0x30,0xd1,0x7f,0x04,0x02,0x00]
0x05,0x00,0x30,0xd1,0x7f,0x04,0x02,0x00

# CHECK: v_max_i16_e64 v5, 0, v2                 ; encoding: [0x05,0x00,0x30,0xd1,0x80,0x04,0x02,0x00]
0x05,0x00,0x30,0xd1,0x80,0x04,0x02,0x00

# CHECK: v_max_i16_e64 v5, -1, v2                ; encoding: [0x05,0x00,0x30,0xd1,0xc1,0x04,0x02,0x00]
0x05,0x00,0x30,0xd1,0xc1,0x04,0x02,0x00

# CHECK: v_max_i16_e64 v5, 0x3800, v2            ; encoding: [0x05,0x00,0x30,0xd1,0xff,0x04,0x02,0x00]
0x05,0x00,0x30,0xd1,0xf0,0x04,0x02,0x00

# CHECK: v_max_i16_e64 v5, 0xc400, v2            ; encoding: [0x05,0x00,0x30,0xd1,0xff,0x04,0x02,0x00]
0x05,0x00,0x30,0xd1,0xf7,0x04,0x02,0x00

# CHECK: v_max_i16_e64 v5, v1, v255              ; encoding: [0x05,0x00,0x30,0xd1,0x01,0xff,0x03,0x00]
0x05,0x00,0x30,0xd1,0x01,0xff,0x03,0x00

# CHECK: v_max_i16_e64 v5, v1, s2                ; encoding: [0x05,0x00,0x30,0xd1,0x01,0x05,0x00,0x00]
0x05,0x00,0x30,0xd1,0x01,0x05,0x00,0x00

# CHECK: v_max_i16_e64 v5, v1, s101              ; encoding: [0x05,0x00,0x30,0xd1,0x01,0xcb,0x00,0x00]
0x05,0x00,0x30,0xd1,0x01,0xcb,0x00,0x00

# CHECK: v_max_i16_e64 v5, v1, flat_scratch_lo   ; encoding: [0x05,0x00,0x30,0xd1,0x01,0xcd,0x00,0x00]
0x05,0x00,0x30,0xd1,0x01,0xcd,0x00,0x00

# CHECK: v_max_i16_e64 v5, v1, flat_scratch_hi   ; encoding: [0x05,0x00,0x30,0xd1,0x01,0xcf,0x00,0x00]
0x05,0x00,0x30,0xd1,0x01,0xcf,0x00,0x00

# CHECK: v_max_i16_e64 v5, v1, vcc_lo            ; encoding: [0x05,0x00,0x30,0xd1,0x01,0xd5,0x00,0x00]
0x05,0x00,0x30,0xd1,0x01,0xd5,0x00,0x00

# CHECK: v_max_i16_e64 v5, v1, vcc_hi            ; encoding: [0x05,0x00,0x30,0xd1,0x01,0xd7,0x00,0x00]
0x05,0x00,0x30,0xd1,0x01,0xd7,0x00,0x00

# CHECK: v_max_i16_e64 v5, v1, tba_lo            ; encoding: [0x05,0x00,0x30,0xd1,0x01,0xd9,0x00,0x00]
0x05,0x00,0x30,0xd1,0x01,0xd9,0x00,0x00

# CHECK: v_max_i16_e64 v5, v1, tba_hi            ; encoding: [0x05,0x00,0x30,0xd1,0x01,0xdb,0x00,0x00]
0x05,0x00,0x30,0xd1,0x01,0xdb,0x00,0x00

# CHECK: v_max_i16_e64 v5, v1, tma_lo            ; encoding: [0x05,0x00,0x30,0xd1,0x01,0xdd,0x00,0x00]
0x05,0x00,0x30,0xd1,0x01,0xdd,0x00,0x00

# CHECK: v_max_i16_e64 v5, v1, tma_hi            ; encoding: [0x05,0x00,0x30,0xd1,0x01,0xdf,0x00,0x00]
0x05,0x00,0x30,0xd1,0x01,0xdf,0x00,0x00

# CHECK: v_max_i16_e64 v5, v1, ttmp11            ; encoding: [0x05,0x00,0x30,0xd1,0x01,0xf7,0x00,0x00]
0x05,0x00,0x30,0xd1,0x01,0xf7,0x00,0x00

# CHECK: v_max_i16_e64 v5, v1, m0                ; encoding: [0x05,0x00,0x30,0xd1,0x01,0xf9,0x00,0x00]
0x05,0x00,0x30,0xd1,0x01,0xf9,0x00,0x00

# CHECK: v_max_i16_e64 v5, v1, exec_lo           ; encoding: [0x05,0x00,0x30,0xd1,0x01,0xfd,0x00,0x00]
0x05,0x00,0x30,0xd1,0x01,0xfd,0x00,0x00

# CHECK: v_max_i16_e64 v5, v1, exec_hi           ; encoding: [0x05,0x00,0x30,0xd1,0x01,0xff,0x00,0x00]
0x05,0x00,0x30,0xd1,0x01,0xff,0x00,0x00

# CHECK: v_max_i16_e64 v5, v1, 0                 ; encoding: [0x05,0x00,0x30,0xd1,0x01,0x01,0x01,0x00]
0x05,0x00,0x30,0xd1,0x01,0x01,0x01,0x00

# CHECK: v_max_i16_e64 v5, v1, -1                ; encoding: [0x05,0x00,0x30,0xd1,0x01,0x83,0x01,0x00]
0x05,0x00,0x30,0xd1,0x01,0x83,0x01,0x00

# CHECK: v_max_i16_e64 v5, v1, 0x3800            ; encoding: [0x05,0x00,0x30,0xd1,0x01,0xff,0x01,0x00]
0x05,0x00,0x30,0xd1,0x01,0xe1,0x01,0x00

# CHECK: v_max_i16_e64 v5, v1, 0xc400            ; encoding: [0x05,0x00,0x30,0xd1,0x01,0xff,0x01,0x00]
0x05,0x00,0x30,0xd1,0x01,0xef,0x01,0x00

# CHECK: v_min_u16_e64 v5, v1, v2                ; encoding: [0x05,0x00,0x31,0xd1,0x01,0x05,0x02,0x00]
0x05,0x00,0x31,0xd1,0x01,0x05,0x02,0x00

# CHECK: v_min_u16_e64 v255, v1, v2              ; encoding: [0xff,0x00,0x31,0xd1,0x01,0x05,0x02,0x00]
0xff,0x00,0x31,0xd1,0x01,0x05,0x02,0x00

# CHECK: v_min_u16_e64 v5, v255, v2              ; encoding: [0x05,0x00,0x31,0xd1,0xff,0x05,0x02,0x00]
0x05,0x00,0x31,0xd1,0xff,0x05,0x02,0x00

# CHECK: v_min_u16_e64 v5, s1, v2                ; encoding: [0x05,0x00,0x31,0xd1,0x01,0x04,0x02,0x00]
0x05,0x00,0x31,0xd1,0x01,0x04,0x02,0x00

# CHECK: v_min_u16_e64 v5, s101, v2              ; encoding: [0x05,0x00,0x31,0xd1,0x65,0x04,0x02,0x00]
0x05,0x00,0x31,0xd1,0x65,0x04,0x02,0x00

# CHECK: v_min_u16_e64 v5, flat_scratch_lo, v2   ; encoding: [0x05,0x00,0x31,0xd1,0x66,0x04,0x02,0x00]
0x05,0x00,0x31,0xd1,0x66,0x04,0x02,0x00

# CHECK: v_min_u16_e64 v5, flat_scratch_hi, v2   ; encoding: [0x05,0x00,0x31,0xd1,0x67,0x04,0x02,0x00]
0x05,0x00,0x31,0xd1,0x67,0x04,0x02,0x00

# CHECK: v_min_u16_e64 v5, vcc_lo, v2            ; encoding: [0x05,0x00,0x31,0xd1,0x6a,0x04,0x02,0x00]
0x05,0x00,0x31,0xd1,0x6a,0x04,0x02,0x00

# CHECK: v_min_u16_e64 v5, vcc_hi, v2            ; encoding: [0x05,0x00,0x31,0xd1,0x6b,0x04,0x02,0x00]
0x05,0x00,0x31,0xd1,0x6b,0x04,0x02,0x00

# CHECK: v_min_u16_e64 v5, tba_lo, v2            ; encoding: [0x05,0x00,0x31,0xd1,0x6c,0x04,0x02,0x00]
0x05,0x00,0x31,0xd1,0x6c,0x04,0x02,0x00

# CHECK: v_min_u16_e64 v5, tba_hi, v2            ; encoding: [0x05,0x00,0x31,0xd1,0x6d,0x04,0x02,0x00]
0x05,0x00,0x31,0xd1,0x6d,0x04,0x02,0x00

# CHECK: v_min_u16_e64 v5, tma_lo, v2            ; encoding: [0x05,0x00,0x31,0xd1,0x6e,0x04,0x02,0x00]
0x05,0x00,0x31,0xd1,0x6e,0x04,0x02,0x00

# CHECK: v_min_u16_e64 v5, tma_hi, v2            ; encoding: [0x05,0x00,0x31,0xd1,0x6f,0x04,0x02,0x00]
0x05,0x00,0x31,0xd1,0x6f,0x04,0x02,0x00

# CHECK: v_min_u16_e64 v5, ttmp11, v2            ; encoding: [0x05,0x00,0x31,0xd1,0x7b,0x04,0x02,0x00]
0x05,0x00,0x31,0xd1,0x7b,0x04,0x02,0x00

# CHECK: v_min_u16_e64 v5, m0, v2                ; encoding: [0x05,0x00,0x31,0xd1,0x7c,0x04,0x02,0x00]
0x05,0x00,0x31,0xd1,0x7c,0x04,0x02,0x00

# CHECK: v_min_u16_e64 v5, exec_lo, v2           ; encoding: [0x05,0x00,0x31,0xd1,0x7e,0x04,0x02,0x00]
0x05,0x00,0x31,0xd1,0x7e,0x04,0x02,0x00

# CHECK: v_min_u16_e64 v5, exec_hi, v2           ; encoding: [0x05,0x00,0x31,0xd1,0x7f,0x04,0x02,0x00]
0x05,0x00,0x31,0xd1,0x7f,0x04,0x02,0x00

# CHECK: v_min_u16_e64 v5, 0, v2                 ; encoding: [0x05,0x00,0x31,0xd1,0x80,0x04,0x02,0x00]
0x05,0x00,0x31,0xd1,0x80,0x04,0x02,0x00

# CHECK: v_min_u16_e64 v5, -1, v2                ; encoding: [0x05,0x00,0x31,0xd1,0xc1,0x04,0x02,0x00]
0x05,0x00,0x31,0xd1,0xc1,0x04,0x02,0x00

# CHECK: v_min_u16_e64 v5, 0x3800, v2            ; encoding: [0x05,0x00,0x31,0xd1,0xff,0x04,0x02,0x00]
0x05,0x00,0x31,0xd1,0xf0,0x04,0x02,0x00

# CHECK: v_min_u16_e64 v5, 0xc400, v2            ; encoding: [0x05,0x00,0x31,0xd1,0xff,0x04,0x02,0x00]
0x05,0x00,0x31,0xd1,0xf7,0x04,0x02,0x00

# CHECK: v_min_u16_e64 v5, v1, v255              ; encoding: [0x05,0x00,0x31,0xd1,0x01,0xff,0x03,0x00]
0x05,0x00,0x31,0xd1,0x01,0xff,0x03,0x00

# CHECK: v_min_u16_e64 v5, v1, s2                ; encoding: [0x05,0x00,0x31,0xd1,0x01,0x05,0x00,0x00]
0x05,0x00,0x31,0xd1,0x01,0x05,0x00,0x00

# CHECK: v_min_u16_e64 v5, v1, s101              ; encoding: [0x05,0x00,0x31,0xd1,0x01,0xcb,0x00,0x00]
0x05,0x00,0x31,0xd1,0x01,0xcb,0x00,0x00

# CHECK: v_min_u16_e64 v5, v1, flat_scratch_lo   ; encoding: [0x05,0x00,0x31,0xd1,0x01,0xcd,0x00,0x00]
0x05,0x00,0x31,0xd1,0x01,0xcd,0x00,0x00

# CHECK: v_min_u16_e64 v5, v1, flat_scratch_hi   ; encoding: [0x05,0x00,0x31,0xd1,0x01,0xcf,0x00,0x00]
0x05,0x00,0x31,0xd1,0x01,0xcf,0x00,0x00

# CHECK: v_min_u16_e64 v5, v1, vcc_lo            ; encoding: [0x05,0x00,0x31,0xd1,0x01,0xd5,0x00,0x00]
0x05,0x00,0x31,0xd1,0x01,0xd5,0x00,0x00

# CHECK: v_min_u16_e64 v5, v1, vcc_hi            ; encoding: [0x05,0x00,0x31,0xd1,0x01,0xd7,0x00,0x00]
0x05,0x00,0x31,0xd1,0x01,0xd7,0x00,0x00

# CHECK: v_min_u16_e64 v5, v1, tba_lo            ; encoding: [0x05,0x00,0x31,0xd1,0x01,0xd9,0x00,0x00]
0x05,0x00,0x31,0xd1,0x01,0xd9,0x00,0x00

# CHECK: v_min_u16_e64 v5, v1, tba_hi            ; encoding: [0x05,0x00,0x31,0xd1,0x01,0xdb,0x00,0x00]
0x05,0x00,0x31,0xd1,0x01,0xdb,0x00,0x00

# CHECK: v_min_u16_e64 v5, v1, tma_lo            ; encoding: [0x05,0x00,0x31,0xd1,0x01,0xdd,0x00,0x00]
0x05,0x00,0x31,0xd1,0x01,0xdd,0x00,0x00

# CHECK: v_min_u16_e64 v5, v1, tma_hi            ; encoding: [0x05,0x00,0x31,0xd1,0x01,0xdf,0x00,0x00]
0x05,0x00,0x31,0xd1,0x01,0xdf,0x00,0x00

# CHECK: v_min_u16_e64 v5, v1, ttmp11            ; encoding: [0x05,0x00,0x31,0xd1,0x01,0xf7,0x00,0x00]
0x05,0x00,0x31,0xd1,0x01,0xf7,0x00,0x00

# CHECK: v_min_u16_e64 v5, v1, m0                ; encoding: [0x05,0x00,0x31,0xd1,0x01,0xf9,0x00,0x00]
0x05,0x00,0x31,0xd1,0x01,0xf9,0x00,0x00

# CHECK: v_min_u16_e64 v5, v1, exec_lo           ; encoding: [0x05,0x00,0x31,0xd1,0x01,0xfd,0x00,0x00]
0x05,0x00,0x31,0xd1,0x01,0xfd,0x00,0x00

# CHECK: v_min_u16_e64 v5, v1, exec_hi           ; encoding: [0x05,0x00,0x31,0xd1,0x01,0xff,0x00,0x00]
0x05,0x00,0x31,0xd1,0x01,0xff,0x00,0x00

# CHECK: v_min_u16_e64 v5, v1, 0                 ; encoding: [0x05,0x00,0x31,0xd1,0x01,0x01,0x01,0x00]
0x05,0x00,0x31,0xd1,0x01,0x01,0x01,0x00

# CHECK: v_min_u16_e64 v5, v1, -1                ; encoding: [0x05,0x00,0x31,0xd1,0x01,0x83,0x01,0x00]
0x05,0x00,0x31,0xd1,0x01,0x83,0x01,0x00

# CHECK: v_min_u16_e64 v5, v1, 0x3800            ; encoding: [0x05,0x00,0x31,0xd1,0x01,0xff,0x01,0x00]
0x05,0x00,0x31,0xd1,0x01,0xe1,0x01,0x00

# CHECK: v_min_u16_e64 v5, v1, 0xc400            ; encoding: [0x05,0x00,0x31,0xd1,0x01,0xff,0x01,0x00]
0x05,0x00,0x31,0xd1,0x01,0xef,0x01,0x00

# CHECK: v_min_i16_e64 v5, v1, v2                ; encoding: [0x05,0x00,0x32,0xd1,0x01,0x05,0x02,0x00]
0x05,0x00,0x32,0xd1,0x01,0x05,0x02,0x00

# CHECK: v_min_i16_e64 v255, v1, v2              ; encoding: [0xff,0x00,0x32,0xd1,0x01,0x05,0x02,0x00]
0xff,0x00,0x32,0xd1,0x01,0x05,0x02,0x00

# CHECK: v_min_i16_e64 v5, v255, v2              ; encoding: [0x05,0x00,0x32,0xd1,0xff,0x05,0x02,0x00]
0x05,0x00,0x32,0xd1,0xff,0x05,0x02,0x00

# CHECK: v_min_i16_e64 v5, s1, v2                ; encoding: [0x05,0x00,0x32,0xd1,0x01,0x04,0x02,0x00]
0x05,0x00,0x32,0xd1,0x01,0x04,0x02,0x00

# CHECK: v_min_i16_e64 v5, s101, v2              ; encoding: [0x05,0x00,0x32,0xd1,0x65,0x04,0x02,0x00]
0x05,0x00,0x32,0xd1,0x65,0x04,0x02,0x00

# CHECK: v_min_i16_e64 v5, flat_scratch_lo, v2   ; encoding: [0x05,0x00,0x32,0xd1,0x66,0x04,0x02,0x00]
0x05,0x00,0x32,0xd1,0x66,0x04,0x02,0x00

# CHECK: v_min_i16_e64 v5, flat_scratch_hi, v2   ; encoding: [0x05,0x00,0x32,0xd1,0x67,0x04,0x02,0x00]
0x05,0x00,0x32,0xd1,0x67,0x04,0x02,0x00

# CHECK: v_min_i16_e64 v5, vcc_lo, v2            ; encoding: [0x05,0x00,0x32,0xd1,0x6a,0x04,0x02,0x00]
0x05,0x00,0x32,0xd1,0x6a,0x04,0x02,0x00

# CHECK: v_min_i16_e64 v5, vcc_hi, v2            ; encoding: [0x05,0x00,0x32,0xd1,0x6b,0x04,0x02,0x00]
0x05,0x00,0x32,0xd1,0x6b,0x04,0x02,0x00

# CHECK: v_min_i16_e64 v5, tba_lo, v2            ; encoding: [0x05,0x00,0x32,0xd1,0x6c,0x04,0x02,0x00]
0x05,0x00,0x32,0xd1,0x6c,0x04,0x02,0x00

# CHECK: v_min_i16_e64 v5, tba_hi, v2            ; encoding: [0x05,0x00,0x32,0xd1,0x6d,0x04,0x02,0x00]
0x05,0x00,0x32,0xd1,0x6d,0x04,0x02,0x00

# CHECK: v_min_i16_e64 v5, tma_lo, v2            ; encoding: [0x05,0x00,0x32,0xd1,0x6e,0x04,0x02,0x00]
0x05,0x00,0x32,0xd1,0x6e,0x04,0x02,0x00

# CHECK: v_min_i16_e64 v5, tma_hi, v2            ; encoding: [0x05,0x00,0x32,0xd1,0x6f,0x04,0x02,0x00]
0x05,0x00,0x32,0xd1,0x6f,0x04,0x02,0x00

# CHECK: v_min_i16_e64 v5, ttmp11, v2            ; encoding: [0x05,0x00,0x32,0xd1,0x7b,0x04,0x02,0x00]
0x05,0x00,0x32,0xd1,0x7b,0x04,0x02,0x00

# CHECK: v_min_i16_e64 v5, m0, v2                ; encoding: [0x05,0x00,0x32,0xd1,0x7c,0x04,0x02,0x00]
0x05,0x00,0x32,0xd1,0x7c,0x04,0x02,0x00

# CHECK: v_min_i16_e64 v5, exec_lo, v2           ; encoding: [0x05,0x00,0x32,0xd1,0x7e,0x04,0x02,0x00]
0x05,0x00,0x32,0xd1,0x7e,0x04,0x02,0x00

# CHECK: v_min_i16_e64 v5, exec_hi, v2           ; encoding: [0x05,0x00,0x32,0xd1,0x7f,0x04,0x02,0x00]
0x05,0x00,0x32,0xd1,0x7f,0x04,0x02,0x00

# CHECK: v_min_i16_e64 v5, 0, v2                 ; encoding: [0x05,0x00,0x32,0xd1,0x80,0x04,0x02,0x00]
0x05,0x00,0x32,0xd1,0x80,0x04,0x02,0x00

# CHECK: v_min_i16_e64 v5, -1, v2                ; encoding: [0x05,0x00,0x32,0xd1,0xc1,0x04,0x02,0x00]
0x05,0x00,0x32,0xd1,0xc1,0x04,0x02,0x00

# CHECK: v_min_i16_e64 v5, 0x3800, v2            ; encoding: [0x05,0x00,0x32,0xd1,0xff,0x04,0x02,0x00]
0x05,0x00,0x32,0xd1,0xf0,0x04,0x02,0x00

# CHECK: v_min_i16_e64 v5, 0xc400, v2            ; encoding: [0x05,0x00,0x32,0xd1,0xff,0x04,0x02,0x00]
0x05,0x00,0x32,0xd1,0xf7,0x04,0x02,0x00

# CHECK: v_min_i16_e64 v5, v1, v255              ; encoding: [0x05,0x00,0x32,0xd1,0x01,0xff,0x03,0x00]
0x05,0x00,0x32,0xd1,0x01,0xff,0x03,0x00

# CHECK: v_min_i16_e64 v5, v1, s2                ; encoding: [0x05,0x00,0x32,0xd1,0x01,0x05,0x00,0x00]
0x05,0x00,0x32,0xd1,0x01,0x05,0x00,0x00

# CHECK: v_min_i16_e64 v5, v1, s101              ; encoding: [0x05,0x00,0x32,0xd1,0x01,0xcb,0x00,0x00]
0x05,0x00,0x32,0xd1,0x01,0xcb,0x00,0x00

# CHECK: v_min_i16_e64 v5, v1, flat_scratch_lo   ; encoding: [0x05,0x00,0x32,0xd1,0x01,0xcd,0x00,0x00]
0x05,0x00,0x32,0xd1,0x01,0xcd,0x00,0x00

# CHECK: v_min_i16_e64 v5, v1, flat_scratch_hi   ; encoding: [0x05,0x00,0x32,0xd1,0x01,0xcf,0x00,0x00]
0x05,0x00,0x32,0xd1,0x01,0xcf,0x00,0x00

# CHECK: v_min_i16_e64 v5, v1, vcc_lo            ; encoding: [0x05,0x00,0x32,0xd1,0x01,0xd5,0x00,0x00]
0x05,0x00,0x32,0xd1,0x01,0xd5,0x00,0x00

# CHECK: v_min_i16_e64 v5, v1, vcc_hi            ; encoding: [0x05,0x00,0x32,0xd1,0x01,0xd7,0x00,0x00]
0x05,0x00,0x32,0xd1,0x01,0xd7,0x00,0x00

# CHECK: v_min_i16_e64 v5, v1, tba_lo            ; encoding: [0x05,0x00,0x32,0xd1,0x01,0xd9,0x00,0x00]
0x05,0x00,0x32,0xd1,0x01,0xd9,0x00,0x00

# CHECK: v_min_i16_e64 v5, v1, tba_hi            ; encoding: [0x05,0x00,0x32,0xd1,0x01,0xdb,0x00,0x00]
0x05,0x00,0x32,0xd1,0x01,0xdb,0x00,0x00

# CHECK: v_min_i16_e64 v5, v1, tma_lo            ; encoding: [0x05,0x00,0x32,0xd1,0x01,0xdd,0x00,0x00]
0x05,0x00,0x32,0xd1,0x01,0xdd,0x00,0x00

# CHECK: v_min_i16_e64 v5, v1, tma_hi            ; encoding: [0x05,0x00,0x32,0xd1,0x01,0xdf,0x00,0x00]
0x05,0x00,0x32,0xd1,0x01,0xdf,0x00,0x00

# CHECK: v_min_i16_e64 v5, v1, ttmp11            ; encoding: [0x05,0x00,0x32,0xd1,0x01,0xf7,0x00,0x00]
0x05,0x00,0x32,0xd1,0x01,0xf7,0x00,0x00

# CHECK: v_min_i16_e64 v5, v1, m0                ; encoding: [0x05,0x00,0x32,0xd1,0x01,0xf9,0x00,0x00]
0x05,0x00,0x32,0xd1,0x01,0xf9,0x00,0x00

# CHECK: v_min_i16_e64 v5, v1, exec_lo           ; encoding: [0x05,0x00,0x32,0xd1,0x01,0xfd,0x00,0x00]
0x05,0x00,0x32,0xd1,0x01,0xfd,0x00,0x00

# CHECK: v_min_i16_e64 v5, v1, exec_hi           ; encoding: [0x05,0x00,0x32,0xd1,0x01,0xff,0x00,0x00]
0x05,0x00,0x32,0xd1,0x01,0xff,0x00,0x00

# CHECK: v_min_i16_e64 v5, v1, 0                 ; encoding: [0x05,0x00,0x32,0xd1,0x01,0x01,0x01,0x00]
0x05,0x00,0x32,0xd1,0x01,0x01,0x01,0x00

# CHECK: v_min_i16_e64 v5, v1, -1                ; encoding: [0x05,0x00,0x32,0xd1,0x01,0x83,0x01,0x00]
0x05,0x00,0x32,0xd1,0x01,0x83,0x01,0x00

# CHECK: v_min_i16_e64 v5, v1, 0x3800            ; encoding: [0x05,0x00,0x32,0xd1,0x01,0xff,0x01,0x00]
0x05,0x00,0x32,0xd1,0x01,0xe1,0x01,0x00

# CHECK: v_min_i16_e64 v5, v1, 0xc400            ; encoding: [0x05,0x00,0x32,0xd1,0x01,0xff,0x01,0x00]
0x05,0x00,0x32,0xd1,0x01,0xef,0x01,0x00

# CHECK: v_ldexp_f16_e64 v5, v1, v2              ; encoding: [0x05,0x00,0x33,0xd1,0x01,0x05,0x02,0x00]
0x05,0x00,0x33,0xd1,0x01,0x05,0x02,0x00

# CHECK: v_ldexp_f16_e64 v255, v1, v2            ; encoding: [0xff,0x00,0x33,0xd1,0x01,0x05,0x02,0x00]
0xff,0x00,0x33,0xd1,0x01,0x05,0x02,0x00

# CHECK: v_ldexp_f16_e64 v5, v255, v2            ; encoding: [0x05,0x00,0x33,0xd1,0xff,0x05,0x02,0x00]
0x05,0x00,0x33,0xd1,0xff,0x05,0x02,0x00

# CHECK: v_ldexp_f16_e64 v5, s1, v2              ; encoding: [0x05,0x00,0x33,0xd1,0x01,0x04,0x02,0x00]
0x05,0x00,0x33,0xd1,0x01,0x04,0x02,0x00

# CHECK: v_ldexp_f16_e64 v5, s101, v2            ; encoding: [0x05,0x00,0x33,0xd1,0x65,0x04,0x02,0x00]
0x05,0x00,0x33,0xd1,0x65,0x04,0x02,0x00

# CHECK: v_ldexp_f16_e64 v5, flat_scratch_lo, v2 ; encoding: [0x05,0x00,0x33,0xd1,0x66,0x04,0x02,0x00]
0x05,0x00,0x33,0xd1,0x66,0x04,0x02,0x00

# CHECK: v_ldexp_f16_e64 v5, flat_scratch_hi, v2 ; encoding: [0x05,0x00,0x33,0xd1,0x67,0x04,0x02,0x00]
0x05,0x00,0x33,0xd1,0x67,0x04,0x02,0x00

# CHECK: v_ldexp_f16_e64 v5, vcc_lo, v2          ; encoding: [0x05,0x00,0x33,0xd1,0x6a,0x04,0x02,0x00]
0x05,0x00,0x33,0xd1,0x6a,0x04,0x02,0x00

# CHECK: v_ldexp_f16_e64 v5, vcc_hi, v2          ; encoding: [0x05,0x00,0x33,0xd1,0x6b,0x04,0x02,0x00]
0x05,0x00,0x33,0xd1,0x6b,0x04,0x02,0x00

# CHECK: v_ldexp_f16_e64 v5, tba_lo, v2          ; encoding: [0x05,0x00,0x33,0xd1,0x6c,0x04,0x02,0x00]
0x05,0x00,0x33,0xd1,0x6c,0x04,0x02,0x00

# CHECK: v_ldexp_f16_e64 v5, tba_hi, v2          ; encoding: [0x05,0x00,0x33,0xd1,0x6d,0x04,0x02,0x00]
0x05,0x00,0x33,0xd1,0x6d,0x04,0x02,0x00

# CHECK: v_ldexp_f16_e64 v5, tma_lo, v2          ; encoding: [0x05,0x00,0x33,0xd1,0x6e,0x04,0x02,0x00]
0x05,0x00,0x33,0xd1,0x6e,0x04,0x02,0x00

# CHECK: v_ldexp_f16_e64 v5, tma_hi, v2          ; encoding: [0x05,0x00,0x33,0xd1,0x6f,0x04,0x02,0x00]
0x05,0x00,0x33,0xd1,0x6f,0x04,0x02,0x00

# CHECK: v_ldexp_f16_e64 v5, ttmp11, v2          ; encoding: [0x05,0x00,0x33,0xd1,0x7b,0x04,0x02,0x00]
0x05,0x00,0x33,0xd1,0x7b,0x04,0x02,0x00

# CHECK: v_ldexp_f16_e64 v5, m0, v2              ; encoding: [0x05,0x00,0x33,0xd1,0x7c,0x04,0x02,0x00]
0x05,0x00,0x33,0xd1,0x7c,0x04,0x02,0x00

# CHECK: v_ldexp_f16_e64 v5, exec_lo, v2         ; encoding: [0x05,0x00,0x33,0xd1,0x7e,0x04,0x02,0x00]
0x05,0x00,0x33,0xd1,0x7e,0x04,0x02,0x00

# CHECK: v_ldexp_f16_e64 v5, exec_hi, v2         ; encoding: [0x05,0x00,0x33,0xd1,0x7f,0x04,0x02,0x00]
0x05,0x00,0x33,0xd1,0x7f,0x04,0x02,0x00

# CHECK: v_ldexp_f16_e64 v5, 0, v2               ; encoding: [0x05,0x00,0x33,0xd1,0x80,0x04,0x02,0x00]
0x05,0x00,0x33,0xd1,0x80,0x04,0x02,0x00

# CHECK: v_ldexp_f16_e64 v5, -1, v2              ; encoding: [0x05,0x00,0x33,0xd1,0xc1,0x04,0x02,0x00]
0x05,0x00,0x33,0xd1,0xc1,0x04,0x02,0x00

# CHECK: v_ldexp_f16_e64 v5, 0.5, v2             ; encoding: [0x05,0x00,0x33,0xd1,0xf0,0x04,0x02,0x00]
0x05,0x00,0x33,0xd1,0xf0,0x04,0x02,0x00

# CHECK: v_ldexp_f16_e64 v5, -4.0, v2            ; encoding: [0x05,0x00,0x33,0xd1,0xf7,0x04,0x02,0x00]
0x05,0x00,0x33,0xd1,0xf7,0x04,0x02,0x00

# CHECK: v_ldexp_f16_e64 v5, v1, v255            ; encoding: [0x05,0x00,0x33,0xd1,0x01,0xff,0x03,0x00]
0x05,0x00,0x33,0xd1,0x01,0xff,0x03,0x00

# CHECK: v_ldexp_f16_e64 v5, v1, s2              ; encoding: [0x05,0x00,0x33,0xd1,0x01,0x05,0x00,0x00]
0x05,0x00,0x33,0xd1,0x01,0x05,0x00,0x00

# CHECK: v_ldexp_f16_e64 v5, v1, s101            ; encoding: [0x05,0x00,0x33,0xd1,0x01,0xcb,0x00,0x00]
0x05,0x00,0x33,0xd1,0x01,0xcb,0x00,0x00

# CHECK: v_ldexp_f16_e64 v5, v1, flat_scratch_lo ; encoding: [0x05,0x00,0x33,0xd1,0x01,0xcd,0x00,0x00]
0x05,0x00,0x33,0xd1,0x01,0xcd,0x00,0x00

# CHECK: v_ldexp_f16_e64 v5, v1, flat_scratch_hi ; encoding: [0x05,0x00,0x33,0xd1,0x01,0xcf,0x00,0x00]
0x05,0x00,0x33,0xd1,0x01,0xcf,0x00,0x00

# CHECK: v_ldexp_f16_e64 v5, v1, vcc_lo          ; encoding: [0x05,0x00,0x33,0xd1,0x01,0xd5,0x00,0x00]
0x05,0x00,0x33,0xd1,0x01,0xd5,0x00,0x00

# CHECK: v_ldexp_f16_e64 v5, v1, vcc_hi          ; encoding: [0x05,0x00,0x33,0xd1,0x01,0xd7,0x00,0x00]
0x05,0x00,0x33,0xd1,0x01,0xd7,0x00,0x00

# CHECK: v_ldexp_f16_e64 v5, v1, tba_lo          ; encoding: [0x05,0x00,0x33,0xd1,0x01,0xd9,0x00,0x00]
0x05,0x00,0x33,0xd1,0x01,0xd9,0x00,0x00

# CHECK: v_ldexp_f16_e64 v5, v1, tba_hi          ; encoding: [0x05,0x00,0x33,0xd1,0x01,0xdb,0x00,0x00]
0x05,0x00,0x33,0xd1,0x01,0xdb,0x00,0x00

# CHECK: v_ldexp_f16_e64 v5, v1, tma_lo          ; encoding: [0x05,0x00,0x33,0xd1,0x01,0xdd,0x00,0x00]
0x05,0x00,0x33,0xd1,0x01,0xdd,0x00,0x00

# CHECK: v_ldexp_f16_e64 v5, v1, tma_hi          ; encoding: [0x05,0x00,0x33,0xd1,0x01,0xdf,0x00,0x00]
0x05,0x00,0x33,0xd1,0x01,0xdf,0x00,0x00

# CHECK: v_ldexp_f16_e64 v5, v1, ttmp11          ; encoding: [0x05,0x00,0x33,0xd1,0x01,0xf7,0x00,0x00]
0x05,0x00,0x33,0xd1,0x01,0xf7,0x00,0x00

# CHECK: v_ldexp_f16_e64 v5, v1, m0              ; encoding: [0x05,0x00,0x33,0xd1,0x01,0xf9,0x00,0x00]
0x05,0x00,0x33,0xd1,0x01,0xf9,0x00,0x00

# CHECK: v_ldexp_f16_e64 v5, v1, exec_lo         ; encoding: [0x05,0x00,0x33,0xd1,0x01,0xfd,0x00,0x00]
0x05,0x00,0x33,0xd1,0x01,0xfd,0x00,0x00

# CHECK: v_ldexp_f16_e64 v5, v1, exec_hi         ; encoding: [0x05,0x00,0x33,0xd1,0x01,0xff,0x00,0x00]
0x05,0x00,0x33,0xd1,0x01,0xff,0x00,0x00

# CHECK: v_ldexp_f16_e64 v5, v1, 0               ; encoding: [0x05,0x00,0x33,0xd1,0x01,0x01,0x01,0x00]
0x05,0x00,0x33,0xd1,0x01,0x01,0x01,0x00

# CHECK: v_ldexp_f16_e64 v5, v1, -1              ; encoding: [0x05,0x00,0x33,0xd1,0x01,0x83,0x01,0x00]
0x05,0x00,0x33,0xd1,0x01,0x83,0x01,0x00

# CHECK: v_ldexp_f16_e64 v5, v1, 0.5             ; encoding: [0x05,0x00,0x33,0xd1,0x01,0xe1,0x01,0x00]
0x05,0x00,0x33,0xd1,0x01,0xe1,0x01,0x00

# CHECK: v_ldexp_f16_e64 v5, v1, -4.0            ; encoding: [0x05,0x00,0x33,0xd1,0x01,0xef,0x01,0x00]
0x05,0x00,0x33,0xd1,0x01,0xef,0x01,0x00

# CHECK: v_ldexp_f16_e64 v5, -v1, v2             ; encoding: [0x05,0x00,0x33,0xd1,0x01,0x05,0x02,0x20]
0x05,0x00,0x33,0xd1,0x01,0x05,0x02,0x20

# CHECK: v_ldexp_f16_e64 v5, |v1|, v2            ; encoding: [0x05,0x01,0x33,0xd1,0x01,0x05,0x02,0x00]
0x05,0x01,0x33,0xd1,0x01,0x05,0x02,0x00

# CHECK: v_ldexp_f16_e64 v5, v1, v2 clamp        ; encoding: [0x05,0x80,0x33,0xd1,0x01,0x05,0x02,0x00]
0x05,0x80,0x33,0xd1,0x01,0x05,0x02,0x00

# CHECK: v_mad_legacy_f32 v5, v1, v2, v3         ; encoding: [0x05,0x00,0xc0,0xd1,0x01,0x05,0x0e,0x04]
0x05,0x00,0xc0,0xd1,0x01,0x05,0x0e,0x04

# CHECK: v_mad_legacy_f32 v255, v1, v2, v3       ; encoding: [0xff,0x00,0xc0,0xd1,0x01,0x05,0x0e,0x04]
0xff,0x00,0xc0,0xd1,0x01,0x05,0x0e,0x04

# CHECK: v_mad_legacy_f32 v5, v255, v2, v3       ; encoding: [0x05,0x00,0xc0,0xd1,0xff,0x05,0x0e,0x04]
0x05,0x00,0xc0,0xd1,0xff,0x05,0x0e,0x04

# CHECK: v_mad_legacy_f32 v5, s1, v2, v3         ; encoding: [0x05,0x00,0xc0,0xd1,0x01,0x04,0x0e,0x04]
0x05,0x00,0xc0,0xd1,0x01,0x04,0x0e,0x04

# CHECK: v_mad_legacy_f32 v5, s101, v2, v3       ; encoding: [0x05,0x00,0xc0,0xd1,0x65,0x04,0x0e,0x04]
0x05,0x00,0xc0,0xd1,0x65,0x04,0x0e,0x04

# CHECK: v_mad_legacy_f32 v5, flat_scratch_lo, v2, v3 ; encoding: [0x05,0x00,0xc0,0xd1,0x66,0x04,0x0e,0x04]
0x05,0x00,0xc0,0xd1,0x66,0x04,0x0e,0x04

# CHECK: v_mad_legacy_f32 v5, flat_scratch_hi, v2, v3 ; encoding: [0x05,0x00,0xc0,0xd1,0x67,0x04,0x0e,0x04]
0x05,0x00,0xc0,0xd1,0x67,0x04,0x0e,0x04

# CHECK: v_mad_legacy_f32 v5, vcc_lo, v2, v3     ; encoding: [0x05,0x00,0xc0,0xd1,0x6a,0x04,0x0e,0x04]
0x05,0x00,0xc0,0xd1,0x6a,0x04,0x0e,0x04

# CHECK: v_mad_legacy_f32 v5, vcc_hi, v2, v3     ; encoding: [0x05,0x00,0xc0,0xd1,0x6b,0x04,0x0e,0x04]
0x05,0x00,0xc0,0xd1,0x6b,0x04,0x0e,0x04

# CHECK: v_mad_legacy_f32 v5, tba_lo, v2, v3     ; encoding: [0x05,0x00,0xc0,0xd1,0x6c,0x04,0x0e,0x04]
0x05,0x00,0xc0,0xd1,0x6c,0x04,0x0e,0x04

# CHECK: v_mad_legacy_f32 v5, tba_hi, v2, v3     ; encoding: [0x05,0x00,0xc0,0xd1,0x6d,0x04,0x0e,0x04]
0x05,0x00,0xc0,0xd1,0x6d,0x04,0x0e,0x04

# CHECK: v_mad_legacy_f32 v5, tma_lo, v2, v3     ; encoding: [0x05,0x00,0xc0,0xd1,0x6e,0x04,0x0e,0x04]
0x05,0x00,0xc0,0xd1,0x6e,0x04,0x0e,0x04

# CHECK: v_mad_legacy_f32 v5, tma_hi, v2, v3     ; encoding: [0x05,0x00,0xc0,0xd1,0x6f,0x04,0x0e,0x04]
0x05,0x00,0xc0,0xd1,0x6f,0x04,0x0e,0x04

# CHECK: v_mad_legacy_f32 v5, ttmp11, v2, v3     ; encoding: [0x05,0x00,0xc0,0xd1,0x7b,0x04,0x0e,0x04]
0x05,0x00,0xc0,0xd1,0x7b,0x04,0x0e,0x04

# CHECK: v_mad_legacy_f32 v5, m0, v2, v3         ; encoding: [0x05,0x00,0xc0,0xd1,0x7c,0x04,0x0e,0x04]
0x05,0x00,0xc0,0xd1,0x7c,0x04,0x0e,0x04

# CHECK: v_mad_legacy_f32 v5, exec_lo, v2, v3    ; encoding: [0x05,0x00,0xc0,0xd1,0x7e,0x04,0x0e,0x04]
0x05,0x00,0xc0,0xd1,0x7e,0x04,0x0e,0x04

# CHECK: v_mad_legacy_f32 v5, exec_hi, v2, v3    ; encoding: [0x05,0x00,0xc0,0xd1,0x7f,0x04,0x0e,0x04]
0x05,0x00,0xc0,0xd1,0x7f,0x04,0x0e,0x04

# CHECK: v_mad_legacy_f32 v5, 0, v2, v3          ; encoding: [0x05,0x00,0xc0,0xd1,0x80,0x04,0x0e,0x04]
0x05,0x00,0xc0,0xd1,0x80,0x04,0x0e,0x04

# CHECK: v_mad_legacy_f32 v5, -1, v2, v3         ; encoding: [0x05,0x00,0xc0,0xd1,0xc1,0x04,0x0e,0x04]
0x05,0x00,0xc0,0xd1,0xc1,0x04,0x0e,0x04

# CHECK: v_mad_legacy_f32 v5, 0.5, v2, v3        ; encoding: [0x05,0x00,0xc0,0xd1,0xf0,0x04,0x0e,0x04]
0x05,0x00,0xc0,0xd1,0xf0,0x04,0x0e,0x04

# CHECK: v_mad_legacy_f32 v5, -4.0, v2, v3       ; encoding: [0x05,0x00,0xc0,0xd1,0xf7,0x04,0x0e,0x04]
0x05,0x00,0xc0,0xd1,0xf7,0x04,0x0e,0x04

# CHECK: v_mad_legacy_f32 v5, v1, v255, v3       ; encoding: [0x05,0x00,0xc0,0xd1,0x01,0xff,0x0f,0x04]
0x05,0x00,0xc0,0xd1,0x01,0xff,0x0f,0x04

# CHECK: v_mad_legacy_f32 v5, v1, s2, v3         ; encoding: [0x05,0x00,0xc0,0xd1,0x01,0x05,0x0c,0x04]
0x05,0x00,0xc0,0xd1,0x01,0x05,0x0c,0x04

# CHECK: v_mad_legacy_f32 v5, v1, s101, v3       ; encoding: [0x05,0x00,0xc0,0xd1,0x01,0xcb,0x0c,0x04]
0x05,0x00,0xc0,0xd1,0x01,0xcb,0x0c,0x04

# CHECK: v_mad_legacy_f32 v5, v1, flat_scratch_lo, v3 ; encoding: [0x05,0x00,0xc0,0xd1,0x01,0xcd,0x0c,0x04]
0x05,0x00,0xc0,0xd1,0x01,0xcd,0x0c,0x04

# CHECK: v_mad_legacy_f32 v5, v1, flat_scratch_hi, v3 ; encoding: [0x05,0x00,0xc0,0xd1,0x01,0xcf,0x0c,0x04]
0x05,0x00,0xc0,0xd1,0x01,0xcf,0x0c,0x04

# CHECK: v_mad_legacy_f32 v5, v1, vcc_lo, v3     ; encoding: [0x05,0x00,0xc0,0xd1,0x01,0xd5,0x0c,0x04]
0x05,0x00,0xc0,0xd1,0x01,0xd5,0x0c,0x04

# CHECK: v_mad_legacy_f32 v5, v1, vcc_hi, v3     ; encoding: [0x05,0x00,0xc0,0xd1,0x01,0xd7,0x0c,0x04]
0x05,0x00,0xc0,0xd1,0x01,0xd7,0x0c,0x04

# CHECK: v_mad_legacy_f32 v5, v1, tba_lo, v3     ; encoding: [0x05,0x00,0xc0,0xd1,0x01,0xd9,0x0c,0x04]
0x05,0x00,0xc0,0xd1,0x01,0xd9,0x0c,0x04

# CHECK: v_mad_legacy_f32 v5, v1, tba_hi, v3     ; encoding: [0x05,0x00,0xc0,0xd1,0x01,0xdb,0x0c,0x04]
0x05,0x00,0xc0,0xd1,0x01,0xdb,0x0c,0x04

# CHECK: v_mad_legacy_f32 v5, v1, tma_lo, v3     ; encoding: [0x05,0x00,0xc0,0xd1,0x01,0xdd,0x0c,0x04]
0x05,0x00,0xc0,0xd1,0x01,0xdd,0x0c,0x04

# CHECK: v_mad_legacy_f32 v5, v1, tma_hi, v3     ; encoding: [0x05,0x00,0xc0,0xd1,0x01,0xdf,0x0c,0x04]
0x05,0x00,0xc0,0xd1,0x01,0xdf,0x0c,0x04

# CHECK: v_mad_legacy_f32 v5, v1, ttmp11, v3     ; encoding: [0x05,0x00,0xc0,0xd1,0x01,0xf7,0x0c,0x04]
0x05,0x00,0xc0,0xd1,0x01,0xf7,0x0c,0x04

# CHECK: v_mad_legacy_f32 v5, v1, m0, v3         ; encoding: [0x05,0x00,0xc0,0xd1,0x01,0xf9,0x0c,0x04]
0x05,0x00,0xc0,0xd1,0x01,0xf9,0x0c,0x04

# CHECK: v_mad_legacy_f32 v5, v1, exec_lo, v3    ; encoding: [0x05,0x00,0xc0,0xd1,0x01,0xfd,0x0c,0x04]
0x05,0x00,0xc0,0xd1,0x01,0xfd,0x0c,0x04

# CHECK: v_mad_legacy_f32 v5, v1, exec_hi, v3    ; encoding: [0x05,0x00,0xc0,0xd1,0x01,0xff,0x0c,0x04]
0x05,0x00,0xc0,0xd1,0x01,0xff,0x0c,0x04

# CHECK: v_mad_legacy_f32 v5, v1, 0, v3          ; encoding: [0x05,0x00,0xc0,0xd1,0x01,0x01,0x0d,0x04]
0x05,0x00,0xc0,0xd1,0x01,0x01,0x0d,0x04

# CHECK: v_mad_legacy_f32 v5, v1, -1, v3         ; encoding: [0x05,0x00,0xc0,0xd1,0x01,0x83,0x0d,0x04]
0x05,0x00,0xc0,0xd1,0x01,0x83,0x0d,0x04

# CHECK: v_mad_legacy_f32 v5, v1, 0.5, v3        ; encoding: [0x05,0x00,0xc0,0xd1,0x01,0xe1,0x0d,0x04]
0x05,0x00,0xc0,0xd1,0x01,0xe1,0x0d,0x04

# CHECK: v_mad_legacy_f32 v5, v1, -4.0, v3       ; encoding: [0x05,0x00,0xc0,0xd1,0x01,0xef,0x0d,0x04]
0x05,0x00,0xc0,0xd1,0x01,0xef,0x0d,0x04

# CHECK: v_mad_legacy_f32 v5, v1, v2, v255       ; encoding: [0x05,0x00,0xc0,0xd1,0x01,0x05,0xfe,0x07]
0x05,0x00,0xc0,0xd1,0x01,0x05,0xfe,0x07

# CHECK: v_mad_legacy_f32 v5, v1, v2, s3         ; encoding: [0x05,0x00,0xc0,0xd1,0x01,0x05,0x0e,0x00]
0x05,0x00,0xc0,0xd1,0x01,0x05,0x0e,0x00

# CHECK: v_mad_legacy_f32 v5, v1, v2, s101       ; encoding: [0x05,0x00,0xc0,0xd1,0x01,0x05,0x96,0x01]
0x05,0x00,0xc0,0xd1,0x01,0x05,0x96,0x01

# CHECK: v_mad_legacy_f32 v5, v1, v2, flat_scratch_lo ; encoding: [0x05,0x00,0xc0,0xd1,0x01,0x05,0x9a,0x01]
0x05,0x00,0xc0,0xd1,0x01,0x05,0x9a,0x01

# CHECK: v_mad_legacy_f32 v5, v1, v2, flat_scratch_hi ; encoding: [0x05,0x00,0xc0,0xd1,0x01,0x05,0x9e,0x01]
0x05,0x00,0xc0,0xd1,0x01,0x05,0x9e,0x01

# CHECK: v_mad_legacy_f32 v5, v1, v2, vcc_lo     ; encoding: [0x05,0x00,0xc0,0xd1,0x01,0x05,0xaa,0x01]
0x05,0x00,0xc0,0xd1,0x01,0x05,0xaa,0x01

# CHECK: v_mad_legacy_f32 v5, v1, v2, vcc_hi     ; encoding: [0x05,0x00,0xc0,0xd1,0x01,0x05,0xae,0x01]
0x05,0x00,0xc0,0xd1,0x01,0x05,0xae,0x01

# CHECK: v_mad_legacy_f32 v5, v1, v2, tba_lo     ; encoding: [0x05,0x00,0xc0,0xd1,0x01,0x05,0xb2,0x01]
0x05,0x00,0xc0,0xd1,0x01,0x05,0xb2,0x01

# CHECK: v_mad_legacy_f32 v5, v1, v2, tba_hi     ; encoding: [0x05,0x00,0xc0,0xd1,0x01,0x05,0xb6,0x01]
0x05,0x00,0xc0,0xd1,0x01,0x05,0xb6,0x01

# CHECK: v_mad_legacy_f32 v5, v1, v2, tma_lo     ; encoding: [0x05,0x00,0xc0,0xd1,0x01,0x05,0xba,0x01]
0x05,0x00,0xc0,0xd1,0x01,0x05,0xba,0x01

# CHECK: v_mad_legacy_f32 v5, v1, v2, tma_hi     ; encoding: [0x05,0x00,0xc0,0xd1,0x01,0x05,0xbe,0x01]
0x05,0x00,0xc0,0xd1,0x01,0x05,0xbe,0x01

# CHECK: v_mad_legacy_f32 v5, v1, v2, ttmp11     ; encoding: [0x05,0x00,0xc0,0xd1,0x01,0x05,0xee,0x01]
0x05,0x00,0xc0,0xd1,0x01,0x05,0xee,0x01

# CHECK: v_mad_legacy_f32 v5, v1, v2, m0         ; encoding: [0x05,0x00,0xc0,0xd1,0x01,0x05,0xf2,0x01]
0x05,0x00,0xc0,0xd1,0x01,0x05,0xf2,0x01

# CHECK: v_mad_legacy_f32 v5, v1, v2, exec_lo    ; encoding: [0x05,0x00,0xc0,0xd1,0x01,0x05,0xfa,0x01]
0x05,0x00,0xc0,0xd1,0x01,0x05,0xfa,0x01

# CHECK: v_mad_legacy_f32 v5, v1, v2, exec_hi    ; encoding: [0x05,0x00,0xc0,0xd1,0x01,0x05,0xfe,0x01]
0x05,0x00,0xc0,0xd1,0x01,0x05,0xfe,0x01

# CHECK: v_mad_legacy_f32 v5, v1, v2, 0          ; encoding: [0x05,0x00,0xc0,0xd1,0x01,0x05,0x02,0x02]
0x05,0x00,0xc0,0xd1,0x01,0x05,0x02,0x02

# CHECK: v_mad_legacy_f32 v5, v1, v2, -1         ; encoding: [0x05,0x00,0xc0,0xd1,0x01,0x05,0x06,0x03]
0x05,0x00,0xc0,0xd1,0x01,0x05,0x06,0x03

# CHECK: v_mad_legacy_f32 v5, v1, v2, 0.5        ; encoding: [0x05,0x00,0xc0,0xd1,0x01,0x05,0xc2,0x03]
0x05,0x00,0xc0,0xd1,0x01,0x05,0xc2,0x03

# CHECK: v_mad_legacy_f32 v5, v1, v2, -4.0       ; encoding: [0x05,0x00,0xc0,0xd1,0x01,0x05,0xde,0x03]
0x05,0x00,0xc0,0xd1,0x01,0x05,0xde,0x03

# CHECK: v_mad_legacy_f32 v5, -v1, v2, v3        ; encoding: [0x05,0x00,0xc0,0xd1,0x01,0x05,0x0e,0x24]
0x05,0x00,0xc0,0xd1,0x01,0x05,0x0e,0x24

# CHECK: v_mad_legacy_f32 v5, v1, -v2, v3        ; encoding: [0x05,0x00,0xc0,0xd1,0x01,0x05,0x0e,0x44]
0x05,0x00,0xc0,0xd1,0x01,0x05,0x0e,0x44

# CHECK: v_mad_legacy_f32 v5, v1, v2, -v3        ; encoding: [0x05,0x00,0xc0,0xd1,0x01,0x05,0x0e,0x84]
0x05,0x00,0xc0,0xd1,0x01,0x05,0x0e,0x84

# CHECK: v_mad_legacy_f32 v5, -v1, -v2, -v3      ; encoding: [0x05,0x00,0xc0,0xd1,0x01,0x05,0x0e,0xe4]
0x05,0x00,0xc0,0xd1,0x01,0x05,0x0e,0xe4

# CHECK: v_mad_legacy_f32 v5, |v1|, v2, v3       ; encoding: [0x05,0x01,0xc0,0xd1,0x01,0x05,0x0e,0x04]
0x05,0x01,0xc0,0xd1,0x01,0x05,0x0e,0x04

# CHECK: v_mad_legacy_f32 v5, v1, |v2|, v3       ; encoding: [0x05,0x02,0xc0,0xd1,0x01,0x05,0x0e,0x04]
0x05,0x02,0xc0,0xd1,0x01,0x05,0x0e,0x04

# CHECK: v_mad_legacy_f32 v5, v1, v2, |v3|       ; encoding: [0x05,0x04,0xc0,0xd1,0x01,0x05,0x0e,0x04]
0x05,0x04,0xc0,0xd1,0x01,0x05,0x0e,0x04

# CHECK: v_mad_legacy_f32 v5, |v1|, |v2|, |v3|   ; encoding: [0x05,0x07,0xc0,0xd1,0x01,0x05,0x0e,0x04]
0x05,0x07,0xc0,0xd1,0x01,0x05,0x0e,0x04

# CHECK: v_mad_legacy_f32 v5, v1, v2, v3 clamp   ; encoding: [0x05,0x80,0xc0,0xd1,0x01,0x05,0x0e,0x04]
0x05,0x80,0xc0,0xd1,0x01,0x05,0x0e,0x04

# CHECK: v_mad_legacy_f32 v5, v1, v2, v3 mul:2   ; encoding: [0x05,0x00,0xc0,0xd1,0x01,0x05,0x0e,0x0c]
0x05,0x00,0xc0,0xd1,0x01,0x05,0x0e,0x0c

# CHECK: v_mad_legacy_f32 v5, v1, v2, v3 mul:4   ; encoding: [0x05,0x00,0xc0,0xd1,0x01,0x05,0x0e,0x14]
0x05,0x00,0xc0,0xd1,0x01,0x05,0x0e,0x14

# CHECK: v_mad_legacy_f32 v5, v1, v2, v3 div:2   ; encoding: [0x05,0x00,0xc0,0xd1,0x01,0x05,0x0e,0x1c]
0x05,0x00,0xc0,0xd1,0x01,0x05,0x0e,0x1c

# CHECK: v_mad_f32 v5, v1, v2, v3                ; encoding: [0x05,0x00,0xc1,0xd1,0x01,0x05,0x0e,0x04]
0x05,0x00,0xc1,0xd1,0x01,0x05,0x0e,0x04

# CHECK: v_mad_f32 v255, v1, v2, v3              ; encoding: [0xff,0x00,0xc1,0xd1,0x01,0x05,0x0e,0x04]
0xff,0x00,0xc1,0xd1,0x01,0x05,0x0e,0x04

# CHECK: v_mad_f32 v5, v255, v2, v3              ; encoding: [0x05,0x00,0xc1,0xd1,0xff,0x05,0x0e,0x04]
0x05,0x00,0xc1,0xd1,0xff,0x05,0x0e,0x04

# CHECK: v_mad_f32 v5, s1, v2, v3                ; encoding: [0x05,0x00,0xc1,0xd1,0x01,0x04,0x0e,0x04]
0x05,0x00,0xc1,0xd1,0x01,0x04,0x0e,0x04

# CHECK: v_mad_f32 v5, s101, v2, v3              ; encoding: [0x05,0x00,0xc1,0xd1,0x65,0x04,0x0e,0x04]
0x05,0x00,0xc1,0xd1,0x65,0x04,0x0e,0x04

# CHECK: v_mad_f32 v5, flat_scratch_lo, v2, v3   ; encoding: [0x05,0x00,0xc1,0xd1,0x66,0x04,0x0e,0x04]
0x05,0x00,0xc1,0xd1,0x66,0x04,0x0e,0x04

# CHECK: v_mad_f32 v5, flat_scratch_hi, v2, v3   ; encoding: [0x05,0x00,0xc1,0xd1,0x67,0x04,0x0e,0x04]
0x05,0x00,0xc1,0xd1,0x67,0x04,0x0e,0x04

# CHECK: v_mad_f32 v5, vcc_lo, v2, v3            ; encoding: [0x05,0x00,0xc1,0xd1,0x6a,0x04,0x0e,0x04]
0x05,0x00,0xc1,0xd1,0x6a,0x04,0x0e,0x04

# CHECK: v_mad_f32 v5, vcc_hi, v2, v3            ; encoding: [0x05,0x00,0xc1,0xd1,0x6b,0x04,0x0e,0x04]
0x05,0x00,0xc1,0xd1,0x6b,0x04,0x0e,0x04

# CHECK: v_mad_f32 v5, tba_lo, v2, v3            ; encoding: [0x05,0x00,0xc1,0xd1,0x6c,0x04,0x0e,0x04]
0x05,0x00,0xc1,0xd1,0x6c,0x04,0x0e,0x04

# CHECK: v_mad_f32 v5, tba_hi, v2, v3            ; encoding: [0x05,0x00,0xc1,0xd1,0x6d,0x04,0x0e,0x04]
0x05,0x00,0xc1,0xd1,0x6d,0x04,0x0e,0x04

# CHECK: v_mad_f32 v5, tma_lo, v2, v3            ; encoding: [0x05,0x00,0xc1,0xd1,0x6e,0x04,0x0e,0x04]
0x05,0x00,0xc1,0xd1,0x6e,0x04,0x0e,0x04

# CHECK: v_mad_f32 v5, tma_hi, v2, v3            ; encoding: [0x05,0x00,0xc1,0xd1,0x6f,0x04,0x0e,0x04]
0x05,0x00,0xc1,0xd1,0x6f,0x04,0x0e,0x04

# CHECK: v_mad_f32 v5, ttmp11, v2, v3            ; encoding: [0x05,0x00,0xc1,0xd1,0x7b,0x04,0x0e,0x04]
0x05,0x00,0xc1,0xd1,0x7b,0x04,0x0e,0x04

# CHECK: v_mad_f32 v5, m0, v2, v3                ; encoding: [0x05,0x00,0xc1,0xd1,0x7c,0x04,0x0e,0x04]
0x05,0x00,0xc1,0xd1,0x7c,0x04,0x0e,0x04

# CHECK: v_mad_f32 v5, exec_lo, v2, v3           ; encoding: [0x05,0x00,0xc1,0xd1,0x7e,0x04,0x0e,0x04]
0x05,0x00,0xc1,0xd1,0x7e,0x04,0x0e,0x04

# CHECK: v_mad_f32 v5, exec_hi, v2, v3           ; encoding: [0x05,0x00,0xc1,0xd1,0x7f,0x04,0x0e,0x04]
0x05,0x00,0xc1,0xd1,0x7f,0x04,0x0e,0x04

# CHECK: v_mad_f32 v5, 0, v2, v3                 ; encoding: [0x05,0x00,0xc1,0xd1,0x80,0x04,0x0e,0x04]
0x05,0x00,0xc1,0xd1,0x80,0x04,0x0e,0x04

# CHECK: v_mad_f32 v5, -1, v2, v3                ; encoding: [0x05,0x00,0xc1,0xd1,0xc1,0x04,0x0e,0x04]
0x05,0x00,0xc1,0xd1,0xc1,0x04,0x0e,0x04

# CHECK: v_mad_f32 v5, 0.5, v2, v3               ; encoding: [0x05,0x00,0xc1,0xd1,0xf0,0x04,0x0e,0x04]
0x05,0x00,0xc1,0xd1,0xf0,0x04,0x0e,0x04

# CHECK: v_mad_f32 v5, -4.0, v2, v3              ; encoding: [0x05,0x00,0xc1,0xd1,0xf7,0x04,0x0e,0x04]
0x05,0x00,0xc1,0xd1,0xf7,0x04,0x0e,0x04

# CHECK: v_mad_f32 v5, v1, v255, v3              ; encoding: [0x05,0x00,0xc1,0xd1,0x01,0xff,0x0f,0x04]
0x05,0x00,0xc1,0xd1,0x01,0xff,0x0f,0x04

# CHECK: v_mad_f32 v5, v1, s2, v3                ; encoding: [0x05,0x00,0xc1,0xd1,0x01,0x05,0x0c,0x04]
0x05,0x00,0xc1,0xd1,0x01,0x05,0x0c,0x04

# CHECK: v_mad_f32 v5, v1, s101, v3              ; encoding: [0x05,0x00,0xc1,0xd1,0x01,0xcb,0x0c,0x04]
0x05,0x00,0xc1,0xd1,0x01,0xcb,0x0c,0x04

# CHECK: v_mad_f32 v5, v1, flat_scratch_lo, v3   ; encoding: [0x05,0x00,0xc1,0xd1,0x01,0xcd,0x0c,0x04]
0x05,0x00,0xc1,0xd1,0x01,0xcd,0x0c,0x04

# CHECK: v_mad_f32 v5, v1, flat_scratch_hi, v3   ; encoding: [0x05,0x00,0xc1,0xd1,0x01,0xcf,0x0c,0x04]
0x05,0x00,0xc1,0xd1,0x01,0xcf,0x0c,0x04

# CHECK: v_mad_f32 v5, v1, vcc_lo, v3            ; encoding: [0x05,0x00,0xc1,0xd1,0x01,0xd5,0x0c,0x04]
0x05,0x00,0xc1,0xd1,0x01,0xd5,0x0c,0x04

# CHECK: v_mad_f32 v5, v1, vcc_hi, v3            ; encoding: [0x05,0x00,0xc1,0xd1,0x01,0xd7,0x0c,0x04]
0x05,0x00,0xc1,0xd1,0x01,0xd7,0x0c,0x04

# CHECK: v_mad_f32 v5, v1, tba_lo, v3            ; encoding: [0x05,0x00,0xc1,0xd1,0x01,0xd9,0x0c,0x04]
0x05,0x00,0xc1,0xd1,0x01,0xd9,0x0c,0x04

# CHECK: v_mad_f32 v5, v1, tba_hi, v3            ; encoding: [0x05,0x00,0xc1,0xd1,0x01,0xdb,0x0c,0x04]
0x05,0x00,0xc1,0xd1,0x01,0xdb,0x0c,0x04

# CHECK: v_mad_f32 v5, v1, tma_lo, v3            ; encoding: [0x05,0x00,0xc1,0xd1,0x01,0xdd,0x0c,0x04]
0x05,0x00,0xc1,0xd1,0x01,0xdd,0x0c,0x04

# CHECK: v_mad_f32 v5, v1, tma_hi, v3            ; encoding: [0x05,0x00,0xc1,0xd1,0x01,0xdf,0x0c,0x04]
0x05,0x00,0xc1,0xd1,0x01,0xdf,0x0c,0x04

# CHECK: v_mad_f32 v5, v1, ttmp11, v3            ; encoding: [0x05,0x00,0xc1,0xd1,0x01,0xf7,0x0c,0x04]
0x05,0x00,0xc1,0xd1,0x01,0xf7,0x0c,0x04

# CHECK: v_mad_f32 v5, v1, m0, v3                ; encoding: [0x05,0x00,0xc1,0xd1,0x01,0xf9,0x0c,0x04]
0x05,0x00,0xc1,0xd1,0x01,0xf9,0x0c,0x04

# CHECK: v_mad_f32 v5, v1, exec_lo, v3           ; encoding: [0x05,0x00,0xc1,0xd1,0x01,0xfd,0x0c,0x04]
0x05,0x00,0xc1,0xd1,0x01,0xfd,0x0c,0x04

# CHECK: v_mad_f32 v5, v1, exec_hi, v3           ; encoding: [0x05,0x00,0xc1,0xd1,0x01,0xff,0x0c,0x04]
0x05,0x00,0xc1,0xd1,0x01,0xff,0x0c,0x04

# CHECK: v_mad_f32 v5, v1, 0, v3                 ; encoding: [0x05,0x00,0xc1,0xd1,0x01,0x01,0x0d,0x04]
0x05,0x00,0xc1,0xd1,0x01,0x01,0x0d,0x04

# CHECK: v_mad_f32 v5, v1, -1, v3                ; encoding: [0x05,0x00,0xc1,0xd1,0x01,0x83,0x0d,0x04]
0x05,0x00,0xc1,0xd1,0x01,0x83,0x0d,0x04

# CHECK: v_mad_f32 v5, v1, 0.5, v3               ; encoding: [0x05,0x00,0xc1,0xd1,0x01,0xe1,0x0d,0x04]
0x05,0x00,0xc1,0xd1,0x01,0xe1,0x0d,0x04

# CHECK: v_mad_f32 v5, v1, -4.0, v3              ; encoding: [0x05,0x00,0xc1,0xd1,0x01,0xef,0x0d,0x04]
0x05,0x00,0xc1,0xd1,0x01,0xef,0x0d,0x04

# CHECK: v_mad_f32 v5, v1, v2, v255              ; encoding: [0x05,0x00,0xc1,0xd1,0x01,0x05,0xfe,0x07]
0x05,0x00,0xc1,0xd1,0x01,0x05,0xfe,0x07

# CHECK: v_mad_f32 v5, v1, v2, s3                ; encoding: [0x05,0x00,0xc1,0xd1,0x01,0x05,0x0e,0x00]
0x05,0x00,0xc1,0xd1,0x01,0x05,0x0e,0x00

# CHECK: v_mad_f32 v5, v1, v2, s101              ; encoding: [0x05,0x00,0xc1,0xd1,0x01,0x05,0x96,0x01]
0x05,0x00,0xc1,0xd1,0x01,0x05,0x96,0x01

# CHECK: v_mad_f32 v5, v1, v2, flat_scratch_lo   ; encoding: [0x05,0x00,0xc1,0xd1,0x01,0x05,0x9a,0x01]
0x05,0x00,0xc1,0xd1,0x01,0x05,0x9a,0x01

# CHECK: v_mad_f32 v5, v1, v2, flat_scratch_hi   ; encoding: [0x05,0x00,0xc1,0xd1,0x01,0x05,0x9e,0x01]
0x05,0x00,0xc1,0xd1,0x01,0x05,0x9e,0x01

# CHECK: v_mad_f32 v5, v1, v2, vcc_lo            ; encoding: [0x05,0x00,0xc1,0xd1,0x01,0x05,0xaa,0x01]
0x05,0x00,0xc1,0xd1,0x01,0x05,0xaa,0x01

# CHECK: v_mad_f32 v5, v1, v2, vcc_hi            ; encoding: [0x05,0x00,0xc1,0xd1,0x01,0x05,0xae,0x01]
0x05,0x00,0xc1,0xd1,0x01,0x05,0xae,0x01

# CHECK: v_mad_f32 v5, v1, v2, tba_lo            ; encoding: [0x05,0x00,0xc1,0xd1,0x01,0x05,0xb2,0x01]
0x05,0x00,0xc1,0xd1,0x01,0x05,0xb2,0x01

# CHECK: v_mad_f32 v5, v1, v2, tba_hi            ; encoding: [0x05,0x00,0xc1,0xd1,0x01,0x05,0xb6,0x01]
0x05,0x00,0xc1,0xd1,0x01,0x05,0xb6,0x01

# CHECK: v_mad_f32 v5, v1, v2, tma_lo            ; encoding: [0x05,0x00,0xc1,0xd1,0x01,0x05,0xba,0x01]
0x05,0x00,0xc1,0xd1,0x01,0x05,0xba,0x01

# CHECK: v_mad_f32 v5, v1, v2, tma_hi            ; encoding: [0x05,0x00,0xc1,0xd1,0x01,0x05,0xbe,0x01]
0x05,0x00,0xc1,0xd1,0x01,0x05,0xbe,0x01

# CHECK: v_mad_f32 v5, v1, v2, ttmp11            ; encoding: [0x05,0x00,0xc1,0xd1,0x01,0x05,0xee,0x01]
0x05,0x00,0xc1,0xd1,0x01,0x05,0xee,0x01

# CHECK: v_mad_f32 v5, v1, v2, m0                ; encoding: [0x05,0x00,0xc1,0xd1,0x01,0x05,0xf2,0x01]
0x05,0x00,0xc1,0xd1,0x01,0x05,0xf2,0x01

# CHECK: v_mad_f32 v5, v1, v2, exec_lo           ; encoding: [0x05,0x00,0xc1,0xd1,0x01,0x05,0xfa,0x01]
0x05,0x00,0xc1,0xd1,0x01,0x05,0xfa,0x01

# CHECK: v_mad_f32 v5, v1, v2, exec_hi           ; encoding: [0x05,0x00,0xc1,0xd1,0x01,0x05,0xfe,0x01]
0x05,0x00,0xc1,0xd1,0x01,0x05,0xfe,0x01

# CHECK: v_mad_f32 v5, v1, v2, 0                 ; encoding: [0x05,0x00,0xc1,0xd1,0x01,0x05,0x02,0x02]
0x05,0x00,0xc1,0xd1,0x01,0x05,0x02,0x02

# CHECK: v_mad_f32 v5, v1, v2, -1                ; encoding: [0x05,0x00,0xc1,0xd1,0x01,0x05,0x06,0x03]
0x05,0x00,0xc1,0xd1,0x01,0x05,0x06,0x03

# CHECK: v_mad_f32 v5, v1, v2, 0.5               ; encoding: [0x05,0x00,0xc1,0xd1,0x01,0x05,0xc2,0x03]
0x05,0x00,0xc1,0xd1,0x01,0x05,0xc2,0x03

# CHECK: v_mad_f32 v5, v1, v2, -4.0              ; encoding: [0x05,0x00,0xc1,0xd1,0x01,0x05,0xde,0x03]
0x05,0x00,0xc1,0xd1,0x01,0x05,0xde,0x03

# CHECK: v_mad_f32 v5, -v1, v2, v3               ; encoding: [0x05,0x00,0xc1,0xd1,0x01,0x05,0x0e,0x24]
0x05,0x00,0xc1,0xd1,0x01,0x05,0x0e,0x24

# CHECK: v_mad_f32 v5, v1, -v2, v3               ; encoding: [0x05,0x00,0xc1,0xd1,0x01,0x05,0x0e,0x44]
0x05,0x00,0xc1,0xd1,0x01,0x05,0x0e,0x44

# CHECK: v_mad_f32 v5, v1, v2, -v3               ; encoding: [0x05,0x00,0xc1,0xd1,0x01,0x05,0x0e,0x84]
0x05,0x00,0xc1,0xd1,0x01,0x05,0x0e,0x84

# CHECK: v_mad_f32 v5, -v1, -v2, -v3             ; encoding: [0x05,0x00,0xc1,0xd1,0x01,0x05,0x0e,0xe4]
0x05,0x00,0xc1,0xd1,0x01,0x05,0x0e,0xe4

# CHECK: v_mad_f32 v5, |v1|, v2, v3              ; encoding: [0x05,0x01,0xc1,0xd1,0x01,0x05,0x0e,0x04]
0x05,0x01,0xc1,0xd1,0x01,0x05,0x0e,0x04

# CHECK: v_mad_f32 v5, v1, |v2|, v3              ; encoding: [0x05,0x02,0xc1,0xd1,0x01,0x05,0x0e,0x04]
0x05,0x02,0xc1,0xd1,0x01,0x05,0x0e,0x04

# CHECK: v_mad_f32 v5, v1, v2, |v3|              ; encoding: [0x05,0x04,0xc1,0xd1,0x01,0x05,0x0e,0x04]
0x05,0x04,0xc1,0xd1,0x01,0x05,0x0e,0x04

# CHECK: v_mad_f32 v5, |v1|, |v2|, |v3|          ; encoding: [0x05,0x07,0xc1,0xd1,0x01,0x05,0x0e,0x04]
0x05,0x07,0xc1,0xd1,0x01,0x05,0x0e,0x04

# CHECK: v_mad_f32 v5, v1, v2, v3 clamp          ; encoding: [0x05,0x80,0xc1,0xd1,0x01,0x05,0x0e,0x04]
0x05,0x80,0xc1,0xd1,0x01,0x05,0x0e,0x04

# CHECK: v_mad_f32 v5, v1, v2, v3 mul:2          ; encoding: [0x05,0x00,0xc1,0xd1,0x01,0x05,0x0e,0x0c]
0x05,0x00,0xc1,0xd1,0x01,0x05,0x0e,0x0c

# CHECK: v_mad_f32 v5, v1, v2, v3 mul:4          ; encoding: [0x05,0x00,0xc1,0xd1,0x01,0x05,0x0e,0x14]
0x05,0x00,0xc1,0xd1,0x01,0x05,0x0e,0x14

# CHECK: v_mad_f32 v5, v1, v2, v3 div:2          ; encoding: [0x05,0x00,0xc1,0xd1,0x01,0x05,0x0e,0x1c]
0x05,0x00,0xc1,0xd1,0x01,0x05,0x0e,0x1c

# CHECK: v_mad_i32_i24 v5, v1, v2, v3            ; encoding: [0x05,0x00,0xc2,0xd1,0x01,0x05,0x0e,0x04]
0x05,0x00,0xc2,0xd1,0x01,0x05,0x0e,0x04

# CHECK: v_mad_i32_i24 v255, v1, v2, v3          ; encoding: [0xff,0x00,0xc2,0xd1,0x01,0x05,0x0e,0x04]
0xff,0x00,0xc2,0xd1,0x01,0x05,0x0e,0x04

# CHECK: v_mad_i32_i24 v5, v255, v2, v3          ; encoding: [0x05,0x00,0xc2,0xd1,0xff,0x05,0x0e,0x04]
0x05,0x00,0xc2,0xd1,0xff,0x05,0x0e,0x04

# CHECK: v_mad_i32_i24 v5, s1, v2, v3            ; encoding: [0x05,0x00,0xc2,0xd1,0x01,0x04,0x0e,0x04]
0x05,0x00,0xc2,0xd1,0x01,0x04,0x0e,0x04

# CHECK: v_mad_i32_i24 v5, s101, v2, v3          ; encoding: [0x05,0x00,0xc2,0xd1,0x65,0x04,0x0e,0x04]
0x05,0x00,0xc2,0xd1,0x65,0x04,0x0e,0x04

# CHECK: v_mad_i32_i24 v5, flat_scratch_lo, v2, v3 ; encoding: [0x05,0x00,0xc2,0xd1,0x66,0x04,0x0e,0x04]
0x05,0x00,0xc2,0xd1,0x66,0x04,0x0e,0x04

# CHECK: v_mad_i32_i24 v5, flat_scratch_hi, v2, v3 ; encoding: [0x05,0x00,0xc2,0xd1,0x67,0x04,0x0e,0x04]
0x05,0x00,0xc2,0xd1,0x67,0x04,0x0e,0x04

# CHECK: v_mad_i32_i24 v5, vcc_lo, v2, v3        ; encoding: [0x05,0x00,0xc2,0xd1,0x6a,0x04,0x0e,0x04]
0x05,0x00,0xc2,0xd1,0x6a,0x04,0x0e,0x04

# CHECK: v_mad_i32_i24 v5, vcc_hi, v2, v3        ; encoding: [0x05,0x00,0xc2,0xd1,0x6b,0x04,0x0e,0x04]
0x05,0x00,0xc2,0xd1,0x6b,0x04,0x0e,0x04

# CHECK: v_mad_i32_i24 v5, tba_lo, v2, v3        ; encoding: [0x05,0x00,0xc2,0xd1,0x6c,0x04,0x0e,0x04]
0x05,0x00,0xc2,0xd1,0x6c,0x04,0x0e,0x04

# CHECK: v_mad_i32_i24 v5, tba_hi, v2, v3        ; encoding: [0x05,0x00,0xc2,0xd1,0x6d,0x04,0x0e,0x04]
0x05,0x00,0xc2,0xd1,0x6d,0x04,0x0e,0x04

# CHECK: v_mad_i32_i24 v5, tma_lo, v2, v3        ; encoding: [0x05,0x00,0xc2,0xd1,0x6e,0x04,0x0e,0x04]
0x05,0x00,0xc2,0xd1,0x6e,0x04,0x0e,0x04

# CHECK: v_mad_i32_i24 v5, tma_hi, v2, v3        ; encoding: [0x05,0x00,0xc2,0xd1,0x6f,0x04,0x0e,0x04]
0x05,0x00,0xc2,0xd1,0x6f,0x04,0x0e,0x04

# CHECK: v_mad_i32_i24 v5, ttmp11, v2, v3        ; encoding: [0x05,0x00,0xc2,0xd1,0x7b,0x04,0x0e,0x04]
0x05,0x00,0xc2,0xd1,0x7b,0x04,0x0e,0x04

# CHECK: v_mad_i32_i24 v5, m0, v2, v3            ; encoding: [0x05,0x00,0xc2,0xd1,0x7c,0x04,0x0e,0x04]
0x05,0x00,0xc2,0xd1,0x7c,0x04,0x0e,0x04

# CHECK: v_mad_i32_i24 v5, exec_lo, v2, v3       ; encoding: [0x05,0x00,0xc2,0xd1,0x7e,0x04,0x0e,0x04]
0x05,0x00,0xc2,0xd1,0x7e,0x04,0x0e,0x04

# CHECK: v_mad_i32_i24 v5, exec_hi, v2, v3       ; encoding: [0x05,0x00,0xc2,0xd1,0x7f,0x04,0x0e,0x04]
0x05,0x00,0xc2,0xd1,0x7f,0x04,0x0e,0x04

# CHECK: v_mad_i32_i24 v5, 0, v2, v3             ; encoding: [0x05,0x00,0xc2,0xd1,0x80,0x04,0x0e,0x04]
0x05,0x00,0xc2,0xd1,0x80,0x04,0x0e,0x04

# CHECK: v_mad_i32_i24 v5, -1, v2, v3            ; encoding: [0x05,0x00,0xc2,0xd1,0xc1,0x04,0x0e,0x04]
0x05,0x00,0xc2,0xd1,0xc1,0x04,0x0e,0x04

# CHECK: v_mad_i32_i24 v5, 0.5, v2, v3           ; encoding: [0x05,0x00,0xc2,0xd1,0xf0,0x04,0x0e,0x04]
0x05,0x00,0xc2,0xd1,0xf0,0x04,0x0e,0x04

# CHECK: v_mad_i32_i24 v5, -4.0, v2, v3          ; encoding: [0x05,0x00,0xc2,0xd1,0xf7,0x04,0x0e,0x04]
0x05,0x00,0xc2,0xd1,0xf7,0x04,0x0e,0x04

# CHECK: v_mad_i32_i24 v5, v1, v255, v3          ; encoding: [0x05,0x00,0xc2,0xd1,0x01,0xff,0x0f,0x04]
0x05,0x00,0xc2,0xd1,0x01,0xff,0x0f,0x04

# CHECK: v_mad_i32_i24 v5, v1, s2, v3            ; encoding: [0x05,0x00,0xc2,0xd1,0x01,0x05,0x0c,0x04]
0x05,0x00,0xc2,0xd1,0x01,0x05,0x0c,0x04

# CHECK: v_mad_i32_i24 v5, v1, s101, v3          ; encoding: [0x05,0x00,0xc2,0xd1,0x01,0xcb,0x0c,0x04]
0x05,0x00,0xc2,0xd1,0x01,0xcb,0x0c,0x04

# CHECK: v_mad_i32_i24 v5, v1, flat_scratch_lo, v3 ; encoding: [0x05,0x00,0xc2,0xd1,0x01,0xcd,0x0c,0x04]
0x05,0x00,0xc2,0xd1,0x01,0xcd,0x0c,0x04

# CHECK: v_mad_i32_i24 v5, v1, flat_scratch_hi, v3 ; encoding: [0x05,0x00,0xc2,0xd1,0x01,0xcf,0x0c,0x04]
0x05,0x00,0xc2,0xd1,0x01,0xcf,0x0c,0x04

# CHECK: v_mad_i32_i24 v5, v1, vcc_lo, v3        ; encoding: [0x05,0x00,0xc2,0xd1,0x01,0xd5,0x0c,0x04]
0x05,0x00,0xc2,0xd1,0x01,0xd5,0x0c,0x04

# CHECK: v_mad_i32_i24 v5, v1, vcc_hi, v3        ; encoding: [0x05,0x00,0xc2,0xd1,0x01,0xd7,0x0c,0x04]
0x05,0x00,0xc2,0xd1,0x01,0xd7,0x0c,0x04

# CHECK: v_mad_i32_i24 v5, v1, tba_lo, v3        ; encoding: [0x05,0x00,0xc2,0xd1,0x01,0xd9,0x0c,0x04]
0x05,0x00,0xc2,0xd1,0x01,0xd9,0x0c,0x04

# CHECK: v_mad_i32_i24 v5, v1, tba_hi, v3        ; encoding: [0x05,0x00,0xc2,0xd1,0x01,0xdb,0x0c,0x04]
0x05,0x00,0xc2,0xd1,0x01,0xdb,0x0c,0x04

# CHECK: v_mad_i32_i24 v5, v1, tma_lo, v3        ; encoding: [0x05,0x00,0xc2,0xd1,0x01,0xdd,0x0c,0x04]
0x05,0x00,0xc2,0xd1,0x01,0xdd,0x0c,0x04

# CHECK: v_mad_i32_i24 v5, v1, tma_hi, v3        ; encoding: [0x05,0x00,0xc2,0xd1,0x01,0xdf,0x0c,0x04]
0x05,0x00,0xc2,0xd1,0x01,0xdf,0x0c,0x04

# CHECK: v_mad_i32_i24 v5, v1, ttmp11, v3        ; encoding: [0x05,0x00,0xc2,0xd1,0x01,0xf7,0x0c,0x04]
0x05,0x00,0xc2,0xd1,0x01,0xf7,0x0c,0x04

# CHECK: v_mad_i32_i24 v5, v1, m0, v3            ; encoding: [0x05,0x00,0xc2,0xd1,0x01,0xf9,0x0c,0x04]
0x05,0x00,0xc2,0xd1,0x01,0xf9,0x0c,0x04

# CHECK: v_mad_i32_i24 v5, v1, exec_lo, v3       ; encoding: [0x05,0x00,0xc2,0xd1,0x01,0xfd,0x0c,0x04]
0x05,0x00,0xc2,0xd1,0x01,0xfd,0x0c,0x04

# CHECK: v_mad_i32_i24 v5, v1, exec_hi, v3       ; encoding: [0x05,0x00,0xc2,0xd1,0x01,0xff,0x0c,0x04]
0x05,0x00,0xc2,0xd1,0x01,0xff,0x0c,0x04

# CHECK: v_mad_i32_i24 v5, v1, 0, v3             ; encoding: [0x05,0x00,0xc2,0xd1,0x01,0x01,0x0d,0x04]
0x05,0x00,0xc2,0xd1,0x01,0x01,0x0d,0x04

# CHECK: v_mad_i32_i24 v5, v1, -1, v3            ; encoding: [0x05,0x00,0xc2,0xd1,0x01,0x83,0x0d,0x04]
0x05,0x00,0xc2,0xd1,0x01,0x83,0x0d,0x04

# CHECK: v_mad_i32_i24 v5, v1, 0.5, v3           ; encoding: [0x05,0x00,0xc2,0xd1,0x01,0xe1,0x0d,0x04]
0x05,0x00,0xc2,0xd1,0x01,0xe1,0x0d,0x04

# CHECK: v_mad_i32_i24 v5, v1, -4.0, v3          ; encoding: [0x05,0x00,0xc2,0xd1,0x01,0xef,0x0d,0x04]
0x05,0x00,0xc2,0xd1,0x01,0xef,0x0d,0x04

# CHECK: v_mad_i32_i24 v5, v1, v2, v255          ; encoding: [0x05,0x00,0xc2,0xd1,0x01,0x05,0xfe,0x07]
0x05,0x00,0xc2,0xd1,0x01,0x05,0xfe,0x07

# CHECK: v_mad_i32_i24 v5, v1, v2, s3            ; encoding: [0x05,0x00,0xc2,0xd1,0x01,0x05,0x0e,0x00]
0x05,0x00,0xc2,0xd1,0x01,0x05,0x0e,0x00

# CHECK: v_mad_i32_i24 v5, v1, v2, s101          ; encoding: [0x05,0x00,0xc2,0xd1,0x01,0x05,0x96,0x01]
0x05,0x00,0xc2,0xd1,0x01,0x05,0x96,0x01

# CHECK: v_mad_i32_i24 v5, v1, v2, flat_scratch_lo ; encoding: [0x05,0x00,0xc2,0xd1,0x01,0x05,0x9a,0x01]
0x05,0x00,0xc2,0xd1,0x01,0x05,0x9a,0x01

# CHECK: v_mad_i32_i24 v5, v1, v2, flat_scratch_hi ; encoding: [0x05,0x00,0xc2,0xd1,0x01,0x05,0x9e,0x01]
0x05,0x00,0xc2,0xd1,0x01,0x05,0x9e,0x01

# CHECK: v_mad_i32_i24 v5, v1, v2, vcc_lo        ; encoding: [0x05,0x00,0xc2,0xd1,0x01,0x05,0xaa,0x01]
0x05,0x00,0xc2,0xd1,0x01,0x05,0xaa,0x01

# CHECK: v_mad_i32_i24 v5, v1, v2, vcc_hi        ; encoding: [0x05,0x00,0xc2,0xd1,0x01,0x05,0xae,0x01]
0x05,0x00,0xc2,0xd1,0x01,0x05,0xae,0x01

# CHECK: v_mad_i32_i24 v5, v1, v2, tba_lo        ; encoding: [0x05,0x00,0xc2,0xd1,0x01,0x05,0xb2,0x01]
0x05,0x00,0xc2,0xd1,0x01,0x05,0xb2,0x01

# CHECK: v_mad_i32_i24 v5, v1, v2, tba_hi        ; encoding: [0x05,0x00,0xc2,0xd1,0x01,0x05,0xb6,0x01]
0x05,0x00,0xc2,0xd1,0x01,0x05,0xb6,0x01

# CHECK: v_mad_i32_i24 v5, v1, v2, tma_lo        ; encoding: [0x05,0x00,0xc2,0xd1,0x01,0x05,0xba,0x01]
0x05,0x00,0xc2,0xd1,0x01,0x05,0xba,0x01

# CHECK: v_mad_i32_i24 v5, v1, v2, tma_hi        ; encoding: [0x05,0x00,0xc2,0xd1,0x01,0x05,0xbe,0x01]
0x05,0x00,0xc2,0xd1,0x01,0x05,0xbe,0x01

# CHECK: v_mad_i32_i24 v5, v1, v2, ttmp11        ; encoding: [0x05,0x00,0xc2,0xd1,0x01,0x05,0xee,0x01]
0x05,0x00,0xc2,0xd1,0x01,0x05,0xee,0x01

# CHECK: v_mad_i32_i24 v5, v1, v2, m0            ; encoding: [0x05,0x00,0xc2,0xd1,0x01,0x05,0xf2,0x01]
0x05,0x00,0xc2,0xd1,0x01,0x05,0xf2,0x01

# CHECK: v_mad_i32_i24 v5, v1, v2, exec_lo       ; encoding: [0x05,0x00,0xc2,0xd1,0x01,0x05,0xfa,0x01]
0x05,0x00,0xc2,0xd1,0x01,0x05,0xfa,0x01

# CHECK: v_mad_i32_i24 v5, v1, v2, exec_hi       ; encoding: [0x05,0x00,0xc2,0xd1,0x01,0x05,0xfe,0x01]
0x05,0x00,0xc2,0xd1,0x01,0x05,0xfe,0x01

# CHECK: v_mad_i32_i24 v5, v1, v2, 0             ; encoding: [0x05,0x00,0xc2,0xd1,0x01,0x05,0x02,0x02]
0x05,0x00,0xc2,0xd1,0x01,0x05,0x02,0x02

# CHECK: v_mad_i32_i24 v5, v1, v2, -1            ; encoding: [0x05,0x00,0xc2,0xd1,0x01,0x05,0x06,0x03]
0x05,0x00,0xc2,0xd1,0x01,0x05,0x06,0x03

# CHECK: v_mad_i32_i24 v5, v1, v2, 0.5           ; encoding: [0x05,0x00,0xc2,0xd1,0x01,0x05,0xc2,0x03]
0x05,0x00,0xc2,0xd1,0x01,0x05,0xc2,0x03

# CHECK: v_mad_i32_i24 v5, v1, v2, -4.0          ; encoding: [0x05,0x00,0xc2,0xd1,0x01,0x05,0xde,0x03]
0x05,0x00,0xc2,0xd1,0x01,0x05,0xde,0x03

# CHECK: v_mad_i32_i24 v5, v1, v2, v3 clamp      ; encoding: [0x05,0x80,0xc2,0xd1,0x01,0x05,0x0e,0x04]
0x05,0x80,0xc2,0xd1,0x01,0x05,0x0e,0x04

# CHECK: v_mad_u32_u24 v5, v1, v2, v3            ; encoding: [0x05,0x00,0xc3,0xd1,0x01,0x05,0x0e,0x04]
0x05,0x00,0xc3,0xd1,0x01,0x05,0x0e,0x04

# CHECK: v_mad_u32_u24 v255, v1, v2, v3          ; encoding: [0xff,0x00,0xc3,0xd1,0x01,0x05,0x0e,0x04]
0xff,0x00,0xc3,0xd1,0x01,0x05,0x0e,0x04

# CHECK: v_mad_u32_u24 v5, v255, v2, v3          ; encoding: [0x05,0x00,0xc3,0xd1,0xff,0x05,0x0e,0x04]
0x05,0x00,0xc3,0xd1,0xff,0x05,0x0e,0x04

# CHECK: v_mad_u32_u24 v5, s1, v2, v3            ; encoding: [0x05,0x00,0xc3,0xd1,0x01,0x04,0x0e,0x04]
0x05,0x00,0xc3,0xd1,0x01,0x04,0x0e,0x04

# CHECK: v_mad_u32_u24 v5, s101, v2, v3          ; encoding: [0x05,0x00,0xc3,0xd1,0x65,0x04,0x0e,0x04]
0x05,0x00,0xc3,0xd1,0x65,0x04,0x0e,0x04

# CHECK: v_mad_u32_u24 v5, flat_scratch_lo, v2, v3 ; encoding: [0x05,0x00,0xc3,0xd1,0x66,0x04,0x0e,0x04]
0x05,0x00,0xc3,0xd1,0x66,0x04,0x0e,0x04

# CHECK: v_mad_u32_u24 v5, flat_scratch_hi, v2, v3 ; encoding: [0x05,0x00,0xc3,0xd1,0x67,0x04,0x0e,0x04]
0x05,0x00,0xc3,0xd1,0x67,0x04,0x0e,0x04

# CHECK: v_mad_u32_u24 v5, vcc_lo, v2, v3        ; encoding: [0x05,0x00,0xc3,0xd1,0x6a,0x04,0x0e,0x04]
0x05,0x00,0xc3,0xd1,0x6a,0x04,0x0e,0x04

# CHECK: v_mad_u32_u24 v5, vcc_hi, v2, v3        ; encoding: [0x05,0x00,0xc3,0xd1,0x6b,0x04,0x0e,0x04]
0x05,0x00,0xc3,0xd1,0x6b,0x04,0x0e,0x04

# CHECK: v_mad_u32_u24 v5, tba_lo, v2, v3        ; encoding: [0x05,0x00,0xc3,0xd1,0x6c,0x04,0x0e,0x04]
0x05,0x00,0xc3,0xd1,0x6c,0x04,0x0e,0x04

# CHECK: v_mad_u32_u24 v5, tba_hi, v2, v3        ; encoding: [0x05,0x00,0xc3,0xd1,0x6d,0x04,0x0e,0x04]
0x05,0x00,0xc3,0xd1,0x6d,0x04,0x0e,0x04

# CHECK: v_mad_u32_u24 v5, tma_lo, v2, v3        ; encoding: [0x05,0x00,0xc3,0xd1,0x6e,0x04,0x0e,0x04]
0x05,0x00,0xc3,0xd1,0x6e,0x04,0x0e,0x04

# CHECK: v_mad_u32_u24 v5, tma_hi, v2, v3        ; encoding: [0x05,0x00,0xc3,0xd1,0x6f,0x04,0x0e,0x04]
0x05,0x00,0xc3,0xd1,0x6f,0x04,0x0e,0x04

# CHECK: v_mad_u32_u24 v5, ttmp11, v2, v3        ; encoding: [0x05,0x00,0xc3,0xd1,0x7b,0x04,0x0e,0x04]
0x05,0x00,0xc3,0xd1,0x7b,0x04,0x0e,0x04

# CHECK: v_mad_u32_u24 v5, m0, v2, v3            ; encoding: [0x05,0x00,0xc3,0xd1,0x7c,0x04,0x0e,0x04]
0x05,0x00,0xc3,0xd1,0x7c,0x04,0x0e,0x04

# CHECK: v_mad_u32_u24 v5, exec_lo, v2, v3       ; encoding: [0x05,0x00,0xc3,0xd1,0x7e,0x04,0x0e,0x04]
0x05,0x00,0xc3,0xd1,0x7e,0x04,0x0e,0x04

# CHECK: v_mad_u32_u24 v5, exec_hi, v2, v3       ; encoding: [0x05,0x00,0xc3,0xd1,0x7f,0x04,0x0e,0x04]
0x05,0x00,0xc3,0xd1,0x7f,0x04,0x0e,0x04

# CHECK: v_mad_u32_u24 v5, 0, v2, v3             ; encoding: [0x05,0x00,0xc3,0xd1,0x80,0x04,0x0e,0x04]
0x05,0x00,0xc3,0xd1,0x80,0x04,0x0e,0x04

# CHECK: v_mad_u32_u24 v5, -1, v2, v3            ; encoding: [0x05,0x00,0xc3,0xd1,0xc1,0x04,0x0e,0x04]
0x05,0x00,0xc3,0xd1,0xc1,0x04,0x0e,0x04

# CHECK: v_mad_u32_u24 v5, 0.5, v2, v3           ; encoding: [0x05,0x00,0xc3,0xd1,0xf0,0x04,0x0e,0x04]
0x05,0x00,0xc3,0xd1,0xf0,0x04,0x0e,0x04

# CHECK: v_mad_u32_u24 v5, -4.0, v2, v3          ; encoding: [0x05,0x00,0xc3,0xd1,0xf7,0x04,0x0e,0x04]
0x05,0x00,0xc3,0xd1,0xf7,0x04,0x0e,0x04

# CHECK: v_mad_u32_u24 v5, v1, v255, v3          ; encoding: [0x05,0x00,0xc3,0xd1,0x01,0xff,0x0f,0x04]
0x05,0x00,0xc3,0xd1,0x01,0xff,0x0f,0x04

# CHECK: v_mad_u32_u24 v5, v1, s2, v3            ; encoding: [0x05,0x00,0xc3,0xd1,0x01,0x05,0x0c,0x04]
0x05,0x00,0xc3,0xd1,0x01,0x05,0x0c,0x04

# CHECK: v_mad_u32_u24 v5, v1, s101, v3          ; encoding: [0x05,0x00,0xc3,0xd1,0x01,0xcb,0x0c,0x04]
0x05,0x00,0xc3,0xd1,0x01,0xcb,0x0c,0x04

# CHECK: v_mad_u32_u24 v5, v1, flat_scratch_lo, v3 ; encoding: [0x05,0x00,0xc3,0xd1,0x01,0xcd,0x0c,0x04]
0x05,0x00,0xc3,0xd1,0x01,0xcd,0x0c,0x04

# CHECK: v_mad_u32_u24 v5, v1, flat_scratch_hi, v3 ; encoding: [0x05,0x00,0xc3,0xd1,0x01,0xcf,0x0c,0x04]
0x05,0x00,0xc3,0xd1,0x01,0xcf,0x0c,0x04

# CHECK: v_mad_u32_u24 v5, v1, vcc_lo, v3        ; encoding: [0x05,0x00,0xc3,0xd1,0x01,0xd5,0x0c,0x04]
0x05,0x00,0xc3,0xd1,0x01,0xd5,0x0c,0x04

# CHECK: v_mad_u32_u24 v5, v1, vcc_hi, v3        ; encoding: [0x05,0x00,0xc3,0xd1,0x01,0xd7,0x0c,0x04]
0x05,0x00,0xc3,0xd1,0x01,0xd7,0x0c,0x04

# CHECK: v_mad_u32_u24 v5, v1, tba_lo, v3        ; encoding: [0x05,0x00,0xc3,0xd1,0x01,0xd9,0x0c,0x04]
0x05,0x00,0xc3,0xd1,0x01,0xd9,0x0c,0x04

# CHECK: v_mad_u32_u24 v5, v1, tba_hi, v3        ; encoding: [0x05,0x00,0xc3,0xd1,0x01,0xdb,0x0c,0x04]
0x05,0x00,0xc3,0xd1,0x01,0xdb,0x0c,0x04

# CHECK: v_mad_u32_u24 v5, v1, tma_lo, v3        ; encoding: [0x05,0x00,0xc3,0xd1,0x01,0xdd,0x0c,0x04]
0x05,0x00,0xc3,0xd1,0x01,0xdd,0x0c,0x04

# CHECK: v_mad_u32_u24 v5, v1, tma_hi, v3        ; encoding: [0x05,0x00,0xc3,0xd1,0x01,0xdf,0x0c,0x04]
0x05,0x00,0xc3,0xd1,0x01,0xdf,0x0c,0x04

# CHECK: v_mad_u32_u24 v5, v1, ttmp11, v3        ; encoding: [0x05,0x00,0xc3,0xd1,0x01,0xf7,0x0c,0x04]
0x05,0x00,0xc3,0xd1,0x01,0xf7,0x0c,0x04

# CHECK: v_mad_u32_u24 v5, v1, m0, v3            ; encoding: [0x05,0x00,0xc3,0xd1,0x01,0xf9,0x0c,0x04]
0x05,0x00,0xc3,0xd1,0x01,0xf9,0x0c,0x04

# CHECK: v_mad_u32_u24 v5, v1, exec_lo, v3       ; encoding: [0x05,0x00,0xc3,0xd1,0x01,0xfd,0x0c,0x04]
0x05,0x00,0xc3,0xd1,0x01,0xfd,0x0c,0x04

# CHECK: v_mad_u32_u24 v5, v1, exec_hi, v3       ; encoding: [0x05,0x00,0xc3,0xd1,0x01,0xff,0x0c,0x04]
0x05,0x00,0xc3,0xd1,0x01,0xff,0x0c,0x04

# CHECK: v_mad_u32_u24 v5, v1, 0, v3             ; encoding: [0x05,0x00,0xc3,0xd1,0x01,0x01,0x0d,0x04]
0x05,0x00,0xc3,0xd1,0x01,0x01,0x0d,0x04

# CHECK: v_mad_u32_u24 v5, v1, -1, v3            ; encoding: [0x05,0x00,0xc3,0xd1,0x01,0x83,0x0d,0x04]
0x05,0x00,0xc3,0xd1,0x01,0x83,0x0d,0x04

# CHECK: v_mad_u32_u24 v5, v1, 0.5, v3           ; encoding: [0x05,0x00,0xc3,0xd1,0x01,0xe1,0x0d,0x04]
0x05,0x00,0xc3,0xd1,0x01,0xe1,0x0d,0x04

# CHECK: v_mad_u32_u24 v5, v1, -4.0, v3          ; encoding: [0x05,0x00,0xc3,0xd1,0x01,0xef,0x0d,0x04]
0x05,0x00,0xc3,0xd1,0x01,0xef,0x0d,0x04

# CHECK: v_mad_u32_u24 v5, v1, v2, v255          ; encoding: [0x05,0x00,0xc3,0xd1,0x01,0x05,0xfe,0x07]
0x05,0x00,0xc3,0xd1,0x01,0x05,0xfe,0x07

# CHECK: v_mad_u32_u24 v5, v1, v2, s3            ; encoding: [0x05,0x00,0xc3,0xd1,0x01,0x05,0x0e,0x00]
0x05,0x00,0xc3,0xd1,0x01,0x05,0x0e,0x00

# CHECK: v_mad_u32_u24 v5, v1, v2, s101          ; encoding: [0x05,0x00,0xc3,0xd1,0x01,0x05,0x96,0x01]
0x05,0x00,0xc3,0xd1,0x01,0x05,0x96,0x01

# CHECK: v_mad_u32_u24 v5, v1, v2, flat_scratch_lo ; encoding: [0x05,0x00,0xc3,0xd1,0x01,0x05,0x9a,0x01]
0x05,0x00,0xc3,0xd1,0x01,0x05,0x9a,0x01

# CHECK: v_mad_u32_u24 v5, v1, v2, flat_scratch_hi ; encoding: [0x05,0x00,0xc3,0xd1,0x01,0x05,0x9e,0x01]
0x05,0x00,0xc3,0xd1,0x01,0x05,0x9e,0x01

# CHECK: v_mad_u32_u24 v5, v1, v2, vcc_lo        ; encoding: [0x05,0x00,0xc3,0xd1,0x01,0x05,0xaa,0x01]
0x05,0x00,0xc3,0xd1,0x01,0x05,0xaa,0x01

# CHECK: v_mad_u32_u24 v5, v1, v2, vcc_hi        ; encoding: [0x05,0x00,0xc3,0xd1,0x01,0x05,0xae,0x01]
0x05,0x00,0xc3,0xd1,0x01,0x05,0xae,0x01

# CHECK: v_mad_u32_u24 v5, v1, v2, tba_lo        ; encoding: [0x05,0x00,0xc3,0xd1,0x01,0x05,0xb2,0x01]
0x05,0x00,0xc3,0xd1,0x01,0x05,0xb2,0x01

# CHECK: v_mad_u32_u24 v5, v1, v2, tba_hi        ; encoding: [0x05,0x00,0xc3,0xd1,0x01,0x05,0xb6,0x01]
0x05,0x00,0xc3,0xd1,0x01,0x05,0xb6,0x01

# CHECK: v_mad_u32_u24 v5, v1, v2, tma_lo        ; encoding: [0x05,0x00,0xc3,0xd1,0x01,0x05,0xba,0x01]
0x05,0x00,0xc3,0xd1,0x01,0x05,0xba,0x01

# CHECK: v_mad_u32_u24 v5, v1, v2, tma_hi        ; encoding: [0x05,0x00,0xc3,0xd1,0x01,0x05,0xbe,0x01]
0x05,0x00,0xc3,0xd1,0x01,0x05,0xbe,0x01

# CHECK: v_mad_u32_u24 v5, v1, v2, ttmp11        ; encoding: [0x05,0x00,0xc3,0xd1,0x01,0x05,0xee,0x01]
0x05,0x00,0xc3,0xd1,0x01,0x05,0xee,0x01

# CHECK: v_mad_u32_u24 v5, v1, v2, m0            ; encoding: [0x05,0x00,0xc3,0xd1,0x01,0x05,0xf2,0x01]
0x05,0x00,0xc3,0xd1,0x01,0x05,0xf2,0x01

# CHECK: v_mad_u32_u24 v5, v1, v2, exec_lo       ; encoding: [0x05,0x00,0xc3,0xd1,0x01,0x05,0xfa,0x01]
0x05,0x00,0xc3,0xd1,0x01,0x05,0xfa,0x01

# CHECK: v_mad_u32_u24 v5, v1, v2, exec_hi       ; encoding: [0x05,0x00,0xc3,0xd1,0x01,0x05,0xfe,0x01]
0x05,0x00,0xc3,0xd1,0x01,0x05,0xfe,0x01

# CHECK: v_mad_u32_u24 v5, v1, v2, 0             ; encoding: [0x05,0x00,0xc3,0xd1,0x01,0x05,0x02,0x02]
0x05,0x00,0xc3,0xd1,0x01,0x05,0x02,0x02

# CHECK: v_mad_u32_u24 v5, v1, v2, -1            ; encoding: [0x05,0x00,0xc3,0xd1,0x01,0x05,0x06,0x03]
0x05,0x00,0xc3,0xd1,0x01,0x05,0x06,0x03

# CHECK: v_mad_u32_u24 v5, v1, v2, 0.5           ; encoding: [0x05,0x00,0xc3,0xd1,0x01,0x05,0xc2,0x03]
0x05,0x00,0xc3,0xd1,0x01,0x05,0xc2,0x03

# CHECK: v_mad_u32_u24 v5, v1, v2, -4.0          ; encoding: [0x05,0x00,0xc3,0xd1,0x01,0x05,0xde,0x03]
0x05,0x00,0xc3,0xd1,0x01,0x05,0xde,0x03

# CHECK: v_mad_u32_u24 v5, v1, v2, v3 clamp      ; encoding: [0x05,0x80,0xc3,0xd1,0x01,0x05,0x0e,0x04]
0x05,0x80,0xc3,0xd1,0x01,0x05,0x0e,0x04

# CHECK: v_cubeid_f32 v5, v1, v2, v3             ; encoding: [0x05,0x00,0xc4,0xd1,0x01,0x05,0x0e,0x04]
0x05,0x00,0xc4,0xd1,0x01,0x05,0x0e,0x04

# CHECK: v_cubeid_f32 v255, v1, v2, v3           ; encoding: [0xff,0x00,0xc4,0xd1,0x01,0x05,0x0e,0x04]
0xff,0x00,0xc4,0xd1,0x01,0x05,0x0e,0x04

# CHECK: v_cubeid_f32 v5, v255, v2, v3           ; encoding: [0x05,0x00,0xc4,0xd1,0xff,0x05,0x0e,0x04]
0x05,0x00,0xc4,0xd1,0xff,0x05,0x0e,0x04

# CHECK: v_cubeid_f32 v5, s1, v2, v3             ; encoding: [0x05,0x00,0xc4,0xd1,0x01,0x04,0x0e,0x04]
0x05,0x00,0xc4,0xd1,0x01,0x04,0x0e,0x04

# CHECK: v_cubeid_f32 v5, s101, v2, v3           ; encoding: [0x05,0x00,0xc4,0xd1,0x65,0x04,0x0e,0x04]
0x05,0x00,0xc4,0xd1,0x65,0x04,0x0e,0x04

# CHECK: v_cubeid_f32 v5, flat_scratch_lo, v2, v3 ; encoding: [0x05,0x00,0xc4,0xd1,0x66,0x04,0x0e,0x04]
0x05,0x00,0xc4,0xd1,0x66,0x04,0x0e,0x04

# CHECK: v_cubeid_f32 v5, flat_scratch_hi, v2, v3 ; encoding: [0x05,0x00,0xc4,0xd1,0x67,0x04,0x0e,0x04]
0x05,0x00,0xc4,0xd1,0x67,0x04,0x0e,0x04

# CHECK: v_cubeid_f32 v5, vcc_lo, v2, v3         ; encoding: [0x05,0x00,0xc4,0xd1,0x6a,0x04,0x0e,0x04]
0x05,0x00,0xc4,0xd1,0x6a,0x04,0x0e,0x04

# CHECK: v_cubeid_f32 v5, vcc_hi, v2, v3         ; encoding: [0x05,0x00,0xc4,0xd1,0x6b,0x04,0x0e,0x04]
0x05,0x00,0xc4,0xd1,0x6b,0x04,0x0e,0x04

# CHECK: v_cubeid_f32 v5, tba_lo, v2, v3         ; encoding: [0x05,0x00,0xc4,0xd1,0x6c,0x04,0x0e,0x04]
0x05,0x00,0xc4,0xd1,0x6c,0x04,0x0e,0x04

# CHECK: v_cubeid_f32 v5, tba_hi, v2, v3         ; encoding: [0x05,0x00,0xc4,0xd1,0x6d,0x04,0x0e,0x04]
0x05,0x00,0xc4,0xd1,0x6d,0x04,0x0e,0x04

# CHECK: v_cubeid_f32 v5, tma_lo, v2, v3         ; encoding: [0x05,0x00,0xc4,0xd1,0x6e,0x04,0x0e,0x04]
0x05,0x00,0xc4,0xd1,0x6e,0x04,0x0e,0x04

# CHECK: v_cubeid_f32 v5, tma_hi, v2, v3         ; encoding: [0x05,0x00,0xc4,0xd1,0x6f,0x04,0x0e,0x04]
0x05,0x00,0xc4,0xd1,0x6f,0x04,0x0e,0x04

# CHECK: v_cubeid_f32 v5, ttmp11, v2, v3         ; encoding: [0x05,0x00,0xc4,0xd1,0x7b,0x04,0x0e,0x04]
0x05,0x00,0xc4,0xd1,0x7b,0x04,0x0e,0x04

# CHECK: v_cubeid_f32 v5, m0, v2, v3             ; encoding: [0x05,0x00,0xc4,0xd1,0x7c,0x04,0x0e,0x04]
0x05,0x00,0xc4,0xd1,0x7c,0x04,0x0e,0x04

# CHECK: v_cubeid_f32 v5, exec_lo, v2, v3        ; encoding: [0x05,0x00,0xc4,0xd1,0x7e,0x04,0x0e,0x04]
0x05,0x00,0xc4,0xd1,0x7e,0x04,0x0e,0x04

# CHECK: v_cubeid_f32 v5, exec_hi, v2, v3        ; encoding: [0x05,0x00,0xc4,0xd1,0x7f,0x04,0x0e,0x04]
0x05,0x00,0xc4,0xd1,0x7f,0x04,0x0e,0x04

# CHECK: v_cubeid_f32 v5, 0, v2, v3              ; encoding: [0x05,0x00,0xc4,0xd1,0x80,0x04,0x0e,0x04]
0x05,0x00,0xc4,0xd1,0x80,0x04,0x0e,0x04

# CHECK: v_cubeid_f32 v5, -1, v2, v3             ; encoding: [0x05,0x00,0xc4,0xd1,0xc1,0x04,0x0e,0x04]
0x05,0x00,0xc4,0xd1,0xc1,0x04,0x0e,0x04

# CHECK: v_cubeid_f32 v5, 0.5, v2, v3            ; encoding: [0x05,0x00,0xc4,0xd1,0xf0,0x04,0x0e,0x04]
0x05,0x00,0xc4,0xd1,0xf0,0x04,0x0e,0x04

# CHECK: v_cubeid_f32 v5, -4.0, v2, v3           ; encoding: [0x05,0x00,0xc4,0xd1,0xf7,0x04,0x0e,0x04]
0x05,0x00,0xc4,0xd1,0xf7,0x04,0x0e,0x04

# CHECK: v_cubeid_f32 v5, v1, v255, v3           ; encoding: [0x05,0x00,0xc4,0xd1,0x01,0xff,0x0f,0x04]
0x05,0x00,0xc4,0xd1,0x01,0xff,0x0f,0x04

# CHECK: v_cubeid_f32 v5, v1, s2, v3             ; encoding: [0x05,0x00,0xc4,0xd1,0x01,0x05,0x0c,0x04]
0x05,0x00,0xc4,0xd1,0x01,0x05,0x0c,0x04

# CHECK: v_cubeid_f32 v5, v1, s101, v3           ; encoding: [0x05,0x00,0xc4,0xd1,0x01,0xcb,0x0c,0x04]
0x05,0x00,0xc4,0xd1,0x01,0xcb,0x0c,0x04

# CHECK: v_cubeid_f32 v5, v1, flat_scratch_lo, v3 ; encoding: [0x05,0x00,0xc4,0xd1,0x01,0xcd,0x0c,0x04]
0x05,0x00,0xc4,0xd1,0x01,0xcd,0x0c,0x04

# CHECK: v_cubeid_f32 v5, v1, flat_scratch_hi, v3 ; encoding: [0x05,0x00,0xc4,0xd1,0x01,0xcf,0x0c,0x04]
0x05,0x00,0xc4,0xd1,0x01,0xcf,0x0c,0x04

# CHECK: v_cubeid_f32 v5, v1, vcc_lo, v3         ; encoding: [0x05,0x00,0xc4,0xd1,0x01,0xd5,0x0c,0x04]
0x05,0x00,0xc4,0xd1,0x01,0xd5,0x0c,0x04

# CHECK: v_cubeid_f32 v5, v1, vcc_hi, v3         ; encoding: [0x05,0x00,0xc4,0xd1,0x01,0xd7,0x0c,0x04]
0x05,0x00,0xc4,0xd1,0x01,0xd7,0x0c,0x04

# CHECK: v_cubeid_f32 v5, v1, tba_lo, v3         ; encoding: [0x05,0x00,0xc4,0xd1,0x01,0xd9,0x0c,0x04]
0x05,0x00,0xc4,0xd1,0x01,0xd9,0x0c,0x04

# CHECK: v_cubeid_f32 v5, v1, tba_hi, v3         ; encoding: [0x05,0x00,0xc4,0xd1,0x01,0xdb,0x0c,0x04]
0x05,0x00,0xc4,0xd1,0x01,0xdb,0x0c,0x04

# CHECK: v_cubeid_f32 v5, v1, tma_lo, v3         ; encoding: [0x05,0x00,0xc4,0xd1,0x01,0xdd,0x0c,0x04]
0x05,0x00,0xc4,0xd1,0x01,0xdd,0x0c,0x04

# CHECK: v_cubeid_f32 v5, v1, tma_hi, v3         ; encoding: [0x05,0x00,0xc4,0xd1,0x01,0xdf,0x0c,0x04]
0x05,0x00,0xc4,0xd1,0x01,0xdf,0x0c,0x04

# CHECK: v_cubeid_f32 v5, v1, ttmp11, v3         ; encoding: [0x05,0x00,0xc4,0xd1,0x01,0xf7,0x0c,0x04]
0x05,0x00,0xc4,0xd1,0x01,0xf7,0x0c,0x04

# CHECK: v_cubeid_f32 v5, v1, m0, v3             ; encoding: [0x05,0x00,0xc4,0xd1,0x01,0xf9,0x0c,0x04]
0x05,0x00,0xc4,0xd1,0x01,0xf9,0x0c,0x04

# CHECK: v_cubeid_f32 v5, v1, exec_lo, v3        ; encoding: [0x05,0x00,0xc4,0xd1,0x01,0xfd,0x0c,0x04]
0x05,0x00,0xc4,0xd1,0x01,0xfd,0x0c,0x04

# CHECK: v_cubeid_f32 v5, v1, exec_hi, v3        ; encoding: [0x05,0x00,0xc4,0xd1,0x01,0xff,0x0c,0x04]
0x05,0x00,0xc4,0xd1,0x01,0xff,0x0c,0x04

# CHECK: v_cubeid_f32 v5, v1, 0, v3              ; encoding: [0x05,0x00,0xc4,0xd1,0x01,0x01,0x0d,0x04]
0x05,0x00,0xc4,0xd1,0x01,0x01,0x0d,0x04

# CHECK: v_cubeid_f32 v5, v1, -1, v3             ; encoding: [0x05,0x00,0xc4,0xd1,0x01,0x83,0x0d,0x04]
0x05,0x00,0xc4,0xd1,0x01,0x83,0x0d,0x04

# CHECK: v_cubeid_f32 v5, v1, 0.5, v3            ; encoding: [0x05,0x00,0xc4,0xd1,0x01,0xe1,0x0d,0x04]
0x05,0x00,0xc4,0xd1,0x01,0xe1,0x0d,0x04

# CHECK: v_cubeid_f32 v5, v1, -4.0, v3           ; encoding: [0x05,0x00,0xc4,0xd1,0x01,0xef,0x0d,0x04]
0x05,0x00,0xc4,0xd1,0x01,0xef,0x0d,0x04

# CHECK: v_cubeid_f32 v5, v1, v2, v255           ; encoding: [0x05,0x00,0xc4,0xd1,0x01,0x05,0xfe,0x07]
0x05,0x00,0xc4,0xd1,0x01,0x05,0xfe,0x07

# CHECK: v_cubeid_f32 v5, v1, v2, s3             ; encoding: [0x05,0x00,0xc4,0xd1,0x01,0x05,0x0e,0x00]
0x05,0x00,0xc4,0xd1,0x01,0x05,0x0e,0x00

# CHECK: v_cubeid_f32 v5, v1, v2, s101           ; encoding: [0x05,0x00,0xc4,0xd1,0x01,0x05,0x96,0x01]
0x05,0x00,0xc4,0xd1,0x01,0x05,0x96,0x01

# CHECK: v_cubeid_f32 v5, v1, v2, flat_scratch_lo ; encoding: [0x05,0x00,0xc4,0xd1,0x01,0x05,0x9a,0x01]
0x05,0x00,0xc4,0xd1,0x01,0x05,0x9a,0x01

# CHECK: v_cubeid_f32 v5, v1, v2, flat_scratch_hi ; encoding: [0x05,0x00,0xc4,0xd1,0x01,0x05,0x9e,0x01]
0x05,0x00,0xc4,0xd1,0x01,0x05,0x9e,0x01

# CHECK: v_cubeid_f32 v5, v1, v2, vcc_lo         ; encoding: [0x05,0x00,0xc4,0xd1,0x01,0x05,0xaa,0x01]
0x05,0x00,0xc4,0xd1,0x01,0x05,0xaa,0x01

# CHECK: v_cubeid_f32 v5, v1, v2, vcc_hi         ; encoding: [0x05,0x00,0xc4,0xd1,0x01,0x05,0xae,0x01]
0x05,0x00,0xc4,0xd1,0x01,0x05,0xae,0x01

# CHECK: v_cubeid_f32 v5, v1, v2, tba_lo         ; encoding: [0x05,0x00,0xc4,0xd1,0x01,0x05,0xb2,0x01]
0x05,0x00,0xc4,0xd1,0x01,0x05,0xb2,0x01

# CHECK: v_cubeid_f32 v5, v1, v2, tba_hi         ; encoding: [0x05,0x00,0xc4,0xd1,0x01,0x05,0xb6,0x01]
0x05,0x00,0xc4,0xd1,0x01,0x05,0xb6,0x01

# CHECK: v_cubeid_f32 v5, v1, v2, tma_lo         ; encoding: [0x05,0x00,0xc4,0xd1,0x01,0x05,0xba,0x01]
0x05,0x00,0xc4,0xd1,0x01,0x05,0xba,0x01

# CHECK: v_cubeid_f32 v5, v1, v2, tma_hi         ; encoding: [0x05,0x00,0xc4,0xd1,0x01,0x05,0xbe,0x01]
0x05,0x00,0xc4,0xd1,0x01,0x05,0xbe,0x01

# CHECK: v_cubeid_f32 v5, v1, v2, ttmp11         ; encoding: [0x05,0x00,0xc4,0xd1,0x01,0x05,0xee,0x01]
0x05,0x00,0xc4,0xd1,0x01,0x05,0xee,0x01

# CHECK: v_cubeid_f32 v5, v1, v2, m0             ; encoding: [0x05,0x00,0xc4,0xd1,0x01,0x05,0xf2,0x01]
0x05,0x00,0xc4,0xd1,0x01,0x05,0xf2,0x01

# CHECK: v_cubeid_f32 v5, v1, v2, exec_lo        ; encoding: [0x05,0x00,0xc4,0xd1,0x01,0x05,0xfa,0x01]
0x05,0x00,0xc4,0xd1,0x01,0x05,0xfa,0x01

# CHECK: v_cubeid_f32 v5, v1, v2, exec_hi        ; encoding: [0x05,0x00,0xc4,0xd1,0x01,0x05,0xfe,0x01]
0x05,0x00,0xc4,0xd1,0x01,0x05,0xfe,0x01

# CHECK: v_cubeid_f32 v5, v1, v2, 0              ; encoding: [0x05,0x00,0xc4,0xd1,0x01,0x05,0x02,0x02]
0x05,0x00,0xc4,0xd1,0x01,0x05,0x02,0x02

# CHECK: v_cubeid_f32 v5, v1, v2, -1             ; encoding: [0x05,0x00,0xc4,0xd1,0x01,0x05,0x06,0x03]
0x05,0x00,0xc4,0xd1,0x01,0x05,0x06,0x03

# CHECK: v_cubeid_f32 v5, v1, v2, 0.5            ; encoding: [0x05,0x00,0xc4,0xd1,0x01,0x05,0xc2,0x03]
0x05,0x00,0xc4,0xd1,0x01,0x05,0xc2,0x03

# CHECK: v_cubeid_f32 v5, v1, v2, -4.0           ; encoding: [0x05,0x00,0xc4,0xd1,0x01,0x05,0xde,0x03]
0x05,0x00,0xc4,0xd1,0x01,0x05,0xde,0x03

# CHECK: v_cubeid_f32 v5, -v1, v2, v3            ; encoding: [0x05,0x00,0xc4,0xd1,0x01,0x05,0x0e,0x24]
0x05,0x00,0xc4,0xd1,0x01,0x05,0x0e,0x24

# CHECK: v_cubeid_f32 v5, v1, -v2, v3            ; encoding: [0x05,0x00,0xc4,0xd1,0x01,0x05,0x0e,0x44]
0x05,0x00,0xc4,0xd1,0x01,0x05,0x0e,0x44

# CHECK: v_cubeid_f32 v5, v1, v2, -v3            ; encoding: [0x05,0x00,0xc4,0xd1,0x01,0x05,0x0e,0x84]
0x05,0x00,0xc4,0xd1,0x01,0x05,0x0e,0x84

# CHECK: v_cubeid_f32 v5, -v1, -v2, -v3          ; encoding: [0x05,0x00,0xc4,0xd1,0x01,0x05,0x0e,0xe4]
0x05,0x00,0xc4,0xd1,0x01,0x05,0x0e,0xe4

# CHECK: v_cubeid_f32 v5, |v1|, v2, v3           ; encoding: [0x05,0x01,0xc4,0xd1,0x01,0x05,0x0e,0x04]
0x05,0x01,0xc4,0xd1,0x01,0x05,0x0e,0x04

# CHECK: v_cubeid_f32 v5, v1, |v2|, v3           ; encoding: [0x05,0x02,0xc4,0xd1,0x01,0x05,0x0e,0x04]
0x05,0x02,0xc4,0xd1,0x01,0x05,0x0e,0x04

# CHECK: v_cubeid_f32 v5, v1, v2, |v3|           ; encoding: [0x05,0x04,0xc4,0xd1,0x01,0x05,0x0e,0x04]
0x05,0x04,0xc4,0xd1,0x01,0x05,0x0e,0x04

# CHECK: v_cubeid_f32 v5, |v1|, |v2|, |v3|       ; encoding: [0x05,0x07,0xc4,0xd1,0x01,0x05,0x0e,0x04]
0x05,0x07,0xc4,0xd1,0x01,0x05,0x0e,0x04

# CHECK: v_cubeid_f32 v5, v1, v2, v3 clamp       ; encoding: [0x05,0x80,0xc4,0xd1,0x01,0x05,0x0e,0x04]
0x05,0x80,0xc4,0xd1,0x01,0x05,0x0e,0x04

# CHECK: v_cubeid_f32 v5, v1, v2, v3 mul:2       ; encoding: [0x05,0x00,0xc4,0xd1,0x01,0x05,0x0e,0x0c]
0x05,0x00,0xc4,0xd1,0x01,0x05,0x0e,0x0c

# CHECK: v_cubeid_f32 v5, v1, v2, v3 mul:4       ; encoding: [0x05,0x00,0xc4,0xd1,0x01,0x05,0x0e,0x14]
0x05,0x00,0xc4,0xd1,0x01,0x05,0x0e,0x14

# CHECK: v_cubeid_f32 v5, v1, v2, v3 div:2       ; encoding: [0x05,0x00,0xc4,0xd1,0x01,0x05,0x0e,0x1c]
0x05,0x00,0xc4,0xd1,0x01,0x05,0x0e,0x1c

# CHECK: v_cubesc_f32 v5, v1, v2, v3             ; encoding: [0x05,0x00,0xc5,0xd1,0x01,0x05,0x0e,0x04]
0x05,0x00,0xc5,0xd1,0x01,0x05,0x0e,0x04

# CHECK: v_cubesc_f32 v255, v1, v2, v3           ; encoding: [0xff,0x00,0xc5,0xd1,0x01,0x05,0x0e,0x04]
0xff,0x00,0xc5,0xd1,0x01,0x05,0x0e,0x04

# CHECK: v_cubesc_f32 v5, v255, v2, v3           ; encoding: [0x05,0x00,0xc5,0xd1,0xff,0x05,0x0e,0x04]
0x05,0x00,0xc5,0xd1,0xff,0x05,0x0e,0x04

# CHECK: v_cubesc_f32 v5, s1, v2, v3             ; encoding: [0x05,0x00,0xc5,0xd1,0x01,0x04,0x0e,0x04]
0x05,0x00,0xc5,0xd1,0x01,0x04,0x0e,0x04

# CHECK: v_cubesc_f32 v5, s101, v2, v3           ; encoding: [0x05,0x00,0xc5,0xd1,0x65,0x04,0x0e,0x04]
0x05,0x00,0xc5,0xd1,0x65,0x04,0x0e,0x04

# CHECK: v_cubesc_f32 v5, flat_scratch_lo, v2, v3 ; encoding: [0x05,0x00,0xc5,0xd1,0x66,0x04,0x0e,0x04]
0x05,0x00,0xc5,0xd1,0x66,0x04,0x0e,0x04

# CHECK: v_cubesc_f32 v5, flat_scratch_hi, v2, v3 ; encoding: [0x05,0x00,0xc5,0xd1,0x67,0x04,0x0e,0x04]
0x05,0x00,0xc5,0xd1,0x67,0x04,0x0e,0x04

# CHECK: v_cubesc_f32 v5, vcc_lo, v2, v3         ; encoding: [0x05,0x00,0xc5,0xd1,0x6a,0x04,0x0e,0x04]
0x05,0x00,0xc5,0xd1,0x6a,0x04,0x0e,0x04

# CHECK: v_cubesc_f32 v5, vcc_hi, v2, v3         ; encoding: [0x05,0x00,0xc5,0xd1,0x6b,0x04,0x0e,0x04]
0x05,0x00,0xc5,0xd1,0x6b,0x04,0x0e,0x04

# CHECK: v_cubesc_f32 v5, tba_lo, v2, v3         ; encoding: [0x05,0x00,0xc5,0xd1,0x6c,0x04,0x0e,0x04]
0x05,0x00,0xc5,0xd1,0x6c,0x04,0x0e,0x04

# CHECK: v_cubesc_f32 v5, tba_hi, v2, v3         ; encoding: [0x05,0x00,0xc5,0xd1,0x6d,0x04,0x0e,0x04]
0x05,0x00,0xc5,0xd1,0x6d,0x04,0x0e,0x04

# CHECK: v_cubesc_f32 v5, tma_lo, v2, v3         ; encoding: [0x05,0x00,0xc5,0xd1,0x6e,0x04,0x0e,0x04]
0x05,0x00,0xc5,0xd1,0x6e,0x04,0x0e,0x04

# CHECK: v_cubesc_f32 v5, tma_hi, v2, v3         ; encoding: [0x05,0x00,0xc5,0xd1,0x6f,0x04,0x0e,0x04]
0x05,0x00,0xc5,0xd1,0x6f,0x04,0x0e,0x04

# CHECK: v_cubesc_f32 v5, ttmp11, v2, v3         ; encoding: [0x05,0x00,0xc5,0xd1,0x7b,0x04,0x0e,0x04]
0x05,0x00,0xc5,0xd1,0x7b,0x04,0x0e,0x04

# CHECK: v_cubesc_f32 v5, m0, v2, v3             ; encoding: [0x05,0x00,0xc5,0xd1,0x7c,0x04,0x0e,0x04]
0x05,0x00,0xc5,0xd1,0x7c,0x04,0x0e,0x04

# CHECK: v_cubesc_f32 v5, exec_lo, v2, v3        ; encoding: [0x05,0x00,0xc5,0xd1,0x7e,0x04,0x0e,0x04]
0x05,0x00,0xc5,0xd1,0x7e,0x04,0x0e,0x04

# CHECK: v_cubesc_f32 v5, exec_hi, v2, v3        ; encoding: [0x05,0x00,0xc5,0xd1,0x7f,0x04,0x0e,0x04]
0x05,0x00,0xc5,0xd1,0x7f,0x04,0x0e,0x04

# CHECK: v_cubesc_f32 v5, 0, v2, v3              ; encoding: [0x05,0x00,0xc5,0xd1,0x80,0x04,0x0e,0x04]
0x05,0x00,0xc5,0xd1,0x80,0x04,0x0e,0x04

# CHECK: v_cubesc_f32 v5, -1, v2, v3             ; encoding: [0x05,0x00,0xc5,0xd1,0xc1,0x04,0x0e,0x04]
0x05,0x00,0xc5,0xd1,0xc1,0x04,0x0e,0x04

# CHECK: v_cubesc_f32 v5, 0.5, v2, v3            ; encoding: [0x05,0x00,0xc5,0xd1,0xf0,0x04,0x0e,0x04]
0x05,0x00,0xc5,0xd1,0xf0,0x04,0x0e,0x04

# CHECK: v_cubesc_f32 v5, -4.0, v2, v3           ; encoding: [0x05,0x00,0xc5,0xd1,0xf7,0x04,0x0e,0x04]
0x05,0x00,0xc5,0xd1,0xf7,0x04,0x0e,0x04

# CHECK: v_cubesc_f32 v5, v1, v255, v3           ; encoding: [0x05,0x00,0xc5,0xd1,0x01,0xff,0x0f,0x04]
0x05,0x00,0xc5,0xd1,0x01,0xff,0x0f,0x04

# CHECK: v_cubesc_f32 v5, v1, s2, v3             ; encoding: [0x05,0x00,0xc5,0xd1,0x01,0x05,0x0c,0x04]
0x05,0x00,0xc5,0xd1,0x01,0x05,0x0c,0x04

# CHECK: v_cubesc_f32 v5, v1, s101, v3           ; encoding: [0x05,0x00,0xc5,0xd1,0x01,0xcb,0x0c,0x04]
0x05,0x00,0xc5,0xd1,0x01,0xcb,0x0c,0x04

# CHECK: v_cubesc_f32 v5, v1, flat_scratch_lo, v3 ; encoding: [0x05,0x00,0xc5,0xd1,0x01,0xcd,0x0c,0x04]
0x05,0x00,0xc5,0xd1,0x01,0xcd,0x0c,0x04

# CHECK: v_cubesc_f32 v5, v1, flat_scratch_hi, v3 ; encoding: [0x05,0x00,0xc5,0xd1,0x01,0xcf,0x0c,0x04]
0x05,0x00,0xc5,0xd1,0x01,0xcf,0x0c,0x04

# CHECK: v_cubesc_f32 v5, v1, vcc_lo, v3         ; encoding: [0x05,0x00,0xc5,0xd1,0x01,0xd5,0x0c,0x04]
0x05,0x00,0xc5,0xd1,0x01,0xd5,0x0c,0x04

# CHECK: v_cubesc_f32 v5, v1, vcc_hi, v3         ; encoding: [0x05,0x00,0xc5,0xd1,0x01,0xd7,0x0c,0x04]
0x05,0x00,0xc5,0xd1,0x01,0xd7,0x0c,0x04

# CHECK: v_cubesc_f32 v5, v1, tba_lo, v3         ; encoding: [0x05,0x00,0xc5,0xd1,0x01,0xd9,0x0c,0x04]
0x05,0x00,0xc5,0xd1,0x01,0xd9,0x0c,0x04

# CHECK: v_cubesc_f32 v5, v1, tba_hi, v3         ; encoding: [0x05,0x00,0xc5,0xd1,0x01,0xdb,0x0c,0x04]
0x05,0x00,0xc5,0xd1,0x01,0xdb,0x0c,0x04

# CHECK: v_cubesc_f32 v5, v1, tma_lo, v3         ; encoding: [0x05,0x00,0xc5,0xd1,0x01,0xdd,0x0c,0x04]
0x05,0x00,0xc5,0xd1,0x01,0xdd,0x0c,0x04

# CHECK: v_cubesc_f32 v5, v1, tma_hi, v3         ; encoding: [0x05,0x00,0xc5,0xd1,0x01,0xdf,0x0c,0x04]
0x05,0x00,0xc5,0xd1,0x01,0xdf,0x0c,0x04

# CHECK: v_cubesc_f32 v5, v1, ttmp11, v3         ; encoding: [0x05,0x00,0xc5,0xd1,0x01,0xf7,0x0c,0x04]
0x05,0x00,0xc5,0xd1,0x01,0xf7,0x0c,0x04

# CHECK: v_cubesc_f32 v5, v1, m0, v3             ; encoding: [0x05,0x00,0xc5,0xd1,0x01,0xf9,0x0c,0x04]
0x05,0x00,0xc5,0xd1,0x01,0xf9,0x0c,0x04

# CHECK: v_cubesc_f32 v5, v1, exec_lo, v3        ; encoding: [0x05,0x00,0xc5,0xd1,0x01,0xfd,0x0c,0x04]
0x05,0x00,0xc5,0xd1,0x01,0xfd,0x0c,0x04

# CHECK: v_cubesc_f32 v5, v1, exec_hi, v3        ; encoding: [0x05,0x00,0xc5,0xd1,0x01,0xff,0x0c,0x04]
0x05,0x00,0xc5,0xd1,0x01,0xff,0x0c,0x04

# CHECK: v_cubesc_f32 v5, v1, 0, v3              ; encoding: [0x05,0x00,0xc5,0xd1,0x01,0x01,0x0d,0x04]
0x05,0x00,0xc5,0xd1,0x01,0x01,0x0d,0x04

# CHECK: v_cubesc_f32 v5, v1, -1, v3             ; encoding: [0x05,0x00,0xc5,0xd1,0x01,0x83,0x0d,0x04]
0x05,0x00,0xc5,0xd1,0x01,0x83,0x0d,0x04

# CHECK: v_cubesc_f32 v5, v1, 0.5, v3            ; encoding: [0x05,0x00,0xc5,0xd1,0x01,0xe1,0x0d,0x04]
0x05,0x00,0xc5,0xd1,0x01,0xe1,0x0d,0x04

# CHECK: v_cubesc_f32 v5, v1, -4.0, v3           ; encoding: [0x05,0x00,0xc5,0xd1,0x01,0xef,0x0d,0x04]
0x05,0x00,0xc5,0xd1,0x01,0xef,0x0d,0x04

# CHECK: v_cubesc_f32 v5, v1, v2, v255           ; encoding: [0x05,0x00,0xc5,0xd1,0x01,0x05,0xfe,0x07]
0x05,0x00,0xc5,0xd1,0x01,0x05,0xfe,0x07

# CHECK: v_cubesc_f32 v5, v1, v2, s3             ; encoding: [0x05,0x00,0xc5,0xd1,0x01,0x05,0x0e,0x00]
0x05,0x00,0xc5,0xd1,0x01,0x05,0x0e,0x00

# CHECK: v_cubesc_f32 v5, v1, v2, s101           ; encoding: [0x05,0x00,0xc5,0xd1,0x01,0x05,0x96,0x01]
0x05,0x00,0xc5,0xd1,0x01,0x05,0x96,0x01

# CHECK: v_cubesc_f32 v5, v1, v2, flat_scratch_lo ; encoding: [0x05,0x00,0xc5,0xd1,0x01,0x05,0x9a,0x01]
0x05,0x00,0xc5,0xd1,0x01,0x05,0x9a,0x01

# CHECK: v_cubesc_f32 v5, v1, v2, flat_scratch_hi ; encoding: [0x05,0x00,0xc5,0xd1,0x01,0x05,0x9e,0x01]
0x05,0x00,0xc5,0xd1,0x01,0x05,0x9e,0x01

# CHECK: v_cubesc_f32 v5, v1, v2, vcc_lo         ; encoding: [0x05,0x00,0xc5,0xd1,0x01,0x05,0xaa,0x01]
0x05,0x00,0xc5,0xd1,0x01,0x05,0xaa,0x01

# CHECK: v_cubesc_f32 v5, v1, v2, vcc_hi         ; encoding: [0x05,0x00,0xc5,0xd1,0x01,0x05,0xae,0x01]
0x05,0x00,0xc5,0xd1,0x01,0x05,0xae,0x01

# CHECK: v_cubesc_f32 v5, v1, v2, tba_lo         ; encoding: [0x05,0x00,0xc5,0xd1,0x01,0x05,0xb2,0x01]
0x05,0x00,0xc5,0xd1,0x01,0x05,0xb2,0x01

# CHECK: v_cubesc_f32 v5, v1, v2, tba_hi         ; encoding: [0x05,0x00,0xc5,0xd1,0x01,0x05,0xb6,0x01]
0x05,0x00,0xc5,0xd1,0x01,0x05,0xb6,0x01

# CHECK: v_cubesc_f32 v5, v1, v2, tma_lo         ; encoding: [0x05,0x00,0xc5,0xd1,0x01,0x05,0xba,0x01]
0x05,0x00,0xc5,0xd1,0x01,0x05,0xba,0x01

# CHECK: v_cubesc_f32 v5, v1, v2, tma_hi         ; encoding: [0x05,0x00,0xc5,0xd1,0x01,0x05,0xbe,0x01]
0x05,0x00,0xc5,0xd1,0x01,0x05,0xbe,0x01

# CHECK: v_cubesc_f32 v5, v1, v2, ttmp11         ; encoding: [0x05,0x00,0xc5,0xd1,0x01,0x05,0xee,0x01]
0x05,0x00,0xc5,0xd1,0x01,0x05,0xee,0x01

# CHECK: v_cubesc_f32 v5, v1, v2, m0             ; encoding: [0x05,0x00,0xc5,0xd1,0x01,0x05,0xf2,0x01]
0x05,0x00,0xc5,0xd1,0x01,0x05,0xf2,0x01

# CHECK: v_cubesc_f32 v5, v1, v2, exec_lo        ; encoding: [0x05,0x00,0xc5,0xd1,0x01,0x05,0xfa,0x01]
0x05,0x00,0xc5,0xd1,0x01,0x05,0xfa,0x01

# CHECK: v_cubesc_f32 v5, v1, v2, exec_hi        ; encoding: [0x05,0x00,0xc5,0xd1,0x01,0x05,0xfe,0x01]
0x05,0x00,0xc5,0xd1,0x01,0x05,0xfe,0x01

# CHECK: v_cubesc_f32 v5, v1, v2, 0              ; encoding: [0x05,0x00,0xc5,0xd1,0x01,0x05,0x02,0x02]
0x05,0x00,0xc5,0xd1,0x01,0x05,0x02,0x02

# CHECK: v_cubesc_f32 v5, v1, v2, -1             ; encoding: [0x05,0x00,0xc5,0xd1,0x01,0x05,0x06,0x03]
0x05,0x00,0xc5,0xd1,0x01,0x05,0x06,0x03

# CHECK: v_cubesc_f32 v5, v1, v2, 0.5            ; encoding: [0x05,0x00,0xc5,0xd1,0x01,0x05,0xc2,0x03]
0x05,0x00,0xc5,0xd1,0x01,0x05,0xc2,0x03

# CHECK: v_cubesc_f32 v5, v1, v2, -4.0           ; encoding: [0x05,0x00,0xc5,0xd1,0x01,0x05,0xde,0x03]
0x05,0x00,0xc5,0xd1,0x01,0x05,0xde,0x03

# CHECK: v_cubesc_f32 v5, -v1, v2, v3            ; encoding: [0x05,0x00,0xc5,0xd1,0x01,0x05,0x0e,0x24]
0x05,0x00,0xc5,0xd1,0x01,0x05,0x0e,0x24

# CHECK: v_cubesc_f32 v5, v1, -v2, v3            ; encoding: [0x05,0x00,0xc5,0xd1,0x01,0x05,0x0e,0x44]
0x05,0x00,0xc5,0xd1,0x01,0x05,0x0e,0x44

# CHECK: v_cubesc_f32 v5, v1, v2, -v3            ; encoding: [0x05,0x00,0xc5,0xd1,0x01,0x05,0x0e,0x84]
0x05,0x00,0xc5,0xd1,0x01,0x05,0x0e,0x84

# CHECK: v_cubesc_f32 v5, -v1, -v2, -v3          ; encoding: [0x05,0x00,0xc5,0xd1,0x01,0x05,0x0e,0xe4]
0x05,0x00,0xc5,0xd1,0x01,0x05,0x0e,0xe4

# CHECK: v_cubesc_f32 v5, |v1|, v2, v3           ; encoding: [0x05,0x01,0xc5,0xd1,0x01,0x05,0x0e,0x04]
0x05,0x01,0xc5,0xd1,0x01,0x05,0x0e,0x04

# CHECK: v_cubesc_f32 v5, v1, |v2|, v3           ; encoding: [0x05,0x02,0xc5,0xd1,0x01,0x05,0x0e,0x04]
0x05,0x02,0xc5,0xd1,0x01,0x05,0x0e,0x04

# CHECK: v_cubesc_f32 v5, v1, v2, |v3|           ; encoding: [0x05,0x04,0xc5,0xd1,0x01,0x05,0x0e,0x04]
0x05,0x04,0xc5,0xd1,0x01,0x05,0x0e,0x04

# CHECK: v_cubesc_f32 v5, |v1|, |v2|, |v3|       ; encoding: [0x05,0x07,0xc5,0xd1,0x01,0x05,0x0e,0x04]
0x05,0x07,0xc5,0xd1,0x01,0x05,0x0e,0x04

# CHECK: v_cubesc_f32 v5, v1, v2, v3 clamp       ; encoding: [0x05,0x80,0xc5,0xd1,0x01,0x05,0x0e,0x04]
0x05,0x80,0xc5,0xd1,0x01,0x05,0x0e,0x04

# CHECK: v_cubesc_f32 v5, v1, v2, v3 mul:2       ; encoding: [0x05,0x00,0xc5,0xd1,0x01,0x05,0x0e,0x0c]
0x05,0x00,0xc5,0xd1,0x01,0x05,0x0e,0x0c

# CHECK: v_cubesc_f32 v5, v1, v2, v3 mul:4       ; encoding: [0x05,0x00,0xc5,0xd1,0x01,0x05,0x0e,0x14]
0x05,0x00,0xc5,0xd1,0x01,0x05,0x0e,0x14

# CHECK: v_cubesc_f32 v5, v1, v2, v3 div:2       ; encoding: [0x05,0x00,0xc5,0xd1,0x01,0x05,0x0e,0x1c]
0x05,0x00,0xc5,0xd1,0x01,0x05,0x0e,0x1c

# CHECK: v_cubetc_f32 v5, v1, v2, v3             ; encoding: [0x05,0x00,0xc6,0xd1,0x01,0x05,0x0e,0x04]
0x05,0x00,0xc6,0xd1,0x01,0x05,0x0e,0x04

# CHECK: v_cubetc_f32 v255, v1, v2, v3           ; encoding: [0xff,0x00,0xc6,0xd1,0x01,0x05,0x0e,0x04]
0xff,0x00,0xc6,0xd1,0x01,0x05,0x0e,0x04

# CHECK: v_cubetc_f32 v5, v255, v2, v3           ; encoding: [0x05,0x00,0xc6,0xd1,0xff,0x05,0x0e,0x04]
0x05,0x00,0xc6,0xd1,0xff,0x05,0x0e,0x04

# CHECK: v_cubetc_f32 v5, s1, v2, v3             ; encoding: [0x05,0x00,0xc6,0xd1,0x01,0x04,0x0e,0x04]
0x05,0x00,0xc6,0xd1,0x01,0x04,0x0e,0x04

# CHECK: v_cubetc_f32 v5, s101, v2, v3           ; encoding: [0x05,0x00,0xc6,0xd1,0x65,0x04,0x0e,0x04]
0x05,0x00,0xc6,0xd1,0x65,0x04,0x0e,0x04

# CHECK: v_cubetc_f32 v5, flat_scratch_lo, v2, v3 ; encoding: [0x05,0x00,0xc6,0xd1,0x66,0x04,0x0e,0x04]
0x05,0x00,0xc6,0xd1,0x66,0x04,0x0e,0x04

# CHECK: v_cubetc_f32 v5, flat_scratch_hi, v2, v3 ; encoding: [0x05,0x00,0xc6,0xd1,0x67,0x04,0x0e,0x04]
0x05,0x00,0xc6,0xd1,0x67,0x04,0x0e,0x04

# CHECK: v_cubetc_f32 v5, vcc_lo, v2, v3         ; encoding: [0x05,0x00,0xc6,0xd1,0x6a,0x04,0x0e,0x04]
0x05,0x00,0xc6,0xd1,0x6a,0x04,0x0e,0x04

# CHECK: v_cubetc_f32 v5, vcc_hi, v2, v3         ; encoding: [0x05,0x00,0xc6,0xd1,0x6b,0x04,0x0e,0x04]
0x05,0x00,0xc6,0xd1,0x6b,0x04,0x0e,0x04

# CHECK: v_cubetc_f32 v5, tba_lo, v2, v3         ; encoding: [0x05,0x00,0xc6,0xd1,0x6c,0x04,0x0e,0x04]
0x05,0x00,0xc6,0xd1,0x6c,0x04,0x0e,0x04

# CHECK: v_cubetc_f32 v5, tba_hi, v2, v3         ; encoding: [0x05,0x00,0xc6,0xd1,0x6d,0x04,0x0e,0x04]
0x05,0x00,0xc6,0xd1,0x6d,0x04,0x0e,0x04

# CHECK: v_cubetc_f32 v5, tma_lo, v2, v3         ; encoding: [0x05,0x00,0xc6,0xd1,0x6e,0x04,0x0e,0x04]
0x05,0x00,0xc6,0xd1,0x6e,0x04,0x0e,0x04

# CHECK: v_cubetc_f32 v5, tma_hi, v2, v3         ; encoding: [0x05,0x00,0xc6,0xd1,0x6f,0x04,0x0e,0x04]
0x05,0x00,0xc6,0xd1,0x6f,0x04,0x0e,0x04

# CHECK: v_cubetc_f32 v5, ttmp11, v2, v3         ; encoding: [0x05,0x00,0xc6,0xd1,0x7b,0x04,0x0e,0x04]
0x05,0x00,0xc6,0xd1,0x7b,0x04,0x0e,0x04

# CHECK: v_cubetc_f32 v5, m0, v2, v3             ; encoding: [0x05,0x00,0xc6,0xd1,0x7c,0x04,0x0e,0x04]
0x05,0x00,0xc6,0xd1,0x7c,0x04,0x0e,0x04

# CHECK: v_cubetc_f32 v5, exec_lo, v2, v3        ; encoding: [0x05,0x00,0xc6,0xd1,0x7e,0x04,0x0e,0x04]
0x05,0x00,0xc6,0xd1,0x7e,0x04,0x0e,0x04

# CHECK: v_cubetc_f32 v5, exec_hi, v2, v3        ; encoding: [0x05,0x00,0xc6,0xd1,0x7f,0x04,0x0e,0x04]
0x05,0x00,0xc6,0xd1,0x7f,0x04,0x0e,0x04

# CHECK: v_cubetc_f32 v5, 0, v2, v3              ; encoding: [0x05,0x00,0xc6,0xd1,0x80,0x04,0x0e,0x04]
0x05,0x00,0xc6,0xd1,0x80,0x04,0x0e,0x04

# CHECK: v_cubetc_f32 v5, -1, v2, v3             ; encoding: [0x05,0x00,0xc6,0xd1,0xc1,0x04,0x0e,0x04]
0x05,0x00,0xc6,0xd1,0xc1,0x04,0x0e,0x04

# CHECK: v_cubetc_f32 v5, 0.5, v2, v3            ; encoding: [0x05,0x00,0xc6,0xd1,0xf0,0x04,0x0e,0x04]
0x05,0x00,0xc6,0xd1,0xf0,0x04,0x0e,0x04

# CHECK: v_cubetc_f32 v5, -4.0, v2, v3           ; encoding: [0x05,0x00,0xc6,0xd1,0xf7,0x04,0x0e,0x04]
0x05,0x00,0xc6,0xd1,0xf7,0x04,0x0e,0x04

# CHECK: v_cubetc_f32 v5, v1, v255, v3           ; encoding: [0x05,0x00,0xc6,0xd1,0x01,0xff,0x0f,0x04]
0x05,0x00,0xc6,0xd1,0x01,0xff,0x0f,0x04

# CHECK: v_cubetc_f32 v5, v1, s2, v3             ; encoding: [0x05,0x00,0xc6,0xd1,0x01,0x05,0x0c,0x04]
0x05,0x00,0xc6,0xd1,0x01,0x05,0x0c,0x04

# CHECK: v_cubetc_f32 v5, v1, s101, v3           ; encoding: [0x05,0x00,0xc6,0xd1,0x01,0xcb,0x0c,0x04]
0x05,0x00,0xc6,0xd1,0x01,0xcb,0x0c,0x04

# CHECK: v_cubetc_f32 v5, v1, flat_scratch_lo, v3 ; encoding: [0x05,0x00,0xc6,0xd1,0x01,0xcd,0x0c,0x04]
0x05,0x00,0xc6,0xd1,0x01,0xcd,0x0c,0x04

# CHECK: v_cubetc_f32 v5, v1, flat_scratch_hi, v3 ; encoding: [0x05,0x00,0xc6,0xd1,0x01,0xcf,0x0c,0x04]
0x05,0x00,0xc6,0xd1,0x01,0xcf,0x0c,0x04

# CHECK: v_cubetc_f32 v5, v1, vcc_lo, v3         ; encoding: [0x05,0x00,0xc6,0xd1,0x01,0xd5,0x0c,0x04]
0x05,0x00,0xc6,0xd1,0x01,0xd5,0x0c,0x04

# CHECK: v_cubetc_f32 v5, v1, vcc_hi, v3         ; encoding: [0x05,0x00,0xc6,0xd1,0x01,0xd7,0x0c,0x04]
0x05,0x00,0xc6,0xd1,0x01,0xd7,0x0c,0x04

# CHECK: v_cubetc_f32 v5, v1, tba_lo, v3         ; encoding: [0x05,0x00,0xc6,0xd1,0x01,0xd9,0x0c,0x04]
0x05,0x00,0xc6,0xd1,0x01,0xd9,0x0c,0x04

# CHECK: v_cubetc_f32 v5, v1, tba_hi, v3         ; encoding: [0x05,0x00,0xc6,0xd1,0x01,0xdb,0x0c,0x04]
0x05,0x00,0xc6,0xd1,0x01,0xdb,0x0c,0x04

# CHECK: v_cubetc_f32 v5, v1, tma_lo, v3         ; encoding: [0x05,0x00,0xc6,0xd1,0x01,0xdd,0x0c,0x04]
0x05,0x00,0xc6,0xd1,0x01,0xdd,0x0c,0x04

# CHECK: v_cubetc_f32 v5, v1, tma_hi, v3         ; encoding: [0x05,0x00,0xc6,0xd1,0x01,0xdf,0x0c,0x04]
0x05,0x00,0xc6,0xd1,0x01,0xdf,0x0c,0x04

# CHECK: v_cubetc_f32 v5, v1, ttmp11, v3         ; encoding: [0x05,0x00,0xc6,0xd1,0x01,0xf7,0x0c,0x04]
0x05,0x00,0xc6,0xd1,0x01,0xf7,0x0c,0x04

# CHECK: v_cubetc_f32 v5, v1, m0, v3             ; encoding: [0x05,0x00,0xc6,0xd1,0x01,0xf9,0x0c,0x04]
0x05,0x00,0xc6,0xd1,0x01,0xf9,0x0c,0x04

# CHECK: v_cubetc_f32 v5, v1, exec_lo, v3        ; encoding: [0x05,0x00,0xc6,0xd1,0x01,0xfd,0x0c,0x04]
0x05,0x00,0xc6,0xd1,0x01,0xfd,0x0c,0x04

# CHECK: v_cubetc_f32 v5, v1, exec_hi, v3        ; encoding: [0x05,0x00,0xc6,0xd1,0x01,0xff,0x0c,0x04]
0x05,0x00,0xc6,0xd1,0x01,0xff,0x0c,0x04

# CHECK: v_cubetc_f32 v5, v1, 0, v3              ; encoding: [0x05,0x00,0xc6,0xd1,0x01,0x01,0x0d,0x04]
0x05,0x00,0xc6,0xd1,0x01,0x01,0x0d,0x04

# CHECK: v_cubetc_f32 v5, v1, -1, v3             ; encoding: [0x05,0x00,0xc6,0xd1,0x01,0x83,0x0d,0x04]
0x05,0x00,0xc6,0xd1,0x01,0x83,0x0d,0x04

# CHECK: v_cubetc_f32 v5, v1, 0.5, v3            ; encoding: [0x05,0x00,0xc6,0xd1,0x01,0xe1,0x0d,0x04]
0x05,0x00,0xc6,0xd1,0x01,0xe1,0x0d,0x04

# CHECK: v_cubetc_f32 v5, v1, -4.0, v3           ; encoding: [0x05,0x00,0xc6,0xd1,0x01,0xef,0x0d,0x04]
0x05,0x00,0xc6,0xd1,0x01,0xef,0x0d,0x04

# CHECK: v_cubetc_f32 v5, v1, v2, v255           ; encoding: [0x05,0x00,0xc6,0xd1,0x01,0x05,0xfe,0x07]
0x05,0x00,0xc6,0xd1,0x01,0x05,0xfe,0x07

# CHECK: v_cubetc_f32 v5, v1, v2, s3             ; encoding: [0x05,0x00,0xc6,0xd1,0x01,0x05,0x0e,0x00]
0x05,0x00,0xc6,0xd1,0x01,0x05,0x0e,0x00

# CHECK: v_cubetc_f32 v5, v1, v2, s101           ; encoding: [0x05,0x00,0xc6,0xd1,0x01,0x05,0x96,0x01]
0x05,0x00,0xc6,0xd1,0x01,0x05,0x96,0x01

# CHECK: v_cubetc_f32 v5, v1, v2, flat_scratch_lo ; encoding: [0x05,0x00,0xc6,0xd1,0x01,0x05,0x9a,0x01]
0x05,0x00,0xc6,0xd1,0x01,0x05,0x9a,0x01

# CHECK: v_cubetc_f32 v5, v1, v2, flat_scratch_hi ; encoding: [0x05,0x00,0xc6,0xd1,0x01,0x05,0x9e,0x01]
0x05,0x00,0xc6,0xd1,0x01,0x05,0x9e,0x01

# CHECK: v_cubetc_f32 v5, v1, v2, vcc_lo         ; encoding: [0x05,0x00,0xc6,0xd1,0x01,0x05,0xaa,0x01]
0x05,0x00,0xc6,0xd1,0x01,0x05,0xaa,0x01

# CHECK: v_cubetc_f32 v5, v1, v2, vcc_hi         ; encoding: [0x05,0x00,0xc6,0xd1,0x01,0x05,0xae,0x01]
0x05,0x00,0xc6,0xd1,0x01,0x05,0xae,0x01

# CHECK: v_cubetc_f32 v5, v1, v2, tba_lo         ; encoding: [0x05,0x00,0xc6,0xd1,0x01,0x05,0xb2,0x01]
0x05,0x00,0xc6,0xd1,0x01,0x05,0xb2,0x01

# CHECK: v_cubetc_f32 v5, v1, v2, tba_hi         ; encoding: [0x05,0x00,0xc6,0xd1,0x01,0x05,0xb6,0x01]
0x05,0x00,0xc6,0xd1,0x01,0x05,0xb6,0x01

# CHECK: v_cubetc_f32 v5, v1, v2, tma_lo         ; encoding: [0x05,0x00,0xc6,0xd1,0x01,0x05,0xba,0x01]
0x05,0x00,0xc6,0xd1,0x01,0x05,0xba,0x01

# CHECK: v_cubetc_f32 v5, v1, v2, tma_hi         ; encoding: [0x05,0x00,0xc6,0xd1,0x01,0x05,0xbe,0x01]
0x05,0x00,0xc6,0xd1,0x01,0x05,0xbe,0x01

# CHECK: v_cubetc_f32 v5, v1, v2, ttmp11         ; encoding: [0x05,0x00,0xc6,0xd1,0x01,0x05,0xee,0x01]
0x05,0x00,0xc6,0xd1,0x01,0x05,0xee,0x01

# CHECK: v_cubetc_f32 v5, v1, v2, m0             ; encoding: [0x05,0x00,0xc6,0xd1,0x01,0x05,0xf2,0x01]
0x05,0x00,0xc6,0xd1,0x01,0x05,0xf2,0x01

# CHECK: v_cubetc_f32 v5, v1, v2, exec_lo        ; encoding: [0x05,0x00,0xc6,0xd1,0x01,0x05,0xfa,0x01]
0x05,0x00,0xc6,0xd1,0x01,0x05,0xfa,0x01

# CHECK: v_cubetc_f32 v5, v1, v2, exec_hi        ; encoding: [0x05,0x00,0xc6,0xd1,0x01,0x05,0xfe,0x01]
0x05,0x00,0xc6,0xd1,0x01,0x05,0xfe,0x01

# CHECK: v_cubetc_f32 v5, v1, v2, 0              ; encoding: [0x05,0x00,0xc6,0xd1,0x01,0x05,0x02,0x02]
0x05,0x00,0xc6,0xd1,0x01,0x05,0x02,0x02

# CHECK: v_cubetc_f32 v5, v1, v2, -1             ; encoding: [0x05,0x00,0xc6,0xd1,0x01,0x05,0x06,0x03]
0x05,0x00,0xc6,0xd1,0x01,0x05,0x06,0x03

# CHECK: v_cubetc_f32 v5, v1, v2, 0.5            ; encoding: [0x05,0x00,0xc6,0xd1,0x01,0x05,0xc2,0x03]
0x05,0x00,0xc6,0xd1,0x01,0x05,0xc2,0x03

# CHECK: v_cubetc_f32 v5, v1, v2, -4.0           ; encoding: [0x05,0x00,0xc6,0xd1,0x01,0x05,0xde,0x03]
0x05,0x00,0xc6,0xd1,0x01,0x05,0xde,0x03

# CHECK: v_cubetc_f32 v5, -v1, v2, v3            ; encoding: [0x05,0x00,0xc6,0xd1,0x01,0x05,0x0e,0x24]
0x05,0x00,0xc6,0xd1,0x01,0x05,0x0e,0x24

# CHECK: v_cubetc_f32 v5, v1, -v2, v3            ; encoding: [0x05,0x00,0xc6,0xd1,0x01,0x05,0x0e,0x44]
0x05,0x00,0xc6,0xd1,0x01,0x05,0x0e,0x44

# CHECK: v_cubetc_f32 v5, v1, v2, -v3            ; encoding: [0x05,0x00,0xc6,0xd1,0x01,0x05,0x0e,0x84]
0x05,0x00,0xc6,0xd1,0x01,0x05,0x0e,0x84

# CHECK: v_cubetc_f32 v5, -v1, -v2, -v3          ; encoding: [0x05,0x00,0xc6,0xd1,0x01,0x05,0x0e,0xe4]
0x05,0x00,0xc6,0xd1,0x01,0x05,0x0e,0xe4

# CHECK: v_cubetc_f32 v5, |v1|, v2, v3           ; encoding: [0x05,0x01,0xc6,0xd1,0x01,0x05,0x0e,0x04]
0x05,0x01,0xc6,0xd1,0x01,0x05,0x0e,0x04

# CHECK: v_cubetc_f32 v5, v1, |v2|, v3           ; encoding: [0x05,0x02,0xc6,0xd1,0x01,0x05,0x0e,0x04]
0x05,0x02,0xc6,0xd1,0x01,0x05,0x0e,0x04

# CHECK: v_cubetc_f32 v5, v1, v2, |v3|           ; encoding: [0x05,0x04,0xc6,0xd1,0x01,0x05,0x0e,0x04]
0x05,0x04,0xc6,0xd1,0x01,0x05,0x0e,0x04

# CHECK: v_cubetc_f32 v5, |v1|, |v2|, |v3|       ; encoding: [0x05,0x07,0xc6,0xd1,0x01,0x05,0x0e,0x04]
0x05,0x07,0xc6,0xd1,0x01,0x05,0x0e,0x04

# CHECK: v_cubetc_f32 v5, v1, v2, v3 clamp       ; encoding: [0x05,0x80,0xc6,0xd1,0x01,0x05,0x0e,0x04]
0x05,0x80,0xc6,0xd1,0x01,0x05,0x0e,0x04

# CHECK: v_cubetc_f32 v5, v1, v2, v3 mul:2       ; encoding: [0x05,0x00,0xc6,0xd1,0x01,0x05,0x0e,0x0c]
0x05,0x00,0xc6,0xd1,0x01,0x05,0x0e,0x0c

# CHECK: v_cubetc_f32 v5, v1, v2, v3 mul:4       ; encoding: [0x05,0x00,0xc6,0xd1,0x01,0x05,0x0e,0x14]
0x05,0x00,0xc6,0xd1,0x01,0x05,0x0e,0x14

# CHECK: v_cubetc_f32 v5, v1, v2, v3 div:2       ; encoding: [0x05,0x00,0xc6,0xd1,0x01,0x05,0x0e,0x1c]
0x05,0x00,0xc6,0xd1,0x01,0x05,0x0e,0x1c

# CHECK: v_cubema_f32 v5, v1, v2, v3             ; encoding: [0x05,0x00,0xc7,0xd1,0x01,0x05,0x0e,0x04]
0x05,0x00,0xc7,0xd1,0x01,0x05,0x0e,0x04

# CHECK: v_cubema_f32 v255, v1, v2, v3           ; encoding: [0xff,0x00,0xc7,0xd1,0x01,0x05,0x0e,0x04]
0xff,0x00,0xc7,0xd1,0x01,0x05,0x0e,0x04

# CHECK: v_cubema_f32 v5, v255, v2, v3           ; encoding: [0x05,0x00,0xc7,0xd1,0xff,0x05,0x0e,0x04]
0x05,0x00,0xc7,0xd1,0xff,0x05,0x0e,0x04

# CHECK: v_cubema_f32 v5, s1, v2, v3             ; encoding: [0x05,0x00,0xc7,0xd1,0x01,0x04,0x0e,0x04]
0x05,0x00,0xc7,0xd1,0x01,0x04,0x0e,0x04

# CHECK: v_cubema_f32 v5, s101, v2, v3           ; encoding: [0x05,0x00,0xc7,0xd1,0x65,0x04,0x0e,0x04]
0x05,0x00,0xc7,0xd1,0x65,0x04,0x0e,0x04

# CHECK: v_cubema_f32 v5, flat_scratch_lo, v2, v3 ; encoding: [0x05,0x00,0xc7,0xd1,0x66,0x04,0x0e,0x04]
0x05,0x00,0xc7,0xd1,0x66,0x04,0x0e,0x04

# CHECK: v_cubema_f32 v5, flat_scratch_hi, v2, v3 ; encoding: [0x05,0x00,0xc7,0xd1,0x67,0x04,0x0e,0x04]
0x05,0x00,0xc7,0xd1,0x67,0x04,0x0e,0x04

# CHECK: v_cubema_f32 v5, vcc_lo, v2, v3         ; encoding: [0x05,0x00,0xc7,0xd1,0x6a,0x04,0x0e,0x04]
0x05,0x00,0xc7,0xd1,0x6a,0x04,0x0e,0x04

# CHECK: v_cubema_f32 v5, vcc_hi, v2, v3         ; encoding: [0x05,0x00,0xc7,0xd1,0x6b,0x04,0x0e,0x04]
0x05,0x00,0xc7,0xd1,0x6b,0x04,0x0e,0x04

# CHECK: v_cubema_f32 v5, tba_lo, v2, v3         ; encoding: [0x05,0x00,0xc7,0xd1,0x6c,0x04,0x0e,0x04]
0x05,0x00,0xc7,0xd1,0x6c,0x04,0x0e,0x04

# CHECK: v_cubema_f32 v5, tba_hi, v2, v3         ; encoding: [0x05,0x00,0xc7,0xd1,0x6d,0x04,0x0e,0x04]
0x05,0x00,0xc7,0xd1,0x6d,0x04,0x0e,0x04

# CHECK: v_cubema_f32 v5, tma_lo, v2, v3         ; encoding: [0x05,0x00,0xc7,0xd1,0x6e,0x04,0x0e,0x04]
0x05,0x00,0xc7,0xd1,0x6e,0x04,0x0e,0x04

# CHECK: v_cubema_f32 v5, tma_hi, v2, v3         ; encoding: [0x05,0x00,0xc7,0xd1,0x6f,0x04,0x0e,0x04]
0x05,0x00,0xc7,0xd1,0x6f,0x04,0x0e,0x04

# CHECK: v_cubema_f32 v5, ttmp11, v2, v3         ; encoding: [0x05,0x00,0xc7,0xd1,0x7b,0x04,0x0e,0x04]
0x05,0x00,0xc7,0xd1,0x7b,0x04,0x0e,0x04

# CHECK: v_cubema_f32 v5, m0, v2, v3             ; encoding: [0x05,0x00,0xc7,0xd1,0x7c,0x04,0x0e,0x04]
0x05,0x00,0xc7,0xd1,0x7c,0x04,0x0e,0x04

# CHECK: v_cubema_f32 v5, exec_lo, v2, v3        ; encoding: [0x05,0x00,0xc7,0xd1,0x7e,0x04,0x0e,0x04]
0x05,0x00,0xc7,0xd1,0x7e,0x04,0x0e,0x04

# CHECK: v_cubema_f32 v5, exec_hi, v2, v3        ; encoding: [0x05,0x00,0xc7,0xd1,0x7f,0x04,0x0e,0x04]
0x05,0x00,0xc7,0xd1,0x7f,0x04,0x0e,0x04

# CHECK: v_cubema_f32 v5, 0, v2, v3              ; encoding: [0x05,0x00,0xc7,0xd1,0x80,0x04,0x0e,0x04]
0x05,0x00,0xc7,0xd1,0x80,0x04,0x0e,0x04

# CHECK: v_cubema_f32 v5, -1, v2, v3             ; encoding: [0x05,0x00,0xc7,0xd1,0xc1,0x04,0x0e,0x04]
0x05,0x00,0xc7,0xd1,0xc1,0x04,0x0e,0x04

# CHECK: v_cubema_f32 v5, 0.5, v2, v3            ; encoding: [0x05,0x00,0xc7,0xd1,0xf0,0x04,0x0e,0x04]
0x05,0x00,0xc7,0xd1,0xf0,0x04,0x0e,0x04

# CHECK: v_cubema_f32 v5, -4.0, v2, v3           ; encoding: [0x05,0x00,0xc7,0xd1,0xf7,0x04,0x0e,0x04]
0x05,0x00,0xc7,0xd1,0xf7,0x04,0x0e,0x04

# CHECK: v_cubema_f32 v5, v1, v255, v3           ; encoding: [0x05,0x00,0xc7,0xd1,0x01,0xff,0x0f,0x04]
0x05,0x00,0xc7,0xd1,0x01,0xff,0x0f,0x04

# CHECK: v_cubema_f32 v5, v1, s2, v3             ; encoding: [0x05,0x00,0xc7,0xd1,0x01,0x05,0x0c,0x04]
0x05,0x00,0xc7,0xd1,0x01,0x05,0x0c,0x04

# CHECK: v_cubema_f32 v5, v1, s101, v3           ; encoding: [0x05,0x00,0xc7,0xd1,0x01,0xcb,0x0c,0x04]
0x05,0x00,0xc7,0xd1,0x01,0xcb,0x0c,0x04

# CHECK: v_cubema_f32 v5, v1, flat_scratch_lo, v3 ; encoding: [0x05,0x00,0xc7,0xd1,0x01,0xcd,0x0c,0x04]
0x05,0x00,0xc7,0xd1,0x01,0xcd,0x0c,0x04

# CHECK: v_cubema_f32 v5, v1, flat_scratch_hi, v3 ; encoding: [0x05,0x00,0xc7,0xd1,0x01,0xcf,0x0c,0x04]
0x05,0x00,0xc7,0xd1,0x01,0xcf,0x0c,0x04

# CHECK: v_cubema_f32 v5, v1, vcc_lo, v3         ; encoding: [0x05,0x00,0xc7,0xd1,0x01,0xd5,0x0c,0x04]
0x05,0x00,0xc7,0xd1,0x01,0xd5,0x0c,0x04

# CHECK: v_cubema_f32 v5, v1, vcc_hi, v3         ; encoding: [0x05,0x00,0xc7,0xd1,0x01,0xd7,0x0c,0x04]
0x05,0x00,0xc7,0xd1,0x01,0xd7,0x0c,0x04

# CHECK: v_cubema_f32 v5, v1, tba_lo, v3         ; encoding: [0x05,0x00,0xc7,0xd1,0x01,0xd9,0x0c,0x04]
0x05,0x00,0xc7,0xd1,0x01,0xd9,0x0c,0x04

# CHECK: v_cubema_f32 v5, v1, tba_hi, v3         ; encoding: [0x05,0x00,0xc7,0xd1,0x01,0xdb,0x0c,0x04]
0x05,0x00,0xc7,0xd1,0x01,0xdb,0x0c,0x04

# CHECK: v_cubema_f32 v5, v1, tma_lo, v3         ; encoding: [0x05,0x00,0xc7,0xd1,0x01,0xdd,0x0c,0x04]
0x05,0x00,0xc7,0xd1,0x01,0xdd,0x0c,0x04

# CHECK: v_cubema_f32 v5, v1, tma_hi, v3         ; encoding: [0x05,0x00,0xc7,0xd1,0x01,0xdf,0x0c,0x04]
0x05,0x00,0xc7,0xd1,0x01,0xdf,0x0c,0x04

# CHECK: v_cubema_f32 v5, v1, ttmp11, v3         ; encoding: [0x05,0x00,0xc7,0xd1,0x01,0xf7,0x0c,0x04]
0x05,0x00,0xc7,0xd1,0x01,0xf7,0x0c,0x04

# CHECK: v_cubema_f32 v5, v1, m0, v3             ; encoding: [0x05,0x00,0xc7,0xd1,0x01,0xf9,0x0c,0x04]
0x05,0x00,0xc7,0xd1,0x01,0xf9,0x0c,0x04

# CHECK: v_cubema_f32 v5, v1, exec_lo, v3        ; encoding: [0x05,0x00,0xc7,0xd1,0x01,0xfd,0x0c,0x04]
0x05,0x00,0xc7,0xd1,0x01,0xfd,0x0c,0x04

# CHECK: v_cubema_f32 v5, v1, exec_hi, v3        ; encoding: [0x05,0x00,0xc7,0xd1,0x01,0xff,0x0c,0x04]
0x05,0x00,0xc7,0xd1,0x01,0xff,0x0c,0x04

# CHECK: v_cubema_f32 v5, v1, 0, v3              ; encoding: [0x05,0x00,0xc7,0xd1,0x01,0x01,0x0d,0x04]
0x05,0x00,0xc7,0xd1,0x01,0x01,0x0d,0x04

# CHECK: v_cubema_f32 v5, v1, -1, v3             ; encoding: [0x05,0x00,0xc7,0xd1,0x01,0x83,0x0d,0x04]
0x05,0x00,0xc7,0xd1,0x01,0x83,0x0d,0x04

# CHECK: v_cubema_f32 v5, v1, 0.5, v3            ; encoding: [0x05,0x00,0xc7,0xd1,0x01,0xe1,0x0d,0x04]
0x05,0x00,0xc7,0xd1,0x01,0xe1,0x0d,0x04

# CHECK: v_cubema_f32 v5, v1, -4.0, v3           ; encoding: [0x05,0x00,0xc7,0xd1,0x01,0xef,0x0d,0x04]
0x05,0x00,0xc7,0xd1,0x01,0xef,0x0d,0x04

# CHECK: v_cubema_f32 v5, v1, v2, v255           ; encoding: [0x05,0x00,0xc7,0xd1,0x01,0x05,0xfe,0x07]
0x05,0x00,0xc7,0xd1,0x01,0x05,0xfe,0x07

# CHECK: v_cubema_f32 v5, v1, v2, s3             ; encoding: [0x05,0x00,0xc7,0xd1,0x01,0x05,0x0e,0x00]
0x05,0x00,0xc7,0xd1,0x01,0x05,0x0e,0x00

# CHECK: v_cubema_f32 v5, v1, v2, s101           ; encoding: [0x05,0x00,0xc7,0xd1,0x01,0x05,0x96,0x01]
0x05,0x00,0xc7,0xd1,0x01,0x05,0x96,0x01

# CHECK: v_cubema_f32 v5, v1, v2, flat_scratch_lo ; encoding: [0x05,0x00,0xc7,0xd1,0x01,0x05,0x9a,0x01]
0x05,0x00,0xc7,0xd1,0x01,0x05,0x9a,0x01

# CHECK: v_cubema_f32 v5, v1, v2, flat_scratch_hi ; encoding: [0x05,0x00,0xc7,0xd1,0x01,0x05,0x9e,0x01]
0x05,0x00,0xc7,0xd1,0x01,0x05,0x9e,0x01

# CHECK: v_cubema_f32 v5, v1, v2, vcc_lo         ; encoding: [0x05,0x00,0xc7,0xd1,0x01,0x05,0xaa,0x01]
0x05,0x00,0xc7,0xd1,0x01,0x05,0xaa,0x01

# CHECK: v_cubema_f32 v5, v1, v2, vcc_hi         ; encoding: [0x05,0x00,0xc7,0xd1,0x01,0x05,0xae,0x01]
0x05,0x00,0xc7,0xd1,0x01,0x05,0xae,0x01

# CHECK: v_cubema_f32 v5, v1, v2, tba_lo         ; encoding: [0x05,0x00,0xc7,0xd1,0x01,0x05,0xb2,0x01]
0x05,0x00,0xc7,0xd1,0x01,0x05,0xb2,0x01

# CHECK: v_cubema_f32 v5, v1, v2, tba_hi         ; encoding: [0x05,0x00,0xc7,0xd1,0x01,0x05,0xb6,0x01]
0x05,0x00,0xc7,0xd1,0x01,0x05,0xb6,0x01

# CHECK: v_cubema_f32 v5, v1, v2, tma_lo         ; encoding: [0x05,0x00,0xc7,0xd1,0x01,0x05,0xba,0x01]
0x05,0x00,0xc7,0xd1,0x01,0x05,0xba,0x01

# CHECK: v_cubema_f32 v5, v1, v2, tma_hi         ; encoding: [0x05,0x00,0xc7,0xd1,0x01,0x05,0xbe,0x01]
0x05,0x00,0xc7,0xd1,0x01,0x05,0xbe,0x01

# CHECK: v_cubema_f32 v5, v1, v2, ttmp11         ; encoding: [0x05,0x00,0xc7,0xd1,0x01,0x05,0xee,0x01]
0x05,0x00,0xc7,0xd1,0x01,0x05,0xee,0x01

# CHECK: v_cubema_f32 v5, v1, v2, m0             ; encoding: [0x05,0x00,0xc7,0xd1,0x01,0x05,0xf2,0x01]
0x05,0x00,0xc7,0xd1,0x01,0x05,0xf2,0x01

# CHECK: v_cubema_f32 v5, v1, v2, exec_lo        ; encoding: [0x05,0x00,0xc7,0xd1,0x01,0x05,0xfa,0x01]
0x05,0x00,0xc7,0xd1,0x01,0x05,0xfa,0x01

# CHECK: v_cubema_f32 v5, v1, v2, exec_hi        ; encoding: [0x05,0x00,0xc7,0xd1,0x01,0x05,0xfe,0x01]
0x05,0x00,0xc7,0xd1,0x01,0x05,0xfe,0x01

# CHECK: v_cubema_f32 v5, v1, v2, 0              ; encoding: [0x05,0x00,0xc7,0xd1,0x01,0x05,0x02,0x02]
0x05,0x00,0xc7,0xd1,0x01,0x05,0x02,0x02

# CHECK: v_cubema_f32 v5, v1, v2, -1             ; encoding: [0x05,0x00,0xc7,0xd1,0x01,0x05,0x06,0x03]
0x05,0x00,0xc7,0xd1,0x01,0x05,0x06,0x03

# CHECK: v_cubema_f32 v5, v1, v2, 0.5            ; encoding: [0x05,0x00,0xc7,0xd1,0x01,0x05,0xc2,0x03]
0x05,0x00,0xc7,0xd1,0x01,0x05,0xc2,0x03

# CHECK: v_cubema_f32 v5, v1, v2, -4.0           ; encoding: [0x05,0x00,0xc7,0xd1,0x01,0x05,0xde,0x03]
0x05,0x00,0xc7,0xd1,0x01,0x05,0xde,0x03

# CHECK: v_cubema_f32 v5, -v1, v2, v3            ; encoding: [0x05,0x00,0xc7,0xd1,0x01,0x05,0x0e,0x24]
0x05,0x00,0xc7,0xd1,0x01,0x05,0x0e,0x24

# CHECK: v_cubema_f32 v5, v1, -v2, v3            ; encoding: [0x05,0x00,0xc7,0xd1,0x01,0x05,0x0e,0x44]
0x05,0x00,0xc7,0xd1,0x01,0x05,0x0e,0x44

# CHECK: v_cubema_f32 v5, v1, v2, -v3            ; encoding: [0x05,0x00,0xc7,0xd1,0x01,0x05,0x0e,0x84]
0x05,0x00,0xc7,0xd1,0x01,0x05,0x0e,0x84

# CHECK: v_cubema_f32 v5, -v1, -v2, -v3          ; encoding: [0x05,0x00,0xc7,0xd1,0x01,0x05,0x0e,0xe4]
0x05,0x00,0xc7,0xd1,0x01,0x05,0x0e,0xe4

# CHECK: v_cubema_f32 v5, |v1|, v2, v3           ; encoding: [0x05,0x01,0xc7,0xd1,0x01,0x05,0x0e,0x04]
0x05,0x01,0xc7,0xd1,0x01,0x05,0x0e,0x04

# CHECK: v_cubema_f32 v5, v1, |v2|, v3           ; encoding: [0x05,0x02,0xc7,0xd1,0x01,0x05,0x0e,0x04]
0x05,0x02,0xc7,0xd1,0x01,0x05,0x0e,0x04

# CHECK: v_cubema_f32 v5, v1, v2, |v3|           ; encoding: [0x05,0x04,0xc7,0xd1,0x01,0x05,0x0e,0x04]
0x05,0x04,0xc7,0xd1,0x01,0x05,0x0e,0x04

# CHECK: v_cubema_f32 v5, |v1|, |v2|, |v3|       ; encoding: [0x05,0x07,0xc7,0xd1,0x01,0x05,0x0e,0x04]
0x05,0x07,0xc7,0xd1,0x01,0x05,0x0e,0x04

# CHECK: v_cubema_f32 v5, v1, v2, v3 clamp       ; encoding: [0x05,0x80,0xc7,0xd1,0x01,0x05,0x0e,0x04]
0x05,0x80,0xc7,0xd1,0x01,0x05,0x0e,0x04

# CHECK: v_cubema_f32 v5, v1, v2, v3 mul:2       ; encoding: [0x05,0x00,0xc7,0xd1,0x01,0x05,0x0e,0x0c]
0x05,0x00,0xc7,0xd1,0x01,0x05,0x0e,0x0c

# CHECK: v_cubema_f32 v5, v1, v2, v3 mul:4       ; encoding: [0x05,0x00,0xc7,0xd1,0x01,0x05,0x0e,0x14]
0x05,0x00,0xc7,0xd1,0x01,0x05,0x0e,0x14

# CHECK: v_cubema_f32 v5, v1, v2, v3 div:2       ; encoding: [0x05,0x00,0xc7,0xd1,0x01,0x05,0x0e,0x1c]
0x05,0x00,0xc7,0xd1,0x01,0x05,0x0e,0x1c

# CHECK: v_bfe_u32 v5, v1, v2, v3                ; encoding: [0x05,0x00,0xc8,0xd1,0x01,0x05,0x0e,0x04]
0x05,0x00,0xc8,0xd1,0x01,0x05,0x0e,0x04

# CHECK: v_bfe_u32 v255, v1, v2, v3              ; encoding: [0xff,0x00,0xc8,0xd1,0x01,0x05,0x0e,0x04]
0xff,0x00,0xc8,0xd1,0x01,0x05,0x0e,0x04

# CHECK: v_bfe_u32 v5, v255, v2, v3              ; encoding: [0x05,0x00,0xc8,0xd1,0xff,0x05,0x0e,0x04]
0x05,0x00,0xc8,0xd1,0xff,0x05,0x0e,0x04

# CHECK: v_bfe_u32 v5, s1, v2, v3                ; encoding: [0x05,0x00,0xc8,0xd1,0x01,0x04,0x0e,0x04]
0x05,0x00,0xc8,0xd1,0x01,0x04,0x0e,0x04

# CHECK: v_bfe_u32 v5, s101, v2, v3              ; encoding: [0x05,0x00,0xc8,0xd1,0x65,0x04,0x0e,0x04]
0x05,0x00,0xc8,0xd1,0x65,0x04,0x0e,0x04

# CHECK: v_bfe_u32 v5, flat_scratch_lo, v2, v3   ; encoding: [0x05,0x00,0xc8,0xd1,0x66,0x04,0x0e,0x04]
0x05,0x00,0xc8,0xd1,0x66,0x04,0x0e,0x04

# CHECK: v_bfe_u32 v5, flat_scratch_hi, v2, v3   ; encoding: [0x05,0x00,0xc8,0xd1,0x67,0x04,0x0e,0x04]
0x05,0x00,0xc8,0xd1,0x67,0x04,0x0e,0x04

# CHECK: v_bfe_u32 v5, vcc_lo, v2, v3            ; encoding: [0x05,0x00,0xc8,0xd1,0x6a,0x04,0x0e,0x04]
0x05,0x00,0xc8,0xd1,0x6a,0x04,0x0e,0x04

# CHECK: v_bfe_u32 v5, vcc_hi, v2, v3            ; encoding: [0x05,0x00,0xc8,0xd1,0x6b,0x04,0x0e,0x04]
0x05,0x00,0xc8,0xd1,0x6b,0x04,0x0e,0x04

# CHECK: v_bfe_u32 v5, tba_lo, v2, v3            ; encoding: [0x05,0x00,0xc8,0xd1,0x6c,0x04,0x0e,0x04]
0x05,0x00,0xc8,0xd1,0x6c,0x04,0x0e,0x04

# CHECK: v_bfe_u32 v5, tba_hi, v2, v3            ; encoding: [0x05,0x00,0xc8,0xd1,0x6d,0x04,0x0e,0x04]
0x05,0x00,0xc8,0xd1,0x6d,0x04,0x0e,0x04

# CHECK: v_bfe_u32 v5, tma_lo, v2, v3            ; encoding: [0x05,0x00,0xc8,0xd1,0x6e,0x04,0x0e,0x04]
0x05,0x00,0xc8,0xd1,0x6e,0x04,0x0e,0x04

# CHECK: v_bfe_u32 v5, tma_hi, v2, v3            ; encoding: [0x05,0x00,0xc8,0xd1,0x6f,0x04,0x0e,0x04]
0x05,0x00,0xc8,0xd1,0x6f,0x04,0x0e,0x04

# CHECK: v_bfe_u32 v5, ttmp11, v2, v3            ; encoding: [0x05,0x00,0xc8,0xd1,0x7b,0x04,0x0e,0x04]
0x05,0x00,0xc8,0xd1,0x7b,0x04,0x0e,0x04

# CHECK: v_bfe_u32 v5, m0, v2, v3                ; encoding: [0x05,0x00,0xc8,0xd1,0x7c,0x04,0x0e,0x04]
0x05,0x00,0xc8,0xd1,0x7c,0x04,0x0e,0x04

# CHECK: v_bfe_u32 v5, exec_lo, v2, v3           ; encoding: [0x05,0x00,0xc8,0xd1,0x7e,0x04,0x0e,0x04]
0x05,0x00,0xc8,0xd1,0x7e,0x04,0x0e,0x04

# CHECK: v_bfe_u32 v5, exec_hi, v2, v3           ; encoding: [0x05,0x00,0xc8,0xd1,0x7f,0x04,0x0e,0x04]
0x05,0x00,0xc8,0xd1,0x7f,0x04,0x0e,0x04

# CHECK: v_bfe_u32 v5, 0, v2, v3                 ; encoding: [0x05,0x00,0xc8,0xd1,0x80,0x04,0x0e,0x04]
0x05,0x00,0xc8,0xd1,0x80,0x04,0x0e,0x04

# CHECK: v_bfe_u32 v5, -1, v2, v3                ; encoding: [0x05,0x00,0xc8,0xd1,0xc1,0x04,0x0e,0x04]
0x05,0x00,0xc8,0xd1,0xc1,0x04,0x0e,0x04

# CHECK: v_bfe_u32 v5, 0.5, v2, v3               ; encoding: [0x05,0x00,0xc8,0xd1,0xf0,0x04,0x0e,0x04]
0x05,0x00,0xc8,0xd1,0xf0,0x04,0x0e,0x04

# CHECK: v_bfe_u32 v5, -4.0, v2, v3              ; encoding: [0x05,0x00,0xc8,0xd1,0xf7,0x04,0x0e,0x04]
0x05,0x00,0xc8,0xd1,0xf7,0x04,0x0e,0x04

# CHECK: v_bfe_u32 v5, v1, v255, v3              ; encoding: [0x05,0x00,0xc8,0xd1,0x01,0xff,0x0f,0x04]
0x05,0x00,0xc8,0xd1,0x01,0xff,0x0f,0x04

# CHECK: v_bfe_u32 v5, v1, s2, v3                ; encoding: [0x05,0x00,0xc8,0xd1,0x01,0x05,0x0c,0x04]
0x05,0x00,0xc8,0xd1,0x01,0x05,0x0c,0x04

# CHECK: v_bfe_u32 v5, v1, s101, v3              ; encoding: [0x05,0x00,0xc8,0xd1,0x01,0xcb,0x0c,0x04]
0x05,0x00,0xc8,0xd1,0x01,0xcb,0x0c,0x04

# CHECK: v_bfe_u32 v5, v1, flat_scratch_lo, v3   ; encoding: [0x05,0x00,0xc8,0xd1,0x01,0xcd,0x0c,0x04]
0x05,0x00,0xc8,0xd1,0x01,0xcd,0x0c,0x04

# CHECK: v_bfe_u32 v5, v1, flat_scratch_hi, v3   ; encoding: [0x05,0x00,0xc8,0xd1,0x01,0xcf,0x0c,0x04]
0x05,0x00,0xc8,0xd1,0x01,0xcf,0x0c,0x04

# CHECK: v_bfe_u32 v5, v1, vcc_lo, v3            ; encoding: [0x05,0x00,0xc8,0xd1,0x01,0xd5,0x0c,0x04]
0x05,0x00,0xc8,0xd1,0x01,0xd5,0x0c,0x04

# CHECK: v_bfe_u32 v5, v1, vcc_hi, v3            ; encoding: [0x05,0x00,0xc8,0xd1,0x01,0xd7,0x0c,0x04]
0x05,0x00,0xc8,0xd1,0x01,0xd7,0x0c,0x04

# CHECK: v_bfe_u32 v5, v1, tba_lo, v3            ; encoding: [0x05,0x00,0xc8,0xd1,0x01,0xd9,0x0c,0x04]
0x05,0x00,0xc8,0xd1,0x01,0xd9,0x0c,0x04

# CHECK: v_bfe_u32 v5, v1, tba_hi, v3            ; encoding: [0x05,0x00,0xc8,0xd1,0x01,0xdb,0x0c,0x04]
0x05,0x00,0xc8,0xd1,0x01,0xdb,0x0c,0x04

# CHECK: v_bfe_u32 v5, v1, tma_lo, v3            ; encoding: [0x05,0x00,0xc8,0xd1,0x01,0xdd,0x0c,0x04]
0x05,0x00,0xc8,0xd1,0x01,0xdd,0x0c,0x04

# CHECK: v_bfe_u32 v5, v1, tma_hi, v3            ; encoding: [0x05,0x00,0xc8,0xd1,0x01,0xdf,0x0c,0x04]
0x05,0x00,0xc8,0xd1,0x01,0xdf,0x0c,0x04

# CHECK: v_bfe_u32 v5, v1, ttmp11, v3            ; encoding: [0x05,0x00,0xc8,0xd1,0x01,0xf7,0x0c,0x04]
0x05,0x00,0xc8,0xd1,0x01,0xf7,0x0c,0x04

# CHECK: v_bfe_u32 v5, v1, m0, v3                ; encoding: [0x05,0x00,0xc8,0xd1,0x01,0xf9,0x0c,0x04]
0x05,0x00,0xc8,0xd1,0x01,0xf9,0x0c,0x04

# CHECK: v_bfe_u32 v5, v1, exec_lo, v3           ; encoding: [0x05,0x00,0xc8,0xd1,0x01,0xfd,0x0c,0x04]
0x05,0x00,0xc8,0xd1,0x01,0xfd,0x0c,0x04

# CHECK: v_bfe_u32 v5, v1, exec_hi, v3           ; encoding: [0x05,0x00,0xc8,0xd1,0x01,0xff,0x0c,0x04]
0x05,0x00,0xc8,0xd1,0x01,0xff,0x0c,0x04

# CHECK: v_bfe_u32 v5, v1, 0, v3                 ; encoding: [0x05,0x00,0xc8,0xd1,0x01,0x01,0x0d,0x04]
0x05,0x00,0xc8,0xd1,0x01,0x01,0x0d,0x04

# CHECK: v_bfe_u32 v5, v1, -1, v3                ; encoding: [0x05,0x00,0xc8,0xd1,0x01,0x83,0x0d,0x04]
0x05,0x00,0xc8,0xd1,0x01,0x83,0x0d,0x04

# CHECK: v_bfe_u32 v5, v1, 0.5, v3               ; encoding: [0x05,0x00,0xc8,0xd1,0x01,0xe1,0x0d,0x04]
0x05,0x00,0xc8,0xd1,0x01,0xe1,0x0d,0x04

# CHECK: v_bfe_u32 v5, v1, -4.0, v3              ; encoding: [0x05,0x00,0xc8,0xd1,0x01,0xef,0x0d,0x04]
0x05,0x00,0xc8,0xd1,0x01,0xef,0x0d,0x04

# CHECK: v_bfe_u32 v5, v1, v2, v255              ; encoding: [0x05,0x00,0xc8,0xd1,0x01,0x05,0xfe,0x07]
0x05,0x00,0xc8,0xd1,0x01,0x05,0xfe,0x07

# CHECK: v_bfe_u32 v5, v1, v2, s3                ; encoding: [0x05,0x00,0xc8,0xd1,0x01,0x05,0x0e,0x00]
0x05,0x00,0xc8,0xd1,0x01,0x05,0x0e,0x00

# CHECK: v_bfe_u32 v5, v1, v2, s101              ; encoding: [0x05,0x00,0xc8,0xd1,0x01,0x05,0x96,0x01]
0x05,0x00,0xc8,0xd1,0x01,0x05,0x96,0x01

# CHECK: v_bfe_u32 v5, v1, v2, flat_scratch_lo   ; encoding: [0x05,0x00,0xc8,0xd1,0x01,0x05,0x9a,0x01]
0x05,0x00,0xc8,0xd1,0x01,0x05,0x9a,0x01

# CHECK: v_bfe_u32 v5, v1, v2, flat_scratch_hi   ; encoding: [0x05,0x00,0xc8,0xd1,0x01,0x05,0x9e,0x01]
0x05,0x00,0xc8,0xd1,0x01,0x05,0x9e,0x01

# CHECK: v_bfe_u32 v5, v1, v2, vcc_lo            ; encoding: [0x05,0x00,0xc8,0xd1,0x01,0x05,0xaa,0x01]
0x05,0x00,0xc8,0xd1,0x01,0x05,0xaa,0x01

# CHECK: v_bfe_u32 v5, v1, v2, vcc_hi            ; encoding: [0x05,0x00,0xc8,0xd1,0x01,0x05,0xae,0x01]
0x05,0x00,0xc8,0xd1,0x01,0x05,0xae,0x01

# CHECK: v_bfe_u32 v5, v1, v2, tba_lo            ; encoding: [0x05,0x00,0xc8,0xd1,0x01,0x05,0xb2,0x01]
0x05,0x00,0xc8,0xd1,0x01,0x05,0xb2,0x01

# CHECK: v_bfe_u32 v5, v1, v2, tba_hi            ; encoding: [0x05,0x00,0xc8,0xd1,0x01,0x05,0xb6,0x01]
0x05,0x00,0xc8,0xd1,0x01,0x05,0xb6,0x01

# CHECK: v_bfe_u32 v5, v1, v2, tma_lo            ; encoding: [0x05,0x00,0xc8,0xd1,0x01,0x05,0xba,0x01]
0x05,0x00,0xc8,0xd1,0x01,0x05,0xba,0x01

# CHECK: v_bfe_u32 v5, v1, v2, tma_hi            ; encoding: [0x05,0x00,0xc8,0xd1,0x01,0x05,0xbe,0x01]
0x05,0x00,0xc8,0xd1,0x01,0x05,0xbe,0x01

# CHECK: v_bfe_u32 v5, v1, v2, ttmp11            ; encoding: [0x05,0x00,0xc8,0xd1,0x01,0x05,0xee,0x01]
0x05,0x00,0xc8,0xd1,0x01,0x05,0xee,0x01

# CHECK: v_bfe_u32 v5, v1, v2, m0                ; encoding: [0x05,0x00,0xc8,0xd1,0x01,0x05,0xf2,0x01]
0x05,0x00,0xc8,0xd1,0x01,0x05,0xf2,0x01

# CHECK: v_bfe_u32 v5, v1, v2, exec_lo           ; encoding: [0x05,0x00,0xc8,0xd1,0x01,0x05,0xfa,0x01]
0x05,0x00,0xc8,0xd1,0x01,0x05,0xfa,0x01

# CHECK: v_bfe_u32 v5, v1, v2, exec_hi           ; encoding: [0x05,0x00,0xc8,0xd1,0x01,0x05,0xfe,0x01]
0x05,0x00,0xc8,0xd1,0x01,0x05,0xfe,0x01

# CHECK: v_bfe_u32 v5, v1, v2, 0                 ; encoding: [0x05,0x00,0xc8,0xd1,0x01,0x05,0x02,0x02]
0x05,0x00,0xc8,0xd1,0x01,0x05,0x02,0x02

# CHECK: v_bfe_u32 v5, v1, v2, -1                ; encoding: [0x05,0x00,0xc8,0xd1,0x01,0x05,0x06,0x03]
0x05,0x00,0xc8,0xd1,0x01,0x05,0x06,0x03

# CHECK: v_bfe_u32 v5, v1, v2, 0.5               ; encoding: [0x05,0x00,0xc8,0xd1,0x01,0x05,0xc2,0x03]
0x05,0x00,0xc8,0xd1,0x01,0x05,0xc2,0x03

# CHECK: v_bfe_u32 v5, v1, v2, -4.0              ; encoding: [0x05,0x00,0xc8,0xd1,0x01,0x05,0xde,0x03]
0x05,0x00,0xc8,0xd1,0x01,0x05,0xde,0x03

# CHECK: v_bfe_i32 v5, v1, v2, v3                ; encoding: [0x05,0x00,0xc9,0xd1,0x01,0x05,0x0e,0x04]
0x05,0x00,0xc9,0xd1,0x01,0x05,0x0e,0x04

# CHECK: v_bfe_i32 v255, v1, v2, v3              ; encoding: [0xff,0x00,0xc9,0xd1,0x01,0x05,0x0e,0x04]
0xff,0x00,0xc9,0xd1,0x01,0x05,0x0e,0x04

# CHECK: v_bfe_i32 v5, v255, v2, v3              ; encoding: [0x05,0x00,0xc9,0xd1,0xff,0x05,0x0e,0x04]
0x05,0x00,0xc9,0xd1,0xff,0x05,0x0e,0x04

# CHECK: v_bfe_i32 v5, s1, v2, v3                ; encoding: [0x05,0x00,0xc9,0xd1,0x01,0x04,0x0e,0x04]
0x05,0x00,0xc9,0xd1,0x01,0x04,0x0e,0x04

# CHECK: v_bfe_i32 v5, s101, v2, v3              ; encoding: [0x05,0x00,0xc9,0xd1,0x65,0x04,0x0e,0x04]
0x05,0x00,0xc9,0xd1,0x65,0x04,0x0e,0x04

# CHECK: v_bfe_i32 v5, flat_scratch_lo, v2, v3   ; encoding: [0x05,0x00,0xc9,0xd1,0x66,0x04,0x0e,0x04]
0x05,0x00,0xc9,0xd1,0x66,0x04,0x0e,0x04

# CHECK: v_bfe_i32 v5, flat_scratch_hi, v2, v3   ; encoding: [0x05,0x00,0xc9,0xd1,0x67,0x04,0x0e,0x04]
0x05,0x00,0xc9,0xd1,0x67,0x04,0x0e,0x04

# CHECK: v_bfe_i32 v5, vcc_lo, v2, v3            ; encoding: [0x05,0x00,0xc9,0xd1,0x6a,0x04,0x0e,0x04]
0x05,0x00,0xc9,0xd1,0x6a,0x04,0x0e,0x04

# CHECK: v_bfe_i32 v5, vcc_hi, v2, v3            ; encoding: [0x05,0x00,0xc9,0xd1,0x6b,0x04,0x0e,0x04]
0x05,0x00,0xc9,0xd1,0x6b,0x04,0x0e,0x04

# CHECK: v_bfe_i32 v5, tba_lo, v2, v3            ; encoding: [0x05,0x00,0xc9,0xd1,0x6c,0x04,0x0e,0x04]
0x05,0x00,0xc9,0xd1,0x6c,0x04,0x0e,0x04

# CHECK: v_bfe_i32 v5, tba_hi, v2, v3            ; encoding: [0x05,0x00,0xc9,0xd1,0x6d,0x04,0x0e,0x04]
0x05,0x00,0xc9,0xd1,0x6d,0x04,0x0e,0x04

# CHECK: v_bfe_i32 v5, tma_lo, v2, v3            ; encoding: [0x05,0x00,0xc9,0xd1,0x6e,0x04,0x0e,0x04]
0x05,0x00,0xc9,0xd1,0x6e,0x04,0x0e,0x04

# CHECK: v_bfe_i32 v5, tma_hi, v2, v3            ; encoding: [0x05,0x00,0xc9,0xd1,0x6f,0x04,0x0e,0x04]
0x05,0x00,0xc9,0xd1,0x6f,0x04,0x0e,0x04

# CHECK: v_bfe_i32 v5, ttmp11, v2, v3            ; encoding: [0x05,0x00,0xc9,0xd1,0x7b,0x04,0x0e,0x04]
0x05,0x00,0xc9,0xd1,0x7b,0x04,0x0e,0x04

# CHECK: v_bfe_i32 v5, m0, v2, v3                ; encoding: [0x05,0x00,0xc9,0xd1,0x7c,0x04,0x0e,0x04]
0x05,0x00,0xc9,0xd1,0x7c,0x04,0x0e,0x04

# CHECK: v_bfe_i32 v5, exec_lo, v2, v3           ; encoding: [0x05,0x00,0xc9,0xd1,0x7e,0x04,0x0e,0x04]
0x05,0x00,0xc9,0xd1,0x7e,0x04,0x0e,0x04

# CHECK: v_bfe_i32 v5, exec_hi, v2, v3           ; encoding: [0x05,0x00,0xc9,0xd1,0x7f,0x04,0x0e,0x04]
0x05,0x00,0xc9,0xd1,0x7f,0x04,0x0e,0x04

# CHECK: v_bfe_i32 v5, 0, v2, v3                 ; encoding: [0x05,0x00,0xc9,0xd1,0x80,0x04,0x0e,0x04]
0x05,0x00,0xc9,0xd1,0x80,0x04,0x0e,0x04

# CHECK: v_bfe_i32 v5, -1, v2, v3                ; encoding: [0x05,0x00,0xc9,0xd1,0xc1,0x04,0x0e,0x04]
0x05,0x00,0xc9,0xd1,0xc1,0x04,0x0e,0x04

# CHECK: v_bfe_i32 v5, 0.5, v2, v3               ; encoding: [0x05,0x00,0xc9,0xd1,0xf0,0x04,0x0e,0x04]
0x05,0x00,0xc9,0xd1,0xf0,0x04,0x0e,0x04

# CHECK: v_bfe_i32 v5, -4.0, v2, v3              ; encoding: [0x05,0x00,0xc9,0xd1,0xf7,0x04,0x0e,0x04]
0x05,0x00,0xc9,0xd1,0xf7,0x04,0x0e,0x04

# CHECK: v_bfe_i32 v5, v1, v255, v3              ; encoding: [0x05,0x00,0xc9,0xd1,0x01,0xff,0x0f,0x04]
0x05,0x00,0xc9,0xd1,0x01,0xff,0x0f,0x04

# CHECK: v_bfe_i32 v5, v1, s2, v3                ; encoding: [0x05,0x00,0xc9,0xd1,0x01,0x05,0x0c,0x04]
0x05,0x00,0xc9,0xd1,0x01,0x05,0x0c,0x04

# CHECK: v_bfe_i32 v5, v1, s101, v3              ; encoding: [0x05,0x00,0xc9,0xd1,0x01,0xcb,0x0c,0x04]
0x05,0x00,0xc9,0xd1,0x01,0xcb,0x0c,0x04

# CHECK: v_bfe_i32 v5, v1, flat_scratch_lo, v3   ; encoding: [0x05,0x00,0xc9,0xd1,0x01,0xcd,0x0c,0x04]
0x05,0x00,0xc9,0xd1,0x01,0xcd,0x0c,0x04

# CHECK: v_bfe_i32 v5, v1, flat_scratch_hi, v3   ; encoding: [0x05,0x00,0xc9,0xd1,0x01,0xcf,0x0c,0x04]
0x05,0x00,0xc9,0xd1,0x01,0xcf,0x0c,0x04

# CHECK: v_bfe_i32 v5, v1, vcc_lo, v3            ; encoding: [0x05,0x00,0xc9,0xd1,0x01,0xd5,0x0c,0x04]
0x05,0x00,0xc9,0xd1,0x01,0xd5,0x0c,0x04

# CHECK: v_bfe_i32 v5, v1, vcc_hi, v3            ; encoding: [0x05,0x00,0xc9,0xd1,0x01,0xd7,0x0c,0x04]
0x05,0x00,0xc9,0xd1,0x01,0xd7,0x0c,0x04

# CHECK: v_bfe_i32 v5, v1, tba_lo, v3            ; encoding: [0x05,0x00,0xc9,0xd1,0x01,0xd9,0x0c,0x04]
0x05,0x00,0xc9,0xd1,0x01,0xd9,0x0c,0x04

# CHECK: v_bfe_i32 v5, v1, tba_hi, v3            ; encoding: [0x05,0x00,0xc9,0xd1,0x01,0xdb,0x0c,0x04]
0x05,0x00,0xc9,0xd1,0x01,0xdb,0x0c,0x04

# CHECK: v_bfe_i32 v5, v1, tma_lo, v3            ; encoding: [0x05,0x00,0xc9,0xd1,0x01,0xdd,0x0c,0x04]
0x05,0x00,0xc9,0xd1,0x01,0xdd,0x0c,0x04

# CHECK: v_bfe_i32 v5, v1, tma_hi, v3            ; encoding: [0x05,0x00,0xc9,0xd1,0x01,0xdf,0x0c,0x04]
0x05,0x00,0xc9,0xd1,0x01,0xdf,0x0c,0x04

# CHECK: v_bfe_i32 v5, v1, ttmp11, v3            ; encoding: [0x05,0x00,0xc9,0xd1,0x01,0xf7,0x0c,0x04]
0x05,0x00,0xc9,0xd1,0x01,0xf7,0x0c,0x04

# CHECK: v_bfe_i32 v5, v1, m0, v3                ; encoding: [0x05,0x00,0xc9,0xd1,0x01,0xf9,0x0c,0x04]
0x05,0x00,0xc9,0xd1,0x01,0xf9,0x0c,0x04

# CHECK: v_bfe_i32 v5, v1, exec_lo, v3           ; encoding: [0x05,0x00,0xc9,0xd1,0x01,0xfd,0x0c,0x04]
0x05,0x00,0xc9,0xd1,0x01,0xfd,0x0c,0x04

# CHECK: v_bfe_i32 v5, v1, exec_hi, v3           ; encoding: [0x05,0x00,0xc9,0xd1,0x01,0xff,0x0c,0x04]
0x05,0x00,0xc9,0xd1,0x01,0xff,0x0c,0x04

# CHECK: v_bfe_i32 v5, v1, 0, v3                 ; encoding: [0x05,0x00,0xc9,0xd1,0x01,0x01,0x0d,0x04]
0x05,0x00,0xc9,0xd1,0x01,0x01,0x0d,0x04

# CHECK: v_bfe_i32 v5, v1, -1, v3                ; encoding: [0x05,0x00,0xc9,0xd1,0x01,0x83,0x0d,0x04]
0x05,0x00,0xc9,0xd1,0x01,0x83,0x0d,0x04

# CHECK: v_bfe_i32 v5, v1, 0.5, v3               ; encoding: [0x05,0x00,0xc9,0xd1,0x01,0xe1,0x0d,0x04]
0x05,0x00,0xc9,0xd1,0x01,0xe1,0x0d,0x04

# CHECK: v_bfe_i32 v5, v1, -4.0, v3              ; encoding: [0x05,0x00,0xc9,0xd1,0x01,0xef,0x0d,0x04]
0x05,0x00,0xc9,0xd1,0x01,0xef,0x0d,0x04

# CHECK: v_bfe_i32 v5, v1, v2, v255              ; encoding: [0x05,0x00,0xc9,0xd1,0x01,0x05,0xfe,0x07]
0x05,0x00,0xc9,0xd1,0x01,0x05,0xfe,0x07

# CHECK: v_bfe_i32 v5, v1, v2, s3                ; encoding: [0x05,0x00,0xc9,0xd1,0x01,0x05,0x0e,0x00]
0x05,0x00,0xc9,0xd1,0x01,0x05,0x0e,0x00

# CHECK: v_bfe_i32 v5, v1, v2, s101              ; encoding: [0x05,0x00,0xc9,0xd1,0x01,0x05,0x96,0x01]
0x05,0x00,0xc9,0xd1,0x01,0x05,0x96,0x01

# CHECK: v_bfe_i32 v5, v1, v2, flat_scratch_lo   ; encoding: [0x05,0x00,0xc9,0xd1,0x01,0x05,0x9a,0x01]
0x05,0x00,0xc9,0xd1,0x01,0x05,0x9a,0x01

# CHECK: v_bfe_i32 v5, v1, v2, flat_scratch_hi   ; encoding: [0x05,0x00,0xc9,0xd1,0x01,0x05,0x9e,0x01]
0x05,0x00,0xc9,0xd1,0x01,0x05,0x9e,0x01

# CHECK: v_bfe_i32 v5, v1, v2, vcc_lo            ; encoding: [0x05,0x00,0xc9,0xd1,0x01,0x05,0xaa,0x01]
0x05,0x00,0xc9,0xd1,0x01,0x05,0xaa,0x01

# CHECK: v_bfe_i32 v5, v1, v2, vcc_hi            ; encoding: [0x05,0x00,0xc9,0xd1,0x01,0x05,0xae,0x01]
0x05,0x00,0xc9,0xd1,0x01,0x05,0xae,0x01

# CHECK: v_bfe_i32 v5, v1, v2, tba_lo            ; encoding: [0x05,0x00,0xc9,0xd1,0x01,0x05,0xb2,0x01]
0x05,0x00,0xc9,0xd1,0x01,0x05,0xb2,0x01

# CHECK: v_bfe_i32 v5, v1, v2, tba_hi            ; encoding: [0x05,0x00,0xc9,0xd1,0x01,0x05,0xb6,0x01]
0x05,0x00,0xc9,0xd1,0x01,0x05,0xb6,0x01

# CHECK: v_bfe_i32 v5, v1, v2, tma_lo            ; encoding: [0x05,0x00,0xc9,0xd1,0x01,0x05,0xba,0x01]
0x05,0x00,0xc9,0xd1,0x01,0x05,0xba,0x01

# CHECK: v_bfe_i32 v5, v1, v2, tma_hi            ; encoding: [0x05,0x00,0xc9,0xd1,0x01,0x05,0xbe,0x01]
0x05,0x00,0xc9,0xd1,0x01,0x05,0xbe,0x01

# CHECK: v_bfe_i32 v5, v1, v2, ttmp11            ; encoding: [0x05,0x00,0xc9,0xd1,0x01,0x05,0xee,0x01]
0x05,0x00,0xc9,0xd1,0x01,0x05,0xee,0x01

# CHECK: v_bfe_i32 v5, v1, v2, m0                ; encoding: [0x05,0x00,0xc9,0xd1,0x01,0x05,0xf2,0x01]
0x05,0x00,0xc9,0xd1,0x01,0x05,0xf2,0x01

# CHECK: v_bfe_i32 v5, v1, v2, exec_lo           ; encoding: [0x05,0x00,0xc9,0xd1,0x01,0x05,0xfa,0x01]
0x05,0x00,0xc9,0xd1,0x01,0x05,0xfa,0x01

# CHECK: v_bfe_i32 v5, v1, v2, exec_hi           ; encoding: [0x05,0x00,0xc9,0xd1,0x01,0x05,0xfe,0x01]
0x05,0x00,0xc9,0xd1,0x01,0x05,0xfe,0x01

# CHECK: v_bfe_i32 v5, v1, v2, 0                 ; encoding: [0x05,0x00,0xc9,0xd1,0x01,0x05,0x02,0x02]
0x05,0x00,0xc9,0xd1,0x01,0x05,0x02,0x02

# CHECK: v_bfe_i32 v5, v1, v2, -1                ; encoding: [0x05,0x00,0xc9,0xd1,0x01,0x05,0x06,0x03]
0x05,0x00,0xc9,0xd1,0x01,0x05,0x06,0x03

# CHECK: v_bfe_i32 v5, v1, v2, 0.5               ; encoding: [0x05,0x00,0xc9,0xd1,0x01,0x05,0xc2,0x03]
0x05,0x00,0xc9,0xd1,0x01,0x05,0xc2,0x03

# CHECK: v_bfe_i32 v5, v1, v2, -4.0              ; encoding: [0x05,0x00,0xc9,0xd1,0x01,0x05,0xde,0x03]
0x05,0x00,0xc9,0xd1,0x01,0x05,0xde,0x03

# CHECK: v_bfi_b32 v5, v1, v2, v3                ; encoding: [0x05,0x00,0xca,0xd1,0x01,0x05,0x0e,0x04]
0x05,0x00,0xca,0xd1,0x01,0x05,0x0e,0x04

# CHECK: v_bfi_b32 v255, v1, v2, v3              ; encoding: [0xff,0x00,0xca,0xd1,0x01,0x05,0x0e,0x04]
0xff,0x00,0xca,0xd1,0x01,0x05,0x0e,0x04

# CHECK: v_bfi_b32 v5, v255, v2, v3              ; encoding: [0x05,0x00,0xca,0xd1,0xff,0x05,0x0e,0x04]
0x05,0x00,0xca,0xd1,0xff,0x05,0x0e,0x04

# CHECK: v_bfi_b32 v5, s1, v2, v3                ; encoding: [0x05,0x00,0xca,0xd1,0x01,0x04,0x0e,0x04]
0x05,0x00,0xca,0xd1,0x01,0x04,0x0e,0x04

# CHECK: v_bfi_b32 v5, s101, v2, v3              ; encoding: [0x05,0x00,0xca,0xd1,0x65,0x04,0x0e,0x04]
0x05,0x00,0xca,0xd1,0x65,0x04,0x0e,0x04

# CHECK: v_bfi_b32 v5, flat_scratch_lo, v2, v3   ; encoding: [0x05,0x00,0xca,0xd1,0x66,0x04,0x0e,0x04]
0x05,0x00,0xca,0xd1,0x66,0x04,0x0e,0x04

# CHECK: v_bfi_b32 v5, flat_scratch_hi, v2, v3   ; encoding: [0x05,0x00,0xca,0xd1,0x67,0x04,0x0e,0x04]
0x05,0x00,0xca,0xd1,0x67,0x04,0x0e,0x04

# CHECK: v_bfi_b32 v5, vcc_lo, v2, v3            ; encoding: [0x05,0x00,0xca,0xd1,0x6a,0x04,0x0e,0x04]
0x05,0x00,0xca,0xd1,0x6a,0x04,0x0e,0x04

# CHECK: v_bfi_b32 v5, vcc_hi, v2, v3            ; encoding: [0x05,0x00,0xca,0xd1,0x6b,0x04,0x0e,0x04]
0x05,0x00,0xca,0xd1,0x6b,0x04,0x0e,0x04

# CHECK: v_bfi_b32 v5, tba_lo, v2, v3            ; encoding: [0x05,0x00,0xca,0xd1,0x6c,0x04,0x0e,0x04]
0x05,0x00,0xca,0xd1,0x6c,0x04,0x0e,0x04

# CHECK: v_bfi_b32 v5, tba_hi, v2, v3            ; encoding: [0x05,0x00,0xca,0xd1,0x6d,0x04,0x0e,0x04]
0x05,0x00,0xca,0xd1,0x6d,0x04,0x0e,0x04

# CHECK: v_bfi_b32 v5, tma_lo, v2, v3            ; encoding: [0x05,0x00,0xca,0xd1,0x6e,0x04,0x0e,0x04]
0x05,0x00,0xca,0xd1,0x6e,0x04,0x0e,0x04

# CHECK: v_bfi_b32 v5, tma_hi, v2, v3            ; encoding: [0x05,0x00,0xca,0xd1,0x6f,0x04,0x0e,0x04]
0x05,0x00,0xca,0xd1,0x6f,0x04,0x0e,0x04

# CHECK: v_bfi_b32 v5, ttmp11, v2, v3            ; encoding: [0x05,0x00,0xca,0xd1,0x7b,0x04,0x0e,0x04]
0x05,0x00,0xca,0xd1,0x7b,0x04,0x0e,0x04

# CHECK: v_bfi_b32 v5, m0, v2, v3                ; encoding: [0x05,0x00,0xca,0xd1,0x7c,0x04,0x0e,0x04]
0x05,0x00,0xca,0xd1,0x7c,0x04,0x0e,0x04

# CHECK: v_bfi_b32 v5, exec_lo, v2, v3           ; encoding: [0x05,0x00,0xca,0xd1,0x7e,0x04,0x0e,0x04]
0x05,0x00,0xca,0xd1,0x7e,0x04,0x0e,0x04

# CHECK: v_bfi_b32 v5, exec_hi, v2, v3           ; encoding: [0x05,0x00,0xca,0xd1,0x7f,0x04,0x0e,0x04]
0x05,0x00,0xca,0xd1,0x7f,0x04,0x0e,0x04

# CHECK: v_bfi_b32 v5, 0, v2, v3                 ; encoding: [0x05,0x00,0xca,0xd1,0x80,0x04,0x0e,0x04]
0x05,0x00,0xca,0xd1,0x80,0x04,0x0e,0x04

# CHECK: v_bfi_b32 v5, -1, v2, v3                ; encoding: [0x05,0x00,0xca,0xd1,0xc1,0x04,0x0e,0x04]
0x05,0x00,0xca,0xd1,0xc1,0x04,0x0e,0x04

# CHECK: v_bfi_b32 v5, 0.5, v2, v3               ; encoding: [0x05,0x00,0xca,0xd1,0xf0,0x04,0x0e,0x04]
0x05,0x00,0xca,0xd1,0xf0,0x04,0x0e,0x04

# CHECK: v_bfi_b32 v5, -4.0, v2, v3              ; encoding: [0x05,0x00,0xca,0xd1,0xf7,0x04,0x0e,0x04]
0x05,0x00,0xca,0xd1,0xf7,0x04,0x0e,0x04

# CHECK: v_bfi_b32 v5, v1, v255, v3              ; encoding: [0x05,0x00,0xca,0xd1,0x01,0xff,0x0f,0x04]
0x05,0x00,0xca,0xd1,0x01,0xff,0x0f,0x04

# CHECK: v_bfi_b32 v5, v1, s2, v3                ; encoding: [0x05,0x00,0xca,0xd1,0x01,0x05,0x0c,0x04]
0x05,0x00,0xca,0xd1,0x01,0x05,0x0c,0x04

# CHECK: v_bfi_b32 v5, v1, s101, v3              ; encoding: [0x05,0x00,0xca,0xd1,0x01,0xcb,0x0c,0x04]
0x05,0x00,0xca,0xd1,0x01,0xcb,0x0c,0x04

# CHECK: v_bfi_b32 v5, v1, flat_scratch_lo, v3   ; encoding: [0x05,0x00,0xca,0xd1,0x01,0xcd,0x0c,0x04]
0x05,0x00,0xca,0xd1,0x01,0xcd,0x0c,0x04

# CHECK: v_bfi_b32 v5, v1, flat_scratch_hi, v3   ; encoding: [0x05,0x00,0xca,0xd1,0x01,0xcf,0x0c,0x04]
0x05,0x00,0xca,0xd1,0x01,0xcf,0x0c,0x04

# CHECK: v_bfi_b32 v5, v1, vcc_lo, v3            ; encoding: [0x05,0x00,0xca,0xd1,0x01,0xd5,0x0c,0x04]
0x05,0x00,0xca,0xd1,0x01,0xd5,0x0c,0x04

# CHECK: v_bfi_b32 v5, v1, vcc_hi, v3            ; encoding: [0x05,0x00,0xca,0xd1,0x01,0xd7,0x0c,0x04]
0x05,0x00,0xca,0xd1,0x01,0xd7,0x0c,0x04

# CHECK: v_bfi_b32 v5, v1, tba_lo, v3            ; encoding: [0x05,0x00,0xca,0xd1,0x01,0xd9,0x0c,0x04]
0x05,0x00,0xca,0xd1,0x01,0xd9,0x0c,0x04

# CHECK: v_bfi_b32 v5, v1, tba_hi, v3            ; encoding: [0x05,0x00,0xca,0xd1,0x01,0xdb,0x0c,0x04]
0x05,0x00,0xca,0xd1,0x01,0xdb,0x0c,0x04

# CHECK: v_bfi_b32 v5, v1, tma_lo, v3            ; encoding: [0x05,0x00,0xca,0xd1,0x01,0xdd,0x0c,0x04]
0x05,0x00,0xca,0xd1,0x01,0xdd,0x0c,0x04

# CHECK: v_bfi_b32 v5, v1, tma_hi, v3            ; encoding: [0x05,0x00,0xca,0xd1,0x01,0xdf,0x0c,0x04]
0x05,0x00,0xca,0xd1,0x01,0xdf,0x0c,0x04

# CHECK: v_bfi_b32 v5, v1, ttmp11, v3            ; encoding: [0x05,0x00,0xca,0xd1,0x01,0xf7,0x0c,0x04]
0x05,0x00,0xca,0xd1,0x01,0xf7,0x0c,0x04

# CHECK: v_bfi_b32 v5, v1, m0, v3                ; encoding: [0x05,0x00,0xca,0xd1,0x01,0xf9,0x0c,0x04]
0x05,0x00,0xca,0xd1,0x01,0xf9,0x0c,0x04

# CHECK: v_bfi_b32 v5, v1, exec_lo, v3           ; encoding: [0x05,0x00,0xca,0xd1,0x01,0xfd,0x0c,0x04]
0x05,0x00,0xca,0xd1,0x01,0xfd,0x0c,0x04

# CHECK: v_bfi_b32 v5, v1, exec_hi, v3           ; encoding: [0x05,0x00,0xca,0xd1,0x01,0xff,0x0c,0x04]
0x05,0x00,0xca,0xd1,0x01,0xff,0x0c,0x04

# CHECK: v_bfi_b32 v5, v1, 0, v3                 ; encoding: [0x05,0x00,0xca,0xd1,0x01,0x01,0x0d,0x04]
0x05,0x00,0xca,0xd1,0x01,0x01,0x0d,0x04

# CHECK: v_bfi_b32 v5, v1, -1, v3                ; encoding: [0x05,0x00,0xca,0xd1,0x01,0x83,0x0d,0x04]
0x05,0x00,0xca,0xd1,0x01,0x83,0x0d,0x04

# CHECK: v_bfi_b32 v5, v1, 0.5, v3               ; encoding: [0x05,0x00,0xca,0xd1,0x01,0xe1,0x0d,0x04]
0x05,0x00,0xca,0xd1,0x01,0xe1,0x0d,0x04

# CHECK: v_bfi_b32 v5, v1, -4.0, v3              ; encoding: [0x05,0x00,0xca,0xd1,0x01,0xef,0x0d,0x04]
0x05,0x00,0xca,0xd1,0x01,0xef,0x0d,0x04

# CHECK: v_bfi_b32 v5, v1, v2, v255              ; encoding: [0x05,0x00,0xca,0xd1,0x01,0x05,0xfe,0x07]
0x05,0x00,0xca,0xd1,0x01,0x05,0xfe,0x07

# CHECK: v_bfi_b32 v5, v1, v2, s3                ; encoding: [0x05,0x00,0xca,0xd1,0x01,0x05,0x0e,0x00]
0x05,0x00,0xca,0xd1,0x01,0x05,0x0e,0x00

# CHECK: v_bfi_b32 v5, v1, v2, s101              ; encoding: [0x05,0x00,0xca,0xd1,0x01,0x05,0x96,0x01]
0x05,0x00,0xca,0xd1,0x01,0x05,0x96,0x01

# CHECK: v_bfi_b32 v5, v1, v2, flat_scratch_lo   ; encoding: [0x05,0x00,0xca,0xd1,0x01,0x05,0x9a,0x01]
0x05,0x00,0xca,0xd1,0x01,0x05,0x9a,0x01

# CHECK: v_bfi_b32 v5, v1, v2, flat_scratch_hi   ; encoding: [0x05,0x00,0xca,0xd1,0x01,0x05,0x9e,0x01]
0x05,0x00,0xca,0xd1,0x01,0x05,0x9e,0x01

# CHECK: v_bfi_b32 v5, v1, v2, vcc_lo            ; encoding: [0x05,0x00,0xca,0xd1,0x01,0x05,0xaa,0x01]
0x05,0x00,0xca,0xd1,0x01,0x05,0xaa,0x01

# CHECK: v_bfi_b32 v5, v1, v2, vcc_hi            ; encoding: [0x05,0x00,0xca,0xd1,0x01,0x05,0xae,0x01]
0x05,0x00,0xca,0xd1,0x01,0x05,0xae,0x01

# CHECK: v_bfi_b32 v5, v1, v2, tba_lo            ; encoding: [0x05,0x00,0xca,0xd1,0x01,0x05,0xb2,0x01]
0x05,0x00,0xca,0xd1,0x01,0x05,0xb2,0x01

# CHECK: v_bfi_b32 v5, v1, v2, tba_hi            ; encoding: [0x05,0x00,0xca,0xd1,0x01,0x05,0xb6,0x01]
0x05,0x00,0xca,0xd1,0x01,0x05,0xb6,0x01

# CHECK: v_bfi_b32 v5, v1, v2, tma_lo            ; encoding: [0x05,0x00,0xca,0xd1,0x01,0x05,0xba,0x01]
0x05,0x00,0xca,0xd1,0x01,0x05,0xba,0x01

# CHECK: v_bfi_b32 v5, v1, v2, tma_hi            ; encoding: [0x05,0x00,0xca,0xd1,0x01,0x05,0xbe,0x01]
0x05,0x00,0xca,0xd1,0x01,0x05,0xbe,0x01

# CHECK: v_bfi_b32 v5, v1, v2, ttmp11            ; encoding: [0x05,0x00,0xca,0xd1,0x01,0x05,0xee,0x01]
0x05,0x00,0xca,0xd1,0x01,0x05,0xee,0x01

# CHECK: v_bfi_b32 v5, v1, v2, m0                ; encoding: [0x05,0x00,0xca,0xd1,0x01,0x05,0xf2,0x01]
0x05,0x00,0xca,0xd1,0x01,0x05,0xf2,0x01

# CHECK: v_bfi_b32 v5, v1, v2, exec_lo           ; encoding: [0x05,0x00,0xca,0xd1,0x01,0x05,0xfa,0x01]
0x05,0x00,0xca,0xd1,0x01,0x05,0xfa,0x01

# CHECK: v_bfi_b32 v5, v1, v2, exec_hi           ; encoding: [0x05,0x00,0xca,0xd1,0x01,0x05,0xfe,0x01]
0x05,0x00,0xca,0xd1,0x01,0x05,0xfe,0x01

# CHECK: v_bfi_b32 v5, v1, v2, 0                 ; encoding: [0x05,0x00,0xca,0xd1,0x01,0x05,0x02,0x02]
0x05,0x00,0xca,0xd1,0x01,0x05,0x02,0x02

# CHECK: v_bfi_b32 v5, v1, v2, -1                ; encoding: [0x05,0x00,0xca,0xd1,0x01,0x05,0x06,0x03]
0x05,0x00,0xca,0xd1,0x01,0x05,0x06,0x03

# CHECK: v_bfi_b32 v5, v1, v2, 0.5               ; encoding: [0x05,0x00,0xca,0xd1,0x01,0x05,0xc2,0x03]
0x05,0x00,0xca,0xd1,0x01,0x05,0xc2,0x03

# CHECK: v_bfi_b32 v5, v1, v2, -4.0              ; encoding: [0x05,0x00,0xca,0xd1,0x01,0x05,0xde,0x03]
0x05,0x00,0xca,0xd1,0x01,0x05,0xde,0x03

# CHECK: v_fma_f32 v5, v1, v2, v3                ; encoding: [0x05,0x00,0xcb,0xd1,0x01,0x05,0x0e,0x04]
0x05,0x00,0xcb,0xd1,0x01,0x05,0x0e,0x04

# CHECK: v_fma_f32 v255, v1, v2, v3              ; encoding: [0xff,0x00,0xcb,0xd1,0x01,0x05,0x0e,0x04]
0xff,0x00,0xcb,0xd1,0x01,0x05,0x0e,0x04

# CHECK: v_fma_f32 v5, v255, v2, v3              ; encoding: [0x05,0x00,0xcb,0xd1,0xff,0x05,0x0e,0x04]
0x05,0x00,0xcb,0xd1,0xff,0x05,0x0e,0x04

# CHECK: v_fma_f32 v5, s1, v2, v3                ; encoding: [0x05,0x00,0xcb,0xd1,0x01,0x04,0x0e,0x04]
0x05,0x00,0xcb,0xd1,0x01,0x04,0x0e,0x04

# CHECK: v_fma_f32 v5, s101, v2, v3              ; encoding: [0x05,0x00,0xcb,0xd1,0x65,0x04,0x0e,0x04]
0x05,0x00,0xcb,0xd1,0x65,0x04,0x0e,0x04

# CHECK: v_fma_f32 v5, flat_scratch_lo, v2, v3   ; encoding: [0x05,0x00,0xcb,0xd1,0x66,0x04,0x0e,0x04]
0x05,0x00,0xcb,0xd1,0x66,0x04,0x0e,0x04

# CHECK: v_fma_f32 v5, flat_scratch_hi, v2, v3   ; encoding: [0x05,0x00,0xcb,0xd1,0x67,0x04,0x0e,0x04]
0x05,0x00,0xcb,0xd1,0x67,0x04,0x0e,0x04

# CHECK: v_fma_f32 v5, vcc_lo, v2, v3            ; encoding: [0x05,0x00,0xcb,0xd1,0x6a,0x04,0x0e,0x04]
0x05,0x00,0xcb,0xd1,0x6a,0x04,0x0e,0x04

# CHECK: v_fma_f32 v5, vcc_hi, v2, v3            ; encoding: [0x05,0x00,0xcb,0xd1,0x6b,0x04,0x0e,0x04]
0x05,0x00,0xcb,0xd1,0x6b,0x04,0x0e,0x04

# CHECK: v_fma_f32 v5, tba_lo, v2, v3            ; encoding: [0x05,0x00,0xcb,0xd1,0x6c,0x04,0x0e,0x04]
0x05,0x00,0xcb,0xd1,0x6c,0x04,0x0e,0x04

# CHECK: v_fma_f32 v5, tba_hi, v2, v3            ; encoding: [0x05,0x00,0xcb,0xd1,0x6d,0x04,0x0e,0x04]
0x05,0x00,0xcb,0xd1,0x6d,0x04,0x0e,0x04

# CHECK: v_fma_f32 v5, tma_lo, v2, v3            ; encoding: [0x05,0x00,0xcb,0xd1,0x6e,0x04,0x0e,0x04]
0x05,0x00,0xcb,0xd1,0x6e,0x04,0x0e,0x04

# CHECK: v_fma_f32 v5, tma_hi, v2, v3            ; encoding: [0x05,0x00,0xcb,0xd1,0x6f,0x04,0x0e,0x04]
0x05,0x00,0xcb,0xd1,0x6f,0x04,0x0e,0x04

# CHECK: v_fma_f32 v5, ttmp11, v2, v3            ; encoding: [0x05,0x00,0xcb,0xd1,0x7b,0x04,0x0e,0x04]
0x05,0x00,0xcb,0xd1,0x7b,0x04,0x0e,0x04

# CHECK: v_fma_f32 v5, m0, v2, v3                ; encoding: [0x05,0x00,0xcb,0xd1,0x7c,0x04,0x0e,0x04]
0x05,0x00,0xcb,0xd1,0x7c,0x04,0x0e,0x04

# CHECK: v_fma_f32 v5, exec_lo, v2, v3           ; encoding: [0x05,0x00,0xcb,0xd1,0x7e,0x04,0x0e,0x04]
0x05,0x00,0xcb,0xd1,0x7e,0x04,0x0e,0x04

# CHECK: v_fma_f32 v5, exec_hi, v2, v3           ; encoding: [0x05,0x00,0xcb,0xd1,0x7f,0x04,0x0e,0x04]
0x05,0x00,0xcb,0xd1,0x7f,0x04,0x0e,0x04

# CHECK: v_fma_f32 v5, 0, v2, v3                 ; encoding: [0x05,0x00,0xcb,0xd1,0x80,0x04,0x0e,0x04]
0x05,0x00,0xcb,0xd1,0x80,0x04,0x0e,0x04

# CHECK: v_fma_f32 v5, -1, v2, v3                ; encoding: [0x05,0x00,0xcb,0xd1,0xc1,0x04,0x0e,0x04]
0x05,0x00,0xcb,0xd1,0xc1,0x04,0x0e,0x04

# CHECK: v_fma_f32 v5, 0.5, v2, v3               ; encoding: [0x05,0x00,0xcb,0xd1,0xf0,0x04,0x0e,0x04]
0x05,0x00,0xcb,0xd1,0xf0,0x04,0x0e,0x04

# CHECK: v_fma_f32 v5, -4.0, v2, v3              ; encoding: [0x05,0x00,0xcb,0xd1,0xf7,0x04,0x0e,0x04]
0x05,0x00,0xcb,0xd1,0xf7,0x04,0x0e,0x04

# CHECK: v_fma_f32 v5, v1, v255, v3              ; encoding: [0x05,0x00,0xcb,0xd1,0x01,0xff,0x0f,0x04]
0x05,0x00,0xcb,0xd1,0x01,0xff,0x0f,0x04

# CHECK: v_fma_f32 v5, v1, s2, v3                ; encoding: [0x05,0x00,0xcb,0xd1,0x01,0x05,0x0c,0x04]
0x05,0x00,0xcb,0xd1,0x01,0x05,0x0c,0x04

# CHECK: v_fma_f32 v5, v1, s101, v3              ; encoding: [0x05,0x00,0xcb,0xd1,0x01,0xcb,0x0c,0x04]
0x05,0x00,0xcb,0xd1,0x01,0xcb,0x0c,0x04

# CHECK: v_fma_f32 v5, v1, flat_scratch_lo, v3   ; encoding: [0x05,0x00,0xcb,0xd1,0x01,0xcd,0x0c,0x04]
0x05,0x00,0xcb,0xd1,0x01,0xcd,0x0c,0x04

# CHECK: v_fma_f32 v5, v1, flat_scratch_hi, v3   ; encoding: [0x05,0x00,0xcb,0xd1,0x01,0xcf,0x0c,0x04]
0x05,0x00,0xcb,0xd1,0x01,0xcf,0x0c,0x04

# CHECK: v_fma_f32 v5, v1, vcc_lo, v3            ; encoding: [0x05,0x00,0xcb,0xd1,0x01,0xd5,0x0c,0x04]
0x05,0x00,0xcb,0xd1,0x01,0xd5,0x0c,0x04

# CHECK: v_fma_f32 v5, v1, vcc_hi, v3            ; encoding: [0x05,0x00,0xcb,0xd1,0x01,0xd7,0x0c,0x04]
0x05,0x00,0xcb,0xd1,0x01,0xd7,0x0c,0x04

# CHECK: v_fma_f32 v5, v1, tba_lo, v3            ; encoding: [0x05,0x00,0xcb,0xd1,0x01,0xd9,0x0c,0x04]
0x05,0x00,0xcb,0xd1,0x01,0xd9,0x0c,0x04

# CHECK: v_fma_f32 v5, v1, tba_hi, v3            ; encoding: [0x05,0x00,0xcb,0xd1,0x01,0xdb,0x0c,0x04]
0x05,0x00,0xcb,0xd1,0x01,0xdb,0x0c,0x04

# CHECK: v_fma_f32 v5, v1, tma_lo, v3            ; encoding: [0x05,0x00,0xcb,0xd1,0x01,0xdd,0x0c,0x04]
0x05,0x00,0xcb,0xd1,0x01,0xdd,0x0c,0x04

# CHECK: v_fma_f32 v5, v1, tma_hi, v3            ; encoding: [0x05,0x00,0xcb,0xd1,0x01,0xdf,0x0c,0x04]
0x05,0x00,0xcb,0xd1,0x01,0xdf,0x0c,0x04

# CHECK: v_fma_f32 v5, v1, ttmp11, v3            ; encoding: [0x05,0x00,0xcb,0xd1,0x01,0xf7,0x0c,0x04]
0x05,0x00,0xcb,0xd1,0x01,0xf7,0x0c,0x04

# CHECK: v_fma_f32 v5, v1, m0, v3                ; encoding: [0x05,0x00,0xcb,0xd1,0x01,0xf9,0x0c,0x04]
0x05,0x00,0xcb,0xd1,0x01,0xf9,0x0c,0x04

# CHECK: v_fma_f32 v5, v1, exec_lo, v3           ; encoding: [0x05,0x00,0xcb,0xd1,0x01,0xfd,0x0c,0x04]
0x05,0x00,0xcb,0xd1,0x01,0xfd,0x0c,0x04

# CHECK: v_fma_f32 v5, v1, exec_hi, v3           ; encoding: [0x05,0x00,0xcb,0xd1,0x01,0xff,0x0c,0x04]
0x05,0x00,0xcb,0xd1,0x01,0xff,0x0c,0x04

# CHECK: v_fma_f32 v5, v1, 0, v3                 ; encoding: [0x05,0x00,0xcb,0xd1,0x01,0x01,0x0d,0x04]
0x05,0x00,0xcb,0xd1,0x01,0x01,0x0d,0x04

# CHECK: v_fma_f32 v5, v1, -1, v3                ; encoding: [0x05,0x00,0xcb,0xd1,0x01,0x83,0x0d,0x04]
0x05,0x00,0xcb,0xd1,0x01,0x83,0x0d,0x04

# CHECK: v_fma_f32 v5, v1, 0.5, v3               ; encoding: [0x05,0x00,0xcb,0xd1,0x01,0xe1,0x0d,0x04]
0x05,0x00,0xcb,0xd1,0x01,0xe1,0x0d,0x04

# CHECK: v_fma_f32 v5, v1, -4.0, v3              ; encoding: [0x05,0x00,0xcb,0xd1,0x01,0xef,0x0d,0x04]
0x05,0x00,0xcb,0xd1,0x01,0xef,0x0d,0x04

# CHECK: v_fma_f32 v5, v1, v2, v255              ; encoding: [0x05,0x00,0xcb,0xd1,0x01,0x05,0xfe,0x07]
0x05,0x00,0xcb,0xd1,0x01,0x05,0xfe,0x07

# CHECK: v_fma_f32 v5, v1, v2, s3                ; encoding: [0x05,0x00,0xcb,0xd1,0x01,0x05,0x0e,0x00]
0x05,0x00,0xcb,0xd1,0x01,0x05,0x0e,0x00

# CHECK: v_fma_f32 v5, v1, v2, s101              ; encoding: [0x05,0x00,0xcb,0xd1,0x01,0x05,0x96,0x01]
0x05,0x00,0xcb,0xd1,0x01,0x05,0x96,0x01

# CHECK: v_fma_f32 v5, v1, v2, flat_scratch_lo   ; encoding: [0x05,0x00,0xcb,0xd1,0x01,0x05,0x9a,0x01]
0x05,0x00,0xcb,0xd1,0x01,0x05,0x9a,0x01

# CHECK: v_fma_f32 v5, v1, v2, flat_scratch_hi   ; encoding: [0x05,0x00,0xcb,0xd1,0x01,0x05,0x9e,0x01]
0x05,0x00,0xcb,0xd1,0x01,0x05,0x9e,0x01

# CHECK: v_fma_f32 v5, v1, v2, vcc_lo            ; encoding: [0x05,0x00,0xcb,0xd1,0x01,0x05,0xaa,0x01]
0x05,0x00,0xcb,0xd1,0x01,0x05,0xaa,0x01

# CHECK: v_fma_f32 v5, v1, v2, vcc_hi            ; encoding: [0x05,0x00,0xcb,0xd1,0x01,0x05,0xae,0x01]
0x05,0x00,0xcb,0xd1,0x01,0x05,0xae,0x01

# CHECK: v_fma_f32 v5, v1, v2, tba_lo            ; encoding: [0x05,0x00,0xcb,0xd1,0x01,0x05,0xb2,0x01]
0x05,0x00,0xcb,0xd1,0x01,0x05,0xb2,0x01

# CHECK: v_fma_f32 v5, v1, v2, tba_hi            ; encoding: [0x05,0x00,0xcb,0xd1,0x01,0x05,0xb6,0x01]
0x05,0x00,0xcb,0xd1,0x01,0x05,0xb6,0x01

# CHECK: v_fma_f32 v5, v1, v2, tma_lo            ; encoding: [0x05,0x00,0xcb,0xd1,0x01,0x05,0xba,0x01]
0x05,0x00,0xcb,0xd1,0x01,0x05,0xba,0x01

# CHECK: v_fma_f32 v5, v1, v2, tma_hi            ; encoding: [0x05,0x00,0xcb,0xd1,0x01,0x05,0xbe,0x01]
0x05,0x00,0xcb,0xd1,0x01,0x05,0xbe,0x01

# CHECK: v_fma_f32 v5, v1, v2, ttmp11            ; encoding: [0x05,0x00,0xcb,0xd1,0x01,0x05,0xee,0x01]
0x05,0x00,0xcb,0xd1,0x01,0x05,0xee,0x01

# CHECK: v_fma_f32 v5, v1, v2, m0                ; encoding: [0x05,0x00,0xcb,0xd1,0x01,0x05,0xf2,0x01]
0x05,0x00,0xcb,0xd1,0x01,0x05,0xf2,0x01

# CHECK: v_fma_f32 v5, v1, v2, exec_lo           ; encoding: [0x05,0x00,0xcb,0xd1,0x01,0x05,0xfa,0x01]
0x05,0x00,0xcb,0xd1,0x01,0x05,0xfa,0x01

# CHECK: v_fma_f32 v5, v1, v2, exec_hi           ; encoding: [0x05,0x00,0xcb,0xd1,0x01,0x05,0xfe,0x01]
0x05,0x00,0xcb,0xd1,0x01,0x05,0xfe,0x01

# CHECK: v_fma_f32 v5, v1, v2, 0                 ; encoding: [0x05,0x00,0xcb,0xd1,0x01,0x05,0x02,0x02]
0x05,0x00,0xcb,0xd1,0x01,0x05,0x02,0x02

# CHECK: v_fma_f32 v5, v1, v2, -1                ; encoding: [0x05,0x00,0xcb,0xd1,0x01,0x05,0x06,0x03]
0x05,0x00,0xcb,0xd1,0x01,0x05,0x06,0x03

# CHECK: v_fma_f32 v5, v1, v2, 0.5               ; encoding: [0x05,0x00,0xcb,0xd1,0x01,0x05,0xc2,0x03]
0x05,0x00,0xcb,0xd1,0x01,0x05,0xc2,0x03

# CHECK: v_fma_f32 v5, v1, v2, -4.0              ; encoding: [0x05,0x00,0xcb,0xd1,0x01,0x05,0xde,0x03]
0x05,0x00,0xcb,0xd1,0x01,0x05,0xde,0x03

# CHECK: v_fma_f32 v5, -v1, v2, v3               ; encoding: [0x05,0x00,0xcb,0xd1,0x01,0x05,0x0e,0x24]
0x05,0x00,0xcb,0xd1,0x01,0x05,0x0e,0x24

# CHECK: v_fma_f32 v5, v1, -v2, v3               ; encoding: [0x05,0x00,0xcb,0xd1,0x01,0x05,0x0e,0x44]
0x05,0x00,0xcb,0xd1,0x01,0x05,0x0e,0x44

# CHECK: v_fma_f32 v5, v1, v2, -v3               ; encoding: [0x05,0x00,0xcb,0xd1,0x01,0x05,0x0e,0x84]
0x05,0x00,0xcb,0xd1,0x01,0x05,0x0e,0x84

# CHECK: v_fma_f32 v5, -v1, -v2, -v3             ; encoding: [0x05,0x00,0xcb,0xd1,0x01,0x05,0x0e,0xe4]
0x05,0x00,0xcb,0xd1,0x01,0x05,0x0e,0xe4

# CHECK: v_fma_f32 v5, |v1|, v2, v3              ; encoding: [0x05,0x01,0xcb,0xd1,0x01,0x05,0x0e,0x04]
0x05,0x01,0xcb,0xd1,0x01,0x05,0x0e,0x04

# CHECK: v_fma_f32 v5, v1, |v2|, v3              ; encoding: [0x05,0x02,0xcb,0xd1,0x01,0x05,0x0e,0x04]
0x05,0x02,0xcb,0xd1,0x01,0x05,0x0e,0x04

# CHECK: v_fma_f32 v5, v1, v2, |v3|              ; encoding: [0x05,0x04,0xcb,0xd1,0x01,0x05,0x0e,0x04]
0x05,0x04,0xcb,0xd1,0x01,0x05,0x0e,0x04

# CHECK: v_fma_f32 v5, |v1|, |v2|, |v3|          ; encoding: [0x05,0x07,0xcb,0xd1,0x01,0x05,0x0e,0x04]
0x05,0x07,0xcb,0xd1,0x01,0x05,0x0e,0x04

# CHECK: v_fma_f32 v5, v1, v2, v3 clamp          ; encoding: [0x05,0x80,0xcb,0xd1,0x01,0x05,0x0e,0x04]
0x05,0x80,0xcb,0xd1,0x01,0x05,0x0e,0x04

# CHECK: v_fma_f32 v5, v1, v2, v3 mul:2          ; encoding: [0x05,0x00,0xcb,0xd1,0x01,0x05,0x0e,0x0c]
0x05,0x00,0xcb,0xd1,0x01,0x05,0x0e,0x0c

# CHECK: v_fma_f32 v5, v1, v2, v3 mul:4          ; encoding: [0x05,0x00,0xcb,0xd1,0x01,0x05,0x0e,0x14]
0x05,0x00,0xcb,0xd1,0x01,0x05,0x0e,0x14

# CHECK: v_fma_f32 v5, v1, v2, v3 div:2          ; encoding: [0x05,0x00,0xcb,0xd1,0x01,0x05,0x0e,0x1c]
0x05,0x00,0xcb,0xd1,0x01,0x05,0x0e,0x1c

# CHECK: v_fma_f64 v[5:6], v[1:2], v[2:3], v[3:4] ; encoding: [0x05,0x00,0xcc,0xd1,0x01,0x05,0x0e,0x04]
0x05,0x00,0xcc,0xd1,0x01,0x05,0x0e,0x04

# CHECK: v_fma_f64 v[254:255], v[1:2], v[2:3], v[3:4] ; encoding: [0xfe,0x00,0xcc,0xd1,0x01,0x05,0x0e,0x04]
0xfe,0x00,0xcc,0xd1,0x01,0x05,0x0e,0x04

# CHECK: v_fma_f64 v[5:6], v[254:255], v[2:3], v[3:4] ; encoding: [0x05,0x00,0xcc,0xd1,0xfe,0x05,0x0e,0x04]
0x05,0x00,0xcc,0xd1,0xfe,0x05,0x0e,0x04

# CHECK: v_fma_f64 v[5:6], s[2:3], v[2:3], v[3:4] ; encoding: [0x05,0x00,0xcc,0xd1,0x02,0x04,0x0e,0x04]
0x05,0x00,0xcc,0xd1,0x02,0x04,0x0e,0x04

# CHECK: v_fma_f64 v[5:6], s[4:5], v[2:3], v[3:4] ; encoding: [0x05,0x00,0xcc,0xd1,0x04,0x04,0x0e,0x04]
0x05,0x00,0xcc,0xd1,0x04,0x04,0x0e,0x04

# CHECK: v_fma_f64 v[5:6], s[100:101], v[2:3], v[3:4] ; encoding: [0x05,0x00,0xcc,0xd1,0x64,0x04,0x0e,0x04]
0x05,0x00,0xcc,0xd1,0x64,0x04,0x0e,0x04

# CHECK: v_fma_f64 v[5:6], flat_scratch, v[2:3], v[3:4] ; encoding: [0x05,0x00,0xcc,0xd1,0x66,0x04,0x0e,0x04]
0x05,0x00,0xcc,0xd1,0x66,0x04,0x0e,0x04

# CHECK: v_fma_f64 v[5:6], vcc, v[2:3], v[3:4]   ; encoding: [0x05,0x00,0xcc,0xd1,0x6a,0x04,0x0e,0x04]
0x05,0x00,0xcc,0xd1,0x6a,0x04,0x0e,0x04

# CHECK: v_fma_f64 v[5:6], tba, v[2:3], v[3:4]   ; encoding: [0x05,0x00,0xcc,0xd1,0x6c,0x04,0x0e,0x04]
0x05,0x00,0xcc,0xd1,0x6c,0x04,0x0e,0x04

# CHECK: v_fma_f64 v[5:6], tma, v[2:3], v[3:4]   ; encoding: [0x05,0x00,0xcc,0xd1,0x6e,0x04,0x0e,0x04]
0x05,0x00,0xcc,0xd1,0x6e,0x04,0x0e,0x04

# CHECK: v_fma_f64 v[5:6], ttmp[10:11], v[2:3], v[3:4] ; encoding: [0x05,0x00,0xcc,0xd1,0x7a,0x04,0x0e,0x04]
0x05,0x00,0xcc,0xd1,0x7a,0x04,0x0e,0x04

# CHECK: v_fma_f64 v[5:6], exec, v[2:3], v[3:4]  ; encoding: [0x05,0x00,0xcc,0xd1,0x7e,0x04,0x0e,0x04]
0x05,0x00,0xcc,0xd1,0x7e,0x04,0x0e,0x04

# CHECK: v_fma_f64 v[5:6], 0, v[2:3], v[3:4]     ; encoding: [0x05,0x00,0xcc,0xd1,0x80,0x04,0x0e,0x04]
0x05,0x00,0xcc,0xd1,0x80,0x04,0x0e,0x04

# CHECK: v_fma_f64 v[5:6], -1, v[2:3], v[3:4]    ; encoding: [0x05,0x00,0xcc,0xd1,0xc1,0x04,0x0e,0x04]
0x05,0x00,0xcc,0xd1,0xc1,0x04,0x0e,0x04

# CHECK: v_fma_f64 v[5:6], 0.5, v[2:3], v[3:4]   ; encoding: [0x05,0x00,0xcc,0xd1,0xf0,0x04,0x0e,0x04]
0x05,0x00,0xcc,0xd1,0xf0,0x04,0x0e,0x04

# CHECK: v_fma_f64 v[5:6], -4.0, v[2:3], v[3:4]  ; encoding: [0x05,0x00,0xcc,0xd1,0xf7,0x04,0x0e,0x04]
0x05,0x00,0xcc,0xd1,0xf7,0x04,0x0e,0x04

# CHECK: v_fma_f64 v[5:6], v[1:2], v[254:255], v[3:4] ; encoding: [0x05,0x00,0xcc,0xd1,0x01,0xfd,0x0f,0x04]
0x05,0x00,0xcc,0xd1,0x01,0xfd,0x0f,0x04

# CHECK: v_fma_f64 v[5:6], v[1:2], s[4:5], v[3:4] ; encoding: [0x05,0x00,0xcc,0xd1,0x01,0x09,0x0c,0x04]
0x05,0x00,0xcc,0xd1,0x01,0x09,0x0c,0x04

# CHECK: v_fma_f64 v[5:6], v[1:2], s[6:7], v[3:4] ; encoding: [0x05,0x00,0xcc,0xd1,0x01,0x0d,0x0c,0x04]
0x05,0x00,0xcc,0xd1,0x01,0x0d,0x0c,0x04

# CHECK: v_fma_f64 v[5:6], v[1:2], s[100:101], v[3:4] ; encoding: [0x05,0x00,0xcc,0xd1,0x01,0xc9,0x0c,0x04]
0x05,0x00,0xcc,0xd1,0x01,0xc9,0x0c,0x04

# CHECK: v_fma_f64 v[5:6], v[1:2], flat_scratch, v[3:4] ; encoding: [0x05,0x00,0xcc,0xd1,0x01,0xcd,0x0c,0x04]
0x05,0x00,0xcc,0xd1,0x01,0xcd,0x0c,0x04

# CHECK: v_fma_f64 v[5:6], v[1:2], vcc, v[3:4]   ; encoding: [0x05,0x00,0xcc,0xd1,0x01,0xd5,0x0c,0x04]
0x05,0x00,0xcc,0xd1,0x01,0xd5,0x0c,0x04

# CHECK: v_fma_f64 v[5:6], v[1:2], tba, v[3:4]   ; encoding: [0x05,0x00,0xcc,0xd1,0x01,0xd9,0x0c,0x04]
0x05,0x00,0xcc,0xd1,0x01,0xd9,0x0c,0x04

# CHECK: v_fma_f64 v[5:6], v[1:2], tma, v[3:4]   ; encoding: [0x05,0x00,0xcc,0xd1,0x01,0xdd,0x0c,0x04]
0x05,0x00,0xcc,0xd1,0x01,0xdd,0x0c,0x04

# CHECK: v_fma_f64 v[5:6], v[1:2], ttmp[10:11], v[3:4] ; encoding: [0x05,0x00,0xcc,0xd1,0x01,0xf5,0x0c,0x04]
0x05,0x00,0xcc,0xd1,0x01,0xf5,0x0c,0x04

# CHECK: v_fma_f64 v[5:6], v[1:2], exec, v[3:4]  ; encoding: [0x05,0x00,0xcc,0xd1,0x01,0xfd,0x0c,0x04]
0x05,0x00,0xcc,0xd1,0x01,0xfd,0x0c,0x04

# CHECK: v_fma_f64 v[5:6], v[1:2], 0, v[3:4]     ; encoding: [0x05,0x00,0xcc,0xd1,0x01,0x01,0x0d,0x04]
0x05,0x00,0xcc,0xd1,0x01,0x01,0x0d,0x04

# CHECK: v_fma_f64 v[5:6], v[1:2], -1, v[3:4]    ; encoding: [0x05,0x00,0xcc,0xd1,0x01,0x83,0x0d,0x04]
0x05,0x00,0xcc,0xd1,0x01,0x83,0x0d,0x04

# CHECK: v_fma_f64 v[5:6], v[1:2], 0.5, v[3:4]   ; encoding: [0x05,0x00,0xcc,0xd1,0x01,0xe1,0x0d,0x04]
0x05,0x00,0xcc,0xd1,0x01,0xe1,0x0d,0x04

# CHECK: v_fma_f64 v[5:6], v[1:2], -4.0, v[3:4]  ; encoding: [0x05,0x00,0xcc,0xd1,0x01,0xef,0x0d,0x04]
0x05,0x00,0xcc,0xd1,0x01,0xef,0x0d,0x04

# CHECK: v_fma_f64 v[5:6], v[1:2], v[2:3], v[254:255] ; encoding: [0x05,0x00,0xcc,0xd1,0x01,0x05,0xfa,0x07]
0x05,0x00,0xcc,0xd1,0x01,0x05,0xfa,0x07

# CHECK: v_fma_f64 v[5:6], v[1:2], v[2:3], s[6:7] ; encoding: [0x05,0x00,0xcc,0xd1,0x01,0x05,0x1a,0x00]
0x05,0x00,0xcc,0xd1,0x01,0x05,0x1a,0x00

# CHECK: v_fma_f64 v[5:6], v[1:2], v[2:3], s[8:9] ; encoding: [0x05,0x00,0xcc,0xd1,0x01,0x05,0x22,0x00]
0x05,0x00,0xcc,0xd1,0x01,0x05,0x22,0x00

# CHECK: v_fma_f64 v[5:6], v[1:2], v[2:3], s[100:101] ; encoding: [0x05,0x00,0xcc,0xd1,0x01,0x05,0x92,0x01]
0x05,0x00,0xcc,0xd1,0x01,0x05,0x92,0x01

# CHECK: v_fma_f64 v[5:6], v[1:2], v[2:3], flat_scratch ; encoding: [0x05,0x00,0xcc,0xd1,0x01,0x05,0x9a,0x01]
0x05,0x00,0xcc,0xd1,0x01,0x05,0x9a,0x01

# CHECK: v_fma_f64 v[5:6], v[1:2], v[2:3], vcc   ; encoding: [0x05,0x00,0xcc,0xd1,0x01,0x05,0xaa,0x01]
0x05,0x00,0xcc,0xd1,0x01,0x05,0xaa,0x01

# CHECK: v_fma_f64 v[5:6], v[1:2], v[2:3], tba   ; encoding: [0x05,0x00,0xcc,0xd1,0x01,0x05,0xb2,0x01]
0x05,0x00,0xcc,0xd1,0x01,0x05,0xb2,0x01

# CHECK: v_fma_f64 v[5:6], v[1:2], v[2:3], tma   ; encoding: [0x05,0x00,0xcc,0xd1,0x01,0x05,0xba,0x01]
0x05,0x00,0xcc,0xd1,0x01,0x05,0xba,0x01

# CHECK: v_fma_f64 v[5:6], v[1:2], v[2:3], ttmp[10:11] ; encoding: [0x05,0x00,0xcc,0xd1,0x01,0x05,0xea,0x01]
0x05,0x00,0xcc,0xd1,0x01,0x05,0xea,0x01

# CHECK: v_fma_f64 v[5:6], v[1:2], v[2:3], exec  ; encoding: [0x05,0x00,0xcc,0xd1,0x01,0x05,0xfa,0x01]
0x05,0x00,0xcc,0xd1,0x01,0x05,0xfa,0x01

# CHECK: v_fma_f64 v[5:6], v[1:2], v[2:3], 0     ; encoding: [0x05,0x00,0xcc,0xd1,0x01,0x05,0x02,0x02]
0x05,0x00,0xcc,0xd1,0x01,0x05,0x02,0x02

# CHECK: v_fma_f64 v[5:6], v[1:2], v[2:3], -1    ; encoding: [0x05,0x00,0xcc,0xd1,0x01,0x05,0x06,0x03]
0x05,0x00,0xcc,0xd1,0x01,0x05,0x06,0x03

# CHECK: v_fma_f64 v[5:6], v[1:2], v[2:3], 0.5   ; encoding: [0x05,0x00,0xcc,0xd1,0x01,0x05,0xc2,0x03]
0x05,0x00,0xcc,0xd1,0x01,0x05,0xc2,0x03

# CHECK: v_fma_f64 v[5:6], v[1:2], v[2:3], -4.0  ; encoding: [0x05,0x00,0xcc,0xd1,0x01,0x05,0xde,0x03]
0x05,0x00,0xcc,0xd1,0x01,0x05,0xde,0x03

# CHECK: v_fma_f64 v[5:6], -v[1:2], v[2:3], v[3:4] ; encoding: [0x05,0x00,0xcc,0xd1,0x01,0x05,0x0e,0x24]
0x05,0x00,0xcc,0xd1,0x01,0x05,0x0e,0x24

# CHECK: v_fma_f64 v[5:6], v[1:2], -v[2:3], v[3:4] ; encoding: [0x05,0x00,0xcc,0xd1,0x01,0x05,0x0e,0x44]
0x05,0x00,0xcc,0xd1,0x01,0x05,0x0e,0x44

# CHECK: v_fma_f64 v[5:6], v[1:2], v[2:3], -v[3:4] ; encoding: [0x05,0x00,0xcc,0xd1,0x01,0x05,0x0e,0x84]
0x05,0x00,0xcc,0xd1,0x01,0x05,0x0e,0x84

# CHECK: v_fma_f64 v[5:6], -v[1:2], -v[2:3], -v[3:4] ; encoding: [0x05,0x00,0xcc,0xd1,0x01,0x05,0x0e,0xe4]
0x05,0x00,0xcc,0xd1,0x01,0x05,0x0e,0xe4

# CHECK: v_fma_f64 v[5:6], |v[1:2]|, v[2:3], v[3:4] ; encoding: [0x05,0x01,0xcc,0xd1,0x01,0x05,0x0e,0x04]
0x05,0x01,0xcc,0xd1,0x01,0x05,0x0e,0x04

# CHECK: v_fma_f64 v[5:6], v[1:2], |v[2:3]|, v[3:4] ; encoding: [0x05,0x02,0xcc,0xd1,0x01,0x05,0x0e,0x04]
0x05,0x02,0xcc,0xd1,0x01,0x05,0x0e,0x04

# CHECK: v_fma_f64 v[5:6], v[1:2], v[2:3], |v[3:4]| ; encoding: [0x05,0x04,0xcc,0xd1,0x01,0x05,0x0e,0x04]
0x05,0x04,0xcc,0xd1,0x01,0x05,0x0e,0x04

# CHECK: v_fma_f64 v[5:6], |v[1:2]|, |v[2:3]|, |v[3:4]| ; encoding: [0x05,0x07,0xcc,0xd1,0x01,0x05,0x0e,0x04]
0x05,0x07,0xcc,0xd1,0x01,0x05,0x0e,0x04

# CHECK: v_fma_f64 v[5:6], v[1:2], v[2:3], v[3:4] clamp ; encoding: [0x05,0x80,0xcc,0xd1,0x01,0x05,0x0e,0x04]
0x05,0x80,0xcc,0xd1,0x01,0x05,0x0e,0x04

# CHECK: v_fma_f64 v[5:6], v[1:2], v[2:3], v[3:4] mul:2 ; encoding: [0x05,0x00,0xcc,0xd1,0x01,0x05,0x0e,0x0c]
0x05,0x00,0xcc,0xd1,0x01,0x05,0x0e,0x0c

# CHECK: v_fma_f64 v[5:6], v[1:2], v[2:3], v[3:4] mul:4 ; encoding: [0x05,0x00,0xcc,0xd1,0x01,0x05,0x0e,0x14]
0x05,0x00,0xcc,0xd1,0x01,0x05,0x0e,0x14

# CHECK: v_fma_f64 v[5:6], v[1:2], v[2:3], v[3:4] div:2 ; encoding: [0x05,0x00,0xcc,0xd1,0x01,0x05,0x0e,0x1c]
0x05,0x00,0xcc,0xd1,0x01,0x05,0x0e,0x1c

# CHECK: v_lerp_u8 v5, v1, v2, v3                ; encoding: [0x05,0x00,0xcd,0xd1,0x01,0x05,0x0e,0x04]
0x05,0x00,0xcd,0xd1,0x01,0x05,0x0e,0x04

# CHECK: v_lerp_u8 v255, v1, v2, v3              ; encoding: [0xff,0x00,0xcd,0xd1,0x01,0x05,0x0e,0x04]
0xff,0x00,0xcd,0xd1,0x01,0x05,0x0e,0x04

# CHECK: v_lerp_u8 v5, v255, v2, v3              ; encoding: [0x05,0x00,0xcd,0xd1,0xff,0x05,0x0e,0x04]
0x05,0x00,0xcd,0xd1,0xff,0x05,0x0e,0x04

# CHECK: v_lerp_u8 v5, s1, v2, v3                ; encoding: [0x05,0x00,0xcd,0xd1,0x01,0x04,0x0e,0x04]
0x05,0x00,0xcd,0xd1,0x01,0x04,0x0e,0x04

# CHECK: v_lerp_u8 v5, s101, v2, v3              ; encoding: [0x05,0x00,0xcd,0xd1,0x65,0x04,0x0e,0x04]
0x05,0x00,0xcd,0xd1,0x65,0x04,0x0e,0x04

# CHECK: v_lerp_u8 v5, flat_scratch_lo, v2, v3   ; encoding: [0x05,0x00,0xcd,0xd1,0x66,0x04,0x0e,0x04]
0x05,0x00,0xcd,0xd1,0x66,0x04,0x0e,0x04

# CHECK: v_lerp_u8 v5, flat_scratch_hi, v2, v3   ; encoding: [0x05,0x00,0xcd,0xd1,0x67,0x04,0x0e,0x04]
0x05,0x00,0xcd,0xd1,0x67,0x04,0x0e,0x04

# CHECK: v_lerp_u8 v5, vcc_lo, v2, v3            ; encoding: [0x05,0x00,0xcd,0xd1,0x6a,0x04,0x0e,0x04]
0x05,0x00,0xcd,0xd1,0x6a,0x04,0x0e,0x04

# CHECK: v_lerp_u8 v5, vcc_hi, v2, v3            ; encoding: [0x05,0x00,0xcd,0xd1,0x6b,0x04,0x0e,0x04]
0x05,0x00,0xcd,0xd1,0x6b,0x04,0x0e,0x04

# CHECK: v_lerp_u8 v5, tba_lo, v2, v3            ; encoding: [0x05,0x00,0xcd,0xd1,0x6c,0x04,0x0e,0x04]
0x05,0x00,0xcd,0xd1,0x6c,0x04,0x0e,0x04

# CHECK: v_lerp_u8 v5, tba_hi, v2, v3            ; encoding: [0x05,0x00,0xcd,0xd1,0x6d,0x04,0x0e,0x04]
0x05,0x00,0xcd,0xd1,0x6d,0x04,0x0e,0x04

# CHECK: v_lerp_u8 v5, tma_lo, v2, v3            ; encoding: [0x05,0x00,0xcd,0xd1,0x6e,0x04,0x0e,0x04]
0x05,0x00,0xcd,0xd1,0x6e,0x04,0x0e,0x04

# CHECK: v_lerp_u8 v5, tma_hi, v2, v3            ; encoding: [0x05,0x00,0xcd,0xd1,0x6f,0x04,0x0e,0x04]
0x05,0x00,0xcd,0xd1,0x6f,0x04,0x0e,0x04

# CHECK: v_lerp_u8 v5, ttmp11, v2, v3            ; encoding: [0x05,0x00,0xcd,0xd1,0x7b,0x04,0x0e,0x04]
0x05,0x00,0xcd,0xd1,0x7b,0x04,0x0e,0x04

# CHECK: v_lerp_u8 v5, m0, v2, v3                ; encoding: [0x05,0x00,0xcd,0xd1,0x7c,0x04,0x0e,0x04]
0x05,0x00,0xcd,0xd1,0x7c,0x04,0x0e,0x04

# CHECK: v_lerp_u8 v5, exec_lo, v2, v3           ; encoding: [0x05,0x00,0xcd,0xd1,0x7e,0x04,0x0e,0x04]
0x05,0x00,0xcd,0xd1,0x7e,0x04,0x0e,0x04

# CHECK: v_lerp_u8 v5, exec_hi, v2, v3           ; encoding: [0x05,0x00,0xcd,0xd1,0x7f,0x04,0x0e,0x04]
0x05,0x00,0xcd,0xd1,0x7f,0x04,0x0e,0x04

# CHECK: v_lerp_u8 v5, 0, v2, v3                 ; encoding: [0x05,0x00,0xcd,0xd1,0x80,0x04,0x0e,0x04]
0x05,0x00,0xcd,0xd1,0x80,0x04,0x0e,0x04

# CHECK: v_lerp_u8 v5, -1, v2, v3                ; encoding: [0x05,0x00,0xcd,0xd1,0xc1,0x04,0x0e,0x04]
0x05,0x00,0xcd,0xd1,0xc1,0x04,0x0e,0x04

# CHECK: v_lerp_u8 v5, 0.5, v2, v3               ; encoding: [0x05,0x00,0xcd,0xd1,0xf0,0x04,0x0e,0x04]
0x05,0x00,0xcd,0xd1,0xf0,0x04,0x0e,0x04

# CHECK: v_lerp_u8 v5, -4.0, v2, v3              ; encoding: [0x05,0x00,0xcd,0xd1,0xf7,0x04,0x0e,0x04]
0x05,0x00,0xcd,0xd1,0xf7,0x04,0x0e,0x04

# CHECK: v_lerp_u8 v5, v1, v255, v3              ; encoding: [0x05,0x00,0xcd,0xd1,0x01,0xff,0x0f,0x04]
0x05,0x00,0xcd,0xd1,0x01,0xff,0x0f,0x04

# CHECK: v_lerp_u8 v5, v1, s2, v3                ; encoding: [0x05,0x00,0xcd,0xd1,0x01,0x05,0x0c,0x04]
0x05,0x00,0xcd,0xd1,0x01,0x05,0x0c,0x04

# CHECK: v_lerp_u8 v5, v1, s101, v3              ; encoding: [0x05,0x00,0xcd,0xd1,0x01,0xcb,0x0c,0x04]
0x05,0x00,0xcd,0xd1,0x01,0xcb,0x0c,0x04

# CHECK: v_lerp_u8 v5, v1, flat_scratch_lo, v3   ; encoding: [0x05,0x00,0xcd,0xd1,0x01,0xcd,0x0c,0x04]
0x05,0x00,0xcd,0xd1,0x01,0xcd,0x0c,0x04

# CHECK: v_lerp_u8 v5, v1, flat_scratch_hi, v3   ; encoding: [0x05,0x00,0xcd,0xd1,0x01,0xcf,0x0c,0x04]
0x05,0x00,0xcd,0xd1,0x01,0xcf,0x0c,0x04

# CHECK: v_lerp_u8 v5, v1, vcc_lo, v3            ; encoding: [0x05,0x00,0xcd,0xd1,0x01,0xd5,0x0c,0x04]
0x05,0x00,0xcd,0xd1,0x01,0xd5,0x0c,0x04

# CHECK: v_lerp_u8 v5, v1, vcc_hi, v3            ; encoding: [0x05,0x00,0xcd,0xd1,0x01,0xd7,0x0c,0x04]
0x05,0x00,0xcd,0xd1,0x01,0xd7,0x0c,0x04

# CHECK: v_lerp_u8 v5, v1, tba_lo, v3            ; encoding: [0x05,0x00,0xcd,0xd1,0x01,0xd9,0x0c,0x04]
0x05,0x00,0xcd,0xd1,0x01,0xd9,0x0c,0x04

# CHECK: v_lerp_u8 v5, v1, tba_hi, v3            ; encoding: [0x05,0x00,0xcd,0xd1,0x01,0xdb,0x0c,0x04]
0x05,0x00,0xcd,0xd1,0x01,0xdb,0x0c,0x04

# CHECK: v_lerp_u8 v5, v1, tma_lo, v3            ; encoding: [0x05,0x00,0xcd,0xd1,0x01,0xdd,0x0c,0x04]
0x05,0x00,0xcd,0xd1,0x01,0xdd,0x0c,0x04

# CHECK: v_lerp_u8 v5, v1, tma_hi, v3            ; encoding: [0x05,0x00,0xcd,0xd1,0x01,0xdf,0x0c,0x04]
0x05,0x00,0xcd,0xd1,0x01,0xdf,0x0c,0x04

# CHECK: v_lerp_u8 v5, v1, ttmp11, v3            ; encoding: [0x05,0x00,0xcd,0xd1,0x01,0xf7,0x0c,0x04]
0x05,0x00,0xcd,0xd1,0x01,0xf7,0x0c,0x04

# CHECK: v_lerp_u8 v5, v1, m0, v3                ; encoding: [0x05,0x00,0xcd,0xd1,0x01,0xf9,0x0c,0x04]
0x05,0x00,0xcd,0xd1,0x01,0xf9,0x0c,0x04

# CHECK: v_lerp_u8 v5, v1, exec_lo, v3           ; encoding: [0x05,0x00,0xcd,0xd1,0x01,0xfd,0x0c,0x04]
0x05,0x00,0xcd,0xd1,0x01,0xfd,0x0c,0x04

# CHECK: v_lerp_u8 v5, v1, exec_hi, v3           ; encoding: [0x05,0x00,0xcd,0xd1,0x01,0xff,0x0c,0x04]
0x05,0x00,0xcd,0xd1,0x01,0xff,0x0c,0x04

# CHECK: v_lerp_u8 v5, v1, 0, v3                 ; encoding: [0x05,0x00,0xcd,0xd1,0x01,0x01,0x0d,0x04]
0x05,0x00,0xcd,0xd1,0x01,0x01,0x0d,0x04

# CHECK: v_lerp_u8 v5, v1, -1, v3                ; encoding: [0x05,0x00,0xcd,0xd1,0x01,0x83,0x0d,0x04]
0x05,0x00,0xcd,0xd1,0x01,0x83,0x0d,0x04

# CHECK: v_lerp_u8 v5, v1, 0.5, v3               ; encoding: [0x05,0x00,0xcd,0xd1,0x01,0xe1,0x0d,0x04]
0x05,0x00,0xcd,0xd1,0x01,0xe1,0x0d,0x04

# CHECK: v_lerp_u8 v5, v1, -4.0, v3              ; encoding: [0x05,0x00,0xcd,0xd1,0x01,0xef,0x0d,0x04]
0x05,0x00,0xcd,0xd1,0x01,0xef,0x0d,0x04

# CHECK: v_lerp_u8 v5, v1, v2, v255              ; encoding: [0x05,0x00,0xcd,0xd1,0x01,0x05,0xfe,0x07]
0x05,0x00,0xcd,0xd1,0x01,0x05,0xfe,0x07

# CHECK: v_lerp_u8 v5, v1, v2, s3                ; encoding: [0x05,0x00,0xcd,0xd1,0x01,0x05,0x0e,0x00]
0x05,0x00,0xcd,0xd1,0x01,0x05,0x0e,0x00

# CHECK: v_lerp_u8 v5, v1, v2, s101              ; encoding: [0x05,0x00,0xcd,0xd1,0x01,0x05,0x96,0x01]
0x05,0x00,0xcd,0xd1,0x01,0x05,0x96,0x01

# CHECK: v_lerp_u8 v5, v1, v2, flat_scratch_lo   ; encoding: [0x05,0x00,0xcd,0xd1,0x01,0x05,0x9a,0x01]
0x05,0x00,0xcd,0xd1,0x01,0x05,0x9a,0x01

# CHECK: v_lerp_u8 v5, v1, v2, flat_scratch_hi   ; encoding: [0x05,0x00,0xcd,0xd1,0x01,0x05,0x9e,0x01]
0x05,0x00,0xcd,0xd1,0x01,0x05,0x9e,0x01

# CHECK: v_lerp_u8 v5, v1, v2, vcc_lo            ; encoding: [0x05,0x00,0xcd,0xd1,0x01,0x05,0xaa,0x01]
0x05,0x00,0xcd,0xd1,0x01,0x05,0xaa,0x01

# CHECK: v_lerp_u8 v5, v1, v2, vcc_hi            ; encoding: [0x05,0x00,0xcd,0xd1,0x01,0x05,0xae,0x01]
0x05,0x00,0xcd,0xd1,0x01,0x05,0xae,0x01

# CHECK: v_lerp_u8 v5, v1, v2, tba_lo            ; encoding: [0x05,0x00,0xcd,0xd1,0x01,0x05,0xb2,0x01]
0x05,0x00,0xcd,0xd1,0x01,0x05,0xb2,0x01

# CHECK: v_lerp_u8 v5, v1, v2, tba_hi            ; encoding: [0x05,0x00,0xcd,0xd1,0x01,0x05,0xb6,0x01]
0x05,0x00,0xcd,0xd1,0x01,0x05,0xb6,0x01

# CHECK: v_lerp_u8 v5, v1, v2, tma_lo            ; encoding: [0x05,0x00,0xcd,0xd1,0x01,0x05,0xba,0x01]
0x05,0x00,0xcd,0xd1,0x01,0x05,0xba,0x01

# CHECK: v_lerp_u8 v5, v1, v2, tma_hi            ; encoding: [0x05,0x00,0xcd,0xd1,0x01,0x05,0xbe,0x01]
0x05,0x00,0xcd,0xd1,0x01,0x05,0xbe,0x01

# CHECK: v_lerp_u8 v5, v1, v2, ttmp11            ; encoding: [0x05,0x00,0xcd,0xd1,0x01,0x05,0xee,0x01]
0x05,0x00,0xcd,0xd1,0x01,0x05,0xee,0x01

# CHECK: v_lerp_u8 v5, v1, v2, m0                ; encoding: [0x05,0x00,0xcd,0xd1,0x01,0x05,0xf2,0x01]
0x05,0x00,0xcd,0xd1,0x01,0x05,0xf2,0x01

# CHECK: v_lerp_u8 v5, v1, v2, exec_lo           ; encoding: [0x05,0x00,0xcd,0xd1,0x01,0x05,0xfa,0x01]
0x05,0x00,0xcd,0xd1,0x01,0x05,0xfa,0x01

# CHECK: v_lerp_u8 v5, v1, v2, exec_hi           ; encoding: [0x05,0x00,0xcd,0xd1,0x01,0x05,0xfe,0x01]
0x05,0x00,0xcd,0xd1,0x01,0x05,0xfe,0x01

# CHECK: v_lerp_u8 v5, v1, v2, 0                 ; encoding: [0x05,0x00,0xcd,0xd1,0x01,0x05,0x02,0x02]
0x05,0x00,0xcd,0xd1,0x01,0x05,0x02,0x02

# CHECK: v_lerp_u8 v5, v1, v2, -1                ; encoding: [0x05,0x00,0xcd,0xd1,0x01,0x05,0x06,0x03]
0x05,0x00,0xcd,0xd1,0x01,0x05,0x06,0x03

# CHECK: v_lerp_u8 v5, v1, v2, 0.5               ; encoding: [0x05,0x00,0xcd,0xd1,0x01,0x05,0xc2,0x03]
0x05,0x00,0xcd,0xd1,0x01,0x05,0xc2,0x03

# CHECK: v_lerp_u8 v5, v1, v2, -4.0              ; encoding: [0x05,0x00,0xcd,0xd1,0x01,0x05,0xde,0x03]
0x05,0x00,0xcd,0xd1,0x01,0x05,0xde,0x03

# CHECK: v_alignbit_b32 v5, v1, v2, v3           ; encoding: [0x05,0x00,0xce,0xd1,0x01,0x05,0x0e,0x04]
0x05,0x00,0xce,0xd1,0x01,0x05,0x0e,0x04

# CHECK: v_alignbit_b32 v255, v1, v2, v3         ; encoding: [0xff,0x00,0xce,0xd1,0x01,0x05,0x0e,0x04]
0xff,0x00,0xce,0xd1,0x01,0x05,0x0e,0x04

# CHECK: v_alignbit_b32 v5, v255, v2, v3         ; encoding: [0x05,0x00,0xce,0xd1,0xff,0x05,0x0e,0x04]
0x05,0x00,0xce,0xd1,0xff,0x05,0x0e,0x04

# CHECK: v_alignbit_b32 v5, s1, v2, v3           ; encoding: [0x05,0x00,0xce,0xd1,0x01,0x04,0x0e,0x04]
0x05,0x00,0xce,0xd1,0x01,0x04,0x0e,0x04

# CHECK: v_alignbit_b32 v5, s101, v2, v3         ; encoding: [0x05,0x00,0xce,0xd1,0x65,0x04,0x0e,0x04]
0x05,0x00,0xce,0xd1,0x65,0x04,0x0e,0x04

# CHECK: v_alignbit_b32 v5, flat_scratch_lo, v2, v3 ; encoding: [0x05,0x00,0xce,0xd1,0x66,0x04,0x0e,0x04]
0x05,0x00,0xce,0xd1,0x66,0x04,0x0e,0x04

# CHECK: v_alignbit_b32 v5, flat_scratch_hi, v2, v3 ; encoding: [0x05,0x00,0xce,0xd1,0x67,0x04,0x0e,0x04]
0x05,0x00,0xce,0xd1,0x67,0x04,0x0e,0x04

# CHECK: v_alignbit_b32 v5, vcc_lo, v2, v3       ; encoding: [0x05,0x00,0xce,0xd1,0x6a,0x04,0x0e,0x04]
0x05,0x00,0xce,0xd1,0x6a,0x04,0x0e,0x04

# CHECK: v_alignbit_b32 v5, vcc_hi, v2, v3       ; encoding: [0x05,0x00,0xce,0xd1,0x6b,0x04,0x0e,0x04]
0x05,0x00,0xce,0xd1,0x6b,0x04,0x0e,0x04

# CHECK: v_alignbit_b32 v5, tba_lo, v2, v3       ; encoding: [0x05,0x00,0xce,0xd1,0x6c,0x04,0x0e,0x04]
0x05,0x00,0xce,0xd1,0x6c,0x04,0x0e,0x04

# CHECK: v_alignbit_b32 v5, tba_hi, v2, v3       ; encoding: [0x05,0x00,0xce,0xd1,0x6d,0x04,0x0e,0x04]
0x05,0x00,0xce,0xd1,0x6d,0x04,0x0e,0x04

# CHECK: v_alignbit_b32 v5, tma_lo, v2, v3       ; encoding: [0x05,0x00,0xce,0xd1,0x6e,0x04,0x0e,0x04]
0x05,0x00,0xce,0xd1,0x6e,0x04,0x0e,0x04

# CHECK: v_alignbit_b32 v5, tma_hi, v2, v3       ; encoding: [0x05,0x00,0xce,0xd1,0x6f,0x04,0x0e,0x04]
0x05,0x00,0xce,0xd1,0x6f,0x04,0x0e,0x04

# CHECK: v_alignbit_b32 v5, ttmp11, v2, v3       ; encoding: [0x05,0x00,0xce,0xd1,0x7b,0x04,0x0e,0x04]
0x05,0x00,0xce,0xd1,0x7b,0x04,0x0e,0x04

# CHECK: v_alignbit_b32 v5, m0, v2, v3           ; encoding: [0x05,0x00,0xce,0xd1,0x7c,0x04,0x0e,0x04]
0x05,0x00,0xce,0xd1,0x7c,0x04,0x0e,0x04

# CHECK: v_alignbit_b32 v5, exec_lo, v2, v3      ; encoding: [0x05,0x00,0xce,0xd1,0x7e,0x04,0x0e,0x04]
0x05,0x00,0xce,0xd1,0x7e,0x04,0x0e,0x04

# CHECK: v_alignbit_b32 v5, exec_hi, v2, v3      ; encoding: [0x05,0x00,0xce,0xd1,0x7f,0x04,0x0e,0x04]
0x05,0x00,0xce,0xd1,0x7f,0x04,0x0e,0x04

# CHECK: v_alignbit_b32 v5, 0, v2, v3            ; encoding: [0x05,0x00,0xce,0xd1,0x80,0x04,0x0e,0x04]
0x05,0x00,0xce,0xd1,0x80,0x04,0x0e,0x04

# CHECK: v_alignbit_b32 v5, -1, v2, v3           ; encoding: [0x05,0x00,0xce,0xd1,0xc1,0x04,0x0e,0x04]
0x05,0x00,0xce,0xd1,0xc1,0x04,0x0e,0x04

# CHECK: v_alignbit_b32 v5, 0.5, v2, v3          ; encoding: [0x05,0x00,0xce,0xd1,0xf0,0x04,0x0e,0x04]
0x05,0x00,0xce,0xd1,0xf0,0x04,0x0e,0x04

# CHECK: v_alignbit_b32 v5, -4.0, v2, v3         ; encoding: [0x05,0x00,0xce,0xd1,0xf7,0x04,0x0e,0x04]
0x05,0x00,0xce,0xd1,0xf7,0x04,0x0e,0x04

# CHECK: v_alignbit_b32 v5, v1, v255, v3         ; encoding: [0x05,0x00,0xce,0xd1,0x01,0xff,0x0f,0x04]
0x05,0x00,0xce,0xd1,0x01,0xff,0x0f,0x04

# CHECK: v_alignbit_b32 v5, v1, s2, v3           ; encoding: [0x05,0x00,0xce,0xd1,0x01,0x05,0x0c,0x04]
0x05,0x00,0xce,0xd1,0x01,0x05,0x0c,0x04

# CHECK: v_alignbit_b32 v5, v1, s101, v3         ; encoding: [0x05,0x00,0xce,0xd1,0x01,0xcb,0x0c,0x04]
0x05,0x00,0xce,0xd1,0x01,0xcb,0x0c,0x04

# CHECK: v_alignbit_b32 v5, v1, flat_scratch_lo, v3 ; encoding: [0x05,0x00,0xce,0xd1,0x01,0xcd,0x0c,0x04]
0x05,0x00,0xce,0xd1,0x01,0xcd,0x0c,0x04

# CHECK: v_alignbit_b32 v5, v1, flat_scratch_hi, v3 ; encoding: [0x05,0x00,0xce,0xd1,0x01,0xcf,0x0c,0x04]
0x05,0x00,0xce,0xd1,0x01,0xcf,0x0c,0x04

# CHECK: v_alignbit_b32 v5, v1, vcc_lo, v3       ; encoding: [0x05,0x00,0xce,0xd1,0x01,0xd5,0x0c,0x04]
0x05,0x00,0xce,0xd1,0x01,0xd5,0x0c,0x04

# CHECK: v_alignbit_b32 v5, v1, vcc_hi, v3       ; encoding: [0x05,0x00,0xce,0xd1,0x01,0xd7,0x0c,0x04]
0x05,0x00,0xce,0xd1,0x01,0xd7,0x0c,0x04

# CHECK: v_alignbit_b32 v5, v1, tba_lo, v3       ; encoding: [0x05,0x00,0xce,0xd1,0x01,0xd9,0x0c,0x04]
0x05,0x00,0xce,0xd1,0x01,0xd9,0x0c,0x04

# CHECK: v_alignbit_b32 v5, v1, tba_hi, v3       ; encoding: [0x05,0x00,0xce,0xd1,0x01,0xdb,0x0c,0x04]
0x05,0x00,0xce,0xd1,0x01,0xdb,0x0c,0x04

# CHECK: v_alignbit_b32 v5, v1, tma_lo, v3       ; encoding: [0x05,0x00,0xce,0xd1,0x01,0xdd,0x0c,0x04]
0x05,0x00,0xce,0xd1,0x01,0xdd,0x0c,0x04

# CHECK: v_alignbit_b32 v5, v1, tma_hi, v3       ; encoding: [0x05,0x00,0xce,0xd1,0x01,0xdf,0x0c,0x04]
0x05,0x00,0xce,0xd1,0x01,0xdf,0x0c,0x04

# CHECK: v_alignbit_b32 v5, v1, ttmp11, v3       ; encoding: [0x05,0x00,0xce,0xd1,0x01,0xf7,0x0c,0x04]
0x05,0x00,0xce,0xd1,0x01,0xf7,0x0c,0x04

# CHECK: v_alignbit_b32 v5, v1, m0, v3           ; encoding: [0x05,0x00,0xce,0xd1,0x01,0xf9,0x0c,0x04]
0x05,0x00,0xce,0xd1,0x01,0xf9,0x0c,0x04

# CHECK: v_alignbit_b32 v5, v1, exec_lo, v3      ; encoding: [0x05,0x00,0xce,0xd1,0x01,0xfd,0x0c,0x04]
0x05,0x00,0xce,0xd1,0x01,0xfd,0x0c,0x04

# CHECK: v_alignbit_b32 v5, v1, exec_hi, v3      ; encoding: [0x05,0x00,0xce,0xd1,0x01,0xff,0x0c,0x04]
0x05,0x00,0xce,0xd1,0x01,0xff,0x0c,0x04

# CHECK: v_alignbit_b32 v5, v1, 0, v3            ; encoding: [0x05,0x00,0xce,0xd1,0x01,0x01,0x0d,0x04]
0x05,0x00,0xce,0xd1,0x01,0x01,0x0d,0x04

# CHECK: v_alignbit_b32 v5, v1, -1, v3           ; encoding: [0x05,0x00,0xce,0xd1,0x01,0x83,0x0d,0x04]
0x05,0x00,0xce,0xd1,0x01,0x83,0x0d,0x04

# CHECK: v_alignbit_b32 v5, v1, 0.5, v3          ; encoding: [0x05,0x00,0xce,0xd1,0x01,0xe1,0x0d,0x04]
0x05,0x00,0xce,0xd1,0x01,0xe1,0x0d,0x04

# CHECK: v_alignbit_b32 v5, v1, -4.0, v3         ; encoding: [0x05,0x00,0xce,0xd1,0x01,0xef,0x0d,0x04]
0x05,0x00,0xce,0xd1,0x01,0xef,0x0d,0x04

# CHECK: v_alignbit_b32 v5, v1, v2, v255         ; encoding: [0x05,0x00,0xce,0xd1,0x01,0x05,0xfe,0x07]
0x05,0x00,0xce,0xd1,0x01,0x05,0xfe,0x07

# CHECK: v_alignbit_b32 v5, v1, v2, s3           ; encoding: [0x05,0x00,0xce,0xd1,0x01,0x05,0x0e,0x00]
0x05,0x00,0xce,0xd1,0x01,0x05,0x0e,0x00

# CHECK: v_alignbit_b32 v5, v1, v2, s101         ; encoding: [0x05,0x00,0xce,0xd1,0x01,0x05,0x96,0x01]
0x05,0x00,0xce,0xd1,0x01,0x05,0x96,0x01

# CHECK: v_alignbit_b32 v5, v1, v2, flat_scratch_lo ; encoding: [0x05,0x00,0xce,0xd1,0x01,0x05,0x9a,0x01]
0x05,0x00,0xce,0xd1,0x01,0x05,0x9a,0x01

# CHECK: v_alignbit_b32 v5, v1, v2, flat_scratch_hi ; encoding: [0x05,0x00,0xce,0xd1,0x01,0x05,0x9e,0x01]
0x05,0x00,0xce,0xd1,0x01,0x05,0x9e,0x01

# CHECK: v_alignbit_b32 v5, v1, v2, vcc_lo       ; encoding: [0x05,0x00,0xce,0xd1,0x01,0x05,0xaa,0x01]
0x05,0x00,0xce,0xd1,0x01,0x05,0xaa,0x01

# CHECK: v_alignbit_b32 v5, v1, v2, vcc_hi       ; encoding: [0x05,0x00,0xce,0xd1,0x01,0x05,0xae,0x01]
0x05,0x00,0xce,0xd1,0x01,0x05,0xae,0x01

# CHECK: v_alignbit_b32 v5, v1, v2, tba_lo       ; encoding: [0x05,0x00,0xce,0xd1,0x01,0x05,0xb2,0x01]
0x05,0x00,0xce,0xd1,0x01,0x05,0xb2,0x01

# CHECK: v_alignbit_b32 v5, v1, v2, tba_hi       ; encoding: [0x05,0x00,0xce,0xd1,0x01,0x05,0xb6,0x01]
0x05,0x00,0xce,0xd1,0x01,0x05,0xb6,0x01

# CHECK: v_alignbit_b32 v5, v1, v2, tma_lo       ; encoding: [0x05,0x00,0xce,0xd1,0x01,0x05,0xba,0x01]
0x05,0x00,0xce,0xd1,0x01,0x05,0xba,0x01

# CHECK: v_alignbit_b32 v5, v1, v2, tma_hi       ; encoding: [0x05,0x00,0xce,0xd1,0x01,0x05,0xbe,0x01]
0x05,0x00,0xce,0xd1,0x01,0x05,0xbe,0x01

# CHECK: v_alignbit_b32 v5, v1, v2, ttmp11       ; encoding: [0x05,0x00,0xce,0xd1,0x01,0x05,0xee,0x01]
0x05,0x00,0xce,0xd1,0x01,0x05,0xee,0x01

# CHECK: v_alignbit_b32 v5, v1, v2, m0           ; encoding: [0x05,0x00,0xce,0xd1,0x01,0x05,0xf2,0x01]
0x05,0x00,0xce,0xd1,0x01,0x05,0xf2,0x01

# CHECK: v_alignbit_b32 v5, v1, v2, exec_lo      ; encoding: [0x05,0x00,0xce,0xd1,0x01,0x05,0xfa,0x01]
0x05,0x00,0xce,0xd1,0x01,0x05,0xfa,0x01

# CHECK: v_alignbit_b32 v5, v1, v2, exec_hi      ; encoding: [0x05,0x00,0xce,0xd1,0x01,0x05,0xfe,0x01]
0x05,0x00,0xce,0xd1,0x01,0x05,0xfe,0x01

# CHECK: v_alignbit_b32 v5, v1, v2, 0            ; encoding: [0x05,0x00,0xce,0xd1,0x01,0x05,0x02,0x02]
0x05,0x00,0xce,0xd1,0x01,0x05,0x02,0x02

# CHECK: v_alignbit_b32 v5, v1, v2, -1           ; encoding: [0x05,0x00,0xce,0xd1,0x01,0x05,0x06,0x03]
0x05,0x00,0xce,0xd1,0x01,0x05,0x06,0x03

# CHECK: v_alignbit_b32 v5, v1, v2, 0.5          ; encoding: [0x05,0x00,0xce,0xd1,0x01,0x05,0xc2,0x03]
0x05,0x00,0xce,0xd1,0x01,0x05,0xc2,0x03

# CHECK: v_alignbit_b32 v5, v1, v2, -4.0         ; encoding: [0x05,0x00,0xce,0xd1,0x01,0x05,0xde,0x03]
0x05,0x00,0xce,0xd1,0x01,0x05,0xde,0x03

# CHECK: v_alignbyte_b32 v5, v1, v2, v3          ; encoding: [0x05,0x00,0xcf,0xd1,0x01,0x05,0x0e,0x04]
0x05,0x00,0xcf,0xd1,0x01,0x05,0x0e,0x04

# CHECK: v_alignbyte_b32 v255, v1, v2, v3        ; encoding: [0xff,0x00,0xcf,0xd1,0x01,0x05,0x0e,0x04]
0xff,0x00,0xcf,0xd1,0x01,0x05,0x0e,0x04

# CHECK: v_alignbyte_b32 v5, v255, v2, v3        ; encoding: [0x05,0x00,0xcf,0xd1,0xff,0x05,0x0e,0x04]
0x05,0x00,0xcf,0xd1,0xff,0x05,0x0e,0x04

# CHECK: v_alignbyte_b32 v5, s1, v2, v3          ; encoding: [0x05,0x00,0xcf,0xd1,0x01,0x04,0x0e,0x04]
0x05,0x00,0xcf,0xd1,0x01,0x04,0x0e,0x04

# CHECK: v_alignbyte_b32 v5, s101, v2, v3        ; encoding: [0x05,0x00,0xcf,0xd1,0x65,0x04,0x0e,0x04]
0x05,0x00,0xcf,0xd1,0x65,0x04,0x0e,0x04

# CHECK: v_alignbyte_b32 v5, flat_scratch_lo, v2, v3 ; encoding: [0x05,0x00,0xcf,0xd1,0x66,0x04,0x0e,0x04]
0x05,0x00,0xcf,0xd1,0x66,0x04,0x0e,0x04

# CHECK: v_alignbyte_b32 v5, flat_scratch_hi, v2, v3 ; encoding: [0x05,0x00,0xcf,0xd1,0x67,0x04,0x0e,0x04]
0x05,0x00,0xcf,0xd1,0x67,0x04,0x0e,0x04

# CHECK: v_alignbyte_b32 v5, vcc_lo, v2, v3      ; encoding: [0x05,0x00,0xcf,0xd1,0x6a,0x04,0x0e,0x04]
0x05,0x00,0xcf,0xd1,0x6a,0x04,0x0e,0x04

# CHECK: v_alignbyte_b32 v5, vcc_hi, v2, v3      ; encoding: [0x05,0x00,0xcf,0xd1,0x6b,0x04,0x0e,0x04]
0x05,0x00,0xcf,0xd1,0x6b,0x04,0x0e,0x04

# CHECK: v_alignbyte_b32 v5, tba_lo, v2, v3      ; encoding: [0x05,0x00,0xcf,0xd1,0x6c,0x04,0x0e,0x04]
0x05,0x00,0xcf,0xd1,0x6c,0x04,0x0e,0x04

# CHECK: v_alignbyte_b32 v5, tba_hi, v2, v3      ; encoding: [0x05,0x00,0xcf,0xd1,0x6d,0x04,0x0e,0x04]
0x05,0x00,0xcf,0xd1,0x6d,0x04,0x0e,0x04

# CHECK: v_alignbyte_b32 v5, tma_lo, v2, v3      ; encoding: [0x05,0x00,0xcf,0xd1,0x6e,0x04,0x0e,0x04]
0x05,0x00,0xcf,0xd1,0x6e,0x04,0x0e,0x04

# CHECK: v_alignbyte_b32 v5, tma_hi, v2, v3      ; encoding: [0x05,0x00,0xcf,0xd1,0x6f,0x04,0x0e,0x04]
0x05,0x00,0xcf,0xd1,0x6f,0x04,0x0e,0x04

# CHECK: v_alignbyte_b32 v5, ttmp11, v2, v3      ; encoding: [0x05,0x00,0xcf,0xd1,0x7b,0x04,0x0e,0x04]
0x05,0x00,0xcf,0xd1,0x7b,0x04,0x0e,0x04

# CHECK: v_alignbyte_b32 v5, m0, v2, v3          ; encoding: [0x05,0x00,0xcf,0xd1,0x7c,0x04,0x0e,0x04]
0x05,0x00,0xcf,0xd1,0x7c,0x04,0x0e,0x04

# CHECK: v_alignbyte_b32 v5, exec_lo, v2, v3     ; encoding: [0x05,0x00,0xcf,0xd1,0x7e,0x04,0x0e,0x04]
0x05,0x00,0xcf,0xd1,0x7e,0x04,0x0e,0x04

# CHECK: v_alignbyte_b32 v5, exec_hi, v2, v3     ; encoding: [0x05,0x00,0xcf,0xd1,0x7f,0x04,0x0e,0x04]
0x05,0x00,0xcf,0xd1,0x7f,0x04,0x0e,0x04

# CHECK: v_alignbyte_b32 v5, 0, v2, v3           ; encoding: [0x05,0x00,0xcf,0xd1,0x80,0x04,0x0e,0x04]
0x05,0x00,0xcf,0xd1,0x80,0x04,0x0e,0x04

# CHECK: v_alignbyte_b32 v5, -1, v2, v3          ; encoding: [0x05,0x00,0xcf,0xd1,0xc1,0x04,0x0e,0x04]
0x05,0x00,0xcf,0xd1,0xc1,0x04,0x0e,0x04

# CHECK: v_alignbyte_b32 v5, 0.5, v2, v3         ; encoding: [0x05,0x00,0xcf,0xd1,0xf0,0x04,0x0e,0x04]
0x05,0x00,0xcf,0xd1,0xf0,0x04,0x0e,0x04

# CHECK: v_alignbyte_b32 v5, -4.0, v2, v3        ; encoding: [0x05,0x00,0xcf,0xd1,0xf7,0x04,0x0e,0x04]
0x05,0x00,0xcf,0xd1,0xf7,0x04,0x0e,0x04

# CHECK: v_alignbyte_b32 v5, v1, v255, v3        ; encoding: [0x05,0x00,0xcf,0xd1,0x01,0xff,0x0f,0x04]
0x05,0x00,0xcf,0xd1,0x01,0xff,0x0f,0x04

# CHECK: v_alignbyte_b32 v5, v1, s2, v3          ; encoding: [0x05,0x00,0xcf,0xd1,0x01,0x05,0x0c,0x04]
0x05,0x00,0xcf,0xd1,0x01,0x05,0x0c,0x04

# CHECK: v_alignbyte_b32 v5, v1, s101, v3        ; encoding: [0x05,0x00,0xcf,0xd1,0x01,0xcb,0x0c,0x04]
0x05,0x00,0xcf,0xd1,0x01,0xcb,0x0c,0x04

# CHECK: v_alignbyte_b32 v5, v1, flat_scratch_lo, v3 ; encoding: [0x05,0x00,0xcf,0xd1,0x01,0xcd,0x0c,0x04]
0x05,0x00,0xcf,0xd1,0x01,0xcd,0x0c,0x04

# CHECK: v_alignbyte_b32 v5, v1, flat_scratch_hi, v3 ; encoding: [0x05,0x00,0xcf,0xd1,0x01,0xcf,0x0c,0x04]
0x05,0x00,0xcf,0xd1,0x01,0xcf,0x0c,0x04

# CHECK: v_alignbyte_b32 v5, v1, vcc_lo, v3      ; encoding: [0x05,0x00,0xcf,0xd1,0x01,0xd5,0x0c,0x04]
0x05,0x00,0xcf,0xd1,0x01,0xd5,0x0c,0x04

# CHECK: v_alignbyte_b32 v5, v1, vcc_hi, v3      ; encoding: [0x05,0x00,0xcf,0xd1,0x01,0xd7,0x0c,0x04]
0x05,0x00,0xcf,0xd1,0x01,0xd7,0x0c,0x04

# CHECK: v_alignbyte_b32 v5, v1, tba_lo, v3      ; encoding: [0x05,0x00,0xcf,0xd1,0x01,0xd9,0x0c,0x04]
0x05,0x00,0xcf,0xd1,0x01,0xd9,0x0c,0x04

# CHECK: v_alignbyte_b32 v5, v1, tba_hi, v3      ; encoding: [0x05,0x00,0xcf,0xd1,0x01,0xdb,0x0c,0x04]
0x05,0x00,0xcf,0xd1,0x01,0xdb,0x0c,0x04

# CHECK: v_alignbyte_b32 v5, v1, tma_lo, v3      ; encoding: [0x05,0x00,0xcf,0xd1,0x01,0xdd,0x0c,0x04]
0x05,0x00,0xcf,0xd1,0x01,0xdd,0x0c,0x04

# CHECK: v_alignbyte_b32 v5, v1, tma_hi, v3      ; encoding: [0x05,0x00,0xcf,0xd1,0x01,0xdf,0x0c,0x04]
0x05,0x00,0xcf,0xd1,0x01,0xdf,0x0c,0x04

# CHECK: v_alignbyte_b32 v5, v1, ttmp11, v3      ; encoding: [0x05,0x00,0xcf,0xd1,0x01,0xf7,0x0c,0x04]
0x05,0x00,0xcf,0xd1,0x01,0xf7,0x0c,0x04

# CHECK: v_alignbyte_b32 v5, v1, m0, v3          ; encoding: [0x05,0x00,0xcf,0xd1,0x01,0xf9,0x0c,0x04]
0x05,0x00,0xcf,0xd1,0x01,0xf9,0x0c,0x04

# CHECK: v_alignbyte_b32 v5, v1, exec_lo, v3     ; encoding: [0x05,0x00,0xcf,0xd1,0x01,0xfd,0x0c,0x04]
0x05,0x00,0xcf,0xd1,0x01,0xfd,0x0c,0x04

# CHECK: v_alignbyte_b32 v5, v1, exec_hi, v3     ; encoding: [0x05,0x00,0xcf,0xd1,0x01,0xff,0x0c,0x04]
0x05,0x00,0xcf,0xd1,0x01,0xff,0x0c,0x04

# CHECK: v_alignbyte_b32 v5, v1, 0, v3           ; encoding: [0x05,0x00,0xcf,0xd1,0x01,0x01,0x0d,0x04]
0x05,0x00,0xcf,0xd1,0x01,0x01,0x0d,0x04

# CHECK: v_alignbyte_b32 v5, v1, -1, v3          ; encoding: [0x05,0x00,0xcf,0xd1,0x01,0x83,0x0d,0x04]
0x05,0x00,0xcf,0xd1,0x01,0x83,0x0d,0x04

# CHECK: v_alignbyte_b32 v5, v1, 0.5, v3         ; encoding: [0x05,0x00,0xcf,0xd1,0x01,0xe1,0x0d,0x04]
0x05,0x00,0xcf,0xd1,0x01,0xe1,0x0d,0x04

# CHECK: v_alignbyte_b32 v5, v1, -4.0, v3        ; encoding: [0x05,0x00,0xcf,0xd1,0x01,0xef,0x0d,0x04]
0x05,0x00,0xcf,0xd1,0x01,0xef,0x0d,0x04

# CHECK: v_alignbyte_b32 v5, v1, v2, v255        ; encoding: [0x05,0x00,0xcf,0xd1,0x01,0x05,0xfe,0x07]
0x05,0x00,0xcf,0xd1,0x01,0x05,0xfe,0x07

# CHECK: v_alignbyte_b32 v5, v1, v2, s3          ; encoding: [0x05,0x00,0xcf,0xd1,0x01,0x05,0x0e,0x00]
0x05,0x00,0xcf,0xd1,0x01,0x05,0x0e,0x00

# CHECK: v_alignbyte_b32 v5, v1, v2, s101        ; encoding: [0x05,0x00,0xcf,0xd1,0x01,0x05,0x96,0x01]
0x05,0x00,0xcf,0xd1,0x01,0x05,0x96,0x01

# CHECK: v_alignbyte_b32 v5, v1, v2, flat_scratch_lo ; encoding: [0x05,0x00,0xcf,0xd1,0x01,0x05,0x9a,0x01]
0x05,0x00,0xcf,0xd1,0x01,0x05,0x9a,0x01

# CHECK: v_alignbyte_b32 v5, v1, v2, flat_scratch_hi ; encoding: [0x05,0x00,0xcf,0xd1,0x01,0x05,0x9e,0x01]
0x05,0x00,0xcf,0xd1,0x01,0x05,0x9e,0x01

# CHECK: v_alignbyte_b32 v5, v1, v2, vcc_lo      ; encoding: [0x05,0x00,0xcf,0xd1,0x01,0x05,0xaa,0x01]
0x05,0x00,0xcf,0xd1,0x01,0x05,0xaa,0x01

# CHECK: v_alignbyte_b32 v5, v1, v2, vcc_hi      ; encoding: [0x05,0x00,0xcf,0xd1,0x01,0x05,0xae,0x01]
0x05,0x00,0xcf,0xd1,0x01,0x05,0xae,0x01

# CHECK: v_alignbyte_b32 v5, v1, v2, tba_lo      ; encoding: [0x05,0x00,0xcf,0xd1,0x01,0x05,0xb2,0x01]
0x05,0x00,0xcf,0xd1,0x01,0x05,0xb2,0x01

# CHECK: v_alignbyte_b32 v5, v1, v2, tba_hi      ; encoding: [0x05,0x00,0xcf,0xd1,0x01,0x05,0xb6,0x01]
0x05,0x00,0xcf,0xd1,0x01,0x05,0xb6,0x01

# CHECK: v_alignbyte_b32 v5, v1, v2, tma_lo      ; encoding: [0x05,0x00,0xcf,0xd1,0x01,0x05,0xba,0x01]
0x05,0x00,0xcf,0xd1,0x01,0x05,0xba,0x01

# CHECK: v_alignbyte_b32 v5, v1, v2, tma_hi      ; encoding: [0x05,0x00,0xcf,0xd1,0x01,0x05,0xbe,0x01]
0x05,0x00,0xcf,0xd1,0x01,0x05,0xbe,0x01

# CHECK: v_alignbyte_b32 v5, v1, v2, ttmp11      ; encoding: [0x05,0x00,0xcf,0xd1,0x01,0x05,0xee,0x01]
0x05,0x00,0xcf,0xd1,0x01,0x05,0xee,0x01

# CHECK: v_alignbyte_b32 v5, v1, v2, m0          ; encoding: [0x05,0x00,0xcf,0xd1,0x01,0x05,0xf2,0x01]
0x05,0x00,0xcf,0xd1,0x01,0x05,0xf2,0x01

# CHECK: v_alignbyte_b32 v5, v1, v2, exec_lo     ; encoding: [0x05,0x00,0xcf,0xd1,0x01,0x05,0xfa,0x01]
0x05,0x00,0xcf,0xd1,0x01,0x05,0xfa,0x01

# CHECK: v_alignbyte_b32 v5, v1, v2, exec_hi     ; encoding: [0x05,0x00,0xcf,0xd1,0x01,0x05,0xfe,0x01]
0x05,0x00,0xcf,0xd1,0x01,0x05,0xfe,0x01

# CHECK: v_alignbyte_b32 v5, v1, v2, 0           ; encoding: [0x05,0x00,0xcf,0xd1,0x01,0x05,0x02,0x02]
0x05,0x00,0xcf,0xd1,0x01,0x05,0x02,0x02

# CHECK: v_alignbyte_b32 v5, v1, v2, -1          ; encoding: [0x05,0x00,0xcf,0xd1,0x01,0x05,0x06,0x03]
0x05,0x00,0xcf,0xd1,0x01,0x05,0x06,0x03

# CHECK: v_alignbyte_b32 v5, v1, v2, 0.5         ; encoding: [0x05,0x00,0xcf,0xd1,0x01,0x05,0xc2,0x03]
0x05,0x00,0xcf,0xd1,0x01,0x05,0xc2,0x03

# CHECK: v_alignbyte_b32 v5, v1, v2, -4.0        ; encoding: [0x05,0x00,0xcf,0xd1,0x01,0x05,0xde,0x03]
0x05,0x00,0xcf,0xd1,0x01,0x05,0xde,0x03

# CHECK: v_min3_f32 v5, v1, v2, v3               ; encoding: [0x05,0x00,0xd0,0xd1,0x01,0x05,0x0e,0x04]
0x05,0x00,0xd0,0xd1,0x01,0x05,0x0e,0x04

# CHECK: v_min3_f32 v255, v1, v2, v3             ; encoding: [0xff,0x00,0xd0,0xd1,0x01,0x05,0x0e,0x04]
0xff,0x00,0xd0,0xd1,0x01,0x05,0x0e,0x04

# CHECK: v_min3_f32 v5, v255, v2, v3             ; encoding: [0x05,0x00,0xd0,0xd1,0xff,0x05,0x0e,0x04]
0x05,0x00,0xd0,0xd1,0xff,0x05,0x0e,0x04

# CHECK: v_min3_f32 v5, s1, v2, v3               ; encoding: [0x05,0x00,0xd0,0xd1,0x01,0x04,0x0e,0x04]
0x05,0x00,0xd0,0xd1,0x01,0x04,0x0e,0x04

# CHECK: v_min3_f32 v5, s101, v2, v3             ; encoding: [0x05,0x00,0xd0,0xd1,0x65,0x04,0x0e,0x04]
0x05,0x00,0xd0,0xd1,0x65,0x04,0x0e,0x04

# CHECK: v_min3_f32 v5, flat_scratch_lo, v2, v3  ; encoding: [0x05,0x00,0xd0,0xd1,0x66,0x04,0x0e,0x04]
0x05,0x00,0xd0,0xd1,0x66,0x04,0x0e,0x04

# CHECK: v_min3_f32 v5, flat_scratch_hi, v2, v3  ; encoding: [0x05,0x00,0xd0,0xd1,0x67,0x04,0x0e,0x04]
0x05,0x00,0xd0,0xd1,0x67,0x04,0x0e,0x04

# CHECK: v_min3_f32 v5, vcc_lo, v2, v3           ; encoding: [0x05,0x00,0xd0,0xd1,0x6a,0x04,0x0e,0x04]
0x05,0x00,0xd0,0xd1,0x6a,0x04,0x0e,0x04

# CHECK: v_min3_f32 v5, vcc_hi, v2, v3           ; encoding: [0x05,0x00,0xd0,0xd1,0x6b,0x04,0x0e,0x04]
0x05,0x00,0xd0,0xd1,0x6b,0x04,0x0e,0x04

# CHECK: v_min3_f32 v5, tba_lo, v2, v3           ; encoding: [0x05,0x00,0xd0,0xd1,0x6c,0x04,0x0e,0x04]
0x05,0x00,0xd0,0xd1,0x6c,0x04,0x0e,0x04

# CHECK: v_min3_f32 v5, tba_hi, v2, v3           ; encoding: [0x05,0x00,0xd0,0xd1,0x6d,0x04,0x0e,0x04]
0x05,0x00,0xd0,0xd1,0x6d,0x04,0x0e,0x04

# CHECK: v_min3_f32 v5, tma_lo, v2, v3           ; encoding: [0x05,0x00,0xd0,0xd1,0x6e,0x04,0x0e,0x04]
0x05,0x00,0xd0,0xd1,0x6e,0x04,0x0e,0x04

# CHECK: v_min3_f32 v5, tma_hi, v2, v3           ; encoding: [0x05,0x00,0xd0,0xd1,0x6f,0x04,0x0e,0x04]
0x05,0x00,0xd0,0xd1,0x6f,0x04,0x0e,0x04

# CHECK: v_min3_f32 v5, ttmp11, v2, v3           ; encoding: [0x05,0x00,0xd0,0xd1,0x7b,0x04,0x0e,0x04]
0x05,0x00,0xd0,0xd1,0x7b,0x04,0x0e,0x04

# CHECK: v_min3_f32 v5, m0, v2, v3               ; encoding: [0x05,0x00,0xd0,0xd1,0x7c,0x04,0x0e,0x04]
0x05,0x00,0xd0,0xd1,0x7c,0x04,0x0e,0x04

# CHECK: v_min3_f32 v5, exec_lo, v2, v3          ; encoding: [0x05,0x00,0xd0,0xd1,0x7e,0x04,0x0e,0x04]
0x05,0x00,0xd0,0xd1,0x7e,0x04,0x0e,0x04

# CHECK: v_min3_f32 v5, exec_hi, v2, v3          ; encoding: [0x05,0x00,0xd0,0xd1,0x7f,0x04,0x0e,0x04]
0x05,0x00,0xd0,0xd1,0x7f,0x04,0x0e,0x04

# CHECK: v_min3_f32 v5, 0, v2, v3                ; encoding: [0x05,0x00,0xd0,0xd1,0x80,0x04,0x0e,0x04]
0x05,0x00,0xd0,0xd1,0x80,0x04,0x0e,0x04

# CHECK: v_min3_f32 v5, -1, v2, v3               ; encoding: [0x05,0x00,0xd0,0xd1,0xc1,0x04,0x0e,0x04]
0x05,0x00,0xd0,0xd1,0xc1,0x04,0x0e,0x04

# CHECK: v_min3_f32 v5, 0.5, v2, v3              ; encoding: [0x05,0x00,0xd0,0xd1,0xf0,0x04,0x0e,0x04]
0x05,0x00,0xd0,0xd1,0xf0,0x04,0x0e,0x04

# CHECK: v_min3_f32 v5, -4.0, v2, v3             ; encoding: [0x05,0x00,0xd0,0xd1,0xf7,0x04,0x0e,0x04]
0x05,0x00,0xd0,0xd1,0xf7,0x04,0x0e,0x04

# CHECK: v_min3_f32 v5, v1, v255, v3             ; encoding: [0x05,0x00,0xd0,0xd1,0x01,0xff,0x0f,0x04]
0x05,0x00,0xd0,0xd1,0x01,0xff,0x0f,0x04

# CHECK: v_min3_f32 v5, v1, s2, v3               ; encoding: [0x05,0x00,0xd0,0xd1,0x01,0x05,0x0c,0x04]
0x05,0x00,0xd0,0xd1,0x01,0x05,0x0c,0x04

# CHECK: v_min3_f32 v5, v1, s101, v3             ; encoding: [0x05,0x00,0xd0,0xd1,0x01,0xcb,0x0c,0x04]
0x05,0x00,0xd0,0xd1,0x01,0xcb,0x0c,0x04

# CHECK: v_min3_f32 v5, v1, flat_scratch_lo, v3  ; encoding: [0x05,0x00,0xd0,0xd1,0x01,0xcd,0x0c,0x04]
0x05,0x00,0xd0,0xd1,0x01,0xcd,0x0c,0x04

# CHECK: v_min3_f32 v5, v1, flat_scratch_hi, v3  ; encoding: [0x05,0x00,0xd0,0xd1,0x01,0xcf,0x0c,0x04]
0x05,0x00,0xd0,0xd1,0x01,0xcf,0x0c,0x04

# CHECK: v_min3_f32 v5, v1, vcc_lo, v3           ; encoding: [0x05,0x00,0xd0,0xd1,0x01,0xd5,0x0c,0x04]
0x05,0x00,0xd0,0xd1,0x01,0xd5,0x0c,0x04

# CHECK: v_min3_f32 v5, v1, vcc_hi, v3           ; encoding: [0x05,0x00,0xd0,0xd1,0x01,0xd7,0x0c,0x04]
0x05,0x00,0xd0,0xd1,0x01,0xd7,0x0c,0x04

# CHECK: v_min3_f32 v5, v1, tba_lo, v3           ; encoding: [0x05,0x00,0xd0,0xd1,0x01,0xd9,0x0c,0x04]
0x05,0x00,0xd0,0xd1,0x01,0xd9,0x0c,0x04

# CHECK: v_min3_f32 v5, v1, tba_hi, v3           ; encoding: [0x05,0x00,0xd0,0xd1,0x01,0xdb,0x0c,0x04]
0x05,0x00,0xd0,0xd1,0x01,0xdb,0x0c,0x04

# CHECK: v_min3_f32 v5, v1, tma_lo, v3           ; encoding: [0x05,0x00,0xd0,0xd1,0x01,0xdd,0x0c,0x04]
0x05,0x00,0xd0,0xd1,0x01,0xdd,0x0c,0x04

# CHECK: v_min3_f32 v5, v1, tma_hi, v3           ; encoding: [0x05,0x00,0xd0,0xd1,0x01,0xdf,0x0c,0x04]
0x05,0x00,0xd0,0xd1,0x01,0xdf,0x0c,0x04

# CHECK: v_min3_f32 v5, v1, ttmp11, v3           ; encoding: [0x05,0x00,0xd0,0xd1,0x01,0xf7,0x0c,0x04]
0x05,0x00,0xd0,0xd1,0x01,0xf7,0x0c,0x04

# CHECK: v_min3_f32 v5, v1, m0, v3               ; encoding: [0x05,0x00,0xd0,0xd1,0x01,0xf9,0x0c,0x04]
0x05,0x00,0xd0,0xd1,0x01,0xf9,0x0c,0x04

# CHECK: v_min3_f32 v5, v1, exec_lo, v3          ; encoding: [0x05,0x00,0xd0,0xd1,0x01,0xfd,0x0c,0x04]
0x05,0x00,0xd0,0xd1,0x01,0xfd,0x0c,0x04

# CHECK: v_min3_f32 v5, v1, exec_hi, v3          ; encoding: [0x05,0x00,0xd0,0xd1,0x01,0xff,0x0c,0x04]
0x05,0x00,0xd0,0xd1,0x01,0xff,0x0c,0x04

# CHECK: v_min3_f32 v5, v1, 0, v3                ; encoding: [0x05,0x00,0xd0,0xd1,0x01,0x01,0x0d,0x04]
0x05,0x00,0xd0,0xd1,0x01,0x01,0x0d,0x04

# CHECK: v_min3_f32 v5, v1, -1, v3               ; encoding: [0x05,0x00,0xd0,0xd1,0x01,0x83,0x0d,0x04]
0x05,0x00,0xd0,0xd1,0x01,0x83,0x0d,0x04

# CHECK: v_min3_f32 v5, v1, 0.5, v3              ; encoding: [0x05,0x00,0xd0,0xd1,0x01,0xe1,0x0d,0x04]
0x05,0x00,0xd0,0xd1,0x01,0xe1,0x0d,0x04

# CHECK: v_min3_f32 v5, v1, -4.0, v3             ; encoding: [0x05,0x00,0xd0,0xd1,0x01,0xef,0x0d,0x04]
0x05,0x00,0xd0,0xd1,0x01,0xef,0x0d,0x04

# CHECK: v_min3_f32 v5, v1, v2, v255             ; encoding: [0x05,0x00,0xd0,0xd1,0x01,0x05,0xfe,0x07]
0x05,0x00,0xd0,0xd1,0x01,0x05,0xfe,0x07

# CHECK: v_min3_f32 v5, v1, v2, s3               ; encoding: [0x05,0x00,0xd0,0xd1,0x01,0x05,0x0e,0x00]
0x05,0x00,0xd0,0xd1,0x01,0x05,0x0e,0x00

# CHECK: v_min3_f32 v5, v1, v2, s101             ; encoding: [0x05,0x00,0xd0,0xd1,0x01,0x05,0x96,0x01]
0x05,0x00,0xd0,0xd1,0x01,0x05,0x96,0x01

# CHECK: v_min3_f32 v5, v1, v2, flat_scratch_lo  ; encoding: [0x05,0x00,0xd0,0xd1,0x01,0x05,0x9a,0x01]
0x05,0x00,0xd0,0xd1,0x01,0x05,0x9a,0x01

# CHECK: v_min3_f32 v5, v1, v2, flat_scratch_hi  ; encoding: [0x05,0x00,0xd0,0xd1,0x01,0x05,0x9e,0x01]
0x05,0x00,0xd0,0xd1,0x01,0x05,0x9e,0x01

# CHECK: v_min3_f32 v5, v1, v2, vcc_lo           ; encoding: [0x05,0x00,0xd0,0xd1,0x01,0x05,0xaa,0x01]
0x05,0x00,0xd0,0xd1,0x01,0x05,0xaa,0x01

# CHECK: v_min3_f32 v5, v1, v2, vcc_hi           ; encoding: [0x05,0x00,0xd0,0xd1,0x01,0x05,0xae,0x01]
0x05,0x00,0xd0,0xd1,0x01,0x05,0xae,0x01

# CHECK: v_min3_f32 v5, v1, v2, tba_lo           ; encoding: [0x05,0x00,0xd0,0xd1,0x01,0x05,0xb2,0x01]
0x05,0x00,0xd0,0xd1,0x01,0x05,0xb2,0x01

# CHECK: v_min3_f32 v5, v1, v2, tba_hi           ; encoding: [0x05,0x00,0xd0,0xd1,0x01,0x05,0xb6,0x01]
0x05,0x00,0xd0,0xd1,0x01,0x05,0xb6,0x01

# CHECK: v_min3_f32 v5, v1, v2, tma_lo           ; encoding: [0x05,0x00,0xd0,0xd1,0x01,0x05,0xba,0x01]
0x05,0x00,0xd0,0xd1,0x01,0x05,0xba,0x01

# CHECK: v_min3_f32 v5, v1, v2, tma_hi           ; encoding: [0x05,0x00,0xd0,0xd1,0x01,0x05,0xbe,0x01]
0x05,0x00,0xd0,0xd1,0x01,0x05,0xbe,0x01

# CHECK: v_min3_f32 v5, v1, v2, ttmp11           ; encoding: [0x05,0x00,0xd0,0xd1,0x01,0x05,0xee,0x01]
0x05,0x00,0xd0,0xd1,0x01,0x05,0xee,0x01

# CHECK: v_min3_f32 v5, v1, v2, m0               ; encoding: [0x05,0x00,0xd0,0xd1,0x01,0x05,0xf2,0x01]
0x05,0x00,0xd0,0xd1,0x01,0x05,0xf2,0x01

# CHECK: v_min3_f32 v5, v1, v2, exec_lo          ; encoding: [0x05,0x00,0xd0,0xd1,0x01,0x05,0xfa,0x01]
0x05,0x00,0xd0,0xd1,0x01,0x05,0xfa,0x01

# CHECK: v_min3_f32 v5, v1, v2, exec_hi          ; encoding: [0x05,0x00,0xd0,0xd1,0x01,0x05,0xfe,0x01]
0x05,0x00,0xd0,0xd1,0x01,0x05,0xfe,0x01

# CHECK: v_min3_f32 v5, v1, v2, 0                ; encoding: [0x05,0x00,0xd0,0xd1,0x01,0x05,0x02,0x02]
0x05,0x00,0xd0,0xd1,0x01,0x05,0x02,0x02

# CHECK: v_min3_f32 v5, v1, v2, -1               ; encoding: [0x05,0x00,0xd0,0xd1,0x01,0x05,0x06,0x03]
0x05,0x00,0xd0,0xd1,0x01,0x05,0x06,0x03

# CHECK: v_min3_f32 v5, v1, v2, 0.5              ; encoding: [0x05,0x00,0xd0,0xd1,0x01,0x05,0xc2,0x03]
0x05,0x00,0xd0,0xd1,0x01,0x05,0xc2,0x03

# CHECK: v_min3_f32 v5, v1, v2, -4.0             ; encoding: [0x05,0x00,0xd0,0xd1,0x01,0x05,0xde,0x03]
0x05,0x00,0xd0,0xd1,0x01,0x05,0xde,0x03

# CHECK: v_min3_f32 v5, -v1, v2, v3              ; encoding: [0x05,0x00,0xd0,0xd1,0x01,0x05,0x0e,0x24]
0x05,0x00,0xd0,0xd1,0x01,0x05,0x0e,0x24

# CHECK: v_min3_f32 v5, v1, -v2, v3              ; encoding: [0x05,0x00,0xd0,0xd1,0x01,0x05,0x0e,0x44]
0x05,0x00,0xd0,0xd1,0x01,0x05,0x0e,0x44

# CHECK: v_min3_f32 v5, v1, v2, -v3              ; encoding: [0x05,0x00,0xd0,0xd1,0x01,0x05,0x0e,0x84]
0x05,0x00,0xd0,0xd1,0x01,0x05,0x0e,0x84

# CHECK: v_min3_f32 v5, -v1, -v2, -v3            ; encoding: [0x05,0x00,0xd0,0xd1,0x01,0x05,0x0e,0xe4]
0x05,0x00,0xd0,0xd1,0x01,0x05,0x0e,0xe4

# CHECK: v_min3_f32 v5, |v1|, v2, v3             ; encoding: [0x05,0x01,0xd0,0xd1,0x01,0x05,0x0e,0x04]
0x05,0x01,0xd0,0xd1,0x01,0x05,0x0e,0x04

# CHECK: v_min3_f32 v5, v1, |v2|, v3             ; encoding: [0x05,0x02,0xd0,0xd1,0x01,0x05,0x0e,0x04]
0x05,0x02,0xd0,0xd1,0x01,0x05,0x0e,0x04

# CHECK: v_min3_f32 v5, v1, v2, |v3|             ; encoding: [0x05,0x04,0xd0,0xd1,0x01,0x05,0x0e,0x04]
0x05,0x04,0xd0,0xd1,0x01,0x05,0x0e,0x04

# CHECK: v_min3_f32 v5, |v1|, |v2|, |v3|         ; encoding: [0x05,0x07,0xd0,0xd1,0x01,0x05,0x0e,0x04]
0x05,0x07,0xd0,0xd1,0x01,0x05,0x0e,0x04

# CHECK: v_min3_f32 v5, v1, v2, v3 clamp         ; encoding: [0x05,0x80,0xd0,0xd1,0x01,0x05,0x0e,0x04]
0x05,0x80,0xd0,0xd1,0x01,0x05,0x0e,0x04

# CHECK: v_min3_f32 v5, v1, v2, v3 mul:2         ; encoding: [0x05,0x00,0xd0,0xd1,0x01,0x05,0x0e,0x0c]
0x05,0x00,0xd0,0xd1,0x01,0x05,0x0e,0x0c

# CHECK: v_min3_f32 v5, v1, v2, v3 mul:4         ; encoding: [0x05,0x00,0xd0,0xd1,0x01,0x05,0x0e,0x14]
0x05,0x00,0xd0,0xd1,0x01,0x05,0x0e,0x14

# CHECK: v_min3_f32 v5, v1, v2, v3 div:2         ; encoding: [0x05,0x00,0xd0,0xd1,0x01,0x05,0x0e,0x1c]
0x05,0x00,0xd0,0xd1,0x01,0x05,0x0e,0x1c

# CHECK: v_min3_i32 v5, v1, v2, v3               ; encoding: [0x05,0x00,0xd1,0xd1,0x01,0x05,0x0e,0x04]
0x05,0x00,0xd1,0xd1,0x01,0x05,0x0e,0x04

# CHECK: v_min3_i32 v255, v1, v2, v3             ; encoding: [0xff,0x00,0xd1,0xd1,0x01,0x05,0x0e,0x04]
0xff,0x00,0xd1,0xd1,0x01,0x05,0x0e,0x04

# CHECK: v_min3_i32 v5, v255, v2, v3             ; encoding: [0x05,0x00,0xd1,0xd1,0xff,0x05,0x0e,0x04]
0x05,0x00,0xd1,0xd1,0xff,0x05,0x0e,0x04

# CHECK: v_min3_i32 v5, s1, v2, v3               ; encoding: [0x05,0x00,0xd1,0xd1,0x01,0x04,0x0e,0x04]
0x05,0x00,0xd1,0xd1,0x01,0x04,0x0e,0x04

# CHECK: v_min3_i32 v5, s101, v2, v3             ; encoding: [0x05,0x00,0xd1,0xd1,0x65,0x04,0x0e,0x04]
0x05,0x00,0xd1,0xd1,0x65,0x04,0x0e,0x04

# CHECK: v_min3_i32 v5, flat_scratch_lo, v2, v3  ; encoding: [0x05,0x00,0xd1,0xd1,0x66,0x04,0x0e,0x04]
0x05,0x00,0xd1,0xd1,0x66,0x04,0x0e,0x04

# CHECK: v_min3_i32 v5, flat_scratch_hi, v2, v3  ; encoding: [0x05,0x00,0xd1,0xd1,0x67,0x04,0x0e,0x04]
0x05,0x00,0xd1,0xd1,0x67,0x04,0x0e,0x04

# CHECK: v_min3_i32 v5, vcc_lo, v2, v3           ; encoding: [0x05,0x00,0xd1,0xd1,0x6a,0x04,0x0e,0x04]
0x05,0x00,0xd1,0xd1,0x6a,0x04,0x0e,0x04

# CHECK: v_min3_i32 v5, vcc_hi, v2, v3           ; encoding: [0x05,0x00,0xd1,0xd1,0x6b,0x04,0x0e,0x04]
0x05,0x00,0xd1,0xd1,0x6b,0x04,0x0e,0x04

# CHECK: v_min3_i32 v5, tba_lo, v2, v3           ; encoding: [0x05,0x00,0xd1,0xd1,0x6c,0x04,0x0e,0x04]
0x05,0x00,0xd1,0xd1,0x6c,0x04,0x0e,0x04

# CHECK: v_min3_i32 v5, tba_hi, v2, v3           ; encoding: [0x05,0x00,0xd1,0xd1,0x6d,0x04,0x0e,0x04]
0x05,0x00,0xd1,0xd1,0x6d,0x04,0x0e,0x04

# CHECK: v_min3_i32 v5, tma_lo, v2, v3           ; encoding: [0x05,0x00,0xd1,0xd1,0x6e,0x04,0x0e,0x04]
0x05,0x00,0xd1,0xd1,0x6e,0x04,0x0e,0x04

# CHECK: v_min3_i32 v5, tma_hi, v2, v3           ; encoding: [0x05,0x00,0xd1,0xd1,0x6f,0x04,0x0e,0x04]
0x05,0x00,0xd1,0xd1,0x6f,0x04,0x0e,0x04

# CHECK: v_min3_i32 v5, ttmp11, v2, v3           ; encoding: [0x05,0x00,0xd1,0xd1,0x7b,0x04,0x0e,0x04]
0x05,0x00,0xd1,0xd1,0x7b,0x04,0x0e,0x04

# CHECK: v_min3_i32 v5, m0, v2, v3               ; encoding: [0x05,0x00,0xd1,0xd1,0x7c,0x04,0x0e,0x04]
0x05,0x00,0xd1,0xd1,0x7c,0x04,0x0e,0x04

# CHECK: v_min3_i32 v5, exec_lo, v2, v3          ; encoding: [0x05,0x00,0xd1,0xd1,0x7e,0x04,0x0e,0x04]
0x05,0x00,0xd1,0xd1,0x7e,0x04,0x0e,0x04

# CHECK: v_min3_i32 v5, exec_hi, v2, v3          ; encoding: [0x05,0x00,0xd1,0xd1,0x7f,0x04,0x0e,0x04]
0x05,0x00,0xd1,0xd1,0x7f,0x04,0x0e,0x04

# CHECK: v_min3_i32 v5, 0, v2, v3                ; encoding: [0x05,0x00,0xd1,0xd1,0x80,0x04,0x0e,0x04]
0x05,0x00,0xd1,0xd1,0x80,0x04,0x0e,0x04

# CHECK: v_min3_i32 v5, -1, v2, v3               ; encoding: [0x05,0x00,0xd1,0xd1,0xc1,0x04,0x0e,0x04]
0x05,0x00,0xd1,0xd1,0xc1,0x04,0x0e,0x04

# CHECK: v_min3_i32 v5, 0.5, v2, v3              ; encoding: [0x05,0x00,0xd1,0xd1,0xf0,0x04,0x0e,0x04]
0x05,0x00,0xd1,0xd1,0xf0,0x04,0x0e,0x04

# CHECK: v_min3_i32 v5, -4.0, v2, v3             ; encoding: [0x05,0x00,0xd1,0xd1,0xf7,0x04,0x0e,0x04]
0x05,0x00,0xd1,0xd1,0xf7,0x04,0x0e,0x04

# CHECK: v_min3_i32 v5, v1, v255, v3             ; encoding: [0x05,0x00,0xd1,0xd1,0x01,0xff,0x0f,0x04]
0x05,0x00,0xd1,0xd1,0x01,0xff,0x0f,0x04

# CHECK: v_min3_i32 v5, v1, s2, v3               ; encoding: [0x05,0x00,0xd1,0xd1,0x01,0x05,0x0c,0x04]
0x05,0x00,0xd1,0xd1,0x01,0x05,0x0c,0x04

# CHECK: v_min3_i32 v5, v1, s101, v3             ; encoding: [0x05,0x00,0xd1,0xd1,0x01,0xcb,0x0c,0x04]
0x05,0x00,0xd1,0xd1,0x01,0xcb,0x0c,0x04

# CHECK: v_min3_i32 v5, v1, flat_scratch_lo, v3  ; encoding: [0x05,0x00,0xd1,0xd1,0x01,0xcd,0x0c,0x04]
0x05,0x00,0xd1,0xd1,0x01,0xcd,0x0c,0x04

# CHECK: v_min3_i32 v5, v1, flat_scratch_hi, v3  ; encoding: [0x05,0x00,0xd1,0xd1,0x01,0xcf,0x0c,0x04]
0x05,0x00,0xd1,0xd1,0x01,0xcf,0x0c,0x04

# CHECK: v_min3_i32 v5, v1, vcc_lo, v3           ; encoding: [0x05,0x00,0xd1,0xd1,0x01,0xd5,0x0c,0x04]
0x05,0x00,0xd1,0xd1,0x01,0xd5,0x0c,0x04

# CHECK: v_min3_i32 v5, v1, vcc_hi, v3           ; encoding: [0x05,0x00,0xd1,0xd1,0x01,0xd7,0x0c,0x04]
0x05,0x00,0xd1,0xd1,0x01,0xd7,0x0c,0x04

# CHECK: v_min3_i32 v5, v1, tba_lo, v3           ; encoding: [0x05,0x00,0xd1,0xd1,0x01,0xd9,0x0c,0x04]
0x05,0x00,0xd1,0xd1,0x01,0xd9,0x0c,0x04

# CHECK: v_min3_i32 v5, v1, tba_hi, v3           ; encoding: [0x05,0x00,0xd1,0xd1,0x01,0xdb,0x0c,0x04]
0x05,0x00,0xd1,0xd1,0x01,0xdb,0x0c,0x04

# CHECK: v_min3_i32 v5, v1, tma_lo, v3           ; encoding: [0x05,0x00,0xd1,0xd1,0x01,0xdd,0x0c,0x04]
0x05,0x00,0xd1,0xd1,0x01,0xdd,0x0c,0x04

# CHECK: v_min3_i32 v5, v1, tma_hi, v3           ; encoding: [0x05,0x00,0xd1,0xd1,0x01,0xdf,0x0c,0x04]
0x05,0x00,0xd1,0xd1,0x01,0xdf,0x0c,0x04

# CHECK: v_min3_i32 v5, v1, ttmp11, v3           ; encoding: [0x05,0x00,0xd1,0xd1,0x01,0xf7,0x0c,0x04]
0x05,0x00,0xd1,0xd1,0x01,0xf7,0x0c,0x04

# CHECK: v_min3_i32 v5, v1, m0, v3               ; encoding: [0x05,0x00,0xd1,0xd1,0x01,0xf9,0x0c,0x04]
0x05,0x00,0xd1,0xd1,0x01,0xf9,0x0c,0x04

# CHECK: v_min3_i32 v5, v1, exec_lo, v3          ; encoding: [0x05,0x00,0xd1,0xd1,0x01,0xfd,0x0c,0x04]
0x05,0x00,0xd1,0xd1,0x01,0xfd,0x0c,0x04

# CHECK: v_min3_i32 v5, v1, exec_hi, v3          ; encoding: [0x05,0x00,0xd1,0xd1,0x01,0xff,0x0c,0x04]
0x05,0x00,0xd1,0xd1,0x01,0xff,0x0c,0x04

# CHECK: v_min3_i32 v5, v1, 0, v3                ; encoding: [0x05,0x00,0xd1,0xd1,0x01,0x01,0x0d,0x04]
0x05,0x00,0xd1,0xd1,0x01,0x01,0x0d,0x04

# CHECK: v_min3_i32 v5, v1, -1, v3               ; encoding: [0x05,0x00,0xd1,0xd1,0x01,0x83,0x0d,0x04]
0x05,0x00,0xd1,0xd1,0x01,0x83,0x0d,0x04

# CHECK: v_min3_i32 v5, v1, 0.5, v3              ; encoding: [0x05,0x00,0xd1,0xd1,0x01,0xe1,0x0d,0x04]
0x05,0x00,0xd1,0xd1,0x01,0xe1,0x0d,0x04

# CHECK: v_min3_i32 v5, v1, -4.0, v3             ; encoding: [0x05,0x00,0xd1,0xd1,0x01,0xef,0x0d,0x04]
0x05,0x00,0xd1,0xd1,0x01,0xef,0x0d,0x04

# CHECK: v_min3_i32 v5, v1, v2, v255             ; encoding: [0x05,0x00,0xd1,0xd1,0x01,0x05,0xfe,0x07]
0x05,0x00,0xd1,0xd1,0x01,0x05,0xfe,0x07

# CHECK: v_min3_i32 v5, v1, v2, s3               ; encoding: [0x05,0x00,0xd1,0xd1,0x01,0x05,0x0e,0x00]
0x05,0x00,0xd1,0xd1,0x01,0x05,0x0e,0x00

# CHECK: v_min3_i32 v5, v1, v2, s101             ; encoding: [0x05,0x00,0xd1,0xd1,0x01,0x05,0x96,0x01]
0x05,0x00,0xd1,0xd1,0x01,0x05,0x96,0x01

# CHECK: v_min3_i32 v5, v1, v2, flat_scratch_lo  ; encoding: [0x05,0x00,0xd1,0xd1,0x01,0x05,0x9a,0x01]
0x05,0x00,0xd1,0xd1,0x01,0x05,0x9a,0x01

# CHECK: v_min3_i32 v5, v1, v2, flat_scratch_hi  ; encoding: [0x05,0x00,0xd1,0xd1,0x01,0x05,0x9e,0x01]
0x05,0x00,0xd1,0xd1,0x01,0x05,0x9e,0x01

# CHECK: v_min3_i32 v5, v1, v2, vcc_lo           ; encoding: [0x05,0x00,0xd1,0xd1,0x01,0x05,0xaa,0x01]
0x05,0x00,0xd1,0xd1,0x01,0x05,0xaa,0x01

# CHECK: v_min3_i32 v5, v1, v2, vcc_hi           ; encoding: [0x05,0x00,0xd1,0xd1,0x01,0x05,0xae,0x01]
0x05,0x00,0xd1,0xd1,0x01,0x05,0xae,0x01

# CHECK: v_min3_i32 v5, v1, v2, tba_lo           ; encoding: [0x05,0x00,0xd1,0xd1,0x01,0x05,0xb2,0x01]
0x05,0x00,0xd1,0xd1,0x01,0x05,0xb2,0x01

# CHECK: v_min3_i32 v5, v1, v2, tba_hi           ; encoding: [0x05,0x00,0xd1,0xd1,0x01,0x05,0xb6,0x01]
0x05,0x00,0xd1,0xd1,0x01,0x05,0xb6,0x01

# CHECK: v_min3_i32 v5, v1, v2, tma_lo           ; encoding: [0x05,0x00,0xd1,0xd1,0x01,0x05,0xba,0x01]
0x05,0x00,0xd1,0xd1,0x01,0x05,0xba,0x01

# CHECK: v_min3_i32 v5, v1, v2, tma_hi           ; encoding: [0x05,0x00,0xd1,0xd1,0x01,0x05,0xbe,0x01]
0x05,0x00,0xd1,0xd1,0x01,0x05,0xbe,0x01

# CHECK: v_min3_i32 v5, v1, v2, ttmp11           ; encoding: [0x05,0x00,0xd1,0xd1,0x01,0x05,0xee,0x01]
0x05,0x00,0xd1,0xd1,0x01,0x05,0xee,0x01

# CHECK: v_min3_i32 v5, v1, v2, m0               ; encoding: [0x05,0x00,0xd1,0xd1,0x01,0x05,0xf2,0x01]
0x05,0x00,0xd1,0xd1,0x01,0x05,0xf2,0x01

# CHECK: v_min3_i32 v5, v1, v2, exec_lo          ; encoding: [0x05,0x00,0xd1,0xd1,0x01,0x05,0xfa,0x01]
0x05,0x00,0xd1,0xd1,0x01,0x05,0xfa,0x01

# CHECK: v_min3_i32 v5, v1, v2, exec_hi          ; encoding: [0x05,0x00,0xd1,0xd1,0x01,0x05,0xfe,0x01]
0x05,0x00,0xd1,0xd1,0x01,0x05,0xfe,0x01

# CHECK: v_min3_i32 v5, v1, v2, 0                ; encoding: [0x05,0x00,0xd1,0xd1,0x01,0x05,0x02,0x02]
0x05,0x00,0xd1,0xd1,0x01,0x05,0x02,0x02

# CHECK: v_min3_i32 v5, v1, v2, -1               ; encoding: [0x05,0x00,0xd1,0xd1,0x01,0x05,0x06,0x03]
0x05,0x00,0xd1,0xd1,0x01,0x05,0x06,0x03

# CHECK: v_min3_i32 v5, v1, v2, 0.5              ; encoding: [0x05,0x00,0xd1,0xd1,0x01,0x05,0xc2,0x03]
0x05,0x00,0xd1,0xd1,0x01,0x05,0xc2,0x03

# CHECK: v_min3_i32 v5, v1, v2, -4.0             ; encoding: [0x05,0x00,0xd1,0xd1,0x01,0x05,0xde,0x03]
0x05,0x00,0xd1,0xd1,0x01,0x05,0xde,0x03

# CHECK: v_min3_u32 v5, v1, v2, v3               ; encoding: [0x05,0x00,0xd2,0xd1,0x01,0x05,0x0e,0x04]
0x05,0x00,0xd2,0xd1,0x01,0x05,0x0e,0x04

# CHECK: v_min3_u32 v255, v1, v2, v3             ; encoding: [0xff,0x00,0xd2,0xd1,0x01,0x05,0x0e,0x04]
0xff,0x00,0xd2,0xd1,0x01,0x05,0x0e,0x04

# CHECK: v_min3_u32 v5, v255, v2, v3             ; encoding: [0x05,0x00,0xd2,0xd1,0xff,0x05,0x0e,0x04]
0x05,0x00,0xd2,0xd1,0xff,0x05,0x0e,0x04

# CHECK: v_min3_u32 v5, s1, v2, v3               ; encoding: [0x05,0x00,0xd2,0xd1,0x01,0x04,0x0e,0x04]
0x05,0x00,0xd2,0xd1,0x01,0x04,0x0e,0x04

# CHECK: v_min3_u32 v5, s101, v2, v3             ; encoding: [0x05,0x00,0xd2,0xd1,0x65,0x04,0x0e,0x04]
0x05,0x00,0xd2,0xd1,0x65,0x04,0x0e,0x04

# CHECK: v_min3_u32 v5, flat_scratch_lo, v2, v3  ; encoding: [0x05,0x00,0xd2,0xd1,0x66,0x04,0x0e,0x04]
0x05,0x00,0xd2,0xd1,0x66,0x04,0x0e,0x04

# CHECK: v_min3_u32 v5, flat_scratch_hi, v2, v3  ; encoding: [0x05,0x00,0xd2,0xd1,0x67,0x04,0x0e,0x04]
0x05,0x00,0xd2,0xd1,0x67,0x04,0x0e,0x04

# CHECK: v_min3_u32 v5, vcc_lo, v2, v3           ; encoding: [0x05,0x00,0xd2,0xd1,0x6a,0x04,0x0e,0x04]
0x05,0x00,0xd2,0xd1,0x6a,0x04,0x0e,0x04

# CHECK: v_min3_u32 v5, vcc_hi, v2, v3           ; encoding: [0x05,0x00,0xd2,0xd1,0x6b,0x04,0x0e,0x04]
0x05,0x00,0xd2,0xd1,0x6b,0x04,0x0e,0x04

# CHECK: v_min3_u32 v5, tba_lo, v2, v3           ; encoding: [0x05,0x00,0xd2,0xd1,0x6c,0x04,0x0e,0x04]
0x05,0x00,0xd2,0xd1,0x6c,0x04,0x0e,0x04

# CHECK: v_min3_u32 v5, tba_hi, v2, v3           ; encoding: [0x05,0x00,0xd2,0xd1,0x6d,0x04,0x0e,0x04]
0x05,0x00,0xd2,0xd1,0x6d,0x04,0x0e,0x04

# CHECK: v_min3_u32 v5, tma_lo, v2, v3           ; encoding: [0x05,0x00,0xd2,0xd1,0x6e,0x04,0x0e,0x04]
0x05,0x00,0xd2,0xd1,0x6e,0x04,0x0e,0x04

# CHECK: v_min3_u32 v5, tma_hi, v2, v3           ; encoding: [0x05,0x00,0xd2,0xd1,0x6f,0x04,0x0e,0x04]
0x05,0x00,0xd2,0xd1,0x6f,0x04,0x0e,0x04

# CHECK: v_min3_u32 v5, ttmp11, v2, v3           ; encoding: [0x05,0x00,0xd2,0xd1,0x7b,0x04,0x0e,0x04]
0x05,0x00,0xd2,0xd1,0x7b,0x04,0x0e,0x04

# CHECK: v_min3_u32 v5, m0, v2, v3               ; encoding: [0x05,0x00,0xd2,0xd1,0x7c,0x04,0x0e,0x04]
0x05,0x00,0xd2,0xd1,0x7c,0x04,0x0e,0x04

# CHECK: v_min3_u32 v5, exec_lo, v2, v3          ; encoding: [0x05,0x00,0xd2,0xd1,0x7e,0x04,0x0e,0x04]
0x05,0x00,0xd2,0xd1,0x7e,0x04,0x0e,0x04

# CHECK: v_min3_u32 v5, exec_hi, v2, v3          ; encoding: [0x05,0x00,0xd2,0xd1,0x7f,0x04,0x0e,0x04]
0x05,0x00,0xd2,0xd1,0x7f,0x04,0x0e,0x04

# CHECK: v_min3_u32 v5, 0, v2, v3                ; encoding: [0x05,0x00,0xd2,0xd1,0x80,0x04,0x0e,0x04]
0x05,0x00,0xd2,0xd1,0x80,0x04,0x0e,0x04

# CHECK: v_min3_u32 v5, -1, v2, v3               ; encoding: [0x05,0x00,0xd2,0xd1,0xc1,0x04,0x0e,0x04]
0x05,0x00,0xd2,0xd1,0xc1,0x04,0x0e,0x04

# CHECK: v_min3_u32 v5, 0.5, v2, v3              ; encoding: [0x05,0x00,0xd2,0xd1,0xf0,0x04,0x0e,0x04]
0x05,0x00,0xd2,0xd1,0xf0,0x04,0x0e,0x04

# CHECK: v_min3_u32 v5, -4.0, v2, v3             ; encoding: [0x05,0x00,0xd2,0xd1,0xf7,0x04,0x0e,0x04]
0x05,0x00,0xd2,0xd1,0xf7,0x04,0x0e,0x04

# CHECK: v_min3_u32 v5, v1, v255, v3             ; encoding: [0x05,0x00,0xd2,0xd1,0x01,0xff,0x0f,0x04]
0x05,0x00,0xd2,0xd1,0x01,0xff,0x0f,0x04

# CHECK: v_min3_u32 v5, v1, s2, v3               ; encoding: [0x05,0x00,0xd2,0xd1,0x01,0x05,0x0c,0x04]
0x05,0x00,0xd2,0xd1,0x01,0x05,0x0c,0x04

# CHECK: v_min3_u32 v5, v1, s101, v3             ; encoding: [0x05,0x00,0xd2,0xd1,0x01,0xcb,0x0c,0x04]
0x05,0x00,0xd2,0xd1,0x01,0xcb,0x0c,0x04

# CHECK: v_min3_u32 v5, v1, flat_scratch_lo, v3  ; encoding: [0x05,0x00,0xd2,0xd1,0x01,0xcd,0x0c,0x04]
0x05,0x00,0xd2,0xd1,0x01,0xcd,0x0c,0x04

# CHECK: v_min3_u32 v5, v1, flat_scratch_hi, v3  ; encoding: [0x05,0x00,0xd2,0xd1,0x01,0xcf,0x0c,0x04]
0x05,0x00,0xd2,0xd1,0x01,0xcf,0x0c,0x04

# CHECK: v_min3_u32 v5, v1, vcc_lo, v3           ; encoding: [0x05,0x00,0xd2,0xd1,0x01,0xd5,0x0c,0x04]
0x05,0x00,0xd2,0xd1,0x01,0xd5,0x0c,0x04

# CHECK: v_min3_u32 v5, v1, vcc_hi, v3           ; encoding: [0x05,0x00,0xd2,0xd1,0x01,0xd7,0x0c,0x04]
0x05,0x00,0xd2,0xd1,0x01,0xd7,0x0c,0x04

# CHECK: v_min3_u32 v5, v1, tba_lo, v3           ; encoding: [0x05,0x00,0xd2,0xd1,0x01,0xd9,0x0c,0x04]
0x05,0x00,0xd2,0xd1,0x01,0xd9,0x0c,0x04

# CHECK: v_min3_u32 v5, v1, tba_hi, v3           ; encoding: [0x05,0x00,0xd2,0xd1,0x01,0xdb,0x0c,0x04]
0x05,0x00,0xd2,0xd1,0x01,0xdb,0x0c,0x04

# CHECK: v_min3_u32 v5, v1, tma_lo, v3           ; encoding: [0x05,0x00,0xd2,0xd1,0x01,0xdd,0x0c,0x04]
0x05,0x00,0xd2,0xd1,0x01,0xdd,0x0c,0x04

# CHECK: v_min3_u32 v5, v1, tma_hi, v3           ; encoding: [0x05,0x00,0xd2,0xd1,0x01,0xdf,0x0c,0x04]
0x05,0x00,0xd2,0xd1,0x01,0xdf,0x0c,0x04

# CHECK: v_min3_u32 v5, v1, ttmp11, v3           ; encoding: [0x05,0x00,0xd2,0xd1,0x01,0xf7,0x0c,0x04]
0x05,0x00,0xd2,0xd1,0x01,0xf7,0x0c,0x04

# CHECK: v_min3_u32 v5, v1, m0, v3               ; encoding: [0x05,0x00,0xd2,0xd1,0x01,0xf9,0x0c,0x04]
0x05,0x00,0xd2,0xd1,0x01,0xf9,0x0c,0x04

# CHECK: v_min3_u32 v5, v1, exec_lo, v3          ; encoding: [0x05,0x00,0xd2,0xd1,0x01,0xfd,0x0c,0x04]
0x05,0x00,0xd2,0xd1,0x01,0xfd,0x0c,0x04

# CHECK: v_min3_u32 v5, v1, exec_hi, v3          ; encoding: [0x05,0x00,0xd2,0xd1,0x01,0xff,0x0c,0x04]
0x05,0x00,0xd2,0xd1,0x01,0xff,0x0c,0x04

# CHECK: v_min3_u32 v5, v1, 0, v3                ; encoding: [0x05,0x00,0xd2,0xd1,0x01,0x01,0x0d,0x04]
0x05,0x00,0xd2,0xd1,0x01,0x01,0x0d,0x04

# CHECK: v_min3_u32 v5, v1, -1, v3               ; encoding: [0x05,0x00,0xd2,0xd1,0x01,0x83,0x0d,0x04]
0x05,0x00,0xd2,0xd1,0x01,0x83,0x0d,0x04

# CHECK: v_min3_u32 v5, v1, 0.5, v3              ; encoding: [0x05,0x00,0xd2,0xd1,0x01,0xe1,0x0d,0x04]
0x05,0x00,0xd2,0xd1,0x01,0xe1,0x0d,0x04

# CHECK: v_min3_u32 v5, v1, -4.0, v3             ; encoding: [0x05,0x00,0xd2,0xd1,0x01,0xef,0x0d,0x04]
0x05,0x00,0xd2,0xd1,0x01,0xef,0x0d,0x04

# CHECK: v_min3_u32 v5, v1, v2, v255             ; encoding: [0x05,0x00,0xd2,0xd1,0x01,0x05,0xfe,0x07]
0x05,0x00,0xd2,0xd1,0x01,0x05,0xfe,0x07

# CHECK: v_min3_u32 v5, v1, v2, s3               ; encoding: [0x05,0x00,0xd2,0xd1,0x01,0x05,0x0e,0x00]
0x05,0x00,0xd2,0xd1,0x01,0x05,0x0e,0x00

# CHECK: v_min3_u32 v5, v1, v2, s101             ; encoding: [0x05,0x00,0xd2,0xd1,0x01,0x05,0x96,0x01]
0x05,0x00,0xd2,0xd1,0x01,0x05,0x96,0x01

# CHECK: v_min3_u32 v5, v1, v2, flat_scratch_lo  ; encoding: [0x05,0x00,0xd2,0xd1,0x01,0x05,0x9a,0x01]
0x05,0x00,0xd2,0xd1,0x01,0x05,0x9a,0x01

# CHECK: v_min3_u32 v5, v1, v2, flat_scratch_hi  ; encoding: [0x05,0x00,0xd2,0xd1,0x01,0x05,0x9e,0x01]
0x05,0x00,0xd2,0xd1,0x01,0x05,0x9e,0x01

# CHECK: v_min3_u32 v5, v1, v2, vcc_lo           ; encoding: [0x05,0x00,0xd2,0xd1,0x01,0x05,0xaa,0x01]
0x05,0x00,0xd2,0xd1,0x01,0x05,0xaa,0x01

# CHECK: v_min3_u32 v5, v1, v2, vcc_hi           ; encoding: [0x05,0x00,0xd2,0xd1,0x01,0x05,0xae,0x01]
0x05,0x00,0xd2,0xd1,0x01,0x05,0xae,0x01

# CHECK: v_min3_u32 v5, v1, v2, tba_lo           ; encoding: [0x05,0x00,0xd2,0xd1,0x01,0x05,0xb2,0x01]
0x05,0x00,0xd2,0xd1,0x01,0x05,0xb2,0x01

# CHECK: v_min3_u32 v5, v1, v2, tba_hi           ; encoding: [0x05,0x00,0xd2,0xd1,0x01,0x05,0xb6,0x01]
0x05,0x00,0xd2,0xd1,0x01,0x05,0xb6,0x01

# CHECK: v_min3_u32 v5, v1, v2, tma_lo           ; encoding: [0x05,0x00,0xd2,0xd1,0x01,0x05,0xba,0x01]
0x05,0x00,0xd2,0xd1,0x01,0x05,0xba,0x01

# CHECK: v_min3_u32 v5, v1, v2, tma_hi           ; encoding: [0x05,0x00,0xd2,0xd1,0x01,0x05,0xbe,0x01]
0x05,0x00,0xd2,0xd1,0x01,0x05,0xbe,0x01

# CHECK: v_min3_u32 v5, v1, v2, ttmp11           ; encoding: [0x05,0x00,0xd2,0xd1,0x01,0x05,0xee,0x01]
0x05,0x00,0xd2,0xd1,0x01,0x05,0xee,0x01

# CHECK: v_min3_u32 v5, v1, v2, m0               ; encoding: [0x05,0x00,0xd2,0xd1,0x01,0x05,0xf2,0x01]
0x05,0x00,0xd2,0xd1,0x01,0x05,0xf2,0x01

# CHECK: v_min3_u32 v5, v1, v2, exec_lo          ; encoding: [0x05,0x00,0xd2,0xd1,0x01,0x05,0xfa,0x01]
0x05,0x00,0xd2,0xd1,0x01,0x05,0xfa,0x01

# CHECK: v_min3_u32 v5, v1, v2, exec_hi          ; encoding: [0x05,0x00,0xd2,0xd1,0x01,0x05,0xfe,0x01]
0x05,0x00,0xd2,0xd1,0x01,0x05,0xfe,0x01

# CHECK: v_min3_u32 v5, v1, v2, 0                ; encoding: [0x05,0x00,0xd2,0xd1,0x01,0x05,0x02,0x02]
0x05,0x00,0xd2,0xd1,0x01,0x05,0x02,0x02

# CHECK: v_min3_u32 v5, v1, v2, -1               ; encoding: [0x05,0x00,0xd2,0xd1,0x01,0x05,0x06,0x03]
0x05,0x00,0xd2,0xd1,0x01,0x05,0x06,0x03

# CHECK: v_min3_u32 v5, v1, v2, 0.5              ; encoding: [0x05,0x00,0xd2,0xd1,0x01,0x05,0xc2,0x03]
0x05,0x00,0xd2,0xd1,0x01,0x05,0xc2,0x03

# CHECK: v_min3_u32 v5, v1, v2, -4.0             ; encoding: [0x05,0x00,0xd2,0xd1,0x01,0x05,0xde,0x03]
0x05,0x00,0xd2,0xd1,0x01,0x05,0xde,0x03

# CHECK: v_max3_f32 v5, v1, v2, v3               ; encoding: [0x05,0x00,0xd3,0xd1,0x01,0x05,0x0e,0x04]
0x05,0x00,0xd3,0xd1,0x01,0x05,0x0e,0x04

# CHECK: v_max3_f32 v255, v1, v2, v3             ; encoding: [0xff,0x00,0xd3,0xd1,0x01,0x05,0x0e,0x04]
0xff,0x00,0xd3,0xd1,0x01,0x05,0x0e,0x04

# CHECK: v_max3_f32 v5, v255, v2, v3             ; encoding: [0x05,0x00,0xd3,0xd1,0xff,0x05,0x0e,0x04]
0x05,0x00,0xd3,0xd1,0xff,0x05,0x0e,0x04

# CHECK: v_max3_f32 v5, s1, v2, v3               ; encoding: [0x05,0x00,0xd3,0xd1,0x01,0x04,0x0e,0x04]
0x05,0x00,0xd3,0xd1,0x01,0x04,0x0e,0x04

# CHECK: v_max3_f32 v5, s101, v2, v3             ; encoding: [0x05,0x00,0xd3,0xd1,0x65,0x04,0x0e,0x04]
0x05,0x00,0xd3,0xd1,0x65,0x04,0x0e,0x04

# CHECK: v_max3_f32 v5, flat_scratch_lo, v2, v3  ; encoding: [0x05,0x00,0xd3,0xd1,0x66,0x04,0x0e,0x04]
0x05,0x00,0xd3,0xd1,0x66,0x04,0x0e,0x04

# CHECK: v_max3_f32 v5, flat_scratch_hi, v2, v3  ; encoding: [0x05,0x00,0xd3,0xd1,0x67,0x04,0x0e,0x04]
0x05,0x00,0xd3,0xd1,0x67,0x04,0x0e,0x04

# CHECK: v_max3_f32 v5, vcc_lo, v2, v3           ; encoding: [0x05,0x00,0xd3,0xd1,0x6a,0x04,0x0e,0x04]
0x05,0x00,0xd3,0xd1,0x6a,0x04,0x0e,0x04

# CHECK: v_max3_f32 v5, vcc_hi, v2, v3           ; encoding: [0x05,0x00,0xd3,0xd1,0x6b,0x04,0x0e,0x04]
0x05,0x00,0xd3,0xd1,0x6b,0x04,0x0e,0x04

# CHECK: v_max3_f32 v5, tba_lo, v2, v3           ; encoding: [0x05,0x00,0xd3,0xd1,0x6c,0x04,0x0e,0x04]
0x05,0x00,0xd3,0xd1,0x6c,0x04,0x0e,0x04

# CHECK: v_max3_f32 v5, tba_hi, v2, v3           ; encoding: [0x05,0x00,0xd3,0xd1,0x6d,0x04,0x0e,0x04]
0x05,0x00,0xd3,0xd1,0x6d,0x04,0x0e,0x04

# CHECK: v_max3_f32 v5, tma_lo, v2, v3           ; encoding: [0x05,0x00,0xd3,0xd1,0x6e,0x04,0x0e,0x04]
0x05,0x00,0xd3,0xd1,0x6e,0x04,0x0e,0x04

# CHECK: v_max3_f32 v5, tma_hi, v2, v3           ; encoding: [0x05,0x00,0xd3,0xd1,0x6f,0x04,0x0e,0x04]
0x05,0x00,0xd3,0xd1,0x6f,0x04,0x0e,0x04

# CHECK: v_max3_f32 v5, ttmp11, v2, v3           ; encoding: [0x05,0x00,0xd3,0xd1,0x7b,0x04,0x0e,0x04]
0x05,0x00,0xd3,0xd1,0x7b,0x04,0x0e,0x04

# CHECK: v_max3_f32 v5, m0, v2, v3               ; encoding: [0x05,0x00,0xd3,0xd1,0x7c,0x04,0x0e,0x04]
0x05,0x00,0xd3,0xd1,0x7c,0x04,0x0e,0x04

# CHECK: v_max3_f32 v5, exec_lo, v2, v3          ; encoding: [0x05,0x00,0xd3,0xd1,0x7e,0x04,0x0e,0x04]
0x05,0x00,0xd3,0xd1,0x7e,0x04,0x0e,0x04

# CHECK: v_max3_f32 v5, exec_hi, v2, v3          ; encoding: [0x05,0x00,0xd3,0xd1,0x7f,0x04,0x0e,0x04]
0x05,0x00,0xd3,0xd1,0x7f,0x04,0x0e,0x04

# CHECK: v_max3_f32 v5, 0, v2, v3                ; encoding: [0x05,0x00,0xd3,0xd1,0x80,0x04,0x0e,0x04]
0x05,0x00,0xd3,0xd1,0x80,0x04,0x0e,0x04

# CHECK: v_max3_f32 v5, -1, v2, v3               ; encoding: [0x05,0x00,0xd3,0xd1,0xc1,0x04,0x0e,0x04]
0x05,0x00,0xd3,0xd1,0xc1,0x04,0x0e,0x04

# CHECK: v_max3_f32 v5, 0.5, v2, v3              ; encoding: [0x05,0x00,0xd3,0xd1,0xf0,0x04,0x0e,0x04]
0x05,0x00,0xd3,0xd1,0xf0,0x04,0x0e,0x04

# CHECK: v_max3_f32 v5, -4.0, v2, v3             ; encoding: [0x05,0x00,0xd3,0xd1,0xf7,0x04,0x0e,0x04]
0x05,0x00,0xd3,0xd1,0xf7,0x04,0x0e,0x04

# CHECK: v_max3_f32 v5, v1, v255, v3             ; encoding: [0x05,0x00,0xd3,0xd1,0x01,0xff,0x0f,0x04]
0x05,0x00,0xd3,0xd1,0x01,0xff,0x0f,0x04

# CHECK: v_max3_f32 v5, v1, s2, v3               ; encoding: [0x05,0x00,0xd3,0xd1,0x01,0x05,0x0c,0x04]
0x05,0x00,0xd3,0xd1,0x01,0x05,0x0c,0x04

# CHECK: v_max3_f32 v5, v1, s101, v3             ; encoding: [0x05,0x00,0xd3,0xd1,0x01,0xcb,0x0c,0x04]
0x05,0x00,0xd3,0xd1,0x01,0xcb,0x0c,0x04

# CHECK: v_max3_f32 v5, v1, flat_scratch_lo, v3  ; encoding: [0x05,0x00,0xd3,0xd1,0x01,0xcd,0x0c,0x04]
0x05,0x00,0xd3,0xd1,0x01,0xcd,0x0c,0x04

# CHECK: v_max3_f32 v5, v1, flat_scratch_hi, v3  ; encoding: [0x05,0x00,0xd3,0xd1,0x01,0xcf,0x0c,0x04]
0x05,0x00,0xd3,0xd1,0x01,0xcf,0x0c,0x04

# CHECK: v_max3_f32 v5, v1, vcc_lo, v3           ; encoding: [0x05,0x00,0xd3,0xd1,0x01,0xd5,0x0c,0x04]
0x05,0x00,0xd3,0xd1,0x01,0xd5,0x0c,0x04

# CHECK: v_max3_f32 v5, v1, vcc_hi, v3           ; encoding: [0x05,0x00,0xd3,0xd1,0x01,0xd7,0x0c,0x04]
0x05,0x00,0xd3,0xd1,0x01,0xd7,0x0c,0x04

# CHECK: v_max3_f32 v5, v1, tba_lo, v3           ; encoding: [0x05,0x00,0xd3,0xd1,0x01,0xd9,0x0c,0x04]
0x05,0x00,0xd3,0xd1,0x01,0xd9,0x0c,0x04

# CHECK: v_max3_f32 v5, v1, tba_hi, v3           ; encoding: [0x05,0x00,0xd3,0xd1,0x01,0xdb,0x0c,0x04]
0x05,0x00,0xd3,0xd1,0x01,0xdb,0x0c,0x04

# CHECK: v_max3_f32 v5, v1, tma_lo, v3           ; encoding: [0x05,0x00,0xd3,0xd1,0x01,0xdd,0x0c,0x04]
0x05,0x00,0xd3,0xd1,0x01,0xdd,0x0c,0x04

# CHECK: v_max3_f32 v5, v1, tma_hi, v3           ; encoding: [0x05,0x00,0xd3,0xd1,0x01,0xdf,0x0c,0x04]
0x05,0x00,0xd3,0xd1,0x01,0xdf,0x0c,0x04

# CHECK: v_max3_f32 v5, v1, ttmp11, v3           ; encoding: [0x05,0x00,0xd3,0xd1,0x01,0xf7,0x0c,0x04]
0x05,0x00,0xd3,0xd1,0x01,0xf7,0x0c,0x04

# CHECK: v_max3_f32 v5, v1, m0, v3               ; encoding: [0x05,0x00,0xd3,0xd1,0x01,0xf9,0x0c,0x04]
0x05,0x00,0xd3,0xd1,0x01,0xf9,0x0c,0x04

# CHECK: v_max3_f32 v5, v1, exec_lo, v3          ; encoding: [0x05,0x00,0xd3,0xd1,0x01,0xfd,0x0c,0x04]
0x05,0x00,0xd3,0xd1,0x01,0xfd,0x0c,0x04

# CHECK: v_max3_f32 v5, v1, exec_hi, v3          ; encoding: [0x05,0x00,0xd3,0xd1,0x01,0xff,0x0c,0x04]
0x05,0x00,0xd3,0xd1,0x01,0xff,0x0c,0x04

# CHECK: v_max3_f32 v5, v1, 0, v3                ; encoding: [0x05,0x00,0xd3,0xd1,0x01,0x01,0x0d,0x04]
0x05,0x00,0xd3,0xd1,0x01,0x01,0x0d,0x04

# CHECK: v_max3_f32 v5, v1, -1, v3               ; encoding: [0x05,0x00,0xd3,0xd1,0x01,0x83,0x0d,0x04]
0x05,0x00,0xd3,0xd1,0x01,0x83,0x0d,0x04

# CHECK: v_max3_f32 v5, v1, 0.5, v3              ; encoding: [0x05,0x00,0xd3,0xd1,0x01,0xe1,0x0d,0x04]
0x05,0x00,0xd3,0xd1,0x01,0xe1,0x0d,0x04

# CHECK: v_max3_f32 v5, v1, -4.0, v3             ; encoding: [0x05,0x00,0xd3,0xd1,0x01,0xef,0x0d,0x04]
0x05,0x00,0xd3,0xd1,0x01,0xef,0x0d,0x04

# CHECK: v_max3_f32 v5, v1, v2, v255             ; encoding: [0x05,0x00,0xd3,0xd1,0x01,0x05,0xfe,0x07]
0x05,0x00,0xd3,0xd1,0x01,0x05,0xfe,0x07

# CHECK: v_max3_f32 v5, v1, v2, s3               ; encoding: [0x05,0x00,0xd3,0xd1,0x01,0x05,0x0e,0x00]
0x05,0x00,0xd3,0xd1,0x01,0x05,0x0e,0x00

# CHECK: v_max3_f32 v5, v1, v2, s101             ; encoding: [0x05,0x00,0xd3,0xd1,0x01,0x05,0x96,0x01]
0x05,0x00,0xd3,0xd1,0x01,0x05,0x96,0x01

# CHECK: v_max3_f32 v5, v1, v2, flat_scratch_lo  ; encoding: [0x05,0x00,0xd3,0xd1,0x01,0x05,0x9a,0x01]
0x05,0x00,0xd3,0xd1,0x01,0x05,0x9a,0x01

# CHECK: v_max3_f32 v5, v1, v2, flat_scratch_hi  ; encoding: [0x05,0x00,0xd3,0xd1,0x01,0x05,0x9e,0x01]
0x05,0x00,0xd3,0xd1,0x01,0x05,0x9e,0x01

# CHECK: v_max3_f32 v5, v1, v2, vcc_lo           ; encoding: [0x05,0x00,0xd3,0xd1,0x01,0x05,0xaa,0x01]
0x05,0x00,0xd3,0xd1,0x01,0x05,0xaa,0x01

# CHECK: v_max3_f32 v5, v1, v2, vcc_hi           ; encoding: [0x05,0x00,0xd3,0xd1,0x01,0x05,0xae,0x01]
0x05,0x00,0xd3,0xd1,0x01,0x05,0xae,0x01

# CHECK: v_max3_f32 v5, v1, v2, tba_lo           ; encoding: [0x05,0x00,0xd3,0xd1,0x01,0x05,0xb2,0x01]
0x05,0x00,0xd3,0xd1,0x01,0x05,0xb2,0x01

# CHECK: v_max3_f32 v5, v1, v2, tba_hi           ; encoding: [0x05,0x00,0xd3,0xd1,0x01,0x05,0xb6,0x01]
0x05,0x00,0xd3,0xd1,0x01,0x05,0xb6,0x01

# CHECK: v_max3_f32 v5, v1, v2, tma_lo           ; encoding: [0x05,0x00,0xd3,0xd1,0x01,0x05,0xba,0x01]
0x05,0x00,0xd3,0xd1,0x01,0x05,0xba,0x01

# CHECK: v_max3_f32 v5, v1, v2, tma_hi           ; encoding: [0x05,0x00,0xd3,0xd1,0x01,0x05,0xbe,0x01]
0x05,0x00,0xd3,0xd1,0x01,0x05,0xbe,0x01

# CHECK: v_max3_f32 v5, v1, v2, ttmp11           ; encoding: [0x05,0x00,0xd3,0xd1,0x01,0x05,0xee,0x01]
0x05,0x00,0xd3,0xd1,0x01,0x05,0xee,0x01

# CHECK: v_max3_f32 v5, v1, v2, m0               ; encoding: [0x05,0x00,0xd3,0xd1,0x01,0x05,0xf2,0x01]
0x05,0x00,0xd3,0xd1,0x01,0x05,0xf2,0x01

# CHECK: v_max3_f32 v5, v1, v2, exec_lo          ; encoding: [0x05,0x00,0xd3,0xd1,0x01,0x05,0xfa,0x01]
0x05,0x00,0xd3,0xd1,0x01,0x05,0xfa,0x01

# CHECK: v_max3_f32 v5, v1, v2, exec_hi          ; encoding: [0x05,0x00,0xd3,0xd1,0x01,0x05,0xfe,0x01]
0x05,0x00,0xd3,0xd1,0x01,0x05,0xfe,0x01

# CHECK: v_max3_f32 v5, v1, v2, 0                ; encoding: [0x05,0x00,0xd3,0xd1,0x01,0x05,0x02,0x02]
0x05,0x00,0xd3,0xd1,0x01,0x05,0x02,0x02

# CHECK: v_max3_f32 v5, v1, v2, -1               ; encoding: [0x05,0x00,0xd3,0xd1,0x01,0x05,0x06,0x03]
0x05,0x00,0xd3,0xd1,0x01,0x05,0x06,0x03

# CHECK: v_max3_f32 v5, v1, v2, 0.5              ; encoding: [0x05,0x00,0xd3,0xd1,0x01,0x05,0xc2,0x03]
0x05,0x00,0xd3,0xd1,0x01,0x05,0xc2,0x03

# CHECK: v_max3_f32 v5, v1, v2, -4.0             ; encoding: [0x05,0x00,0xd3,0xd1,0x01,0x05,0xde,0x03]
0x05,0x00,0xd3,0xd1,0x01,0x05,0xde,0x03

# CHECK: v_max3_f32 v5, -v1, v2, v3              ; encoding: [0x05,0x00,0xd3,0xd1,0x01,0x05,0x0e,0x24]
0x05,0x00,0xd3,0xd1,0x01,0x05,0x0e,0x24

# CHECK: v_max3_f32 v5, v1, -v2, v3              ; encoding: [0x05,0x00,0xd3,0xd1,0x01,0x05,0x0e,0x44]
0x05,0x00,0xd3,0xd1,0x01,0x05,0x0e,0x44

# CHECK: v_max3_f32 v5, v1, v2, -v3              ; encoding: [0x05,0x00,0xd3,0xd1,0x01,0x05,0x0e,0x84]
0x05,0x00,0xd3,0xd1,0x01,0x05,0x0e,0x84

# CHECK: v_max3_f32 v5, -v1, -v2, -v3            ; encoding: [0x05,0x00,0xd3,0xd1,0x01,0x05,0x0e,0xe4]
0x05,0x00,0xd3,0xd1,0x01,0x05,0x0e,0xe4

# CHECK: v_max3_f32 v5, |v1|, v2, v3             ; encoding: [0x05,0x01,0xd3,0xd1,0x01,0x05,0x0e,0x04]
0x05,0x01,0xd3,0xd1,0x01,0x05,0x0e,0x04

# CHECK: v_max3_f32 v5, v1, |v2|, v3             ; encoding: [0x05,0x02,0xd3,0xd1,0x01,0x05,0x0e,0x04]
0x05,0x02,0xd3,0xd1,0x01,0x05,0x0e,0x04

# CHECK: v_max3_f32 v5, v1, v2, |v3|             ; encoding: [0x05,0x04,0xd3,0xd1,0x01,0x05,0x0e,0x04]
0x05,0x04,0xd3,0xd1,0x01,0x05,0x0e,0x04

# CHECK: v_max3_f32 v5, |v1|, |v2|, |v3|         ; encoding: [0x05,0x07,0xd3,0xd1,0x01,0x05,0x0e,0x04]
0x05,0x07,0xd3,0xd1,0x01,0x05,0x0e,0x04

# CHECK: v_max3_f32 v5, v1, v2, v3 clamp         ; encoding: [0x05,0x80,0xd3,0xd1,0x01,0x05,0x0e,0x04]
0x05,0x80,0xd3,0xd1,0x01,0x05,0x0e,0x04

# CHECK: v_max3_f32 v5, v1, v2, v3 mul:2         ; encoding: [0x05,0x00,0xd3,0xd1,0x01,0x05,0x0e,0x0c]
0x05,0x00,0xd3,0xd1,0x01,0x05,0x0e,0x0c

# CHECK: v_max3_f32 v5, v1, v2, v3 mul:4         ; encoding: [0x05,0x00,0xd3,0xd1,0x01,0x05,0x0e,0x14]
0x05,0x00,0xd3,0xd1,0x01,0x05,0x0e,0x14

# CHECK: v_max3_f32 v5, v1, v2, v3 div:2         ; encoding: [0x05,0x00,0xd3,0xd1,0x01,0x05,0x0e,0x1c]
0x05,0x00,0xd3,0xd1,0x01,0x05,0x0e,0x1c

# CHECK: v_max3_i32 v5, v1, v2, v3               ; encoding: [0x05,0x00,0xd4,0xd1,0x01,0x05,0x0e,0x04]
0x05,0x00,0xd4,0xd1,0x01,0x05,0x0e,0x04

# CHECK: v_max3_i32 v255, v1, v2, v3             ; encoding: [0xff,0x00,0xd4,0xd1,0x01,0x05,0x0e,0x04]
0xff,0x00,0xd4,0xd1,0x01,0x05,0x0e,0x04

# CHECK: v_max3_i32 v5, v255, v2, v3             ; encoding: [0x05,0x00,0xd4,0xd1,0xff,0x05,0x0e,0x04]
0x05,0x00,0xd4,0xd1,0xff,0x05,0x0e,0x04

# CHECK: v_max3_i32 v5, s1, v2, v3               ; encoding: [0x05,0x00,0xd4,0xd1,0x01,0x04,0x0e,0x04]
0x05,0x00,0xd4,0xd1,0x01,0x04,0x0e,0x04

# CHECK: v_max3_i32 v5, s101, v2, v3             ; encoding: [0x05,0x00,0xd4,0xd1,0x65,0x04,0x0e,0x04]
0x05,0x00,0xd4,0xd1,0x65,0x04,0x0e,0x04

# CHECK: v_max3_i32 v5, flat_scratch_lo, v2, v3  ; encoding: [0x05,0x00,0xd4,0xd1,0x66,0x04,0x0e,0x04]
0x05,0x00,0xd4,0xd1,0x66,0x04,0x0e,0x04

# CHECK: v_max3_i32 v5, flat_scratch_hi, v2, v3  ; encoding: [0x05,0x00,0xd4,0xd1,0x67,0x04,0x0e,0x04]
0x05,0x00,0xd4,0xd1,0x67,0x04,0x0e,0x04

# CHECK: v_max3_i32 v5, vcc_lo, v2, v3           ; encoding: [0x05,0x00,0xd4,0xd1,0x6a,0x04,0x0e,0x04]
0x05,0x00,0xd4,0xd1,0x6a,0x04,0x0e,0x04

# CHECK: v_max3_i32 v5, vcc_hi, v2, v3           ; encoding: [0x05,0x00,0xd4,0xd1,0x6b,0x04,0x0e,0x04]
0x05,0x00,0xd4,0xd1,0x6b,0x04,0x0e,0x04

# CHECK: v_max3_i32 v5, tba_lo, v2, v3           ; encoding: [0x05,0x00,0xd4,0xd1,0x6c,0x04,0x0e,0x04]
0x05,0x00,0xd4,0xd1,0x6c,0x04,0x0e,0x04

# CHECK: v_max3_i32 v5, tba_hi, v2, v3           ; encoding: [0x05,0x00,0xd4,0xd1,0x6d,0x04,0x0e,0x04]
0x05,0x00,0xd4,0xd1,0x6d,0x04,0x0e,0x04

# CHECK: v_max3_i32 v5, tma_lo, v2, v3           ; encoding: [0x05,0x00,0xd4,0xd1,0x6e,0x04,0x0e,0x04]
0x05,0x00,0xd4,0xd1,0x6e,0x04,0x0e,0x04

# CHECK: v_max3_i32 v5, tma_hi, v2, v3           ; encoding: [0x05,0x00,0xd4,0xd1,0x6f,0x04,0x0e,0x04]
0x05,0x00,0xd4,0xd1,0x6f,0x04,0x0e,0x04

# CHECK: v_max3_i32 v5, ttmp11, v2, v3           ; encoding: [0x05,0x00,0xd4,0xd1,0x7b,0x04,0x0e,0x04]
0x05,0x00,0xd4,0xd1,0x7b,0x04,0x0e,0x04

# CHECK: v_max3_i32 v5, m0, v2, v3               ; encoding: [0x05,0x00,0xd4,0xd1,0x7c,0x04,0x0e,0x04]
0x05,0x00,0xd4,0xd1,0x7c,0x04,0x0e,0x04

# CHECK: v_max3_i32 v5, exec_lo, v2, v3          ; encoding: [0x05,0x00,0xd4,0xd1,0x7e,0x04,0x0e,0x04]
0x05,0x00,0xd4,0xd1,0x7e,0x04,0x0e,0x04

# CHECK: v_max3_i32 v5, exec_hi, v2, v3          ; encoding: [0x05,0x00,0xd4,0xd1,0x7f,0x04,0x0e,0x04]
0x05,0x00,0xd4,0xd1,0x7f,0x04,0x0e,0x04

# CHECK: v_max3_i32 v5, 0, v2, v3                ; encoding: [0x05,0x00,0xd4,0xd1,0x80,0x04,0x0e,0x04]
0x05,0x00,0xd4,0xd1,0x80,0x04,0x0e,0x04

# CHECK: v_max3_i32 v5, -1, v2, v3               ; encoding: [0x05,0x00,0xd4,0xd1,0xc1,0x04,0x0e,0x04]
0x05,0x00,0xd4,0xd1,0xc1,0x04,0x0e,0x04

# CHECK: v_max3_i32 v5, 0.5, v2, v3              ; encoding: [0x05,0x00,0xd4,0xd1,0xf0,0x04,0x0e,0x04]
0x05,0x00,0xd4,0xd1,0xf0,0x04,0x0e,0x04

# CHECK: v_max3_i32 v5, -4.0, v2, v3             ; encoding: [0x05,0x00,0xd4,0xd1,0xf7,0x04,0x0e,0x04]
0x05,0x00,0xd4,0xd1,0xf7,0x04,0x0e,0x04

# CHECK: v_max3_i32 v5, v1, v255, v3             ; encoding: [0x05,0x00,0xd4,0xd1,0x01,0xff,0x0f,0x04]
0x05,0x00,0xd4,0xd1,0x01,0xff,0x0f,0x04

# CHECK: v_max3_i32 v5, v1, s2, v3               ; encoding: [0x05,0x00,0xd4,0xd1,0x01,0x05,0x0c,0x04]
0x05,0x00,0xd4,0xd1,0x01,0x05,0x0c,0x04

# CHECK: v_max3_i32 v5, v1, s101, v3             ; encoding: [0x05,0x00,0xd4,0xd1,0x01,0xcb,0x0c,0x04]
0x05,0x00,0xd4,0xd1,0x01,0xcb,0x0c,0x04

# CHECK: v_max3_i32 v5, v1, flat_scratch_lo, v3  ; encoding: [0x05,0x00,0xd4,0xd1,0x01,0xcd,0x0c,0x04]
0x05,0x00,0xd4,0xd1,0x01,0xcd,0x0c,0x04

# CHECK: v_max3_i32 v5, v1, flat_scratch_hi, v3  ; encoding: [0x05,0x00,0xd4,0xd1,0x01,0xcf,0x0c,0x04]
0x05,0x00,0xd4,0xd1,0x01,0xcf,0x0c,0x04

# CHECK: v_max3_i32 v5, v1, vcc_lo, v3           ; encoding: [0x05,0x00,0xd4,0xd1,0x01,0xd5,0x0c,0x04]
0x05,0x00,0xd4,0xd1,0x01,0xd5,0x0c,0x04

# CHECK: v_max3_i32 v5, v1, vcc_hi, v3           ; encoding: [0x05,0x00,0xd4,0xd1,0x01,0xd7,0x0c,0x04]
0x05,0x00,0xd4,0xd1,0x01,0xd7,0x0c,0x04

# CHECK: v_max3_i32 v5, v1, tba_lo, v3           ; encoding: [0x05,0x00,0xd4,0xd1,0x01,0xd9,0x0c,0x04]
0x05,0x00,0xd4,0xd1,0x01,0xd9,0x0c,0x04

# CHECK: v_max3_i32 v5, v1, tba_hi, v3           ; encoding: [0x05,0x00,0xd4,0xd1,0x01,0xdb,0x0c,0x04]
0x05,0x00,0xd4,0xd1,0x01,0xdb,0x0c,0x04

# CHECK: v_max3_i32 v5, v1, tma_lo, v3           ; encoding: [0x05,0x00,0xd4,0xd1,0x01,0xdd,0x0c,0x04]
0x05,0x00,0xd4,0xd1,0x01,0xdd,0x0c,0x04

# CHECK: v_max3_i32 v5, v1, tma_hi, v3           ; encoding: [0x05,0x00,0xd4,0xd1,0x01,0xdf,0x0c,0x04]
0x05,0x00,0xd4,0xd1,0x01,0xdf,0x0c,0x04

# CHECK: v_max3_i32 v5, v1, ttmp11, v3           ; encoding: [0x05,0x00,0xd4,0xd1,0x01,0xf7,0x0c,0x04]
0x05,0x00,0xd4,0xd1,0x01,0xf7,0x0c,0x04

# CHECK: v_max3_i32 v5, v1, m0, v3               ; encoding: [0x05,0x00,0xd4,0xd1,0x01,0xf9,0x0c,0x04]
0x05,0x00,0xd4,0xd1,0x01,0xf9,0x0c,0x04

# CHECK: v_max3_i32 v5, v1, exec_lo, v3          ; encoding: [0x05,0x00,0xd4,0xd1,0x01,0xfd,0x0c,0x04]
0x05,0x00,0xd4,0xd1,0x01,0xfd,0x0c,0x04

# CHECK: v_max3_i32 v5, v1, exec_hi, v3          ; encoding: [0x05,0x00,0xd4,0xd1,0x01,0xff,0x0c,0x04]
0x05,0x00,0xd4,0xd1,0x01,0xff,0x0c,0x04

# CHECK: v_max3_i32 v5, v1, 0, v3                ; encoding: [0x05,0x00,0xd4,0xd1,0x01,0x01,0x0d,0x04]
0x05,0x00,0xd4,0xd1,0x01,0x01,0x0d,0x04

# CHECK: v_max3_i32 v5, v1, -1, v3               ; encoding: [0x05,0x00,0xd4,0xd1,0x01,0x83,0x0d,0x04]
0x05,0x00,0xd4,0xd1,0x01,0x83,0x0d,0x04

# CHECK: v_max3_i32 v5, v1, 0.5, v3              ; encoding: [0x05,0x00,0xd4,0xd1,0x01,0xe1,0x0d,0x04]
0x05,0x00,0xd4,0xd1,0x01,0xe1,0x0d,0x04

# CHECK: v_max3_i32 v5, v1, -4.0, v3             ; encoding: [0x05,0x00,0xd4,0xd1,0x01,0xef,0x0d,0x04]
0x05,0x00,0xd4,0xd1,0x01,0xef,0x0d,0x04

# CHECK: v_max3_i32 v5, v1, v2, v255             ; encoding: [0x05,0x00,0xd4,0xd1,0x01,0x05,0xfe,0x07]
0x05,0x00,0xd4,0xd1,0x01,0x05,0xfe,0x07

# CHECK: v_max3_i32 v5, v1, v2, s3               ; encoding: [0x05,0x00,0xd4,0xd1,0x01,0x05,0x0e,0x00]
0x05,0x00,0xd4,0xd1,0x01,0x05,0x0e,0x00

# CHECK: v_max3_i32 v5, v1, v2, s101             ; encoding: [0x05,0x00,0xd4,0xd1,0x01,0x05,0x96,0x01]
0x05,0x00,0xd4,0xd1,0x01,0x05,0x96,0x01

# CHECK: v_max3_i32 v5, v1, v2, flat_scratch_lo  ; encoding: [0x05,0x00,0xd4,0xd1,0x01,0x05,0x9a,0x01]
0x05,0x00,0xd4,0xd1,0x01,0x05,0x9a,0x01

# CHECK: v_max3_i32 v5, v1, v2, flat_scratch_hi  ; encoding: [0x05,0x00,0xd4,0xd1,0x01,0x05,0x9e,0x01]
0x05,0x00,0xd4,0xd1,0x01,0x05,0x9e,0x01

# CHECK: v_max3_i32 v5, v1, v2, vcc_lo           ; encoding: [0x05,0x00,0xd4,0xd1,0x01,0x05,0xaa,0x01]
0x05,0x00,0xd4,0xd1,0x01,0x05,0xaa,0x01

# CHECK: v_max3_i32 v5, v1, v2, vcc_hi           ; encoding: [0x05,0x00,0xd4,0xd1,0x01,0x05,0xae,0x01]
0x05,0x00,0xd4,0xd1,0x01,0x05,0xae,0x01

# CHECK: v_max3_i32 v5, v1, v2, tba_lo           ; encoding: [0x05,0x00,0xd4,0xd1,0x01,0x05,0xb2,0x01]
0x05,0x00,0xd4,0xd1,0x01,0x05,0xb2,0x01

# CHECK: v_max3_i32 v5, v1, v2, tba_hi           ; encoding: [0x05,0x00,0xd4,0xd1,0x01,0x05,0xb6,0x01]
0x05,0x00,0xd4,0xd1,0x01,0x05,0xb6,0x01

# CHECK: v_max3_i32 v5, v1, v2, tma_lo           ; encoding: [0x05,0x00,0xd4,0xd1,0x01,0x05,0xba,0x01]
0x05,0x00,0xd4,0xd1,0x01,0x05,0xba,0x01

# CHECK: v_max3_i32 v5, v1, v2, tma_hi           ; encoding: [0x05,0x00,0xd4,0xd1,0x01,0x05,0xbe,0x01]
0x05,0x00,0xd4,0xd1,0x01,0x05,0xbe,0x01

# CHECK: v_max3_i32 v5, v1, v2, ttmp11           ; encoding: [0x05,0x00,0xd4,0xd1,0x01,0x05,0xee,0x01]
0x05,0x00,0xd4,0xd1,0x01,0x05,0xee,0x01

# CHECK: v_max3_i32 v5, v1, v2, m0               ; encoding: [0x05,0x00,0xd4,0xd1,0x01,0x05,0xf2,0x01]
0x05,0x00,0xd4,0xd1,0x01,0x05,0xf2,0x01

# CHECK: v_max3_i32 v5, v1, v2, exec_lo          ; encoding: [0x05,0x00,0xd4,0xd1,0x01,0x05,0xfa,0x01]
0x05,0x00,0xd4,0xd1,0x01,0x05,0xfa,0x01

# CHECK: v_max3_i32 v5, v1, v2, exec_hi          ; encoding: [0x05,0x00,0xd4,0xd1,0x01,0x05,0xfe,0x01]
0x05,0x00,0xd4,0xd1,0x01,0x05,0xfe,0x01

# CHECK: v_max3_i32 v5, v1, v2, 0                ; encoding: [0x05,0x00,0xd4,0xd1,0x01,0x05,0x02,0x02]
0x05,0x00,0xd4,0xd1,0x01,0x05,0x02,0x02

# CHECK: v_max3_i32 v5, v1, v2, -1               ; encoding: [0x05,0x00,0xd4,0xd1,0x01,0x05,0x06,0x03]
0x05,0x00,0xd4,0xd1,0x01,0x05,0x06,0x03

# CHECK: v_max3_i32 v5, v1, v2, 0.5              ; encoding: [0x05,0x00,0xd4,0xd1,0x01,0x05,0xc2,0x03]
0x05,0x00,0xd4,0xd1,0x01,0x05,0xc2,0x03

# CHECK: v_max3_i32 v5, v1, v2, -4.0             ; encoding: [0x05,0x00,0xd4,0xd1,0x01,0x05,0xde,0x03]
0x05,0x00,0xd4,0xd1,0x01,0x05,0xde,0x03

# CHECK: v_max3_u32 v5, v1, v2, v3               ; encoding: [0x05,0x00,0xd5,0xd1,0x01,0x05,0x0e,0x04]
0x05,0x00,0xd5,0xd1,0x01,0x05,0x0e,0x04

# CHECK: v_max3_u32 v255, v1, v2, v3             ; encoding: [0xff,0x00,0xd5,0xd1,0x01,0x05,0x0e,0x04]
0xff,0x00,0xd5,0xd1,0x01,0x05,0x0e,0x04

# CHECK: v_max3_u32 v5, v255, v2, v3             ; encoding: [0x05,0x00,0xd5,0xd1,0xff,0x05,0x0e,0x04]
0x05,0x00,0xd5,0xd1,0xff,0x05,0x0e,0x04

# CHECK: v_max3_u32 v5, s1, v2, v3               ; encoding: [0x05,0x00,0xd5,0xd1,0x01,0x04,0x0e,0x04]
0x05,0x00,0xd5,0xd1,0x01,0x04,0x0e,0x04

# CHECK: v_max3_u32 v5, s101, v2, v3             ; encoding: [0x05,0x00,0xd5,0xd1,0x65,0x04,0x0e,0x04]
0x05,0x00,0xd5,0xd1,0x65,0x04,0x0e,0x04

# CHECK: v_max3_u32 v5, flat_scratch_lo, v2, v3  ; encoding: [0x05,0x00,0xd5,0xd1,0x66,0x04,0x0e,0x04]
0x05,0x00,0xd5,0xd1,0x66,0x04,0x0e,0x04

# CHECK: v_max3_u32 v5, flat_scratch_hi, v2, v3  ; encoding: [0x05,0x00,0xd5,0xd1,0x67,0x04,0x0e,0x04]
0x05,0x00,0xd5,0xd1,0x67,0x04,0x0e,0x04

# CHECK: v_max3_u32 v5, vcc_lo, v2, v3           ; encoding: [0x05,0x00,0xd5,0xd1,0x6a,0x04,0x0e,0x04]
0x05,0x00,0xd5,0xd1,0x6a,0x04,0x0e,0x04

# CHECK: v_max3_u32 v5, vcc_hi, v2, v3           ; encoding: [0x05,0x00,0xd5,0xd1,0x6b,0x04,0x0e,0x04]
0x05,0x00,0xd5,0xd1,0x6b,0x04,0x0e,0x04

# CHECK: v_max3_u32 v5, tba_lo, v2, v3           ; encoding: [0x05,0x00,0xd5,0xd1,0x6c,0x04,0x0e,0x04]
0x05,0x00,0xd5,0xd1,0x6c,0x04,0x0e,0x04

# CHECK: v_max3_u32 v5, tba_hi, v2, v3           ; encoding: [0x05,0x00,0xd5,0xd1,0x6d,0x04,0x0e,0x04]
0x05,0x00,0xd5,0xd1,0x6d,0x04,0x0e,0x04

# CHECK: v_max3_u32 v5, tma_lo, v2, v3           ; encoding: [0x05,0x00,0xd5,0xd1,0x6e,0x04,0x0e,0x04]
0x05,0x00,0xd5,0xd1,0x6e,0x04,0x0e,0x04

# CHECK: v_max3_u32 v5, tma_hi, v2, v3           ; encoding: [0x05,0x00,0xd5,0xd1,0x6f,0x04,0x0e,0x04]
0x05,0x00,0xd5,0xd1,0x6f,0x04,0x0e,0x04

# CHECK: v_max3_u32 v5, ttmp11, v2, v3           ; encoding: [0x05,0x00,0xd5,0xd1,0x7b,0x04,0x0e,0x04]
0x05,0x00,0xd5,0xd1,0x7b,0x04,0x0e,0x04

# CHECK: v_max3_u32 v5, m0, v2, v3               ; encoding: [0x05,0x00,0xd5,0xd1,0x7c,0x04,0x0e,0x04]
0x05,0x00,0xd5,0xd1,0x7c,0x04,0x0e,0x04

# CHECK: v_max3_u32 v5, exec_lo, v2, v3          ; encoding: [0x05,0x00,0xd5,0xd1,0x7e,0x04,0x0e,0x04]
0x05,0x00,0xd5,0xd1,0x7e,0x04,0x0e,0x04

# CHECK: v_max3_u32 v5, exec_hi, v2, v3          ; encoding: [0x05,0x00,0xd5,0xd1,0x7f,0x04,0x0e,0x04]
0x05,0x00,0xd5,0xd1,0x7f,0x04,0x0e,0x04

# CHECK: v_max3_u32 v5, 0, v2, v3                ; encoding: [0x05,0x00,0xd5,0xd1,0x80,0x04,0x0e,0x04]
0x05,0x00,0xd5,0xd1,0x80,0x04,0x0e,0x04

# CHECK: v_max3_u32 v5, -1, v2, v3               ; encoding: [0x05,0x00,0xd5,0xd1,0xc1,0x04,0x0e,0x04]
0x05,0x00,0xd5,0xd1,0xc1,0x04,0x0e,0x04

# CHECK: v_max3_u32 v5, 0.5, v2, v3              ; encoding: [0x05,0x00,0xd5,0xd1,0xf0,0x04,0x0e,0x04]
0x05,0x00,0xd5,0xd1,0xf0,0x04,0x0e,0x04

# CHECK: v_max3_u32 v5, -4.0, v2, v3             ; encoding: [0x05,0x00,0xd5,0xd1,0xf7,0x04,0x0e,0x04]
0x05,0x00,0xd5,0xd1,0xf7,0x04,0x0e,0x04

# CHECK: v_max3_u32 v5, v1, v255, v3             ; encoding: [0x05,0x00,0xd5,0xd1,0x01,0xff,0x0f,0x04]
0x05,0x00,0xd5,0xd1,0x01,0xff,0x0f,0x04

# CHECK: v_max3_u32 v5, v1, s2, v3               ; encoding: [0x05,0x00,0xd5,0xd1,0x01,0x05,0x0c,0x04]
0x05,0x00,0xd5,0xd1,0x01,0x05,0x0c,0x04

# CHECK: v_max3_u32 v5, v1, s101, v3             ; encoding: [0x05,0x00,0xd5,0xd1,0x01,0xcb,0x0c,0x04]
0x05,0x00,0xd5,0xd1,0x01,0xcb,0x0c,0x04

# CHECK: v_max3_u32 v5, v1, flat_scratch_lo, v3  ; encoding: [0x05,0x00,0xd5,0xd1,0x01,0xcd,0x0c,0x04]
0x05,0x00,0xd5,0xd1,0x01,0xcd,0x0c,0x04

# CHECK: v_max3_u32 v5, v1, flat_scratch_hi, v3  ; encoding: [0x05,0x00,0xd5,0xd1,0x01,0xcf,0x0c,0x04]
0x05,0x00,0xd5,0xd1,0x01,0xcf,0x0c,0x04

# CHECK: v_max3_u32 v5, v1, vcc_lo, v3           ; encoding: [0x05,0x00,0xd5,0xd1,0x01,0xd5,0x0c,0x04]
0x05,0x00,0xd5,0xd1,0x01,0xd5,0x0c,0x04

# CHECK: v_max3_u32 v5, v1, vcc_hi, v3           ; encoding: [0x05,0x00,0xd5,0xd1,0x01,0xd7,0x0c,0x04]
0x05,0x00,0xd5,0xd1,0x01,0xd7,0x0c,0x04

# CHECK: v_max3_u32 v5, v1, tba_lo, v3           ; encoding: [0x05,0x00,0xd5,0xd1,0x01,0xd9,0x0c,0x04]
0x05,0x00,0xd5,0xd1,0x01,0xd9,0x0c,0x04

# CHECK: v_max3_u32 v5, v1, tba_hi, v3           ; encoding: [0x05,0x00,0xd5,0xd1,0x01,0xdb,0x0c,0x04]
0x05,0x00,0xd5,0xd1,0x01,0xdb,0x0c,0x04

# CHECK: v_max3_u32 v5, v1, tma_lo, v3           ; encoding: [0x05,0x00,0xd5,0xd1,0x01,0xdd,0x0c,0x04]
0x05,0x00,0xd5,0xd1,0x01,0xdd,0x0c,0x04

# CHECK: v_max3_u32 v5, v1, tma_hi, v3           ; encoding: [0x05,0x00,0xd5,0xd1,0x01,0xdf,0x0c,0x04]
0x05,0x00,0xd5,0xd1,0x01,0xdf,0x0c,0x04

# CHECK: v_max3_u32 v5, v1, ttmp11, v3           ; encoding: [0x05,0x00,0xd5,0xd1,0x01,0xf7,0x0c,0x04]
0x05,0x00,0xd5,0xd1,0x01,0xf7,0x0c,0x04

# CHECK: v_max3_u32 v5, v1, m0, v3               ; encoding: [0x05,0x00,0xd5,0xd1,0x01,0xf9,0x0c,0x04]
0x05,0x00,0xd5,0xd1,0x01,0xf9,0x0c,0x04

# CHECK: v_max3_u32 v5, v1, exec_lo, v3          ; encoding: [0x05,0x00,0xd5,0xd1,0x01,0xfd,0x0c,0x04]
0x05,0x00,0xd5,0xd1,0x01,0xfd,0x0c,0x04

# CHECK: v_max3_u32 v5, v1, exec_hi, v3          ; encoding: [0x05,0x00,0xd5,0xd1,0x01,0xff,0x0c,0x04]
0x05,0x00,0xd5,0xd1,0x01,0xff,0x0c,0x04

# CHECK: v_max3_u32 v5, v1, 0, v3                ; encoding: [0x05,0x00,0xd5,0xd1,0x01,0x01,0x0d,0x04]
0x05,0x00,0xd5,0xd1,0x01,0x01,0x0d,0x04

# CHECK: v_max3_u32 v5, v1, -1, v3               ; encoding: [0x05,0x00,0xd5,0xd1,0x01,0x83,0x0d,0x04]
0x05,0x00,0xd5,0xd1,0x01,0x83,0x0d,0x04

# CHECK: v_max3_u32 v5, v1, 0.5, v3              ; encoding: [0x05,0x00,0xd5,0xd1,0x01,0xe1,0x0d,0x04]
0x05,0x00,0xd5,0xd1,0x01,0xe1,0x0d,0x04

# CHECK: v_max3_u32 v5, v1, -4.0, v3             ; encoding: [0x05,0x00,0xd5,0xd1,0x01,0xef,0x0d,0x04]
0x05,0x00,0xd5,0xd1,0x01,0xef,0x0d,0x04

# CHECK: v_max3_u32 v5, v1, v2, v255             ; encoding: [0x05,0x00,0xd5,0xd1,0x01,0x05,0xfe,0x07]
0x05,0x00,0xd5,0xd1,0x01,0x05,0xfe,0x07

# CHECK: v_max3_u32 v5, v1, v2, s3               ; encoding: [0x05,0x00,0xd5,0xd1,0x01,0x05,0x0e,0x00]
0x05,0x00,0xd5,0xd1,0x01,0x05,0x0e,0x00

# CHECK: v_max3_u32 v5, v1, v2, s101             ; encoding: [0x05,0x00,0xd5,0xd1,0x01,0x05,0x96,0x01]
0x05,0x00,0xd5,0xd1,0x01,0x05,0x96,0x01

# CHECK: v_max3_u32 v5, v1, v2, flat_scratch_lo  ; encoding: [0x05,0x00,0xd5,0xd1,0x01,0x05,0x9a,0x01]
0x05,0x00,0xd5,0xd1,0x01,0x05,0x9a,0x01

# CHECK: v_max3_u32 v5, v1, v2, flat_scratch_hi  ; encoding: [0x05,0x00,0xd5,0xd1,0x01,0x05,0x9e,0x01]
0x05,0x00,0xd5,0xd1,0x01,0x05,0x9e,0x01

# CHECK: v_max3_u32 v5, v1, v2, vcc_lo           ; encoding: [0x05,0x00,0xd5,0xd1,0x01,0x05,0xaa,0x01]
0x05,0x00,0xd5,0xd1,0x01,0x05,0xaa,0x01

# CHECK: v_max3_u32 v5, v1, v2, vcc_hi           ; encoding: [0x05,0x00,0xd5,0xd1,0x01,0x05,0xae,0x01]
0x05,0x00,0xd5,0xd1,0x01,0x05,0xae,0x01

# CHECK: v_max3_u32 v5, v1, v2, tba_lo           ; encoding: [0x05,0x00,0xd5,0xd1,0x01,0x05,0xb2,0x01]
0x05,0x00,0xd5,0xd1,0x01,0x05,0xb2,0x01

# CHECK: v_max3_u32 v5, v1, v2, tba_hi           ; encoding: [0x05,0x00,0xd5,0xd1,0x01,0x05,0xb6,0x01]
0x05,0x00,0xd5,0xd1,0x01,0x05,0xb6,0x01

# CHECK: v_max3_u32 v5, v1, v2, tma_lo           ; encoding: [0x05,0x00,0xd5,0xd1,0x01,0x05,0xba,0x01]
0x05,0x00,0xd5,0xd1,0x01,0x05,0xba,0x01

# CHECK: v_max3_u32 v5, v1, v2, tma_hi           ; encoding: [0x05,0x00,0xd5,0xd1,0x01,0x05,0xbe,0x01]
0x05,0x00,0xd5,0xd1,0x01,0x05,0xbe,0x01

# CHECK: v_max3_u32 v5, v1, v2, ttmp11           ; encoding: [0x05,0x00,0xd5,0xd1,0x01,0x05,0xee,0x01]
0x05,0x00,0xd5,0xd1,0x01,0x05,0xee,0x01

# CHECK: v_max3_u32 v5, v1, v2, m0               ; encoding: [0x05,0x00,0xd5,0xd1,0x01,0x05,0xf2,0x01]
0x05,0x00,0xd5,0xd1,0x01,0x05,0xf2,0x01

# CHECK: v_max3_u32 v5, v1, v2, exec_lo          ; encoding: [0x05,0x00,0xd5,0xd1,0x01,0x05,0xfa,0x01]
0x05,0x00,0xd5,0xd1,0x01,0x05,0xfa,0x01

# CHECK: v_max3_u32 v5, v1, v2, exec_hi          ; encoding: [0x05,0x00,0xd5,0xd1,0x01,0x05,0xfe,0x01]
0x05,0x00,0xd5,0xd1,0x01,0x05,0xfe,0x01

# CHECK: v_max3_u32 v5, v1, v2, 0                ; encoding: [0x05,0x00,0xd5,0xd1,0x01,0x05,0x02,0x02]
0x05,0x00,0xd5,0xd1,0x01,0x05,0x02,0x02

# CHECK: v_max3_u32 v5, v1, v2, -1               ; encoding: [0x05,0x00,0xd5,0xd1,0x01,0x05,0x06,0x03]
0x05,0x00,0xd5,0xd1,0x01,0x05,0x06,0x03

# CHECK: v_max3_u32 v5, v1, v2, 0.5              ; encoding: [0x05,0x00,0xd5,0xd1,0x01,0x05,0xc2,0x03]
0x05,0x00,0xd5,0xd1,0x01,0x05,0xc2,0x03

# CHECK: v_max3_u32 v5, v1, v2, -4.0             ; encoding: [0x05,0x00,0xd5,0xd1,0x01,0x05,0xde,0x03]
0x05,0x00,0xd5,0xd1,0x01,0x05,0xde,0x03

# CHECK: v_med3_f32 v5, v1, v2, v3               ; encoding: [0x05,0x00,0xd6,0xd1,0x01,0x05,0x0e,0x04]
0x05,0x00,0xd6,0xd1,0x01,0x05,0x0e,0x04

# CHECK: v_med3_f32 v255, v1, v2, v3             ; encoding: [0xff,0x00,0xd6,0xd1,0x01,0x05,0x0e,0x04]
0xff,0x00,0xd6,0xd1,0x01,0x05,0x0e,0x04

# CHECK: v_med3_f32 v5, v255, v2, v3             ; encoding: [0x05,0x00,0xd6,0xd1,0xff,0x05,0x0e,0x04]
0x05,0x00,0xd6,0xd1,0xff,0x05,0x0e,0x04

# CHECK: v_med3_f32 v5, s1, v2, v3               ; encoding: [0x05,0x00,0xd6,0xd1,0x01,0x04,0x0e,0x04]
0x05,0x00,0xd6,0xd1,0x01,0x04,0x0e,0x04

# CHECK: v_med3_f32 v5, s101, v2, v3             ; encoding: [0x05,0x00,0xd6,0xd1,0x65,0x04,0x0e,0x04]
0x05,0x00,0xd6,0xd1,0x65,0x04,0x0e,0x04

# CHECK: v_med3_f32 v5, flat_scratch_lo, v2, v3  ; encoding: [0x05,0x00,0xd6,0xd1,0x66,0x04,0x0e,0x04]
0x05,0x00,0xd6,0xd1,0x66,0x04,0x0e,0x04

# CHECK: v_med3_f32 v5, flat_scratch_hi, v2, v3  ; encoding: [0x05,0x00,0xd6,0xd1,0x67,0x04,0x0e,0x04]
0x05,0x00,0xd6,0xd1,0x67,0x04,0x0e,0x04

# CHECK: v_med3_f32 v5, vcc_lo, v2, v3           ; encoding: [0x05,0x00,0xd6,0xd1,0x6a,0x04,0x0e,0x04]
0x05,0x00,0xd6,0xd1,0x6a,0x04,0x0e,0x04

# CHECK: v_med3_f32 v5, vcc_hi, v2, v3           ; encoding: [0x05,0x00,0xd6,0xd1,0x6b,0x04,0x0e,0x04]
0x05,0x00,0xd6,0xd1,0x6b,0x04,0x0e,0x04

# CHECK: v_med3_f32 v5, tba_lo, v2, v3           ; encoding: [0x05,0x00,0xd6,0xd1,0x6c,0x04,0x0e,0x04]
0x05,0x00,0xd6,0xd1,0x6c,0x04,0x0e,0x04

# CHECK: v_med3_f32 v5, tba_hi, v2, v3           ; encoding: [0x05,0x00,0xd6,0xd1,0x6d,0x04,0x0e,0x04]
0x05,0x00,0xd6,0xd1,0x6d,0x04,0x0e,0x04

# CHECK: v_med3_f32 v5, tma_lo, v2, v3           ; encoding: [0x05,0x00,0xd6,0xd1,0x6e,0x04,0x0e,0x04]
0x05,0x00,0xd6,0xd1,0x6e,0x04,0x0e,0x04

# CHECK: v_med3_f32 v5, tma_hi, v2, v3           ; encoding: [0x05,0x00,0xd6,0xd1,0x6f,0x04,0x0e,0x04]
0x05,0x00,0xd6,0xd1,0x6f,0x04,0x0e,0x04

# CHECK: v_med3_f32 v5, ttmp11, v2, v3           ; encoding: [0x05,0x00,0xd6,0xd1,0x7b,0x04,0x0e,0x04]
0x05,0x00,0xd6,0xd1,0x7b,0x04,0x0e,0x04

# CHECK: v_med3_f32 v5, m0, v2, v3               ; encoding: [0x05,0x00,0xd6,0xd1,0x7c,0x04,0x0e,0x04]
0x05,0x00,0xd6,0xd1,0x7c,0x04,0x0e,0x04

# CHECK: v_med3_f32 v5, exec_lo, v2, v3          ; encoding: [0x05,0x00,0xd6,0xd1,0x7e,0x04,0x0e,0x04]
0x05,0x00,0xd6,0xd1,0x7e,0x04,0x0e,0x04

# CHECK: v_med3_f32 v5, exec_hi, v2, v3          ; encoding: [0x05,0x00,0xd6,0xd1,0x7f,0x04,0x0e,0x04]
0x05,0x00,0xd6,0xd1,0x7f,0x04,0x0e,0x04

# CHECK: v_med3_f32 v5, 0, v2, v3                ; encoding: [0x05,0x00,0xd6,0xd1,0x80,0x04,0x0e,0x04]
0x05,0x00,0xd6,0xd1,0x80,0x04,0x0e,0x04

# CHECK: v_med3_f32 v5, -1, v2, v3               ; encoding: [0x05,0x00,0xd6,0xd1,0xc1,0x04,0x0e,0x04]
0x05,0x00,0xd6,0xd1,0xc1,0x04,0x0e,0x04

# CHECK: v_med3_f32 v5, 0.5, v2, v3              ; encoding: [0x05,0x00,0xd6,0xd1,0xf0,0x04,0x0e,0x04]
0x05,0x00,0xd6,0xd1,0xf0,0x04,0x0e,0x04

# CHECK: v_med3_f32 v5, -4.0, v2, v3             ; encoding: [0x05,0x00,0xd6,0xd1,0xf7,0x04,0x0e,0x04]
0x05,0x00,0xd6,0xd1,0xf7,0x04,0x0e,0x04

# CHECK: v_med3_f32 v5, v1, v255, v3             ; encoding: [0x05,0x00,0xd6,0xd1,0x01,0xff,0x0f,0x04]
0x05,0x00,0xd6,0xd1,0x01,0xff,0x0f,0x04

# CHECK: v_med3_f32 v5, v1, s2, v3               ; encoding: [0x05,0x00,0xd6,0xd1,0x01,0x05,0x0c,0x04]
0x05,0x00,0xd6,0xd1,0x01,0x05,0x0c,0x04

# CHECK: v_med3_f32 v5, v1, s101, v3             ; encoding: [0x05,0x00,0xd6,0xd1,0x01,0xcb,0x0c,0x04]
0x05,0x00,0xd6,0xd1,0x01,0xcb,0x0c,0x04

# CHECK: v_med3_f32 v5, v1, flat_scratch_lo, v3  ; encoding: [0x05,0x00,0xd6,0xd1,0x01,0xcd,0x0c,0x04]
0x05,0x00,0xd6,0xd1,0x01,0xcd,0x0c,0x04

# CHECK: v_med3_f32 v5, v1, flat_scratch_hi, v3  ; encoding: [0x05,0x00,0xd6,0xd1,0x01,0xcf,0x0c,0x04]
0x05,0x00,0xd6,0xd1,0x01,0xcf,0x0c,0x04

# CHECK: v_med3_f32 v5, v1, vcc_lo, v3           ; encoding: [0x05,0x00,0xd6,0xd1,0x01,0xd5,0x0c,0x04]
0x05,0x00,0xd6,0xd1,0x01,0xd5,0x0c,0x04

# CHECK: v_med3_f32 v5, v1, vcc_hi, v3           ; encoding: [0x05,0x00,0xd6,0xd1,0x01,0xd7,0x0c,0x04]
0x05,0x00,0xd6,0xd1,0x01,0xd7,0x0c,0x04

# CHECK: v_med3_f32 v5, v1, tba_lo, v3           ; encoding: [0x05,0x00,0xd6,0xd1,0x01,0xd9,0x0c,0x04]
0x05,0x00,0xd6,0xd1,0x01,0xd9,0x0c,0x04

# CHECK: v_med3_f32 v5, v1, tba_hi, v3           ; encoding: [0x05,0x00,0xd6,0xd1,0x01,0xdb,0x0c,0x04]
0x05,0x00,0xd6,0xd1,0x01,0xdb,0x0c,0x04

# CHECK: v_med3_f32 v5, v1, tma_lo, v3           ; encoding: [0x05,0x00,0xd6,0xd1,0x01,0xdd,0x0c,0x04]
0x05,0x00,0xd6,0xd1,0x01,0xdd,0x0c,0x04

# CHECK: v_med3_f32 v5, v1, tma_hi, v3           ; encoding: [0x05,0x00,0xd6,0xd1,0x01,0xdf,0x0c,0x04]
0x05,0x00,0xd6,0xd1,0x01,0xdf,0x0c,0x04

# CHECK: v_med3_f32 v5, v1, ttmp11, v3           ; encoding: [0x05,0x00,0xd6,0xd1,0x01,0xf7,0x0c,0x04]
0x05,0x00,0xd6,0xd1,0x01,0xf7,0x0c,0x04

# CHECK: v_med3_f32 v5, v1, m0, v3               ; encoding: [0x05,0x00,0xd6,0xd1,0x01,0xf9,0x0c,0x04]
0x05,0x00,0xd6,0xd1,0x01,0xf9,0x0c,0x04

# CHECK: v_med3_f32 v5, v1, exec_lo, v3          ; encoding: [0x05,0x00,0xd6,0xd1,0x01,0xfd,0x0c,0x04]
0x05,0x00,0xd6,0xd1,0x01,0xfd,0x0c,0x04

# CHECK: v_med3_f32 v5, v1, exec_hi, v3          ; encoding: [0x05,0x00,0xd6,0xd1,0x01,0xff,0x0c,0x04]
0x05,0x00,0xd6,0xd1,0x01,0xff,0x0c,0x04

# CHECK: v_med3_f32 v5, v1, 0, v3                ; encoding: [0x05,0x00,0xd6,0xd1,0x01,0x01,0x0d,0x04]
0x05,0x00,0xd6,0xd1,0x01,0x01,0x0d,0x04

# CHECK: v_med3_f32 v5, v1, -1, v3               ; encoding: [0x05,0x00,0xd6,0xd1,0x01,0x83,0x0d,0x04]
0x05,0x00,0xd6,0xd1,0x01,0x83,0x0d,0x04

# CHECK: v_med3_f32 v5, v1, 0.5, v3              ; encoding: [0x05,0x00,0xd6,0xd1,0x01,0xe1,0x0d,0x04]
0x05,0x00,0xd6,0xd1,0x01,0xe1,0x0d,0x04

# CHECK: v_med3_f32 v5, v1, -4.0, v3             ; encoding: [0x05,0x00,0xd6,0xd1,0x01,0xef,0x0d,0x04]
0x05,0x00,0xd6,0xd1,0x01,0xef,0x0d,0x04

# CHECK: v_med3_f32 v5, v1, v2, v255             ; encoding: [0x05,0x00,0xd6,0xd1,0x01,0x05,0xfe,0x07]
0x05,0x00,0xd6,0xd1,0x01,0x05,0xfe,0x07

# CHECK: v_med3_f32 v5, v1, v2, s3               ; encoding: [0x05,0x00,0xd6,0xd1,0x01,0x05,0x0e,0x00]
0x05,0x00,0xd6,0xd1,0x01,0x05,0x0e,0x00

# CHECK: v_med3_f32 v5, v1, v2, s101             ; encoding: [0x05,0x00,0xd6,0xd1,0x01,0x05,0x96,0x01]
0x05,0x00,0xd6,0xd1,0x01,0x05,0x96,0x01

# CHECK: v_med3_f32 v5, v1, v2, flat_scratch_lo  ; encoding: [0x05,0x00,0xd6,0xd1,0x01,0x05,0x9a,0x01]
0x05,0x00,0xd6,0xd1,0x01,0x05,0x9a,0x01

# CHECK: v_med3_f32 v5, v1, v2, flat_scratch_hi  ; encoding: [0x05,0x00,0xd6,0xd1,0x01,0x05,0x9e,0x01]
0x05,0x00,0xd6,0xd1,0x01,0x05,0x9e,0x01

# CHECK: v_med3_f32 v5, v1, v2, vcc_lo           ; encoding: [0x05,0x00,0xd6,0xd1,0x01,0x05,0xaa,0x01]
0x05,0x00,0xd6,0xd1,0x01,0x05,0xaa,0x01

# CHECK: v_med3_f32 v5, v1, v2, vcc_hi           ; encoding: [0x05,0x00,0xd6,0xd1,0x01,0x05,0xae,0x01]
0x05,0x00,0xd6,0xd1,0x01,0x05,0xae,0x01

# CHECK: v_med3_f32 v5, v1, v2, tba_lo           ; encoding: [0x05,0x00,0xd6,0xd1,0x01,0x05,0xb2,0x01]
0x05,0x00,0xd6,0xd1,0x01,0x05,0xb2,0x01

# CHECK: v_med3_f32 v5, v1, v2, tba_hi           ; encoding: [0x05,0x00,0xd6,0xd1,0x01,0x05,0xb6,0x01]
0x05,0x00,0xd6,0xd1,0x01,0x05,0xb6,0x01

# CHECK: v_med3_f32 v5, v1, v2, tma_lo           ; encoding: [0x05,0x00,0xd6,0xd1,0x01,0x05,0xba,0x01]
0x05,0x00,0xd6,0xd1,0x01,0x05,0xba,0x01

# CHECK: v_med3_f32 v5, v1, v2, tma_hi           ; encoding: [0x05,0x00,0xd6,0xd1,0x01,0x05,0xbe,0x01]
0x05,0x00,0xd6,0xd1,0x01,0x05,0xbe,0x01

# CHECK: v_med3_f32 v5, v1, v2, ttmp11           ; encoding: [0x05,0x00,0xd6,0xd1,0x01,0x05,0xee,0x01]
0x05,0x00,0xd6,0xd1,0x01,0x05,0xee,0x01

# CHECK: v_med3_f32 v5, v1, v2, m0               ; encoding: [0x05,0x00,0xd6,0xd1,0x01,0x05,0xf2,0x01]
0x05,0x00,0xd6,0xd1,0x01,0x05,0xf2,0x01

# CHECK: v_med3_f32 v5, v1, v2, exec_lo          ; encoding: [0x05,0x00,0xd6,0xd1,0x01,0x05,0xfa,0x01]
0x05,0x00,0xd6,0xd1,0x01,0x05,0xfa,0x01

# CHECK: v_med3_f32 v5, v1, v2, exec_hi          ; encoding: [0x05,0x00,0xd6,0xd1,0x01,0x05,0xfe,0x01]
0x05,0x00,0xd6,0xd1,0x01,0x05,0xfe,0x01

# CHECK: v_med3_f32 v5, v1, v2, 0                ; encoding: [0x05,0x00,0xd6,0xd1,0x01,0x05,0x02,0x02]
0x05,0x00,0xd6,0xd1,0x01,0x05,0x02,0x02

# CHECK: v_med3_f32 v5, v1, v2, -1               ; encoding: [0x05,0x00,0xd6,0xd1,0x01,0x05,0x06,0x03]
0x05,0x00,0xd6,0xd1,0x01,0x05,0x06,0x03

# CHECK: v_med3_f32 v5, v1, v2, 0.5              ; encoding: [0x05,0x00,0xd6,0xd1,0x01,0x05,0xc2,0x03]
0x05,0x00,0xd6,0xd1,0x01,0x05,0xc2,0x03

# CHECK: v_med3_f32 v5, v1, v2, -4.0             ; encoding: [0x05,0x00,0xd6,0xd1,0x01,0x05,0xde,0x03]
0x05,0x00,0xd6,0xd1,0x01,0x05,0xde,0x03

# CHECK: v_med3_f32 v5, -v1, v2, v3              ; encoding: [0x05,0x00,0xd6,0xd1,0x01,0x05,0x0e,0x24]
0x05,0x00,0xd6,0xd1,0x01,0x05,0x0e,0x24

# CHECK: v_med3_f32 v5, v1, -v2, v3              ; encoding: [0x05,0x00,0xd6,0xd1,0x01,0x05,0x0e,0x44]
0x05,0x00,0xd6,0xd1,0x01,0x05,0x0e,0x44

# CHECK: v_med3_f32 v5, v1, v2, -v3              ; encoding: [0x05,0x00,0xd6,0xd1,0x01,0x05,0x0e,0x84]
0x05,0x00,0xd6,0xd1,0x01,0x05,0x0e,0x84

# CHECK: v_med3_f32 v5, -v1, -v2, -v3            ; encoding: [0x05,0x00,0xd6,0xd1,0x01,0x05,0x0e,0xe4]
0x05,0x00,0xd6,0xd1,0x01,0x05,0x0e,0xe4

# CHECK: v_med3_f32 v5, |v1|, v2, v3             ; encoding: [0x05,0x01,0xd6,0xd1,0x01,0x05,0x0e,0x04]
0x05,0x01,0xd6,0xd1,0x01,0x05,0x0e,0x04

# CHECK: v_med3_f32 v5, v1, |v2|, v3             ; encoding: [0x05,0x02,0xd6,0xd1,0x01,0x05,0x0e,0x04]
0x05,0x02,0xd6,0xd1,0x01,0x05,0x0e,0x04

# CHECK: v_med3_f32 v5, v1, v2, |v3|             ; encoding: [0x05,0x04,0xd6,0xd1,0x01,0x05,0x0e,0x04]
0x05,0x04,0xd6,0xd1,0x01,0x05,0x0e,0x04

# CHECK: v_med3_f32 v5, |v1|, |v2|, |v3|         ; encoding: [0x05,0x07,0xd6,0xd1,0x01,0x05,0x0e,0x04]
0x05,0x07,0xd6,0xd1,0x01,0x05,0x0e,0x04

# CHECK: v_med3_f32 v5, v1, v2, v3 clamp         ; encoding: [0x05,0x80,0xd6,0xd1,0x01,0x05,0x0e,0x04]
0x05,0x80,0xd6,0xd1,0x01,0x05,0x0e,0x04

# CHECK: v_med3_f32 v5, v1, v2, v3 mul:2         ; encoding: [0x05,0x00,0xd6,0xd1,0x01,0x05,0x0e,0x0c]
0x05,0x00,0xd6,0xd1,0x01,0x05,0x0e,0x0c

# CHECK: v_med3_f32 v5, v1, v2, v3 mul:4         ; encoding: [0x05,0x00,0xd6,0xd1,0x01,0x05,0x0e,0x14]
0x05,0x00,0xd6,0xd1,0x01,0x05,0x0e,0x14

# CHECK: v_med3_f32 v5, v1, v2, v3 div:2         ; encoding: [0x05,0x00,0xd6,0xd1,0x01,0x05,0x0e,0x1c]
0x05,0x00,0xd6,0xd1,0x01,0x05,0x0e,0x1c

# CHECK: v_med3_i32 v5, v1, v2, v3               ; encoding: [0x05,0x00,0xd7,0xd1,0x01,0x05,0x0e,0x04]
0x05,0x00,0xd7,0xd1,0x01,0x05,0x0e,0x04

# CHECK: v_med3_i32 v255, v1, v2, v3             ; encoding: [0xff,0x00,0xd7,0xd1,0x01,0x05,0x0e,0x04]
0xff,0x00,0xd7,0xd1,0x01,0x05,0x0e,0x04

# CHECK: v_med3_i32 v5, v255, v2, v3             ; encoding: [0x05,0x00,0xd7,0xd1,0xff,0x05,0x0e,0x04]
0x05,0x00,0xd7,0xd1,0xff,0x05,0x0e,0x04

# CHECK: v_med3_i32 v5, s1, v2, v3               ; encoding: [0x05,0x00,0xd7,0xd1,0x01,0x04,0x0e,0x04]
0x05,0x00,0xd7,0xd1,0x01,0x04,0x0e,0x04

# CHECK: v_med3_i32 v5, s101, v2, v3             ; encoding: [0x05,0x00,0xd7,0xd1,0x65,0x04,0x0e,0x04]
0x05,0x00,0xd7,0xd1,0x65,0x04,0x0e,0x04

# CHECK: v_med3_i32 v5, flat_scratch_lo, v2, v3  ; encoding: [0x05,0x00,0xd7,0xd1,0x66,0x04,0x0e,0x04]
0x05,0x00,0xd7,0xd1,0x66,0x04,0x0e,0x04

# CHECK: v_med3_i32 v5, flat_scratch_hi, v2, v3  ; encoding: [0x05,0x00,0xd7,0xd1,0x67,0x04,0x0e,0x04]
0x05,0x00,0xd7,0xd1,0x67,0x04,0x0e,0x04

# CHECK: v_med3_i32 v5, vcc_lo, v2, v3           ; encoding: [0x05,0x00,0xd7,0xd1,0x6a,0x04,0x0e,0x04]
0x05,0x00,0xd7,0xd1,0x6a,0x04,0x0e,0x04

# CHECK: v_med3_i32 v5, vcc_hi, v2, v3           ; encoding: [0x05,0x00,0xd7,0xd1,0x6b,0x04,0x0e,0x04]
0x05,0x00,0xd7,0xd1,0x6b,0x04,0x0e,0x04

# CHECK: v_med3_i32 v5, tba_lo, v2, v3           ; encoding: [0x05,0x00,0xd7,0xd1,0x6c,0x04,0x0e,0x04]
0x05,0x00,0xd7,0xd1,0x6c,0x04,0x0e,0x04

# CHECK: v_med3_i32 v5, tba_hi, v2, v3           ; encoding: [0x05,0x00,0xd7,0xd1,0x6d,0x04,0x0e,0x04]
0x05,0x00,0xd7,0xd1,0x6d,0x04,0x0e,0x04

# CHECK: v_med3_i32 v5, tma_lo, v2, v3           ; encoding: [0x05,0x00,0xd7,0xd1,0x6e,0x04,0x0e,0x04]
0x05,0x00,0xd7,0xd1,0x6e,0x04,0x0e,0x04

# CHECK: v_med3_i32 v5, tma_hi, v2, v3           ; encoding: [0x05,0x00,0xd7,0xd1,0x6f,0x04,0x0e,0x04]
0x05,0x00,0xd7,0xd1,0x6f,0x04,0x0e,0x04

# CHECK: v_med3_i32 v5, ttmp11, v2, v3           ; encoding: [0x05,0x00,0xd7,0xd1,0x7b,0x04,0x0e,0x04]
0x05,0x00,0xd7,0xd1,0x7b,0x04,0x0e,0x04

# CHECK: v_med3_i32 v5, m0, v2, v3               ; encoding: [0x05,0x00,0xd7,0xd1,0x7c,0x04,0x0e,0x04]
0x05,0x00,0xd7,0xd1,0x7c,0x04,0x0e,0x04

# CHECK: v_med3_i32 v5, exec_lo, v2, v3          ; encoding: [0x05,0x00,0xd7,0xd1,0x7e,0x04,0x0e,0x04]
0x05,0x00,0xd7,0xd1,0x7e,0x04,0x0e,0x04

# CHECK: v_med3_i32 v5, exec_hi, v2, v3          ; encoding: [0x05,0x00,0xd7,0xd1,0x7f,0x04,0x0e,0x04]
0x05,0x00,0xd7,0xd1,0x7f,0x04,0x0e,0x04

# CHECK: v_med3_i32 v5, 0, v2, v3                ; encoding: [0x05,0x00,0xd7,0xd1,0x80,0x04,0x0e,0x04]
0x05,0x00,0xd7,0xd1,0x80,0x04,0x0e,0x04

# CHECK: v_med3_i32 v5, -1, v2, v3               ; encoding: [0x05,0x00,0xd7,0xd1,0xc1,0x04,0x0e,0x04]
0x05,0x00,0xd7,0xd1,0xc1,0x04,0x0e,0x04

# CHECK: v_med3_i32 v5, 0.5, v2, v3              ; encoding: [0x05,0x00,0xd7,0xd1,0xf0,0x04,0x0e,0x04]
0x05,0x00,0xd7,0xd1,0xf0,0x04,0x0e,0x04

# CHECK: v_med3_i32 v5, -4.0, v2, v3             ; encoding: [0x05,0x00,0xd7,0xd1,0xf7,0x04,0x0e,0x04]
0x05,0x00,0xd7,0xd1,0xf7,0x04,0x0e,0x04

# CHECK: v_med3_i32 v5, v1, v255, v3             ; encoding: [0x05,0x00,0xd7,0xd1,0x01,0xff,0x0f,0x04]
0x05,0x00,0xd7,0xd1,0x01,0xff,0x0f,0x04

# CHECK: v_med3_i32 v5, v1, s2, v3               ; encoding: [0x05,0x00,0xd7,0xd1,0x01,0x05,0x0c,0x04]
0x05,0x00,0xd7,0xd1,0x01,0x05,0x0c,0x04

# CHECK: v_med3_i32 v5, v1, s101, v3             ; encoding: [0x05,0x00,0xd7,0xd1,0x01,0xcb,0x0c,0x04]
0x05,0x00,0xd7,0xd1,0x01,0xcb,0x0c,0x04

# CHECK: v_med3_i32 v5, v1, flat_scratch_lo, v3  ; encoding: [0x05,0x00,0xd7,0xd1,0x01,0xcd,0x0c,0x04]
0x05,0x00,0xd7,0xd1,0x01,0xcd,0x0c,0x04

# CHECK: v_med3_i32 v5, v1, flat_scratch_hi, v3  ; encoding: [0x05,0x00,0xd7,0xd1,0x01,0xcf,0x0c,0x04]
0x05,0x00,0xd7,0xd1,0x01,0xcf,0x0c,0x04

# CHECK: v_med3_i32 v5, v1, vcc_lo, v3           ; encoding: [0x05,0x00,0xd7,0xd1,0x01,0xd5,0x0c,0x04]
0x05,0x00,0xd7,0xd1,0x01,0xd5,0x0c,0x04

# CHECK: v_med3_i32 v5, v1, vcc_hi, v3           ; encoding: [0x05,0x00,0xd7,0xd1,0x01,0xd7,0x0c,0x04]
0x05,0x00,0xd7,0xd1,0x01,0xd7,0x0c,0x04

# CHECK: v_med3_i32 v5, v1, tba_lo, v3           ; encoding: [0x05,0x00,0xd7,0xd1,0x01,0xd9,0x0c,0x04]
0x05,0x00,0xd7,0xd1,0x01,0xd9,0x0c,0x04

# CHECK: v_med3_i32 v5, v1, tba_hi, v3           ; encoding: [0x05,0x00,0xd7,0xd1,0x01,0xdb,0x0c,0x04]
0x05,0x00,0xd7,0xd1,0x01,0xdb,0x0c,0x04

# CHECK: v_med3_i32 v5, v1, tma_lo, v3           ; encoding: [0x05,0x00,0xd7,0xd1,0x01,0xdd,0x0c,0x04]
0x05,0x00,0xd7,0xd1,0x01,0xdd,0x0c,0x04

# CHECK: v_med3_i32 v5, v1, tma_hi, v3           ; encoding: [0x05,0x00,0xd7,0xd1,0x01,0xdf,0x0c,0x04]
0x05,0x00,0xd7,0xd1,0x01,0xdf,0x0c,0x04

# CHECK: v_med3_i32 v5, v1, ttmp11, v3           ; encoding: [0x05,0x00,0xd7,0xd1,0x01,0xf7,0x0c,0x04]
0x05,0x00,0xd7,0xd1,0x01,0xf7,0x0c,0x04

# CHECK: v_med3_i32 v5, v1, m0, v3               ; encoding: [0x05,0x00,0xd7,0xd1,0x01,0xf9,0x0c,0x04]
0x05,0x00,0xd7,0xd1,0x01,0xf9,0x0c,0x04

# CHECK: v_med3_i32 v5, v1, exec_lo, v3          ; encoding: [0x05,0x00,0xd7,0xd1,0x01,0xfd,0x0c,0x04]
0x05,0x00,0xd7,0xd1,0x01,0xfd,0x0c,0x04

# CHECK: v_med3_i32 v5, v1, exec_hi, v3          ; encoding: [0x05,0x00,0xd7,0xd1,0x01,0xff,0x0c,0x04]
0x05,0x00,0xd7,0xd1,0x01,0xff,0x0c,0x04

# CHECK: v_med3_i32 v5, v1, 0, v3                ; encoding: [0x05,0x00,0xd7,0xd1,0x01,0x01,0x0d,0x04]
0x05,0x00,0xd7,0xd1,0x01,0x01,0x0d,0x04

# CHECK: v_med3_i32 v5, v1, -1, v3               ; encoding: [0x05,0x00,0xd7,0xd1,0x01,0x83,0x0d,0x04]
0x05,0x00,0xd7,0xd1,0x01,0x83,0x0d,0x04

# CHECK: v_med3_i32 v5, v1, 0.5, v3              ; encoding: [0x05,0x00,0xd7,0xd1,0x01,0xe1,0x0d,0x04]
0x05,0x00,0xd7,0xd1,0x01,0xe1,0x0d,0x04

# CHECK: v_med3_i32 v5, v1, -4.0, v3             ; encoding: [0x05,0x00,0xd7,0xd1,0x01,0xef,0x0d,0x04]
0x05,0x00,0xd7,0xd1,0x01,0xef,0x0d,0x04

# CHECK: v_med3_i32 v5, v1, v2, v255             ; encoding: [0x05,0x00,0xd7,0xd1,0x01,0x05,0xfe,0x07]
0x05,0x00,0xd7,0xd1,0x01,0x05,0xfe,0x07

# CHECK: v_med3_i32 v5, v1, v2, s3               ; encoding: [0x05,0x00,0xd7,0xd1,0x01,0x05,0x0e,0x00]
0x05,0x00,0xd7,0xd1,0x01,0x05,0x0e,0x00

# CHECK: v_med3_i32 v5, v1, v2, s101             ; encoding: [0x05,0x00,0xd7,0xd1,0x01,0x05,0x96,0x01]
0x05,0x00,0xd7,0xd1,0x01,0x05,0x96,0x01

# CHECK: v_med3_i32 v5, v1, v2, flat_scratch_lo  ; encoding: [0x05,0x00,0xd7,0xd1,0x01,0x05,0x9a,0x01]
0x05,0x00,0xd7,0xd1,0x01,0x05,0x9a,0x01

# CHECK: v_med3_i32 v5, v1, v2, flat_scratch_hi  ; encoding: [0x05,0x00,0xd7,0xd1,0x01,0x05,0x9e,0x01]
0x05,0x00,0xd7,0xd1,0x01,0x05,0x9e,0x01

# CHECK: v_med3_i32 v5, v1, v2, vcc_lo           ; encoding: [0x05,0x00,0xd7,0xd1,0x01,0x05,0xaa,0x01]
0x05,0x00,0xd7,0xd1,0x01,0x05,0xaa,0x01

# CHECK: v_med3_i32 v5, v1, v2, vcc_hi           ; encoding: [0x05,0x00,0xd7,0xd1,0x01,0x05,0xae,0x01]
0x05,0x00,0xd7,0xd1,0x01,0x05,0xae,0x01

# CHECK: v_med3_i32 v5, v1, v2, tba_lo           ; encoding: [0x05,0x00,0xd7,0xd1,0x01,0x05,0xb2,0x01]
0x05,0x00,0xd7,0xd1,0x01,0x05,0xb2,0x01

# CHECK: v_med3_i32 v5, v1, v2, tba_hi           ; encoding: [0x05,0x00,0xd7,0xd1,0x01,0x05,0xb6,0x01]
0x05,0x00,0xd7,0xd1,0x01,0x05,0xb6,0x01

# CHECK: v_med3_i32 v5, v1, v2, tma_lo           ; encoding: [0x05,0x00,0xd7,0xd1,0x01,0x05,0xba,0x01]
0x05,0x00,0xd7,0xd1,0x01,0x05,0xba,0x01

# CHECK: v_med3_i32 v5, v1, v2, tma_hi           ; encoding: [0x05,0x00,0xd7,0xd1,0x01,0x05,0xbe,0x01]
0x05,0x00,0xd7,0xd1,0x01,0x05,0xbe,0x01

# CHECK: v_med3_i32 v5, v1, v2, ttmp11           ; encoding: [0x05,0x00,0xd7,0xd1,0x01,0x05,0xee,0x01]
0x05,0x00,0xd7,0xd1,0x01,0x05,0xee,0x01

# CHECK: v_med3_i32 v5, v1, v2, m0               ; encoding: [0x05,0x00,0xd7,0xd1,0x01,0x05,0xf2,0x01]
0x05,0x00,0xd7,0xd1,0x01,0x05,0xf2,0x01

# CHECK: v_med3_i32 v5, v1, v2, exec_lo          ; encoding: [0x05,0x00,0xd7,0xd1,0x01,0x05,0xfa,0x01]
0x05,0x00,0xd7,0xd1,0x01,0x05,0xfa,0x01

# CHECK: v_med3_i32 v5, v1, v2, exec_hi          ; encoding: [0x05,0x00,0xd7,0xd1,0x01,0x05,0xfe,0x01]
0x05,0x00,0xd7,0xd1,0x01,0x05,0xfe,0x01

# CHECK: v_med3_i32 v5, v1, v2, 0                ; encoding: [0x05,0x00,0xd7,0xd1,0x01,0x05,0x02,0x02]
0x05,0x00,0xd7,0xd1,0x01,0x05,0x02,0x02

# CHECK: v_med3_i32 v5, v1, v2, -1               ; encoding: [0x05,0x00,0xd7,0xd1,0x01,0x05,0x06,0x03]
0x05,0x00,0xd7,0xd1,0x01,0x05,0x06,0x03

# CHECK: v_med3_i32 v5, v1, v2, 0.5              ; encoding: [0x05,0x00,0xd7,0xd1,0x01,0x05,0xc2,0x03]
0x05,0x00,0xd7,0xd1,0x01,0x05,0xc2,0x03

# CHECK: v_med3_i32 v5, v1, v2, -4.0             ; encoding: [0x05,0x00,0xd7,0xd1,0x01,0x05,0xde,0x03]
0x05,0x00,0xd7,0xd1,0x01,0x05,0xde,0x03

# CHECK: v_med3_u32 v5, v1, v2, v3               ; encoding: [0x05,0x00,0xd8,0xd1,0x01,0x05,0x0e,0x04]
0x05,0x00,0xd8,0xd1,0x01,0x05,0x0e,0x04

# CHECK: v_med3_u32 v255, v1, v2, v3             ; encoding: [0xff,0x00,0xd8,0xd1,0x01,0x05,0x0e,0x04]
0xff,0x00,0xd8,0xd1,0x01,0x05,0x0e,0x04

# CHECK: v_med3_u32 v5, v255, v2, v3             ; encoding: [0x05,0x00,0xd8,0xd1,0xff,0x05,0x0e,0x04]
0x05,0x00,0xd8,0xd1,0xff,0x05,0x0e,0x04

# CHECK: v_med3_u32 v5, s1, v2, v3               ; encoding: [0x05,0x00,0xd8,0xd1,0x01,0x04,0x0e,0x04]
0x05,0x00,0xd8,0xd1,0x01,0x04,0x0e,0x04

# CHECK: v_med3_u32 v5, s101, v2, v3             ; encoding: [0x05,0x00,0xd8,0xd1,0x65,0x04,0x0e,0x04]
0x05,0x00,0xd8,0xd1,0x65,0x04,0x0e,0x04

# CHECK: v_med3_u32 v5, flat_scratch_lo, v2, v3  ; encoding: [0x05,0x00,0xd8,0xd1,0x66,0x04,0x0e,0x04]
0x05,0x00,0xd8,0xd1,0x66,0x04,0x0e,0x04

# CHECK: v_med3_u32 v5, flat_scratch_hi, v2, v3  ; encoding: [0x05,0x00,0xd8,0xd1,0x67,0x04,0x0e,0x04]
0x05,0x00,0xd8,0xd1,0x67,0x04,0x0e,0x04

# CHECK: v_med3_u32 v5, vcc_lo, v2, v3           ; encoding: [0x05,0x00,0xd8,0xd1,0x6a,0x04,0x0e,0x04]
0x05,0x00,0xd8,0xd1,0x6a,0x04,0x0e,0x04

# CHECK: v_med3_u32 v5, vcc_hi, v2, v3           ; encoding: [0x05,0x00,0xd8,0xd1,0x6b,0x04,0x0e,0x04]
0x05,0x00,0xd8,0xd1,0x6b,0x04,0x0e,0x04

# CHECK: v_med3_u32 v5, tba_lo, v2, v3           ; encoding: [0x05,0x00,0xd8,0xd1,0x6c,0x04,0x0e,0x04]
0x05,0x00,0xd8,0xd1,0x6c,0x04,0x0e,0x04

# CHECK: v_med3_u32 v5, tba_hi, v2, v3           ; encoding: [0x05,0x00,0xd8,0xd1,0x6d,0x04,0x0e,0x04]
0x05,0x00,0xd8,0xd1,0x6d,0x04,0x0e,0x04

# CHECK: v_med3_u32 v5, tma_lo, v2, v3           ; encoding: [0x05,0x00,0xd8,0xd1,0x6e,0x04,0x0e,0x04]
0x05,0x00,0xd8,0xd1,0x6e,0x04,0x0e,0x04

# CHECK: v_med3_u32 v5, tma_hi, v2, v3           ; encoding: [0x05,0x00,0xd8,0xd1,0x6f,0x04,0x0e,0x04]
0x05,0x00,0xd8,0xd1,0x6f,0x04,0x0e,0x04

# CHECK: v_med3_u32 v5, ttmp11, v2, v3           ; encoding: [0x05,0x00,0xd8,0xd1,0x7b,0x04,0x0e,0x04]
0x05,0x00,0xd8,0xd1,0x7b,0x04,0x0e,0x04

# CHECK: v_med3_u32 v5, m0, v2, v3               ; encoding: [0x05,0x00,0xd8,0xd1,0x7c,0x04,0x0e,0x04]
0x05,0x00,0xd8,0xd1,0x7c,0x04,0x0e,0x04

# CHECK: v_med3_u32 v5, exec_lo, v2, v3          ; encoding: [0x05,0x00,0xd8,0xd1,0x7e,0x04,0x0e,0x04]
0x05,0x00,0xd8,0xd1,0x7e,0x04,0x0e,0x04

# CHECK: v_med3_u32 v5, exec_hi, v2, v3          ; encoding: [0x05,0x00,0xd8,0xd1,0x7f,0x04,0x0e,0x04]
0x05,0x00,0xd8,0xd1,0x7f,0x04,0x0e,0x04

# CHECK: v_med3_u32 v5, 0, v2, v3                ; encoding: [0x05,0x00,0xd8,0xd1,0x80,0x04,0x0e,0x04]
0x05,0x00,0xd8,0xd1,0x80,0x04,0x0e,0x04

# CHECK: v_med3_u32 v5, -1, v2, v3               ; encoding: [0x05,0x00,0xd8,0xd1,0xc1,0x04,0x0e,0x04]
0x05,0x00,0xd8,0xd1,0xc1,0x04,0x0e,0x04

# CHECK: v_med3_u32 v5, 0.5, v2, v3              ; encoding: [0x05,0x00,0xd8,0xd1,0xf0,0x04,0x0e,0x04]
0x05,0x00,0xd8,0xd1,0xf0,0x04,0x0e,0x04

# CHECK: v_med3_u32 v5, -4.0, v2, v3             ; encoding: [0x05,0x00,0xd8,0xd1,0xf7,0x04,0x0e,0x04]
0x05,0x00,0xd8,0xd1,0xf7,0x04,0x0e,0x04

# CHECK: v_med3_u32 v5, v1, v255, v3             ; encoding: [0x05,0x00,0xd8,0xd1,0x01,0xff,0x0f,0x04]
0x05,0x00,0xd8,0xd1,0x01,0xff,0x0f,0x04

# CHECK: v_med3_u32 v5, v1, s2, v3               ; encoding: [0x05,0x00,0xd8,0xd1,0x01,0x05,0x0c,0x04]
0x05,0x00,0xd8,0xd1,0x01,0x05,0x0c,0x04

# CHECK: v_med3_u32 v5, v1, s101, v3             ; encoding: [0x05,0x00,0xd8,0xd1,0x01,0xcb,0x0c,0x04]
0x05,0x00,0xd8,0xd1,0x01,0xcb,0x0c,0x04

# CHECK: v_med3_u32 v5, v1, flat_scratch_lo, v3  ; encoding: [0x05,0x00,0xd8,0xd1,0x01,0xcd,0x0c,0x04]
0x05,0x00,0xd8,0xd1,0x01,0xcd,0x0c,0x04

# CHECK: v_med3_u32 v5, v1, flat_scratch_hi, v3  ; encoding: [0x05,0x00,0xd8,0xd1,0x01,0xcf,0x0c,0x04]
0x05,0x00,0xd8,0xd1,0x01,0xcf,0x0c,0x04

# CHECK: v_med3_u32 v5, v1, vcc_lo, v3           ; encoding: [0x05,0x00,0xd8,0xd1,0x01,0xd5,0x0c,0x04]
0x05,0x00,0xd8,0xd1,0x01,0xd5,0x0c,0x04

# CHECK: v_med3_u32 v5, v1, vcc_hi, v3           ; encoding: [0x05,0x00,0xd8,0xd1,0x01,0xd7,0x0c,0x04]
0x05,0x00,0xd8,0xd1,0x01,0xd7,0x0c,0x04

# CHECK: v_med3_u32 v5, v1, tba_lo, v3           ; encoding: [0x05,0x00,0xd8,0xd1,0x01,0xd9,0x0c,0x04]
0x05,0x00,0xd8,0xd1,0x01,0xd9,0x0c,0x04

# CHECK: v_med3_u32 v5, v1, tba_hi, v3           ; encoding: [0x05,0x00,0xd8,0xd1,0x01,0xdb,0x0c,0x04]
0x05,0x00,0xd8,0xd1,0x01,0xdb,0x0c,0x04

# CHECK: v_med3_u32 v5, v1, tma_lo, v3           ; encoding: [0x05,0x00,0xd8,0xd1,0x01,0xdd,0x0c,0x04]
0x05,0x00,0xd8,0xd1,0x01,0xdd,0x0c,0x04

# CHECK: v_med3_u32 v5, v1, tma_hi, v3           ; encoding: [0x05,0x00,0xd8,0xd1,0x01,0xdf,0x0c,0x04]
0x05,0x00,0xd8,0xd1,0x01,0xdf,0x0c,0x04

# CHECK: v_med3_u32 v5, v1, ttmp11, v3           ; encoding: [0x05,0x00,0xd8,0xd1,0x01,0xf7,0x0c,0x04]
0x05,0x00,0xd8,0xd1,0x01,0xf7,0x0c,0x04

# CHECK: v_med3_u32 v5, v1, m0, v3               ; encoding: [0x05,0x00,0xd8,0xd1,0x01,0xf9,0x0c,0x04]
0x05,0x00,0xd8,0xd1,0x01,0xf9,0x0c,0x04

# CHECK: v_med3_u32 v5, v1, exec_lo, v3          ; encoding: [0x05,0x00,0xd8,0xd1,0x01,0xfd,0x0c,0x04]
0x05,0x00,0xd8,0xd1,0x01,0xfd,0x0c,0x04

# CHECK: v_med3_u32 v5, v1, exec_hi, v3          ; encoding: [0x05,0x00,0xd8,0xd1,0x01,0xff,0x0c,0x04]
0x05,0x00,0xd8,0xd1,0x01,0xff,0x0c,0x04

# CHECK: v_med3_u32 v5, v1, 0, v3                ; encoding: [0x05,0x00,0xd8,0xd1,0x01,0x01,0x0d,0x04]
0x05,0x00,0xd8,0xd1,0x01,0x01,0x0d,0x04

# CHECK: v_med3_u32 v5, v1, -1, v3               ; encoding: [0x05,0x00,0xd8,0xd1,0x01,0x83,0x0d,0x04]
0x05,0x00,0xd8,0xd1,0x01,0x83,0x0d,0x04

# CHECK: v_med3_u32 v5, v1, 0.5, v3              ; encoding: [0x05,0x00,0xd8,0xd1,0x01,0xe1,0x0d,0x04]
0x05,0x00,0xd8,0xd1,0x01,0xe1,0x0d,0x04

# CHECK: v_med3_u32 v5, v1, -4.0, v3             ; encoding: [0x05,0x00,0xd8,0xd1,0x01,0xef,0x0d,0x04]
0x05,0x00,0xd8,0xd1,0x01,0xef,0x0d,0x04

# CHECK: v_med3_u32 v5, v1, v2, v255             ; encoding: [0x05,0x00,0xd8,0xd1,0x01,0x05,0xfe,0x07]
0x05,0x00,0xd8,0xd1,0x01,0x05,0xfe,0x07

# CHECK: v_med3_u32 v5, v1, v2, s3               ; encoding: [0x05,0x00,0xd8,0xd1,0x01,0x05,0x0e,0x00]
0x05,0x00,0xd8,0xd1,0x01,0x05,0x0e,0x00

# CHECK: v_med3_u32 v5, v1, v2, s101             ; encoding: [0x05,0x00,0xd8,0xd1,0x01,0x05,0x96,0x01]
0x05,0x00,0xd8,0xd1,0x01,0x05,0x96,0x01

# CHECK: v_med3_u32 v5, v1, v2, flat_scratch_lo  ; encoding: [0x05,0x00,0xd8,0xd1,0x01,0x05,0x9a,0x01]
0x05,0x00,0xd8,0xd1,0x01,0x05,0x9a,0x01

# CHECK: v_med3_u32 v5, v1, v2, flat_scratch_hi  ; encoding: [0x05,0x00,0xd8,0xd1,0x01,0x05,0x9e,0x01]
0x05,0x00,0xd8,0xd1,0x01,0x05,0x9e,0x01

# CHECK: v_med3_u32 v5, v1, v2, vcc_lo           ; encoding: [0x05,0x00,0xd8,0xd1,0x01,0x05,0xaa,0x01]
0x05,0x00,0xd8,0xd1,0x01,0x05,0xaa,0x01

# CHECK: v_med3_u32 v5, v1, v2, vcc_hi           ; encoding: [0x05,0x00,0xd8,0xd1,0x01,0x05,0xae,0x01]
0x05,0x00,0xd8,0xd1,0x01,0x05,0xae,0x01

# CHECK: v_med3_u32 v5, v1, v2, tba_lo           ; encoding: [0x05,0x00,0xd8,0xd1,0x01,0x05,0xb2,0x01]
0x05,0x00,0xd8,0xd1,0x01,0x05,0xb2,0x01

# CHECK: v_med3_u32 v5, v1, v2, tba_hi           ; encoding: [0x05,0x00,0xd8,0xd1,0x01,0x05,0xb6,0x01]
0x05,0x00,0xd8,0xd1,0x01,0x05,0xb6,0x01

# CHECK: v_med3_u32 v5, v1, v2, tma_lo           ; encoding: [0x05,0x00,0xd8,0xd1,0x01,0x05,0xba,0x01]
0x05,0x00,0xd8,0xd1,0x01,0x05,0xba,0x01

# CHECK: v_med3_u32 v5, v1, v2, tma_hi           ; encoding: [0x05,0x00,0xd8,0xd1,0x01,0x05,0xbe,0x01]
0x05,0x00,0xd8,0xd1,0x01,0x05,0xbe,0x01

# CHECK: v_med3_u32 v5, v1, v2, ttmp11           ; encoding: [0x05,0x00,0xd8,0xd1,0x01,0x05,0xee,0x01]
0x05,0x00,0xd8,0xd1,0x01,0x05,0xee,0x01

# CHECK: v_med3_u32 v5, v1, v2, m0               ; encoding: [0x05,0x00,0xd8,0xd1,0x01,0x05,0xf2,0x01]
0x05,0x00,0xd8,0xd1,0x01,0x05,0xf2,0x01

# CHECK: v_med3_u32 v5, v1, v2, exec_lo          ; encoding: [0x05,0x00,0xd8,0xd1,0x01,0x05,0xfa,0x01]
0x05,0x00,0xd8,0xd1,0x01,0x05,0xfa,0x01

# CHECK: v_med3_u32 v5, v1, v2, exec_hi          ; encoding: [0x05,0x00,0xd8,0xd1,0x01,0x05,0xfe,0x01]
0x05,0x00,0xd8,0xd1,0x01,0x05,0xfe,0x01

# CHECK: v_med3_u32 v5, v1, v2, 0                ; encoding: [0x05,0x00,0xd8,0xd1,0x01,0x05,0x02,0x02]
0x05,0x00,0xd8,0xd1,0x01,0x05,0x02,0x02

# CHECK: v_med3_u32 v5, v1, v2, -1               ; encoding: [0x05,0x00,0xd8,0xd1,0x01,0x05,0x06,0x03]
0x05,0x00,0xd8,0xd1,0x01,0x05,0x06,0x03

# CHECK: v_med3_u32 v5, v1, v2, 0.5              ; encoding: [0x05,0x00,0xd8,0xd1,0x01,0x05,0xc2,0x03]
0x05,0x00,0xd8,0xd1,0x01,0x05,0xc2,0x03

# CHECK: v_med3_u32 v5, v1, v2, -4.0             ; encoding: [0x05,0x00,0xd8,0xd1,0x01,0x05,0xde,0x03]
0x05,0x00,0xd8,0xd1,0x01,0x05,0xde,0x03

# CHECK: v_sad_u8 v5, v1, v2, v3                 ; encoding: [0x05,0x00,0xd9,0xd1,0x01,0x05,0x0e,0x04]
0x05,0x00,0xd9,0xd1,0x01,0x05,0x0e,0x04

# CHECK: v_sad_u8 v255, v1, v2, v3               ; encoding: [0xff,0x00,0xd9,0xd1,0x01,0x05,0x0e,0x04]
0xff,0x00,0xd9,0xd1,0x01,0x05,0x0e,0x04

# CHECK: v_sad_u8 v5, v255, v2, v3               ; encoding: [0x05,0x00,0xd9,0xd1,0xff,0x05,0x0e,0x04]
0x05,0x00,0xd9,0xd1,0xff,0x05,0x0e,0x04

# CHECK: v_sad_u8 v5, s1, v2, v3                 ; encoding: [0x05,0x00,0xd9,0xd1,0x01,0x04,0x0e,0x04]
0x05,0x00,0xd9,0xd1,0x01,0x04,0x0e,0x04

# CHECK: v_sad_u8 v5, s101, v2, v3               ; encoding: [0x05,0x00,0xd9,0xd1,0x65,0x04,0x0e,0x04]
0x05,0x00,0xd9,0xd1,0x65,0x04,0x0e,0x04

# CHECK: v_sad_u8 v5, flat_scratch_lo, v2, v3    ; encoding: [0x05,0x00,0xd9,0xd1,0x66,0x04,0x0e,0x04]
0x05,0x00,0xd9,0xd1,0x66,0x04,0x0e,0x04

# CHECK: v_sad_u8 v5, flat_scratch_hi, v2, v3    ; encoding: [0x05,0x00,0xd9,0xd1,0x67,0x04,0x0e,0x04]
0x05,0x00,0xd9,0xd1,0x67,0x04,0x0e,0x04

# CHECK: v_sad_u8 v5, vcc_lo, v2, v3             ; encoding: [0x05,0x00,0xd9,0xd1,0x6a,0x04,0x0e,0x04]
0x05,0x00,0xd9,0xd1,0x6a,0x04,0x0e,0x04

# CHECK: v_sad_u8 v5, vcc_hi, v2, v3             ; encoding: [0x05,0x00,0xd9,0xd1,0x6b,0x04,0x0e,0x04]
0x05,0x00,0xd9,0xd1,0x6b,0x04,0x0e,0x04

# CHECK: v_sad_u8 v5, tba_lo, v2, v3             ; encoding: [0x05,0x00,0xd9,0xd1,0x6c,0x04,0x0e,0x04]
0x05,0x00,0xd9,0xd1,0x6c,0x04,0x0e,0x04

# CHECK: v_sad_u8 v5, tba_hi, v2, v3             ; encoding: [0x05,0x00,0xd9,0xd1,0x6d,0x04,0x0e,0x04]
0x05,0x00,0xd9,0xd1,0x6d,0x04,0x0e,0x04

# CHECK: v_sad_u8 v5, tma_lo, v2, v3             ; encoding: [0x05,0x00,0xd9,0xd1,0x6e,0x04,0x0e,0x04]
0x05,0x00,0xd9,0xd1,0x6e,0x04,0x0e,0x04

# CHECK: v_sad_u8 v5, tma_hi, v2, v3             ; encoding: [0x05,0x00,0xd9,0xd1,0x6f,0x04,0x0e,0x04]
0x05,0x00,0xd9,0xd1,0x6f,0x04,0x0e,0x04

# CHECK: v_sad_u8 v5, ttmp11, v2, v3             ; encoding: [0x05,0x00,0xd9,0xd1,0x7b,0x04,0x0e,0x04]
0x05,0x00,0xd9,0xd1,0x7b,0x04,0x0e,0x04

# CHECK: v_sad_u8 v5, m0, v2, v3                 ; encoding: [0x05,0x00,0xd9,0xd1,0x7c,0x04,0x0e,0x04]
0x05,0x00,0xd9,0xd1,0x7c,0x04,0x0e,0x04

# CHECK: v_sad_u8 v5, exec_lo, v2, v3            ; encoding: [0x05,0x00,0xd9,0xd1,0x7e,0x04,0x0e,0x04]
0x05,0x00,0xd9,0xd1,0x7e,0x04,0x0e,0x04

# CHECK: v_sad_u8 v5, exec_hi, v2, v3            ; encoding: [0x05,0x00,0xd9,0xd1,0x7f,0x04,0x0e,0x04]
0x05,0x00,0xd9,0xd1,0x7f,0x04,0x0e,0x04

# CHECK: v_sad_u8 v5, 0, v2, v3                  ; encoding: [0x05,0x00,0xd9,0xd1,0x80,0x04,0x0e,0x04]
0x05,0x00,0xd9,0xd1,0x80,0x04,0x0e,0x04

# CHECK: v_sad_u8 v5, -1, v2, v3                 ; encoding: [0x05,0x00,0xd9,0xd1,0xc1,0x04,0x0e,0x04]
0x05,0x00,0xd9,0xd1,0xc1,0x04,0x0e,0x04

# CHECK: v_sad_u8 v5, 0.5, v2, v3                ; encoding: [0x05,0x00,0xd9,0xd1,0xf0,0x04,0x0e,0x04]
0x05,0x00,0xd9,0xd1,0xf0,0x04,0x0e,0x04

# CHECK: v_sad_u8 v5, -4.0, v2, v3               ; encoding: [0x05,0x00,0xd9,0xd1,0xf7,0x04,0x0e,0x04]
0x05,0x00,0xd9,0xd1,0xf7,0x04,0x0e,0x04

# CHECK: v_sad_u8 v5, v1, v255, v3               ; encoding: [0x05,0x00,0xd9,0xd1,0x01,0xff,0x0f,0x04]
0x05,0x00,0xd9,0xd1,0x01,0xff,0x0f,0x04

# CHECK: v_sad_u8 v5, v1, s2, v3                 ; encoding: [0x05,0x00,0xd9,0xd1,0x01,0x05,0x0c,0x04]
0x05,0x00,0xd9,0xd1,0x01,0x05,0x0c,0x04

# CHECK: v_sad_u8 v5, v1, s101, v3               ; encoding: [0x05,0x00,0xd9,0xd1,0x01,0xcb,0x0c,0x04]
0x05,0x00,0xd9,0xd1,0x01,0xcb,0x0c,0x04

# CHECK: v_sad_u8 v5, v1, flat_scratch_lo, v3    ; encoding: [0x05,0x00,0xd9,0xd1,0x01,0xcd,0x0c,0x04]
0x05,0x00,0xd9,0xd1,0x01,0xcd,0x0c,0x04

# CHECK: v_sad_u8 v5, v1, flat_scratch_hi, v3    ; encoding: [0x05,0x00,0xd9,0xd1,0x01,0xcf,0x0c,0x04]
0x05,0x00,0xd9,0xd1,0x01,0xcf,0x0c,0x04

# CHECK: v_sad_u8 v5, v1, vcc_lo, v3             ; encoding: [0x05,0x00,0xd9,0xd1,0x01,0xd5,0x0c,0x04]
0x05,0x00,0xd9,0xd1,0x01,0xd5,0x0c,0x04

# CHECK: v_sad_u8 v5, v1, vcc_hi, v3             ; encoding: [0x05,0x00,0xd9,0xd1,0x01,0xd7,0x0c,0x04]
0x05,0x00,0xd9,0xd1,0x01,0xd7,0x0c,0x04

# CHECK: v_sad_u8 v5, v1, tba_lo, v3             ; encoding: [0x05,0x00,0xd9,0xd1,0x01,0xd9,0x0c,0x04]
0x05,0x00,0xd9,0xd1,0x01,0xd9,0x0c,0x04

# CHECK: v_sad_u8 v5, v1, tba_hi, v3             ; encoding: [0x05,0x00,0xd9,0xd1,0x01,0xdb,0x0c,0x04]
0x05,0x00,0xd9,0xd1,0x01,0xdb,0x0c,0x04

# CHECK: v_sad_u8 v5, v1, tma_lo, v3             ; encoding: [0x05,0x00,0xd9,0xd1,0x01,0xdd,0x0c,0x04]
0x05,0x00,0xd9,0xd1,0x01,0xdd,0x0c,0x04

# CHECK: v_sad_u8 v5, v1, tma_hi, v3             ; encoding: [0x05,0x00,0xd9,0xd1,0x01,0xdf,0x0c,0x04]
0x05,0x00,0xd9,0xd1,0x01,0xdf,0x0c,0x04

# CHECK: v_sad_u8 v5, v1, ttmp11, v3             ; encoding: [0x05,0x00,0xd9,0xd1,0x01,0xf7,0x0c,0x04]
0x05,0x00,0xd9,0xd1,0x01,0xf7,0x0c,0x04

# CHECK: v_sad_u8 v5, v1, m0, v3                 ; encoding: [0x05,0x00,0xd9,0xd1,0x01,0xf9,0x0c,0x04]
0x05,0x00,0xd9,0xd1,0x01,0xf9,0x0c,0x04

# CHECK: v_sad_u8 v5, v1, exec_lo, v3            ; encoding: [0x05,0x00,0xd9,0xd1,0x01,0xfd,0x0c,0x04]
0x05,0x00,0xd9,0xd1,0x01,0xfd,0x0c,0x04

# CHECK: v_sad_u8 v5, v1, exec_hi, v3            ; encoding: [0x05,0x00,0xd9,0xd1,0x01,0xff,0x0c,0x04]
0x05,0x00,0xd9,0xd1,0x01,0xff,0x0c,0x04

# CHECK: v_sad_u8 v5, v1, 0, v3                  ; encoding: [0x05,0x00,0xd9,0xd1,0x01,0x01,0x0d,0x04]
0x05,0x00,0xd9,0xd1,0x01,0x01,0x0d,0x04

# CHECK: v_sad_u8 v5, v1, -1, v3                 ; encoding: [0x05,0x00,0xd9,0xd1,0x01,0x83,0x0d,0x04]
0x05,0x00,0xd9,0xd1,0x01,0x83,0x0d,0x04

# CHECK: v_sad_u8 v5, v1, 0.5, v3                ; encoding: [0x05,0x00,0xd9,0xd1,0x01,0xe1,0x0d,0x04]
0x05,0x00,0xd9,0xd1,0x01,0xe1,0x0d,0x04

# CHECK: v_sad_u8 v5, v1, -4.0, v3               ; encoding: [0x05,0x00,0xd9,0xd1,0x01,0xef,0x0d,0x04]
0x05,0x00,0xd9,0xd1,0x01,0xef,0x0d,0x04

# CHECK: v_sad_u8 v5, v1, v2, v255               ; encoding: [0x05,0x00,0xd9,0xd1,0x01,0x05,0xfe,0x07]
0x05,0x00,0xd9,0xd1,0x01,0x05,0xfe,0x07

# CHECK: v_sad_u8 v5, v1, v2, s3                 ; encoding: [0x05,0x00,0xd9,0xd1,0x01,0x05,0x0e,0x00]
0x05,0x00,0xd9,0xd1,0x01,0x05,0x0e,0x00

# CHECK: v_sad_u8 v5, v1, v2, s101               ; encoding: [0x05,0x00,0xd9,0xd1,0x01,0x05,0x96,0x01]
0x05,0x00,0xd9,0xd1,0x01,0x05,0x96,0x01

# CHECK: v_sad_u8 v5, v1, v2, flat_scratch_lo    ; encoding: [0x05,0x00,0xd9,0xd1,0x01,0x05,0x9a,0x01]
0x05,0x00,0xd9,0xd1,0x01,0x05,0x9a,0x01

# CHECK: v_sad_u8 v5, v1, v2, flat_scratch_hi    ; encoding: [0x05,0x00,0xd9,0xd1,0x01,0x05,0x9e,0x01]
0x05,0x00,0xd9,0xd1,0x01,0x05,0x9e,0x01

# CHECK: v_sad_u8 v5, v1, v2, vcc_lo             ; encoding: [0x05,0x00,0xd9,0xd1,0x01,0x05,0xaa,0x01]
0x05,0x00,0xd9,0xd1,0x01,0x05,0xaa,0x01

# CHECK: v_sad_u8 v5, v1, v2, vcc_hi             ; encoding: [0x05,0x00,0xd9,0xd1,0x01,0x05,0xae,0x01]
0x05,0x00,0xd9,0xd1,0x01,0x05,0xae,0x01

# CHECK: v_sad_u8 v5, v1, v2, tba_lo             ; encoding: [0x05,0x00,0xd9,0xd1,0x01,0x05,0xb2,0x01]
0x05,0x00,0xd9,0xd1,0x01,0x05,0xb2,0x01

# CHECK: v_sad_u8 v5, v1, v2, tba_hi             ; encoding: [0x05,0x00,0xd9,0xd1,0x01,0x05,0xb6,0x01]
0x05,0x00,0xd9,0xd1,0x01,0x05,0xb6,0x01

# CHECK: v_sad_u8 v5, v1, v2, tma_lo             ; encoding: [0x05,0x00,0xd9,0xd1,0x01,0x05,0xba,0x01]
0x05,0x00,0xd9,0xd1,0x01,0x05,0xba,0x01

# CHECK: v_sad_u8 v5, v1, v2, tma_hi             ; encoding: [0x05,0x00,0xd9,0xd1,0x01,0x05,0xbe,0x01]
0x05,0x00,0xd9,0xd1,0x01,0x05,0xbe,0x01

# CHECK: v_sad_u8 v5, v1, v2, ttmp11             ; encoding: [0x05,0x00,0xd9,0xd1,0x01,0x05,0xee,0x01]
0x05,0x00,0xd9,0xd1,0x01,0x05,0xee,0x01

# CHECK: v_sad_u8 v5, v1, v2, m0                 ; encoding: [0x05,0x00,0xd9,0xd1,0x01,0x05,0xf2,0x01]
0x05,0x00,0xd9,0xd1,0x01,0x05,0xf2,0x01

# CHECK: v_sad_u8 v5, v1, v2, exec_lo            ; encoding: [0x05,0x00,0xd9,0xd1,0x01,0x05,0xfa,0x01]
0x05,0x00,0xd9,0xd1,0x01,0x05,0xfa,0x01

# CHECK: v_sad_u8 v5, v1, v2, exec_hi            ; encoding: [0x05,0x00,0xd9,0xd1,0x01,0x05,0xfe,0x01]
0x05,0x00,0xd9,0xd1,0x01,0x05,0xfe,0x01

# CHECK: v_sad_u8 v5, v1, v2, 0                  ; encoding: [0x05,0x00,0xd9,0xd1,0x01,0x05,0x02,0x02]
0x05,0x00,0xd9,0xd1,0x01,0x05,0x02,0x02

# CHECK: v_sad_u8 v5, v1, v2, -1                 ; encoding: [0x05,0x00,0xd9,0xd1,0x01,0x05,0x06,0x03]
0x05,0x00,0xd9,0xd1,0x01,0x05,0x06,0x03

# CHECK: v_sad_u8 v5, v1, v2, 0.5                ; encoding: [0x05,0x00,0xd9,0xd1,0x01,0x05,0xc2,0x03]
0x05,0x00,0xd9,0xd1,0x01,0x05,0xc2,0x03

# CHECK: v_sad_u8 v5, v1, v2, -4.0               ; encoding: [0x05,0x00,0xd9,0xd1,0x01,0x05,0xde,0x03]
0x05,0x00,0xd9,0xd1,0x01,0x05,0xde,0x03

# CHECK: v_sad_u8 v5, v1, v2, v3 clamp           ; encoding: [0x05,0x80,0xd9,0xd1,0x01,0x05,0x0e,0x04]
0x05,0x80,0xd9,0xd1,0x01,0x05,0x0e,0x04

# CHECK: v_sad_hi_u8 v5, v1, v2, v3              ; encoding: [0x05,0x00,0xda,0xd1,0x01,0x05,0x0e,0x04]
0x05,0x00,0xda,0xd1,0x01,0x05,0x0e,0x04

# CHECK: v_sad_hi_u8 v255, v1, v2, v3            ; encoding: [0xff,0x00,0xda,0xd1,0x01,0x05,0x0e,0x04]
0xff,0x00,0xda,0xd1,0x01,0x05,0x0e,0x04

# CHECK: v_sad_hi_u8 v5, v255, v2, v3            ; encoding: [0x05,0x00,0xda,0xd1,0xff,0x05,0x0e,0x04]
0x05,0x00,0xda,0xd1,0xff,0x05,0x0e,0x04

# CHECK: v_sad_hi_u8 v5, s1, v2, v3              ; encoding: [0x05,0x00,0xda,0xd1,0x01,0x04,0x0e,0x04]
0x05,0x00,0xda,0xd1,0x01,0x04,0x0e,0x04

# CHECK: v_sad_hi_u8 v5, s101, v2, v3            ; encoding: [0x05,0x00,0xda,0xd1,0x65,0x04,0x0e,0x04]
0x05,0x00,0xda,0xd1,0x65,0x04,0x0e,0x04

# CHECK: v_sad_hi_u8 v5, flat_scratch_lo, v2, v3 ; encoding: [0x05,0x00,0xda,0xd1,0x66,0x04,0x0e,0x04]
0x05,0x00,0xda,0xd1,0x66,0x04,0x0e,0x04

# CHECK: v_sad_hi_u8 v5, flat_scratch_hi, v2, v3 ; encoding: [0x05,0x00,0xda,0xd1,0x67,0x04,0x0e,0x04]
0x05,0x00,0xda,0xd1,0x67,0x04,0x0e,0x04

# CHECK: v_sad_hi_u8 v5, vcc_lo, v2, v3          ; encoding: [0x05,0x00,0xda,0xd1,0x6a,0x04,0x0e,0x04]
0x05,0x00,0xda,0xd1,0x6a,0x04,0x0e,0x04

# CHECK: v_sad_hi_u8 v5, vcc_hi, v2, v3          ; encoding: [0x05,0x00,0xda,0xd1,0x6b,0x04,0x0e,0x04]
0x05,0x00,0xda,0xd1,0x6b,0x04,0x0e,0x04

# CHECK: v_sad_hi_u8 v5, tba_lo, v2, v3          ; encoding: [0x05,0x00,0xda,0xd1,0x6c,0x04,0x0e,0x04]
0x05,0x00,0xda,0xd1,0x6c,0x04,0x0e,0x04

# CHECK: v_sad_hi_u8 v5, tba_hi, v2, v3          ; encoding: [0x05,0x00,0xda,0xd1,0x6d,0x04,0x0e,0x04]
0x05,0x00,0xda,0xd1,0x6d,0x04,0x0e,0x04

# CHECK: v_sad_hi_u8 v5, tma_lo, v2, v3          ; encoding: [0x05,0x00,0xda,0xd1,0x6e,0x04,0x0e,0x04]
0x05,0x00,0xda,0xd1,0x6e,0x04,0x0e,0x04

# CHECK: v_sad_hi_u8 v5, tma_hi, v2, v3          ; encoding: [0x05,0x00,0xda,0xd1,0x6f,0x04,0x0e,0x04]
0x05,0x00,0xda,0xd1,0x6f,0x04,0x0e,0x04

# CHECK: v_sad_hi_u8 v5, ttmp11, v2, v3          ; encoding: [0x05,0x00,0xda,0xd1,0x7b,0x04,0x0e,0x04]
0x05,0x00,0xda,0xd1,0x7b,0x04,0x0e,0x04

# CHECK: v_sad_hi_u8 v5, m0, v2, v3              ; encoding: [0x05,0x00,0xda,0xd1,0x7c,0x04,0x0e,0x04]
0x05,0x00,0xda,0xd1,0x7c,0x04,0x0e,0x04

# CHECK: v_sad_hi_u8 v5, exec_lo, v2, v3         ; encoding: [0x05,0x00,0xda,0xd1,0x7e,0x04,0x0e,0x04]
0x05,0x00,0xda,0xd1,0x7e,0x04,0x0e,0x04

# CHECK: v_sad_hi_u8 v5, exec_hi, v2, v3         ; encoding: [0x05,0x00,0xda,0xd1,0x7f,0x04,0x0e,0x04]
0x05,0x00,0xda,0xd1,0x7f,0x04,0x0e,0x04

# CHECK: v_sad_hi_u8 v5, 0, v2, v3               ; encoding: [0x05,0x00,0xda,0xd1,0x80,0x04,0x0e,0x04]
0x05,0x00,0xda,0xd1,0x80,0x04,0x0e,0x04

# CHECK: v_sad_hi_u8 v5, -1, v2, v3              ; encoding: [0x05,0x00,0xda,0xd1,0xc1,0x04,0x0e,0x04]
0x05,0x00,0xda,0xd1,0xc1,0x04,0x0e,0x04

# CHECK: v_sad_hi_u8 v5, 0.5, v2, v3             ; encoding: [0x05,0x00,0xda,0xd1,0xf0,0x04,0x0e,0x04]
0x05,0x00,0xda,0xd1,0xf0,0x04,0x0e,0x04

# CHECK: v_sad_hi_u8 v5, -4.0, v2, v3            ; encoding: [0x05,0x00,0xda,0xd1,0xf7,0x04,0x0e,0x04]
0x05,0x00,0xda,0xd1,0xf7,0x04,0x0e,0x04

# CHECK: v_sad_hi_u8 v5, v1, v255, v3            ; encoding: [0x05,0x00,0xda,0xd1,0x01,0xff,0x0f,0x04]
0x05,0x00,0xda,0xd1,0x01,0xff,0x0f,0x04

# CHECK: v_sad_hi_u8 v5, v1, s2, v3              ; encoding: [0x05,0x00,0xda,0xd1,0x01,0x05,0x0c,0x04]
0x05,0x00,0xda,0xd1,0x01,0x05,0x0c,0x04

# CHECK: v_sad_hi_u8 v5, v1, s101, v3            ; encoding: [0x05,0x00,0xda,0xd1,0x01,0xcb,0x0c,0x04]
0x05,0x00,0xda,0xd1,0x01,0xcb,0x0c,0x04

# CHECK: v_sad_hi_u8 v5, v1, flat_scratch_lo, v3 ; encoding: [0x05,0x00,0xda,0xd1,0x01,0xcd,0x0c,0x04]
0x05,0x00,0xda,0xd1,0x01,0xcd,0x0c,0x04

# CHECK: v_sad_hi_u8 v5, v1, flat_scratch_hi, v3 ; encoding: [0x05,0x00,0xda,0xd1,0x01,0xcf,0x0c,0x04]
0x05,0x00,0xda,0xd1,0x01,0xcf,0x0c,0x04

# CHECK: v_sad_hi_u8 v5, v1, vcc_lo, v3          ; encoding: [0x05,0x00,0xda,0xd1,0x01,0xd5,0x0c,0x04]
0x05,0x00,0xda,0xd1,0x01,0xd5,0x0c,0x04

# CHECK: v_sad_hi_u8 v5, v1, vcc_hi, v3          ; encoding: [0x05,0x00,0xda,0xd1,0x01,0xd7,0x0c,0x04]
0x05,0x00,0xda,0xd1,0x01,0xd7,0x0c,0x04

# CHECK: v_sad_hi_u8 v5, v1, tba_lo, v3          ; encoding: [0x05,0x00,0xda,0xd1,0x01,0xd9,0x0c,0x04]
0x05,0x00,0xda,0xd1,0x01,0xd9,0x0c,0x04

# CHECK: v_sad_hi_u8 v5, v1, tba_hi, v3          ; encoding: [0x05,0x00,0xda,0xd1,0x01,0xdb,0x0c,0x04]
0x05,0x00,0xda,0xd1,0x01,0xdb,0x0c,0x04

# CHECK: v_sad_hi_u8 v5, v1, tma_lo, v3          ; encoding: [0x05,0x00,0xda,0xd1,0x01,0xdd,0x0c,0x04]
0x05,0x00,0xda,0xd1,0x01,0xdd,0x0c,0x04

# CHECK: v_sad_hi_u8 v5, v1, tma_hi, v3          ; encoding: [0x05,0x00,0xda,0xd1,0x01,0xdf,0x0c,0x04]
0x05,0x00,0xda,0xd1,0x01,0xdf,0x0c,0x04

# CHECK: v_sad_hi_u8 v5, v1, ttmp11, v3          ; encoding: [0x05,0x00,0xda,0xd1,0x01,0xf7,0x0c,0x04]
0x05,0x00,0xda,0xd1,0x01,0xf7,0x0c,0x04

# CHECK: v_sad_hi_u8 v5, v1, m0, v3              ; encoding: [0x05,0x00,0xda,0xd1,0x01,0xf9,0x0c,0x04]
0x05,0x00,0xda,0xd1,0x01,0xf9,0x0c,0x04

# CHECK: v_sad_hi_u8 v5, v1, exec_lo, v3         ; encoding: [0x05,0x00,0xda,0xd1,0x01,0xfd,0x0c,0x04]
0x05,0x00,0xda,0xd1,0x01,0xfd,0x0c,0x04

# CHECK: v_sad_hi_u8 v5, v1, exec_hi, v3         ; encoding: [0x05,0x00,0xda,0xd1,0x01,0xff,0x0c,0x04]
0x05,0x00,0xda,0xd1,0x01,0xff,0x0c,0x04

# CHECK: v_sad_hi_u8 v5, v1, 0, v3               ; encoding: [0x05,0x00,0xda,0xd1,0x01,0x01,0x0d,0x04]
0x05,0x00,0xda,0xd1,0x01,0x01,0x0d,0x04

# CHECK: v_sad_hi_u8 v5, v1, -1, v3              ; encoding: [0x05,0x00,0xda,0xd1,0x01,0x83,0x0d,0x04]
0x05,0x00,0xda,0xd1,0x01,0x83,0x0d,0x04

# CHECK: v_sad_hi_u8 v5, v1, 0.5, v3             ; encoding: [0x05,0x00,0xda,0xd1,0x01,0xe1,0x0d,0x04]
0x05,0x00,0xda,0xd1,0x01,0xe1,0x0d,0x04

# CHECK: v_sad_hi_u8 v5, v1, -4.0, v3            ; encoding: [0x05,0x00,0xda,0xd1,0x01,0xef,0x0d,0x04]
0x05,0x00,0xda,0xd1,0x01,0xef,0x0d,0x04

# CHECK: v_sad_hi_u8 v5, v1, v2, v255            ; encoding: [0x05,0x00,0xda,0xd1,0x01,0x05,0xfe,0x07]
0x05,0x00,0xda,0xd1,0x01,0x05,0xfe,0x07

# CHECK: v_sad_hi_u8 v5, v1, v2, s3              ; encoding: [0x05,0x00,0xda,0xd1,0x01,0x05,0x0e,0x00]
0x05,0x00,0xda,0xd1,0x01,0x05,0x0e,0x00

# CHECK: v_sad_hi_u8 v5, v1, v2, s101            ; encoding: [0x05,0x00,0xda,0xd1,0x01,0x05,0x96,0x01]
0x05,0x00,0xda,0xd1,0x01,0x05,0x96,0x01

# CHECK: v_sad_hi_u8 v5, v1, v2, flat_scratch_lo ; encoding: [0x05,0x00,0xda,0xd1,0x01,0x05,0x9a,0x01]
0x05,0x00,0xda,0xd1,0x01,0x05,0x9a,0x01

# CHECK: v_sad_hi_u8 v5, v1, v2, flat_scratch_hi ; encoding: [0x05,0x00,0xda,0xd1,0x01,0x05,0x9e,0x01]
0x05,0x00,0xda,0xd1,0x01,0x05,0x9e,0x01

# CHECK: v_sad_hi_u8 v5, v1, v2, vcc_lo          ; encoding: [0x05,0x00,0xda,0xd1,0x01,0x05,0xaa,0x01]
0x05,0x00,0xda,0xd1,0x01,0x05,0xaa,0x01

# CHECK: v_sad_hi_u8 v5, v1, v2, vcc_hi          ; encoding: [0x05,0x00,0xda,0xd1,0x01,0x05,0xae,0x01]
0x05,0x00,0xda,0xd1,0x01,0x05,0xae,0x01

# CHECK: v_sad_hi_u8 v5, v1, v2, tba_lo          ; encoding: [0x05,0x00,0xda,0xd1,0x01,0x05,0xb2,0x01]
0x05,0x00,0xda,0xd1,0x01,0x05,0xb2,0x01

# CHECK: v_sad_hi_u8 v5, v1, v2, tba_hi          ; encoding: [0x05,0x00,0xda,0xd1,0x01,0x05,0xb6,0x01]
0x05,0x00,0xda,0xd1,0x01,0x05,0xb6,0x01

# CHECK: v_sad_hi_u8 v5, v1, v2, tma_lo          ; encoding: [0x05,0x00,0xda,0xd1,0x01,0x05,0xba,0x01]
0x05,0x00,0xda,0xd1,0x01,0x05,0xba,0x01

# CHECK: v_sad_hi_u8 v5, v1, v2, tma_hi          ; encoding: [0x05,0x00,0xda,0xd1,0x01,0x05,0xbe,0x01]
0x05,0x00,0xda,0xd1,0x01,0x05,0xbe,0x01

# CHECK: v_sad_hi_u8 v5, v1, v2, ttmp11          ; encoding: [0x05,0x00,0xda,0xd1,0x01,0x05,0xee,0x01]
0x05,0x00,0xda,0xd1,0x01,0x05,0xee,0x01

# CHECK: v_sad_hi_u8 v5, v1, v2, m0              ; encoding: [0x05,0x00,0xda,0xd1,0x01,0x05,0xf2,0x01]
0x05,0x00,0xda,0xd1,0x01,0x05,0xf2,0x01

# CHECK: v_sad_hi_u8 v5, v1, v2, exec_lo         ; encoding: [0x05,0x00,0xda,0xd1,0x01,0x05,0xfa,0x01]
0x05,0x00,0xda,0xd1,0x01,0x05,0xfa,0x01

# CHECK: v_sad_hi_u8 v5, v1, v2, exec_hi         ; encoding: [0x05,0x00,0xda,0xd1,0x01,0x05,0xfe,0x01]
0x05,0x00,0xda,0xd1,0x01,0x05,0xfe,0x01

# CHECK: v_sad_hi_u8 v5, v1, v2, 0               ; encoding: [0x05,0x00,0xda,0xd1,0x01,0x05,0x02,0x02]
0x05,0x00,0xda,0xd1,0x01,0x05,0x02,0x02

# CHECK: v_sad_hi_u8 v5, v1, v2, -1              ; encoding: [0x05,0x00,0xda,0xd1,0x01,0x05,0x06,0x03]
0x05,0x00,0xda,0xd1,0x01,0x05,0x06,0x03

# CHECK: v_sad_hi_u8 v5, v1, v2, 0.5             ; encoding: [0x05,0x00,0xda,0xd1,0x01,0x05,0xc2,0x03]
0x05,0x00,0xda,0xd1,0x01,0x05,0xc2,0x03

# CHECK: v_sad_hi_u8 v5, v1, v2, -4.0            ; encoding: [0x05,0x00,0xda,0xd1,0x01,0x05,0xde,0x03]
0x05,0x00,0xda,0xd1,0x01,0x05,0xde,0x03

# CHECK: v_sad_hi_u8 v5, v1, v2, v3 clamp        ; encoding: [0x05,0x80,0xda,0xd1,0x01,0x05,0x0e,0x04]
0x05,0x80,0xda,0xd1,0x01,0x05,0x0e,0x04

# CHECK: v_sad_u16 v5, v1, v2, v3                ; encoding: [0x05,0x00,0xdb,0xd1,0x01,0x05,0x0e,0x04]
0x05,0x00,0xdb,0xd1,0x01,0x05,0x0e,0x04

# CHECK: v_sad_u16 v255, v1, v2, v3              ; encoding: [0xff,0x00,0xdb,0xd1,0x01,0x05,0x0e,0x04]
0xff,0x00,0xdb,0xd1,0x01,0x05,0x0e,0x04

# CHECK: v_sad_u16 v5, v255, v2, v3              ; encoding: [0x05,0x00,0xdb,0xd1,0xff,0x05,0x0e,0x04]
0x05,0x00,0xdb,0xd1,0xff,0x05,0x0e,0x04

# CHECK: v_sad_u16 v5, s1, v2, v3                ; encoding: [0x05,0x00,0xdb,0xd1,0x01,0x04,0x0e,0x04]
0x05,0x00,0xdb,0xd1,0x01,0x04,0x0e,0x04

# CHECK: v_sad_u16 v5, s101, v2, v3              ; encoding: [0x05,0x00,0xdb,0xd1,0x65,0x04,0x0e,0x04]
0x05,0x00,0xdb,0xd1,0x65,0x04,0x0e,0x04

# CHECK: v_sad_u16 v5, flat_scratch_lo, v2, v3   ; encoding: [0x05,0x00,0xdb,0xd1,0x66,0x04,0x0e,0x04]
0x05,0x00,0xdb,0xd1,0x66,0x04,0x0e,0x04

# CHECK: v_sad_u16 v5, flat_scratch_hi, v2, v3   ; encoding: [0x05,0x00,0xdb,0xd1,0x67,0x04,0x0e,0x04]
0x05,0x00,0xdb,0xd1,0x67,0x04,0x0e,0x04

# CHECK: v_sad_u16 v5, vcc_lo, v2, v3            ; encoding: [0x05,0x00,0xdb,0xd1,0x6a,0x04,0x0e,0x04]
0x05,0x00,0xdb,0xd1,0x6a,0x04,0x0e,0x04

# CHECK: v_sad_u16 v5, vcc_hi, v2, v3            ; encoding: [0x05,0x00,0xdb,0xd1,0x6b,0x04,0x0e,0x04]
0x05,0x00,0xdb,0xd1,0x6b,0x04,0x0e,0x04

# CHECK: v_sad_u16 v5, tba_lo, v2, v3            ; encoding: [0x05,0x00,0xdb,0xd1,0x6c,0x04,0x0e,0x04]
0x05,0x00,0xdb,0xd1,0x6c,0x04,0x0e,0x04

# CHECK: v_sad_u16 v5, tba_hi, v2, v3            ; encoding: [0x05,0x00,0xdb,0xd1,0x6d,0x04,0x0e,0x04]
0x05,0x00,0xdb,0xd1,0x6d,0x04,0x0e,0x04

# CHECK: v_sad_u16 v5, tma_lo, v2, v3            ; encoding: [0x05,0x00,0xdb,0xd1,0x6e,0x04,0x0e,0x04]
0x05,0x00,0xdb,0xd1,0x6e,0x04,0x0e,0x04

# CHECK: v_sad_u16 v5, tma_hi, v2, v3            ; encoding: [0x05,0x00,0xdb,0xd1,0x6f,0x04,0x0e,0x04]
0x05,0x00,0xdb,0xd1,0x6f,0x04,0x0e,0x04

# CHECK: v_sad_u16 v5, ttmp11, v2, v3            ; encoding: [0x05,0x00,0xdb,0xd1,0x7b,0x04,0x0e,0x04]
0x05,0x00,0xdb,0xd1,0x7b,0x04,0x0e,0x04

# CHECK: v_sad_u16 v5, m0, v2, v3                ; encoding: [0x05,0x00,0xdb,0xd1,0x7c,0x04,0x0e,0x04]
0x05,0x00,0xdb,0xd1,0x7c,0x04,0x0e,0x04

# CHECK: v_sad_u16 v5, exec_lo, v2, v3           ; encoding: [0x05,0x00,0xdb,0xd1,0x7e,0x04,0x0e,0x04]
0x05,0x00,0xdb,0xd1,0x7e,0x04,0x0e,0x04

# CHECK: v_sad_u16 v5, exec_hi, v2, v3           ; encoding: [0x05,0x00,0xdb,0xd1,0x7f,0x04,0x0e,0x04]
0x05,0x00,0xdb,0xd1,0x7f,0x04,0x0e,0x04

# CHECK: v_sad_u16 v5, 0, v2, v3                 ; encoding: [0x05,0x00,0xdb,0xd1,0x80,0x04,0x0e,0x04]
0x05,0x00,0xdb,0xd1,0x80,0x04,0x0e,0x04

# CHECK: v_sad_u16 v5, -1, v2, v3                ; encoding: [0x05,0x00,0xdb,0xd1,0xc1,0x04,0x0e,0x04]
0x05,0x00,0xdb,0xd1,0xc1,0x04,0x0e,0x04

# CHECK: v_sad_u16 v5, 0.5, v2, v3               ; encoding: [0x05,0x00,0xdb,0xd1,0xf0,0x04,0x0e,0x04]
0x05,0x00,0xdb,0xd1,0xf0,0x04,0x0e,0x04

# CHECK: v_sad_u16 v5, -4.0, v2, v3              ; encoding: [0x05,0x00,0xdb,0xd1,0xf7,0x04,0x0e,0x04]
0x05,0x00,0xdb,0xd1,0xf7,0x04,0x0e,0x04

# CHECK: v_sad_u16 v5, v1, v255, v3              ; encoding: [0x05,0x00,0xdb,0xd1,0x01,0xff,0x0f,0x04]
0x05,0x00,0xdb,0xd1,0x01,0xff,0x0f,0x04

# CHECK: v_sad_u16 v5, v1, s2, v3                ; encoding: [0x05,0x00,0xdb,0xd1,0x01,0x05,0x0c,0x04]
0x05,0x00,0xdb,0xd1,0x01,0x05,0x0c,0x04

# CHECK: v_sad_u16 v5, v1, s101, v3              ; encoding: [0x05,0x00,0xdb,0xd1,0x01,0xcb,0x0c,0x04]
0x05,0x00,0xdb,0xd1,0x01,0xcb,0x0c,0x04

# CHECK: v_sad_u16 v5, v1, flat_scratch_lo, v3   ; encoding: [0x05,0x00,0xdb,0xd1,0x01,0xcd,0x0c,0x04]
0x05,0x00,0xdb,0xd1,0x01,0xcd,0x0c,0x04

# CHECK: v_sad_u16 v5, v1, flat_scratch_hi, v3   ; encoding: [0x05,0x00,0xdb,0xd1,0x01,0xcf,0x0c,0x04]
0x05,0x00,0xdb,0xd1,0x01,0xcf,0x0c,0x04

# CHECK: v_sad_u16 v5, v1, vcc_lo, v3            ; encoding: [0x05,0x00,0xdb,0xd1,0x01,0xd5,0x0c,0x04]
0x05,0x00,0xdb,0xd1,0x01,0xd5,0x0c,0x04

# CHECK: v_sad_u16 v5, v1, vcc_hi, v3            ; encoding: [0x05,0x00,0xdb,0xd1,0x01,0xd7,0x0c,0x04]
0x05,0x00,0xdb,0xd1,0x01,0xd7,0x0c,0x04

# CHECK: v_sad_u16 v5, v1, tba_lo, v3            ; encoding: [0x05,0x00,0xdb,0xd1,0x01,0xd9,0x0c,0x04]
0x05,0x00,0xdb,0xd1,0x01,0xd9,0x0c,0x04

# CHECK: v_sad_u16 v5, v1, tba_hi, v3            ; encoding: [0x05,0x00,0xdb,0xd1,0x01,0xdb,0x0c,0x04]
0x05,0x00,0xdb,0xd1,0x01,0xdb,0x0c,0x04

# CHECK: v_sad_u16 v5, v1, tma_lo, v3            ; encoding: [0x05,0x00,0xdb,0xd1,0x01,0xdd,0x0c,0x04]
0x05,0x00,0xdb,0xd1,0x01,0xdd,0x0c,0x04

# CHECK: v_sad_u16 v5, v1, tma_hi, v3            ; encoding: [0x05,0x00,0xdb,0xd1,0x01,0xdf,0x0c,0x04]
0x05,0x00,0xdb,0xd1,0x01,0xdf,0x0c,0x04

# CHECK: v_sad_u16 v5, v1, ttmp11, v3            ; encoding: [0x05,0x00,0xdb,0xd1,0x01,0xf7,0x0c,0x04]
0x05,0x00,0xdb,0xd1,0x01,0xf7,0x0c,0x04

# CHECK: v_sad_u16 v5, v1, m0, v3                ; encoding: [0x05,0x00,0xdb,0xd1,0x01,0xf9,0x0c,0x04]
0x05,0x00,0xdb,0xd1,0x01,0xf9,0x0c,0x04

# CHECK: v_sad_u16 v5, v1, exec_lo, v3           ; encoding: [0x05,0x00,0xdb,0xd1,0x01,0xfd,0x0c,0x04]
0x05,0x00,0xdb,0xd1,0x01,0xfd,0x0c,0x04

# CHECK: v_sad_u16 v5, v1, exec_hi, v3           ; encoding: [0x05,0x00,0xdb,0xd1,0x01,0xff,0x0c,0x04]
0x05,0x00,0xdb,0xd1,0x01,0xff,0x0c,0x04

# CHECK: v_sad_u16 v5, v1, 0, v3                 ; encoding: [0x05,0x00,0xdb,0xd1,0x01,0x01,0x0d,0x04]
0x05,0x00,0xdb,0xd1,0x01,0x01,0x0d,0x04

# CHECK: v_sad_u16 v5, v1, -1, v3                ; encoding: [0x05,0x00,0xdb,0xd1,0x01,0x83,0x0d,0x04]
0x05,0x00,0xdb,0xd1,0x01,0x83,0x0d,0x04

# CHECK: v_sad_u16 v5, v1, 0.5, v3               ; encoding: [0x05,0x00,0xdb,0xd1,0x01,0xe1,0x0d,0x04]
0x05,0x00,0xdb,0xd1,0x01,0xe1,0x0d,0x04

# CHECK: v_sad_u16 v5, v1, -4.0, v3              ; encoding: [0x05,0x00,0xdb,0xd1,0x01,0xef,0x0d,0x04]
0x05,0x00,0xdb,0xd1,0x01,0xef,0x0d,0x04

# CHECK: v_sad_u16 v5, v1, v2, v255              ; encoding: [0x05,0x00,0xdb,0xd1,0x01,0x05,0xfe,0x07]
0x05,0x00,0xdb,0xd1,0x01,0x05,0xfe,0x07

# CHECK: v_sad_u16 v5, v1, v2, s3                ; encoding: [0x05,0x00,0xdb,0xd1,0x01,0x05,0x0e,0x00]
0x05,0x00,0xdb,0xd1,0x01,0x05,0x0e,0x00

# CHECK: v_sad_u16 v5, v1, v2, s101              ; encoding: [0x05,0x00,0xdb,0xd1,0x01,0x05,0x96,0x01]
0x05,0x00,0xdb,0xd1,0x01,0x05,0x96,0x01

# CHECK: v_sad_u16 v5, v1, v2, flat_scratch_lo   ; encoding: [0x05,0x00,0xdb,0xd1,0x01,0x05,0x9a,0x01]
0x05,0x00,0xdb,0xd1,0x01,0x05,0x9a,0x01

# CHECK: v_sad_u16 v5, v1, v2, flat_scratch_hi   ; encoding: [0x05,0x00,0xdb,0xd1,0x01,0x05,0x9e,0x01]
0x05,0x00,0xdb,0xd1,0x01,0x05,0x9e,0x01

# CHECK: v_sad_u16 v5, v1, v2, vcc_lo            ; encoding: [0x05,0x00,0xdb,0xd1,0x01,0x05,0xaa,0x01]
0x05,0x00,0xdb,0xd1,0x01,0x05,0xaa,0x01

# CHECK: v_sad_u16 v5, v1, v2, vcc_hi            ; encoding: [0x05,0x00,0xdb,0xd1,0x01,0x05,0xae,0x01]
0x05,0x00,0xdb,0xd1,0x01,0x05,0xae,0x01

# CHECK: v_sad_u16 v5, v1, v2, tba_lo            ; encoding: [0x05,0x00,0xdb,0xd1,0x01,0x05,0xb2,0x01]
0x05,0x00,0xdb,0xd1,0x01,0x05,0xb2,0x01

# CHECK: v_sad_u16 v5, v1, v2, tba_hi            ; encoding: [0x05,0x00,0xdb,0xd1,0x01,0x05,0xb6,0x01]
0x05,0x00,0xdb,0xd1,0x01,0x05,0xb6,0x01

# CHECK: v_sad_u16 v5, v1, v2, tma_lo            ; encoding: [0x05,0x00,0xdb,0xd1,0x01,0x05,0xba,0x01]
0x05,0x00,0xdb,0xd1,0x01,0x05,0xba,0x01

# CHECK: v_sad_u16 v5, v1, v2, tma_hi            ; encoding: [0x05,0x00,0xdb,0xd1,0x01,0x05,0xbe,0x01]
0x05,0x00,0xdb,0xd1,0x01,0x05,0xbe,0x01

# CHECK: v_sad_u16 v5, v1, v2, ttmp11            ; encoding: [0x05,0x00,0xdb,0xd1,0x01,0x05,0xee,0x01]
0x05,0x00,0xdb,0xd1,0x01,0x05,0xee,0x01

# CHECK: v_sad_u16 v5, v1, v2, m0                ; encoding: [0x05,0x00,0xdb,0xd1,0x01,0x05,0xf2,0x01]
0x05,0x00,0xdb,0xd1,0x01,0x05,0xf2,0x01

# CHECK: v_sad_u16 v5, v1, v2, exec_lo           ; encoding: [0x05,0x00,0xdb,0xd1,0x01,0x05,0xfa,0x01]
0x05,0x00,0xdb,0xd1,0x01,0x05,0xfa,0x01

# CHECK: v_sad_u16 v5, v1, v2, exec_hi           ; encoding: [0x05,0x00,0xdb,0xd1,0x01,0x05,0xfe,0x01]
0x05,0x00,0xdb,0xd1,0x01,0x05,0xfe,0x01

# CHECK: v_sad_u16 v5, v1, v2, 0                 ; encoding: [0x05,0x00,0xdb,0xd1,0x01,0x05,0x02,0x02]
0x05,0x00,0xdb,0xd1,0x01,0x05,0x02,0x02

# CHECK: v_sad_u16 v5, v1, v2, -1                ; encoding: [0x05,0x00,0xdb,0xd1,0x01,0x05,0x06,0x03]
0x05,0x00,0xdb,0xd1,0x01,0x05,0x06,0x03

# CHECK: v_sad_u16 v5, v1, v2, 0.5               ; encoding: [0x05,0x00,0xdb,0xd1,0x01,0x05,0xc2,0x03]
0x05,0x00,0xdb,0xd1,0x01,0x05,0xc2,0x03

# CHECK: v_sad_u16 v5, v1, v2, -4.0              ; encoding: [0x05,0x00,0xdb,0xd1,0x01,0x05,0xde,0x03]
0x05,0x00,0xdb,0xd1,0x01,0x05,0xde,0x03

# CHECK: v_sad_u16 v5, v1, v2, v3 clamp          ; encoding: [0x05,0x80,0xdb,0xd1,0x01,0x05,0x0e,0x04]
0x05,0x80,0xdb,0xd1,0x01,0x05,0x0e,0x04

# CHECK: v_sad_u32 v5, v1, v2, v3                ; encoding: [0x05,0x00,0xdc,0xd1,0x01,0x05,0x0e,0x04]
0x05,0x00,0xdc,0xd1,0x01,0x05,0x0e,0x04

# CHECK: v_sad_u32 v255, v1, v2, v3              ; encoding: [0xff,0x00,0xdc,0xd1,0x01,0x05,0x0e,0x04]
0xff,0x00,0xdc,0xd1,0x01,0x05,0x0e,0x04

# CHECK: v_sad_u32 v5, v255, v2, v3              ; encoding: [0x05,0x00,0xdc,0xd1,0xff,0x05,0x0e,0x04]
0x05,0x00,0xdc,0xd1,0xff,0x05,0x0e,0x04

# CHECK: v_sad_u32 v5, s1, v2, v3                ; encoding: [0x05,0x00,0xdc,0xd1,0x01,0x04,0x0e,0x04]
0x05,0x00,0xdc,0xd1,0x01,0x04,0x0e,0x04

# CHECK: v_sad_u32 v5, s101, v2, v3              ; encoding: [0x05,0x00,0xdc,0xd1,0x65,0x04,0x0e,0x04]
0x05,0x00,0xdc,0xd1,0x65,0x04,0x0e,0x04

# CHECK: v_sad_u32 v5, flat_scratch_lo, v2, v3   ; encoding: [0x05,0x00,0xdc,0xd1,0x66,0x04,0x0e,0x04]
0x05,0x00,0xdc,0xd1,0x66,0x04,0x0e,0x04

# CHECK: v_sad_u32 v5, flat_scratch_hi, v2, v3   ; encoding: [0x05,0x00,0xdc,0xd1,0x67,0x04,0x0e,0x04]
0x05,0x00,0xdc,0xd1,0x67,0x04,0x0e,0x04

# CHECK: v_sad_u32 v5, vcc_lo, v2, v3            ; encoding: [0x05,0x00,0xdc,0xd1,0x6a,0x04,0x0e,0x04]
0x05,0x00,0xdc,0xd1,0x6a,0x04,0x0e,0x04

# CHECK: v_sad_u32 v5, vcc_hi, v2, v3            ; encoding: [0x05,0x00,0xdc,0xd1,0x6b,0x04,0x0e,0x04]
0x05,0x00,0xdc,0xd1,0x6b,0x04,0x0e,0x04

# CHECK: v_sad_u32 v5, tba_lo, v2, v3            ; encoding: [0x05,0x00,0xdc,0xd1,0x6c,0x04,0x0e,0x04]
0x05,0x00,0xdc,0xd1,0x6c,0x04,0x0e,0x04

# CHECK: v_sad_u32 v5, tba_hi, v2, v3            ; encoding: [0x05,0x00,0xdc,0xd1,0x6d,0x04,0x0e,0x04]
0x05,0x00,0xdc,0xd1,0x6d,0x04,0x0e,0x04

# CHECK: v_sad_u32 v5, tma_lo, v2, v3            ; encoding: [0x05,0x00,0xdc,0xd1,0x6e,0x04,0x0e,0x04]
0x05,0x00,0xdc,0xd1,0x6e,0x04,0x0e,0x04

# CHECK: v_sad_u32 v5, tma_hi, v2, v3            ; encoding: [0x05,0x00,0xdc,0xd1,0x6f,0x04,0x0e,0x04]
0x05,0x00,0xdc,0xd1,0x6f,0x04,0x0e,0x04

# CHECK: v_sad_u32 v5, ttmp11, v2, v3            ; encoding: [0x05,0x00,0xdc,0xd1,0x7b,0x04,0x0e,0x04]
0x05,0x00,0xdc,0xd1,0x7b,0x04,0x0e,0x04

# CHECK: v_sad_u32 v5, m0, v2, v3                ; encoding: [0x05,0x00,0xdc,0xd1,0x7c,0x04,0x0e,0x04]
0x05,0x00,0xdc,0xd1,0x7c,0x04,0x0e,0x04

# CHECK: v_sad_u32 v5, exec_lo, v2, v3           ; encoding: [0x05,0x00,0xdc,0xd1,0x7e,0x04,0x0e,0x04]
0x05,0x00,0xdc,0xd1,0x7e,0x04,0x0e,0x04

# CHECK: v_sad_u32 v5, exec_hi, v2, v3           ; encoding: [0x05,0x00,0xdc,0xd1,0x7f,0x04,0x0e,0x04]
0x05,0x00,0xdc,0xd1,0x7f,0x04,0x0e,0x04

# CHECK: v_sad_u32 v5, 0, v2, v3                 ; encoding: [0x05,0x00,0xdc,0xd1,0x80,0x04,0x0e,0x04]
0x05,0x00,0xdc,0xd1,0x80,0x04,0x0e,0x04

# CHECK: v_sad_u32 v5, -1, v2, v3                ; encoding: [0x05,0x00,0xdc,0xd1,0xc1,0x04,0x0e,0x04]
0x05,0x00,0xdc,0xd1,0xc1,0x04,0x0e,0x04

# CHECK: v_sad_u32 v5, 0.5, v2, v3               ; encoding: [0x05,0x00,0xdc,0xd1,0xf0,0x04,0x0e,0x04]
0x05,0x00,0xdc,0xd1,0xf0,0x04,0x0e,0x04

# CHECK: v_sad_u32 v5, -4.0, v2, v3              ; encoding: [0x05,0x00,0xdc,0xd1,0xf7,0x04,0x0e,0x04]
0x05,0x00,0xdc,0xd1,0xf7,0x04,0x0e,0x04

# CHECK: v_sad_u32 v5, v1, v255, v3              ; encoding: [0x05,0x00,0xdc,0xd1,0x01,0xff,0x0f,0x04]
0x05,0x00,0xdc,0xd1,0x01,0xff,0x0f,0x04

# CHECK: v_sad_u32 v5, v1, s2, v3                ; encoding: [0x05,0x00,0xdc,0xd1,0x01,0x05,0x0c,0x04]
0x05,0x00,0xdc,0xd1,0x01,0x05,0x0c,0x04

# CHECK: v_sad_u32 v5, v1, s101, v3              ; encoding: [0x05,0x00,0xdc,0xd1,0x01,0xcb,0x0c,0x04]
0x05,0x00,0xdc,0xd1,0x01,0xcb,0x0c,0x04

# CHECK: v_sad_u32 v5, v1, flat_scratch_lo, v3   ; encoding: [0x05,0x00,0xdc,0xd1,0x01,0xcd,0x0c,0x04]
0x05,0x00,0xdc,0xd1,0x01,0xcd,0x0c,0x04

# CHECK: v_sad_u32 v5, v1, flat_scratch_hi, v3   ; encoding: [0x05,0x00,0xdc,0xd1,0x01,0xcf,0x0c,0x04]
0x05,0x00,0xdc,0xd1,0x01,0xcf,0x0c,0x04

# CHECK: v_sad_u32 v5, v1, vcc_lo, v3            ; encoding: [0x05,0x00,0xdc,0xd1,0x01,0xd5,0x0c,0x04]
0x05,0x00,0xdc,0xd1,0x01,0xd5,0x0c,0x04

# CHECK: v_sad_u32 v5, v1, vcc_hi, v3            ; encoding: [0x05,0x00,0xdc,0xd1,0x01,0xd7,0x0c,0x04]
0x05,0x00,0xdc,0xd1,0x01,0xd7,0x0c,0x04

# CHECK: v_sad_u32 v5, v1, tba_lo, v3            ; encoding: [0x05,0x00,0xdc,0xd1,0x01,0xd9,0x0c,0x04]
0x05,0x00,0xdc,0xd1,0x01,0xd9,0x0c,0x04

# CHECK: v_sad_u32 v5, v1, tba_hi, v3            ; encoding: [0x05,0x00,0xdc,0xd1,0x01,0xdb,0x0c,0x04]
0x05,0x00,0xdc,0xd1,0x01,0xdb,0x0c,0x04

# CHECK: v_sad_u32 v5, v1, tma_lo, v3            ; encoding: [0x05,0x00,0xdc,0xd1,0x01,0xdd,0x0c,0x04]
0x05,0x00,0xdc,0xd1,0x01,0xdd,0x0c,0x04

# CHECK: v_sad_u32 v5, v1, tma_hi, v3            ; encoding: [0x05,0x00,0xdc,0xd1,0x01,0xdf,0x0c,0x04]
0x05,0x00,0xdc,0xd1,0x01,0xdf,0x0c,0x04

# CHECK: v_sad_u32 v5, v1, ttmp11, v3            ; encoding: [0x05,0x00,0xdc,0xd1,0x01,0xf7,0x0c,0x04]
0x05,0x00,0xdc,0xd1,0x01,0xf7,0x0c,0x04

# CHECK: v_sad_u32 v5, v1, m0, v3                ; encoding: [0x05,0x00,0xdc,0xd1,0x01,0xf9,0x0c,0x04]
0x05,0x00,0xdc,0xd1,0x01,0xf9,0x0c,0x04

# CHECK: v_sad_u32 v5, v1, exec_lo, v3           ; encoding: [0x05,0x00,0xdc,0xd1,0x01,0xfd,0x0c,0x04]
0x05,0x00,0xdc,0xd1,0x01,0xfd,0x0c,0x04

# CHECK: v_sad_u32 v5, v1, exec_hi, v3           ; encoding: [0x05,0x00,0xdc,0xd1,0x01,0xff,0x0c,0x04]
0x05,0x00,0xdc,0xd1,0x01,0xff,0x0c,0x04

# CHECK: v_sad_u32 v5, v1, 0, v3                 ; encoding: [0x05,0x00,0xdc,0xd1,0x01,0x01,0x0d,0x04]
0x05,0x00,0xdc,0xd1,0x01,0x01,0x0d,0x04

# CHECK: v_sad_u32 v5, v1, -1, v3                ; encoding: [0x05,0x00,0xdc,0xd1,0x01,0x83,0x0d,0x04]
0x05,0x00,0xdc,0xd1,0x01,0x83,0x0d,0x04

# CHECK: v_sad_u32 v5, v1, 0.5, v3               ; encoding: [0x05,0x00,0xdc,0xd1,0x01,0xe1,0x0d,0x04]
0x05,0x00,0xdc,0xd1,0x01,0xe1,0x0d,0x04

# CHECK: v_sad_u32 v5, v1, -4.0, v3              ; encoding: [0x05,0x00,0xdc,0xd1,0x01,0xef,0x0d,0x04]
0x05,0x00,0xdc,0xd1,0x01,0xef,0x0d,0x04

# CHECK: v_sad_u32 v5, v1, v2, v255              ; encoding: [0x05,0x00,0xdc,0xd1,0x01,0x05,0xfe,0x07]
0x05,0x00,0xdc,0xd1,0x01,0x05,0xfe,0x07

# CHECK: v_sad_u32 v5, v1, v2, s3                ; encoding: [0x05,0x00,0xdc,0xd1,0x01,0x05,0x0e,0x00]
0x05,0x00,0xdc,0xd1,0x01,0x05,0x0e,0x00

# CHECK: v_sad_u32 v5, v1, v2, s101              ; encoding: [0x05,0x00,0xdc,0xd1,0x01,0x05,0x96,0x01]
0x05,0x00,0xdc,0xd1,0x01,0x05,0x96,0x01

# CHECK: v_sad_u32 v5, v1, v2, flat_scratch_lo   ; encoding: [0x05,0x00,0xdc,0xd1,0x01,0x05,0x9a,0x01]
0x05,0x00,0xdc,0xd1,0x01,0x05,0x9a,0x01

# CHECK: v_sad_u32 v5, v1, v2, flat_scratch_hi   ; encoding: [0x05,0x00,0xdc,0xd1,0x01,0x05,0x9e,0x01]
0x05,0x00,0xdc,0xd1,0x01,0x05,0x9e,0x01

# CHECK: v_sad_u32 v5, v1, v2, vcc_lo            ; encoding: [0x05,0x00,0xdc,0xd1,0x01,0x05,0xaa,0x01]
0x05,0x00,0xdc,0xd1,0x01,0x05,0xaa,0x01

# CHECK: v_sad_u32 v5, v1, v2, vcc_hi            ; encoding: [0x05,0x00,0xdc,0xd1,0x01,0x05,0xae,0x01]
0x05,0x00,0xdc,0xd1,0x01,0x05,0xae,0x01

# CHECK: v_sad_u32 v5, v1, v2, tba_lo            ; encoding: [0x05,0x00,0xdc,0xd1,0x01,0x05,0xb2,0x01]
0x05,0x00,0xdc,0xd1,0x01,0x05,0xb2,0x01

# CHECK: v_sad_u32 v5, v1, v2, tba_hi            ; encoding: [0x05,0x00,0xdc,0xd1,0x01,0x05,0xb6,0x01]
0x05,0x00,0xdc,0xd1,0x01,0x05,0xb6,0x01

# CHECK: v_sad_u32 v5, v1, v2, tma_lo            ; encoding: [0x05,0x00,0xdc,0xd1,0x01,0x05,0xba,0x01]
0x05,0x00,0xdc,0xd1,0x01,0x05,0xba,0x01

# CHECK: v_sad_u32 v5, v1, v2, tma_hi            ; encoding: [0x05,0x00,0xdc,0xd1,0x01,0x05,0xbe,0x01]
0x05,0x00,0xdc,0xd1,0x01,0x05,0xbe,0x01

# CHECK: v_sad_u32 v5, v1, v2, ttmp11            ; encoding: [0x05,0x00,0xdc,0xd1,0x01,0x05,0xee,0x01]
0x05,0x00,0xdc,0xd1,0x01,0x05,0xee,0x01

# CHECK: v_sad_u32 v5, v1, v2, m0                ; encoding: [0x05,0x00,0xdc,0xd1,0x01,0x05,0xf2,0x01]
0x05,0x00,0xdc,0xd1,0x01,0x05,0xf2,0x01

# CHECK: v_sad_u32 v5, v1, v2, exec_lo           ; encoding: [0x05,0x00,0xdc,0xd1,0x01,0x05,0xfa,0x01]
0x05,0x00,0xdc,0xd1,0x01,0x05,0xfa,0x01

# CHECK: v_sad_u32 v5, v1, v2, exec_hi           ; encoding: [0x05,0x00,0xdc,0xd1,0x01,0x05,0xfe,0x01]
0x05,0x00,0xdc,0xd1,0x01,0x05,0xfe,0x01

# CHECK: v_sad_u32 v5, v1, v2, 0                 ; encoding: [0x05,0x00,0xdc,0xd1,0x01,0x05,0x02,0x02]
0x05,0x00,0xdc,0xd1,0x01,0x05,0x02,0x02

# CHECK: v_sad_u32 v5, v1, v2, -1                ; encoding: [0x05,0x00,0xdc,0xd1,0x01,0x05,0x06,0x03]
0x05,0x00,0xdc,0xd1,0x01,0x05,0x06,0x03

# CHECK: v_sad_u32 v5, v1, v2, 0.5               ; encoding: [0x05,0x00,0xdc,0xd1,0x01,0x05,0xc2,0x03]
0x05,0x00,0xdc,0xd1,0x01,0x05,0xc2,0x03

# CHECK: v_sad_u32 v5, v1, v2, -4.0              ; encoding: [0x05,0x00,0xdc,0xd1,0x01,0x05,0xde,0x03]
0x05,0x00,0xdc,0xd1,0x01,0x05,0xde,0x03

# CHECK: v_sad_u32 v5, v1, v2, v3 clamp          ; encoding: [0x05,0x80,0xdc,0xd1,0x01,0x05,0x0e,0x04]
0x05,0x80,0xdc,0xd1,0x01,0x05,0x0e,0x04

# CHECK: v_cvt_pk_u8_f32 v5, v1, v2, v3          ; encoding: [0x05,0x00,0xdd,0xd1,0x01,0x05,0x0e,0x04]
0x05,0x00,0xdd,0xd1,0x01,0x05,0x0e,0x04

# CHECK: v_cvt_pk_u8_f32 v255, v1, v2, v3        ; encoding: [0xff,0x00,0xdd,0xd1,0x01,0x05,0x0e,0x04]
0xff,0x00,0xdd,0xd1,0x01,0x05,0x0e,0x04

# CHECK: v_cvt_pk_u8_f32 v5, v255, v2, v3        ; encoding: [0x05,0x00,0xdd,0xd1,0xff,0x05,0x0e,0x04]
0x05,0x00,0xdd,0xd1,0xff,0x05,0x0e,0x04

# CHECK: v_cvt_pk_u8_f32 v5, s1, v2, v3          ; encoding: [0x05,0x00,0xdd,0xd1,0x01,0x04,0x0e,0x04]
0x05,0x00,0xdd,0xd1,0x01,0x04,0x0e,0x04

# CHECK: v_cvt_pk_u8_f32 v5, s101, v2, v3        ; encoding: [0x05,0x00,0xdd,0xd1,0x65,0x04,0x0e,0x04]
0x05,0x00,0xdd,0xd1,0x65,0x04,0x0e,0x04

# CHECK: v_cvt_pk_u8_f32 v5, flat_scratch_lo, v2, v3 ; encoding: [0x05,0x00,0xdd,0xd1,0x66,0x04,0x0e,0x04]
0x05,0x00,0xdd,0xd1,0x66,0x04,0x0e,0x04

# CHECK: v_cvt_pk_u8_f32 v5, flat_scratch_hi, v2, v3 ; encoding: [0x05,0x00,0xdd,0xd1,0x67,0x04,0x0e,0x04]
0x05,0x00,0xdd,0xd1,0x67,0x04,0x0e,0x04

# CHECK: v_cvt_pk_u8_f32 v5, vcc_lo, v2, v3      ; encoding: [0x05,0x00,0xdd,0xd1,0x6a,0x04,0x0e,0x04]
0x05,0x00,0xdd,0xd1,0x6a,0x04,0x0e,0x04

# CHECK: v_cvt_pk_u8_f32 v5, vcc_hi, v2, v3      ; encoding: [0x05,0x00,0xdd,0xd1,0x6b,0x04,0x0e,0x04]
0x05,0x00,0xdd,0xd1,0x6b,0x04,0x0e,0x04

# CHECK: v_cvt_pk_u8_f32 v5, tba_lo, v2, v3      ; encoding: [0x05,0x00,0xdd,0xd1,0x6c,0x04,0x0e,0x04]
0x05,0x00,0xdd,0xd1,0x6c,0x04,0x0e,0x04

# CHECK: v_cvt_pk_u8_f32 v5, tba_hi, v2, v3      ; encoding: [0x05,0x00,0xdd,0xd1,0x6d,0x04,0x0e,0x04]
0x05,0x00,0xdd,0xd1,0x6d,0x04,0x0e,0x04

# CHECK: v_cvt_pk_u8_f32 v5, tma_lo, v2, v3      ; encoding: [0x05,0x00,0xdd,0xd1,0x6e,0x04,0x0e,0x04]
0x05,0x00,0xdd,0xd1,0x6e,0x04,0x0e,0x04

# CHECK: v_cvt_pk_u8_f32 v5, tma_hi, v2, v3      ; encoding: [0x05,0x00,0xdd,0xd1,0x6f,0x04,0x0e,0x04]
0x05,0x00,0xdd,0xd1,0x6f,0x04,0x0e,0x04

# CHECK: v_cvt_pk_u8_f32 v5, ttmp11, v2, v3      ; encoding: [0x05,0x00,0xdd,0xd1,0x7b,0x04,0x0e,0x04]
0x05,0x00,0xdd,0xd1,0x7b,0x04,0x0e,0x04

# CHECK: v_cvt_pk_u8_f32 v5, m0, v2, v3          ; encoding: [0x05,0x00,0xdd,0xd1,0x7c,0x04,0x0e,0x04]
0x05,0x00,0xdd,0xd1,0x7c,0x04,0x0e,0x04

# CHECK: v_cvt_pk_u8_f32 v5, exec_lo, v2, v3     ; encoding: [0x05,0x00,0xdd,0xd1,0x7e,0x04,0x0e,0x04]
0x05,0x00,0xdd,0xd1,0x7e,0x04,0x0e,0x04

# CHECK: v_cvt_pk_u8_f32 v5, exec_hi, v2, v3     ; encoding: [0x05,0x00,0xdd,0xd1,0x7f,0x04,0x0e,0x04]
0x05,0x00,0xdd,0xd1,0x7f,0x04,0x0e,0x04

# CHECK: v_cvt_pk_u8_f32 v5, 0, v2, v3           ; encoding: [0x05,0x00,0xdd,0xd1,0x80,0x04,0x0e,0x04]
0x05,0x00,0xdd,0xd1,0x80,0x04,0x0e,0x04

# CHECK: v_cvt_pk_u8_f32 v5, -1, v2, v3          ; encoding: [0x05,0x00,0xdd,0xd1,0xc1,0x04,0x0e,0x04]
0x05,0x00,0xdd,0xd1,0xc1,0x04,0x0e,0x04

# CHECK: v_cvt_pk_u8_f32 v5, 0.5, v2, v3         ; encoding: [0x05,0x00,0xdd,0xd1,0xf0,0x04,0x0e,0x04]
0x05,0x00,0xdd,0xd1,0xf0,0x04,0x0e,0x04

# CHECK: v_cvt_pk_u8_f32 v5, -4.0, v2, v3        ; encoding: [0x05,0x00,0xdd,0xd1,0xf7,0x04,0x0e,0x04]
0x05,0x00,0xdd,0xd1,0xf7,0x04,0x0e,0x04

# CHECK: v_cvt_pk_u8_f32 v5, v1, v255, v3        ; encoding: [0x05,0x00,0xdd,0xd1,0x01,0xff,0x0f,0x04]
0x05,0x00,0xdd,0xd1,0x01,0xff,0x0f,0x04

# CHECK: v_cvt_pk_u8_f32 v5, v1, s2, v3          ; encoding: [0x05,0x00,0xdd,0xd1,0x01,0x05,0x0c,0x04]
0x05,0x00,0xdd,0xd1,0x01,0x05,0x0c,0x04

# CHECK: v_cvt_pk_u8_f32 v5, v1, s101, v3        ; encoding: [0x05,0x00,0xdd,0xd1,0x01,0xcb,0x0c,0x04]
0x05,0x00,0xdd,0xd1,0x01,0xcb,0x0c,0x04

# CHECK: v_cvt_pk_u8_f32 v5, v1, flat_scratch_lo, v3 ; encoding: [0x05,0x00,0xdd,0xd1,0x01,0xcd,0x0c,0x04]
0x05,0x00,0xdd,0xd1,0x01,0xcd,0x0c,0x04

# CHECK: v_cvt_pk_u8_f32 v5, v1, flat_scratch_hi, v3 ; encoding: [0x05,0x00,0xdd,0xd1,0x01,0xcf,0x0c,0x04]
0x05,0x00,0xdd,0xd1,0x01,0xcf,0x0c,0x04

# CHECK: v_cvt_pk_u8_f32 v5, v1, vcc_lo, v3      ; encoding: [0x05,0x00,0xdd,0xd1,0x01,0xd5,0x0c,0x04]
0x05,0x00,0xdd,0xd1,0x01,0xd5,0x0c,0x04

# CHECK: v_cvt_pk_u8_f32 v5, v1, vcc_hi, v3      ; encoding: [0x05,0x00,0xdd,0xd1,0x01,0xd7,0x0c,0x04]
0x05,0x00,0xdd,0xd1,0x01,0xd7,0x0c,0x04

# CHECK: v_cvt_pk_u8_f32 v5, v1, tba_lo, v3      ; encoding: [0x05,0x00,0xdd,0xd1,0x01,0xd9,0x0c,0x04]
0x05,0x00,0xdd,0xd1,0x01,0xd9,0x0c,0x04

# CHECK: v_cvt_pk_u8_f32 v5, v1, tba_hi, v3      ; encoding: [0x05,0x00,0xdd,0xd1,0x01,0xdb,0x0c,0x04]
0x05,0x00,0xdd,0xd1,0x01,0xdb,0x0c,0x04

# CHECK: v_cvt_pk_u8_f32 v5, v1, tma_lo, v3      ; encoding: [0x05,0x00,0xdd,0xd1,0x01,0xdd,0x0c,0x04]
0x05,0x00,0xdd,0xd1,0x01,0xdd,0x0c,0x04

# CHECK: v_cvt_pk_u8_f32 v5, v1, tma_hi, v3      ; encoding: [0x05,0x00,0xdd,0xd1,0x01,0xdf,0x0c,0x04]
0x05,0x00,0xdd,0xd1,0x01,0xdf,0x0c,0x04

# CHECK: v_cvt_pk_u8_f32 v5, v1, ttmp11, v3      ; encoding: [0x05,0x00,0xdd,0xd1,0x01,0xf7,0x0c,0x04]
0x05,0x00,0xdd,0xd1,0x01,0xf7,0x0c,0x04

# CHECK: v_cvt_pk_u8_f32 v5, v1, m0, v3          ; encoding: [0x05,0x00,0xdd,0xd1,0x01,0xf9,0x0c,0x04]
0x05,0x00,0xdd,0xd1,0x01,0xf9,0x0c,0x04

# CHECK: v_cvt_pk_u8_f32 v5, v1, exec_lo, v3     ; encoding: [0x05,0x00,0xdd,0xd1,0x01,0xfd,0x0c,0x04]
0x05,0x00,0xdd,0xd1,0x01,0xfd,0x0c,0x04

# CHECK: v_cvt_pk_u8_f32 v5, v1, exec_hi, v3     ; encoding: [0x05,0x00,0xdd,0xd1,0x01,0xff,0x0c,0x04]
0x05,0x00,0xdd,0xd1,0x01,0xff,0x0c,0x04

# CHECK: v_cvt_pk_u8_f32 v5, v1, 0, v3           ; encoding: [0x05,0x00,0xdd,0xd1,0x01,0x01,0x0d,0x04]
0x05,0x00,0xdd,0xd1,0x01,0x01,0x0d,0x04

# CHECK: v_cvt_pk_u8_f32 v5, v1, -1, v3          ; encoding: [0x05,0x00,0xdd,0xd1,0x01,0x83,0x0d,0x04]
0x05,0x00,0xdd,0xd1,0x01,0x83,0x0d,0x04

# CHECK: v_cvt_pk_u8_f32 v5, v1, 0.5, v3         ; encoding: [0x05,0x00,0xdd,0xd1,0x01,0xe1,0x0d,0x04]
0x05,0x00,0xdd,0xd1,0x01,0xe1,0x0d,0x04

# CHECK: v_cvt_pk_u8_f32 v5, v1, -4.0, v3        ; encoding: [0x05,0x00,0xdd,0xd1,0x01,0xef,0x0d,0x04]
0x05,0x00,0xdd,0xd1,0x01,0xef,0x0d,0x04

# CHECK: v_cvt_pk_u8_f32 v5, v1, v2, v255        ; encoding: [0x05,0x00,0xdd,0xd1,0x01,0x05,0xfe,0x07]
0x05,0x00,0xdd,0xd1,0x01,0x05,0xfe,0x07

# CHECK: v_cvt_pk_u8_f32 v5, v1, v2, s3          ; encoding: [0x05,0x00,0xdd,0xd1,0x01,0x05,0x0e,0x00]
0x05,0x00,0xdd,0xd1,0x01,0x05,0x0e,0x00

# CHECK: v_cvt_pk_u8_f32 v5, v1, v2, s101        ; encoding: [0x05,0x00,0xdd,0xd1,0x01,0x05,0x96,0x01]
0x05,0x00,0xdd,0xd1,0x01,0x05,0x96,0x01

# CHECK: v_cvt_pk_u8_f32 v5, v1, v2, flat_scratch_lo ; encoding: [0x05,0x00,0xdd,0xd1,0x01,0x05,0x9a,0x01]
0x05,0x00,0xdd,0xd1,0x01,0x05,0x9a,0x01

# CHECK: v_cvt_pk_u8_f32 v5, v1, v2, flat_scratch_hi ; encoding: [0x05,0x00,0xdd,0xd1,0x01,0x05,0x9e,0x01]
0x05,0x00,0xdd,0xd1,0x01,0x05,0x9e,0x01

# CHECK: v_cvt_pk_u8_f32 v5, v1, v2, vcc_lo      ; encoding: [0x05,0x00,0xdd,0xd1,0x01,0x05,0xaa,0x01]
0x05,0x00,0xdd,0xd1,0x01,0x05,0xaa,0x01

# CHECK: v_cvt_pk_u8_f32 v5, v1, v2, vcc_hi      ; encoding: [0x05,0x00,0xdd,0xd1,0x01,0x05,0xae,0x01]
0x05,0x00,0xdd,0xd1,0x01,0x05,0xae,0x01

# CHECK: v_cvt_pk_u8_f32 v5, v1, v2, tba_lo      ; encoding: [0x05,0x00,0xdd,0xd1,0x01,0x05,0xb2,0x01]
0x05,0x00,0xdd,0xd1,0x01,0x05,0xb2,0x01

# CHECK: v_cvt_pk_u8_f32 v5, v1, v2, tba_hi      ; encoding: [0x05,0x00,0xdd,0xd1,0x01,0x05,0xb6,0x01]
0x05,0x00,0xdd,0xd1,0x01,0x05,0xb6,0x01

# CHECK: v_cvt_pk_u8_f32 v5, v1, v2, tma_lo      ; encoding: [0x05,0x00,0xdd,0xd1,0x01,0x05,0xba,0x01]
0x05,0x00,0xdd,0xd1,0x01,0x05,0xba,0x01

# CHECK: v_cvt_pk_u8_f32 v5, v1, v2, tma_hi      ; encoding: [0x05,0x00,0xdd,0xd1,0x01,0x05,0xbe,0x01]
0x05,0x00,0xdd,0xd1,0x01,0x05,0xbe,0x01

# CHECK: v_cvt_pk_u8_f32 v5, v1, v2, ttmp11      ; encoding: [0x05,0x00,0xdd,0xd1,0x01,0x05,0xee,0x01]
0x05,0x00,0xdd,0xd1,0x01,0x05,0xee,0x01

# CHECK: v_cvt_pk_u8_f32 v5, v1, v2, m0          ; encoding: [0x05,0x00,0xdd,0xd1,0x01,0x05,0xf2,0x01]
0x05,0x00,0xdd,0xd1,0x01,0x05,0xf2,0x01

# CHECK: v_cvt_pk_u8_f32 v5, v1, v2, exec_lo     ; encoding: [0x05,0x00,0xdd,0xd1,0x01,0x05,0xfa,0x01]
0x05,0x00,0xdd,0xd1,0x01,0x05,0xfa,0x01

# CHECK: v_cvt_pk_u8_f32 v5, v1, v2, exec_hi     ; encoding: [0x05,0x00,0xdd,0xd1,0x01,0x05,0xfe,0x01]
0x05,0x00,0xdd,0xd1,0x01,0x05,0xfe,0x01

# CHECK: v_cvt_pk_u8_f32 v5, v1, v2, 0           ; encoding: [0x05,0x00,0xdd,0xd1,0x01,0x05,0x02,0x02]
0x05,0x00,0xdd,0xd1,0x01,0x05,0x02,0x02

# CHECK: v_cvt_pk_u8_f32 v5, v1, v2, -1          ; encoding: [0x05,0x00,0xdd,0xd1,0x01,0x05,0x06,0x03]
0x05,0x00,0xdd,0xd1,0x01,0x05,0x06,0x03

# CHECK: v_cvt_pk_u8_f32 v5, v1, v2, 0.5         ; encoding: [0x05,0x00,0xdd,0xd1,0x01,0x05,0xc2,0x03]
0x05,0x00,0xdd,0xd1,0x01,0x05,0xc2,0x03

# CHECK: v_cvt_pk_u8_f32 v5, v1, v2, -4.0        ; encoding: [0x05,0x00,0xdd,0xd1,0x01,0x05,0xde,0x03]
0x05,0x00,0xdd,0xd1,0x01,0x05,0xde,0x03

# CHECK: v_cvt_pk_u8_f32 v5, -v1, v2, v3         ; encoding: [0x05,0x00,0xdd,0xd1,0x01,0x05,0x0e,0x24]
0x05,0x00,0xdd,0xd1,0x01,0x05,0x0e,0x24

# CHECK: v_cvt_pk_u8_f32 v5, |v1|, v2, v3        ; encoding: [0x05,0x01,0xdd,0xd1,0x01,0x05,0x0e,0x04]
0x05,0x01,0xdd,0xd1,0x01,0x05,0x0e,0x04

# CHECK: v_div_fixup_f32 v5, v1, v2, v3          ; encoding: [0x05,0x00,0xde,0xd1,0x01,0x05,0x0e,0x04]
0x05,0x00,0xde,0xd1,0x01,0x05,0x0e,0x04

# CHECK: v_div_fixup_f32 v255, v1, v2, v3        ; encoding: [0xff,0x00,0xde,0xd1,0x01,0x05,0x0e,0x04]
0xff,0x00,0xde,0xd1,0x01,0x05,0x0e,0x04

# CHECK: v_div_fixup_f32 v5, v255, v2, v3        ; encoding: [0x05,0x00,0xde,0xd1,0xff,0x05,0x0e,0x04]
0x05,0x00,0xde,0xd1,0xff,0x05,0x0e,0x04

# CHECK: v_div_fixup_f32 v5, s1, v2, v3          ; encoding: [0x05,0x00,0xde,0xd1,0x01,0x04,0x0e,0x04]
0x05,0x00,0xde,0xd1,0x01,0x04,0x0e,0x04

# CHECK: v_div_fixup_f32 v5, s101, v2, v3        ; encoding: [0x05,0x00,0xde,0xd1,0x65,0x04,0x0e,0x04]
0x05,0x00,0xde,0xd1,0x65,0x04,0x0e,0x04

# CHECK: v_div_fixup_f32 v5, flat_scratch_lo, v2, v3 ; encoding: [0x05,0x00,0xde,0xd1,0x66,0x04,0x0e,0x04]
0x05,0x00,0xde,0xd1,0x66,0x04,0x0e,0x04

# CHECK: v_div_fixup_f32 v5, flat_scratch_hi, v2, v3 ; encoding: [0x05,0x00,0xde,0xd1,0x67,0x04,0x0e,0x04]
0x05,0x00,0xde,0xd1,0x67,0x04,0x0e,0x04

# CHECK: v_div_fixup_f32 v5, vcc_lo, v2, v3      ; encoding: [0x05,0x00,0xde,0xd1,0x6a,0x04,0x0e,0x04]
0x05,0x00,0xde,0xd1,0x6a,0x04,0x0e,0x04

# CHECK: v_div_fixup_f32 v5, vcc_hi, v2, v3      ; encoding: [0x05,0x00,0xde,0xd1,0x6b,0x04,0x0e,0x04]
0x05,0x00,0xde,0xd1,0x6b,0x04,0x0e,0x04

# CHECK: v_div_fixup_f32 v5, tba_lo, v2, v3      ; encoding: [0x05,0x00,0xde,0xd1,0x6c,0x04,0x0e,0x04]
0x05,0x00,0xde,0xd1,0x6c,0x04,0x0e,0x04

# CHECK: v_div_fixup_f32 v5, tba_hi, v2, v3      ; encoding: [0x05,0x00,0xde,0xd1,0x6d,0x04,0x0e,0x04]
0x05,0x00,0xde,0xd1,0x6d,0x04,0x0e,0x04

# CHECK: v_div_fixup_f32 v5, tma_lo, v2, v3      ; encoding: [0x05,0x00,0xde,0xd1,0x6e,0x04,0x0e,0x04]
0x05,0x00,0xde,0xd1,0x6e,0x04,0x0e,0x04

# CHECK: v_div_fixup_f32 v5, tma_hi, v2, v3      ; encoding: [0x05,0x00,0xde,0xd1,0x6f,0x04,0x0e,0x04]
0x05,0x00,0xde,0xd1,0x6f,0x04,0x0e,0x04

# CHECK: v_div_fixup_f32 v5, ttmp11, v2, v3      ; encoding: [0x05,0x00,0xde,0xd1,0x7b,0x04,0x0e,0x04]
0x05,0x00,0xde,0xd1,0x7b,0x04,0x0e,0x04

# CHECK: v_div_fixup_f32 v5, m0, v2, v3          ; encoding: [0x05,0x00,0xde,0xd1,0x7c,0x04,0x0e,0x04]
0x05,0x00,0xde,0xd1,0x7c,0x04,0x0e,0x04

# CHECK: v_div_fixup_f32 v5, exec_lo, v2, v3     ; encoding: [0x05,0x00,0xde,0xd1,0x7e,0x04,0x0e,0x04]
0x05,0x00,0xde,0xd1,0x7e,0x04,0x0e,0x04

# CHECK: v_div_fixup_f32 v5, exec_hi, v2, v3     ; encoding: [0x05,0x00,0xde,0xd1,0x7f,0x04,0x0e,0x04]
0x05,0x00,0xde,0xd1,0x7f,0x04,0x0e,0x04

# CHECK: v_div_fixup_f32 v5, 0, v2, v3           ; encoding: [0x05,0x00,0xde,0xd1,0x80,0x04,0x0e,0x04]
0x05,0x00,0xde,0xd1,0x80,0x04,0x0e,0x04

# CHECK: v_div_fixup_f32 v5, -1, v2, v3          ; encoding: [0x05,0x00,0xde,0xd1,0xc1,0x04,0x0e,0x04]
0x05,0x00,0xde,0xd1,0xc1,0x04,0x0e,0x04

# CHECK: v_div_fixup_f32 v5, 0.5, v2, v3         ; encoding: [0x05,0x00,0xde,0xd1,0xf0,0x04,0x0e,0x04]
0x05,0x00,0xde,0xd1,0xf0,0x04,0x0e,0x04

# CHECK: v_div_fixup_f32 v5, -4.0, v2, v3        ; encoding: [0x05,0x00,0xde,0xd1,0xf7,0x04,0x0e,0x04]
0x05,0x00,0xde,0xd1,0xf7,0x04,0x0e,0x04

# CHECK: v_div_fixup_f32 v5, v1, v255, v3        ; encoding: [0x05,0x00,0xde,0xd1,0x01,0xff,0x0f,0x04]
0x05,0x00,0xde,0xd1,0x01,0xff,0x0f,0x04

# CHECK: v_div_fixup_f32 v5, v1, s2, v3          ; encoding: [0x05,0x00,0xde,0xd1,0x01,0x05,0x0c,0x04]
0x05,0x00,0xde,0xd1,0x01,0x05,0x0c,0x04

# CHECK: v_div_fixup_f32 v5, v1, s101, v3        ; encoding: [0x05,0x00,0xde,0xd1,0x01,0xcb,0x0c,0x04]
0x05,0x00,0xde,0xd1,0x01,0xcb,0x0c,0x04

# CHECK: v_div_fixup_f32 v5, v1, flat_scratch_lo, v3 ; encoding: [0x05,0x00,0xde,0xd1,0x01,0xcd,0x0c,0x04]
0x05,0x00,0xde,0xd1,0x01,0xcd,0x0c,0x04

# CHECK: v_div_fixup_f32 v5, v1, flat_scratch_hi, v3 ; encoding: [0x05,0x00,0xde,0xd1,0x01,0xcf,0x0c,0x04]
0x05,0x00,0xde,0xd1,0x01,0xcf,0x0c,0x04

# CHECK: v_div_fixup_f32 v5, v1, vcc_lo, v3      ; encoding: [0x05,0x00,0xde,0xd1,0x01,0xd5,0x0c,0x04]
0x05,0x00,0xde,0xd1,0x01,0xd5,0x0c,0x04

# CHECK: v_div_fixup_f32 v5, v1, vcc_hi, v3      ; encoding: [0x05,0x00,0xde,0xd1,0x01,0xd7,0x0c,0x04]
0x05,0x00,0xde,0xd1,0x01,0xd7,0x0c,0x04

# CHECK: v_div_fixup_f32 v5, v1, tba_lo, v3      ; encoding: [0x05,0x00,0xde,0xd1,0x01,0xd9,0x0c,0x04]
0x05,0x00,0xde,0xd1,0x01,0xd9,0x0c,0x04

# CHECK: v_div_fixup_f32 v5, v1, tba_hi, v3      ; encoding: [0x05,0x00,0xde,0xd1,0x01,0xdb,0x0c,0x04]
0x05,0x00,0xde,0xd1,0x01,0xdb,0x0c,0x04

# CHECK: v_div_fixup_f32 v5, v1, tma_lo, v3      ; encoding: [0x05,0x00,0xde,0xd1,0x01,0xdd,0x0c,0x04]
0x05,0x00,0xde,0xd1,0x01,0xdd,0x0c,0x04

# CHECK: v_div_fixup_f32 v5, v1, tma_hi, v3      ; encoding: [0x05,0x00,0xde,0xd1,0x01,0xdf,0x0c,0x04]
0x05,0x00,0xde,0xd1,0x01,0xdf,0x0c,0x04

# CHECK: v_div_fixup_f32 v5, v1, ttmp11, v3      ; encoding: [0x05,0x00,0xde,0xd1,0x01,0xf7,0x0c,0x04]
0x05,0x00,0xde,0xd1,0x01,0xf7,0x0c,0x04

# CHECK: v_div_fixup_f32 v5, v1, m0, v3          ; encoding: [0x05,0x00,0xde,0xd1,0x01,0xf9,0x0c,0x04]
0x05,0x00,0xde,0xd1,0x01,0xf9,0x0c,0x04

# CHECK: v_div_fixup_f32 v5, v1, exec_lo, v3     ; encoding: [0x05,0x00,0xde,0xd1,0x01,0xfd,0x0c,0x04]
0x05,0x00,0xde,0xd1,0x01,0xfd,0x0c,0x04

# CHECK: v_div_fixup_f32 v5, v1, exec_hi, v3     ; encoding: [0x05,0x00,0xde,0xd1,0x01,0xff,0x0c,0x04]
0x05,0x00,0xde,0xd1,0x01,0xff,0x0c,0x04

# CHECK: v_div_fixup_f32 v5, v1, 0, v3           ; encoding: [0x05,0x00,0xde,0xd1,0x01,0x01,0x0d,0x04]
0x05,0x00,0xde,0xd1,0x01,0x01,0x0d,0x04

# CHECK: v_div_fixup_f32 v5, v1, -1, v3          ; encoding: [0x05,0x00,0xde,0xd1,0x01,0x83,0x0d,0x04]
0x05,0x00,0xde,0xd1,0x01,0x83,0x0d,0x04

# CHECK: v_div_fixup_f32 v5, v1, 0.5, v3         ; encoding: [0x05,0x00,0xde,0xd1,0x01,0xe1,0x0d,0x04]
0x05,0x00,0xde,0xd1,0x01,0xe1,0x0d,0x04

# CHECK: v_div_fixup_f32 v5, v1, -4.0, v3        ; encoding: [0x05,0x00,0xde,0xd1,0x01,0xef,0x0d,0x04]
0x05,0x00,0xde,0xd1,0x01,0xef,0x0d,0x04

# CHECK: v_div_fixup_f32 v5, v1, v2, v255        ; encoding: [0x05,0x00,0xde,0xd1,0x01,0x05,0xfe,0x07]
0x05,0x00,0xde,0xd1,0x01,0x05,0xfe,0x07

# CHECK: v_div_fixup_f32 v5, v1, v2, s3          ; encoding: [0x05,0x00,0xde,0xd1,0x01,0x05,0x0e,0x00]
0x05,0x00,0xde,0xd1,0x01,0x05,0x0e,0x00

# CHECK: v_div_fixup_f32 v5, v1, v2, s101        ; encoding: [0x05,0x00,0xde,0xd1,0x01,0x05,0x96,0x01]
0x05,0x00,0xde,0xd1,0x01,0x05,0x96,0x01

# CHECK: v_div_fixup_f32 v5, v1, v2, flat_scratch_lo ; encoding: [0x05,0x00,0xde,0xd1,0x01,0x05,0x9a,0x01]
0x05,0x00,0xde,0xd1,0x01,0x05,0x9a,0x01

# CHECK: v_div_fixup_f32 v5, v1, v2, flat_scratch_hi ; encoding: [0x05,0x00,0xde,0xd1,0x01,0x05,0x9e,0x01]
0x05,0x00,0xde,0xd1,0x01,0x05,0x9e,0x01

# CHECK: v_div_fixup_f32 v5, v1, v2, vcc_lo      ; encoding: [0x05,0x00,0xde,0xd1,0x01,0x05,0xaa,0x01]
0x05,0x00,0xde,0xd1,0x01,0x05,0xaa,0x01

# CHECK: v_div_fixup_f32 v5, v1, v2, vcc_hi      ; encoding: [0x05,0x00,0xde,0xd1,0x01,0x05,0xae,0x01]
0x05,0x00,0xde,0xd1,0x01,0x05,0xae,0x01

# CHECK: v_div_fixup_f32 v5, v1, v2, tba_lo      ; encoding: [0x05,0x00,0xde,0xd1,0x01,0x05,0xb2,0x01]
0x05,0x00,0xde,0xd1,0x01,0x05,0xb2,0x01

# CHECK: v_div_fixup_f32 v5, v1, v2, tba_hi      ; encoding: [0x05,0x00,0xde,0xd1,0x01,0x05,0xb6,0x01]
0x05,0x00,0xde,0xd1,0x01,0x05,0xb6,0x01

# CHECK: v_div_fixup_f32 v5, v1, v2, tma_lo      ; encoding: [0x05,0x00,0xde,0xd1,0x01,0x05,0xba,0x01]
0x05,0x00,0xde,0xd1,0x01,0x05,0xba,0x01

# CHECK: v_div_fixup_f32 v5, v1, v2, tma_hi      ; encoding: [0x05,0x00,0xde,0xd1,0x01,0x05,0xbe,0x01]
0x05,0x00,0xde,0xd1,0x01,0x05,0xbe,0x01

# CHECK: v_div_fixup_f32 v5, v1, v2, ttmp11      ; encoding: [0x05,0x00,0xde,0xd1,0x01,0x05,0xee,0x01]
0x05,0x00,0xde,0xd1,0x01,0x05,0xee,0x01

# CHECK: v_div_fixup_f32 v5, v1, v2, m0          ; encoding: [0x05,0x00,0xde,0xd1,0x01,0x05,0xf2,0x01]
0x05,0x00,0xde,0xd1,0x01,0x05,0xf2,0x01

# CHECK: v_div_fixup_f32 v5, v1, v2, exec_lo     ; encoding: [0x05,0x00,0xde,0xd1,0x01,0x05,0xfa,0x01]
0x05,0x00,0xde,0xd1,0x01,0x05,0xfa,0x01

# CHECK: v_div_fixup_f32 v5, v1, v2, exec_hi     ; encoding: [0x05,0x00,0xde,0xd1,0x01,0x05,0xfe,0x01]
0x05,0x00,0xde,0xd1,0x01,0x05,0xfe,0x01

# CHECK: v_div_fixup_f32 v5, v1, v2, 0           ; encoding: [0x05,0x00,0xde,0xd1,0x01,0x05,0x02,0x02]
0x05,0x00,0xde,0xd1,0x01,0x05,0x02,0x02

# CHECK: v_div_fixup_f32 v5, v1, v2, -1          ; encoding: [0x05,0x00,0xde,0xd1,0x01,0x05,0x06,0x03]
0x05,0x00,0xde,0xd1,0x01,0x05,0x06,0x03

# CHECK: v_div_fixup_f32 v5, v1, v2, 0.5         ; encoding: [0x05,0x00,0xde,0xd1,0x01,0x05,0xc2,0x03]
0x05,0x00,0xde,0xd1,0x01,0x05,0xc2,0x03

# CHECK: v_div_fixup_f32 v5, v1, v2, -4.0        ; encoding: [0x05,0x00,0xde,0xd1,0x01,0x05,0xde,0x03]
0x05,0x00,0xde,0xd1,0x01,0x05,0xde,0x03

# CHECK: v_div_fixup_f32 v5, -v1, v2, v3         ; encoding: [0x05,0x00,0xde,0xd1,0x01,0x05,0x0e,0x24]
0x05,0x00,0xde,0xd1,0x01,0x05,0x0e,0x24

# CHECK: v_div_fixup_f32 v5, v1, -v2, v3         ; encoding: [0x05,0x00,0xde,0xd1,0x01,0x05,0x0e,0x44]
0x05,0x00,0xde,0xd1,0x01,0x05,0x0e,0x44

# CHECK: v_div_fixup_f32 v5, v1, v2, -v3         ; encoding: [0x05,0x00,0xde,0xd1,0x01,0x05,0x0e,0x84]
0x05,0x00,0xde,0xd1,0x01,0x05,0x0e,0x84

# CHECK: v_div_fixup_f32 v5, -v1, -v2, -v3       ; encoding: [0x05,0x00,0xde,0xd1,0x01,0x05,0x0e,0xe4]
0x05,0x00,0xde,0xd1,0x01,0x05,0x0e,0xe4

# CHECK: v_div_fixup_f32 v5, |v1|, v2, v3        ; encoding: [0x05,0x01,0xde,0xd1,0x01,0x05,0x0e,0x04]
0x05,0x01,0xde,0xd1,0x01,0x05,0x0e,0x04

# CHECK: v_div_fixup_f32 v5, v1, |v2|, v3        ; encoding: [0x05,0x02,0xde,0xd1,0x01,0x05,0x0e,0x04]
0x05,0x02,0xde,0xd1,0x01,0x05,0x0e,0x04

# CHECK: v_div_fixup_f32 v5, v1, v2, |v3|        ; encoding: [0x05,0x04,0xde,0xd1,0x01,0x05,0x0e,0x04]
0x05,0x04,0xde,0xd1,0x01,0x05,0x0e,0x04

# CHECK: v_div_fixup_f32 v5, |v1|, |v2|, |v3|    ; encoding: [0x05,0x07,0xde,0xd1,0x01,0x05,0x0e,0x04]
0x05,0x07,0xde,0xd1,0x01,0x05,0x0e,0x04

# CHECK: v_div_fixup_f32 v5, v1, v2, v3 clamp    ; encoding: [0x05,0x80,0xde,0xd1,0x01,0x05,0x0e,0x04]
0x05,0x80,0xde,0xd1,0x01,0x05,0x0e,0x04

# CHECK: v_div_fixup_f32 v5, v1, v2, v3 mul:2    ; encoding: [0x05,0x00,0xde,0xd1,0x01,0x05,0x0e,0x0c]
0x05,0x00,0xde,0xd1,0x01,0x05,0x0e,0x0c

# CHECK: v_div_fixup_f32 v5, v1, v2, v3 mul:4    ; encoding: [0x05,0x00,0xde,0xd1,0x01,0x05,0x0e,0x14]
0x05,0x00,0xde,0xd1,0x01,0x05,0x0e,0x14

# CHECK: v_div_fixup_f32 v5, v1, v2, v3 div:2    ; encoding: [0x05,0x00,0xde,0xd1,0x01,0x05,0x0e,0x1c]
0x05,0x00,0xde,0xd1,0x01,0x05,0x0e,0x1c

# CHECK: v_div_fixup_f64 v[5:6], v[1:2], v[2:3], v[3:4] ; encoding: [0x05,0x00,0xdf,0xd1,0x01,0x05,0x0e,0x04]
0x05,0x00,0xdf,0xd1,0x01,0x05,0x0e,0x04

# CHECK: v_div_fixup_f64 v[254:255], v[1:2], v[2:3], v[3:4] ; encoding: [0xfe,0x00,0xdf,0xd1,0x01,0x05,0x0e,0x04]
0xfe,0x00,0xdf,0xd1,0x01,0x05,0x0e,0x04

# CHECK: v_div_fixup_f64 v[5:6], v[254:255], v[2:3], v[3:4] ; encoding: [0x05,0x00,0xdf,0xd1,0xfe,0x05,0x0e,0x04]
0x05,0x00,0xdf,0xd1,0xfe,0x05,0x0e,0x04

# CHECK: v_div_fixup_f64 v[5:6], s[2:3], v[2:3], v[3:4] ; encoding: [0x05,0x00,0xdf,0xd1,0x02,0x04,0x0e,0x04]
0x05,0x00,0xdf,0xd1,0x02,0x04,0x0e,0x04

# CHECK: v_div_fixup_f64 v[5:6], s[4:5], v[2:3], v[3:4] ; encoding: [0x05,0x00,0xdf,0xd1,0x04,0x04,0x0e,0x04]
0x05,0x00,0xdf,0xd1,0x04,0x04,0x0e,0x04

# CHECK: v_div_fixup_f64 v[5:6], s[100:101], v[2:3], v[3:4] ; encoding: [0x05,0x00,0xdf,0xd1,0x64,0x04,0x0e,0x04]
0x05,0x00,0xdf,0xd1,0x64,0x04,0x0e,0x04

# CHECK: v_div_fixup_f64 v[5:6], flat_scratch, v[2:3], v[3:4] ; encoding: [0x05,0x00,0xdf,0xd1,0x66,0x04,0x0e,0x04]
0x05,0x00,0xdf,0xd1,0x66,0x04,0x0e,0x04

# CHECK: v_div_fixup_f64 v[5:6], vcc, v[2:3], v[3:4] ; encoding: [0x05,0x00,0xdf,0xd1,0x6a,0x04,0x0e,0x04]
0x05,0x00,0xdf,0xd1,0x6a,0x04,0x0e,0x04

# CHECK: v_div_fixup_f64 v[5:6], tba, v[2:3], v[3:4] ; encoding: [0x05,0x00,0xdf,0xd1,0x6c,0x04,0x0e,0x04]
0x05,0x00,0xdf,0xd1,0x6c,0x04,0x0e,0x04

# CHECK: v_div_fixup_f64 v[5:6], tma, v[2:3], v[3:4] ; encoding: [0x05,0x00,0xdf,0xd1,0x6e,0x04,0x0e,0x04]
0x05,0x00,0xdf,0xd1,0x6e,0x04,0x0e,0x04

# CHECK: v_div_fixup_f64 v[5:6], ttmp[10:11], v[2:3], v[3:4] ; encoding: [0x05,0x00,0xdf,0xd1,0x7a,0x04,0x0e,0x04]
0x05,0x00,0xdf,0xd1,0x7a,0x04,0x0e,0x04

# CHECK: v_div_fixup_f64 v[5:6], exec, v[2:3], v[3:4] ; encoding: [0x05,0x00,0xdf,0xd1,0x7e,0x04,0x0e,0x04]
0x05,0x00,0xdf,0xd1,0x7e,0x04,0x0e,0x04

# CHECK: v_div_fixup_f64 v[5:6], 0, v[2:3], v[3:4] ; encoding: [0x05,0x00,0xdf,0xd1,0x80,0x04,0x0e,0x04]
0x05,0x00,0xdf,0xd1,0x80,0x04,0x0e,0x04

# CHECK: v_div_fixup_f64 v[5:6], -1, v[2:3], v[3:4] ; encoding: [0x05,0x00,0xdf,0xd1,0xc1,0x04,0x0e,0x04]
0x05,0x00,0xdf,0xd1,0xc1,0x04,0x0e,0x04

# CHECK: v_div_fixup_f64 v[5:6], 0.5, v[2:3], v[3:4] ; encoding: [0x05,0x00,0xdf,0xd1,0xf0,0x04,0x0e,0x04]
0x05,0x00,0xdf,0xd1,0xf0,0x04,0x0e,0x04

# CHECK: v_div_fixup_f64 v[5:6], -4.0, v[2:3], v[3:4] ; encoding: [0x05,0x00,0xdf,0xd1,0xf7,0x04,0x0e,0x04]
0x05,0x00,0xdf,0xd1,0xf7,0x04,0x0e,0x04

# CHECK: v_div_fixup_f64 v[5:6], v[1:2], v[254:255], v[3:4] ; encoding: [0x05,0x00,0xdf,0xd1,0x01,0xfd,0x0f,0x04]
0x05,0x00,0xdf,0xd1,0x01,0xfd,0x0f,0x04

# CHECK: v_div_fixup_f64 v[5:6], v[1:2], s[4:5], v[3:4] ; encoding: [0x05,0x00,0xdf,0xd1,0x01,0x09,0x0c,0x04]
0x05,0x00,0xdf,0xd1,0x01,0x09,0x0c,0x04

# CHECK: v_div_fixup_f64 v[5:6], v[1:2], s[6:7], v[3:4] ; encoding: [0x05,0x00,0xdf,0xd1,0x01,0x0d,0x0c,0x04]
0x05,0x00,0xdf,0xd1,0x01,0x0d,0x0c,0x04

# CHECK: v_div_fixup_f64 v[5:6], v[1:2], s[100:101], v[3:4] ; encoding: [0x05,0x00,0xdf,0xd1,0x01,0xc9,0x0c,0x04]
0x05,0x00,0xdf,0xd1,0x01,0xc9,0x0c,0x04

# CHECK: v_div_fixup_f64 v[5:6], v[1:2], flat_scratch, v[3:4] ; encoding: [0x05,0x00,0xdf,0xd1,0x01,0xcd,0x0c,0x04]
0x05,0x00,0xdf,0xd1,0x01,0xcd,0x0c,0x04

# CHECK: v_div_fixup_f64 v[5:6], v[1:2], vcc, v[3:4] ; encoding: [0x05,0x00,0xdf,0xd1,0x01,0xd5,0x0c,0x04]
0x05,0x00,0xdf,0xd1,0x01,0xd5,0x0c,0x04

# CHECK: v_div_fixup_f64 v[5:6], v[1:2], tba, v[3:4] ; encoding: [0x05,0x00,0xdf,0xd1,0x01,0xd9,0x0c,0x04]
0x05,0x00,0xdf,0xd1,0x01,0xd9,0x0c,0x04

# CHECK: v_div_fixup_f64 v[5:6], v[1:2], tma, v[3:4] ; encoding: [0x05,0x00,0xdf,0xd1,0x01,0xdd,0x0c,0x04]
0x05,0x00,0xdf,0xd1,0x01,0xdd,0x0c,0x04

# CHECK: v_div_fixup_f64 v[5:6], v[1:2], ttmp[10:11], v[3:4] ; encoding: [0x05,0x00,0xdf,0xd1,0x01,0xf5,0x0c,0x04]
0x05,0x00,0xdf,0xd1,0x01,0xf5,0x0c,0x04

# CHECK: v_div_fixup_f64 v[5:6], v[1:2], exec, v[3:4] ; encoding: [0x05,0x00,0xdf,0xd1,0x01,0xfd,0x0c,0x04]
0x05,0x00,0xdf,0xd1,0x01,0xfd,0x0c,0x04

# CHECK: v_div_fixup_f64 v[5:6], v[1:2], 0, v[3:4] ; encoding: [0x05,0x00,0xdf,0xd1,0x01,0x01,0x0d,0x04]
0x05,0x00,0xdf,0xd1,0x01,0x01,0x0d,0x04

# CHECK: v_div_fixup_f64 v[5:6], v[1:2], -1, v[3:4] ; encoding: [0x05,0x00,0xdf,0xd1,0x01,0x83,0x0d,0x04]
0x05,0x00,0xdf,0xd1,0x01,0x83,0x0d,0x04

# CHECK: v_div_fixup_f64 v[5:6], v[1:2], 0.5, v[3:4] ; encoding: [0x05,0x00,0xdf,0xd1,0x01,0xe1,0x0d,0x04]
0x05,0x00,0xdf,0xd1,0x01,0xe1,0x0d,0x04

# CHECK: v_div_fixup_f64 v[5:6], v[1:2], -4.0, v[3:4] ; encoding: [0x05,0x00,0xdf,0xd1,0x01,0xef,0x0d,0x04]
0x05,0x00,0xdf,0xd1,0x01,0xef,0x0d,0x04

# CHECK: v_div_fixup_f64 v[5:6], v[1:2], v[2:3], v[254:255] ; encoding: [0x05,0x00,0xdf,0xd1,0x01,0x05,0xfa,0x07]
0x05,0x00,0xdf,0xd1,0x01,0x05,0xfa,0x07

# CHECK: v_div_fixup_f64 v[5:6], v[1:2], v[2:3], s[6:7] ; encoding: [0x05,0x00,0xdf,0xd1,0x01,0x05,0x1a,0x00]
0x05,0x00,0xdf,0xd1,0x01,0x05,0x1a,0x00

# CHECK: v_div_fixup_f64 v[5:6], v[1:2], v[2:3], s[8:9] ; encoding: [0x05,0x00,0xdf,0xd1,0x01,0x05,0x22,0x00]
0x05,0x00,0xdf,0xd1,0x01,0x05,0x22,0x00

# CHECK: v_div_fixup_f64 v[5:6], v[1:2], v[2:3], s[100:101] ; encoding: [0x05,0x00,0xdf,0xd1,0x01,0x05,0x92,0x01]
0x05,0x00,0xdf,0xd1,0x01,0x05,0x92,0x01

# CHECK: v_div_fixup_f64 v[5:6], v[1:2], v[2:3], flat_scratch ; encoding: [0x05,0x00,0xdf,0xd1,0x01,0x05,0x9a,0x01]
0x05,0x00,0xdf,0xd1,0x01,0x05,0x9a,0x01

# CHECK: v_div_fixup_f64 v[5:6], v[1:2], v[2:3], vcc ; encoding: [0x05,0x00,0xdf,0xd1,0x01,0x05,0xaa,0x01]
0x05,0x00,0xdf,0xd1,0x01,0x05,0xaa,0x01

# CHECK: v_div_fixup_f64 v[5:6], v[1:2], v[2:3], tba ; encoding: [0x05,0x00,0xdf,0xd1,0x01,0x05,0xb2,0x01]
0x05,0x00,0xdf,0xd1,0x01,0x05,0xb2,0x01

# CHECK: v_div_fixup_f64 v[5:6], v[1:2], v[2:3], tma ; encoding: [0x05,0x00,0xdf,0xd1,0x01,0x05,0xba,0x01]
0x05,0x00,0xdf,0xd1,0x01,0x05,0xba,0x01

# CHECK: v_div_fixup_f64 v[5:6], v[1:2], v[2:3], ttmp[10:11] ; encoding: [0x05,0x00,0xdf,0xd1,0x01,0x05,0xea,0x01]
0x05,0x00,0xdf,0xd1,0x01,0x05,0xea,0x01

# CHECK: v_div_fixup_f64 v[5:6], v[1:2], v[2:3], exec ; encoding: [0x05,0x00,0xdf,0xd1,0x01,0x05,0xfa,0x01]
0x05,0x00,0xdf,0xd1,0x01,0x05,0xfa,0x01

# CHECK: v_div_fixup_f64 v[5:6], v[1:2], v[2:3], 0 ; encoding: [0x05,0x00,0xdf,0xd1,0x01,0x05,0x02,0x02]
0x05,0x00,0xdf,0xd1,0x01,0x05,0x02,0x02

# CHECK: v_div_fixup_f64 v[5:6], v[1:2], v[2:3], -1 ; encoding: [0x05,0x00,0xdf,0xd1,0x01,0x05,0x06,0x03]
0x05,0x00,0xdf,0xd1,0x01,0x05,0x06,0x03

# CHECK: v_div_fixup_f64 v[5:6], v[1:2], v[2:3], 0.5 ; encoding: [0x05,0x00,0xdf,0xd1,0x01,0x05,0xc2,0x03]
0x05,0x00,0xdf,0xd1,0x01,0x05,0xc2,0x03

# CHECK: v_div_fixup_f64 v[5:6], v[1:2], v[2:3], -4.0 ; encoding: [0x05,0x00,0xdf,0xd1,0x01,0x05,0xde,0x03]
0x05,0x00,0xdf,0xd1,0x01,0x05,0xde,0x03

# CHECK: v_div_fixup_f64 v[5:6], -v[1:2], v[2:3], v[3:4] ; encoding: [0x05,0x00,0xdf,0xd1,0x01,0x05,0x0e,0x24]
0x05,0x00,0xdf,0xd1,0x01,0x05,0x0e,0x24

# CHECK: v_div_fixup_f64 v[5:6], v[1:2], -v[2:3], v[3:4] ; encoding: [0x05,0x00,0xdf,0xd1,0x01,0x05,0x0e,0x44]
0x05,0x00,0xdf,0xd1,0x01,0x05,0x0e,0x44

# CHECK: v_div_fixup_f64 v[5:6], v[1:2], v[2:3], -v[3:4] ; encoding: [0x05,0x00,0xdf,0xd1,0x01,0x05,0x0e,0x84]
0x05,0x00,0xdf,0xd1,0x01,0x05,0x0e,0x84

# CHECK: v_div_fixup_f64 v[5:6], -v[1:2], -v[2:3], -v[3:4] ; encoding: [0x05,0x00,0xdf,0xd1,0x01,0x05,0x0e,0xe4]
0x05,0x00,0xdf,0xd1,0x01,0x05,0x0e,0xe4

# CHECK: v_div_fixup_f64 v[5:6], |v[1:2]|, v[2:3], v[3:4] ; encoding: [0x05,0x01,0xdf,0xd1,0x01,0x05,0x0e,0x04]
0x05,0x01,0xdf,0xd1,0x01,0x05,0x0e,0x04

# CHECK: v_div_fixup_f64 v[5:6], v[1:2], |v[2:3]|, v[3:4] ; encoding: [0x05,0x02,0xdf,0xd1,0x01,0x05,0x0e,0x04]
0x05,0x02,0xdf,0xd1,0x01,0x05,0x0e,0x04

# CHECK: v_div_fixup_f64 v[5:6], v[1:2], v[2:3], |v[3:4]| ; encoding: [0x05,0x04,0xdf,0xd1,0x01,0x05,0x0e,0x04]
0x05,0x04,0xdf,0xd1,0x01,0x05,0x0e,0x04

# CHECK: v_div_fixup_f64 v[5:6], |v[1:2]|, |v[2:3]|, |v[3:4]| ; encoding: [0x05,0x07,0xdf,0xd1,0x01,0x05,0x0e,0x04]
0x05,0x07,0xdf,0xd1,0x01,0x05,0x0e,0x04

# CHECK: v_div_fixup_f64 v[5:6], v[1:2], v[2:3], v[3:4] clamp ; encoding: [0x05,0x80,0xdf,0xd1,0x01,0x05,0x0e,0x04]
0x05,0x80,0xdf,0xd1,0x01,0x05,0x0e,0x04

# CHECK: v_div_fixup_f64 v[5:6], v[1:2], v[2:3], v[3:4] mul:2 ; encoding: [0x05,0x00,0xdf,0xd1,0x01,0x05,0x0e,0x0c]
0x05,0x00,0xdf,0xd1,0x01,0x05,0x0e,0x0c

# CHECK: v_div_fixup_f64 v[5:6], v[1:2], v[2:3], v[3:4] mul:4 ; encoding: [0x05,0x00,0xdf,0xd1,0x01,0x05,0x0e,0x14]
0x05,0x00,0xdf,0xd1,0x01,0x05,0x0e,0x14

# CHECK: v_div_fixup_f64 v[5:6], v[1:2], v[2:3], v[3:4] div:2 ; encoding: [0x05,0x00,0xdf,0xd1,0x01,0x05,0x0e,0x1c]
0x05,0x00,0xdf,0xd1,0x01,0x05,0x0e,0x1c

# CHECK: v_div_scale_f32 v5, vcc, v1, v2, v3     ; encoding: [0x05,0x6a,0xe0,0xd1,0x01,0x05,0x0e,0x04]
0x05,0x6a,0xe0,0xd1,0x01,0x05,0x0e,0x04

# CHECK: v_div_scale_f32 v255, vcc, v1, v2, v3   ; encoding: [0xff,0x6a,0xe0,0xd1,0x01,0x05,0x0e,0x04]
0xff,0x6a,0xe0,0xd1,0x01,0x05,0x0e,0x04

# CHECK: v_div_scale_f32 v5, vcc, v255, v2, v3   ; encoding: [0x05,0x6a,0xe0,0xd1,0xff,0x05,0x0e,0x04]
0x05,0x6a,0xe0,0xd1,0xff,0x05,0x0e,0x04

# CHECK: v_div_scale_f32 v5, vcc, s1, v2, v3     ; encoding: [0x05,0x6a,0xe0,0xd1,0x01,0x04,0x0e,0x04]
0x05,0x6a,0xe0,0xd1,0x01,0x04,0x0e,0x04

# CHECK: v_div_scale_f32 v5, vcc, s101, v2, v3   ; encoding: [0x05,0x6a,0xe0,0xd1,0x65,0x04,0x0e,0x04]
0x05,0x6a,0xe0,0xd1,0x65,0x04,0x0e,0x04

# CHECK: v_div_scale_f32 v5, vcc, flat_scratch_lo, v2, v3 ; encoding: [0x05,0x6a,0xe0,0xd1,0x66,0x04,0x0e,0x04]
0x05,0x6a,0xe0,0xd1,0x66,0x04,0x0e,0x04

# CHECK: v_div_scale_f32 v5, vcc, flat_scratch_hi, v2, v3 ; encoding: [0x05,0x6a,0xe0,0xd1,0x67,0x04,0x0e,0x04]
0x05,0x6a,0xe0,0xd1,0x67,0x04,0x0e,0x04

# CHECK: v_div_scale_f32 v5, vcc, vcc_lo, v2, v3 ; encoding: [0x05,0x6a,0xe0,0xd1,0x6a,0x04,0x0e,0x04]
0x05,0x6a,0xe0,0xd1,0x6a,0x04,0x0e,0x04

# CHECK: v_div_scale_f32 v5, vcc, vcc_hi, v2, v3 ; encoding: [0x05,0x6a,0xe0,0xd1,0x6b,0x04,0x0e,0x04]
0x05,0x6a,0xe0,0xd1,0x6b,0x04,0x0e,0x04

# CHECK: v_div_scale_f32 v5, vcc, tba_lo, v2, v3 ; encoding: [0x05,0x6a,0xe0,0xd1,0x6c,0x04,0x0e,0x04]
0x05,0x6a,0xe0,0xd1,0x6c,0x04,0x0e,0x04

# CHECK: v_div_scale_f32 v5, vcc, tba_hi, v2, v3 ; encoding: [0x05,0x6a,0xe0,0xd1,0x6d,0x04,0x0e,0x04]
0x05,0x6a,0xe0,0xd1,0x6d,0x04,0x0e,0x04

# CHECK: v_div_scale_f32 v5, vcc, tma_lo, v2, v3 ; encoding: [0x05,0x6a,0xe0,0xd1,0x6e,0x04,0x0e,0x04]
0x05,0x6a,0xe0,0xd1,0x6e,0x04,0x0e,0x04

# CHECK: v_div_scale_f32 v5, vcc, tma_hi, v2, v3 ; encoding: [0x05,0x6a,0xe0,0xd1,0x6f,0x04,0x0e,0x04]
0x05,0x6a,0xe0,0xd1,0x6f,0x04,0x0e,0x04

# CHECK: v_div_scale_f32 v5, vcc, ttmp11, v2, v3 ; encoding: [0x05,0x6a,0xe0,0xd1,0x7b,0x04,0x0e,0x04]
0x05,0x6a,0xe0,0xd1,0x7b,0x04,0x0e,0x04

# CHECK: v_div_scale_f32 v5, vcc, m0, v2, v3     ; encoding: [0x05,0x6a,0xe0,0xd1,0x7c,0x04,0x0e,0x04]
0x05,0x6a,0xe0,0xd1,0x7c,0x04,0x0e,0x04

# CHECK: v_div_scale_f32 v5, vcc, exec_lo, v2, v3 ; encoding: [0x05,0x6a,0xe0,0xd1,0x7e,0x04,0x0e,0x04]
0x05,0x6a,0xe0,0xd1,0x7e,0x04,0x0e,0x04

# CHECK: v_div_scale_f32 v5, vcc, exec_hi, v2, v3 ; encoding: [0x05,0x6a,0xe0,0xd1,0x7f,0x04,0x0e,0x04]
0x05,0x6a,0xe0,0xd1,0x7f,0x04,0x0e,0x04

# CHECK: v_div_scale_f32 v5, vcc, 0, v2, v3      ; encoding: [0x05,0x6a,0xe0,0xd1,0x80,0x04,0x0e,0x04]
0x05,0x6a,0xe0,0xd1,0x80,0x04,0x0e,0x04

# CHECK: v_div_scale_f32 v5, vcc, -1, v2, v3     ; encoding: [0x05,0x6a,0xe0,0xd1,0xc1,0x04,0x0e,0x04]
0x05,0x6a,0xe0,0xd1,0xc1,0x04,0x0e,0x04

# CHECK: v_div_scale_f32 v5, vcc, 0.5, v2, v3    ; encoding: [0x05,0x6a,0xe0,0xd1,0xf0,0x04,0x0e,0x04]
0x05,0x6a,0xe0,0xd1,0xf0,0x04,0x0e,0x04

# CHECK: v_div_scale_f32 v5, vcc, -4.0, v2, v3   ; encoding: [0x05,0x6a,0xe0,0xd1,0xf7,0x04,0x0e,0x04]
0x05,0x6a,0xe0,0xd1,0xf7,0x04,0x0e,0x04

# CHECK: v_div_scale_f32 v5, vcc, v1, v255, v3   ; encoding: [0x05,0x6a,0xe0,0xd1,0x01,0xff,0x0f,0x04]
0x05,0x6a,0xe0,0xd1,0x01,0xff,0x0f,0x04

# CHECK: v_div_scale_f32 v5, vcc, v1, s2, v3     ; encoding: [0x05,0x6a,0xe0,0xd1,0x01,0x05,0x0c,0x04]
0x05,0x6a,0xe0,0xd1,0x01,0x05,0x0c,0x04

# CHECK: v_div_scale_f32 v5, vcc, v1, s101, v3   ; encoding: [0x05,0x6a,0xe0,0xd1,0x01,0xcb,0x0c,0x04]
0x05,0x6a,0xe0,0xd1,0x01,0xcb,0x0c,0x04

# CHECK: v_div_scale_f32 v5, vcc, v1, flat_scratch_lo, v3 ; encoding: [0x05,0x6a,0xe0,0xd1,0x01,0xcd,0x0c,0x04]
0x05,0x6a,0xe0,0xd1,0x01,0xcd,0x0c,0x04

# CHECK: v_div_scale_f32 v5, vcc, v1, flat_scratch_hi, v3 ; encoding: [0x05,0x6a,0xe0,0xd1,0x01,0xcf,0x0c,0x04]
0x05,0x6a,0xe0,0xd1,0x01,0xcf,0x0c,0x04

# CHECK: v_div_scale_f32 v5, vcc, v1, vcc_lo, v3 ; encoding: [0x05,0x6a,0xe0,0xd1,0x01,0xd5,0x0c,0x04]
0x05,0x6a,0xe0,0xd1,0x01,0xd5,0x0c,0x04

# CHECK: v_div_scale_f32 v5, vcc, v1, vcc_hi, v3 ; encoding: [0x05,0x6a,0xe0,0xd1,0x01,0xd7,0x0c,0x04]
0x05,0x6a,0xe0,0xd1,0x01,0xd7,0x0c,0x04

# CHECK: v_div_scale_f32 v5, vcc, v1, tba_lo, v3 ; encoding: [0x05,0x6a,0xe0,0xd1,0x01,0xd9,0x0c,0x04]
0x05,0x6a,0xe0,0xd1,0x01,0xd9,0x0c,0x04

# CHECK: v_div_scale_f32 v5, vcc, v1, tba_hi, v3 ; encoding: [0x05,0x6a,0xe0,0xd1,0x01,0xdb,0x0c,0x04]
0x05,0x6a,0xe0,0xd1,0x01,0xdb,0x0c,0x04

# CHECK: v_div_scale_f32 v5, vcc, v1, tma_lo, v3 ; encoding: [0x05,0x6a,0xe0,0xd1,0x01,0xdd,0x0c,0x04]
0x05,0x6a,0xe0,0xd1,0x01,0xdd,0x0c,0x04

# CHECK: v_div_scale_f32 v5, vcc, v1, tma_hi, v3 ; encoding: [0x05,0x6a,0xe0,0xd1,0x01,0xdf,0x0c,0x04]
0x05,0x6a,0xe0,0xd1,0x01,0xdf,0x0c,0x04

# CHECK: v_div_scale_f32 v5, vcc, v1, ttmp11, v3 ; encoding: [0x05,0x6a,0xe0,0xd1,0x01,0xf7,0x0c,0x04]
0x05,0x6a,0xe0,0xd1,0x01,0xf7,0x0c,0x04

# CHECK: v_div_scale_f32 v5, vcc, v1, m0, v3     ; encoding: [0x05,0x6a,0xe0,0xd1,0x01,0xf9,0x0c,0x04]
0x05,0x6a,0xe0,0xd1,0x01,0xf9,0x0c,0x04

# CHECK: v_div_scale_f32 v5, vcc, v1, exec_lo, v3 ; encoding: [0x05,0x6a,0xe0,0xd1,0x01,0xfd,0x0c,0x04]
0x05,0x6a,0xe0,0xd1,0x01,0xfd,0x0c,0x04

# CHECK: v_div_scale_f32 v5, vcc, v1, exec_hi, v3 ; encoding: [0x05,0x6a,0xe0,0xd1,0x01,0xff,0x0c,0x04]
0x05,0x6a,0xe0,0xd1,0x01,0xff,0x0c,0x04

# CHECK: v_div_scale_f32 v5, vcc, v1, 0, v3      ; encoding: [0x05,0x6a,0xe0,0xd1,0x01,0x01,0x0d,0x04]
0x05,0x6a,0xe0,0xd1,0x01,0x01,0x0d,0x04

# CHECK: v_div_scale_f32 v5, vcc, v1, -1, v3     ; encoding: [0x05,0x6a,0xe0,0xd1,0x01,0x83,0x0d,0x04]
0x05,0x6a,0xe0,0xd1,0x01,0x83,0x0d,0x04

# CHECK: v_div_scale_f32 v5, vcc, v1, 0.5, v3    ; encoding: [0x05,0x6a,0xe0,0xd1,0x01,0xe1,0x0d,0x04]
0x05,0x6a,0xe0,0xd1,0x01,0xe1,0x0d,0x04

# CHECK: v_div_scale_f32 v5, vcc, v1, -4.0, v3   ; encoding: [0x05,0x6a,0xe0,0xd1,0x01,0xef,0x0d,0x04]
0x05,0x6a,0xe0,0xd1,0x01,0xef,0x0d,0x04

# CHECK: v_div_scale_f32 v5, vcc, v1, v2, v255   ; encoding: [0x05,0x6a,0xe0,0xd1,0x01,0x05,0xfe,0x07]
0x05,0x6a,0xe0,0xd1,0x01,0x05,0xfe,0x07

# CHECK: v_div_scale_f32 v5, vcc, v1, v2, s3     ; encoding: [0x05,0x6a,0xe0,0xd1,0x01,0x05,0x0e,0x00]
0x05,0x6a,0xe0,0xd1,0x01,0x05,0x0e,0x00

# CHECK: v_div_scale_f32 v5, vcc, v1, v2, s101   ; encoding: [0x05,0x6a,0xe0,0xd1,0x01,0x05,0x96,0x01]
0x05,0x6a,0xe0,0xd1,0x01,0x05,0x96,0x01

# CHECK: v_div_scale_f32 v5, vcc, v1, v2, flat_scratch_lo ; encoding: [0x05,0x6a,0xe0,0xd1,0x01,0x05,0x9a,0x01]
0x05,0x6a,0xe0,0xd1,0x01,0x05,0x9a,0x01

# CHECK: v_div_scale_f32 v5, vcc, v1, v2, flat_scratch_hi ; encoding: [0x05,0x6a,0xe0,0xd1,0x01,0x05,0x9e,0x01]
0x05,0x6a,0xe0,0xd1,0x01,0x05,0x9e,0x01

# CHECK: v_div_scale_f32 v5, vcc, v1, v2, vcc_lo ; encoding: [0x05,0x6a,0xe0,0xd1,0x01,0x05,0xaa,0x01]
0x05,0x6a,0xe0,0xd1,0x01,0x05,0xaa,0x01

# CHECK: v_div_scale_f32 v5, vcc, v1, v2, vcc_hi ; encoding: [0x05,0x6a,0xe0,0xd1,0x01,0x05,0xae,0x01]
0x05,0x6a,0xe0,0xd1,0x01,0x05,0xae,0x01

# CHECK: v_div_scale_f32 v5, vcc, v1, v2, tba_lo ; encoding: [0x05,0x6a,0xe0,0xd1,0x01,0x05,0xb2,0x01]
0x05,0x6a,0xe0,0xd1,0x01,0x05,0xb2,0x01

# CHECK: v_div_scale_f32 v5, vcc, v1, v2, tba_hi ; encoding: [0x05,0x6a,0xe0,0xd1,0x01,0x05,0xb6,0x01]
0x05,0x6a,0xe0,0xd1,0x01,0x05,0xb6,0x01

# CHECK: v_div_scale_f32 v5, vcc, v1, v2, tma_lo ; encoding: [0x05,0x6a,0xe0,0xd1,0x01,0x05,0xba,0x01]
0x05,0x6a,0xe0,0xd1,0x01,0x05,0xba,0x01

# CHECK: v_div_scale_f32 v5, vcc, v1, v2, tma_hi ; encoding: [0x05,0x6a,0xe0,0xd1,0x01,0x05,0xbe,0x01]
0x05,0x6a,0xe0,0xd1,0x01,0x05,0xbe,0x01

# CHECK: v_div_scale_f32 v5, vcc, v1, v2, ttmp11 ; encoding: [0x05,0x6a,0xe0,0xd1,0x01,0x05,0xee,0x01]
0x05,0x6a,0xe0,0xd1,0x01,0x05,0xee,0x01

# CHECK: v_div_scale_f32 v5, vcc, v1, v2, m0     ; encoding: [0x05,0x6a,0xe0,0xd1,0x01,0x05,0xf2,0x01]
0x05,0x6a,0xe0,0xd1,0x01,0x05,0xf2,0x01

# CHECK: v_div_scale_f32 v5, vcc, v1, v2, exec_lo ; encoding: [0x05,0x6a,0xe0,0xd1,0x01,0x05,0xfa,0x01]
0x05,0x6a,0xe0,0xd1,0x01,0x05,0xfa,0x01

# CHECK: v_div_scale_f32 v5, vcc, v1, v2, exec_hi ; encoding: [0x05,0x6a,0xe0,0xd1,0x01,0x05,0xfe,0x01]
0x05,0x6a,0xe0,0xd1,0x01,0x05,0xfe,0x01

# CHECK: v_div_scale_f32 v5, vcc, v1, v2, 0      ; encoding: [0x05,0x6a,0xe0,0xd1,0x01,0x05,0x02,0x02]
0x05,0x6a,0xe0,0xd1,0x01,0x05,0x02,0x02

# CHECK: v_div_scale_f32 v5, vcc, v1, v2, -1     ; encoding: [0x05,0x6a,0xe0,0xd1,0x01,0x05,0x06,0x03]
0x05,0x6a,0xe0,0xd1,0x01,0x05,0x06,0x03

# CHECK: v_div_scale_f32 v5, vcc, v1, v2, 0.5    ; encoding: [0x05,0x6a,0xe0,0xd1,0x01,0x05,0xc2,0x03]
0x05,0x6a,0xe0,0xd1,0x01,0x05,0xc2,0x03

# CHECK: v_div_scale_f32 v5, vcc, v1, v2, -4.0   ; encoding: [0x05,0x6a,0xe0,0xd1,0x01,0x05,0xde,0x03]
0x05,0x6a,0xe0,0xd1,0x01,0x05,0xde,0x03

# CHECK: v_div_scale_f64 v[5:6], vcc, v[1:2], v[2:3], v[3:4] ; encoding: [0x05,0x6a,0xe1,0xd1,0x01,0x05,0x0e,0x04]
0x05,0x6a,0xe1,0xd1,0x01,0x05,0x0e,0x04

# CHECK: v_div_scale_f64 v[254:255], vcc, v[1:2], v[2:3], v[3:4] ; encoding: [0xfe,0x6a,0xe1,0xd1,0x01,0x05,0x0e,0x04]
0xfe,0x6a,0xe1,0xd1,0x01,0x05,0x0e,0x04

# CHECK: v_div_scale_f64 v[5:6], vcc, v[254:255], v[2:3], v[3:4] ; encoding: [0x05,0x6a,0xe1,0xd1,0xfe,0x05,0x0e,0x04]
0x05,0x6a,0xe1,0xd1,0xfe,0x05,0x0e,0x04

# CHECK: v_div_scale_f64 v[5:6], vcc, s[2:3], v[2:3], v[3:4] ; encoding: [0x05,0x6a,0xe1,0xd1,0x02,0x04,0x0e,0x04]
0x05,0x6a,0xe1,0xd1,0x02,0x04,0x0e,0x04

# CHECK: v_div_scale_f64 v[5:6], vcc, s[4:5], v[2:3], v[3:4] ; encoding: [0x05,0x6a,0xe1,0xd1,0x04,0x04,0x0e,0x04]
0x05,0x6a,0xe1,0xd1,0x04,0x04,0x0e,0x04

# CHECK: v_div_scale_f64 v[5:6], vcc, s[100:101], v[2:3], v[3:4] ; encoding: [0x05,0x6a,0xe1,0xd1,0x64,0x04,0x0e,0x04]
0x05,0x6a,0xe1,0xd1,0x64,0x04,0x0e,0x04

# CHECK: v_div_scale_f64 v[5:6], vcc, flat_scratch, v[2:3], v[3:4] ; encoding: [0x05,0x6a,0xe1,0xd1,0x66,0x04,0x0e,0x04]
0x05,0x6a,0xe1,0xd1,0x66,0x04,0x0e,0x04

# CHECK: v_div_scale_f64 v[5:6], vcc, vcc, v[2:3], v[3:4] ; encoding: [0x05,0x6a,0xe1,0xd1,0x6a,0x04,0x0e,0x04]
0x05,0x6a,0xe1,0xd1,0x6a,0x04,0x0e,0x04

# CHECK: v_div_scale_f64 v[5:6], vcc, tba, v[2:3], v[3:4] ; encoding: [0x05,0x6a,0xe1,0xd1,0x6c,0x04,0x0e,0x04]
0x05,0x6a,0xe1,0xd1,0x6c,0x04,0x0e,0x04

# CHECK: v_div_scale_f64 v[5:6], vcc, tma, v[2:3], v[3:4] ; encoding: [0x05,0x6a,0xe1,0xd1,0x6e,0x04,0x0e,0x04]
0x05,0x6a,0xe1,0xd1,0x6e,0x04,0x0e,0x04

# CHECK: v_div_scale_f64 v[5:6], vcc, ttmp[10:11], v[2:3], v[3:4] ; encoding: [0x05,0x6a,0xe1,0xd1,0x7a,0x04,0x0e,0x04]
0x05,0x6a,0xe1,0xd1,0x7a,0x04,0x0e,0x04

# CHECK: v_div_scale_f64 v[5:6], vcc, exec, v[2:3], v[3:4] ; encoding: [0x05,0x6a,0xe1,0xd1,0x7e,0x04,0x0e,0x04]
0x05,0x6a,0xe1,0xd1,0x7e,0x04,0x0e,0x04

# CHECK: v_div_scale_f64 v[5:6], vcc, 0, v[2:3], v[3:4] ; encoding: [0x05,0x6a,0xe1,0xd1,0x80,0x04,0x0e,0x04]
0x05,0x6a,0xe1,0xd1,0x80,0x04,0x0e,0x04

# CHECK: v_div_scale_f64 v[5:6], vcc, -1, v[2:3], v[3:4] ; encoding: [0x05,0x6a,0xe1,0xd1,0xc1,0x04,0x0e,0x04]
0x05,0x6a,0xe1,0xd1,0xc1,0x04,0x0e,0x04

# CHECK: v_div_scale_f64 v[5:6], vcc, 0.5, v[2:3], v[3:4] ; encoding: [0x05,0x6a,0xe1,0xd1,0xf0,0x04,0x0e,0x04]
0x05,0x6a,0xe1,0xd1,0xf0,0x04,0x0e,0x04

# CHECK: v_div_scale_f64 v[5:6], vcc, -4.0, v[2:3], v[3:4] ; encoding: [0x05,0x6a,0xe1,0xd1,0xf7,0x04,0x0e,0x04]
0x05,0x6a,0xe1,0xd1,0xf7,0x04,0x0e,0x04

# CHECK: v_div_scale_f64 v[5:6], vcc, v[1:2], v[254:255], v[3:4] ; encoding: [0x05,0x6a,0xe1,0xd1,0x01,0xfd,0x0f,0x04]
0x05,0x6a,0xe1,0xd1,0x01,0xfd,0x0f,0x04

# CHECK: v_div_scale_f64 v[5:6], vcc, v[1:2], s[4:5], v[3:4] ; encoding: [0x05,0x6a,0xe1,0xd1,0x01,0x09,0x0c,0x04]
0x05,0x6a,0xe1,0xd1,0x01,0x09,0x0c,0x04

# CHECK: v_div_scale_f64 v[5:6], vcc, v[1:2], s[6:7], v[3:4] ; encoding: [0x05,0x6a,0xe1,0xd1,0x01,0x0d,0x0c,0x04]
0x05,0x6a,0xe1,0xd1,0x01,0x0d,0x0c,0x04

# CHECK: v_div_scale_f64 v[5:6], vcc, v[1:2], s[100:101], v[3:4] ; encoding: [0x05,0x6a,0xe1,0xd1,0x01,0xc9,0x0c,0x04]
0x05,0x6a,0xe1,0xd1,0x01,0xc9,0x0c,0x04

# CHECK: v_div_scale_f64 v[5:6], vcc, v[1:2], flat_scratch, v[3:4] ; encoding: [0x05,0x6a,0xe1,0xd1,0x01,0xcd,0x0c,0x04]
0x05,0x6a,0xe1,0xd1,0x01,0xcd,0x0c,0x04

# CHECK: v_div_scale_f64 v[5:6], vcc, v[1:2], vcc, v[3:4] ; encoding: [0x05,0x6a,0xe1,0xd1,0x01,0xd5,0x0c,0x04]
0x05,0x6a,0xe1,0xd1,0x01,0xd5,0x0c,0x04

# CHECK: v_div_scale_f64 v[5:6], vcc, v[1:2], tba, v[3:4] ; encoding: [0x05,0x6a,0xe1,0xd1,0x01,0xd9,0x0c,0x04]
0x05,0x6a,0xe1,0xd1,0x01,0xd9,0x0c,0x04

# CHECK: v_div_scale_f64 v[5:6], vcc, v[1:2], tma, v[3:4] ; encoding: [0x05,0x6a,0xe1,0xd1,0x01,0xdd,0x0c,0x04]
0x05,0x6a,0xe1,0xd1,0x01,0xdd,0x0c,0x04

# CHECK: v_div_scale_f64 v[5:6], vcc, v[1:2], ttmp[10:11], v[3:4] ; encoding: [0x05,0x6a,0xe1,0xd1,0x01,0xf5,0x0c,0x04]
0x05,0x6a,0xe1,0xd1,0x01,0xf5,0x0c,0x04

# CHECK: v_div_scale_f64 v[5:6], vcc, v[1:2], exec, v[3:4] ; encoding: [0x05,0x6a,0xe1,0xd1,0x01,0xfd,0x0c,0x04]
0x05,0x6a,0xe1,0xd1,0x01,0xfd,0x0c,0x04

# CHECK: v_div_scale_f64 v[5:6], vcc, v[1:2], 0, v[3:4] ; encoding: [0x05,0x6a,0xe1,0xd1,0x01,0x01,0x0d,0x04]
0x05,0x6a,0xe1,0xd1,0x01,0x01,0x0d,0x04

# CHECK: v_div_scale_f64 v[5:6], vcc, v[1:2], -1, v[3:4] ; encoding: [0x05,0x6a,0xe1,0xd1,0x01,0x83,0x0d,0x04]
0x05,0x6a,0xe1,0xd1,0x01,0x83,0x0d,0x04

# CHECK: v_div_scale_f64 v[5:6], vcc, v[1:2], 0.5, v[3:4] ; encoding: [0x05,0x6a,0xe1,0xd1,0x01,0xe1,0x0d,0x04]
0x05,0x6a,0xe1,0xd1,0x01,0xe1,0x0d,0x04

# CHECK: v_div_scale_f64 v[5:6], vcc, v[1:2], -4.0, v[3:4] ; encoding: [0x05,0x6a,0xe1,0xd1,0x01,0xef,0x0d,0x04]
0x05,0x6a,0xe1,0xd1,0x01,0xef,0x0d,0x04

# CHECK: v_div_scale_f64 v[5:6], vcc, v[1:2], v[2:3], v[254:255] ; encoding: [0x05,0x6a,0xe1,0xd1,0x01,0x05,0xfa,0x07]
0x05,0x6a,0xe1,0xd1,0x01,0x05,0xfa,0x07

# CHECK: v_div_scale_f64 v[5:6], vcc, v[1:2], v[2:3], s[6:7] ; encoding: [0x05,0x6a,0xe1,0xd1,0x01,0x05,0x1a,0x00]
0x05,0x6a,0xe1,0xd1,0x01,0x05,0x1a,0x00

# CHECK: v_div_scale_f64 v[5:6], vcc, v[1:2], v[2:3], s[8:9] ; encoding: [0x05,0x6a,0xe1,0xd1,0x01,0x05,0x22,0x00]
0x05,0x6a,0xe1,0xd1,0x01,0x05,0x22,0x00

# CHECK: v_div_scale_f64 v[5:6], vcc, v[1:2], v[2:3], s[100:101] ; encoding: [0x05,0x6a,0xe1,0xd1,0x01,0x05,0x92,0x01]
0x05,0x6a,0xe1,0xd1,0x01,0x05,0x92,0x01

# CHECK: v_div_scale_f64 v[5:6], vcc, v[1:2], v[2:3], flat_scratch ; encoding: [0x05,0x6a,0xe1,0xd1,0x01,0x05,0x9a,0x01]
0x05,0x6a,0xe1,0xd1,0x01,0x05,0x9a,0x01

# CHECK: v_div_scale_f64 v[5:6], vcc, v[1:2], v[2:3], vcc ; encoding: [0x05,0x6a,0xe1,0xd1,0x01,0x05,0xaa,0x01]
0x05,0x6a,0xe1,0xd1,0x01,0x05,0xaa,0x01

# CHECK: v_div_scale_f64 v[5:6], vcc, v[1:2], v[2:3], tba ; encoding: [0x05,0x6a,0xe1,0xd1,0x01,0x05,0xb2,0x01]
0x05,0x6a,0xe1,0xd1,0x01,0x05,0xb2,0x01

# CHECK: v_div_scale_f64 v[5:6], vcc, v[1:2], v[2:3], tma ; encoding: [0x05,0x6a,0xe1,0xd1,0x01,0x05,0xba,0x01]
0x05,0x6a,0xe1,0xd1,0x01,0x05,0xba,0x01

# CHECK: v_div_scale_f64 v[5:6], vcc, v[1:2], v[2:3], ttmp[10:11] ; encoding: [0x05,0x6a,0xe1,0xd1,0x01,0x05,0xea,0x01]
0x05,0x6a,0xe1,0xd1,0x01,0x05,0xea,0x01

# CHECK: v_div_scale_f64 v[5:6], vcc, v[1:2], v[2:3], exec ; encoding: [0x05,0x6a,0xe1,0xd1,0x01,0x05,0xfa,0x01]
0x05,0x6a,0xe1,0xd1,0x01,0x05,0xfa,0x01

# CHECK: v_div_scale_f64 v[5:6], vcc, v[1:2], v[2:3], 0 ; encoding: [0x05,0x6a,0xe1,0xd1,0x01,0x05,0x02,0x02]
0x05,0x6a,0xe1,0xd1,0x01,0x05,0x02,0x02

# CHECK: v_div_scale_f64 v[5:6], vcc, v[1:2], v[2:3], -1 ; encoding: [0x05,0x6a,0xe1,0xd1,0x01,0x05,0x06,0x03]
0x05,0x6a,0xe1,0xd1,0x01,0x05,0x06,0x03

# CHECK: v_div_scale_f64 v[5:6], vcc, v[1:2], v[2:3], 0.5 ; encoding: [0x05,0x6a,0xe1,0xd1,0x01,0x05,0xc2,0x03]
0x05,0x6a,0xe1,0xd1,0x01,0x05,0xc2,0x03

# CHECK: v_div_scale_f64 v[5:6], vcc, v[1:2], v[2:3], -4.0 ; encoding: [0x05,0x6a,0xe1,0xd1,0x01,0x05,0xde,0x03]
0x05,0x6a,0xe1,0xd1,0x01,0x05,0xde,0x03

# CHECK: v_div_fmas_f32 v5, v1, v2, v3           ; encoding: [0x05,0x00,0xe2,0xd1,0x01,0x05,0x0e,0x04]
0x05,0x00,0xe2,0xd1,0x01,0x05,0x0e,0x04

# CHECK: v_div_fmas_f32 v255, v1, v2, v3         ; encoding: [0xff,0x00,0xe2,0xd1,0x01,0x05,0x0e,0x04]
0xff,0x00,0xe2,0xd1,0x01,0x05,0x0e,0x04

# CHECK: v_div_fmas_f32 v5, v255, v2, v3         ; encoding: [0x05,0x00,0xe2,0xd1,0xff,0x05,0x0e,0x04]
0x05,0x00,0xe2,0xd1,0xff,0x05,0x0e,0x04

# CHECK: v_div_fmas_f32 v5, 0, v2, v3            ; encoding: [0x05,0x00,0xe2,0xd1,0x80,0x04,0x0e,0x04]
0x05,0x00,0xe2,0xd1,0x80,0x04,0x0e,0x04

# CHECK: v_div_fmas_f32 v5, -1, v2, v3           ; encoding: [0x05,0x00,0xe2,0xd1,0xc1,0x04,0x0e,0x04]
0x05,0x00,0xe2,0xd1,0xc1,0x04,0x0e,0x04

# CHECK: v_div_fmas_f32 v5, 0.5, v2, v3          ; encoding: [0x05,0x00,0xe2,0xd1,0xf0,0x04,0x0e,0x04]
0x05,0x00,0xe2,0xd1,0xf0,0x04,0x0e,0x04

# CHECK: v_div_fmas_f32 v5, -4.0, v2, v3         ; encoding: [0x05,0x00,0xe2,0xd1,0xf7,0x04,0x0e,0x04]
0x05,0x00,0xe2,0xd1,0xf7,0x04,0x0e,0x04

# CHECK: v_div_fmas_f32 v5, v1, v255, v3         ; encoding: [0x05,0x00,0xe2,0xd1,0x01,0xff,0x0f,0x04]
0x05,0x00,0xe2,0xd1,0x01,0xff,0x0f,0x04

# CHECK: v_div_fmas_f32 v5, v1, 0, v3            ; encoding: [0x05,0x00,0xe2,0xd1,0x01,0x01,0x0d,0x04]
0x05,0x00,0xe2,0xd1,0x01,0x01,0x0d,0x04

# CHECK: v_div_fmas_f32 v5, v1, -1, v3           ; encoding: [0x05,0x00,0xe2,0xd1,0x01,0x83,0x0d,0x04]
0x05,0x00,0xe2,0xd1,0x01,0x83,0x0d,0x04

# CHECK: v_div_fmas_f32 v5, v1, 0.5, v3          ; encoding: [0x05,0x00,0xe2,0xd1,0x01,0xe1,0x0d,0x04]
0x05,0x00,0xe2,0xd1,0x01,0xe1,0x0d,0x04

# CHECK: v_div_fmas_f32 v5, v1, -4.0, v3         ; encoding: [0x05,0x00,0xe2,0xd1,0x01,0xef,0x0d,0x04]
0x05,0x00,0xe2,0xd1,0x01,0xef,0x0d,0x04

# CHECK: v_div_fmas_f32 v5, v1, v2, v255         ; encoding: [0x05,0x00,0xe2,0xd1,0x01,0x05,0xfe,0x07]
0x05,0x00,0xe2,0xd1,0x01,0x05,0xfe,0x07

# CHECK: v_div_fmas_f32 v5, v1, v2, 0            ; encoding: [0x05,0x00,0xe2,0xd1,0x01,0x05,0x02,0x02]
0x05,0x00,0xe2,0xd1,0x01,0x05,0x02,0x02

# CHECK: v_div_fmas_f32 v5, v1, v2, -1           ; encoding: [0x05,0x00,0xe2,0xd1,0x01,0x05,0x06,0x03]
0x05,0x00,0xe2,0xd1,0x01,0x05,0x06,0x03

# CHECK: v_div_fmas_f32 v5, v1, v2, 0.5          ; encoding: [0x05,0x00,0xe2,0xd1,0x01,0x05,0xc2,0x03]
0x05,0x00,0xe2,0xd1,0x01,0x05,0xc2,0x03

# CHECK: v_div_fmas_f32 v5, v1, v2, -4.0         ; encoding: [0x05,0x00,0xe2,0xd1,0x01,0x05,0xde,0x03]
0x05,0x00,0xe2,0xd1,0x01,0x05,0xde,0x03

# CHECK: v_div_fmas_f32 v5, -v1, v2, v3          ; encoding: [0x05,0x00,0xe2,0xd1,0x01,0x05,0x0e,0x24]
0x05,0x00,0xe2,0xd1,0x01,0x05,0x0e,0x24

# CHECK: v_div_fmas_f32 v5, v1, -v2, v3          ; encoding: [0x05,0x00,0xe2,0xd1,0x01,0x05,0x0e,0x44]
0x05,0x00,0xe2,0xd1,0x01,0x05,0x0e,0x44

# CHECK: v_div_fmas_f32 v5, v1, v2, -v3          ; encoding: [0x05,0x00,0xe2,0xd1,0x01,0x05,0x0e,0x84]
0x05,0x00,0xe2,0xd1,0x01,0x05,0x0e,0x84

# CHECK: v_div_fmas_f32 v5, -v1, -v2, -v3        ; encoding: [0x05,0x00,0xe2,0xd1,0x01,0x05,0x0e,0xe4]
0x05,0x00,0xe2,0xd1,0x01,0x05,0x0e,0xe4

# CHECK: v_div_fmas_f32 v5, |v1|, v2, v3         ; encoding: [0x05,0x01,0xe2,0xd1,0x01,0x05,0x0e,0x04]
0x05,0x01,0xe2,0xd1,0x01,0x05,0x0e,0x04

# CHECK: v_div_fmas_f32 v5, v1, |v2|, v3         ; encoding: [0x05,0x02,0xe2,0xd1,0x01,0x05,0x0e,0x04]
0x05,0x02,0xe2,0xd1,0x01,0x05,0x0e,0x04

# CHECK: v_div_fmas_f32 v5, v1, v2, |v3|         ; encoding: [0x05,0x04,0xe2,0xd1,0x01,0x05,0x0e,0x04]
0x05,0x04,0xe2,0xd1,0x01,0x05,0x0e,0x04

# CHECK: v_div_fmas_f32 v5, |v1|, |v2|, |v3|     ; encoding: [0x05,0x07,0xe2,0xd1,0x01,0x05,0x0e,0x04]
0x05,0x07,0xe2,0xd1,0x01,0x05,0x0e,0x04

# CHECK: v_div_fmas_f32 v5, v1, v2, v3 clamp     ; encoding: [0x05,0x80,0xe2,0xd1,0x01,0x05,0x0e,0x04]
0x05,0x80,0xe2,0xd1,0x01,0x05,0x0e,0x04

# CHECK: v_div_fmas_f32 v5, v1, v2, v3 mul:2     ; encoding: [0x05,0x00,0xe2,0xd1,0x01,0x05,0x0e,0x0c]
0x05,0x00,0xe2,0xd1,0x01,0x05,0x0e,0x0c

# CHECK: v_div_fmas_f32 v5, v1, v2, v3 mul:4     ; encoding: [0x05,0x00,0xe2,0xd1,0x01,0x05,0x0e,0x14]
0x05,0x00,0xe2,0xd1,0x01,0x05,0x0e,0x14

# CHECK: v_div_fmas_f32 v5, v1, v2, v3 div:2     ; encoding: [0x05,0x00,0xe2,0xd1,0x01,0x05,0x0e,0x1c]
0x05,0x00,0xe2,0xd1,0x01,0x05,0x0e,0x1c

# CHECK: v_div_fmas_f64 v[5:6], v[1:2], v[2:3], v[3:4] ; encoding: [0x05,0x00,0xe3,0xd1,0x01,0x05,0x0e,0x04]
0x05,0x00,0xe3,0xd1,0x01,0x05,0x0e,0x04

# CHECK: v_div_fmas_f64 v[254:255], v[1:2], v[2:3], v[3:4] ; encoding: [0xfe,0x00,0xe3,0xd1,0x01,0x05,0x0e,0x04]
0xfe,0x00,0xe3,0xd1,0x01,0x05,0x0e,0x04

# CHECK: v_div_fmas_f64 v[5:6], v[254:255], v[2:3], v[3:4] ; encoding: [0x05,0x00,0xe3,0xd1,0xfe,0x05,0x0e,0x04]
0x05,0x00,0xe3,0xd1,0xfe,0x05,0x0e,0x04

# CHECK: v_div_fmas_f64 v[5:6], vcc, v[2:3], v[3:4] ; encoding: [0x05,0x00,0xe3,0xd1,0x6a,0x04,0x0e,0x04]
0x05,0x00,0xe3,0xd1,0x6a,0x04,0x0e,0x04

# CHECK: v_div_fmas_f64 v[5:6], 0, v[2:3], v[3:4] ; encoding: [0x05,0x00,0xe3,0xd1,0x80,0x04,0x0e,0x04]
0x05,0x00,0xe3,0xd1,0x80,0x04,0x0e,0x04

# CHECK: v_div_fmas_f64 v[5:6], -1, v[2:3], v[3:4] ; encoding: [0x05,0x00,0xe3,0xd1,0xc1,0x04,0x0e,0x04]
0x05,0x00,0xe3,0xd1,0xc1,0x04,0x0e,0x04

# CHECK: v_div_fmas_f64 v[5:6], 0.5, v[2:3], v[3:4] ; encoding: [0x05,0x00,0xe3,0xd1,0xf0,0x04,0x0e,0x04]
0x05,0x00,0xe3,0xd1,0xf0,0x04,0x0e,0x04

# CHECK: v_div_fmas_f64 v[5:6], -4.0, v[2:3], v[3:4] ; encoding: [0x05,0x00,0xe3,0xd1,0xf7,0x04,0x0e,0x04]
0x05,0x00,0xe3,0xd1,0xf7,0x04,0x0e,0x04

# CHECK: v_div_fmas_f64 v[5:6], v[1:2], v[254:255], v[3:4] ; encoding: [0x05,0x00,0xe3,0xd1,0x01,0xfd,0x0f,0x04]
0x05,0x00,0xe3,0xd1,0x01,0xfd,0x0f,0x04

# CHECK: v_div_fmas_f64 v[5:6], v[1:2], vcc, v[3:4] ; encoding: [0x05,0x00,0xe3,0xd1,0x01,0xd5,0x0c,0x04]
0x05,0x00,0xe3,0xd1,0x01,0xd5,0x0c,0x04

# CHECK: v_div_fmas_f64 v[5:6], v[1:2], 0, v[3:4] ; encoding: [0x05,0x00,0xe3,0xd1,0x01,0x01,0x0d,0x04]
0x05,0x00,0xe3,0xd1,0x01,0x01,0x0d,0x04

# CHECK: v_div_fmas_f64 v[5:6], v[1:2], -1, v[3:4] ; encoding: [0x05,0x00,0xe3,0xd1,0x01,0x83,0x0d,0x04]
0x05,0x00,0xe3,0xd1,0x01,0x83,0x0d,0x04

# CHECK: v_div_fmas_f64 v[5:6], v[1:2], 0.5, v[3:4] ; encoding: [0x05,0x00,0xe3,0xd1,0x01,0xe1,0x0d,0x04]
0x05,0x00,0xe3,0xd1,0x01,0xe1,0x0d,0x04

# CHECK: v_div_fmas_f64 v[5:6], v[1:2], -4.0, v[3:4] ; encoding: [0x05,0x00,0xe3,0xd1,0x01,0xef,0x0d,0x04]
0x05,0x00,0xe3,0xd1,0x01,0xef,0x0d,0x04

# CHECK: v_div_fmas_f64 v[5:6], v[1:2], v[2:3], v[254:255] ; encoding: [0x05,0x00,0xe3,0xd1,0x01,0x05,0xfa,0x07]
0x05,0x00,0xe3,0xd1,0x01,0x05,0xfa,0x07

# CHECK: v_div_fmas_f64 v[5:6], v[1:2], v[2:3], vcc ; encoding: [0x05,0x00,0xe3,0xd1,0x01,0x05,0xaa,0x01]
0x05,0x00,0xe3,0xd1,0x01,0x05,0xaa,0x01

# CHECK: v_div_fmas_f64 v[5:6], v[1:2], v[2:3], 0 ; encoding: [0x05,0x00,0xe3,0xd1,0x01,0x05,0x02,0x02]
0x05,0x00,0xe3,0xd1,0x01,0x05,0x02,0x02

# CHECK: v_div_fmas_f64 v[5:6], v[1:2], v[2:3], -1 ; encoding: [0x05,0x00,0xe3,0xd1,0x01,0x05,0x06,0x03]
0x05,0x00,0xe3,0xd1,0x01,0x05,0x06,0x03

# CHECK: v_div_fmas_f64 v[5:6], v[1:2], v[2:3], 0.5 ; encoding: [0x05,0x00,0xe3,0xd1,0x01,0x05,0xc2,0x03]
0x05,0x00,0xe3,0xd1,0x01,0x05,0xc2,0x03

# CHECK: v_div_fmas_f64 v[5:6], v[1:2], v[2:3], -4.0 ; encoding: [0x05,0x00,0xe3,0xd1,0x01,0x05,0xde,0x03]
0x05,0x00,0xe3,0xd1,0x01,0x05,0xde,0x03

# CHECK: v_div_fmas_f64 v[5:6], -v[1:2], v[2:3], v[3:4] ; encoding: [0x05,0x00,0xe3,0xd1,0x01,0x05,0x0e,0x24]
0x05,0x00,0xe3,0xd1,0x01,0x05,0x0e,0x24

# CHECK: v_div_fmas_f64 v[5:6], v[1:2], -v[2:3], v[3:4] ; encoding: [0x05,0x00,0xe3,0xd1,0x01,0x05,0x0e,0x44]
0x05,0x00,0xe3,0xd1,0x01,0x05,0x0e,0x44

# CHECK: v_div_fmas_f64 v[5:6], v[1:2], v[2:3], -v[3:4] ; encoding: [0x05,0x00,0xe3,0xd1,0x01,0x05,0x0e,0x84]
0x05,0x00,0xe3,0xd1,0x01,0x05,0x0e,0x84

# CHECK: v_div_fmas_f64 v[5:6], -v[1:2], -v[2:3], -v[3:4] ; encoding: [0x05,0x00,0xe3,0xd1,0x01,0x05,0x0e,0xe4]
0x05,0x00,0xe3,0xd1,0x01,0x05,0x0e,0xe4

# CHECK: v_div_fmas_f64 v[5:6], |v[1:2]|, v[2:3], v[3:4] ; encoding: [0x05,0x01,0xe3,0xd1,0x01,0x05,0x0e,0x04]
0x05,0x01,0xe3,0xd1,0x01,0x05,0x0e,0x04

# CHECK: v_div_fmas_f64 v[5:6], v[1:2], |v[2:3]|, v[3:4] ; encoding: [0x05,0x02,0xe3,0xd1,0x01,0x05,0x0e,0x04]
0x05,0x02,0xe3,0xd1,0x01,0x05,0x0e,0x04

# CHECK: v_div_fmas_f64 v[5:6], v[1:2], v[2:3], |v[3:4]| ; encoding: [0x05,0x04,0xe3,0xd1,0x01,0x05,0x0e,0x04]
0x05,0x04,0xe3,0xd1,0x01,0x05,0x0e,0x04

# CHECK: v_div_fmas_f64 v[5:6], |v[1:2]|, |v[2:3]|, |v[3:4]| ; encoding: [0x05,0x07,0xe3,0xd1,0x01,0x05,0x0e,0x04]
0x05,0x07,0xe3,0xd1,0x01,0x05,0x0e,0x04

# CHECK: v_div_fmas_f64 v[5:6], v[1:2], v[2:3], v[3:4] clamp ; encoding: [0x05,0x80,0xe3,0xd1,0x01,0x05,0x0e,0x04]
0x05,0x80,0xe3,0xd1,0x01,0x05,0x0e,0x04

# CHECK: v_div_fmas_f64 v[5:6], v[1:2], v[2:3], v[3:4] mul:2 ; encoding: [0x05,0x00,0xe3,0xd1,0x01,0x05,0x0e,0x0c]
0x05,0x00,0xe3,0xd1,0x01,0x05,0x0e,0x0c

# CHECK: v_div_fmas_f64 v[5:6], v[1:2], v[2:3], v[3:4] mul:4 ; encoding: [0x05,0x00,0xe3,0xd1,0x01,0x05,0x0e,0x14]
0x05,0x00,0xe3,0xd1,0x01,0x05,0x0e,0x14

# CHECK: v_div_fmas_f64 v[5:6], v[1:2], v[2:3], v[3:4] div:2 ; encoding: [0x05,0x00,0xe3,0xd1,0x01,0x05,0x0e,0x1c]
0x05,0x00,0xe3,0xd1,0x01,0x05,0x0e,0x1c

# CHECK: v_msad_u8 v5, v1, v2, v3                ; encoding: [0x05,0x00,0xe4,0xd1,0x01,0x05,0x0e,0x04]
0x05,0x00,0xe4,0xd1,0x01,0x05,0x0e,0x04

# CHECK: v_msad_u8 v255, v1, v2, v3              ; encoding: [0xff,0x00,0xe4,0xd1,0x01,0x05,0x0e,0x04]
0xff,0x00,0xe4,0xd1,0x01,0x05,0x0e,0x04

# CHECK: v_msad_u8 v5, v255, v2, v3              ; encoding: [0x05,0x00,0xe4,0xd1,0xff,0x05,0x0e,0x04]
0x05,0x00,0xe4,0xd1,0xff,0x05,0x0e,0x04

# CHECK: v_msad_u8 v5, s1, v2, v3                ; encoding: [0x05,0x00,0xe4,0xd1,0x01,0x04,0x0e,0x04]
0x05,0x00,0xe4,0xd1,0x01,0x04,0x0e,0x04

# CHECK: v_msad_u8 v5, s101, v2, v3              ; encoding: [0x05,0x00,0xe4,0xd1,0x65,0x04,0x0e,0x04]
0x05,0x00,0xe4,0xd1,0x65,0x04,0x0e,0x04

# CHECK: v_msad_u8 v5, flat_scratch_lo, v2, v3   ; encoding: [0x05,0x00,0xe4,0xd1,0x66,0x04,0x0e,0x04]
0x05,0x00,0xe4,0xd1,0x66,0x04,0x0e,0x04

# CHECK: v_msad_u8 v5, flat_scratch_hi, v2, v3   ; encoding: [0x05,0x00,0xe4,0xd1,0x67,0x04,0x0e,0x04]
0x05,0x00,0xe4,0xd1,0x67,0x04,0x0e,0x04

# CHECK: v_msad_u8 v5, vcc_lo, v2, v3            ; encoding: [0x05,0x00,0xe4,0xd1,0x6a,0x04,0x0e,0x04]
0x05,0x00,0xe4,0xd1,0x6a,0x04,0x0e,0x04

# CHECK: v_msad_u8 v5, vcc_hi, v2, v3            ; encoding: [0x05,0x00,0xe4,0xd1,0x6b,0x04,0x0e,0x04]
0x05,0x00,0xe4,0xd1,0x6b,0x04,0x0e,0x04

# CHECK: v_msad_u8 v5, tba_lo, v2, v3            ; encoding: [0x05,0x00,0xe4,0xd1,0x6c,0x04,0x0e,0x04]
0x05,0x00,0xe4,0xd1,0x6c,0x04,0x0e,0x04

# CHECK: v_msad_u8 v5, tba_hi, v2, v3            ; encoding: [0x05,0x00,0xe4,0xd1,0x6d,0x04,0x0e,0x04]
0x05,0x00,0xe4,0xd1,0x6d,0x04,0x0e,0x04

# CHECK: v_msad_u8 v5, tma_lo, v2, v3            ; encoding: [0x05,0x00,0xe4,0xd1,0x6e,0x04,0x0e,0x04]
0x05,0x00,0xe4,0xd1,0x6e,0x04,0x0e,0x04

# CHECK: v_msad_u8 v5, tma_hi, v2, v3            ; encoding: [0x05,0x00,0xe4,0xd1,0x6f,0x04,0x0e,0x04]
0x05,0x00,0xe4,0xd1,0x6f,0x04,0x0e,0x04

# CHECK: v_msad_u8 v5, ttmp11, v2, v3            ; encoding: [0x05,0x00,0xe4,0xd1,0x7b,0x04,0x0e,0x04]
0x05,0x00,0xe4,0xd1,0x7b,0x04,0x0e,0x04

# CHECK: v_msad_u8 v5, m0, v2, v3                ; encoding: [0x05,0x00,0xe4,0xd1,0x7c,0x04,0x0e,0x04]
0x05,0x00,0xe4,0xd1,0x7c,0x04,0x0e,0x04

# CHECK: v_msad_u8 v5, exec_lo, v2, v3           ; encoding: [0x05,0x00,0xe4,0xd1,0x7e,0x04,0x0e,0x04]
0x05,0x00,0xe4,0xd1,0x7e,0x04,0x0e,0x04

# CHECK: v_msad_u8 v5, exec_hi, v2, v3           ; encoding: [0x05,0x00,0xe4,0xd1,0x7f,0x04,0x0e,0x04]
0x05,0x00,0xe4,0xd1,0x7f,0x04,0x0e,0x04

# CHECK: v_msad_u8 v5, 0, v2, v3                 ; encoding: [0x05,0x00,0xe4,0xd1,0x80,0x04,0x0e,0x04]
0x05,0x00,0xe4,0xd1,0x80,0x04,0x0e,0x04

# CHECK: v_msad_u8 v5, -1, v2, v3                ; encoding: [0x05,0x00,0xe4,0xd1,0xc1,0x04,0x0e,0x04]
0x05,0x00,0xe4,0xd1,0xc1,0x04,0x0e,0x04

# CHECK: v_msad_u8 v5, 0.5, v2, v3               ; encoding: [0x05,0x00,0xe4,0xd1,0xf0,0x04,0x0e,0x04]
0x05,0x00,0xe4,0xd1,0xf0,0x04,0x0e,0x04

# CHECK: v_msad_u8 v5, -4.0, v2, v3              ; encoding: [0x05,0x00,0xe4,0xd1,0xf7,0x04,0x0e,0x04]
0x05,0x00,0xe4,0xd1,0xf7,0x04,0x0e,0x04

# CHECK: v_msad_u8 v5, v1, v255, v3              ; encoding: [0x05,0x00,0xe4,0xd1,0x01,0xff,0x0f,0x04]
0x05,0x00,0xe4,0xd1,0x01,0xff,0x0f,0x04

# CHECK: v_msad_u8 v5, v1, s2, v3                ; encoding: [0x05,0x00,0xe4,0xd1,0x01,0x05,0x0c,0x04]
0x05,0x00,0xe4,0xd1,0x01,0x05,0x0c,0x04

# CHECK: v_msad_u8 v5, v1, s101, v3              ; encoding: [0x05,0x00,0xe4,0xd1,0x01,0xcb,0x0c,0x04]
0x05,0x00,0xe4,0xd1,0x01,0xcb,0x0c,0x04

# CHECK: v_msad_u8 v5, v1, flat_scratch_lo, v3   ; encoding: [0x05,0x00,0xe4,0xd1,0x01,0xcd,0x0c,0x04]
0x05,0x00,0xe4,0xd1,0x01,0xcd,0x0c,0x04

# CHECK: v_msad_u8 v5, v1, flat_scratch_hi, v3   ; encoding: [0x05,0x00,0xe4,0xd1,0x01,0xcf,0x0c,0x04]
0x05,0x00,0xe4,0xd1,0x01,0xcf,0x0c,0x04

# CHECK: v_msad_u8 v5, v1, vcc_lo, v3            ; encoding: [0x05,0x00,0xe4,0xd1,0x01,0xd5,0x0c,0x04]
0x05,0x00,0xe4,0xd1,0x01,0xd5,0x0c,0x04

# CHECK: v_msad_u8 v5, v1, vcc_hi, v3            ; encoding: [0x05,0x00,0xe4,0xd1,0x01,0xd7,0x0c,0x04]
0x05,0x00,0xe4,0xd1,0x01,0xd7,0x0c,0x04

# CHECK: v_msad_u8 v5, v1, tba_lo, v3            ; encoding: [0x05,0x00,0xe4,0xd1,0x01,0xd9,0x0c,0x04]
0x05,0x00,0xe4,0xd1,0x01,0xd9,0x0c,0x04

# CHECK: v_msad_u8 v5, v1, tba_hi, v3            ; encoding: [0x05,0x00,0xe4,0xd1,0x01,0xdb,0x0c,0x04]
0x05,0x00,0xe4,0xd1,0x01,0xdb,0x0c,0x04

# CHECK: v_msad_u8 v5, v1, tma_lo, v3            ; encoding: [0x05,0x00,0xe4,0xd1,0x01,0xdd,0x0c,0x04]
0x05,0x00,0xe4,0xd1,0x01,0xdd,0x0c,0x04

# CHECK: v_msad_u8 v5, v1, tma_hi, v3            ; encoding: [0x05,0x00,0xe4,0xd1,0x01,0xdf,0x0c,0x04]
0x05,0x00,0xe4,0xd1,0x01,0xdf,0x0c,0x04

# CHECK: v_msad_u8 v5, v1, ttmp11, v3            ; encoding: [0x05,0x00,0xe4,0xd1,0x01,0xf7,0x0c,0x04]
0x05,0x00,0xe4,0xd1,0x01,0xf7,0x0c,0x04

# CHECK: v_msad_u8 v5, v1, m0, v3                ; encoding: [0x05,0x00,0xe4,0xd1,0x01,0xf9,0x0c,0x04]
0x05,0x00,0xe4,0xd1,0x01,0xf9,0x0c,0x04

# CHECK: v_msad_u8 v5, v1, exec_lo, v3           ; encoding: [0x05,0x00,0xe4,0xd1,0x01,0xfd,0x0c,0x04]
0x05,0x00,0xe4,0xd1,0x01,0xfd,0x0c,0x04

# CHECK: v_msad_u8 v5, v1, exec_hi, v3           ; encoding: [0x05,0x00,0xe4,0xd1,0x01,0xff,0x0c,0x04]
0x05,0x00,0xe4,0xd1,0x01,0xff,0x0c,0x04

# CHECK: v_msad_u8 v5, v1, 0, v3                 ; encoding: [0x05,0x00,0xe4,0xd1,0x01,0x01,0x0d,0x04]
0x05,0x00,0xe4,0xd1,0x01,0x01,0x0d,0x04

# CHECK: v_msad_u8 v5, v1, -1, v3                ; encoding: [0x05,0x00,0xe4,0xd1,0x01,0x83,0x0d,0x04]
0x05,0x00,0xe4,0xd1,0x01,0x83,0x0d,0x04

# CHECK: v_msad_u8 v5, v1, 0.5, v3               ; encoding: [0x05,0x00,0xe4,0xd1,0x01,0xe1,0x0d,0x04]
0x05,0x00,0xe4,0xd1,0x01,0xe1,0x0d,0x04

# CHECK: v_msad_u8 v5, v1, -4.0, v3              ; encoding: [0x05,0x00,0xe4,0xd1,0x01,0xef,0x0d,0x04]
0x05,0x00,0xe4,0xd1,0x01,0xef,0x0d,0x04

# CHECK: v_msad_u8 v5, v1, v2, v255              ; encoding: [0x05,0x00,0xe4,0xd1,0x01,0x05,0xfe,0x07]
0x05,0x00,0xe4,0xd1,0x01,0x05,0xfe,0x07

# CHECK: v_msad_u8 v5, v1, v2, s3                ; encoding: [0x05,0x00,0xe4,0xd1,0x01,0x05,0x0e,0x00]
0x05,0x00,0xe4,0xd1,0x01,0x05,0x0e,0x00

# CHECK: v_msad_u8 v5, v1, v2, s101              ; encoding: [0x05,0x00,0xe4,0xd1,0x01,0x05,0x96,0x01]
0x05,0x00,0xe4,0xd1,0x01,0x05,0x96,0x01

# CHECK: v_msad_u8 v5, v1, v2, flat_scratch_lo   ; encoding: [0x05,0x00,0xe4,0xd1,0x01,0x05,0x9a,0x01]
0x05,0x00,0xe4,0xd1,0x01,0x05,0x9a,0x01

# CHECK: v_msad_u8 v5, v1, v2, flat_scratch_hi   ; encoding: [0x05,0x00,0xe4,0xd1,0x01,0x05,0x9e,0x01]
0x05,0x00,0xe4,0xd1,0x01,0x05,0x9e,0x01

# CHECK: v_msad_u8 v5, v1, v2, vcc_lo            ; encoding: [0x05,0x00,0xe4,0xd1,0x01,0x05,0xaa,0x01]
0x05,0x00,0xe4,0xd1,0x01,0x05,0xaa,0x01

# CHECK: v_msad_u8 v5, v1, v2, vcc_hi            ; encoding: [0x05,0x00,0xe4,0xd1,0x01,0x05,0xae,0x01]
0x05,0x00,0xe4,0xd1,0x01,0x05,0xae,0x01

# CHECK: v_msad_u8 v5, v1, v2, tba_lo            ; encoding: [0x05,0x00,0xe4,0xd1,0x01,0x05,0xb2,0x01]
0x05,0x00,0xe4,0xd1,0x01,0x05,0xb2,0x01

# CHECK: v_msad_u8 v5, v1, v2, tba_hi            ; encoding: [0x05,0x00,0xe4,0xd1,0x01,0x05,0xb6,0x01]
0x05,0x00,0xe4,0xd1,0x01,0x05,0xb6,0x01

# CHECK: v_msad_u8 v5, v1, v2, tma_lo            ; encoding: [0x05,0x00,0xe4,0xd1,0x01,0x05,0xba,0x01]
0x05,0x00,0xe4,0xd1,0x01,0x05,0xba,0x01

# CHECK: v_msad_u8 v5, v1, v2, tma_hi            ; encoding: [0x05,0x00,0xe4,0xd1,0x01,0x05,0xbe,0x01]
0x05,0x00,0xe4,0xd1,0x01,0x05,0xbe,0x01

# CHECK: v_msad_u8 v5, v1, v2, ttmp11            ; encoding: [0x05,0x00,0xe4,0xd1,0x01,0x05,0xee,0x01]
0x05,0x00,0xe4,0xd1,0x01,0x05,0xee,0x01

# CHECK: v_msad_u8 v5, v1, v2, m0                ; encoding: [0x05,0x00,0xe4,0xd1,0x01,0x05,0xf2,0x01]
0x05,0x00,0xe4,0xd1,0x01,0x05,0xf2,0x01

# CHECK: v_msad_u8 v5, v1, v2, exec_lo           ; encoding: [0x05,0x00,0xe4,0xd1,0x01,0x05,0xfa,0x01]
0x05,0x00,0xe4,0xd1,0x01,0x05,0xfa,0x01

# CHECK: v_msad_u8 v5, v1, v2, exec_hi           ; encoding: [0x05,0x00,0xe4,0xd1,0x01,0x05,0xfe,0x01]
0x05,0x00,0xe4,0xd1,0x01,0x05,0xfe,0x01

# CHECK: v_msad_u8 v5, v1, v2, 0                 ; encoding: [0x05,0x00,0xe4,0xd1,0x01,0x05,0x02,0x02]
0x05,0x00,0xe4,0xd1,0x01,0x05,0x02,0x02

# CHECK: v_msad_u8 v5, v1, v2, -1                ; encoding: [0x05,0x00,0xe4,0xd1,0x01,0x05,0x06,0x03]
0x05,0x00,0xe4,0xd1,0x01,0x05,0x06,0x03

# CHECK: v_msad_u8 v5, v1, v2, 0.5               ; encoding: [0x05,0x00,0xe4,0xd1,0x01,0x05,0xc2,0x03]
0x05,0x00,0xe4,0xd1,0x01,0x05,0xc2,0x03

# CHECK: v_msad_u8 v5, v1, v2, -4.0              ; encoding: [0x05,0x00,0xe4,0xd1,0x01,0x05,0xde,0x03]
0x05,0x00,0xe4,0xd1,0x01,0x05,0xde,0x03

# CHECK: v_msad_u8 v5, v1, v2, v3 clamp          ; encoding: [0x05,0x80,0xe4,0xd1,0x01,0x05,0x0e,0x04]
0x05,0x80,0xe4,0xd1,0x01,0x05,0x0e,0x04

# CHECK: v_qsad_pk_u16_u8 v[5:6], v[1:2], v2, v[3:4] ; encoding: [0x05,0x00,0xe5,0xd1,0x01,0x05,0x0e,0x04]
0x05,0x00,0xe5,0xd1,0x01,0x05,0x0e,0x04

# CHECK: v_qsad_pk_u16_u8 v[254:255], v[1:2], v2, v[3:4] ; encoding: [0xfe,0x00,0xe5,0xd1,0x01,0x05,0x0e,0x04]
0xfe,0x00,0xe5,0xd1,0x01,0x05,0x0e,0x04

# CHECK: v_qsad_pk_u16_u8 v[5:6], v[254:255], v2, v[3:4] ; encoding: [0x05,0x00,0xe5,0xd1,0xfe,0x05,0x0e,0x04]
0x05,0x00,0xe5,0xd1,0xfe,0x05,0x0e,0x04

# CHECK: v_qsad_pk_u16_u8 v[5:6], s[2:3], v2, v[3:4] ; encoding: [0x05,0x00,0xe5,0xd1,0x02,0x04,0x0e,0x04]
0x05,0x00,0xe5,0xd1,0x02,0x04,0x0e,0x04

# CHECK: v_qsad_pk_u16_u8 v[5:6], s[4:5], v2, v[3:4] ; encoding: [0x05,0x00,0xe5,0xd1,0x04,0x04,0x0e,0x04]
0x05,0x00,0xe5,0xd1,0x04,0x04,0x0e,0x04

# CHECK: v_qsad_pk_u16_u8 v[5:6], s[100:101], v2, v[3:4] ; encoding: [0x05,0x00,0xe5,0xd1,0x64,0x04,0x0e,0x04]
0x05,0x00,0xe5,0xd1,0x64,0x04,0x0e,0x04

# CHECK: v_qsad_pk_u16_u8 v[5:6], flat_scratch, v2, v[3:4] ; encoding: [0x05,0x00,0xe5,0xd1,0x66,0x04,0x0e,0x04]
0x05,0x00,0xe5,0xd1,0x66,0x04,0x0e,0x04

# CHECK: v_qsad_pk_u16_u8 v[5:6], vcc, v2, v[3:4] ; encoding: [0x05,0x00,0xe5,0xd1,0x6a,0x04,0x0e,0x04]
0x05,0x00,0xe5,0xd1,0x6a,0x04,0x0e,0x04

# CHECK: v_qsad_pk_u16_u8 v[5:6], tba, v2, v[3:4] ; encoding: [0x05,0x00,0xe5,0xd1,0x6c,0x04,0x0e,0x04]
0x05,0x00,0xe5,0xd1,0x6c,0x04,0x0e,0x04

# CHECK: v_qsad_pk_u16_u8 v[5:6], tma, v2, v[3:4] ; encoding: [0x05,0x00,0xe5,0xd1,0x6e,0x04,0x0e,0x04]
0x05,0x00,0xe5,0xd1,0x6e,0x04,0x0e,0x04

# CHECK: v_qsad_pk_u16_u8 v[5:6], ttmp[10:11], v2, v[3:4] ; encoding: [0x05,0x00,0xe5,0xd1,0x7a,0x04,0x0e,0x04]
0x05,0x00,0xe5,0xd1,0x7a,0x04,0x0e,0x04

# CHECK: v_qsad_pk_u16_u8 v[5:6], exec, v2, v[3:4] ; encoding: [0x05,0x00,0xe5,0xd1,0x7e,0x04,0x0e,0x04]
0x05,0x00,0xe5,0xd1,0x7e,0x04,0x0e,0x04

# CHECK: v_qsad_pk_u16_u8 v[5:6], 0, v2, v[3:4]  ; encoding: [0x05,0x00,0xe5,0xd1,0x80,0x04,0x0e,0x04]
0x05,0x00,0xe5,0xd1,0x80,0x04,0x0e,0x04

# CHECK: v_qsad_pk_u16_u8 v[5:6], -1, v2, v[3:4] ; encoding: [0x05,0x00,0xe5,0xd1,0xc1,0x04,0x0e,0x04]
0x05,0x00,0xe5,0xd1,0xc1,0x04,0x0e,0x04

# CHECK: v_qsad_pk_u16_u8 v[5:6], 0.5, v2, v[3:4] ; encoding: [0x05,0x00,0xe5,0xd1,0xf0,0x04,0x0e,0x04]
0x05,0x00,0xe5,0xd1,0xf0,0x04,0x0e,0x04

# CHECK: v_qsad_pk_u16_u8 v[5:6], -4.0, v2, v[3:4] ; encoding: [0x05,0x00,0xe5,0xd1,0xf7,0x04,0x0e,0x04]
0x05,0x00,0xe5,0xd1,0xf7,0x04,0x0e,0x04

# CHECK: v_qsad_pk_u16_u8 v[5:6], v[1:2], v255, v[3:4] ; encoding: [0x05,0x00,0xe5,0xd1,0x01,0xff,0x0f,0x04]
0x05,0x00,0xe5,0xd1,0x01,0xff,0x0f,0x04

# CHECK: v_qsad_pk_u16_u8 v[5:6], v[1:2], s2, v[3:4] ; encoding: [0x05,0x00,0xe5,0xd1,0x01,0x05,0x0c,0x04]
0x05,0x00,0xe5,0xd1,0x01,0x05,0x0c,0x04

# CHECK: v_qsad_pk_u16_u8 v[5:6], v[1:2], s101, v[3:4] ; encoding: [0x05,0x00,0xe5,0xd1,0x01,0xcb,0x0c,0x04]
0x05,0x00,0xe5,0xd1,0x01,0xcb,0x0c,0x04

# CHECK: v_qsad_pk_u16_u8 v[5:6], v[1:2], flat_scratch_lo, v[3:4] ; encoding: [0x05,0x00,0xe5,0xd1,0x01,0xcd,0x0c,0x04]
0x05,0x00,0xe5,0xd1,0x01,0xcd,0x0c,0x04

# CHECK: v_qsad_pk_u16_u8 v[5:6], v[1:2], flat_scratch_hi, v[3:4] ; encoding: [0x05,0x00,0xe5,0xd1,0x01,0xcf,0x0c,0x04]
0x05,0x00,0xe5,0xd1,0x01,0xcf,0x0c,0x04

# CHECK: v_qsad_pk_u16_u8 v[5:6], v[1:2], vcc_lo, v[3:4] ; encoding: [0x05,0x00,0xe5,0xd1,0x01,0xd5,0x0c,0x04]
0x05,0x00,0xe5,0xd1,0x01,0xd5,0x0c,0x04

# CHECK: v_qsad_pk_u16_u8 v[5:6], v[1:2], vcc_hi, v[3:4] ; encoding: [0x05,0x00,0xe5,0xd1,0x01,0xd7,0x0c,0x04]
0x05,0x00,0xe5,0xd1,0x01,0xd7,0x0c,0x04

# CHECK: v_qsad_pk_u16_u8 v[5:6], v[1:2], tba_lo, v[3:4] ; encoding: [0x05,0x00,0xe5,0xd1,0x01,0xd9,0x0c,0x04]
0x05,0x00,0xe5,0xd1,0x01,0xd9,0x0c,0x04

# CHECK: v_qsad_pk_u16_u8 v[5:6], v[1:2], tba_hi, v[3:4] ; encoding: [0x05,0x00,0xe5,0xd1,0x01,0xdb,0x0c,0x04]
0x05,0x00,0xe5,0xd1,0x01,0xdb,0x0c,0x04

# CHECK: v_qsad_pk_u16_u8 v[5:6], v[1:2], tma_lo, v[3:4] ; encoding: [0x05,0x00,0xe5,0xd1,0x01,0xdd,0x0c,0x04]
0x05,0x00,0xe5,0xd1,0x01,0xdd,0x0c,0x04

# CHECK: v_qsad_pk_u16_u8 v[5:6], v[1:2], tma_hi, v[3:4] ; encoding: [0x05,0x00,0xe5,0xd1,0x01,0xdf,0x0c,0x04]
0x05,0x00,0xe5,0xd1,0x01,0xdf,0x0c,0x04

# CHECK: v_qsad_pk_u16_u8 v[5:6], v[1:2], ttmp11, v[3:4] ; encoding: [0x05,0x00,0xe5,0xd1,0x01,0xf7,0x0c,0x04]
0x05,0x00,0xe5,0xd1,0x01,0xf7,0x0c,0x04

# CHECK: v_qsad_pk_u16_u8 v[5:6], v[1:2], m0, v[3:4] ; encoding: [0x05,0x00,0xe5,0xd1,0x01,0xf9,0x0c,0x04]
0x05,0x00,0xe5,0xd1,0x01,0xf9,0x0c,0x04

# CHECK: v_qsad_pk_u16_u8 v[5:6], v[1:2], exec_lo, v[3:4] ; encoding: [0x05,0x00,0xe5,0xd1,0x01,0xfd,0x0c,0x04]
0x05,0x00,0xe5,0xd1,0x01,0xfd,0x0c,0x04

# CHECK: v_qsad_pk_u16_u8 v[5:6], v[1:2], exec_hi, v[3:4] ; encoding: [0x05,0x00,0xe5,0xd1,0x01,0xff,0x0c,0x04]
0x05,0x00,0xe5,0xd1,0x01,0xff,0x0c,0x04

# CHECK: v_qsad_pk_u16_u8 v[5:6], v[1:2], 0, v[3:4] ; encoding: [0x05,0x00,0xe5,0xd1,0x01,0x01,0x0d,0x04]
0x05,0x00,0xe5,0xd1,0x01,0x01,0x0d,0x04

# CHECK: v_qsad_pk_u16_u8 v[5:6], v[1:2], -1, v[3:4] ; encoding: [0x05,0x00,0xe5,0xd1,0x01,0x83,0x0d,0x04]
0x05,0x00,0xe5,0xd1,0x01,0x83,0x0d,0x04

# CHECK: v_qsad_pk_u16_u8 v[5:6], v[1:2], 0.5, v[3:4] ; encoding: [0x05,0x00,0xe5,0xd1,0x01,0xe1,0x0d,0x04]
0x05,0x00,0xe5,0xd1,0x01,0xe1,0x0d,0x04

# CHECK: v_qsad_pk_u16_u8 v[5:6], v[1:2], -4.0, v[3:4] ; encoding: [0x05,0x00,0xe5,0xd1,0x01,0xef,0x0d,0x04]
0x05,0x00,0xe5,0xd1,0x01,0xef,0x0d,0x04

# CHECK: v_qsad_pk_u16_u8 v[5:6], v[1:2], v2, v[254:255] ; encoding: [0x05,0x00,0xe5,0xd1,0x01,0x05,0xfa,0x07]
0x05,0x00,0xe5,0xd1,0x01,0x05,0xfa,0x07

# CHECK: v_qsad_pk_u16_u8 v[5:6], v[1:2], v2, s[6:7] ; encoding: [0x05,0x00,0xe5,0xd1,0x01,0x05,0x1a,0x00]
0x05,0x00,0xe5,0xd1,0x01,0x05,0x1a,0x00

# CHECK: v_qsad_pk_u16_u8 v[5:6], v[1:2], v2, s[8:9] ; encoding: [0x05,0x00,0xe5,0xd1,0x01,0x05,0x22,0x00]
0x05,0x00,0xe5,0xd1,0x01,0x05,0x22,0x00

# CHECK: v_qsad_pk_u16_u8 v[5:6], v[1:2], v2, s[100:101] ; encoding: [0x05,0x00,0xe5,0xd1,0x01,0x05,0x92,0x01]
0x05,0x00,0xe5,0xd1,0x01,0x05,0x92,0x01

# CHECK: v_qsad_pk_u16_u8 v[5:6], v[1:2], v2, flat_scratch ; encoding: [0x05,0x00,0xe5,0xd1,0x01,0x05,0x9a,0x01]
0x05,0x00,0xe5,0xd1,0x01,0x05,0x9a,0x01

# CHECK: v_qsad_pk_u16_u8 v[5:6], v[1:2], v2, vcc ; encoding: [0x05,0x00,0xe5,0xd1,0x01,0x05,0xaa,0x01]
0x05,0x00,0xe5,0xd1,0x01,0x05,0xaa,0x01

# CHECK: v_qsad_pk_u16_u8 v[5:6], v[1:2], v2, tba ; encoding: [0x05,0x00,0xe5,0xd1,0x01,0x05,0xb2,0x01]
0x05,0x00,0xe5,0xd1,0x01,0x05,0xb2,0x01

# CHECK: v_qsad_pk_u16_u8 v[5:6], v[1:2], v2, tma ; encoding: [0x05,0x00,0xe5,0xd1,0x01,0x05,0xba,0x01]
0x05,0x00,0xe5,0xd1,0x01,0x05,0xba,0x01

# CHECK: v_qsad_pk_u16_u8 v[5:6], v[1:2], v2, ttmp[10:11] ; encoding: [0x05,0x00,0xe5,0xd1,0x01,0x05,0xea,0x01]
0x05,0x00,0xe5,0xd1,0x01,0x05,0xea,0x01

# CHECK: v_qsad_pk_u16_u8 v[5:6], v[1:2], v2, exec ; encoding: [0x05,0x00,0xe5,0xd1,0x01,0x05,0xfa,0x01]
0x05,0x00,0xe5,0xd1,0x01,0x05,0xfa,0x01

# CHECK: v_qsad_pk_u16_u8 v[5:6], v[1:2], v2, 0  ; encoding: [0x05,0x00,0xe5,0xd1,0x01,0x05,0x02,0x02]
0x05,0x00,0xe5,0xd1,0x01,0x05,0x02,0x02

# CHECK: v_qsad_pk_u16_u8 v[5:6], v[1:2], v2, -1 ; encoding: [0x05,0x00,0xe5,0xd1,0x01,0x05,0x06,0x03]
0x05,0x00,0xe5,0xd1,0x01,0x05,0x06,0x03

# CHECK: v_qsad_pk_u16_u8 v[5:6], v[1:2], v2, 0.5 ; encoding: [0x05,0x00,0xe5,0xd1,0x01,0x05,0xc2,0x03]
0x05,0x00,0xe5,0xd1,0x01,0x05,0xc2,0x03

# CHECK: v_qsad_pk_u16_u8 v[5:6], v[1:2], v2, -4.0 ; encoding: [0x05,0x00,0xe5,0xd1,0x01,0x05,0xde,0x03]
0x05,0x00,0xe5,0xd1,0x01,0x05,0xde,0x03

# CHECK: v_qsad_pk_u16_u8 v[5:6], v[1:2], v2, v[3:4] clamp ; encoding: [0x05,0x80,0xe5,0xd1,0x01,0x05,0x0e,0x04]
0x05,0x80,0xe5,0xd1,0x01,0x05,0x0e,0x04

# CHECK: v_mqsad_pk_u16_u8 v[5:6], v[1:2], v2, v[3:4] ; encoding: [0x05,0x00,0xe6,0xd1,0x01,0x05,0x0e,0x04]
0x05,0x00,0xe6,0xd1,0x01,0x05,0x0e,0x04

# CHECK: v_mqsad_pk_u16_u8 v[254:255], v[1:2], v2, v[3:4] ; encoding: [0xfe,0x00,0xe6,0xd1,0x01,0x05,0x0e,0x04]
0xfe,0x00,0xe6,0xd1,0x01,0x05,0x0e,0x04

# CHECK: v_mqsad_pk_u16_u8 v[5:6], v[254:255], v2, v[3:4] ; encoding: [0x05,0x00,0xe6,0xd1,0xfe,0x05,0x0e,0x04]
0x05,0x00,0xe6,0xd1,0xfe,0x05,0x0e,0x04

# CHECK: v_mqsad_pk_u16_u8 v[5:6], s[2:3], v2, v[3:4] ; encoding: [0x05,0x00,0xe6,0xd1,0x02,0x04,0x0e,0x04]
0x05,0x00,0xe6,0xd1,0x02,0x04,0x0e,0x04

# CHECK: v_mqsad_pk_u16_u8 v[5:6], s[4:5], v2, v[3:4] ; encoding: [0x05,0x00,0xe6,0xd1,0x04,0x04,0x0e,0x04]
0x05,0x00,0xe6,0xd1,0x04,0x04,0x0e,0x04

# CHECK: v_mqsad_pk_u16_u8 v[5:6], s[100:101], v2, v[3:4] ; encoding: [0x05,0x00,0xe6,0xd1,0x64,0x04,0x0e,0x04]
0x05,0x00,0xe6,0xd1,0x64,0x04,0x0e,0x04

# CHECK: v_mqsad_pk_u16_u8 v[5:6], flat_scratch, v2, v[3:4] ; encoding: [0x05,0x00,0xe6,0xd1,0x66,0x04,0x0e,0x04]
0x05,0x00,0xe6,0xd1,0x66,0x04,0x0e,0x04

# CHECK: v_mqsad_pk_u16_u8 v[5:6], vcc, v2, v[3:4] ; encoding: [0x05,0x00,0xe6,0xd1,0x6a,0x04,0x0e,0x04]
0x05,0x00,0xe6,0xd1,0x6a,0x04,0x0e,0x04

# CHECK: v_mqsad_pk_u16_u8 v[5:6], tba, v2, v[3:4] ; encoding: [0x05,0x00,0xe6,0xd1,0x6c,0x04,0x0e,0x04]
0x05,0x00,0xe6,0xd1,0x6c,0x04,0x0e,0x04

# CHECK: v_mqsad_pk_u16_u8 v[5:6], tma, v2, v[3:4] ; encoding: [0x05,0x00,0xe6,0xd1,0x6e,0x04,0x0e,0x04]
0x05,0x00,0xe6,0xd1,0x6e,0x04,0x0e,0x04

# CHECK: v_mqsad_pk_u16_u8 v[5:6], ttmp[10:11], v2, v[3:4] ; encoding: [0x05,0x00,0xe6,0xd1,0x7a,0x04,0x0e,0x04]
0x05,0x00,0xe6,0xd1,0x7a,0x04,0x0e,0x04

# CHECK: v_mqsad_pk_u16_u8 v[5:6], exec, v2, v[3:4] ; encoding: [0x05,0x00,0xe6,0xd1,0x7e,0x04,0x0e,0x04]
0x05,0x00,0xe6,0xd1,0x7e,0x04,0x0e,0x04

# CHECK: v_mqsad_pk_u16_u8 v[5:6], 0, v2, v[3:4] ; encoding: [0x05,0x00,0xe6,0xd1,0x80,0x04,0x0e,0x04]
0x05,0x00,0xe6,0xd1,0x80,0x04,0x0e,0x04

# CHECK: v_mqsad_pk_u16_u8 v[5:6], -1, v2, v[3:4] ; encoding: [0x05,0x00,0xe6,0xd1,0xc1,0x04,0x0e,0x04]
0x05,0x00,0xe6,0xd1,0xc1,0x04,0x0e,0x04

# CHECK: v_mqsad_pk_u16_u8 v[5:6], 0.5, v2, v[3:4] ; encoding: [0x05,0x00,0xe6,0xd1,0xf0,0x04,0x0e,0x04]
0x05,0x00,0xe6,0xd1,0xf0,0x04,0x0e,0x04

# CHECK: v_mqsad_pk_u16_u8 v[5:6], -4.0, v2, v[3:4] ; encoding: [0x05,0x00,0xe6,0xd1,0xf7,0x04,0x0e,0x04]
0x05,0x00,0xe6,0xd1,0xf7,0x04,0x0e,0x04

# CHECK: v_mqsad_pk_u16_u8 v[5:6], v[1:2], v255, v[3:4] ; encoding: [0x05,0x00,0xe6,0xd1,0x01,0xff,0x0f,0x04]
0x05,0x00,0xe6,0xd1,0x01,0xff,0x0f,0x04

# CHECK: v_mqsad_pk_u16_u8 v[5:6], v[1:2], s2, v[3:4] ; encoding: [0x05,0x00,0xe6,0xd1,0x01,0x05,0x0c,0x04]
0x05,0x00,0xe6,0xd1,0x01,0x05,0x0c,0x04

# CHECK: v_mqsad_pk_u16_u8 v[5:6], v[1:2], s101, v[3:4] ; encoding: [0x05,0x00,0xe6,0xd1,0x01,0xcb,0x0c,0x04]
0x05,0x00,0xe6,0xd1,0x01,0xcb,0x0c,0x04

# CHECK: v_mqsad_pk_u16_u8 v[5:6], v[1:2], flat_scratch_lo, v[3:4] ; encoding: [0x05,0x00,0xe6,0xd1,0x01,0xcd,0x0c,0x04]
0x05,0x00,0xe6,0xd1,0x01,0xcd,0x0c,0x04

# CHECK: v_mqsad_pk_u16_u8 v[5:6], v[1:2], flat_scratch_hi, v[3:4] ; encoding: [0x05,0x00,0xe6,0xd1,0x01,0xcf,0x0c,0x04]
0x05,0x00,0xe6,0xd1,0x01,0xcf,0x0c,0x04

# CHECK: v_mqsad_pk_u16_u8 v[5:6], v[1:2], vcc_lo, v[3:4] ; encoding: [0x05,0x00,0xe6,0xd1,0x01,0xd5,0x0c,0x04]
0x05,0x00,0xe6,0xd1,0x01,0xd5,0x0c,0x04

# CHECK: v_mqsad_pk_u16_u8 v[5:6], v[1:2], vcc_hi, v[3:4] ; encoding: [0x05,0x00,0xe6,0xd1,0x01,0xd7,0x0c,0x04]
0x05,0x00,0xe6,0xd1,0x01,0xd7,0x0c,0x04

# CHECK: v_mqsad_pk_u16_u8 v[5:6], v[1:2], tba_lo, v[3:4] ; encoding: [0x05,0x00,0xe6,0xd1,0x01,0xd9,0x0c,0x04]
0x05,0x00,0xe6,0xd1,0x01,0xd9,0x0c,0x04

# CHECK: v_mqsad_pk_u16_u8 v[5:6], v[1:2], tba_hi, v[3:4] ; encoding: [0x05,0x00,0xe6,0xd1,0x01,0xdb,0x0c,0x04]
0x05,0x00,0xe6,0xd1,0x01,0xdb,0x0c,0x04

# CHECK: v_mqsad_pk_u16_u8 v[5:6], v[1:2], tma_lo, v[3:4] ; encoding: [0x05,0x00,0xe6,0xd1,0x01,0xdd,0x0c,0x04]
0x05,0x00,0xe6,0xd1,0x01,0xdd,0x0c,0x04

# CHECK: v_mqsad_pk_u16_u8 v[5:6], v[1:2], tma_hi, v[3:4] ; encoding: [0x05,0x00,0xe6,0xd1,0x01,0xdf,0x0c,0x04]
0x05,0x00,0xe6,0xd1,0x01,0xdf,0x0c,0x04

# CHECK: v_mqsad_pk_u16_u8 v[5:6], v[1:2], ttmp11, v[3:4] ; encoding: [0x05,0x00,0xe6,0xd1,0x01,0xf7,0x0c,0x04]
0x05,0x00,0xe6,0xd1,0x01,0xf7,0x0c,0x04

# CHECK: v_mqsad_pk_u16_u8 v[5:6], v[1:2], m0, v[3:4] ; encoding: [0x05,0x00,0xe6,0xd1,0x01,0xf9,0x0c,0x04]
0x05,0x00,0xe6,0xd1,0x01,0xf9,0x0c,0x04

# CHECK: v_mqsad_pk_u16_u8 v[5:6], v[1:2], exec_lo, v[3:4] ; encoding: [0x05,0x00,0xe6,0xd1,0x01,0xfd,0x0c,0x04]
0x05,0x00,0xe6,0xd1,0x01,0xfd,0x0c,0x04

# CHECK: v_mqsad_pk_u16_u8 v[5:6], v[1:2], exec_hi, v[3:4] ; encoding: [0x05,0x00,0xe6,0xd1,0x01,0xff,0x0c,0x04]
0x05,0x00,0xe6,0xd1,0x01,0xff,0x0c,0x04

# CHECK: v_mqsad_pk_u16_u8 v[5:6], v[1:2], 0, v[3:4] ; encoding: [0x05,0x00,0xe6,0xd1,0x01,0x01,0x0d,0x04]
0x05,0x00,0xe6,0xd1,0x01,0x01,0x0d,0x04

# CHECK: v_mqsad_pk_u16_u8 v[5:6], v[1:2], -1, v[3:4] ; encoding: [0x05,0x00,0xe6,0xd1,0x01,0x83,0x0d,0x04]
0x05,0x00,0xe6,0xd1,0x01,0x83,0x0d,0x04

# CHECK: v_mqsad_pk_u16_u8 v[5:6], v[1:2], 0.5, v[3:4] ; encoding: [0x05,0x00,0xe6,0xd1,0x01,0xe1,0x0d,0x04]
0x05,0x00,0xe6,0xd1,0x01,0xe1,0x0d,0x04

# CHECK: v_mqsad_pk_u16_u8 v[5:6], v[1:2], -4.0, v[3:4] ; encoding: [0x05,0x00,0xe6,0xd1,0x01,0xef,0x0d,0x04]
0x05,0x00,0xe6,0xd1,0x01,0xef,0x0d,0x04

# CHECK: v_mqsad_pk_u16_u8 v[5:6], v[1:2], v2, v[254:255] ; encoding: [0x05,0x00,0xe6,0xd1,0x01,0x05,0xfa,0x07]
0x05,0x00,0xe6,0xd1,0x01,0x05,0xfa,0x07

# CHECK: v_mqsad_pk_u16_u8 v[5:6], v[1:2], v2, s[6:7] ; encoding: [0x05,0x00,0xe6,0xd1,0x01,0x05,0x1a,0x00]
0x05,0x00,0xe6,0xd1,0x01,0x05,0x1a,0x00

# CHECK: v_mqsad_pk_u16_u8 v[5:6], v[1:2], v2, s[8:9] ; encoding: [0x05,0x00,0xe6,0xd1,0x01,0x05,0x22,0x00]
0x05,0x00,0xe6,0xd1,0x01,0x05,0x22,0x00

# CHECK: v_mqsad_pk_u16_u8 v[5:6], v[1:2], v2, s[100:101] ; encoding: [0x05,0x00,0xe6,0xd1,0x01,0x05,0x92,0x01]
0x05,0x00,0xe6,0xd1,0x01,0x05,0x92,0x01

# CHECK: v_mqsad_pk_u16_u8 v[5:6], v[1:2], v2, flat_scratch ; encoding: [0x05,0x00,0xe6,0xd1,0x01,0x05,0x9a,0x01]
0x05,0x00,0xe6,0xd1,0x01,0x05,0x9a,0x01

# CHECK: v_mqsad_pk_u16_u8 v[5:6], v[1:2], v2, vcc ; encoding: [0x05,0x00,0xe6,0xd1,0x01,0x05,0xaa,0x01]
0x05,0x00,0xe6,0xd1,0x01,0x05,0xaa,0x01

# CHECK: v_mqsad_pk_u16_u8 v[5:6], v[1:2], v2, tba ; encoding: [0x05,0x00,0xe6,0xd1,0x01,0x05,0xb2,0x01]
0x05,0x00,0xe6,0xd1,0x01,0x05,0xb2,0x01

# CHECK: v_mqsad_pk_u16_u8 v[5:6], v[1:2], v2, tma ; encoding: [0x05,0x00,0xe6,0xd1,0x01,0x05,0xba,0x01]
0x05,0x00,0xe6,0xd1,0x01,0x05,0xba,0x01

# CHECK: v_mqsad_pk_u16_u8 v[5:6], v[1:2], v2, ttmp[10:11] ; encoding: [0x05,0x00,0xe6,0xd1,0x01,0x05,0xea,0x01]
0x05,0x00,0xe6,0xd1,0x01,0x05,0xea,0x01

# CHECK: v_mqsad_pk_u16_u8 v[5:6], v[1:2], v2, exec ; encoding: [0x05,0x00,0xe6,0xd1,0x01,0x05,0xfa,0x01]
0x05,0x00,0xe6,0xd1,0x01,0x05,0xfa,0x01

# CHECK: v_mqsad_pk_u16_u8 v[5:6], v[1:2], v2, 0 ; encoding: [0x05,0x00,0xe6,0xd1,0x01,0x05,0x02,0x02]
0x05,0x00,0xe6,0xd1,0x01,0x05,0x02,0x02

# CHECK: v_mqsad_pk_u16_u8 v[5:6], v[1:2], v2, -1 ; encoding: [0x05,0x00,0xe6,0xd1,0x01,0x05,0x06,0x03]
0x05,0x00,0xe6,0xd1,0x01,0x05,0x06,0x03

# CHECK: v_mqsad_pk_u16_u8 v[5:6], v[1:2], v2, 0.5 ; encoding: [0x05,0x00,0xe6,0xd1,0x01,0x05,0xc2,0x03]
0x05,0x00,0xe6,0xd1,0x01,0x05,0xc2,0x03

# CHECK: v_mqsad_pk_u16_u8 v[5:6], v[1:2], v2, -4.0 ; encoding: [0x05,0x00,0xe6,0xd1,0x01,0x05,0xde,0x03]
0x05,0x00,0xe6,0xd1,0x01,0x05,0xde,0x03

# CHECK: v_mqsad_pk_u16_u8 v[5:6], v[1:2], v2, v[3:4] clamp ; encoding: [0x05,0x80,0xe6,0xd1,0x01,0x05,0x0e,0x04]
0x05,0x80,0xe6,0xd1,0x01,0x05,0x0e,0x04

# CHECK: v_mqsad_u32_u8 v[252:255], v[1:2], v2, v[3:6] ; encoding: [0xfc,0x00,0xe7,0xd1,0x01,0x05,0x0e,0x04]
0xfc,0x00,0xe7,0xd1,0x01,0x05,0x0e,0x04

# CHECK: v_mqsad_u32_u8 v[252:255], s[2:3], v2, v[3:6] ; encoding: [0xfc,0x00,0xe7,0xd1,0x02,0x04,0x0e,0x04]
0xfc,0x00,0xe7,0xd1,0x02,0x04,0x0e,0x04

# CHECK: v_mqsad_u32_u8 v[252:255], s[4:5], v2, v[3:6] ; encoding: [0xfc,0x00,0xe7,0xd1,0x04,0x04,0x0e,0x04]
0xfc,0x00,0xe7,0xd1,0x04,0x04,0x0e,0x04

# CHECK: v_mqsad_u32_u8 v[252:255], s[100:101], v2, v[3:6] ; encoding: [0xfc,0x00,0xe7,0xd1,0x64,0x04,0x0e,0x04]
0xfc,0x00,0xe7,0xd1,0x64,0x04,0x0e,0x04

# CHECK: v_mqsad_u32_u8 v[252:255], flat_scratch, v2, v[3:6] ; encoding: [0xfc,0x00,0xe7,0xd1,0x66,0x04,0x0e,0x04]
0xfc,0x00,0xe7,0xd1,0x66,0x04,0x0e,0x04

# CHECK: v_mqsad_u32_u8 v[252:255], vcc, v2, v[3:6] ; encoding: [0xfc,0x00,0xe7,0xd1,0x6a,0x04,0x0e,0x04]
0xfc,0x00,0xe7,0xd1,0x6a,0x04,0x0e,0x04

# CHECK: v_mqsad_u32_u8 v[252:255], tba, v2, v[3:6] ; encoding: [0xfc,0x00,0xe7,0xd1,0x6c,0x04,0x0e,0x04]
0xfc,0x00,0xe7,0xd1,0x6c,0x04,0x0e,0x04

# CHECK: v_mqsad_u32_u8 v[252:255], tma, v2, v[3:6] ; encoding: [0xfc,0x00,0xe7,0xd1,0x6e,0x04,0x0e,0x04]
0xfc,0x00,0xe7,0xd1,0x6e,0x04,0x0e,0x04

# CHECK: v_mqsad_u32_u8 v[252:255], ttmp[10:11], v2, v[3:6] ; encoding: [0xfc,0x00,0xe7,0xd1,0x7a,0x04,0x0e,0x04]
0xfc,0x00,0xe7,0xd1,0x7a,0x04,0x0e,0x04

# CHECK: v_mqsad_u32_u8 v[252:255], exec, v2, v[3:6] ; encoding: [0xfc,0x00,0xe7,0xd1,0x7e,0x04,0x0e,0x04]
0xfc,0x00,0xe7,0xd1,0x7e,0x04,0x0e,0x04

# CHECK: v_mqsad_u32_u8 v[252:255], 0, v2, v[3:6] ; encoding: [0xfc,0x00,0xe7,0xd1,0x80,0x04,0x0e,0x04]
0xfc,0x00,0xe7,0xd1,0x80,0x04,0x0e,0x04

# CHECK: v_mqsad_u32_u8 v[252:255], -1, v2, v[3:6] ; encoding: [0xfc,0x00,0xe7,0xd1,0xc1,0x04,0x0e,0x04]
0xfc,0x00,0xe7,0xd1,0xc1,0x04,0x0e,0x04

# CHECK: v_mqsad_u32_u8 v[252:255], 0.5, v2, v[3:6] ; encoding: [0xfc,0x00,0xe7,0xd1,0xf0,0x04,0x0e,0x04]
0xfc,0x00,0xe7,0xd1,0xf0,0x04,0x0e,0x04

# CHECK: v_mqsad_u32_u8 v[252:255], -4.0, v2, v[3:6] ; encoding: [0xfc,0x00,0xe7,0xd1,0xf7,0x04,0x0e,0x04]
0xfc,0x00,0xe7,0xd1,0xf7,0x04,0x0e,0x04

# CHECK: v_mqsad_u32_u8 v[252:255], v[1:2], s2, v[3:6] ; encoding: [0xfc,0x00,0xe7,0xd1,0x01,0x05,0x0c,0x04]
0xfc,0x00,0xe7,0xd1,0x01,0x05,0x0c,0x04

# CHECK: v_mqsad_u32_u8 v[252:255], v[1:2], s101, v[3:6] ; encoding: [0xfc,0x00,0xe7,0xd1,0x01,0xcb,0x0c,0x04]
0xfc,0x00,0xe7,0xd1,0x01,0xcb,0x0c,0x04

# CHECK: v_mqsad_u32_u8 v[252:255], v[1:2], flat_scratch_lo, v[3:6] ; encoding: [0xfc,0x00,0xe7,0xd1,0x01,0xcd,0x0c,0x04]
0xfc,0x00,0xe7,0xd1,0x01,0xcd,0x0c,0x04

# CHECK: v_mqsad_u32_u8 v[252:255], v[1:2], flat_scratch_hi, v[3:6] ; encoding: [0xfc,0x00,0xe7,0xd1,0x01,0xcf,0x0c,0x04]
0xfc,0x00,0xe7,0xd1,0x01,0xcf,0x0c,0x04

# CHECK: v_mqsad_u32_u8 v[252:255], v[1:2], vcc_lo, v[3:6] ; encoding: [0xfc,0x00,0xe7,0xd1,0x01,0xd5,0x0c,0x04]
0xfc,0x00,0xe7,0xd1,0x01,0xd5,0x0c,0x04

# CHECK: v_mqsad_u32_u8 v[252:255], v[1:2], vcc_hi, v[3:6] ; encoding: [0xfc,0x00,0xe7,0xd1,0x01,0xd7,0x0c,0x04]
0xfc,0x00,0xe7,0xd1,0x01,0xd7,0x0c,0x04

# CHECK: v_mqsad_u32_u8 v[252:255], v[1:2], tba_lo, v[3:6] ; encoding: [0xfc,0x00,0xe7,0xd1,0x01,0xd9,0x0c,0x04]
0xfc,0x00,0xe7,0xd1,0x01,0xd9,0x0c,0x04

# CHECK: v_mqsad_u32_u8 v[252:255], v[1:2], tba_hi, v[3:6] ; encoding: [0xfc,0x00,0xe7,0xd1,0x01,0xdb,0x0c,0x04]
0xfc,0x00,0xe7,0xd1,0x01,0xdb,0x0c,0x04

# CHECK: v_mqsad_u32_u8 v[252:255], v[1:2], tma_lo, v[3:6] ; encoding: [0xfc,0x00,0xe7,0xd1,0x01,0xdd,0x0c,0x04]
0xfc,0x00,0xe7,0xd1,0x01,0xdd,0x0c,0x04

# CHECK: v_mqsad_u32_u8 v[252:255], v[1:2], tma_hi, v[3:6] ; encoding: [0xfc,0x00,0xe7,0xd1,0x01,0xdf,0x0c,0x04]
0xfc,0x00,0xe7,0xd1,0x01,0xdf,0x0c,0x04

# CHECK: v_mqsad_u32_u8 v[252:255], v[1:2], ttmp11, v[3:6] ; encoding: [0xfc,0x00,0xe7,0xd1,0x01,0xf7,0x0c,0x04]
0xfc,0x00,0xe7,0xd1,0x01,0xf7,0x0c,0x04

# CHECK: v_mqsad_u32_u8 v[252:255], v[1:2], m0, v[3:6] ; encoding: [0xfc,0x00,0xe7,0xd1,0x01,0xf9,0x0c,0x04]
0xfc,0x00,0xe7,0xd1,0x01,0xf9,0x0c,0x04

# CHECK: v_mqsad_u32_u8 v[252:255], v[1:2], exec_lo, v[3:6] ; encoding: [0xfc,0x00,0xe7,0xd1,0x01,0xfd,0x0c,0x04]
0xfc,0x00,0xe7,0xd1,0x01,0xfd,0x0c,0x04

# CHECK: v_mqsad_u32_u8 v[252:255], v[1:2], exec_hi, v[3:6] ; encoding: [0xfc,0x00,0xe7,0xd1,0x01,0xff,0x0c,0x04]
0xfc,0x00,0xe7,0xd1,0x01,0xff,0x0c,0x04

# CHECK: v_mqsad_u32_u8 v[252:255], v[1:2], 0, v[3:6] ; encoding: [0xfc,0x00,0xe7,0xd1,0x01,0x01,0x0d,0x04]
0xfc,0x00,0xe7,0xd1,0x01,0x01,0x0d,0x04

# CHECK: v_mqsad_u32_u8 v[252:255], v[1:2], -1, v[3:6] ; encoding: [0xfc,0x00,0xe7,0xd1,0x01,0x83,0x0d,0x04]
0xfc,0x00,0xe7,0xd1,0x01,0x83,0x0d,0x04

# CHECK: v_mqsad_u32_u8 v[252:255], v[1:2], 0.5, v[3:6] ; encoding: [0xfc,0x00,0xe7,0xd1,0x01,0xe1,0x0d,0x04]
0xfc,0x00,0xe7,0xd1,0x01,0xe1,0x0d,0x04

# CHECK: v_mqsad_u32_u8 v[252:255], v[1:2], -4.0, v[3:6] ; encoding: [0xfc,0x00,0xe7,0xd1,0x01,0xef,0x0d,0x04]
0xfc,0x00,0xe7,0xd1,0x01,0xef,0x0d,0x04

# CHECK: v_mqsad_u32_u8 v[252:255], v[1:2], v2, v[3:6] clamp ; encoding: [0xfc,0x80,0xe7,0xd1,0x01,0x05,0x0e,0x04]
0xfc,0x80,0xe7,0xd1,0x01,0x05,0x0e,0x04

# CHECK: v_mad_u64_u32 v[5:6], s[12:13], v1, v2, v[3:4] ; encoding: [0x05,0x0c,0xe8,0xd1,0x01,0x05,0x0e,0x04]
0x05,0x0c,0xe8,0xd1,0x01,0x05,0x0e,0x04

# CHECK: v_mad_u64_u32 v[254:255], s[12:13], v1, v2, v[3:4] ; encoding: [0xfe,0x0c,0xe8,0xd1,0x01,0x05,0x0e,0x04]
0xfe,0x0c,0xe8,0xd1,0x01,0x05,0x0e,0x04

# CHECK: v_mad_u64_u32 v[5:6], s[14:15], v1, v2, v[3:4] ; encoding: [0x05,0x0e,0xe8,0xd1,0x01,0x05,0x0e,0x04]
0x05,0x0e,0xe8,0xd1,0x01,0x05,0x0e,0x04

# CHECK: v_mad_u64_u32 v[5:6], s[100:101], v1, v2, v[3:4] ; encoding: [0x05,0x64,0xe8,0xd1,0x01,0x05,0x0e,0x04]
0x05,0x64,0xe8,0xd1,0x01,0x05,0x0e,0x04

# CHECK: v_mad_u64_u32 v[5:6], flat_scratch, v1, v2, v[3:4] ; encoding: [0x05,0x66,0xe8,0xd1,0x01,0x05,0x0e,0x04]
0x05,0x66,0xe8,0xd1,0x01,0x05,0x0e,0x04

# CHECK: v_mad_u64_u32 v[5:6], vcc, v1, v2, v[3:4] ; encoding: [0x05,0x6a,0xe8,0xd1,0x01,0x05,0x0e,0x04]
0x05,0x6a,0xe8,0xd1,0x01,0x05,0x0e,0x04

# CHECK: v_mad_u64_u32 v[5:6], tba, v1, v2, v[3:4] ; encoding: [0x05,0x6c,0xe8,0xd1,0x01,0x05,0x0e,0x04]
0x05,0x6c,0xe8,0xd1,0x01,0x05,0x0e,0x04

# CHECK: v_mad_u64_u32 v[5:6], tma, v1, v2, v[3:4] ; encoding: [0x05,0x6e,0xe8,0xd1,0x01,0x05,0x0e,0x04]
0x05,0x6e,0xe8,0xd1,0x01,0x05,0x0e,0x04

# CHECK: v_mad_u64_u32 v[5:6], ttmp[10:11], v1, v2, v[3:4] ; encoding: [0x05,0x7a,0xe8,0xd1,0x01,0x05,0x0e,0x04]
0x05,0x7a,0xe8,0xd1,0x01,0x05,0x0e,0x04

# CHECK: v_mad_u64_u32 v[5:6], s[12:13], v255, v2, v[3:4] ; encoding: [0x05,0x0c,0xe8,0xd1,0xff,0x05,0x0e,0x04]
0x05,0x0c,0xe8,0xd1,0xff,0x05,0x0e,0x04

# CHECK: v_mad_u64_u32 v[5:6], s[12:13], s1, v2, v[3:4] ; encoding: [0x05,0x0c,0xe8,0xd1,0x01,0x04,0x0e,0x04]
0x05,0x0c,0xe8,0xd1,0x01,0x04,0x0e,0x04

# CHECK: v_mad_u64_u32 v[5:6], s[12:13], s101, v2, v[3:4] ; encoding: [0x05,0x0c,0xe8,0xd1,0x65,0x04,0x0e,0x04]
0x05,0x0c,0xe8,0xd1,0x65,0x04,0x0e,0x04

# CHECK: v_mad_u64_u32 v[5:6], s[12:13], flat_scratch_lo, v2, v[3:4] ; encoding: [0x05,0x0c,0xe8,0xd1,0x66,0x04,0x0e,0x04]
0x05,0x0c,0xe8,0xd1,0x66,0x04,0x0e,0x04

# CHECK: v_mad_u64_u32 v[5:6], s[12:13], flat_scratch_hi, v2, v[3:4] ; encoding: [0x05,0x0c,0xe8,0xd1,0x67,0x04,0x0e,0x04]
0x05,0x0c,0xe8,0xd1,0x67,0x04,0x0e,0x04

# CHECK: v_mad_u64_u32 v[5:6], s[12:13], vcc_lo, v2, v[3:4] ; encoding: [0x05,0x0c,0xe8,0xd1,0x6a,0x04,0x0e,0x04]
0x05,0x0c,0xe8,0xd1,0x6a,0x04,0x0e,0x04

# CHECK: v_mad_u64_u32 v[5:6], s[12:13], vcc_hi, v2, v[3:4] ; encoding: [0x05,0x0c,0xe8,0xd1,0x6b,0x04,0x0e,0x04]
0x05,0x0c,0xe8,0xd1,0x6b,0x04,0x0e,0x04

# CHECK: v_mad_u64_u32 v[5:6], s[12:13], tba_lo, v2, v[3:4] ; encoding: [0x05,0x0c,0xe8,0xd1,0x6c,0x04,0x0e,0x04]
0x05,0x0c,0xe8,0xd1,0x6c,0x04,0x0e,0x04

# CHECK: v_mad_u64_u32 v[5:6], s[12:13], tba_hi, v2, v[3:4] ; encoding: [0x05,0x0c,0xe8,0xd1,0x6d,0x04,0x0e,0x04]
0x05,0x0c,0xe8,0xd1,0x6d,0x04,0x0e,0x04

# CHECK: v_mad_u64_u32 v[5:6], s[12:13], tma_lo, v2, v[3:4] ; encoding: [0x05,0x0c,0xe8,0xd1,0x6e,0x04,0x0e,0x04]
0x05,0x0c,0xe8,0xd1,0x6e,0x04,0x0e,0x04

# CHECK: v_mad_u64_u32 v[5:6], s[12:13], tma_hi, v2, v[3:4] ; encoding: [0x05,0x0c,0xe8,0xd1,0x6f,0x04,0x0e,0x04]
0x05,0x0c,0xe8,0xd1,0x6f,0x04,0x0e,0x04

# CHECK: v_mad_u64_u32 v[5:6], s[12:13], ttmp11, v2, v[3:4] ; encoding: [0x05,0x0c,0xe8,0xd1,0x7b,0x04,0x0e,0x04]
0x05,0x0c,0xe8,0xd1,0x7b,0x04,0x0e,0x04

# CHECK: v_mad_u64_u32 v[5:6], s[12:13], m0, v2, v[3:4] ; encoding: [0x05,0x0c,0xe8,0xd1,0x7c,0x04,0x0e,0x04]
0x05,0x0c,0xe8,0xd1,0x7c,0x04,0x0e,0x04

# CHECK: v_mad_u64_u32 v[5:6], s[12:13], exec_lo, v2, v[3:4] ; encoding: [0x05,0x0c,0xe8,0xd1,0x7e,0x04,0x0e,0x04]
0x05,0x0c,0xe8,0xd1,0x7e,0x04,0x0e,0x04

# CHECK: v_mad_u64_u32 v[5:6], s[12:13], exec_hi, v2, v[3:4] ; encoding: [0x05,0x0c,0xe8,0xd1,0x7f,0x04,0x0e,0x04]
0x05,0x0c,0xe8,0xd1,0x7f,0x04,0x0e,0x04

# CHECK: v_mad_u64_u32 v[5:6], s[12:13], 0, v2, v[3:4] ; encoding: [0x05,0x0c,0xe8,0xd1,0x80,0x04,0x0e,0x04]
0x05,0x0c,0xe8,0xd1,0x80,0x04,0x0e,0x04

# CHECK: v_mad_u64_u32 v[5:6], s[12:13], -1, v2, v[3:4] ; encoding: [0x05,0x0c,0xe8,0xd1,0xc1,0x04,0x0e,0x04]
0x05,0x0c,0xe8,0xd1,0xc1,0x04,0x0e,0x04

# CHECK: v_mad_u64_u32 v[5:6], s[12:13], 0.5, v2, v[3:4] ; encoding: [0x05,0x0c,0xe8,0xd1,0xf0,0x04,0x0e,0x04]
0x05,0x0c,0xe8,0xd1,0xf0,0x04,0x0e,0x04

# CHECK: v_mad_u64_u32 v[5:6], s[12:13], -4.0, v2, v[3:4] ; encoding: [0x05,0x0c,0xe8,0xd1,0xf7,0x04,0x0e,0x04]
0x05,0x0c,0xe8,0xd1,0xf7,0x04,0x0e,0x04

# CHECK: v_mad_u64_u32 v[5:6], s[12:13], v1, v255, v[3:4] ; encoding: [0x05,0x0c,0xe8,0xd1,0x01,0xff,0x0f,0x04]
0x05,0x0c,0xe8,0xd1,0x01,0xff,0x0f,0x04

# CHECK: v_mad_u64_u32 v[5:6], s[12:13], v1, s2, v[3:4] ; encoding: [0x05,0x0c,0xe8,0xd1,0x01,0x05,0x0c,0x04]
0x05,0x0c,0xe8,0xd1,0x01,0x05,0x0c,0x04

# CHECK: v_mad_u64_u32 v[5:6], s[12:13], v1, s101, v[3:4] ; encoding: [0x05,0x0c,0xe8,0xd1,0x01,0xcb,0x0c,0x04]
0x05,0x0c,0xe8,0xd1,0x01,0xcb,0x0c,0x04

# CHECK: v_mad_u64_u32 v[5:6], s[12:13], v1, flat_scratch_lo, v[3:4] ; encoding: [0x05,0x0c,0xe8,0xd1,0x01,0xcd,0x0c,0x04]
0x05,0x0c,0xe8,0xd1,0x01,0xcd,0x0c,0x04

# CHECK: v_mad_u64_u32 v[5:6], s[12:13], v1, flat_scratch_hi, v[3:4] ; encoding: [0x05,0x0c,0xe8,0xd1,0x01,0xcf,0x0c,0x04]
0x05,0x0c,0xe8,0xd1,0x01,0xcf,0x0c,0x04

# CHECK: v_mad_u64_u32 v[5:6], s[12:13], v1, vcc_lo, v[3:4] ; encoding: [0x05,0x0c,0xe8,0xd1,0x01,0xd5,0x0c,0x04]
0x05,0x0c,0xe8,0xd1,0x01,0xd5,0x0c,0x04

# CHECK: v_mad_u64_u32 v[5:6], s[12:13], v1, vcc_hi, v[3:4] ; encoding: [0x05,0x0c,0xe8,0xd1,0x01,0xd7,0x0c,0x04]
0x05,0x0c,0xe8,0xd1,0x01,0xd7,0x0c,0x04

# CHECK: v_mad_u64_u32 v[5:6], s[12:13], v1, tba_lo, v[3:4] ; encoding: [0x05,0x0c,0xe8,0xd1,0x01,0xd9,0x0c,0x04]
0x05,0x0c,0xe8,0xd1,0x01,0xd9,0x0c,0x04

# CHECK: v_mad_u64_u32 v[5:6], s[12:13], v1, tba_hi, v[3:4] ; encoding: [0x05,0x0c,0xe8,0xd1,0x01,0xdb,0x0c,0x04]
0x05,0x0c,0xe8,0xd1,0x01,0xdb,0x0c,0x04

# CHECK: v_mad_u64_u32 v[5:6], s[12:13], v1, tma_lo, v[3:4] ; encoding: [0x05,0x0c,0xe8,0xd1,0x01,0xdd,0x0c,0x04]
0x05,0x0c,0xe8,0xd1,0x01,0xdd,0x0c,0x04

# CHECK: v_mad_u64_u32 v[5:6], s[12:13], v1, tma_hi, v[3:4] ; encoding: [0x05,0x0c,0xe8,0xd1,0x01,0xdf,0x0c,0x04]
0x05,0x0c,0xe8,0xd1,0x01,0xdf,0x0c,0x04

# CHECK: v_mad_u64_u32 v[5:6], s[12:13], v1, ttmp11, v[3:4] ; encoding: [0x05,0x0c,0xe8,0xd1,0x01,0xf7,0x0c,0x04]
0x05,0x0c,0xe8,0xd1,0x01,0xf7,0x0c,0x04

# CHECK: v_mad_u64_u32 v[5:6], s[12:13], v1, m0, v[3:4] ; encoding: [0x05,0x0c,0xe8,0xd1,0x01,0xf9,0x0c,0x04]
0x05,0x0c,0xe8,0xd1,0x01,0xf9,0x0c,0x04

# CHECK: v_mad_u64_u32 v[5:6], s[12:13], v1, exec_lo, v[3:4] ; encoding: [0x05,0x0c,0xe8,0xd1,0x01,0xfd,0x0c,0x04]
0x05,0x0c,0xe8,0xd1,0x01,0xfd,0x0c,0x04

# CHECK: v_mad_u64_u32 v[5:6], s[12:13], v1, exec_hi, v[3:4] ; encoding: [0x05,0x0c,0xe8,0xd1,0x01,0xff,0x0c,0x04]
0x05,0x0c,0xe8,0xd1,0x01,0xff,0x0c,0x04

# CHECK: v_mad_u64_u32 v[5:6], s[12:13], v1, 0, v[3:4] ; encoding: [0x05,0x0c,0xe8,0xd1,0x01,0x01,0x0d,0x04]
0x05,0x0c,0xe8,0xd1,0x01,0x01,0x0d,0x04

# CHECK: v_mad_u64_u32 v[5:6], s[12:13], v1, -1, v[3:4] ; encoding: [0x05,0x0c,0xe8,0xd1,0x01,0x83,0x0d,0x04]
0x05,0x0c,0xe8,0xd1,0x01,0x83,0x0d,0x04

# CHECK: v_mad_u64_u32 v[5:6], s[12:13], v1, 0.5, v[3:4] ; encoding: [0x05,0x0c,0xe8,0xd1,0x01,0xe1,0x0d,0x04]
0x05,0x0c,0xe8,0xd1,0x01,0xe1,0x0d,0x04

# CHECK: v_mad_u64_u32 v[5:6], s[12:13], v1, -4.0, v[3:4] ; encoding: [0x05,0x0c,0xe8,0xd1,0x01,0xef,0x0d,0x04]
0x05,0x0c,0xe8,0xd1,0x01,0xef,0x0d,0x04

# CHECK: v_mad_u64_u32 v[5:6], s[12:13], v1, v2, v[254:255] ; encoding: [0x05,0x0c,0xe8,0xd1,0x01,0x05,0xfa,0x07]
0x05,0x0c,0xe8,0xd1,0x01,0x05,0xfa,0x07

# CHECK: v_mad_u64_u32 v[5:6], s[12:13], v1, v2, s[6:7] ; encoding: [0x05,0x0c,0xe8,0xd1,0x01,0x05,0x1a,0x00]
0x05,0x0c,0xe8,0xd1,0x01,0x05,0x1a,0x00

# CHECK: v_mad_u64_u32 v[5:6], s[12:13], v1, v2, s[8:9] ; encoding: [0x05,0x0c,0xe8,0xd1,0x01,0x05,0x22,0x00]
0x05,0x0c,0xe8,0xd1,0x01,0x05,0x22,0x00

# CHECK: v_mad_u64_u32 v[5:6], s[12:13], v1, v2, s[100:101] ; encoding: [0x05,0x0c,0xe8,0xd1,0x01,0x05,0x92,0x01]
0x05,0x0c,0xe8,0xd1,0x01,0x05,0x92,0x01

# CHECK: v_mad_u64_u32 v[5:6], s[12:13], v1, v2, flat_scratch ; encoding: [0x05,0x0c,0xe8,0xd1,0x01,0x05,0x9a,0x01]
0x05,0x0c,0xe8,0xd1,0x01,0x05,0x9a,0x01

# CHECK: v_mad_u64_u32 v[5:6], s[12:13], v1, v2, vcc ; encoding: [0x05,0x0c,0xe8,0xd1,0x01,0x05,0xaa,0x01]
0x05,0x0c,0xe8,0xd1,0x01,0x05,0xaa,0x01

# CHECK: v_mad_u64_u32 v[5:6], s[12:13], v1, v2, tba ; encoding: [0x05,0x0c,0xe8,0xd1,0x01,0x05,0xb2,0x01]
0x05,0x0c,0xe8,0xd1,0x01,0x05,0xb2,0x01

# CHECK: v_mad_u64_u32 v[5:6], s[12:13], v1, v2, tma ; encoding: [0x05,0x0c,0xe8,0xd1,0x01,0x05,0xba,0x01]
0x05,0x0c,0xe8,0xd1,0x01,0x05,0xba,0x01

# CHECK: v_mad_u64_u32 v[5:6], s[12:13], v1, v2, ttmp[10:11] ; encoding: [0x05,0x0c,0xe8,0xd1,0x01,0x05,0xea,0x01]
0x05,0x0c,0xe8,0xd1,0x01,0x05,0xea,0x01

# CHECK: v_mad_u64_u32 v[5:6], s[12:13], v1, v2, exec ; encoding: [0x05,0x0c,0xe8,0xd1,0x01,0x05,0xfa,0x01]
0x05,0x0c,0xe8,0xd1,0x01,0x05,0xfa,0x01

# CHECK: v_mad_u64_u32 v[5:6], s[12:13], v1, v2, 0 ; encoding: [0x05,0x0c,0xe8,0xd1,0x01,0x05,0x02,0x02]
0x05,0x0c,0xe8,0xd1,0x01,0x05,0x02,0x02

# CHECK: v_mad_u64_u32 v[5:6], s[12:13], v1, v2, -1 ; encoding: [0x05,0x0c,0xe8,0xd1,0x01,0x05,0x06,0x03]
0x05,0x0c,0xe8,0xd1,0x01,0x05,0x06,0x03

# CHECK: v_mad_u64_u32 v[5:6], s[12:13], v1, v2, 0.5 ; encoding: [0x05,0x0c,0xe8,0xd1,0x01,0x05,0xc2,0x03]
0x05,0x0c,0xe8,0xd1,0x01,0x05,0xc2,0x03

# CHECK: v_mad_u64_u32 v[5:6], s[12:13], v1, v2, -4.0 ; encoding: [0x05,0x0c,0xe8,0xd1,0x01,0x05,0xde,0x03]
0x05,0x0c,0xe8,0xd1,0x01,0x05,0xde,0x03

# CHECK: v_mad_u64_u32 v[5:6], s[12:13], v1, v2, v[3:4] clamp ; encoding: [0x05,0x8c,0xe8,0xd1,0x01,0x05,0x0e,0x04]
0x05,0x8c,0xe8,0xd1,0x01,0x05,0x0e,0x04

# CHECK: v_mad_i64_i32 v[5:6], s[12:13], v1, v2, v[3:4] ; encoding: [0x05,0x0c,0xe9,0xd1,0x01,0x05,0x0e,0x04]
0x05,0x0c,0xe9,0xd1,0x01,0x05,0x0e,0x04

# CHECK: v_mad_i64_i32 v[254:255], s[12:13], v1, v2, v[3:4] ; encoding: [0xfe,0x0c,0xe9,0xd1,0x01,0x05,0x0e,0x04]
0xfe,0x0c,0xe9,0xd1,0x01,0x05,0x0e,0x04

# CHECK: v_mad_i64_i32 v[5:6], s[14:15], v1, v2, v[3:4] ; encoding: [0x05,0x0e,0xe9,0xd1,0x01,0x05,0x0e,0x04]
0x05,0x0e,0xe9,0xd1,0x01,0x05,0x0e,0x04

# CHECK: v_mad_i64_i32 v[5:6], s[100:101], v1, v2, v[3:4] ; encoding: [0x05,0x64,0xe9,0xd1,0x01,0x05,0x0e,0x04]
0x05,0x64,0xe9,0xd1,0x01,0x05,0x0e,0x04

# CHECK: v_mad_i64_i32 v[5:6], flat_scratch, v1, v2, v[3:4] ; encoding: [0x05,0x66,0xe9,0xd1,0x01,0x05,0x0e,0x04]
0x05,0x66,0xe9,0xd1,0x01,0x05,0x0e,0x04

# CHECK: v_mad_i64_i32 v[5:6], vcc, v1, v2, v[3:4] ; encoding: [0x05,0x6a,0xe9,0xd1,0x01,0x05,0x0e,0x04]
0x05,0x6a,0xe9,0xd1,0x01,0x05,0x0e,0x04

# CHECK: v_mad_i64_i32 v[5:6], tba, v1, v2, v[3:4] ; encoding: [0x05,0x6c,0xe9,0xd1,0x01,0x05,0x0e,0x04]
0x05,0x6c,0xe9,0xd1,0x01,0x05,0x0e,0x04

# CHECK: v_mad_i64_i32 v[5:6], tma, v1, v2, v[3:4] ; encoding: [0x05,0x6e,0xe9,0xd1,0x01,0x05,0x0e,0x04]
0x05,0x6e,0xe9,0xd1,0x01,0x05,0x0e,0x04

# CHECK: v_mad_i64_i32 v[5:6], ttmp[10:11], v1, v2, v[3:4] ; encoding: [0x05,0x7a,0xe9,0xd1,0x01,0x05,0x0e,0x04]
0x05,0x7a,0xe9,0xd1,0x01,0x05,0x0e,0x04

# CHECK: v_mad_i64_i32 v[5:6], s[12:13], v255, v2, v[3:4] ; encoding: [0x05,0x0c,0xe9,0xd1,0xff,0x05,0x0e,0x04]
0x05,0x0c,0xe9,0xd1,0xff,0x05,0x0e,0x04

# CHECK: v_mad_i64_i32 v[5:6], s[12:13], s1, v2, v[3:4] ; encoding: [0x05,0x0c,0xe9,0xd1,0x01,0x04,0x0e,0x04]
0x05,0x0c,0xe9,0xd1,0x01,0x04,0x0e,0x04

# CHECK: v_mad_i64_i32 v[5:6], s[12:13], s101, v2, v[3:4] ; encoding: [0x05,0x0c,0xe9,0xd1,0x65,0x04,0x0e,0x04]
0x05,0x0c,0xe9,0xd1,0x65,0x04,0x0e,0x04

# CHECK: v_mad_i64_i32 v[5:6], s[12:13], flat_scratch_lo, v2, v[3:4] ; encoding: [0x05,0x0c,0xe9,0xd1,0x66,0x04,0x0e,0x04]
0x05,0x0c,0xe9,0xd1,0x66,0x04,0x0e,0x04

# CHECK: v_mad_i64_i32 v[5:6], s[12:13], flat_scratch_hi, v2, v[3:4] ; encoding: [0x05,0x0c,0xe9,0xd1,0x67,0x04,0x0e,0x04]
0x05,0x0c,0xe9,0xd1,0x67,0x04,0x0e,0x04

# CHECK: v_mad_i64_i32 v[5:6], s[12:13], vcc_lo, v2, v[3:4] ; encoding: [0x05,0x0c,0xe9,0xd1,0x6a,0x04,0x0e,0x04]
0x05,0x0c,0xe9,0xd1,0x6a,0x04,0x0e,0x04

# CHECK: v_mad_i64_i32 v[5:6], s[12:13], vcc_hi, v2, v[3:4] ; encoding: [0x05,0x0c,0xe9,0xd1,0x6b,0x04,0x0e,0x04]
0x05,0x0c,0xe9,0xd1,0x6b,0x04,0x0e,0x04

# CHECK: v_mad_i64_i32 v[5:6], s[12:13], tba_lo, v2, v[3:4] ; encoding: [0x05,0x0c,0xe9,0xd1,0x6c,0x04,0x0e,0x04]
0x05,0x0c,0xe9,0xd1,0x6c,0x04,0x0e,0x04

# CHECK: v_mad_i64_i32 v[5:6], s[12:13], tba_hi, v2, v[3:4] ; encoding: [0x05,0x0c,0xe9,0xd1,0x6d,0x04,0x0e,0x04]
0x05,0x0c,0xe9,0xd1,0x6d,0x04,0x0e,0x04

# CHECK: v_mad_i64_i32 v[5:6], s[12:13], tma_lo, v2, v[3:4] ; encoding: [0x05,0x0c,0xe9,0xd1,0x6e,0x04,0x0e,0x04]
0x05,0x0c,0xe9,0xd1,0x6e,0x04,0x0e,0x04

# CHECK: v_mad_i64_i32 v[5:6], s[12:13], tma_hi, v2, v[3:4] ; encoding: [0x05,0x0c,0xe9,0xd1,0x6f,0x04,0x0e,0x04]
0x05,0x0c,0xe9,0xd1,0x6f,0x04,0x0e,0x04

# CHECK: v_mad_i64_i32 v[5:6], s[12:13], ttmp11, v2, v[3:4] ; encoding: [0x05,0x0c,0xe9,0xd1,0x7b,0x04,0x0e,0x04]
0x05,0x0c,0xe9,0xd1,0x7b,0x04,0x0e,0x04

# CHECK: v_mad_i64_i32 v[5:6], s[12:13], m0, v2, v[3:4] ; encoding: [0x05,0x0c,0xe9,0xd1,0x7c,0x04,0x0e,0x04]
0x05,0x0c,0xe9,0xd1,0x7c,0x04,0x0e,0x04

# CHECK: v_mad_i64_i32 v[5:6], s[12:13], exec_lo, v2, v[3:4] ; encoding: [0x05,0x0c,0xe9,0xd1,0x7e,0x04,0x0e,0x04]
0x05,0x0c,0xe9,0xd1,0x7e,0x04,0x0e,0x04

# CHECK: v_mad_i64_i32 v[5:6], s[12:13], exec_hi, v2, v[3:4] ; encoding: [0x05,0x0c,0xe9,0xd1,0x7f,0x04,0x0e,0x04]
0x05,0x0c,0xe9,0xd1,0x7f,0x04,0x0e,0x04

# CHECK: v_mad_i64_i32 v[5:6], s[12:13], 0, v2, v[3:4] ; encoding: [0x05,0x0c,0xe9,0xd1,0x80,0x04,0x0e,0x04]
0x05,0x0c,0xe9,0xd1,0x80,0x04,0x0e,0x04

# CHECK: v_mad_i64_i32 v[5:6], s[12:13], -1, v2, v[3:4] ; encoding: [0x05,0x0c,0xe9,0xd1,0xc1,0x04,0x0e,0x04]
0x05,0x0c,0xe9,0xd1,0xc1,0x04,0x0e,0x04

# CHECK: v_mad_i64_i32 v[5:6], s[12:13], 0.5, v2, v[3:4] ; encoding: [0x05,0x0c,0xe9,0xd1,0xf0,0x04,0x0e,0x04]
0x05,0x0c,0xe9,0xd1,0xf0,0x04,0x0e,0x04

# CHECK: v_mad_i64_i32 v[5:6], s[12:13], -4.0, v2, v[3:4] ; encoding: [0x05,0x0c,0xe9,0xd1,0xf7,0x04,0x0e,0x04]
0x05,0x0c,0xe9,0xd1,0xf7,0x04,0x0e,0x04

# CHECK: v_mad_i64_i32 v[5:6], s[12:13], v1, v255, v[3:4] ; encoding: [0x05,0x0c,0xe9,0xd1,0x01,0xff,0x0f,0x04]
0x05,0x0c,0xe9,0xd1,0x01,0xff,0x0f,0x04

# CHECK: v_mad_i64_i32 v[5:6], s[12:13], v1, s2, v[3:4] ; encoding: [0x05,0x0c,0xe9,0xd1,0x01,0x05,0x0c,0x04]
0x05,0x0c,0xe9,0xd1,0x01,0x05,0x0c,0x04

# CHECK: v_mad_i64_i32 v[5:6], s[12:13], v1, s101, v[3:4] ; encoding: [0x05,0x0c,0xe9,0xd1,0x01,0xcb,0x0c,0x04]
0x05,0x0c,0xe9,0xd1,0x01,0xcb,0x0c,0x04

# CHECK: v_mad_i64_i32 v[5:6], s[12:13], v1, flat_scratch_lo, v[3:4] ; encoding: [0x05,0x0c,0xe9,0xd1,0x01,0xcd,0x0c,0x04]
0x05,0x0c,0xe9,0xd1,0x01,0xcd,0x0c,0x04

# CHECK: v_mad_i64_i32 v[5:6], s[12:13], v1, flat_scratch_hi, v[3:4] ; encoding: [0x05,0x0c,0xe9,0xd1,0x01,0xcf,0x0c,0x04]
0x05,0x0c,0xe9,0xd1,0x01,0xcf,0x0c,0x04

# CHECK: v_mad_i64_i32 v[5:6], s[12:13], v1, vcc_lo, v[3:4] ; encoding: [0x05,0x0c,0xe9,0xd1,0x01,0xd5,0x0c,0x04]
0x05,0x0c,0xe9,0xd1,0x01,0xd5,0x0c,0x04

# CHECK: v_mad_i64_i32 v[5:6], s[12:13], v1, vcc_hi, v[3:4] ; encoding: [0x05,0x0c,0xe9,0xd1,0x01,0xd7,0x0c,0x04]
0x05,0x0c,0xe9,0xd1,0x01,0xd7,0x0c,0x04

# CHECK: v_mad_i64_i32 v[5:6], s[12:13], v1, tba_lo, v[3:4] ; encoding: [0x05,0x0c,0xe9,0xd1,0x01,0xd9,0x0c,0x04]
0x05,0x0c,0xe9,0xd1,0x01,0xd9,0x0c,0x04

# CHECK: v_mad_i64_i32 v[5:6], s[12:13], v1, tba_hi, v[3:4] ; encoding: [0x05,0x0c,0xe9,0xd1,0x01,0xdb,0x0c,0x04]
0x05,0x0c,0xe9,0xd1,0x01,0xdb,0x0c,0x04

# CHECK: v_mad_i64_i32 v[5:6], s[12:13], v1, tma_lo, v[3:4] ; encoding: [0x05,0x0c,0xe9,0xd1,0x01,0xdd,0x0c,0x04]
0x05,0x0c,0xe9,0xd1,0x01,0xdd,0x0c,0x04

# CHECK: v_mad_i64_i32 v[5:6], s[12:13], v1, tma_hi, v[3:4] ; encoding: [0x05,0x0c,0xe9,0xd1,0x01,0xdf,0x0c,0x04]
0x05,0x0c,0xe9,0xd1,0x01,0xdf,0x0c,0x04

# CHECK: v_mad_i64_i32 v[5:6], s[12:13], v1, ttmp11, v[3:4] ; encoding: [0x05,0x0c,0xe9,0xd1,0x01,0xf7,0x0c,0x04]
0x05,0x0c,0xe9,0xd1,0x01,0xf7,0x0c,0x04

# CHECK: v_mad_i64_i32 v[5:6], s[12:13], v1, m0, v[3:4] ; encoding: [0x05,0x0c,0xe9,0xd1,0x01,0xf9,0x0c,0x04]
0x05,0x0c,0xe9,0xd1,0x01,0xf9,0x0c,0x04

# CHECK: v_mad_i64_i32 v[5:6], s[12:13], v1, exec_lo, v[3:4] ; encoding: [0x05,0x0c,0xe9,0xd1,0x01,0xfd,0x0c,0x04]
0x05,0x0c,0xe9,0xd1,0x01,0xfd,0x0c,0x04

# CHECK: v_mad_i64_i32 v[5:6], s[12:13], v1, exec_hi, v[3:4] ; encoding: [0x05,0x0c,0xe9,0xd1,0x01,0xff,0x0c,0x04]
0x05,0x0c,0xe9,0xd1,0x01,0xff,0x0c,0x04

# CHECK: v_mad_i64_i32 v[5:6], s[12:13], v1, 0, v[3:4] ; encoding: [0x05,0x0c,0xe9,0xd1,0x01,0x01,0x0d,0x04]
0x05,0x0c,0xe9,0xd1,0x01,0x01,0x0d,0x04

# CHECK: v_mad_i64_i32 v[5:6], s[12:13], v1, -1, v[3:4] ; encoding: [0x05,0x0c,0xe9,0xd1,0x01,0x83,0x0d,0x04]
0x05,0x0c,0xe9,0xd1,0x01,0x83,0x0d,0x04

# CHECK: v_mad_i64_i32 v[5:6], s[12:13], v1, 0.5, v[3:4] ; encoding: [0x05,0x0c,0xe9,0xd1,0x01,0xe1,0x0d,0x04]
0x05,0x0c,0xe9,0xd1,0x01,0xe1,0x0d,0x04

# CHECK: v_mad_i64_i32 v[5:6], s[12:13], v1, -4.0, v[3:4] ; encoding: [0x05,0x0c,0xe9,0xd1,0x01,0xef,0x0d,0x04]
0x05,0x0c,0xe9,0xd1,0x01,0xef,0x0d,0x04

# CHECK: v_mad_i64_i32 v[5:6], s[12:13], v1, v2, v[254:255] ; encoding: [0x05,0x0c,0xe9,0xd1,0x01,0x05,0xfa,0x07]
0x05,0x0c,0xe9,0xd1,0x01,0x05,0xfa,0x07

# CHECK: v_mad_i64_i32 v[5:6], s[12:13], v1, v2, s[6:7] ; encoding: [0x05,0x0c,0xe9,0xd1,0x01,0x05,0x1a,0x00]
0x05,0x0c,0xe9,0xd1,0x01,0x05,0x1a,0x00

# CHECK: v_mad_i64_i32 v[5:6], s[12:13], v1, v2, s[8:9] ; encoding: [0x05,0x0c,0xe9,0xd1,0x01,0x05,0x22,0x00]
0x05,0x0c,0xe9,0xd1,0x01,0x05,0x22,0x00

# CHECK: v_mad_i64_i32 v[5:6], s[12:13], v1, v2, s[100:101] ; encoding: [0x05,0x0c,0xe9,0xd1,0x01,0x05,0x92,0x01]
0x05,0x0c,0xe9,0xd1,0x01,0x05,0x92,0x01

# CHECK: v_mad_i64_i32 v[5:6], s[12:13], v1, v2, flat_scratch ; encoding: [0x05,0x0c,0xe9,0xd1,0x01,0x05,0x9a,0x01]
0x05,0x0c,0xe9,0xd1,0x01,0x05,0x9a,0x01

# CHECK: v_mad_i64_i32 v[5:6], s[12:13], v1, v2, vcc ; encoding: [0x05,0x0c,0xe9,0xd1,0x01,0x05,0xaa,0x01]
0x05,0x0c,0xe9,0xd1,0x01,0x05,0xaa,0x01

# CHECK: v_mad_i64_i32 v[5:6], s[12:13], v1, v2, tba ; encoding: [0x05,0x0c,0xe9,0xd1,0x01,0x05,0xb2,0x01]
0x05,0x0c,0xe9,0xd1,0x01,0x05,0xb2,0x01

# CHECK: v_mad_i64_i32 v[5:6], s[12:13], v1, v2, tma ; encoding: [0x05,0x0c,0xe9,0xd1,0x01,0x05,0xba,0x01]
0x05,0x0c,0xe9,0xd1,0x01,0x05,0xba,0x01

# CHECK: v_mad_i64_i32 v[5:6], s[12:13], v1, v2, ttmp[10:11] ; encoding: [0x05,0x0c,0xe9,0xd1,0x01,0x05,0xea,0x01]
0x05,0x0c,0xe9,0xd1,0x01,0x05,0xea,0x01

# CHECK: v_mad_i64_i32 v[5:6], s[12:13], v1, v2, exec ; encoding: [0x05,0x0c,0xe9,0xd1,0x01,0x05,0xfa,0x01]
0x05,0x0c,0xe9,0xd1,0x01,0x05,0xfa,0x01

# CHECK: v_mad_i64_i32 v[5:6], s[12:13], v1, v2, 0 ; encoding: [0x05,0x0c,0xe9,0xd1,0x01,0x05,0x02,0x02]
0x05,0x0c,0xe9,0xd1,0x01,0x05,0x02,0x02

# CHECK: v_mad_i64_i32 v[5:6], s[12:13], v1, v2, -1 ; encoding: [0x05,0x0c,0xe9,0xd1,0x01,0x05,0x06,0x03]
0x05,0x0c,0xe9,0xd1,0x01,0x05,0x06,0x03

# CHECK: v_mad_i64_i32 v[5:6], s[12:13], v1, v2, 0.5 ; encoding: [0x05,0x0c,0xe9,0xd1,0x01,0x05,0xc2,0x03]
0x05,0x0c,0xe9,0xd1,0x01,0x05,0xc2,0x03

# CHECK: v_mad_i64_i32 v[5:6], s[12:13], v1, v2, -4.0 ; encoding: [0x05,0x0c,0xe9,0xd1,0x01,0x05,0xde,0x03]
0x05,0x0c,0xe9,0xd1,0x01,0x05,0xde,0x03

# CHECK: v_mad_i64_i32 v[5:6], s[12:13], v1, v2, v[3:4] clamp ; encoding: [0x05,0x8c,0xe9,0xd1,0x01,0x05,0x0e,0x04]
0x05,0x8c,0xe9,0xd1,0x01,0x05,0x0e,0x04

# CHECK: v_mad_f16 v5, v1, v2, v3                ; encoding: [0x05,0x00,0xea,0xd1,0x01,0x05,0x0e,0x04]
0x05,0x00,0xea,0xd1,0x01,0x05,0x0e,0x04

# CHECK: v_mad_f16 v255, v1, v2, v3              ; encoding: [0xff,0x00,0xea,0xd1,0x01,0x05,0x0e,0x04]
0xff,0x00,0xea,0xd1,0x01,0x05,0x0e,0x04

# CHECK: v_mad_f16 v5, v255, v2, v3              ; encoding: [0x05,0x00,0xea,0xd1,0xff,0x05,0x0e,0x04]
0x05,0x00,0xea,0xd1,0xff,0x05,0x0e,0x04

# CHECK: v_mad_f16 v5, s1, v2, v3                ; encoding: [0x05,0x00,0xea,0xd1,0x01,0x04,0x0e,0x04]
0x05,0x00,0xea,0xd1,0x01,0x04,0x0e,0x04

# CHECK: v_mad_f16 v5, s101, v2, v3              ; encoding: [0x05,0x00,0xea,0xd1,0x65,0x04,0x0e,0x04]
0x05,0x00,0xea,0xd1,0x65,0x04,0x0e,0x04

# CHECK: v_mad_f16 v5, flat_scratch_lo, v2, v3   ; encoding: [0x05,0x00,0xea,0xd1,0x66,0x04,0x0e,0x04]
0x05,0x00,0xea,0xd1,0x66,0x04,0x0e,0x04

# CHECK: v_mad_f16 v5, flat_scratch_hi, v2, v3   ; encoding: [0x05,0x00,0xea,0xd1,0x67,0x04,0x0e,0x04]
0x05,0x00,0xea,0xd1,0x67,0x04,0x0e,0x04

# CHECK: v_mad_f16 v5, vcc_lo, v2, v3            ; encoding: [0x05,0x00,0xea,0xd1,0x6a,0x04,0x0e,0x04]
0x05,0x00,0xea,0xd1,0x6a,0x04,0x0e,0x04

# CHECK: v_mad_f16 v5, vcc_hi, v2, v3            ; encoding: [0x05,0x00,0xea,0xd1,0x6b,0x04,0x0e,0x04]
0x05,0x00,0xea,0xd1,0x6b,0x04,0x0e,0x04

# CHECK: v_mad_f16 v5, tba_lo, v2, v3            ; encoding: [0x05,0x00,0xea,0xd1,0x6c,0x04,0x0e,0x04]
0x05,0x00,0xea,0xd1,0x6c,0x04,0x0e,0x04

# CHECK: v_mad_f16 v5, tba_hi, v2, v3            ; encoding: [0x05,0x00,0xea,0xd1,0x6d,0x04,0x0e,0x04]
0x05,0x00,0xea,0xd1,0x6d,0x04,0x0e,0x04

# CHECK: v_mad_f16 v5, tma_lo, v2, v3            ; encoding: [0x05,0x00,0xea,0xd1,0x6e,0x04,0x0e,0x04]
0x05,0x00,0xea,0xd1,0x6e,0x04,0x0e,0x04

# CHECK: v_mad_f16 v5, tma_hi, v2, v3            ; encoding: [0x05,0x00,0xea,0xd1,0x6f,0x04,0x0e,0x04]
0x05,0x00,0xea,0xd1,0x6f,0x04,0x0e,0x04

# CHECK: v_mad_f16 v5, ttmp11, v2, v3            ; encoding: [0x05,0x00,0xea,0xd1,0x7b,0x04,0x0e,0x04]
0x05,0x00,0xea,0xd1,0x7b,0x04,0x0e,0x04

# CHECK: v_mad_f16 v5, m0, v2, v3                ; encoding: [0x05,0x00,0xea,0xd1,0x7c,0x04,0x0e,0x04]
0x05,0x00,0xea,0xd1,0x7c,0x04,0x0e,0x04

# CHECK: v_mad_f16 v5, exec_lo, v2, v3           ; encoding: [0x05,0x00,0xea,0xd1,0x7e,0x04,0x0e,0x04]
0x05,0x00,0xea,0xd1,0x7e,0x04,0x0e,0x04

# CHECK: v_mad_f16 v5, exec_hi, v2, v3           ; encoding: [0x05,0x00,0xea,0xd1,0x7f,0x04,0x0e,0x04]
0x05,0x00,0xea,0xd1,0x7f,0x04,0x0e,0x04

# CHECK: v_mad_f16 v5, 0, v2, v3                 ; encoding: [0x05,0x00,0xea,0xd1,0x80,0x04,0x0e,0x04]
0x05,0x00,0xea,0xd1,0x80,0x04,0x0e,0x04

# CHECK: v_mad_f16 v5, -1, v2, v3                ; encoding: [0x05,0x00,0xea,0xd1,0xc1,0x04,0x0e,0x04]
0x05,0x00,0xea,0xd1,0xc1,0x04,0x0e,0x04

# CHECK: v_mad_f16 v5, 0.5, v2, v3               ; encoding: [0x05,0x00,0xea,0xd1,0xf0,0x04,0x0e,0x04]
0x05,0x00,0xea,0xd1,0xf0,0x04,0x0e,0x04

# CHECK: v_mad_f16 v5, -4.0, v2, v3              ; encoding: [0x05,0x00,0xea,0xd1,0xf7,0x04,0x0e,0x04]
0x05,0x00,0xea,0xd1,0xf7,0x04,0x0e,0x04

# CHECK: v_mad_f16 v5, v1, v255, v3              ; encoding: [0x05,0x00,0xea,0xd1,0x01,0xff,0x0f,0x04]
0x05,0x00,0xea,0xd1,0x01,0xff,0x0f,0x04

# CHECK: v_mad_f16 v5, v1, s2, v3                ; encoding: [0x05,0x00,0xea,0xd1,0x01,0x05,0x0c,0x04]
0x05,0x00,0xea,0xd1,0x01,0x05,0x0c,0x04

# CHECK: v_mad_f16 v5, v1, s101, v3              ; encoding: [0x05,0x00,0xea,0xd1,0x01,0xcb,0x0c,0x04]
0x05,0x00,0xea,0xd1,0x01,0xcb,0x0c,0x04

# CHECK: v_mad_f16 v5, v1, flat_scratch_lo, v3   ; encoding: [0x05,0x00,0xea,0xd1,0x01,0xcd,0x0c,0x04]
0x05,0x00,0xea,0xd1,0x01,0xcd,0x0c,0x04

# CHECK: v_mad_f16 v5, v1, flat_scratch_hi, v3   ; encoding: [0x05,0x00,0xea,0xd1,0x01,0xcf,0x0c,0x04]
0x05,0x00,0xea,0xd1,0x01,0xcf,0x0c,0x04

# CHECK: v_mad_f16 v5, v1, vcc_lo, v3            ; encoding: [0x05,0x00,0xea,0xd1,0x01,0xd5,0x0c,0x04]
0x05,0x00,0xea,0xd1,0x01,0xd5,0x0c,0x04

# CHECK: v_mad_f16 v5, v1, vcc_hi, v3            ; encoding: [0x05,0x00,0xea,0xd1,0x01,0xd7,0x0c,0x04]
0x05,0x00,0xea,0xd1,0x01,0xd7,0x0c,0x04

# CHECK: v_mad_f16 v5, v1, tba_lo, v3            ; encoding: [0x05,0x00,0xea,0xd1,0x01,0xd9,0x0c,0x04]
0x05,0x00,0xea,0xd1,0x01,0xd9,0x0c,0x04

# CHECK: v_mad_f16 v5, v1, tba_hi, v3            ; encoding: [0x05,0x00,0xea,0xd1,0x01,0xdb,0x0c,0x04]
0x05,0x00,0xea,0xd1,0x01,0xdb,0x0c,0x04

# CHECK: v_mad_f16 v5, v1, tma_lo, v3            ; encoding: [0x05,0x00,0xea,0xd1,0x01,0xdd,0x0c,0x04]
0x05,0x00,0xea,0xd1,0x01,0xdd,0x0c,0x04

# CHECK: v_mad_f16 v5, v1, tma_hi, v3            ; encoding: [0x05,0x00,0xea,0xd1,0x01,0xdf,0x0c,0x04]
0x05,0x00,0xea,0xd1,0x01,0xdf,0x0c,0x04

# CHECK: v_mad_f16 v5, v1, ttmp11, v3            ; encoding: [0x05,0x00,0xea,0xd1,0x01,0xf7,0x0c,0x04]
0x05,0x00,0xea,0xd1,0x01,0xf7,0x0c,0x04

# CHECK: v_mad_f16 v5, v1, m0, v3                ; encoding: [0x05,0x00,0xea,0xd1,0x01,0xf9,0x0c,0x04]
0x05,0x00,0xea,0xd1,0x01,0xf9,0x0c,0x04

# CHECK: v_mad_f16 v5, v1, exec_lo, v3           ; encoding: [0x05,0x00,0xea,0xd1,0x01,0xfd,0x0c,0x04]
0x05,0x00,0xea,0xd1,0x01,0xfd,0x0c,0x04

# CHECK: v_mad_f16 v5, v1, exec_hi, v3           ; encoding: [0x05,0x00,0xea,0xd1,0x01,0xff,0x0c,0x04]
0x05,0x00,0xea,0xd1,0x01,0xff,0x0c,0x04

# CHECK: v_mad_f16 v5, v1, 0, v3                 ; encoding: [0x05,0x00,0xea,0xd1,0x01,0x01,0x0d,0x04]
0x05,0x00,0xea,0xd1,0x01,0x01,0x0d,0x04

# CHECK: v_mad_f16 v5, v1, -1, v3                ; encoding: [0x05,0x00,0xea,0xd1,0x01,0x83,0x0d,0x04]
0x05,0x00,0xea,0xd1,0x01,0x83,0x0d,0x04

# CHECK: v_mad_f16 v5, v1, 0.5, v3               ; encoding: [0x05,0x00,0xea,0xd1,0x01,0xe1,0x0d,0x04]
0x05,0x00,0xea,0xd1,0x01,0xe1,0x0d,0x04

# CHECK: v_mad_f16 v5, v1, -4.0, v3              ; encoding: [0x05,0x00,0xea,0xd1,0x01,0xef,0x0d,0x04]
0x05,0x00,0xea,0xd1,0x01,0xef,0x0d,0x04

# CHECK: v_mad_f16 v5, v1, v2, v255              ; encoding: [0x05,0x00,0xea,0xd1,0x01,0x05,0xfe,0x07]
0x05,0x00,0xea,0xd1,0x01,0x05,0xfe,0x07

# CHECK: v_mad_f16 v5, v1, v2, s3                ; encoding: [0x05,0x00,0xea,0xd1,0x01,0x05,0x0e,0x00]
0x05,0x00,0xea,0xd1,0x01,0x05,0x0e,0x00

# CHECK: v_mad_f16 v5, v1, v2, s101              ; encoding: [0x05,0x00,0xea,0xd1,0x01,0x05,0x96,0x01]
0x05,0x00,0xea,0xd1,0x01,0x05,0x96,0x01

# CHECK: v_mad_f16 v5, v1, v2, flat_scratch_lo   ; encoding: [0x05,0x00,0xea,0xd1,0x01,0x05,0x9a,0x01]
0x05,0x00,0xea,0xd1,0x01,0x05,0x9a,0x01

# CHECK: v_mad_f16 v5, v1, v2, flat_scratch_hi   ; encoding: [0x05,0x00,0xea,0xd1,0x01,0x05,0x9e,0x01]
0x05,0x00,0xea,0xd1,0x01,0x05,0x9e,0x01

# CHECK: v_mad_f16 v5, v1, v2, vcc_lo            ; encoding: [0x05,0x00,0xea,0xd1,0x01,0x05,0xaa,0x01]
0x05,0x00,0xea,0xd1,0x01,0x05,0xaa,0x01

# CHECK: v_mad_f16 v5, v1, v2, vcc_hi            ; encoding: [0x05,0x00,0xea,0xd1,0x01,0x05,0xae,0x01]
0x05,0x00,0xea,0xd1,0x01,0x05,0xae,0x01

# CHECK: v_mad_f16 v5, v1, v2, tba_lo            ; encoding: [0x05,0x00,0xea,0xd1,0x01,0x05,0xb2,0x01]
0x05,0x00,0xea,0xd1,0x01,0x05,0xb2,0x01

# CHECK: v_mad_f16 v5, v1, v2, tba_hi            ; encoding: [0x05,0x00,0xea,0xd1,0x01,0x05,0xb6,0x01]
0x05,0x00,0xea,0xd1,0x01,0x05,0xb6,0x01

# CHECK: v_mad_f16 v5, v1, v2, tma_lo            ; encoding: [0x05,0x00,0xea,0xd1,0x01,0x05,0xba,0x01]
0x05,0x00,0xea,0xd1,0x01,0x05,0xba,0x01

# CHECK: v_mad_f16 v5, v1, v2, tma_hi            ; encoding: [0x05,0x00,0xea,0xd1,0x01,0x05,0xbe,0x01]
0x05,0x00,0xea,0xd1,0x01,0x05,0xbe,0x01

# CHECK: v_mad_f16 v5, v1, v2, ttmp11            ; encoding: [0x05,0x00,0xea,0xd1,0x01,0x05,0xee,0x01]
0x05,0x00,0xea,0xd1,0x01,0x05,0xee,0x01

# CHECK: v_mad_f16 v5, v1, v2, m0                ; encoding: [0x05,0x00,0xea,0xd1,0x01,0x05,0xf2,0x01]
0x05,0x00,0xea,0xd1,0x01,0x05,0xf2,0x01

# CHECK: v_mad_f16 v5, v1, v2, exec_lo           ; encoding: [0x05,0x00,0xea,0xd1,0x01,0x05,0xfa,0x01]
0x05,0x00,0xea,0xd1,0x01,0x05,0xfa,0x01

# CHECK: v_mad_f16 v5, v1, v2, exec_hi           ; encoding: [0x05,0x00,0xea,0xd1,0x01,0x05,0xfe,0x01]
0x05,0x00,0xea,0xd1,0x01,0x05,0xfe,0x01

# CHECK: v_mad_f16 v5, v1, v2, 0                 ; encoding: [0x05,0x00,0xea,0xd1,0x01,0x05,0x02,0x02]
0x05,0x00,0xea,0xd1,0x01,0x05,0x02,0x02

# CHECK: v_mad_f16 v5, v1, v2, -1                ; encoding: [0x05,0x00,0xea,0xd1,0x01,0x05,0x06,0x03]
0x05,0x00,0xea,0xd1,0x01,0x05,0x06,0x03

# CHECK: v_mad_f16 v5, v1, v2, 0.5               ; encoding: [0x05,0x00,0xea,0xd1,0x01,0x05,0xc2,0x03]
0x05,0x00,0xea,0xd1,0x01,0x05,0xc2,0x03

# CHECK: v_mad_f16 v5, v1, v2, -4.0              ; encoding: [0x05,0x00,0xea,0xd1,0x01,0x05,0xde,0x03]
0x05,0x00,0xea,0xd1,0x01,0x05,0xde,0x03

# CHECK: v_mad_f16 v5, -v1, v2, v3               ; encoding: [0x05,0x00,0xea,0xd1,0x01,0x05,0x0e,0x24]
0x05,0x00,0xea,0xd1,0x01,0x05,0x0e,0x24

# CHECK: v_mad_f16 v5, v1, -v2, v3               ; encoding: [0x05,0x00,0xea,0xd1,0x01,0x05,0x0e,0x44]
0x05,0x00,0xea,0xd1,0x01,0x05,0x0e,0x44

# CHECK: v_mad_f16 v5, v1, v2, -v3               ; encoding: [0x05,0x00,0xea,0xd1,0x01,0x05,0x0e,0x84]
0x05,0x00,0xea,0xd1,0x01,0x05,0x0e,0x84

# CHECK: v_mad_f16 v5, -v1, -v2, -v3             ; encoding: [0x05,0x00,0xea,0xd1,0x01,0x05,0x0e,0xe4]
0x05,0x00,0xea,0xd1,0x01,0x05,0x0e,0xe4

# CHECK: v_mad_f16 v5, |v1|, v2, v3              ; encoding: [0x05,0x01,0xea,0xd1,0x01,0x05,0x0e,0x04]
0x05,0x01,0xea,0xd1,0x01,0x05,0x0e,0x04

# CHECK: v_mad_f16 v5, v1, |v2|, v3              ; encoding: [0x05,0x02,0xea,0xd1,0x01,0x05,0x0e,0x04]
0x05,0x02,0xea,0xd1,0x01,0x05,0x0e,0x04

# CHECK: v_mad_f16 v5, v1, v2, |v3|              ; encoding: [0x05,0x04,0xea,0xd1,0x01,0x05,0x0e,0x04]
0x05,0x04,0xea,0xd1,0x01,0x05,0x0e,0x04

# CHECK: v_mad_f16 v5, |v1|, |v2|, |v3|          ; encoding: [0x05,0x07,0xea,0xd1,0x01,0x05,0x0e,0x04]
0x05,0x07,0xea,0xd1,0x01,0x05,0x0e,0x04

# CHECK: v_mad_f16 v5, v1, v2, v3 clamp          ; encoding: [0x05,0x80,0xea,0xd1,0x01,0x05,0x0e,0x04]
0x05,0x80,0xea,0xd1,0x01,0x05,0x0e,0x04

# CHECK: v_mad_u16 v5, v1, v2, v3                ; encoding: [0x05,0x00,0xeb,0xd1,0x01,0x05,0x0e,0x04]
0x05,0x00,0xeb,0xd1,0x01,0x05,0x0e,0x04

# CHECK: v_mad_u16 v255, v1, v2, v3              ; encoding: [0xff,0x00,0xeb,0xd1,0x01,0x05,0x0e,0x04]
0xff,0x00,0xeb,0xd1,0x01,0x05,0x0e,0x04

# CHECK: v_mad_u16 v5, v255, v2, v3              ; encoding: [0x05,0x00,0xeb,0xd1,0xff,0x05,0x0e,0x04]
0x05,0x00,0xeb,0xd1,0xff,0x05,0x0e,0x04

# CHECK: v_mad_u16 v5, s1, v2, v3                ; encoding: [0x05,0x00,0xeb,0xd1,0x01,0x04,0x0e,0x04]
0x05,0x00,0xeb,0xd1,0x01,0x04,0x0e,0x04

# CHECK: v_mad_u16 v5, s101, v2, v3              ; encoding: [0x05,0x00,0xeb,0xd1,0x65,0x04,0x0e,0x04]
0x05,0x00,0xeb,0xd1,0x65,0x04,0x0e,0x04

# CHECK: v_mad_u16 v5, flat_scratch_lo, v2, v3   ; encoding: [0x05,0x00,0xeb,0xd1,0x66,0x04,0x0e,0x04]
0x05,0x00,0xeb,0xd1,0x66,0x04,0x0e,0x04

# CHECK: v_mad_u16 v5, flat_scratch_hi, v2, v3   ; encoding: [0x05,0x00,0xeb,0xd1,0x67,0x04,0x0e,0x04]
0x05,0x00,0xeb,0xd1,0x67,0x04,0x0e,0x04

# CHECK: v_mad_u16 v5, vcc_lo, v2, v3            ; encoding: [0x05,0x00,0xeb,0xd1,0x6a,0x04,0x0e,0x04]
0x05,0x00,0xeb,0xd1,0x6a,0x04,0x0e,0x04

# CHECK: v_mad_u16 v5, vcc_hi, v2, v3            ; encoding: [0x05,0x00,0xeb,0xd1,0x6b,0x04,0x0e,0x04]
0x05,0x00,0xeb,0xd1,0x6b,0x04,0x0e,0x04

# CHECK: v_mad_u16 v5, tba_lo, v2, v3            ; encoding: [0x05,0x00,0xeb,0xd1,0x6c,0x04,0x0e,0x04]
0x05,0x00,0xeb,0xd1,0x6c,0x04,0x0e,0x04

# CHECK: v_mad_u16 v5, tba_hi, v2, v3            ; encoding: [0x05,0x00,0xeb,0xd1,0x6d,0x04,0x0e,0x04]
0x05,0x00,0xeb,0xd1,0x6d,0x04,0x0e,0x04

# CHECK: v_mad_u16 v5, tma_lo, v2, v3            ; encoding: [0x05,0x00,0xeb,0xd1,0x6e,0x04,0x0e,0x04]
0x05,0x00,0xeb,0xd1,0x6e,0x04,0x0e,0x04

# CHECK: v_mad_u16 v5, tma_hi, v2, v3            ; encoding: [0x05,0x00,0xeb,0xd1,0x6f,0x04,0x0e,0x04]
0x05,0x00,0xeb,0xd1,0x6f,0x04,0x0e,0x04

# CHECK: v_mad_u16 v5, ttmp11, v2, v3            ; encoding: [0x05,0x00,0xeb,0xd1,0x7b,0x04,0x0e,0x04]
0x05,0x00,0xeb,0xd1,0x7b,0x04,0x0e,0x04

# CHECK: v_mad_u16 v5, m0, v2, v3                ; encoding: [0x05,0x00,0xeb,0xd1,0x7c,0x04,0x0e,0x04]
0x05,0x00,0xeb,0xd1,0x7c,0x04,0x0e,0x04

# CHECK: v_mad_u16 v5, exec_lo, v2, v3           ; encoding: [0x05,0x00,0xeb,0xd1,0x7e,0x04,0x0e,0x04]
0x05,0x00,0xeb,0xd1,0x7e,0x04,0x0e,0x04

# CHECK: v_mad_u16 v5, exec_hi, v2, v3           ; encoding: [0x05,0x00,0xeb,0xd1,0x7f,0x04,0x0e,0x04]
0x05,0x00,0xeb,0xd1,0x7f,0x04,0x0e,0x04

# CHECK: v_mad_u16 v5, 0, v2, v3                 ; encoding: [0x05,0x00,0xeb,0xd1,0x80,0x04,0x0e,0x04]
0x05,0x00,0xeb,0xd1,0x80,0x04,0x0e,0x04

# CHECK: v_mad_u16 v5, -1, v2, v3                ; encoding: [0x05,0x00,0xeb,0xd1,0xc1,0x04,0x0e,0x04]
0x05,0x00,0xeb,0xd1,0xc1,0x04,0x0e,0x04

# CHECK: v_mad_u16 v5, 0x3800, v2, v3            ; encoding: [0x05,0x00,0xeb,0xd1,0xff,0x04,0x0e,0x04]
0x05,0x00,0xeb,0xd1,0xf0,0x04,0x0e,0x04

# CHECK: v_mad_u16 v5, 0xc400, v2, v3            ; encoding: [0x05,0x00,0xeb,0xd1,0xff,0x04,0x0e,0x04]
0x05,0x00,0xeb,0xd1,0xf7,0x04,0x0e,0x04

# CHECK: v_mad_u16 v5, v1, v255, v3              ; encoding: [0x05,0x00,0xeb,0xd1,0x01,0xff,0x0f,0x04]
0x05,0x00,0xeb,0xd1,0x01,0xff,0x0f,0x04

# CHECK: v_mad_u16 v5, v1, s2, v3                ; encoding: [0x05,0x00,0xeb,0xd1,0x01,0x05,0x0c,0x04]
0x05,0x00,0xeb,0xd1,0x01,0x05,0x0c,0x04

# CHECK: v_mad_u16 v5, v1, s101, v3              ; encoding: [0x05,0x00,0xeb,0xd1,0x01,0xcb,0x0c,0x04]
0x05,0x00,0xeb,0xd1,0x01,0xcb,0x0c,0x04

# CHECK: v_mad_u16 v5, v1, flat_scratch_lo, v3   ; encoding: [0x05,0x00,0xeb,0xd1,0x01,0xcd,0x0c,0x04]
0x05,0x00,0xeb,0xd1,0x01,0xcd,0x0c,0x04

# CHECK: v_mad_u16 v5, v1, flat_scratch_hi, v3   ; encoding: [0x05,0x00,0xeb,0xd1,0x01,0xcf,0x0c,0x04]
0x05,0x00,0xeb,0xd1,0x01,0xcf,0x0c,0x04

# CHECK: v_mad_u16 v5, v1, vcc_lo, v3            ; encoding: [0x05,0x00,0xeb,0xd1,0x01,0xd5,0x0c,0x04]
0x05,0x00,0xeb,0xd1,0x01,0xd5,0x0c,0x04

# CHECK: v_mad_u16 v5, v1, vcc_hi, v3            ; encoding: [0x05,0x00,0xeb,0xd1,0x01,0xd7,0x0c,0x04]
0x05,0x00,0xeb,0xd1,0x01,0xd7,0x0c,0x04

# CHECK: v_mad_u16 v5, v1, tba_lo, v3            ; encoding: [0x05,0x00,0xeb,0xd1,0x01,0xd9,0x0c,0x04]
0x05,0x00,0xeb,0xd1,0x01,0xd9,0x0c,0x04

# CHECK: v_mad_u16 v5, v1, tba_hi, v3            ; encoding: [0x05,0x00,0xeb,0xd1,0x01,0xdb,0x0c,0x04]
0x05,0x00,0xeb,0xd1,0x01,0xdb,0x0c,0x04

# CHECK: v_mad_u16 v5, v1, tma_lo, v3            ; encoding: [0x05,0x00,0xeb,0xd1,0x01,0xdd,0x0c,0x04]
0x05,0x00,0xeb,0xd1,0x01,0xdd,0x0c,0x04

# CHECK: v_mad_u16 v5, v1, tma_hi, v3            ; encoding: [0x05,0x00,0xeb,0xd1,0x01,0xdf,0x0c,0x04]
0x05,0x00,0xeb,0xd1,0x01,0xdf,0x0c,0x04

# CHECK: v_mad_u16 v5, v1, ttmp11, v3            ; encoding: [0x05,0x00,0xeb,0xd1,0x01,0xf7,0x0c,0x04]
0x05,0x00,0xeb,0xd1,0x01,0xf7,0x0c,0x04

# CHECK: v_mad_u16 v5, v1, m0, v3                ; encoding: [0x05,0x00,0xeb,0xd1,0x01,0xf9,0x0c,0x04]
0x05,0x00,0xeb,0xd1,0x01,0xf9,0x0c,0x04

# CHECK: v_mad_u16 v5, v1, exec_lo, v3           ; encoding: [0x05,0x00,0xeb,0xd1,0x01,0xfd,0x0c,0x04]
0x05,0x00,0xeb,0xd1,0x01,0xfd,0x0c,0x04

# CHECK: v_mad_u16 v5, v1, exec_hi, v3           ; encoding: [0x05,0x00,0xeb,0xd1,0x01,0xff,0x0c,0x04]
0x05,0x00,0xeb,0xd1,0x01,0xff,0x0c,0x04

# CHECK: v_mad_u16 v5, v1, 0, v3                 ; encoding: [0x05,0x00,0xeb,0xd1,0x01,0x01,0x0d,0x04]
0x05,0x00,0xeb,0xd1,0x01,0x01,0x0d,0x04

# CHECK: v_mad_u16 v5, v1, -1, v3                ; encoding: [0x05,0x00,0xeb,0xd1,0x01,0x83,0x0d,0x04]
0x05,0x00,0xeb,0xd1,0x01,0x83,0x0d,0x04

# CHECK: v_mad_u16 v5, v1, 0x3800, v3            ; encoding: [0x05,0x00,0xeb,0xd1,0x01,0xff,0x0d,0x04]
0x05,0x00,0xeb,0xd1,0x01,0xe1,0x0d,0x04

# CHECK: v_mad_u16 v5, v1, 0xc400, v3            ; encoding: [0x05,0x00,0xeb,0xd1,0x01,0xff,0x0d,0x04]
0x05,0x00,0xeb,0xd1,0x01,0xef,0x0d,0x04

# CHECK: v_mad_u16 v5, v1, v2, v255              ; encoding: [0x05,0x00,0xeb,0xd1,0x01,0x05,0xfe,0x07]
0x05,0x00,0xeb,0xd1,0x01,0x05,0xfe,0x07

# CHECK: v_mad_u16 v5, v1, v2, s3                ; encoding: [0x05,0x00,0xeb,0xd1,0x01,0x05,0x0e,0x00]
0x05,0x00,0xeb,0xd1,0x01,0x05,0x0e,0x00

# CHECK: v_mad_u16 v5, v1, v2, s101              ; encoding: [0x05,0x00,0xeb,0xd1,0x01,0x05,0x96,0x01]
0x05,0x00,0xeb,0xd1,0x01,0x05,0x96,0x01

# CHECK: v_mad_u16 v5, v1, v2, flat_scratch_lo   ; encoding: [0x05,0x00,0xeb,0xd1,0x01,0x05,0x9a,0x01]
0x05,0x00,0xeb,0xd1,0x01,0x05,0x9a,0x01

# CHECK: v_mad_u16 v5, v1, v2, flat_scratch_hi   ; encoding: [0x05,0x00,0xeb,0xd1,0x01,0x05,0x9e,0x01]
0x05,0x00,0xeb,0xd1,0x01,0x05,0x9e,0x01

# CHECK: v_mad_u16 v5, v1, v2, vcc_lo            ; encoding: [0x05,0x00,0xeb,0xd1,0x01,0x05,0xaa,0x01]
0x05,0x00,0xeb,0xd1,0x01,0x05,0xaa,0x01

# CHECK: v_mad_u16 v5, v1, v2, vcc_hi            ; encoding: [0x05,0x00,0xeb,0xd1,0x01,0x05,0xae,0x01]
0x05,0x00,0xeb,0xd1,0x01,0x05,0xae,0x01

# CHECK: v_mad_u16 v5, v1, v2, tba_lo            ; encoding: [0x05,0x00,0xeb,0xd1,0x01,0x05,0xb2,0x01]
0x05,0x00,0xeb,0xd1,0x01,0x05,0xb2,0x01

# CHECK: v_mad_u16 v5, v1, v2, tba_hi            ; encoding: [0x05,0x00,0xeb,0xd1,0x01,0x05,0xb6,0x01]
0x05,0x00,0xeb,0xd1,0x01,0x05,0xb6,0x01

# CHECK: v_mad_u16 v5, v1, v2, tma_lo            ; encoding: [0x05,0x00,0xeb,0xd1,0x01,0x05,0xba,0x01]
0x05,0x00,0xeb,0xd1,0x01,0x05,0xba,0x01

# CHECK: v_mad_u16 v5, v1, v2, tma_hi            ; encoding: [0x05,0x00,0xeb,0xd1,0x01,0x05,0xbe,0x01]
0x05,0x00,0xeb,0xd1,0x01,0x05,0xbe,0x01

# CHECK: v_mad_u16 v5, v1, v2, ttmp11            ; encoding: [0x05,0x00,0xeb,0xd1,0x01,0x05,0xee,0x01]
0x05,0x00,0xeb,0xd1,0x01,0x05,0xee,0x01

# CHECK: v_mad_u16 v5, v1, v2, m0                ; encoding: [0x05,0x00,0xeb,0xd1,0x01,0x05,0xf2,0x01]
0x05,0x00,0xeb,0xd1,0x01,0x05,0xf2,0x01

# CHECK: v_mad_u16 v5, v1, v2, exec_lo           ; encoding: [0x05,0x00,0xeb,0xd1,0x01,0x05,0xfa,0x01]
0x05,0x00,0xeb,0xd1,0x01,0x05,0xfa,0x01

# CHECK: v_mad_u16 v5, v1, v2, exec_hi           ; encoding: [0x05,0x00,0xeb,0xd1,0x01,0x05,0xfe,0x01]
0x05,0x00,0xeb,0xd1,0x01,0x05,0xfe,0x01

# CHECK: v_mad_u16 v5, v1, v2, 0                 ; encoding: [0x05,0x00,0xeb,0xd1,0x01,0x05,0x02,0x02]
0x05,0x00,0xeb,0xd1,0x01,0x05,0x02,0x02

# CHECK: v_mad_u16 v5, v1, v2, -1                ; encoding: [0x05,0x00,0xeb,0xd1,0x01,0x05,0x06,0x03]
0x05,0x00,0xeb,0xd1,0x01,0x05,0x06,0x03

# CHECK: v_mad_u16 v5, v1, v2, 0x3800            ; encoding: [0x05,0x00,0xeb,0xd1,0x01,0x05,0xfe,0x03]
0x05,0x00,0xeb,0xd1,0x01,0x05,0xc2,0x03

# CHECK: v_mad_u16 v5, v1, v2, 0xc400            ; encoding: [0x05,0x00,0xeb,0xd1,0x01,0x05,0xfe,0x03]
0x05,0x00,0xeb,0xd1,0x01,0x05,0xde,0x03

# CHECK: v_mad_u16 v5, v1, v2, v3 clamp          ; encoding: [0x05,0x80,0xeb,0xd1,0x01,0x05,0x0e,0x04]
0x05,0x80,0xeb,0xd1,0x01,0x05,0x0e,0x04

# CHECK: v_mad_i16 v5, v1, v2, v3                ; encoding: [0x05,0x00,0xec,0xd1,0x01,0x05,0x0e,0x04]
0x05,0x00,0xec,0xd1,0x01,0x05,0x0e,0x04

# CHECK: v_mad_i16 v255, v1, v2, v3              ; encoding: [0xff,0x00,0xec,0xd1,0x01,0x05,0x0e,0x04]
0xff,0x00,0xec,0xd1,0x01,0x05,0x0e,0x04

# CHECK: v_mad_i16 v5, v255, v2, v3              ; encoding: [0x05,0x00,0xec,0xd1,0xff,0x05,0x0e,0x04]
0x05,0x00,0xec,0xd1,0xff,0x05,0x0e,0x04

# CHECK: v_mad_i16 v5, s1, v2, v3                ; encoding: [0x05,0x00,0xec,0xd1,0x01,0x04,0x0e,0x04]
0x05,0x00,0xec,0xd1,0x01,0x04,0x0e,0x04

# CHECK: v_mad_i16 v5, s101, v2, v3              ; encoding: [0x05,0x00,0xec,0xd1,0x65,0x04,0x0e,0x04]
0x05,0x00,0xec,0xd1,0x65,0x04,0x0e,0x04

# CHECK: v_mad_i16 v5, flat_scratch_lo, v2, v3   ; encoding: [0x05,0x00,0xec,0xd1,0x66,0x04,0x0e,0x04]
0x05,0x00,0xec,0xd1,0x66,0x04,0x0e,0x04

# CHECK: v_mad_i16 v5, flat_scratch_hi, v2, v3   ; encoding: [0x05,0x00,0xec,0xd1,0x67,0x04,0x0e,0x04]
0x05,0x00,0xec,0xd1,0x67,0x04,0x0e,0x04

# CHECK: v_mad_i16 v5, vcc_lo, v2, v3            ; encoding: [0x05,0x00,0xec,0xd1,0x6a,0x04,0x0e,0x04]
0x05,0x00,0xec,0xd1,0x6a,0x04,0x0e,0x04

# CHECK: v_mad_i16 v5, vcc_hi, v2, v3            ; encoding: [0x05,0x00,0xec,0xd1,0x6b,0x04,0x0e,0x04]
0x05,0x00,0xec,0xd1,0x6b,0x04,0x0e,0x04

# CHECK: v_mad_i16 v5, tba_lo, v2, v3            ; encoding: [0x05,0x00,0xec,0xd1,0x6c,0x04,0x0e,0x04]
0x05,0x00,0xec,0xd1,0x6c,0x04,0x0e,0x04

# CHECK: v_mad_i16 v5, tba_hi, v2, v3            ; encoding: [0x05,0x00,0xec,0xd1,0x6d,0x04,0x0e,0x04]
0x05,0x00,0xec,0xd1,0x6d,0x04,0x0e,0x04

# CHECK: v_mad_i16 v5, tma_lo, v2, v3            ; encoding: [0x05,0x00,0xec,0xd1,0x6e,0x04,0x0e,0x04]
0x05,0x00,0xec,0xd1,0x6e,0x04,0x0e,0x04

# CHECK: v_mad_i16 v5, tma_hi, v2, v3            ; encoding: [0x05,0x00,0xec,0xd1,0x6f,0x04,0x0e,0x04]
0x05,0x00,0xec,0xd1,0x6f,0x04,0x0e,0x04

# CHECK: v_mad_i16 v5, ttmp11, v2, v3            ; encoding: [0x05,0x00,0xec,0xd1,0x7b,0x04,0x0e,0x04]
0x05,0x00,0xec,0xd1,0x7b,0x04,0x0e,0x04

# CHECK: v_mad_i16 v5, m0, v2, v3                ; encoding: [0x05,0x00,0xec,0xd1,0x7c,0x04,0x0e,0x04]
0x05,0x00,0xec,0xd1,0x7c,0x04,0x0e,0x04

# CHECK: v_mad_i16 v5, exec_lo, v2, v3           ; encoding: [0x05,0x00,0xec,0xd1,0x7e,0x04,0x0e,0x04]
0x05,0x00,0xec,0xd1,0x7e,0x04,0x0e,0x04

# CHECK: v_mad_i16 v5, exec_hi, v2, v3           ; encoding: [0x05,0x00,0xec,0xd1,0x7f,0x04,0x0e,0x04]
0x05,0x00,0xec,0xd1,0x7f,0x04,0x0e,0x04

# CHECK: v_mad_i16 v5, 0, v2, v3                 ; encoding: [0x05,0x00,0xec,0xd1,0x80,0x04,0x0e,0x04]
0x05,0x00,0xec,0xd1,0x80,0x04,0x0e,0x04

# CHECK: v_mad_i16 v5, -1, v2, v3                ; encoding: [0x05,0x00,0xec,0xd1,0xc1,0x04,0x0e,0x04]
0x05,0x00,0xec,0xd1,0xc1,0x04,0x0e,0x04

# CHECK: v_mad_i16 v5, 0x3800, v2, v3            ; encoding: [0x05,0x00,0xec,0xd1,0xff,0x04,0x0e,0x04]
0x05,0x00,0xec,0xd1,0xf0,0x04,0x0e,0x04

# CHECK: v_mad_i16 v5, 0xc400, v2, v3            ; encoding: [0x05,0x00,0xec,0xd1,0xff,0x04,0x0e,0x04]
0x05,0x00,0xec,0xd1,0xf7,0x04,0x0e,0x04

# CHECK: v_mad_i16 v5, v1, v255, v3              ; encoding: [0x05,0x00,0xec,0xd1,0x01,0xff,0x0f,0x04]
0x05,0x00,0xec,0xd1,0x01,0xff,0x0f,0x04

# CHECK: v_mad_i16 v5, v1, s2, v3                ; encoding: [0x05,0x00,0xec,0xd1,0x01,0x05,0x0c,0x04]
0x05,0x00,0xec,0xd1,0x01,0x05,0x0c,0x04

# CHECK: v_mad_i16 v5, v1, s101, v3              ; encoding: [0x05,0x00,0xec,0xd1,0x01,0xcb,0x0c,0x04]
0x05,0x00,0xec,0xd1,0x01,0xcb,0x0c,0x04

# CHECK: v_mad_i16 v5, v1, flat_scratch_lo, v3   ; encoding: [0x05,0x00,0xec,0xd1,0x01,0xcd,0x0c,0x04]
0x05,0x00,0xec,0xd1,0x01,0xcd,0x0c,0x04

# CHECK: v_mad_i16 v5, v1, flat_scratch_hi, v3   ; encoding: [0x05,0x00,0xec,0xd1,0x01,0xcf,0x0c,0x04]
0x05,0x00,0xec,0xd1,0x01,0xcf,0x0c,0x04

# CHECK: v_mad_i16 v5, v1, vcc_lo, v3            ; encoding: [0x05,0x00,0xec,0xd1,0x01,0xd5,0x0c,0x04]
0x05,0x00,0xec,0xd1,0x01,0xd5,0x0c,0x04

# CHECK: v_mad_i16 v5, v1, vcc_hi, v3            ; encoding: [0x05,0x00,0xec,0xd1,0x01,0xd7,0x0c,0x04]
0x05,0x00,0xec,0xd1,0x01,0xd7,0x0c,0x04

# CHECK: v_mad_i16 v5, v1, tba_lo, v3            ; encoding: [0x05,0x00,0xec,0xd1,0x01,0xd9,0x0c,0x04]
0x05,0x00,0xec,0xd1,0x01,0xd9,0x0c,0x04

# CHECK: v_mad_i16 v5, v1, tba_hi, v3            ; encoding: [0x05,0x00,0xec,0xd1,0x01,0xdb,0x0c,0x04]
0x05,0x00,0xec,0xd1,0x01,0xdb,0x0c,0x04

# CHECK: v_mad_i16 v5, v1, tma_lo, v3            ; encoding: [0x05,0x00,0xec,0xd1,0x01,0xdd,0x0c,0x04]
0x05,0x00,0xec,0xd1,0x01,0xdd,0x0c,0x04

# CHECK: v_mad_i16 v5, v1, tma_hi, v3            ; encoding: [0x05,0x00,0xec,0xd1,0x01,0xdf,0x0c,0x04]
0x05,0x00,0xec,0xd1,0x01,0xdf,0x0c,0x04

# CHECK: v_mad_i16 v5, v1, ttmp11, v3            ; encoding: [0x05,0x00,0xec,0xd1,0x01,0xf7,0x0c,0x04]
0x05,0x00,0xec,0xd1,0x01,0xf7,0x0c,0x04

# CHECK: v_mad_i16 v5, v1, m0, v3                ; encoding: [0x05,0x00,0xec,0xd1,0x01,0xf9,0x0c,0x04]
0x05,0x00,0xec,0xd1,0x01,0xf9,0x0c,0x04

# CHECK: v_mad_i16 v5, v1, exec_lo, v3           ; encoding: [0x05,0x00,0xec,0xd1,0x01,0xfd,0x0c,0x04]
0x05,0x00,0xec,0xd1,0x01,0xfd,0x0c,0x04

# CHECK: v_mad_i16 v5, v1, exec_hi, v3           ; encoding: [0x05,0x00,0xec,0xd1,0x01,0xff,0x0c,0x04]
0x05,0x00,0xec,0xd1,0x01,0xff,0x0c,0x04

# CHECK: v_mad_i16 v5, v1, 0, v3                 ; encoding: [0x05,0x00,0xec,0xd1,0x01,0x01,0x0d,0x04]
0x05,0x00,0xec,0xd1,0x01,0x01,0x0d,0x04

# CHECK: v_mad_i16 v5, v1, -1, v3                ; encoding: [0x05,0x00,0xec,0xd1,0x01,0x83,0x0d,0x04]
0x05,0x00,0xec,0xd1,0x01,0x83,0x0d,0x04

# CHECK: v_mad_i16 v5, v1, 0x3800, v3            ; encoding: [0x05,0x00,0xec,0xd1,0x01,0xff,0x0d,0x04]
0x05,0x00,0xec,0xd1,0x01,0xe1,0x0d,0x04

# CHECK: v_mad_i16 v5, v1, 0xc400, v3            ; encoding: [0x05,0x00,0xec,0xd1,0x01,0xff,0x0d,0x04]
0x05,0x00,0xec,0xd1,0x01,0xef,0x0d,0x04

# CHECK: v_mad_i16 v5, v1, v2, v255              ; encoding: [0x05,0x00,0xec,0xd1,0x01,0x05,0xfe,0x07]
0x05,0x00,0xec,0xd1,0x01,0x05,0xfe,0x07

# CHECK: v_mad_i16 v5, v1, v2, s3                ; encoding: [0x05,0x00,0xec,0xd1,0x01,0x05,0x0e,0x00]
0x05,0x00,0xec,0xd1,0x01,0x05,0x0e,0x00

# CHECK: v_mad_i16 v5, v1, v2, s101              ; encoding: [0x05,0x00,0xec,0xd1,0x01,0x05,0x96,0x01]
0x05,0x00,0xec,0xd1,0x01,0x05,0x96,0x01

# CHECK: v_mad_i16 v5, v1, v2, flat_scratch_lo   ; encoding: [0x05,0x00,0xec,0xd1,0x01,0x05,0x9a,0x01]
0x05,0x00,0xec,0xd1,0x01,0x05,0x9a,0x01

# CHECK: v_mad_i16 v5, v1, v2, flat_scratch_hi   ; encoding: [0x05,0x00,0xec,0xd1,0x01,0x05,0x9e,0x01]
0x05,0x00,0xec,0xd1,0x01,0x05,0x9e,0x01

# CHECK: v_mad_i16 v5, v1, v2, vcc_lo            ; encoding: [0x05,0x00,0xec,0xd1,0x01,0x05,0xaa,0x01]
0x05,0x00,0xec,0xd1,0x01,0x05,0xaa,0x01

# CHECK: v_mad_i16 v5, v1, v2, vcc_hi            ; encoding: [0x05,0x00,0xec,0xd1,0x01,0x05,0xae,0x01]
0x05,0x00,0xec,0xd1,0x01,0x05,0xae,0x01

# CHECK: v_mad_i16 v5, v1, v2, tba_lo            ; encoding: [0x05,0x00,0xec,0xd1,0x01,0x05,0xb2,0x01]
0x05,0x00,0xec,0xd1,0x01,0x05,0xb2,0x01

# CHECK: v_mad_i16 v5, v1, v2, tba_hi            ; encoding: [0x05,0x00,0xec,0xd1,0x01,0x05,0xb6,0x01]
0x05,0x00,0xec,0xd1,0x01,0x05,0xb6,0x01

# CHECK: v_mad_i16 v5, v1, v2, tma_lo            ; encoding: [0x05,0x00,0xec,0xd1,0x01,0x05,0xba,0x01]
0x05,0x00,0xec,0xd1,0x01,0x05,0xba,0x01

# CHECK: v_mad_i16 v5, v1, v2, tma_hi            ; encoding: [0x05,0x00,0xec,0xd1,0x01,0x05,0xbe,0x01]
0x05,0x00,0xec,0xd1,0x01,0x05,0xbe,0x01

# CHECK: v_mad_i16 v5, v1, v2, ttmp11            ; encoding: [0x05,0x00,0xec,0xd1,0x01,0x05,0xee,0x01]
0x05,0x00,0xec,0xd1,0x01,0x05,0xee,0x01

# CHECK: v_mad_i16 v5, v1, v2, m0                ; encoding: [0x05,0x00,0xec,0xd1,0x01,0x05,0xf2,0x01]
0x05,0x00,0xec,0xd1,0x01,0x05,0xf2,0x01

# CHECK: v_mad_i16 v5, v1, v2, exec_lo           ; encoding: [0x05,0x00,0xec,0xd1,0x01,0x05,0xfa,0x01]
0x05,0x00,0xec,0xd1,0x01,0x05,0xfa,0x01

# CHECK: v_mad_i16 v5, v1, v2, exec_hi           ; encoding: [0x05,0x00,0xec,0xd1,0x01,0x05,0xfe,0x01]
0x05,0x00,0xec,0xd1,0x01,0x05,0xfe,0x01

# CHECK: v_mad_i16 v5, v1, v2, 0                 ; encoding: [0x05,0x00,0xec,0xd1,0x01,0x05,0x02,0x02]
0x05,0x00,0xec,0xd1,0x01,0x05,0x02,0x02

# CHECK: v_mad_i16 v5, v1, v2, -1                ; encoding: [0x05,0x00,0xec,0xd1,0x01,0x05,0x06,0x03]
0x05,0x00,0xec,0xd1,0x01,0x05,0x06,0x03

# CHECK: v_mad_i16 v5, v1, v2, 0x3800            ; encoding: [0x05,0x00,0xec,0xd1,0x01,0x05,0xfe,0x03]
0x05,0x00,0xec,0xd1,0x01,0x05,0xc2,0x03

# CHECK: v_mad_i16 v5, v1, v2, 0xc400            ; encoding: [0x05,0x00,0xec,0xd1,0x01,0x05,0xfe,0x03]
0x05,0x00,0xec,0xd1,0x01,0x05,0xde,0x03

# CHECK: v_mad_i16 v5, v1, v2, v3 clamp          ; encoding: [0x05,0x80,0xec,0xd1,0x01,0x05,0x0e,0x04]
0x05,0x80,0xec,0xd1,0x01,0x05,0x0e,0x04

# CHECK: v_perm_b32 v5, v1, v2, v3               ; encoding: [0x05,0x00,0xed,0xd1,0x01,0x05,0x0e,0x04]
0x05,0x00,0xed,0xd1,0x01,0x05,0x0e,0x04

# CHECK: v_perm_b32 v255, v1, v2, v3             ; encoding: [0xff,0x00,0xed,0xd1,0x01,0x05,0x0e,0x04]
0xff,0x00,0xed,0xd1,0x01,0x05,0x0e,0x04

# CHECK: v_perm_b32 v5, v255, v2, v3             ; encoding: [0x05,0x00,0xed,0xd1,0xff,0x05,0x0e,0x04]
0x05,0x00,0xed,0xd1,0xff,0x05,0x0e,0x04

# CHECK: v_perm_b32 v5, s1, v2, v3               ; encoding: [0x05,0x00,0xed,0xd1,0x01,0x04,0x0e,0x04]
0x05,0x00,0xed,0xd1,0x01,0x04,0x0e,0x04

# CHECK: v_perm_b32 v5, s101, v2, v3             ; encoding: [0x05,0x00,0xed,0xd1,0x65,0x04,0x0e,0x04]
0x05,0x00,0xed,0xd1,0x65,0x04,0x0e,0x04

# CHECK: v_perm_b32 v5, flat_scratch_lo, v2, v3  ; encoding: [0x05,0x00,0xed,0xd1,0x66,0x04,0x0e,0x04]
0x05,0x00,0xed,0xd1,0x66,0x04,0x0e,0x04

# CHECK: v_perm_b32 v5, flat_scratch_hi, v2, v3  ; encoding: [0x05,0x00,0xed,0xd1,0x67,0x04,0x0e,0x04]
0x05,0x00,0xed,0xd1,0x67,0x04,0x0e,0x04

# CHECK: v_perm_b32 v5, vcc_lo, v2, v3           ; encoding: [0x05,0x00,0xed,0xd1,0x6a,0x04,0x0e,0x04]
0x05,0x00,0xed,0xd1,0x6a,0x04,0x0e,0x04

# CHECK: v_perm_b32 v5, vcc_hi, v2, v3           ; encoding: [0x05,0x00,0xed,0xd1,0x6b,0x04,0x0e,0x04]
0x05,0x00,0xed,0xd1,0x6b,0x04,0x0e,0x04

# CHECK: v_perm_b32 v5, tba_lo, v2, v3           ; encoding: [0x05,0x00,0xed,0xd1,0x6c,0x04,0x0e,0x04]
0x05,0x00,0xed,0xd1,0x6c,0x04,0x0e,0x04

# CHECK: v_perm_b32 v5, tba_hi, v2, v3           ; encoding: [0x05,0x00,0xed,0xd1,0x6d,0x04,0x0e,0x04]
0x05,0x00,0xed,0xd1,0x6d,0x04,0x0e,0x04

# CHECK: v_perm_b32 v5, tma_lo, v2, v3           ; encoding: [0x05,0x00,0xed,0xd1,0x6e,0x04,0x0e,0x04]
0x05,0x00,0xed,0xd1,0x6e,0x04,0x0e,0x04

# CHECK: v_perm_b32 v5, tma_hi, v2, v3           ; encoding: [0x05,0x00,0xed,0xd1,0x6f,0x04,0x0e,0x04]
0x05,0x00,0xed,0xd1,0x6f,0x04,0x0e,0x04

# CHECK: v_perm_b32 v5, ttmp11, v2, v3           ; encoding: [0x05,0x00,0xed,0xd1,0x7b,0x04,0x0e,0x04]
0x05,0x00,0xed,0xd1,0x7b,0x04,0x0e,0x04

# CHECK: v_perm_b32 v5, m0, v2, v3               ; encoding: [0x05,0x00,0xed,0xd1,0x7c,0x04,0x0e,0x04]
0x05,0x00,0xed,0xd1,0x7c,0x04,0x0e,0x04

# CHECK: v_perm_b32 v5, exec_lo, v2, v3          ; encoding: [0x05,0x00,0xed,0xd1,0x7e,0x04,0x0e,0x04]
0x05,0x00,0xed,0xd1,0x7e,0x04,0x0e,0x04

# CHECK: v_perm_b32 v5, exec_hi, v2, v3          ; encoding: [0x05,0x00,0xed,0xd1,0x7f,0x04,0x0e,0x04]
0x05,0x00,0xed,0xd1,0x7f,0x04,0x0e,0x04

# CHECK: v_perm_b32 v5, 0, v2, v3                ; encoding: [0x05,0x00,0xed,0xd1,0x80,0x04,0x0e,0x04]
0x05,0x00,0xed,0xd1,0x80,0x04,0x0e,0x04

# CHECK: v_perm_b32 v5, -1, v2, v3               ; encoding: [0x05,0x00,0xed,0xd1,0xc1,0x04,0x0e,0x04]
0x05,0x00,0xed,0xd1,0xc1,0x04,0x0e,0x04

# CHECK: v_perm_b32 v5, 0.5, v2, v3              ; encoding: [0x05,0x00,0xed,0xd1,0xf0,0x04,0x0e,0x04]
0x05,0x00,0xed,0xd1,0xf0,0x04,0x0e,0x04

# CHECK: v_perm_b32 v5, -4.0, v2, v3             ; encoding: [0x05,0x00,0xed,0xd1,0xf7,0x04,0x0e,0x04]
0x05,0x00,0xed,0xd1,0xf7,0x04,0x0e,0x04

# CHECK: v_perm_b32 v5, v1, v255, v3             ; encoding: [0x05,0x00,0xed,0xd1,0x01,0xff,0x0f,0x04]
0x05,0x00,0xed,0xd1,0x01,0xff,0x0f,0x04

# CHECK: v_perm_b32 v5, v1, s2, v3               ; encoding: [0x05,0x00,0xed,0xd1,0x01,0x05,0x0c,0x04]
0x05,0x00,0xed,0xd1,0x01,0x05,0x0c,0x04

# CHECK: v_perm_b32 v5, v1, s101, v3             ; encoding: [0x05,0x00,0xed,0xd1,0x01,0xcb,0x0c,0x04]
0x05,0x00,0xed,0xd1,0x01,0xcb,0x0c,0x04

# CHECK: v_perm_b32 v5, v1, flat_scratch_lo, v3  ; encoding: [0x05,0x00,0xed,0xd1,0x01,0xcd,0x0c,0x04]
0x05,0x00,0xed,0xd1,0x01,0xcd,0x0c,0x04

# CHECK: v_perm_b32 v5, v1, flat_scratch_hi, v3  ; encoding: [0x05,0x00,0xed,0xd1,0x01,0xcf,0x0c,0x04]
0x05,0x00,0xed,0xd1,0x01,0xcf,0x0c,0x04

# CHECK: v_perm_b32 v5, v1, vcc_lo, v3           ; encoding: [0x05,0x00,0xed,0xd1,0x01,0xd5,0x0c,0x04]
0x05,0x00,0xed,0xd1,0x01,0xd5,0x0c,0x04

# CHECK: v_perm_b32 v5, v1, vcc_hi, v3           ; encoding: [0x05,0x00,0xed,0xd1,0x01,0xd7,0x0c,0x04]
0x05,0x00,0xed,0xd1,0x01,0xd7,0x0c,0x04

# CHECK: v_perm_b32 v5, v1, tba_lo, v3           ; encoding: [0x05,0x00,0xed,0xd1,0x01,0xd9,0x0c,0x04]
0x05,0x00,0xed,0xd1,0x01,0xd9,0x0c,0x04

# CHECK: v_perm_b32 v5, v1, tba_hi, v3           ; encoding: [0x05,0x00,0xed,0xd1,0x01,0xdb,0x0c,0x04]
0x05,0x00,0xed,0xd1,0x01,0xdb,0x0c,0x04

# CHECK: v_perm_b32 v5, v1, tma_lo, v3           ; encoding: [0x05,0x00,0xed,0xd1,0x01,0xdd,0x0c,0x04]
0x05,0x00,0xed,0xd1,0x01,0xdd,0x0c,0x04

# CHECK: v_perm_b32 v5, v1, tma_hi, v3           ; encoding: [0x05,0x00,0xed,0xd1,0x01,0xdf,0x0c,0x04]
0x05,0x00,0xed,0xd1,0x01,0xdf,0x0c,0x04

# CHECK: v_perm_b32 v5, v1, ttmp11, v3           ; encoding: [0x05,0x00,0xed,0xd1,0x01,0xf7,0x0c,0x04]
0x05,0x00,0xed,0xd1,0x01,0xf7,0x0c,0x04

# CHECK: v_perm_b32 v5, v1, m0, v3               ; encoding: [0x05,0x00,0xed,0xd1,0x01,0xf9,0x0c,0x04]
0x05,0x00,0xed,0xd1,0x01,0xf9,0x0c,0x04

# CHECK: v_perm_b32 v5, v1, exec_lo, v3          ; encoding: [0x05,0x00,0xed,0xd1,0x01,0xfd,0x0c,0x04]
0x05,0x00,0xed,0xd1,0x01,0xfd,0x0c,0x04

# CHECK: v_perm_b32 v5, v1, exec_hi, v3          ; encoding: [0x05,0x00,0xed,0xd1,0x01,0xff,0x0c,0x04]
0x05,0x00,0xed,0xd1,0x01,0xff,0x0c,0x04

# CHECK: v_perm_b32 v5, v1, 0, v3                ; encoding: [0x05,0x00,0xed,0xd1,0x01,0x01,0x0d,0x04]
0x05,0x00,0xed,0xd1,0x01,0x01,0x0d,0x04

# CHECK: v_perm_b32 v5, v1, -1, v3               ; encoding: [0x05,0x00,0xed,0xd1,0x01,0x83,0x0d,0x04]
0x05,0x00,0xed,0xd1,0x01,0x83,0x0d,0x04

# CHECK: v_perm_b32 v5, v1, 0.5, v3              ; encoding: [0x05,0x00,0xed,0xd1,0x01,0xe1,0x0d,0x04]
0x05,0x00,0xed,0xd1,0x01,0xe1,0x0d,0x04

# CHECK: v_perm_b32 v5, v1, -4.0, v3             ; encoding: [0x05,0x00,0xed,0xd1,0x01,0xef,0x0d,0x04]
0x05,0x00,0xed,0xd1,0x01,0xef,0x0d,0x04

# CHECK: v_perm_b32 v5, v1, v2, v255             ; encoding: [0x05,0x00,0xed,0xd1,0x01,0x05,0xfe,0x07]
0x05,0x00,0xed,0xd1,0x01,0x05,0xfe,0x07

# CHECK: v_perm_b32 v5, v1, v2, s3               ; encoding: [0x05,0x00,0xed,0xd1,0x01,0x05,0x0e,0x00]
0x05,0x00,0xed,0xd1,0x01,0x05,0x0e,0x00

# CHECK: v_perm_b32 v5, v1, v2, s101             ; encoding: [0x05,0x00,0xed,0xd1,0x01,0x05,0x96,0x01]
0x05,0x00,0xed,0xd1,0x01,0x05,0x96,0x01

# CHECK: v_perm_b32 v5, v1, v2, flat_scratch_lo  ; encoding: [0x05,0x00,0xed,0xd1,0x01,0x05,0x9a,0x01]
0x05,0x00,0xed,0xd1,0x01,0x05,0x9a,0x01

# CHECK: v_perm_b32 v5, v1, v2, flat_scratch_hi  ; encoding: [0x05,0x00,0xed,0xd1,0x01,0x05,0x9e,0x01]
0x05,0x00,0xed,0xd1,0x01,0x05,0x9e,0x01

# CHECK: v_perm_b32 v5, v1, v2, vcc_lo           ; encoding: [0x05,0x00,0xed,0xd1,0x01,0x05,0xaa,0x01]
0x05,0x00,0xed,0xd1,0x01,0x05,0xaa,0x01

# CHECK: v_perm_b32 v5, v1, v2, vcc_hi           ; encoding: [0x05,0x00,0xed,0xd1,0x01,0x05,0xae,0x01]
0x05,0x00,0xed,0xd1,0x01,0x05,0xae,0x01

# CHECK: v_perm_b32 v5, v1, v2, tba_lo           ; encoding: [0x05,0x00,0xed,0xd1,0x01,0x05,0xb2,0x01]
0x05,0x00,0xed,0xd1,0x01,0x05,0xb2,0x01

# CHECK: v_perm_b32 v5, v1, v2, tba_hi           ; encoding: [0x05,0x00,0xed,0xd1,0x01,0x05,0xb6,0x01]
0x05,0x00,0xed,0xd1,0x01,0x05,0xb6,0x01

# CHECK: v_perm_b32 v5, v1, v2, tma_lo           ; encoding: [0x05,0x00,0xed,0xd1,0x01,0x05,0xba,0x01]
0x05,0x00,0xed,0xd1,0x01,0x05,0xba,0x01

# CHECK: v_perm_b32 v5, v1, v2, tma_hi           ; encoding: [0x05,0x00,0xed,0xd1,0x01,0x05,0xbe,0x01]
0x05,0x00,0xed,0xd1,0x01,0x05,0xbe,0x01

# CHECK: v_perm_b32 v5, v1, v2, ttmp11           ; encoding: [0x05,0x00,0xed,0xd1,0x01,0x05,0xee,0x01]
0x05,0x00,0xed,0xd1,0x01,0x05,0xee,0x01

# CHECK: v_perm_b32 v5, v1, v2, m0               ; encoding: [0x05,0x00,0xed,0xd1,0x01,0x05,0xf2,0x01]
0x05,0x00,0xed,0xd1,0x01,0x05,0xf2,0x01

# CHECK: v_perm_b32 v5, v1, v2, exec_lo          ; encoding: [0x05,0x00,0xed,0xd1,0x01,0x05,0xfa,0x01]
0x05,0x00,0xed,0xd1,0x01,0x05,0xfa,0x01

# CHECK: v_perm_b32 v5, v1, v2, exec_hi          ; encoding: [0x05,0x00,0xed,0xd1,0x01,0x05,0xfe,0x01]
0x05,0x00,0xed,0xd1,0x01,0x05,0xfe,0x01

# CHECK: v_perm_b32 v5, v1, v2, 0                ; encoding: [0x05,0x00,0xed,0xd1,0x01,0x05,0x02,0x02]
0x05,0x00,0xed,0xd1,0x01,0x05,0x02,0x02

# CHECK: v_perm_b32 v5, v1, v2, -1               ; encoding: [0x05,0x00,0xed,0xd1,0x01,0x05,0x06,0x03]
0x05,0x00,0xed,0xd1,0x01,0x05,0x06,0x03

# CHECK: v_perm_b32 v5, v1, v2, 0.5              ; encoding: [0x05,0x00,0xed,0xd1,0x01,0x05,0xc2,0x03]
0x05,0x00,0xed,0xd1,0x01,0x05,0xc2,0x03

# CHECK: v_perm_b32 v5, v1, v2, -4.0             ; encoding: [0x05,0x00,0xed,0xd1,0x01,0x05,0xde,0x03]
0x05,0x00,0xed,0xd1,0x01,0x05,0xde,0x03

# CHECK: v_fma_f16 v5, v1, v2, v3                ; encoding: [0x05,0x00,0xee,0xd1,0x01,0x05,0x0e,0x04]
0x05,0x00,0xee,0xd1,0x01,0x05,0x0e,0x04

# CHECK: v_fma_f16 v255, v1, v2, v3              ; encoding: [0xff,0x00,0xee,0xd1,0x01,0x05,0x0e,0x04]
0xff,0x00,0xee,0xd1,0x01,0x05,0x0e,0x04

# CHECK: v_fma_f16 v5, v255, v2, v3              ; encoding: [0x05,0x00,0xee,0xd1,0xff,0x05,0x0e,0x04]
0x05,0x00,0xee,0xd1,0xff,0x05,0x0e,0x04

# CHECK: v_fma_f16 v5, s1, v2, v3                ; encoding: [0x05,0x00,0xee,0xd1,0x01,0x04,0x0e,0x04]
0x05,0x00,0xee,0xd1,0x01,0x04,0x0e,0x04

# CHECK: v_fma_f16 v5, s101, v2, v3              ; encoding: [0x05,0x00,0xee,0xd1,0x65,0x04,0x0e,0x04]
0x05,0x00,0xee,0xd1,0x65,0x04,0x0e,0x04

# CHECK: v_fma_f16 v5, flat_scratch_lo, v2, v3   ; encoding: [0x05,0x00,0xee,0xd1,0x66,0x04,0x0e,0x04]
0x05,0x00,0xee,0xd1,0x66,0x04,0x0e,0x04

# CHECK: v_fma_f16 v5, flat_scratch_hi, v2, v3   ; encoding: [0x05,0x00,0xee,0xd1,0x67,0x04,0x0e,0x04]
0x05,0x00,0xee,0xd1,0x67,0x04,0x0e,0x04

# CHECK: v_fma_f16 v5, vcc_lo, v2, v3            ; encoding: [0x05,0x00,0xee,0xd1,0x6a,0x04,0x0e,0x04]
0x05,0x00,0xee,0xd1,0x6a,0x04,0x0e,0x04

# CHECK: v_fma_f16 v5, vcc_hi, v2, v3            ; encoding: [0x05,0x00,0xee,0xd1,0x6b,0x04,0x0e,0x04]
0x05,0x00,0xee,0xd1,0x6b,0x04,0x0e,0x04

# CHECK: v_fma_f16 v5, tba_lo, v2, v3            ; encoding: [0x05,0x00,0xee,0xd1,0x6c,0x04,0x0e,0x04]
0x05,0x00,0xee,0xd1,0x6c,0x04,0x0e,0x04

# CHECK: v_fma_f16 v5, tba_hi, v2, v3            ; encoding: [0x05,0x00,0xee,0xd1,0x6d,0x04,0x0e,0x04]
0x05,0x00,0xee,0xd1,0x6d,0x04,0x0e,0x04

# CHECK: v_fma_f16 v5, tma_lo, v2, v3            ; encoding: [0x05,0x00,0xee,0xd1,0x6e,0x04,0x0e,0x04]
0x05,0x00,0xee,0xd1,0x6e,0x04,0x0e,0x04

# CHECK: v_fma_f16 v5, tma_hi, v2, v3            ; encoding: [0x05,0x00,0xee,0xd1,0x6f,0x04,0x0e,0x04]
0x05,0x00,0xee,0xd1,0x6f,0x04,0x0e,0x04

# CHECK: v_fma_f16 v5, ttmp11, v2, v3            ; encoding: [0x05,0x00,0xee,0xd1,0x7b,0x04,0x0e,0x04]
0x05,0x00,0xee,0xd1,0x7b,0x04,0x0e,0x04

# CHECK: v_fma_f16 v5, m0, v2, v3                ; encoding: [0x05,0x00,0xee,0xd1,0x7c,0x04,0x0e,0x04]
0x05,0x00,0xee,0xd1,0x7c,0x04,0x0e,0x04

# CHECK: v_fma_f16 v5, exec_lo, v2, v3           ; encoding: [0x05,0x00,0xee,0xd1,0x7e,0x04,0x0e,0x04]
0x05,0x00,0xee,0xd1,0x7e,0x04,0x0e,0x04

# CHECK: v_fma_f16 v5, exec_hi, v2, v3           ; encoding: [0x05,0x00,0xee,0xd1,0x7f,0x04,0x0e,0x04]
0x05,0x00,0xee,0xd1,0x7f,0x04,0x0e,0x04

# CHECK: v_fma_f16 v5, 0, v2, v3                 ; encoding: [0x05,0x00,0xee,0xd1,0x80,0x04,0x0e,0x04]
0x05,0x00,0xee,0xd1,0x80,0x04,0x0e,0x04

# CHECK: v_fma_f16 v5, -1, v2, v3                ; encoding: [0x05,0x00,0xee,0xd1,0xc1,0x04,0x0e,0x04]
0x05,0x00,0xee,0xd1,0xc1,0x04,0x0e,0x04

# CHECK: v_fma_f16 v5, 0.5, v2, v3               ; encoding: [0x05,0x00,0xee,0xd1,0xf0,0x04,0x0e,0x04]
0x05,0x00,0xee,0xd1,0xf0,0x04,0x0e,0x04

# CHECK: v_fma_f16 v5, -4.0, v2, v3              ; encoding: [0x05,0x00,0xee,0xd1,0xf7,0x04,0x0e,0x04]
0x05,0x00,0xee,0xd1,0xf7,0x04,0x0e,0x04

# CHECK: v_fma_f16 v5, v1, v255, v3              ; encoding: [0x05,0x00,0xee,0xd1,0x01,0xff,0x0f,0x04]
0x05,0x00,0xee,0xd1,0x01,0xff,0x0f,0x04

# CHECK: v_fma_f16 v5, v1, s2, v3                ; encoding: [0x05,0x00,0xee,0xd1,0x01,0x05,0x0c,0x04]
0x05,0x00,0xee,0xd1,0x01,0x05,0x0c,0x04

# CHECK: v_fma_f16 v5, v1, s101, v3              ; encoding: [0x05,0x00,0xee,0xd1,0x01,0xcb,0x0c,0x04]
0x05,0x00,0xee,0xd1,0x01,0xcb,0x0c,0x04

# CHECK: v_fma_f16 v5, v1, flat_scratch_lo, v3   ; encoding: [0x05,0x00,0xee,0xd1,0x01,0xcd,0x0c,0x04]
0x05,0x00,0xee,0xd1,0x01,0xcd,0x0c,0x04

# CHECK: v_fma_f16 v5, v1, flat_scratch_hi, v3   ; encoding: [0x05,0x00,0xee,0xd1,0x01,0xcf,0x0c,0x04]
0x05,0x00,0xee,0xd1,0x01,0xcf,0x0c,0x04

# CHECK: v_fma_f16 v5, v1, vcc_lo, v3            ; encoding: [0x05,0x00,0xee,0xd1,0x01,0xd5,0x0c,0x04]
0x05,0x00,0xee,0xd1,0x01,0xd5,0x0c,0x04

# CHECK: v_fma_f16 v5, v1, vcc_hi, v3            ; encoding: [0x05,0x00,0xee,0xd1,0x01,0xd7,0x0c,0x04]
0x05,0x00,0xee,0xd1,0x01,0xd7,0x0c,0x04

# CHECK: v_fma_f16 v5, v1, tba_lo, v3            ; encoding: [0x05,0x00,0xee,0xd1,0x01,0xd9,0x0c,0x04]
0x05,0x00,0xee,0xd1,0x01,0xd9,0x0c,0x04

# CHECK: v_fma_f16 v5, v1, tba_hi, v3            ; encoding: [0x05,0x00,0xee,0xd1,0x01,0xdb,0x0c,0x04]
0x05,0x00,0xee,0xd1,0x01,0xdb,0x0c,0x04

# CHECK: v_fma_f16 v5, v1, tma_lo, v3            ; encoding: [0x05,0x00,0xee,0xd1,0x01,0xdd,0x0c,0x04]
0x05,0x00,0xee,0xd1,0x01,0xdd,0x0c,0x04

# CHECK: v_fma_f16 v5, v1, tma_hi, v3            ; encoding: [0x05,0x00,0xee,0xd1,0x01,0xdf,0x0c,0x04]
0x05,0x00,0xee,0xd1,0x01,0xdf,0x0c,0x04

# CHECK: v_fma_f16 v5, v1, ttmp11, v3            ; encoding: [0x05,0x00,0xee,0xd1,0x01,0xf7,0x0c,0x04]
0x05,0x00,0xee,0xd1,0x01,0xf7,0x0c,0x04

# CHECK: v_fma_f16 v5, v1, m0, v3                ; encoding: [0x05,0x00,0xee,0xd1,0x01,0xf9,0x0c,0x04]
0x05,0x00,0xee,0xd1,0x01,0xf9,0x0c,0x04

# CHECK: v_fma_f16 v5, v1, exec_lo, v3           ; encoding: [0x05,0x00,0xee,0xd1,0x01,0xfd,0x0c,0x04]
0x05,0x00,0xee,0xd1,0x01,0xfd,0x0c,0x04

# CHECK: v_fma_f16 v5, v1, exec_hi, v3           ; encoding: [0x05,0x00,0xee,0xd1,0x01,0xff,0x0c,0x04]
0x05,0x00,0xee,0xd1,0x01,0xff,0x0c,0x04

# CHECK: v_fma_f16 v5, v1, 0, v3                 ; encoding: [0x05,0x00,0xee,0xd1,0x01,0x01,0x0d,0x04]
0x05,0x00,0xee,0xd1,0x01,0x01,0x0d,0x04

# CHECK: v_fma_f16 v5, v1, -1, v3                ; encoding: [0x05,0x00,0xee,0xd1,0x01,0x83,0x0d,0x04]
0x05,0x00,0xee,0xd1,0x01,0x83,0x0d,0x04

# CHECK: v_fma_f16 v5, v1, 0.5, v3               ; encoding: [0x05,0x00,0xee,0xd1,0x01,0xe1,0x0d,0x04]
0x05,0x00,0xee,0xd1,0x01,0xe1,0x0d,0x04

# CHECK: v_fma_f16 v5, v1, -4.0, v3              ; encoding: [0x05,0x00,0xee,0xd1,0x01,0xef,0x0d,0x04]
0x05,0x00,0xee,0xd1,0x01,0xef,0x0d,0x04

# CHECK: v_fma_f16 v5, v1, v2, v255              ; encoding: [0x05,0x00,0xee,0xd1,0x01,0x05,0xfe,0x07]
0x05,0x00,0xee,0xd1,0x01,0x05,0xfe,0x07

# CHECK: v_fma_f16 v5, v1, v2, s3                ; encoding: [0x05,0x00,0xee,0xd1,0x01,0x05,0x0e,0x00]
0x05,0x00,0xee,0xd1,0x01,0x05,0x0e,0x00

# CHECK: v_fma_f16 v5, v1, v2, s101              ; encoding: [0x05,0x00,0xee,0xd1,0x01,0x05,0x96,0x01]
0x05,0x00,0xee,0xd1,0x01,0x05,0x96,0x01

# CHECK: v_fma_f16 v5, v1, v2, flat_scratch_lo   ; encoding: [0x05,0x00,0xee,0xd1,0x01,0x05,0x9a,0x01]
0x05,0x00,0xee,0xd1,0x01,0x05,0x9a,0x01

# CHECK: v_fma_f16 v5, v1, v2, flat_scratch_hi   ; encoding: [0x05,0x00,0xee,0xd1,0x01,0x05,0x9e,0x01]
0x05,0x00,0xee,0xd1,0x01,0x05,0x9e,0x01

# CHECK: v_fma_f16 v5, v1, v2, vcc_lo            ; encoding: [0x05,0x00,0xee,0xd1,0x01,0x05,0xaa,0x01]
0x05,0x00,0xee,0xd1,0x01,0x05,0xaa,0x01

# CHECK: v_fma_f16 v5, v1, v2, vcc_hi            ; encoding: [0x05,0x00,0xee,0xd1,0x01,0x05,0xae,0x01]
0x05,0x00,0xee,0xd1,0x01,0x05,0xae,0x01

# CHECK: v_fma_f16 v5, v1, v2, tba_lo            ; encoding: [0x05,0x00,0xee,0xd1,0x01,0x05,0xb2,0x01]
0x05,0x00,0xee,0xd1,0x01,0x05,0xb2,0x01

# CHECK: v_fma_f16 v5, v1, v2, tba_hi            ; encoding: [0x05,0x00,0xee,0xd1,0x01,0x05,0xb6,0x01]
0x05,0x00,0xee,0xd1,0x01,0x05,0xb6,0x01

# CHECK: v_fma_f16 v5, v1, v2, tma_lo            ; encoding: [0x05,0x00,0xee,0xd1,0x01,0x05,0xba,0x01]
0x05,0x00,0xee,0xd1,0x01,0x05,0xba,0x01

# CHECK: v_fma_f16 v5, v1, v2, tma_hi            ; encoding: [0x05,0x00,0xee,0xd1,0x01,0x05,0xbe,0x01]
0x05,0x00,0xee,0xd1,0x01,0x05,0xbe,0x01

# CHECK: v_fma_f16 v5, v1, v2, ttmp11            ; encoding: [0x05,0x00,0xee,0xd1,0x01,0x05,0xee,0x01]
0x05,0x00,0xee,0xd1,0x01,0x05,0xee,0x01

# CHECK: v_fma_f16 v5, v1, v2, m0                ; encoding: [0x05,0x00,0xee,0xd1,0x01,0x05,0xf2,0x01]
0x05,0x00,0xee,0xd1,0x01,0x05,0xf2,0x01

# CHECK: v_fma_f16 v5, v1, v2, exec_lo           ; encoding: [0x05,0x00,0xee,0xd1,0x01,0x05,0xfa,0x01]
0x05,0x00,0xee,0xd1,0x01,0x05,0xfa,0x01

# CHECK: v_fma_f16 v5, v1, v2, exec_hi           ; encoding: [0x05,0x00,0xee,0xd1,0x01,0x05,0xfe,0x01]
0x05,0x00,0xee,0xd1,0x01,0x05,0xfe,0x01

# CHECK: v_fma_f16 v5, v1, v2, 0                 ; encoding: [0x05,0x00,0xee,0xd1,0x01,0x05,0x02,0x02]
0x05,0x00,0xee,0xd1,0x01,0x05,0x02,0x02

# CHECK: v_fma_f16 v5, v1, v2, -1                ; encoding: [0x05,0x00,0xee,0xd1,0x01,0x05,0x06,0x03]
0x05,0x00,0xee,0xd1,0x01,0x05,0x06,0x03

# CHECK: v_fma_f16 v5, v1, v2, 0.5               ; encoding: [0x05,0x00,0xee,0xd1,0x01,0x05,0xc2,0x03]
0x05,0x00,0xee,0xd1,0x01,0x05,0xc2,0x03

# CHECK: v_fma_f16 v5, v1, v2, -4.0              ; encoding: [0x05,0x00,0xee,0xd1,0x01,0x05,0xde,0x03]
0x05,0x00,0xee,0xd1,0x01,0x05,0xde,0x03

# CHECK: v_fma_f16 v5, -v1, v2, v3               ; encoding: [0x05,0x00,0xee,0xd1,0x01,0x05,0x0e,0x24]
0x05,0x00,0xee,0xd1,0x01,0x05,0x0e,0x24

# CHECK: v_fma_f16 v5, v1, -v2, v3               ; encoding: [0x05,0x00,0xee,0xd1,0x01,0x05,0x0e,0x44]
0x05,0x00,0xee,0xd1,0x01,0x05,0x0e,0x44

# CHECK: v_fma_f16 v5, v1, v2, -v3               ; encoding: [0x05,0x00,0xee,0xd1,0x01,0x05,0x0e,0x84]
0x05,0x00,0xee,0xd1,0x01,0x05,0x0e,0x84

# CHECK: v_fma_f16 v5, -v1, -v2, -v3             ; encoding: [0x05,0x00,0xee,0xd1,0x01,0x05,0x0e,0xe4]
0x05,0x00,0xee,0xd1,0x01,0x05,0x0e,0xe4

# CHECK: v_fma_f16 v5, |v1|, v2, v3              ; encoding: [0x05,0x01,0xee,0xd1,0x01,0x05,0x0e,0x04]
0x05,0x01,0xee,0xd1,0x01,0x05,0x0e,0x04

# CHECK: v_fma_f16 v5, v1, |v2|, v3              ; encoding: [0x05,0x02,0xee,0xd1,0x01,0x05,0x0e,0x04]
0x05,0x02,0xee,0xd1,0x01,0x05,0x0e,0x04

# CHECK: v_fma_f16 v5, v1, v2, |v3|              ; encoding: [0x05,0x04,0xee,0xd1,0x01,0x05,0x0e,0x04]
0x05,0x04,0xee,0xd1,0x01,0x05,0x0e,0x04

# CHECK: v_fma_f16 v5, |v1|, |v2|, |v3|          ; encoding: [0x05,0x07,0xee,0xd1,0x01,0x05,0x0e,0x04]
0x05,0x07,0xee,0xd1,0x01,0x05,0x0e,0x04

# CHECK: v_fma_f16 v5, v1, v2, v3 clamp          ; encoding: [0x05,0x80,0xee,0xd1,0x01,0x05,0x0e,0x04]
0x05,0x80,0xee,0xd1,0x01,0x05,0x0e,0x04

# CHECK: v_div_fixup_f16 v5, v1, v2, v3          ; encoding: [0x05,0x00,0xef,0xd1,0x01,0x05,0x0e,0x04]
0x05,0x00,0xef,0xd1,0x01,0x05,0x0e,0x04

# CHECK: v_div_fixup_f16 v255, v1, v2, v3        ; encoding: [0xff,0x00,0xef,0xd1,0x01,0x05,0x0e,0x04]
0xff,0x00,0xef,0xd1,0x01,0x05,0x0e,0x04

# CHECK: v_div_fixup_f16 v5, v255, v2, v3        ; encoding: [0x05,0x00,0xef,0xd1,0xff,0x05,0x0e,0x04]
0x05,0x00,0xef,0xd1,0xff,0x05,0x0e,0x04

# CHECK: v_div_fixup_f16 v5, s1, v2, v3          ; encoding: [0x05,0x00,0xef,0xd1,0x01,0x04,0x0e,0x04]
0x05,0x00,0xef,0xd1,0x01,0x04,0x0e,0x04

# CHECK: v_div_fixup_f16 v5, s101, v2, v3        ; encoding: [0x05,0x00,0xef,0xd1,0x65,0x04,0x0e,0x04]
0x05,0x00,0xef,0xd1,0x65,0x04,0x0e,0x04

# CHECK: v_div_fixup_f16 v5, flat_scratch_lo, v2, v3 ; encoding: [0x05,0x00,0xef,0xd1,0x66,0x04,0x0e,0x04]
0x05,0x00,0xef,0xd1,0x66,0x04,0x0e,0x04

# CHECK: v_div_fixup_f16 v5, flat_scratch_hi, v2, v3 ; encoding: [0x05,0x00,0xef,0xd1,0x67,0x04,0x0e,0x04]
0x05,0x00,0xef,0xd1,0x67,0x04,0x0e,0x04

# CHECK: v_div_fixup_f16 v5, vcc_lo, v2, v3      ; encoding: [0x05,0x00,0xef,0xd1,0x6a,0x04,0x0e,0x04]
0x05,0x00,0xef,0xd1,0x6a,0x04,0x0e,0x04

# CHECK: v_div_fixup_f16 v5, vcc_hi, v2, v3      ; encoding: [0x05,0x00,0xef,0xd1,0x6b,0x04,0x0e,0x04]
0x05,0x00,0xef,0xd1,0x6b,0x04,0x0e,0x04

# CHECK: v_div_fixup_f16 v5, tba_lo, v2, v3      ; encoding: [0x05,0x00,0xef,0xd1,0x6c,0x04,0x0e,0x04]
0x05,0x00,0xef,0xd1,0x6c,0x04,0x0e,0x04

# CHECK: v_div_fixup_f16 v5, tba_hi, v2, v3      ; encoding: [0x05,0x00,0xef,0xd1,0x6d,0x04,0x0e,0x04]
0x05,0x00,0xef,0xd1,0x6d,0x04,0x0e,0x04

# CHECK: v_div_fixup_f16 v5, tma_lo, v2, v3      ; encoding: [0x05,0x00,0xef,0xd1,0x6e,0x04,0x0e,0x04]
0x05,0x00,0xef,0xd1,0x6e,0x04,0x0e,0x04

# CHECK: v_div_fixup_f16 v5, tma_hi, v2, v3      ; encoding: [0x05,0x00,0xef,0xd1,0x6f,0x04,0x0e,0x04]
0x05,0x00,0xef,0xd1,0x6f,0x04,0x0e,0x04

# CHECK: v_div_fixup_f16 v5, ttmp11, v2, v3      ; encoding: [0x05,0x00,0xef,0xd1,0x7b,0x04,0x0e,0x04]
0x05,0x00,0xef,0xd1,0x7b,0x04,0x0e,0x04

# CHECK: v_div_fixup_f16 v5, m0, v2, v3          ; encoding: [0x05,0x00,0xef,0xd1,0x7c,0x04,0x0e,0x04]
0x05,0x00,0xef,0xd1,0x7c,0x04,0x0e,0x04

# CHECK: v_div_fixup_f16 v5, exec_lo, v2, v3     ; encoding: [0x05,0x00,0xef,0xd1,0x7e,0x04,0x0e,0x04]
0x05,0x00,0xef,0xd1,0x7e,0x04,0x0e,0x04

# CHECK: v_div_fixup_f16 v5, exec_hi, v2, v3     ; encoding: [0x05,0x00,0xef,0xd1,0x7f,0x04,0x0e,0x04]
0x05,0x00,0xef,0xd1,0x7f,0x04,0x0e,0x04

# CHECK: v_div_fixup_f16 v5, 0, v2, v3           ; encoding: [0x05,0x00,0xef,0xd1,0x80,0x04,0x0e,0x04]
0x05,0x00,0xef,0xd1,0x80,0x04,0x0e,0x04

# CHECK: v_div_fixup_f16 v5, -1, v2, v3          ; encoding: [0x05,0x00,0xef,0xd1,0xc1,0x04,0x0e,0x04]
0x05,0x00,0xef,0xd1,0xc1,0x04,0x0e,0x04

# CHECK: v_div_fixup_f16 v5, 0.5, v2, v3         ; encoding: [0x05,0x00,0xef,0xd1,0xf0,0x04,0x0e,0x04]
0x05,0x00,0xef,0xd1,0xf0,0x04,0x0e,0x04

# CHECK: v_div_fixup_f16 v5, -4.0, v2, v3        ; encoding: [0x05,0x00,0xef,0xd1,0xf7,0x04,0x0e,0x04]
0x05,0x00,0xef,0xd1,0xf7,0x04,0x0e,0x04

# CHECK: v_div_fixup_f16 v5, v1, v255, v3        ; encoding: [0x05,0x00,0xef,0xd1,0x01,0xff,0x0f,0x04]
0x05,0x00,0xef,0xd1,0x01,0xff,0x0f,0x04

# CHECK: v_div_fixup_f16 v5, v1, s2, v3          ; encoding: [0x05,0x00,0xef,0xd1,0x01,0x05,0x0c,0x04]
0x05,0x00,0xef,0xd1,0x01,0x05,0x0c,0x04

# CHECK: v_div_fixup_f16 v5, v1, s101, v3        ; encoding: [0x05,0x00,0xef,0xd1,0x01,0xcb,0x0c,0x04]
0x05,0x00,0xef,0xd1,0x01,0xcb,0x0c,0x04

# CHECK: v_div_fixup_f16 v5, v1, flat_scratch_lo, v3 ; encoding: [0x05,0x00,0xef,0xd1,0x01,0xcd,0x0c,0x04]
0x05,0x00,0xef,0xd1,0x01,0xcd,0x0c,0x04

# CHECK: v_div_fixup_f16 v5, v1, flat_scratch_hi, v3 ; encoding: [0x05,0x00,0xef,0xd1,0x01,0xcf,0x0c,0x04]
0x05,0x00,0xef,0xd1,0x01,0xcf,0x0c,0x04

# CHECK: v_div_fixup_f16 v5, v1, vcc_lo, v3      ; encoding: [0x05,0x00,0xef,0xd1,0x01,0xd5,0x0c,0x04]
0x05,0x00,0xef,0xd1,0x01,0xd5,0x0c,0x04

# CHECK: v_div_fixup_f16 v5, v1, vcc_hi, v3      ; encoding: [0x05,0x00,0xef,0xd1,0x01,0xd7,0x0c,0x04]
0x05,0x00,0xef,0xd1,0x01,0xd7,0x0c,0x04

# CHECK: v_div_fixup_f16 v5, v1, tba_lo, v3      ; encoding: [0x05,0x00,0xef,0xd1,0x01,0xd9,0x0c,0x04]
0x05,0x00,0xef,0xd1,0x01,0xd9,0x0c,0x04

# CHECK: v_div_fixup_f16 v5, v1, tba_hi, v3      ; encoding: [0x05,0x00,0xef,0xd1,0x01,0xdb,0x0c,0x04]
0x05,0x00,0xef,0xd1,0x01,0xdb,0x0c,0x04

# CHECK: v_div_fixup_f16 v5, v1, tma_lo, v3      ; encoding: [0x05,0x00,0xef,0xd1,0x01,0xdd,0x0c,0x04]
0x05,0x00,0xef,0xd1,0x01,0xdd,0x0c,0x04

# CHECK: v_div_fixup_f16 v5, v1, tma_hi, v3      ; encoding: [0x05,0x00,0xef,0xd1,0x01,0xdf,0x0c,0x04]
0x05,0x00,0xef,0xd1,0x01,0xdf,0x0c,0x04

# CHECK: v_div_fixup_f16 v5, v1, ttmp11, v3      ; encoding: [0x05,0x00,0xef,0xd1,0x01,0xf7,0x0c,0x04]
0x05,0x00,0xef,0xd1,0x01,0xf7,0x0c,0x04

# CHECK: v_div_fixup_f16 v5, v1, m0, v3          ; encoding: [0x05,0x00,0xef,0xd1,0x01,0xf9,0x0c,0x04]
0x05,0x00,0xef,0xd1,0x01,0xf9,0x0c,0x04

# CHECK: v_div_fixup_f16 v5, v1, exec_lo, v3     ; encoding: [0x05,0x00,0xef,0xd1,0x01,0xfd,0x0c,0x04]
0x05,0x00,0xef,0xd1,0x01,0xfd,0x0c,0x04

# CHECK: v_div_fixup_f16 v5, v1, exec_hi, v3     ; encoding: [0x05,0x00,0xef,0xd1,0x01,0xff,0x0c,0x04]
0x05,0x00,0xef,0xd1,0x01,0xff,0x0c,0x04

# CHECK: v_div_fixup_f16 v5, v1, 0, v3           ; encoding: [0x05,0x00,0xef,0xd1,0x01,0x01,0x0d,0x04]
0x05,0x00,0xef,0xd1,0x01,0x01,0x0d,0x04

# CHECK: v_div_fixup_f16 v5, v1, -1, v3          ; encoding: [0x05,0x00,0xef,0xd1,0x01,0x83,0x0d,0x04]
0x05,0x00,0xef,0xd1,0x01,0x83,0x0d,0x04

# CHECK: v_div_fixup_f16 v5, v1, 0.5, v3         ; encoding: [0x05,0x00,0xef,0xd1,0x01,0xe1,0x0d,0x04]
0x05,0x00,0xef,0xd1,0x01,0xe1,0x0d,0x04

# CHECK: v_div_fixup_f16 v5, v1, -4.0, v3        ; encoding: [0x05,0x00,0xef,0xd1,0x01,0xef,0x0d,0x04]
0x05,0x00,0xef,0xd1,0x01,0xef,0x0d,0x04

# CHECK: v_div_fixup_f16 v5, v1, v2, v255        ; encoding: [0x05,0x00,0xef,0xd1,0x01,0x05,0xfe,0x07]
0x05,0x00,0xef,0xd1,0x01,0x05,0xfe,0x07

# CHECK: v_div_fixup_f16 v5, v1, v2, s3          ; encoding: [0x05,0x00,0xef,0xd1,0x01,0x05,0x0e,0x00]
0x05,0x00,0xef,0xd1,0x01,0x05,0x0e,0x00

# CHECK: v_div_fixup_f16 v5, v1, v2, s101        ; encoding: [0x05,0x00,0xef,0xd1,0x01,0x05,0x96,0x01]
0x05,0x00,0xef,0xd1,0x01,0x05,0x96,0x01

# CHECK: v_div_fixup_f16 v5, v1, v2, flat_scratch_lo ; encoding: [0x05,0x00,0xef,0xd1,0x01,0x05,0x9a,0x01]
0x05,0x00,0xef,0xd1,0x01,0x05,0x9a,0x01

# CHECK: v_div_fixup_f16 v5, v1, v2, flat_scratch_hi ; encoding: [0x05,0x00,0xef,0xd1,0x01,0x05,0x9e,0x01]
0x05,0x00,0xef,0xd1,0x01,0x05,0x9e,0x01

# CHECK: v_div_fixup_f16 v5, v1, v2, vcc_lo      ; encoding: [0x05,0x00,0xef,0xd1,0x01,0x05,0xaa,0x01]
0x05,0x00,0xef,0xd1,0x01,0x05,0xaa,0x01

# CHECK: v_div_fixup_f16 v5, v1, v2, vcc_hi      ; encoding: [0x05,0x00,0xef,0xd1,0x01,0x05,0xae,0x01]
0x05,0x00,0xef,0xd1,0x01,0x05,0xae,0x01

# CHECK: v_div_fixup_f16 v5, v1, v2, tba_lo      ; encoding: [0x05,0x00,0xef,0xd1,0x01,0x05,0xb2,0x01]
0x05,0x00,0xef,0xd1,0x01,0x05,0xb2,0x01

# CHECK: v_div_fixup_f16 v5, v1, v2, tba_hi      ; encoding: [0x05,0x00,0xef,0xd1,0x01,0x05,0xb6,0x01]
0x05,0x00,0xef,0xd1,0x01,0x05,0xb6,0x01

# CHECK: v_div_fixup_f16 v5, v1, v2, tma_lo      ; encoding: [0x05,0x00,0xef,0xd1,0x01,0x05,0xba,0x01]
0x05,0x00,0xef,0xd1,0x01,0x05,0xba,0x01

# CHECK: v_div_fixup_f16 v5, v1, v2, tma_hi      ; encoding: [0x05,0x00,0xef,0xd1,0x01,0x05,0xbe,0x01]
0x05,0x00,0xef,0xd1,0x01,0x05,0xbe,0x01

# CHECK: v_div_fixup_f16 v5, v1, v2, ttmp11      ; encoding: [0x05,0x00,0xef,0xd1,0x01,0x05,0xee,0x01]
0x05,0x00,0xef,0xd1,0x01,0x05,0xee,0x01

# CHECK: v_div_fixup_f16 v5, v1, v2, m0          ; encoding: [0x05,0x00,0xef,0xd1,0x01,0x05,0xf2,0x01]
0x05,0x00,0xef,0xd1,0x01,0x05,0xf2,0x01

# CHECK: v_div_fixup_f16 v5, v1, v2, exec_lo     ; encoding: [0x05,0x00,0xef,0xd1,0x01,0x05,0xfa,0x01]
0x05,0x00,0xef,0xd1,0x01,0x05,0xfa,0x01

# CHECK: v_div_fixup_f16 v5, v1, v2, exec_hi     ; encoding: [0x05,0x00,0xef,0xd1,0x01,0x05,0xfe,0x01]
0x05,0x00,0xef,0xd1,0x01,0x05,0xfe,0x01

# CHECK: v_div_fixup_f16 v5, v1, v2, 0           ; encoding: [0x05,0x00,0xef,0xd1,0x01,0x05,0x02,0x02]
0x05,0x00,0xef,0xd1,0x01,0x05,0x02,0x02

# CHECK: v_div_fixup_f16 v5, v1, v2, -1          ; encoding: [0x05,0x00,0xef,0xd1,0x01,0x05,0x06,0x03]
0x05,0x00,0xef,0xd1,0x01,0x05,0x06,0x03

# CHECK: v_div_fixup_f16 v5, v1, v2, 0.5         ; encoding: [0x05,0x00,0xef,0xd1,0x01,0x05,0xc2,0x03]
0x05,0x00,0xef,0xd1,0x01,0x05,0xc2,0x03

# CHECK: v_div_fixup_f16 v5, v1, v2, -4.0        ; encoding: [0x05,0x00,0xef,0xd1,0x01,0x05,0xde,0x03]
0x05,0x00,0xef,0xd1,0x01,0x05,0xde,0x03

# CHECK: v_div_fixup_f16 v5, -v1, v2, v3         ; encoding: [0x05,0x00,0xef,0xd1,0x01,0x05,0x0e,0x24]
0x05,0x00,0xef,0xd1,0x01,0x05,0x0e,0x24

# CHECK: v_div_fixup_f16 v5, v1, -v2, v3         ; encoding: [0x05,0x00,0xef,0xd1,0x01,0x05,0x0e,0x44]
0x05,0x00,0xef,0xd1,0x01,0x05,0x0e,0x44

# CHECK: v_div_fixup_f16 v5, v1, v2, -v3         ; encoding: [0x05,0x00,0xef,0xd1,0x01,0x05,0x0e,0x84]
0x05,0x00,0xef,0xd1,0x01,0x05,0x0e,0x84

# CHECK: v_div_fixup_f16 v5, -v1, -v2, -v3       ; encoding: [0x05,0x00,0xef,0xd1,0x01,0x05,0x0e,0xe4]
0x05,0x00,0xef,0xd1,0x01,0x05,0x0e,0xe4

# CHECK: v_div_fixup_f16 v5, |v1|, v2, v3        ; encoding: [0x05,0x01,0xef,0xd1,0x01,0x05,0x0e,0x04]
0x05,0x01,0xef,0xd1,0x01,0x05,0x0e,0x04

# CHECK: v_div_fixup_f16 v5, v1, |v2|, v3        ; encoding: [0x05,0x02,0xef,0xd1,0x01,0x05,0x0e,0x04]
0x05,0x02,0xef,0xd1,0x01,0x05,0x0e,0x04

# CHECK: v_div_fixup_f16 v5, v1, v2, |v3|        ; encoding: [0x05,0x04,0xef,0xd1,0x01,0x05,0x0e,0x04]
0x05,0x04,0xef,0xd1,0x01,0x05,0x0e,0x04

# CHECK: v_div_fixup_f16 v5, |v1|, |v2|, |v3|    ; encoding: [0x05,0x07,0xef,0xd1,0x01,0x05,0x0e,0x04]
0x05,0x07,0xef,0xd1,0x01,0x05,0x0e,0x04

# CHECK: v_div_fixup_f16 v5, v1, v2, v3 clamp    ; encoding: [0x05,0x80,0xef,0xd1,0x01,0x05,0x0e,0x04]
0x05,0x80,0xef,0xd1,0x01,0x05,0x0e,0x04

# CHECK: v_cvt_pkaccum_u8_f32 v5, v1, v2         ; encoding: [0x05,0x00,0xf0,0xd1,0x01,0x05,0x02,0x00]
0x05,0x00,0xf0,0xd1,0x01,0x05,0x02,0x00

# CHECK: v_cvt_pkaccum_u8_f32 v255, v1, v2       ; encoding: [0xff,0x00,0xf0,0xd1,0x01,0x05,0x02,0x00]
0xff,0x00,0xf0,0xd1,0x01,0x05,0x02,0x00

# CHECK: v_cvt_pkaccum_u8_f32 v5, v255, v2       ; encoding: [0x05,0x00,0xf0,0xd1,0xff,0x05,0x02,0x00]
0x05,0x00,0xf0,0xd1,0xff,0x05,0x02,0x00

# CHECK: v_cvt_pkaccum_u8_f32 v5, s1, v2         ; encoding: [0x05,0x00,0xf0,0xd1,0x01,0x04,0x02,0x00]
0x05,0x00,0xf0,0xd1,0x01,0x04,0x02,0x00

# CHECK: v_cvt_pkaccum_u8_f32 v5, s101, v2       ; encoding: [0x05,0x00,0xf0,0xd1,0x65,0x04,0x02,0x00]
0x05,0x00,0xf0,0xd1,0x65,0x04,0x02,0x00

# CHECK: v_cvt_pkaccum_u8_f32 v5, flat_scratch_lo, v2 ; encoding: [0x05,0x00,0xf0,0xd1,0x66,0x04,0x02,0x00]
0x05,0x00,0xf0,0xd1,0x66,0x04,0x02,0x00

# CHECK: v_cvt_pkaccum_u8_f32 v5, flat_scratch_hi, v2 ; encoding: [0x05,0x00,0xf0,0xd1,0x67,0x04,0x02,0x00]
0x05,0x00,0xf0,0xd1,0x67,0x04,0x02,0x00

# CHECK: v_cvt_pkaccum_u8_f32 v5, vcc_lo, v2     ; encoding: [0x05,0x00,0xf0,0xd1,0x6a,0x04,0x02,0x00]
0x05,0x00,0xf0,0xd1,0x6a,0x04,0x02,0x00

# CHECK: v_cvt_pkaccum_u8_f32 v5, vcc_hi, v2     ; encoding: [0x05,0x00,0xf0,0xd1,0x6b,0x04,0x02,0x00]
0x05,0x00,0xf0,0xd1,0x6b,0x04,0x02,0x00

# CHECK: v_cvt_pkaccum_u8_f32 v5, tba_lo, v2     ; encoding: [0x05,0x00,0xf0,0xd1,0x6c,0x04,0x02,0x00]
0x05,0x00,0xf0,0xd1,0x6c,0x04,0x02,0x00

# CHECK: v_cvt_pkaccum_u8_f32 v5, tba_hi, v2     ; encoding: [0x05,0x00,0xf0,0xd1,0x6d,0x04,0x02,0x00]
0x05,0x00,0xf0,0xd1,0x6d,0x04,0x02,0x00

# CHECK: v_cvt_pkaccum_u8_f32 v5, tma_lo, v2     ; encoding: [0x05,0x00,0xf0,0xd1,0x6e,0x04,0x02,0x00]
0x05,0x00,0xf0,0xd1,0x6e,0x04,0x02,0x00

# CHECK: v_cvt_pkaccum_u8_f32 v5, tma_hi, v2     ; encoding: [0x05,0x00,0xf0,0xd1,0x6f,0x04,0x02,0x00]
0x05,0x00,0xf0,0xd1,0x6f,0x04,0x02,0x00

# CHECK: v_cvt_pkaccum_u8_f32 v5, ttmp11, v2     ; encoding: [0x05,0x00,0xf0,0xd1,0x7b,0x04,0x02,0x00]
0x05,0x00,0xf0,0xd1,0x7b,0x04,0x02,0x00

# CHECK: v_cvt_pkaccum_u8_f32 v5, m0, v2         ; encoding: [0x05,0x00,0xf0,0xd1,0x7c,0x04,0x02,0x00]
0x05,0x00,0xf0,0xd1,0x7c,0x04,0x02,0x00

# CHECK: v_cvt_pkaccum_u8_f32 v5, exec_lo, v2    ; encoding: [0x05,0x00,0xf0,0xd1,0x7e,0x04,0x02,0x00]
0x05,0x00,0xf0,0xd1,0x7e,0x04,0x02,0x00

# CHECK: v_cvt_pkaccum_u8_f32 v5, exec_hi, v2    ; encoding: [0x05,0x00,0xf0,0xd1,0x7f,0x04,0x02,0x00]
0x05,0x00,0xf0,0xd1,0x7f,0x04,0x02,0x00

# CHECK: v_cvt_pkaccum_u8_f32 v5, 0, v2          ; encoding: [0x05,0x00,0xf0,0xd1,0x80,0x04,0x02,0x00]
0x05,0x00,0xf0,0xd1,0x80,0x04,0x02,0x00

# CHECK: v_cvt_pkaccum_u8_f32 v5, -1, v2         ; encoding: [0x05,0x00,0xf0,0xd1,0xc1,0x04,0x02,0x00]
0x05,0x00,0xf0,0xd1,0xc1,0x04,0x02,0x00

# CHECK: v_cvt_pkaccum_u8_f32 v5, 0.5, v2        ; encoding: [0x05,0x00,0xf0,0xd1,0xf0,0x04,0x02,0x00]
0x05,0x00,0xf0,0xd1,0xf0,0x04,0x02,0x00

# CHECK: v_cvt_pkaccum_u8_f32 v5, -4.0, v2       ; encoding: [0x05,0x00,0xf0,0xd1,0xf7,0x04,0x02,0x00]
0x05,0x00,0xf0,0xd1,0xf7,0x04,0x02,0x00

# CHECK: v_cvt_pkaccum_u8_f32 v5, v1, v255       ; encoding: [0x05,0x00,0xf0,0xd1,0x01,0xff,0x03,0x00]
0x05,0x00,0xf0,0xd1,0x01,0xff,0x03,0x00

# CHECK: v_cvt_pkaccum_u8_f32 v5, v1, s2         ; encoding: [0x05,0x00,0xf0,0xd1,0x01,0x05,0x00,0x00]
0x05,0x00,0xf0,0xd1,0x01,0x05,0x00,0x00

# CHECK: v_cvt_pkaccum_u8_f32 v5, v1, s101       ; encoding: [0x05,0x00,0xf0,0xd1,0x01,0xcb,0x00,0x00]
0x05,0x00,0xf0,0xd1,0x01,0xcb,0x00,0x00

# CHECK: v_cvt_pkaccum_u8_f32 v5, v1, flat_scratch_lo ; encoding: [0x05,0x00,0xf0,0xd1,0x01,0xcd,0x00,0x00]
0x05,0x00,0xf0,0xd1,0x01,0xcd,0x00,0x00

# CHECK: v_cvt_pkaccum_u8_f32 v5, v1, flat_scratch_hi ; encoding: [0x05,0x00,0xf0,0xd1,0x01,0xcf,0x00,0x00]
0x05,0x00,0xf0,0xd1,0x01,0xcf,0x00,0x00

# CHECK: v_cvt_pkaccum_u8_f32 v5, v1, vcc_lo     ; encoding: [0x05,0x00,0xf0,0xd1,0x01,0xd5,0x00,0x00]
0x05,0x00,0xf0,0xd1,0x01,0xd5,0x00,0x00

# CHECK: v_cvt_pkaccum_u8_f32 v5, v1, vcc_hi     ; encoding: [0x05,0x00,0xf0,0xd1,0x01,0xd7,0x00,0x00]
0x05,0x00,0xf0,0xd1,0x01,0xd7,0x00,0x00

# CHECK: v_cvt_pkaccum_u8_f32 v5, v1, tba_lo     ; encoding: [0x05,0x00,0xf0,0xd1,0x01,0xd9,0x00,0x00]
0x05,0x00,0xf0,0xd1,0x01,0xd9,0x00,0x00

# CHECK: v_cvt_pkaccum_u8_f32 v5, v1, tba_hi     ; encoding: [0x05,0x00,0xf0,0xd1,0x01,0xdb,0x00,0x00]
0x05,0x00,0xf0,0xd1,0x01,0xdb,0x00,0x00

# CHECK: v_cvt_pkaccum_u8_f32 v5, v1, tma_lo     ; encoding: [0x05,0x00,0xf0,0xd1,0x01,0xdd,0x00,0x00]
0x05,0x00,0xf0,0xd1,0x01,0xdd,0x00,0x00

# CHECK: v_cvt_pkaccum_u8_f32 v5, v1, tma_hi     ; encoding: [0x05,0x00,0xf0,0xd1,0x01,0xdf,0x00,0x00]
0x05,0x00,0xf0,0xd1,0x01,0xdf,0x00,0x00

# CHECK: v_cvt_pkaccum_u8_f32 v5, v1, ttmp11     ; encoding: [0x05,0x00,0xf0,0xd1,0x01,0xf7,0x00,0x00]
0x05,0x00,0xf0,0xd1,0x01,0xf7,0x00,0x00

# CHECK: v_cvt_pkaccum_u8_f32 v5, v1, m0         ; encoding: [0x05,0x00,0xf0,0xd1,0x01,0xf9,0x00,0x00]
0x05,0x00,0xf0,0xd1,0x01,0xf9,0x00,0x00

# CHECK: v_cvt_pkaccum_u8_f32 v5, v1, exec_lo    ; encoding: [0x05,0x00,0xf0,0xd1,0x01,0xfd,0x00,0x00]
0x05,0x00,0xf0,0xd1,0x01,0xfd,0x00,0x00

# CHECK: v_cvt_pkaccum_u8_f32 v5, v1, exec_hi    ; encoding: [0x05,0x00,0xf0,0xd1,0x01,0xff,0x00,0x00]
0x05,0x00,0xf0,0xd1,0x01,0xff,0x00,0x00

# CHECK: v_cvt_pkaccum_u8_f32 v5, v1, 0          ; encoding: [0x05,0x00,0xf0,0xd1,0x01,0x01,0x01,0x00]
0x05,0x00,0xf0,0xd1,0x01,0x01,0x01,0x00

# CHECK: v_cvt_pkaccum_u8_f32 v5, v1, -1         ; encoding: [0x05,0x00,0xf0,0xd1,0x01,0x83,0x01,0x00]
0x05,0x00,0xf0,0xd1,0x01,0x83,0x01,0x00

# CHECK: v_cvt_pkaccum_u8_f32 v5, v1, 0.5        ; encoding: [0x05,0x00,0xf0,0xd1,0x01,0xe1,0x01,0x00]
0x05,0x00,0xf0,0xd1,0x01,0xe1,0x01,0x00

# CHECK: v_cvt_pkaccum_u8_f32 v5, v1, -4.0       ; encoding: [0x05,0x00,0xf0,0xd1,0x01,0xef,0x01,0x00]
0x05,0x00,0xf0,0xd1,0x01,0xef,0x01,0x00

# CHECK: v_cvt_pkaccum_u8_f32 v5, -v1, v2        ; encoding: [0x05,0x00,0xf0,0xd1,0x01,0x05,0x02,0x20]
0x05,0x00,0xf0,0xd1,0x01,0x05,0x02,0x20

# CHECK: v_cvt_pkaccum_u8_f32 v5, |v1|, v2       ; encoding: [0x05,0x01,0xf0,0xd1,0x01,0x05,0x02,0x00]
0x05,0x01,0xf0,0xd1,0x01,0x05,0x02,0x00

# CHECK: v_interp_p1ll_f16 v5, v2, attr0.x       ; encoding: [0x05,0x00,0x74,0xd2,0x00,0x04,0x02,0x00]
0x05,0x00,0x74,0xd2,0x00,0x04,0x02,0x00

# CHECK: v_interp_p1ll_f16 v255, v2, attr0.x     ; encoding: [0xff,0x00,0x74,0xd2,0x00,0x04,0x02,0x00]
0xff,0x00,0x74,0xd2,0x00,0x04,0x02,0x00

# CHECK: v_interp_p1ll_f16 v5, v2, attr1.x       ; encoding: [0x05,0x00,0x74,0xd2,0x01,0x04,0x02,0x00]
0x05,0x00,0x74,0xd2,0x01,0x04,0x02,0x00

# CHECK: v_interp_p1ll_f16 v5, v2, attr31.x      ; encoding: [0x05,0x00,0x74,0xd2,0x1f,0x04,0x02,0x00]
0x05,0x00,0x74,0xd2,0x1f,0x04,0x02,0x00

# CHECK: v_interp_p1ll_f16 v5, v2, attr32.x      ; encoding: [0x05,0x00,0x74,0xd2,0x20,0x04,0x02,0x00]
0x05,0x00,0x74,0xd2,0x20,0x04,0x02,0x00

# CHECK: v_interp_p1ll_f16 v5, v255, attr0.x     ; encoding: [0x05,0x00,0x74,0xd2,0x00,0xfe,0x03,0x00]
0x05,0x00,0x74,0xd2,0x00,0xfe,0x03,0x00

# CHECK: v_interp_p1ll_f16 v5, -v2, attr0.x      ; encoding: [0x05,0x00,0x74,0xd2,0x00,0x04,0x02,0x40]
0x05,0x00,0x74,0xd2,0x00,0x04,0x02,0x40

# CHECK: v_interp_p1ll_f16 v5, |v2|, attr0.x     ; encoding: [0x05,0x02,0x74,0xd2,0x00,0x04,0x02,0x00]
0x05,0x02,0x74,0xd2,0x00,0x04,0x02,0x00

# CHECK: v_interp_p1ll_f16 v5, v2, attr0.y       ; encoding: [0x05,0x00,0x74,0xd2,0x40,0x04,0x02,0x00]
0x05,0x00,0x74,0xd2,0x40,0x04,0x02,0x00

# CHECK: v_interp_p1ll_f16 v5, v2, attr0.z       ; encoding: [0x05,0x00,0x74,0xd2,0x80,0x04,0x02,0x00]
0x05,0x00,0x74,0xd2,0x80,0x04,0x02,0x00

# CHECK: v_interp_p1ll_f16 v5, v2, attr0.w       ; encoding: [0x05,0x00,0x74,0xd2,0xc0,0x04,0x02,0x00]
0x05,0x00,0x74,0xd2,0xc0,0x04,0x02,0x00

# CHECK: v_interp_p1ll_f16 v5, v2, attr0.x high  ; encoding: [0x05,0x00,0x74,0xd2,0x00,0x05,0x02,0x00]
0x05,0x00,0x74,0xd2,0x00,0x05,0x02,0x00

# CHECK: v_interp_p1ll_f16 v5, v2, attr0.x clamp ; encoding: [0x05,0x80,0x74,0xd2,0x00,0x04,0x02,0x00]
0x05,0x80,0x74,0xd2,0x00,0x04,0x02,0x00

# CHECK: v_interp_p1ll_f16 v5, v2, attr0.x mul:2 ; encoding: [0x05,0x00,0x74,0xd2,0x00,0x04,0x02,0x08]
0x05,0x00,0x74,0xd2,0x00,0x04,0x02,0x08

# CHECK: v_interp_p1ll_f16 v5, v2, attr0.x mul:4 ; encoding: [0x05,0x00,0x74,0xd2,0x00,0x04,0x02,0x10]
0x05,0x00,0x74,0xd2,0x00,0x04,0x02,0x10

# CHECK: v_interp_p1ll_f16 v5, v2, attr0.x div:2 ; encoding: [0x05,0x00,0x74,0xd2,0x00,0x04,0x02,0x18]
0x05,0x00,0x74,0xd2,0x00,0x04,0x02,0x18

# CHECK: v_interp_p1lv_f16 v5, v2, attr0.x, v3   ; encoding: [0x05,0x00,0x75,0xd2,0x00,0x04,0x0e,0x04]
0x05,0x00,0x75,0xd2,0x00,0x04,0x0e,0x04

# CHECK: v_interp_p1lv_f16 v255, v2, attr0.x, v3 ; encoding: [0xff,0x00,0x75,0xd2,0x00,0x04,0x0e,0x04]
0xff,0x00,0x75,0xd2,0x00,0x04,0x0e,0x04

# CHECK: v_interp_p1lv_f16 v5, v2, attr1.x, v3   ; encoding: [0x05,0x00,0x75,0xd2,0x01,0x04,0x0e,0x04]
0x05,0x00,0x75,0xd2,0x01,0x04,0x0e,0x04

# CHECK: v_interp_p1lv_f16 v5, v2, attr31.x, v3  ; encoding: [0x05,0x00,0x75,0xd2,0x1f,0x04,0x0e,0x04]
0x05,0x00,0x75,0xd2,0x1f,0x04,0x0e,0x04

# CHECK: v_interp_p1lv_f16 v5, v2, attr32.x, v3  ; encoding: [0x05,0x00,0x75,0xd2,0x20,0x04,0x0e,0x04]
0x05,0x00,0x75,0xd2,0x20,0x04,0x0e,0x04

# CHECK: v_interp_p1lv_f16 v5, v255, attr0.x, v3 ; encoding: [0x05,0x00,0x75,0xd2,0x00,0xfe,0x0f,0x04]
0x05,0x00,0x75,0xd2,0x00,0xfe,0x0f,0x04

# CHECK: v_interp_p1lv_f16 v5, v2, attr0.x, v255 ; encoding: [0x05,0x00,0x75,0xd2,0x00,0x04,0xfe,0x07]
0x05,0x00,0x75,0xd2,0x00,0x04,0xfe,0x07

# CHECK: v_interp_p1lv_f16 v5, -v2, attr0.x, v3  ; encoding: [0x05,0x00,0x75,0xd2,0x00,0x04,0x0e,0x44]
0x05,0x00,0x75,0xd2,0x00,0x04,0x0e,0x44

# CHECK: v_interp_p1lv_f16 v5, v2, attr0.x, -v3  ; encoding: [0x05,0x00,0x75,0xd2,0x00,0x04,0x0e,0x84]
0x05,0x00,0x75,0xd2,0x00,0x04,0x0e,0x84

# CHECK: v_interp_p1lv_f16 v5, |v2|, attr0.x, v3 ; encoding: [0x05,0x02,0x75,0xd2,0x00,0x04,0x0e,0x04]
0x05,0x02,0x75,0xd2,0x00,0x04,0x0e,0x04

# CHECK: v_interp_p1lv_f16 v5, v2, attr0.x, |v3| ; encoding: [0x05,0x04,0x75,0xd2,0x00,0x04,0x0e,0x04]
0x05,0x04,0x75,0xd2,0x00,0x04,0x0e,0x04

# CHECK: v_interp_p1lv_f16 v5, v2, attr0.y, v3   ; encoding: [0x05,0x00,0x75,0xd2,0x40,0x04,0x0e,0x04]
0x05,0x00,0x75,0xd2,0x40,0x04,0x0e,0x04

# CHECK: v_interp_p1lv_f16 v5, v2, attr0.z, v3   ; encoding: [0x05,0x00,0x75,0xd2,0x80,0x04,0x0e,0x04]
0x05,0x00,0x75,0xd2,0x80,0x04,0x0e,0x04

# CHECK: v_interp_p1lv_f16 v5, v2, attr0.w, v3   ; encoding: [0x05,0x00,0x75,0xd2,0xc0,0x04,0x0e,0x04]
0x05,0x00,0x75,0xd2,0xc0,0x04,0x0e,0x04

# CHECK: v_interp_p1lv_f16 v5, v2, attr0.x, v3 high ; encoding: [0x05,0x00,0x75,0xd2,0x00,0x05,0x0e,0x04]
0x05,0x00,0x75,0xd2,0x00,0x05,0x0e,0x04

# CHECK: v_interp_p1lv_f16 v5, v2, attr0.x, v3 clamp ; encoding: [0x05,0x80,0x75,0xd2,0x00,0x04,0x0e,0x04]
0x05,0x80,0x75,0xd2,0x00,0x04,0x0e,0x04

# CHECK: v_interp_p1lv_f16 v5, v2, attr0.x, v3 mul:2 ; encoding: [0x05,0x00,0x75,0xd2,0x00,0x04,0x0e,0x0c]
0x05,0x00,0x75,0xd2,0x00,0x04,0x0e,0x0c

# CHECK: v_interp_p1lv_f16 v5, v2, attr0.x, v3 mul:4 ; encoding: [0x05,0x00,0x75,0xd2,0x00,0x04,0x0e,0x14]
0x05,0x00,0x75,0xd2,0x00,0x04,0x0e,0x14

# CHECK: v_interp_p1lv_f16 v5, v2, attr0.x, v3 div:2 ; encoding: [0x05,0x00,0x75,0xd2,0x00,0x04,0x0e,0x1c]
0x05,0x00,0x75,0xd2,0x00,0x04,0x0e,0x1c

# CHECK: v_interp_p2_f16 v5, v2, attr0.x, v3     ; encoding: [0x05,0x00,0x76,0xd2,0x00,0x04,0x0e,0x04]
0x05,0x00,0x76,0xd2,0x00,0x04,0x0e,0x04

# CHECK: v_interp_p2_f16 v255, v2, attr0.x, v3   ; encoding: [0xff,0x00,0x76,0xd2,0x00,0x04,0x0e,0x04]
0xff,0x00,0x76,0xd2,0x00,0x04,0x0e,0x04

# CHECK: v_interp_p2_f16 v5, v2, attr1.x, v3     ; encoding: [0x05,0x00,0x76,0xd2,0x01,0x04,0x0e,0x04]
0x05,0x00,0x76,0xd2,0x01,0x04,0x0e,0x04

# CHECK: v_interp_p2_f16 v5, v2, attr31.x, v3    ; encoding: [0x05,0x00,0x76,0xd2,0x1f,0x04,0x0e,0x04]
0x05,0x00,0x76,0xd2,0x1f,0x04,0x0e,0x04

# CHECK: v_interp_p2_f16 v5, v2, attr32.x, v3    ; encoding: [0x05,0x00,0x76,0xd2,0x20,0x04,0x0e,0x04]
0x05,0x00,0x76,0xd2,0x20,0x04,0x0e,0x04

# CHECK: v_interp_p2_f16 v5, v255, attr0.x, v3   ; encoding: [0x05,0x00,0x76,0xd2,0x00,0xfe,0x0f,0x04]
0x05,0x00,0x76,0xd2,0x00,0xfe,0x0f,0x04

# CHECK: v_interp_p2_f16 v5, v2, attr0.x, v255   ; encoding: [0x05,0x00,0x76,0xd2,0x00,0x04,0xfe,0x07]
0x05,0x00,0x76,0xd2,0x00,0x04,0xfe,0x07

# CHECK: v_interp_p2_f16 v5, -v2, attr0.x, v3    ; encoding: [0x05,0x00,0x76,0xd2,0x00,0x04,0x0e,0x44]
0x05,0x00,0x76,0xd2,0x00,0x04,0x0e,0x44

# CHECK: v_interp_p2_f16 v5, v2, attr0.x, -v3    ; encoding: [0x05,0x00,0x76,0xd2,0x00,0x04,0x0e,0x84]
0x05,0x00,0x76,0xd2,0x00,0x04,0x0e,0x84

# CHECK: v_interp_p2_f16 v5, |v2|, attr0.x, v3   ; encoding: [0x05,0x02,0x76,0xd2,0x00,0x04,0x0e,0x04]
0x05,0x02,0x76,0xd2,0x00,0x04,0x0e,0x04

# CHECK: v_interp_p2_f16 v5, v2, attr0.x, |v3|   ; encoding: [0x05,0x04,0x76,0xd2,0x00,0x04,0x0e,0x04]
0x05,0x04,0x76,0xd2,0x00,0x04,0x0e,0x04

# CHECK: v_interp_p2_f16 v5, v2, attr0.y, v3     ; encoding: [0x05,0x00,0x76,0xd2,0x40,0x04,0x0e,0x04]
0x05,0x00,0x76,0xd2,0x40,0x04,0x0e,0x04

# CHECK: v_interp_p2_f16 v5, v2, attr0.z, v3     ; encoding: [0x05,0x00,0x76,0xd2,0x80,0x04,0x0e,0x04]
0x05,0x00,0x76,0xd2,0x80,0x04,0x0e,0x04

# CHECK: v_interp_p2_f16 v5, v2, attr0.w, v3     ; encoding: [0x05,0x00,0x76,0xd2,0xc0,0x04,0x0e,0x04]
0x05,0x00,0x76,0xd2,0xc0,0x04,0x0e,0x04

# CHECK: v_interp_p2_f16 v5, v2, attr0.x, v3 high ; encoding: [0x05,0x00,0x76,0xd2,0x00,0x05,0x0e,0x04]
0x05,0x00,0x76,0xd2,0x00,0x05,0x0e,0x04

# CHECK: v_interp_p2_f16 v5, v2, attr0.x, v3 clamp ; encoding: [0x05,0x80,0x76,0xd2,0x00,0x04,0x0e,0x04]
0x05,0x80,0x76,0xd2,0x00,0x04,0x0e,0x04

# CHECK: v_add_f64 v[5:6], v[1:2], v[2:3]        ; encoding: [0x05,0x00,0x80,0xd2,0x01,0x05,0x02,0x00]
0x05,0x00,0x80,0xd2,0x01,0x05,0x02,0x00

# CHECK: v_add_f64 v[254:255], v[1:2], v[2:3]    ; encoding: [0xfe,0x00,0x80,0xd2,0x01,0x05,0x02,0x00]
0xfe,0x00,0x80,0xd2,0x01,0x05,0x02,0x00

# CHECK: v_add_f64 v[5:6], v[254:255], v[2:3]    ; encoding: [0x05,0x00,0x80,0xd2,0xfe,0x05,0x02,0x00]
0x05,0x00,0x80,0xd2,0xfe,0x05,0x02,0x00

# CHECK: v_add_f64 v[5:6], s[2:3], v[2:3]        ; encoding: [0x05,0x00,0x80,0xd2,0x02,0x04,0x02,0x00]
0x05,0x00,0x80,0xd2,0x02,0x04,0x02,0x00

# CHECK: v_add_f64 v[5:6], s[4:5], v[2:3]        ; encoding: [0x05,0x00,0x80,0xd2,0x04,0x04,0x02,0x00]
0x05,0x00,0x80,0xd2,0x04,0x04,0x02,0x00

# CHECK: v_add_f64 v[5:6], s[100:101], v[2:3]    ; encoding: [0x05,0x00,0x80,0xd2,0x64,0x04,0x02,0x00]
0x05,0x00,0x80,0xd2,0x64,0x04,0x02,0x00

# CHECK: v_add_f64 v[5:6], flat_scratch, v[2:3]  ; encoding: [0x05,0x00,0x80,0xd2,0x66,0x04,0x02,0x00]
0x05,0x00,0x80,0xd2,0x66,0x04,0x02,0x00

# CHECK: v_add_f64 v[5:6], vcc, v[2:3]           ; encoding: [0x05,0x00,0x80,0xd2,0x6a,0x04,0x02,0x00]
0x05,0x00,0x80,0xd2,0x6a,0x04,0x02,0x00

# CHECK: v_add_f64 v[5:6], tba, v[2:3]           ; encoding: [0x05,0x00,0x80,0xd2,0x6c,0x04,0x02,0x00]
0x05,0x00,0x80,0xd2,0x6c,0x04,0x02,0x00

# CHECK: v_add_f64 v[5:6], tma, v[2:3]           ; encoding: [0x05,0x00,0x80,0xd2,0x6e,0x04,0x02,0x00]
0x05,0x00,0x80,0xd2,0x6e,0x04,0x02,0x00

# CHECK: v_add_f64 v[5:6], ttmp[10:11], v[2:3]   ; encoding: [0x05,0x00,0x80,0xd2,0x7a,0x04,0x02,0x00]
0x05,0x00,0x80,0xd2,0x7a,0x04,0x02,0x00

# CHECK: v_add_f64 v[5:6], exec, v[2:3]          ; encoding: [0x05,0x00,0x80,0xd2,0x7e,0x04,0x02,0x00]
0x05,0x00,0x80,0xd2,0x7e,0x04,0x02,0x00

# CHECK: v_add_f64 v[5:6], 0, v[2:3]             ; encoding: [0x05,0x00,0x80,0xd2,0x80,0x04,0x02,0x00]
0x05,0x00,0x80,0xd2,0x80,0x04,0x02,0x00

# CHECK: v_add_f64 v[5:6], -1, v[2:3]            ; encoding: [0x05,0x00,0x80,0xd2,0xc1,0x04,0x02,0x00]
0x05,0x00,0x80,0xd2,0xc1,0x04,0x02,0x00

# CHECK: v_add_f64 v[5:6], 0.5, v[2:3]           ; encoding: [0x05,0x00,0x80,0xd2,0xf0,0x04,0x02,0x00]
0x05,0x00,0x80,0xd2,0xf0,0x04,0x02,0x00

# CHECK: v_add_f64 v[5:6], -4.0, v[2:3]          ; encoding: [0x05,0x00,0x80,0xd2,0xf7,0x04,0x02,0x00]
0x05,0x00,0x80,0xd2,0xf7,0x04,0x02,0x00

# CHECK: v_add_f64 v[5:6], v[1:2], v[254:255]    ; encoding: [0x05,0x00,0x80,0xd2,0x01,0xfd,0x03,0x00]
0x05,0x00,0x80,0xd2,0x01,0xfd,0x03,0x00

# CHECK: v_add_f64 v[5:6], v[1:2], s[4:5]        ; encoding: [0x05,0x00,0x80,0xd2,0x01,0x09,0x00,0x00]
0x05,0x00,0x80,0xd2,0x01,0x09,0x00,0x00

# CHECK: v_add_f64 v[5:6], v[1:2], s[6:7]        ; encoding: [0x05,0x00,0x80,0xd2,0x01,0x0d,0x00,0x00]
0x05,0x00,0x80,0xd2,0x01,0x0d,0x00,0x00

# CHECK: v_add_f64 v[5:6], v[1:2], s[100:101]    ; encoding: [0x05,0x00,0x80,0xd2,0x01,0xc9,0x00,0x00]
0x05,0x00,0x80,0xd2,0x01,0xc9,0x00,0x00

# CHECK: v_add_f64 v[5:6], v[1:2], flat_scratch  ; encoding: [0x05,0x00,0x80,0xd2,0x01,0xcd,0x00,0x00]
0x05,0x00,0x80,0xd2,0x01,0xcd,0x00,0x00

# CHECK: v_add_f64 v[5:6], v[1:2], vcc           ; encoding: [0x05,0x00,0x80,0xd2,0x01,0xd5,0x00,0x00]
0x05,0x00,0x80,0xd2,0x01,0xd5,0x00,0x00

# CHECK: v_add_f64 v[5:6], v[1:2], tba           ; encoding: [0x05,0x00,0x80,0xd2,0x01,0xd9,0x00,0x00]
0x05,0x00,0x80,0xd2,0x01,0xd9,0x00,0x00

# CHECK: v_add_f64 v[5:6], v[1:2], tma           ; encoding: [0x05,0x00,0x80,0xd2,0x01,0xdd,0x00,0x00]
0x05,0x00,0x80,0xd2,0x01,0xdd,0x00,0x00

# CHECK: v_add_f64 v[5:6], v[1:2], ttmp[10:11]   ; encoding: [0x05,0x00,0x80,0xd2,0x01,0xf5,0x00,0x00]
0x05,0x00,0x80,0xd2,0x01,0xf5,0x00,0x00

# CHECK: v_add_f64 v[5:6], v[1:2], exec          ; encoding: [0x05,0x00,0x80,0xd2,0x01,0xfd,0x00,0x00]
0x05,0x00,0x80,0xd2,0x01,0xfd,0x00,0x00

# CHECK: v_add_f64 v[5:6], v[1:2], 0             ; encoding: [0x05,0x00,0x80,0xd2,0x01,0x01,0x01,0x00]
0x05,0x00,0x80,0xd2,0x01,0x01,0x01,0x00

# CHECK: v_add_f64 v[5:6], v[1:2], -1            ; encoding: [0x05,0x00,0x80,0xd2,0x01,0x83,0x01,0x00]
0x05,0x00,0x80,0xd2,0x01,0x83,0x01,0x00

# CHECK: v_add_f64 v[5:6], v[1:2], 0.5           ; encoding: [0x05,0x00,0x80,0xd2,0x01,0xe1,0x01,0x00]
0x05,0x00,0x80,0xd2,0x01,0xe1,0x01,0x00

# CHECK: v_add_f64 v[5:6], v[1:2], -4.0          ; encoding: [0x05,0x00,0x80,0xd2,0x01,0xef,0x01,0x00]
0x05,0x00,0x80,0xd2,0x01,0xef,0x01,0x00

# CHECK: v_add_f64 v[5:6], -v[1:2], v[2:3]       ; encoding: [0x05,0x00,0x80,0xd2,0x01,0x05,0x02,0x20]
0x05,0x00,0x80,0xd2,0x01,0x05,0x02,0x20

# CHECK: v_add_f64 v[5:6], v[1:2], -v[2:3]       ; encoding: [0x05,0x00,0x80,0xd2,0x01,0x05,0x02,0x40]
0x05,0x00,0x80,0xd2,0x01,0x05,0x02,0x40

# CHECK: v_add_f64 v[5:6], -v[1:2], -v[2:3]      ; encoding: [0x05,0x00,0x80,0xd2,0x01,0x05,0x02,0x60]
0x05,0x00,0x80,0xd2,0x01,0x05,0x02,0x60

# CHECK: v_add_f64 v[5:6], |v[1:2]|, v[2:3]      ; encoding: [0x05,0x01,0x80,0xd2,0x01,0x05,0x02,0x00]
0x05,0x01,0x80,0xd2,0x01,0x05,0x02,0x00

# CHECK: v_add_f64 v[5:6], v[1:2], |v[2:3]|      ; encoding: [0x05,0x02,0x80,0xd2,0x01,0x05,0x02,0x00]
0x05,0x02,0x80,0xd2,0x01,0x05,0x02,0x00

# CHECK: v_add_f64 v[5:6], |v[1:2]|, |v[2:3]|    ; encoding: [0x05,0x03,0x80,0xd2,0x01,0x05,0x02,0x00]
0x05,0x03,0x80,0xd2,0x01,0x05,0x02,0x00

# CHECK: v_add_f64 v[5:6], v[1:2], v[2:3] clamp  ; encoding: [0x05,0x80,0x80,0xd2,0x01,0x05,0x02,0x00]
0x05,0x80,0x80,0xd2,0x01,0x05,0x02,0x00

# CHECK: v_add_f64 v[5:6], v[1:2], v[2:3] mul:2  ; encoding: [0x05,0x00,0x80,0xd2,0x01,0x05,0x02,0x08]
0x05,0x00,0x80,0xd2,0x01,0x05,0x02,0x08

# CHECK: v_add_f64 v[5:6], v[1:2], v[2:3] mul:4  ; encoding: [0x05,0x00,0x80,0xd2,0x01,0x05,0x02,0x10]
0x05,0x00,0x80,0xd2,0x01,0x05,0x02,0x10

# CHECK: v_add_f64 v[5:6], v[1:2], v[2:3] div:2  ; encoding: [0x05,0x00,0x80,0xd2,0x01,0x05,0x02,0x18]
0x05,0x00,0x80,0xd2,0x01,0x05,0x02,0x18

# CHECK: v_mul_f64 v[5:6], v[1:2], v[2:3]        ; encoding: [0x05,0x00,0x81,0xd2,0x01,0x05,0x02,0x00]
0x05,0x00,0x81,0xd2,0x01,0x05,0x02,0x00

# CHECK: v_mul_f64 v[254:255], v[1:2], v[2:3]    ; encoding: [0xfe,0x00,0x81,0xd2,0x01,0x05,0x02,0x00]
0xfe,0x00,0x81,0xd2,0x01,0x05,0x02,0x00

# CHECK: v_mul_f64 v[5:6], v[254:255], v[2:3]    ; encoding: [0x05,0x00,0x81,0xd2,0xfe,0x05,0x02,0x00]
0x05,0x00,0x81,0xd2,0xfe,0x05,0x02,0x00

# CHECK: v_mul_f64 v[5:6], s[2:3], v[2:3]        ; encoding: [0x05,0x00,0x81,0xd2,0x02,0x04,0x02,0x00]
0x05,0x00,0x81,0xd2,0x02,0x04,0x02,0x00

# CHECK: v_mul_f64 v[5:6], s[4:5], v[2:3]        ; encoding: [0x05,0x00,0x81,0xd2,0x04,0x04,0x02,0x00]
0x05,0x00,0x81,0xd2,0x04,0x04,0x02,0x00

# CHECK: v_mul_f64 v[5:6], s[100:101], v[2:3]    ; encoding: [0x05,0x00,0x81,0xd2,0x64,0x04,0x02,0x00]
0x05,0x00,0x81,0xd2,0x64,0x04,0x02,0x00

# CHECK: v_mul_f64 v[5:6], flat_scratch, v[2:3]  ; encoding: [0x05,0x00,0x81,0xd2,0x66,0x04,0x02,0x00]
0x05,0x00,0x81,0xd2,0x66,0x04,0x02,0x00

# CHECK: v_mul_f64 v[5:6], vcc, v[2:3]           ; encoding: [0x05,0x00,0x81,0xd2,0x6a,0x04,0x02,0x00]
0x05,0x00,0x81,0xd2,0x6a,0x04,0x02,0x00

# CHECK: v_mul_f64 v[5:6], tba, v[2:3]           ; encoding: [0x05,0x00,0x81,0xd2,0x6c,0x04,0x02,0x00]
0x05,0x00,0x81,0xd2,0x6c,0x04,0x02,0x00

# CHECK: v_mul_f64 v[5:6], tma, v[2:3]           ; encoding: [0x05,0x00,0x81,0xd2,0x6e,0x04,0x02,0x00]
0x05,0x00,0x81,0xd2,0x6e,0x04,0x02,0x00

# CHECK: v_mul_f64 v[5:6], ttmp[10:11], v[2:3]   ; encoding: [0x05,0x00,0x81,0xd2,0x7a,0x04,0x02,0x00]
0x05,0x00,0x81,0xd2,0x7a,0x04,0x02,0x00

# CHECK: v_mul_f64 v[5:6], exec, v[2:3]          ; encoding: [0x05,0x00,0x81,0xd2,0x7e,0x04,0x02,0x00]
0x05,0x00,0x81,0xd2,0x7e,0x04,0x02,0x00

# CHECK: v_mul_f64 v[5:6], 0, v[2:3]             ; encoding: [0x05,0x00,0x81,0xd2,0x80,0x04,0x02,0x00]
0x05,0x00,0x81,0xd2,0x80,0x04,0x02,0x00

# CHECK: v_mul_f64 v[5:6], -1, v[2:3]            ; encoding: [0x05,0x00,0x81,0xd2,0xc1,0x04,0x02,0x00]
0x05,0x00,0x81,0xd2,0xc1,0x04,0x02,0x00

# CHECK: v_mul_f64 v[5:6], 0.5, v[2:3]           ; encoding: [0x05,0x00,0x81,0xd2,0xf0,0x04,0x02,0x00]
0x05,0x00,0x81,0xd2,0xf0,0x04,0x02,0x00

# CHECK: v_mul_f64 v[5:6], -4.0, v[2:3]          ; encoding: [0x05,0x00,0x81,0xd2,0xf7,0x04,0x02,0x00]
0x05,0x00,0x81,0xd2,0xf7,0x04,0x02,0x00

# CHECK: v_mul_f64 v[5:6], v[1:2], v[254:255]    ; encoding: [0x05,0x00,0x81,0xd2,0x01,0xfd,0x03,0x00]
0x05,0x00,0x81,0xd2,0x01,0xfd,0x03,0x00

# CHECK: v_mul_f64 v[5:6], v[1:2], s[4:5]        ; encoding: [0x05,0x00,0x81,0xd2,0x01,0x09,0x00,0x00]
0x05,0x00,0x81,0xd2,0x01,0x09,0x00,0x00

# CHECK: v_mul_f64 v[5:6], v[1:2], s[6:7]        ; encoding: [0x05,0x00,0x81,0xd2,0x01,0x0d,0x00,0x00]
0x05,0x00,0x81,0xd2,0x01,0x0d,0x00,0x00

# CHECK: v_mul_f64 v[5:6], v[1:2], s[100:101]    ; encoding: [0x05,0x00,0x81,0xd2,0x01,0xc9,0x00,0x00]
0x05,0x00,0x81,0xd2,0x01,0xc9,0x00,0x00

# CHECK: v_mul_f64 v[5:6], v[1:2], flat_scratch  ; encoding: [0x05,0x00,0x81,0xd2,0x01,0xcd,0x00,0x00]
0x05,0x00,0x81,0xd2,0x01,0xcd,0x00,0x00

# CHECK: v_mul_f64 v[5:6], v[1:2], vcc           ; encoding: [0x05,0x00,0x81,0xd2,0x01,0xd5,0x00,0x00]
0x05,0x00,0x81,0xd2,0x01,0xd5,0x00,0x00

# CHECK: v_mul_f64 v[5:6], v[1:2], tba           ; encoding: [0x05,0x00,0x81,0xd2,0x01,0xd9,0x00,0x00]
0x05,0x00,0x81,0xd2,0x01,0xd9,0x00,0x00

# CHECK: v_mul_f64 v[5:6], v[1:2], tma           ; encoding: [0x05,0x00,0x81,0xd2,0x01,0xdd,0x00,0x00]
0x05,0x00,0x81,0xd2,0x01,0xdd,0x00,0x00

# CHECK: v_mul_f64 v[5:6], v[1:2], ttmp[10:11]   ; encoding: [0x05,0x00,0x81,0xd2,0x01,0xf5,0x00,0x00]
0x05,0x00,0x81,0xd2,0x01,0xf5,0x00,0x00

# CHECK: v_mul_f64 v[5:6], v[1:2], exec          ; encoding: [0x05,0x00,0x81,0xd2,0x01,0xfd,0x00,0x00]
0x05,0x00,0x81,0xd2,0x01,0xfd,0x00,0x00

# CHECK: v_mul_f64 v[5:6], v[1:2], 0             ; encoding: [0x05,0x00,0x81,0xd2,0x01,0x01,0x01,0x00]
0x05,0x00,0x81,0xd2,0x01,0x01,0x01,0x00

# CHECK: v_mul_f64 v[5:6], v[1:2], -1            ; encoding: [0x05,0x00,0x81,0xd2,0x01,0x83,0x01,0x00]
0x05,0x00,0x81,0xd2,0x01,0x83,0x01,0x00

# CHECK: v_mul_f64 v[5:6], v[1:2], 0.5           ; encoding: [0x05,0x00,0x81,0xd2,0x01,0xe1,0x01,0x00]
0x05,0x00,0x81,0xd2,0x01,0xe1,0x01,0x00

# CHECK: v_mul_f64 v[5:6], v[1:2], -4.0          ; encoding: [0x05,0x00,0x81,0xd2,0x01,0xef,0x01,0x00]
0x05,0x00,0x81,0xd2,0x01,0xef,0x01,0x00

# CHECK: v_mul_f64 v[5:6], -v[1:2], v[2:3]       ; encoding: [0x05,0x00,0x81,0xd2,0x01,0x05,0x02,0x20]
0x05,0x00,0x81,0xd2,0x01,0x05,0x02,0x20

# CHECK: v_mul_f64 v[5:6], v[1:2], -v[2:3]       ; encoding: [0x05,0x00,0x81,0xd2,0x01,0x05,0x02,0x40]
0x05,0x00,0x81,0xd2,0x01,0x05,0x02,0x40

# CHECK: v_mul_f64 v[5:6], -v[1:2], -v[2:3]      ; encoding: [0x05,0x00,0x81,0xd2,0x01,0x05,0x02,0x60]
0x05,0x00,0x81,0xd2,0x01,0x05,0x02,0x60

# CHECK: v_mul_f64 v[5:6], |v[1:2]|, v[2:3]      ; encoding: [0x05,0x01,0x81,0xd2,0x01,0x05,0x02,0x00]
0x05,0x01,0x81,0xd2,0x01,0x05,0x02,0x00

# CHECK: v_mul_f64 v[5:6], v[1:2], |v[2:3]|      ; encoding: [0x05,0x02,0x81,0xd2,0x01,0x05,0x02,0x00]
0x05,0x02,0x81,0xd2,0x01,0x05,0x02,0x00

# CHECK: v_mul_f64 v[5:6], |v[1:2]|, |v[2:3]|    ; encoding: [0x05,0x03,0x81,0xd2,0x01,0x05,0x02,0x00]
0x05,0x03,0x81,0xd2,0x01,0x05,0x02,0x00

# CHECK: v_mul_f64 v[5:6], v[1:2], v[2:3] clamp  ; encoding: [0x05,0x80,0x81,0xd2,0x01,0x05,0x02,0x00]
0x05,0x80,0x81,0xd2,0x01,0x05,0x02,0x00

# CHECK: v_mul_f64 v[5:6], v[1:2], v[2:3] mul:2  ; encoding: [0x05,0x00,0x81,0xd2,0x01,0x05,0x02,0x08]
0x05,0x00,0x81,0xd2,0x01,0x05,0x02,0x08

# CHECK: v_mul_f64 v[5:6], v[1:2], v[2:3] mul:4  ; encoding: [0x05,0x00,0x81,0xd2,0x01,0x05,0x02,0x10]
0x05,0x00,0x81,0xd2,0x01,0x05,0x02,0x10

# CHECK: v_mul_f64 v[5:6], v[1:2], v[2:3] div:2  ; encoding: [0x05,0x00,0x81,0xd2,0x01,0x05,0x02,0x18]
0x05,0x00,0x81,0xd2,0x01,0x05,0x02,0x18

# CHECK: v_min_f64 v[5:6], v[1:2], v[2:3]        ; encoding: [0x05,0x00,0x82,0xd2,0x01,0x05,0x02,0x00]
0x05,0x00,0x82,0xd2,0x01,0x05,0x02,0x00

# CHECK: v_min_f64 v[254:255], v[1:2], v[2:3]    ; encoding: [0xfe,0x00,0x82,0xd2,0x01,0x05,0x02,0x00]
0xfe,0x00,0x82,0xd2,0x01,0x05,0x02,0x00

# CHECK: v_min_f64 v[5:6], v[254:255], v[2:3]    ; encoding: [0x05,0x00,0x82,0xd2,0xfe,0x05,0x02,0x00]
0x05,0x00,0x82,0xd2,0xfe,0x05,0x02,0x00

# CHECK: v_min_f64 v[5:6], s[2:3], v[2:3]        ; encoding: [0x05,0x00,0x82,0xd2,0x02,0x04,0x02,0x00]
0x05,0x00,0x82,0xd2,0x02,0x04,0x02,0x00

# CHECK: v_min_f64 v[5:6], s[4:5], v[2:3]        ; encoding: [0x05,0x00,0x82,0xd2,0x04,0x04,0x02,0x00]
0x05,0x00,0x82,0xd2,0x04,0x04,0x02,0x00

# CHECK: v_min_f64 v[5:6], s[100:101], v[2:3]    ; encoding: [0x05,0x00,0x82,0xd2,0x64,0x04,0x02,0x00]
0x05,0x00,0x82,0xd2,0x64,0x04,0x02,0x00

# CHECK: v_min_f64 v[5:6], flat_scratch, v[2:3]  ; encoding: [0x05,0x00,0x82,0xd2,0x66,0x04,0x02,0x00]
0x05,0x00,0x82,0xd2,0x66,0x04,0x02,0x00

# CHECK: v_min_f64 v[5:6], vcc, v[2:3]           ; encoding: [0x05,0x00,0x82,0xd2,0x6a,0x04,0x02,0x00]
0x05,0x00,0x82,0xd2,0x6a,0x04,0x02,0x00

# CHECK: v_min_f64 v[5:6], tba, v[2:3]           ; encoding: [0x05,0x00,0x82,0xd2,0x6c,0x04,0x02,0x00]
0x05,0x00,0x82,0xd2,0x6c,0x04,0x02,0x00

# CHECK: v_min_f64 v[5:6], tma, v[2:3]           ; encoding: [0x05,0x00,0x82,0xd2,0x6e,0x04,0x02,0x00]
0x05,0x00,0x82,0xd2,0x6e,0x04,0x02,0x00

# CHECK: v_min_f64 v[5:6], ttmp[10:11], v[2:3]   ; encoding: [0x05,0x00,0x82,0xd2,0x7a,0x04,0x02,0x00]
0x05,0x00,0x82,0xd2,0x7a,0x04,0x02,0x00

# CHECK: v_min_f64 v[5:6], exec, v[2:3]          ; encoding: [0x05,0x00,0x82,0xd2,0x7e,0x04,0x02,0x00]
0x05,0x00,0x82,0xd2,0x7e,0x04,0x02,0x00

# CHECK: v_min_f64 v[5:6], 0, v[2:3]             ; encoding: [0x05,0x00,0x82,0xd2,0x80,0x04,0x02,0x00]
0x05,0x00,0x82,0xd2,0x80,0x04,0x02,0x00

# CHECK: v_min_f64 v[5:6], -1, v[2:3]            ; encoding: [0x05,0x00,0x82,0xd2,0xc1,0x04,0x02,0x00]
0x05,0x00,0x82,0xd2,0xc1,0x04,0x02,0x00

# CHECK: v_min_f64 v[5:6], 0.5, v[2:3]           ; encoding: [0x05,0x00,0x82,0xd2,0xf0,0x04,0x02,0x00]
0x05,0x00,0x82,0xd2,0xf0,0x04,0x02,0x00

# CHECK: v_min_f64 v[5:6], -4.0, v[2:3]          ; encoding: [0x05,0x00,0x82,0xd2,0xf7,0x04,0x02,0x00]
0x05,0x00,0x82,0xd2,0xf7,0x04,0x02,0x00

# CHECK: v_min_f64 v[5:6], v[1:2], v[254:255]    ; encoding: [0x05,0x00,0x82,0xd2,0x01,0xfd,0x03,0x00]
0x05,0x00,0x82,0xd2,0x01,0xfd,0x03,0x00

# CHECK: v_min_f64 v[5:6], v[1:2], s[4:5]        ; encoding: [0x05,0x00,0x82,0xd2,0x01,0x09,0x00,0x00]
0x05,0x00,0x82,0xd2,0x01,0x09,0x00,0x00

# CHECK: v_min_f64 v[5:6], v[1:2], s[6:7]        ; encoding: [0x05,0x00,0x82,0xd2,0x01,0x0d,0x00,0x00]
0x05,0x00,0x82,0xd2,0x01,0x0d,0x00,0x00

# CHECK: v_min_f64 v[5:6], v[1:2], s[100:101]    ; encoding: [0x05,0x00,0x82,0xd2,0x01,0xc9,0x00,0x00]
0x05,0x00,0x82,0xd2,0x01,0xc9,0x00,0x00

# CHECK: v_min_f64 v[5:6], v[1:2], flat_scratch  ; encoding: [0x05,0x00,0x82,0xd2,0x01,0xcd,0x00,0x00]
0x05,0x00,0x82,0xd2,0x01,0xcd,0x00,0x00

# CHECK: v_min_f64 v[5:6], v[1:2], vcc           ; encoding: [0x05,0x00,0x82,0xd2,0x01,0xd5,0x00,0x00]
0x05,0x00,0x82,0xd2,0x01,0xd5,0x00,0x00

# CHECK: v_min_f64 v[5:6], v[1:2], tba           ; encoding: [0x05,0x00,0x82,0xd2,0x01,0xd9,0x00,0x00]
0x05,0x00,0x82,0xd2,0x01,0xd9,0x00,0x00

# CHECK: v_min_f64 v[5:6], v[1:2], tma           ; encoding: [0x05,0x00,0x82,0xd2,0x01,0xdd,0x00,0x00]
0x05,0x00,0x82,0xd2,0x01,0xdd,0x00,0x00

# CHECK: v_min_f64 v[5:6], v[1:2], ttmp[10:11]   ; encoding: [0x05,0x00,0x82,0xd2,0x01,0xf5,0x00,0x00]
0x05,0x00,0x82,0xd2,0x01,0xf5,0x00,0x00

# CHECK: v_min_f64 v[5:6], v[1:2], exec          ; encoding: [0x05,0x00,0x82,0xd2,0x01,0xfd,0x00,0x00]
0x05,0x00,0x82,0xd2,0x01,0xfd,0x00,0x00

# CHECK: v_min_f64 v[5:6], v[1:2], 0             ; encoding: [0x05,0x00,0x82,0xd2,0x01,0x01,0x01,0x00]
0x05,0x00,0x82,0xd2,0x01,0x01,0x01,0x00

# CHECK: v_min_f64 v[5:6], v[1:2], -1            ; encoding: [0x05,0x00,0x82,0xd2,0x01,0x83,0x01,0x00]
0x05,0x00,0x82,0xd2,0x01,0x83,0x01,0x00

# CHECK: v_min_f64 v[5:6], v[1:2], 0.5           ; encoding: [0x05,0x00,0x82,0xd2,0x01,0xe1,0x01,0x00]
0x05,0x00,0x82,0xd2,0x01,0xe1,0x01,0x00

# CHECK: v_min_f64 v[5:6], v[1:2], -4.0          ; encoding: [0x05,0x00,0x82,0xd2,0x01,0xef,0x01,0x00]
0x05,0x00,0x82,0xd2,0x01,0xef,0x01,0x00

# CHECK: v_min_f64 v[5:6], -v[1:2], v[2:3]       ; encoding: [0x05,0x00,0x82,0xd2,0x01,0x05,0x02,0x20]
0x05,0x00,0x82,0xd2,0x01,0x05,0x02,0x20

# CHECK: v_min_f64 v[5:6], v[1:2], -v[2:3]       ; encoding: [0x05,0x00,0x82,0xd2,0x01,0x05,0x02,0x40]
0x05,0x00,0x82,0xd2,0x01,0x05,0x02,0x40

# CHECK: v_min_f64 v[5:6], -v[1:2], -v[2:3]      ; encoding: [0x05,0x00,0x82,0xd2,0x01,0x05,0x02,0x60]
0x05,0x00,0x82,0xd2,0x01,0x05,0x02,0x60

# CHECK: v_min_f64 v[5:6], |v[1:2]|, v[2:3]      ; encoding: [0x05,0x01,0x82,0xd2,0x01,0x05,0x02,0x00]
0x05,0x01,0x82,0xd2,0x01,0x05,0x02,0x00

# CHECK: v_min_f64 v[5:6], v[1:2], |v[2:3]|      ; encoding: [0x05,0x02,0x82,0xd2,0x01,0x05,0x02,0x00]
0x05,0x02,0x82,0xd2,0x01,0x05,0x02,0x00

# CHECK: v_min_f64 v[5:6], |v[1:2]|, |v[2:3]|    ; encoding: [0x05,0x03,0x82,0xd2,0x01,0x05,0x02,0x00]
0x05,0x03,0x82,0xd2,0x01,0x05,0x02,0x00

# CHECK: v_min_f64 v[5:6], v[1:2], v[2:3] clamp  ; encoding: [0x05,0x80,0x82,0xd2,0x01,0x05,0x02,0x00]
0x05,0x80,0x82,0xd2,0x01,0x05,0x02,0x00

# CHECK: v_min_f64 v[5:6], v[1:2], v[2:3] mul:2  ; encoding: [0x05,0x00,0x82,0xd2,0x01,0x05,0x02,0x08]
0x05,0x00,0x82,0xd2,0x01,0x05,0x02,0x08

# CHECK: v_min_f64 v[5:6], v[1:2], v[2:3] mul:4  ; encoding: [0x05,0x00,0x82,0xd2,0x01,0x05,0x02,0x10]
0x05,0x00,0x82,0xd2,0x01,0x05,0x02,0x10

# CHECK: v_min_f64 v[5:6], v[1:2], v[2:3] div:2  ; encoding: [0x05,0x00,0x82,0xd2,0x01,0x05,0x02,0x18]
0x05,0x00,0x82,0xd2,0x01,0x05,0x02,0x18

# CHECK: v_max_f64 v[5:6], v[1:2], v[2:3]        ; encoding: [0x05,0x00,0x83,0xd2,0x01,0x05,0x02,0x00]
0x05,0x00,0x83,0xd2,0x01,0x05,0x02,0x00

# CHECK: v_max_f64 v[254:255], v[1:2], v[2:3]    ; encoding: [0xfe,0x00,0x83,0xd2,0x01,0x05,0x02,0x00]
0xfe,0x00,0x83,0xd2,0x01,0x05,0x02,0x00

# CHECK: v_max_f64 v[5:6], v[254:255], v[2:3]    ; encoding: [0x05,0x00,0x83,0xd2,0xfe,0x05,0x02,0x00]
0x05,0x00,0x83,0xd2,0xfe,0x05,0x02,0x00

# CHECK: v_max_f64 v[5:6], s[2:3], v[2:3]        ; encoding: [0x05,0x00,0x83,0xd2,0x02,0x04,0x02,0x00]
0x05,0x00,0x83,0xd2,0x02,0x04,0x02,0x00

# CHECK: v_max_f64 v[5:6], s[4:5], v[2:3]        ; encoding: [0x05,0x00,0x83,0xd2,0x04,0x04,0x02,0x00]
0x05,0x00,0x83,0xd2,0x04,0x04,0x02,0x00

# CHECK: v_max_f64 v[5:6], s[100:101], v[2:3]    ; encoding: [0x05,0x00,0x83,0xd2,0x64,0x04,0x02,0x00]
0x05,0x00,0x83,0xd2,0x64,0x04,0x02,0x00

# CHECK: v_max_f64 v[5:6], flat_scratch, v[2:3]  ; encoding: [0x05,0x00,0x83,0xd2,0x66,0x04,0x02,0x00]
0x05,0x00,0x83,0xd2,0x66,0x04,0x02,0x00

# CHECK: v_max_f64 v[5:6], vcc, v[2:3]           ; encoding: [0x05,0x00,0x83,0xd2,0x6a,0x04,0x02,0x00]
0x05,0x00,0x83,0xd2,0x6a,0x04,0x02,0x00

# CHECK: v_max_f64 v[5:6], tba, v[2:3]           ; encoding: [0x05,0x00,0x83,0xd2,0x6c,0x04,0x02,0x00]
0x05,0x00,0x83,0xd2,0x6c,0x04,0x02,0x00

# CHECK: v_max_f64 v[5:6], tma, v[2:3]           ; encoding: [0x05,0x00,0x83,0xd2,0x6e,0x04,0x02,0x00]
0x05,0x00,0x83,0xd2,0x6e,0x04,0x02,0x00

# CHECK: v_max_f64 v[5:6], ttmp[10:11], v[2:3]   ; encoding: [0x05,0x00,0x83,0xd2,0x7a,0x04,0x02,0x00]
0x05,0x00,0x83,0xd2,0x7a,0x04,0x02,0x00

# CHECK: v_max_f64 v[5:6], exec, v[2:3]          ; encoding: [0x05,0x00,0x83,0xd2,0x7e,0x04,0x02,0x00]
0x05,0x00,0x83,0xd2,0x7e,0x04,0x02,0x00

# CHECK: v_max_f64 v[5:6], 0, v[2:3]             ; encoding: [0x05,0x00,0x83,0xd2,0x80,0x04,0x02,0x00]
0x05,0x00,0x83,0xd2,0x80,0x04,0x02,0x00

# CHECK: v_max_f64 v[5:6], -1, v[2:3]            ; encoding: [0x05,0x00,0x83,0xd2,0xc1,0x04,0x02,0x00]
0x05,0x00,0x83,0xd2,0xc1,0x04,0x02,0x00

# CHECK: v_max_f64 v[5:6], 0.5, v[2:3]           ; encoding: [0x05,0x00,0x83,0xd2,0xf0,0x04,0x02,0x00]
0x05,0x00,0x83,0xd2,0xf0,0x04,0x02,0x00

# CHECK: v_max_f64 v[5:6], -4.0, v[2:3]          ; encoding: [0x05,0x00,0x83,0xd2,0xf7,0x04,0x02,0x00]
0x05,0x00,0x83,0xd2,0xf7,0x04,0x02,0x00

# CHECK: v_max_f64 v[5:6], v[1:2], v[254:255]    ; encoding: [0x05,0x00,0x83,0xd2,0x01,0xfd,0x03,0x00]
0x05,0x00,0x83,0xd2,0x01,0xfd,0x03,0x00

# CHECK: v_max_f64 v[5:6], v[1:2], s[4:5]        ; encoding: [0x05,0x00,0x83,0xd2,0x01,0x09,0x00,0x00]
0x05,0x00,0x83,0xd2,0x01,0x09,0x00,0x00

# CHECK: v_max_f64 v[5:6], v[1:2], s[6:7]        ; encoding: [0x05,0x00,0x83,0xd2,0x01,0x0d,0x00,0x00]
0x05,0x00,0x83,0xd2,0x01,0x0d,0x00,0x00

# CHECK: v_max_f64 v[5:6], v[1:2], s[100:101]    ; encoding: [0x05,0x00,0x83,0xd2,0x01,0xc9,0x00,0x00]
0x05,0x00,0x83,0xd2,0x01,0xc9,0x00,0x00

# CHECK: v_max_f64 v[5:6], v[1:2], flat_scratch  ; encoding: [0x05,0x00,0x83,0xd2,0x01,0xcd,0x00,0x00]
0x05,0x00,0x83,0xd2,0x01,0xcd,0x00,0x00

# CHECK: v_max_f64 v[5:6], v[1:2], vcc           ; encoding: [0x05,0x00,0x83,0xd2,0x01,0xd5,0x00,0x00]
0x05,0x00,0x83,0xd2,0x01,0xd5,0x00,0x00

# CHECK: v_max_f64 v[5:6], v[1:2], tba           ; encoding: [0x05,0x00,0x83,0xd2,0x01,0xd9,0x00,0x00]
0x05,0x00,0x83,0xd2,0x01,0xd9,0x00,0x00

# CHECK: v_max_f64 v[5:6], v[1:2], tma           ; encoding: [0x05,0x00,0x83,0xd2,0x01,0xdd,0x00,0x00]
0x05,0x00,0x83,0xd2,0x01,0xdd,0x00,0x00

# CHECK: v_max_f64 v[5:6], v[1:2], ttmp[10:11]   ; encoding: [0x05,0x00,0x83,0xd2,0x01,0xf5,0x00,0x00]
0x05,0x00,0x83,0xd2,0x01,0xf5,0x00,0x00

# CHECK: v_max_f64 v[5:6], v[1:2], exec          ; encoding: [0x05,0x00,0x83,0xd2,0x01,0xfd,0x00,0x00]
0x05,0x00,0x83,0xd2,0x01,0xfd,0x00,0x00

# CHECK: v_max_f64 v[5:6], v[1:2], 0             ; encoding: [0x05,0x00,0x83,0xd2,0x01,0x01,0x01,0x00]
0x05,0x00,0x83,0xd2,0x01,0x01,0x01,0x00

# CHECK: v_max_f64 v[5:6], v[1:2], -1            ; encoding: [0x05,0x00,0x83,0xd2,0x01,0x83,0x01,0x00]
0x05,0x00,0x83,0xd2,0x01,0x83,0x01,0x00

# CHECK: v_max_f64 v[5:6], v[1:2], 0.5           ; encoding: [0x05,0x00,0x83,0xd2,0x01,0xe1,0x01,0x00]
0x05,0x00,0x83,0xd2,0x01,0xe1,0x01,0x00

# CHECK: v_max_f64 v[5:6], v[1:2], -4.0          ; encoding: [0x05,0x00,0x83,0xd2,0x01,0xef,0x01,0x00]
0x05,0x00,0x83,0xd2,0x01,0xef,0x01,0x00

# CHECK: v_max_f64 v[5:6], -v[1:2], v[2:3]       ; encoding: [0x05,0x00,0x83,0xd2,0x01,0x05,0x02,0x20]
0x05,0x00,0x83,0xd2,0x01,0x05,0x02,0x20

# CHECK: v_max_f64 v[5:6], v[1:2], -v[2:3]       ; encoding: [0x05,0x00,0x83,0xd2,0x01,0x05,0x02,0x40]
0x05,0x00,0x83,0xd2,0x01,0x05,0x02,0x40

# CHECK: v_max_f64 v[5:6], -v[1:2], -v[2:3]      ; encoding: [0x05,0x00,0x83,0xd2,0x01,0x05,0x02,0x60]
0x05,0x00,0x83,0xd2,0x01,0x05,0x02,0x60

# CHECK: v_max_f64 v[5:6], |v[1:2]|, v[2:3]      ; encoding: [0x05,0x01,0x83,0xd2,0x01,0x05,0x02,0x00]
0x05,0x01,0x83,0xd2,0x01,0x05,0x02,0x00

# CHECK: v_max_f64 v[5:6], v[1:2], |v[2:3]|      ; encoding: [0x05,0x02,0x83,0xd2,0x01,0x05,0x02,0x00]
0x05,0x02,0x83,0xd2,0x01,0x05,0x02,0x00

# CHECK: v_max_f64 v[5:6], |v[1:2]|, |v[2:3]|    ; encoding: [0x05,0x03,0x83,0xd2,0x01,0x05,0x02,0x00]
0x05,0x03,0x83,0xd2,0x01,0x05,0x02,0x00

# CHECK: v_max_f64 v[5:6], v[1:2], v[2:3] clamp  ; encoding: [0x05,0x80,0x83,0xd2,0x01,0x05,0x02,0x00]
0x05,0x80,0x83,0xd2,0x01,0x05,0x02,0x00

# CHECK: v_max_f64 v[5:6], v[1:2], v[2:3] mul:2  ; encoding: [0x05,0x00,0x83,0xd2,0x01,0x05,0x02,0x08]
0x05,0x00,0x83,0xd2,0x01,0x05,0x02,0x08

# CHECK: v_max_f64 v[5:6], v[1:2], v[2:3] mul:4  ; encoding: [0x05,0x00,0x83,0xd2,0x01,0x05,0x02,0x10]
0x05,0x00,0x83,0xd2,0x01,0x05,0x02,0x10

# CHECK: v_max_f64 v[5:6], v[1:2], v[2:3] div:2  ; encoding: [0x05,0x00,0x83,0xd2,0x01,0x05,0x02,0x18]
0x05,0x00,0x83,0xd2,0x01,0x05,0x02,0x18

# CHECK: v_ldexp_f64 v[5:6], v[1:2], v2          ; encoding: [0x05,0x00,0x84,0xd2,0x01,0x05,0x02,0x00]
0x05,0x00,0x84,0xd2,0x01,0x05,0x02,0x00

# CHECK: v_ldexp_f64 v[254:255], v[1:2], v2      ; encoding: [0xfe,0x00,0x84,0xd2,0x01,0x05,0x02,0x00]
0xfe,0x00,0x84,0xd2,0x01,0x05,0x02,0x00

# CHECK: v_ldexp_f64 v[5:6], v[254:255], v2      ; encoding: [0x05,0x00,0x84,0xd2,0xfe,0x05,0x02,0x00]
0x05,0x00,0x84,0xd2,0xfe,0x05,0x02,0x00

# CHECK: v_ldexp_f64 v[5:6], s[2:3], v2          ; encoding: [0x05,0x00,0x84,0xd2,0x02,0x04,0x02,0x00]
0x05,0x00,0x84,0xd2,0x02,0x04,0x02,0x00

# CHECK: v_ldexp_f64 v[5:6], s[4:5], v2          ; encoding: [0x05,0x00,0x84,0xd2,0x04,0x04,0x02,0x00]
0x05,0x00,0x84,0xd2,0x04,0x04,0x02,0x00

# CHECK: v_ldexp_f64 v[5:6], s[100:101], v2      ; encoding: [0x05,0x00,0x84,0xd2,0x64,0x04,0x02,0x00]
0x05,0x00,0x84,0xd2,0x64,0x04,0x02,0x00

# CHECK: v_ldexp_f64 v[5:6], flat_scratch, v2    ; encoding: [0x05,0x00,0x84,0xd2,0x66,0x04,0x02,0x00]
0x05,0x00,0x84,0xd2,0x66,0x04,0x02,0x00

# CHECK: v_ldexp_f64 v[5:6], vcc, v2             ; encoding: [0x05,0x00,0x84,0xd2,0x6a,0x04,0x02,0x00]
0x05,0x00,0x84,0xd2,0x6a,0x04,0x02,0x00

# CHECK: v_ldexp_f64 v[5:6], tba, v2             ; encoding: [0x05,0x00,0x84,0xd2,0x6c,0x04,0x02,0x00]
0x05,0x00,0x84,0xd2,0x6c,0x04,0x02,0x00

# CHECK: v_ldexp_f64 v[5:6], tma, v2             ; encoding: [0x05,0x00,0x84,0xd2,0x6e,0x04,0x02,0x00]
0x05,0x00,0x84,0xd2,0x6e,0x04,0x02,0x00

# CHECK: v_ldexp_f64 v[5:6], ttmp[10:11], v2     ; encoding: [0x05,0x00,0x84,0xd2,0x7a,0x04,0x02,0x00]
0x05,0x00,0x84,0xd2,0x7a,0x04,0x02,0x00

# CHECK: v_ldexp_f64 v[5:6], exec, v2            ; encoding: [0x05,0x00,0x84,0xd2,0x7e,0x04,0x02,0x00]
0x05,0x00,0x84,0xd2,0x7e,0x04,0x02,0x00

# CHECK: v_ldexp_f64 v[5:6], 0, v2               ; encoding: [0x05,0x00,0x84,0xd2,0x80,0x04,0x02,0x00]
0x05,0x00,0x84,0xd2,0x80,0x04,0x02,0x00

# CHECK: v_ldexp_f64 v[5:6], -1, v2              ; encoding: [0x05,0x00,0x84,0xd2,0xc1,0x04,0x02,0x00]
0x05,0x00,0x84,0xd2,0xc1,0x04,0x02,0x00

# CHECK: v_ldexp_f64 v[5:6], 0.5, v2             ; encoding: [0x05,0x00,0x84,0xd2,0xf0,0x04,0x02,0x00]
0x05,0x00,0x84,0xd2,0xf0,0x04,0x02,0x00

# CHECK: v_ldexp_f64 v[5:6], -4.0, v2            ; encoding: [0x05,0x00,0x84,0xd2,0xf7,0x04,0x02,0x00]
0x05,0x00,0x84,0xd2,0xf7,0x04,0x02,0x00

# CHECK: v_ldexp_f64 v[5:6], v[1:2], v255        ; encoding: [0x05,0x00,0x84,0xd2,0x01,0xff,0x03,0x00]
0x05,0x00,0x84,0xd2,0x01,0xff,0x03,0x00

# CHECK: v_ldexp_f64 v[5:6], v[1:2], s2          ; encoding: [0x05,0x00,0x84,0xd2,0x01,0x05,0x00,0x00]
0x05,0x00,0x84,0xd2,0x01,0x05,0x00,0x00

# CHECK: v_ldexp_f64 v[5:6], v[1:2], s101        ; encoding: [0x05,0x00,0x84,0xd2,0x01,0xcb,0x00,0x00]
0x05,0x00,0x84,0xd2,0x01,0xcb,0x00,0x00

# CHECK: v_ldexp_f64 v[5:6], v[1:2], flat_scratch_lo ; encoding: [0x05,0x00,0x84,0xd2,0x01,0xcd,0x00,0x00]
0x05,0x00,0x84,0xd2,0x01,0xcd,0x00,0x00

# CHECK: v_ldexp_f64 v[5:6], v[1:2], flat_scratch_hi ; encoding: [0x05,0x00,0x84,0xd2,0x01,0xcf,0x00,0x00]
0x05,0x00,0x84,0xd2,0x01,0xcf,0x00,0x00

# CHECK: v_ldexp_f64 v[5:6], v[1:2], vcc_lo      ; encoding: [0x05,0x00,0x84,0xd2,0x01,0xd5,0x00,0x00]
0x05,0x00,0x84,0xd2,0x01,0xd5,0x00,0x00

# CHECK: v_ldexp_f64 v[5:6], v[1:2], vcc_hi      ; encoding: [0x05,0x00,0x84,0xd2,0x01,0xd7,0x00,0x00]
0x05,0x00,0x84,0xd2,0x01,0xd7,0x00,0x00

# CHECK: v_ldexp_f64 v[5:6], v[1:2], tba_lo      ; encoding: [0x05,0x00,0x84,0xd2,0x01,0xd9,0x00,0x00]
0x05,0x00,0x84,0xd2,0x01,0xd9,0x00,0x00

# CHECK: v_ldexp_f64 v[5:6], v[1:2], tba_hi      ; encoding: [0x05,0x00,0x84,0xd2,0x01,0xdb,0x00,0x00]
0x05,0x00,0x84,0xd2,0x01,0xdb,0x00,0x00

# CHECK: v_ldexp_f64 v[5:6], v[1:2], tma_lo      ; encoding: [0x05,0x00,0x84,0xd2,0x01,0xdd,0x00,0x00]
0x05,0x00,0x84,0xd2,0x01,0xdd,0x00,0x00

# CHECK: v_ldexp_f64 v[5:6], v[1:2], tma_hi      ; encoding: [0x05,0x00,0x84,0xd2,0x01,0xdf,0x00,0x00]
0x05,0x00,0x84,0xd2,0x01,0xdf,0x00,0x00

# CHECK: v_ldexp_f64 v[5:6], v[1:2], ttmp11      ; encoding: [0x05,0x00,0x84,0xd2,0x01,0xf7,0x00,0x00]
0x05,0x00,0x84,0xd2,0x01,0xf7,0x00,0x00

# CHECK: v_ldexp_f64 v[5:6], v[1:2], m0          ; encoding: [0x05,0x00,0x84,0xd2,0x01,0xf9,0x00,0x00]
0x05,0x00,0x84,0xd2,0x01,0xf9,0x00,0x00

# CHECK: v_ldexp_f64 v[5:6], v[1:2], exec_lo     ; encoding: [0x05,0x00,0x84,0xd2,0x01,0xfd,0x00,0x00]
0x05,0x00,0x84,0xd2,0x01,0xfd,0x00,0x00

# CHECK: v_ldexp_f64 v[5:6], v[1:2], exec_hi     ; encoding: [0x05,0x00,0x84,0xd2,0x01,0xff,0x00,0x00]
0x05,0x00,0x84,0xd2,0x01,0xff,0x00,0x00

# CHECK: v_ldexp_f64 v[5:6], v[1:2], 0           ; encoding: [0x05,0x00,0x84,0xd2,0x01,0x01,0x01,0x00]
0x05,0x00,0x84,0xd2,0x01,0x01,0x01,0x00

# CHECK: v_ldexp_f64 v[5:6], v[1:2], -1          ; encoding: [0x05,0x00,0x84,0xd2,0x01,0x83,0x01,0x00]
0x05,0x00,0x84,0xd2,0x01,0x83,0x01,0x00

# CHECK: v_ldexp_f64 v[5:6], v[1:2], 0.5         ; encoding: [0x05,0x00,0x84,0xd2,0x01,0xe1,0x01,0x00]
0x05,0x00,0x84,0xd2,0x01,0xe1,0x01,0x00

# CHECK: v_ldexp_f64 v[5:6], v[1:2], -4.0        ; encoding: [0x05,0x00,0x84,0xd2,0x01,0xef,0x01,0x00]
0x05,0x00,0x84,0xd2,0x01,0xef,0x01,0x00

# CHECK: v_ldexp_f64 v[5:6], -v[1:2], v2         ; encoding: [0x05,0x00,0x84,0xd2,0x01,0x05,0x02,0x20]
0x05,0x00,0x84,0xd2,0x01,0x05,0x02,0x20

# CHECK: v_ldexp_f64 v[5:6], |v[1:2]|, v2        ; encoding: [0x05,0x01,0x84,0xd2,0x01,0x05,0x02,0x00]
0x05,0x01,0x84,0xd2,0x01,0x05,0x02,0x00

# CHECK: v_ldexp_f64 v[5:6], v[1:2], v2 clamp    ; encoding: [0x05,0x80,0x84,0xd2,0x01,0x05,0x02,0x00]
0x05,0x80,0x84,0xd2,0x01,0x05,0x02,0x00

# CHECK: v_ldexp_f64 v[5:6], v[1:2], v2 mul:2    ; encoding: [0x05,0x00,0x84,0xd2,0x01,0x05,0x02,0x08]
0x05,0x00,0x84,0xd2,0x01,0x05,0x02,0x08

# CHECK: v_ldexp_f64 v[5:6], v[1:2], v2 mul:4    ; encoding: [0x05,0x00,0x84,0xd2,0x01,0x05,0x02,0x10]
0x05,0x00,0x84,0xd2,0x01,0x05,0x02,0x10

# CHECK: v_ldexp_f64 v[5:6], v[1:2], v2 div:2    ; encoding: [0x05,0x00,0x84,0xd2,0x01,0x05,0x02,0x18]
0x05,0x00,0x84,0xd2,0x01,0x05,0x02,0x18

# CHECK: v_mul_lo_u32 v5, v1, v2                 ; encoding: [0x05,0x00,0x85,0xd2,0x01,0x05,0x02,0x00]
0x05,0x00,0x85,0xd2,0x01,0x05,0x02,0x00

# CHECK: v_mul_lo_u32 v255, v1, v2               ; encoding: [0xff,0x00,0x85,0xd2,0x01,0x05,0x02,0x00]
0xff,0x00,0x85,0xd2,0x01,0x05,0x02,0x00

# CHECK: v_mul_lo_u32 v5, v255, v2               ; encoding: [0x05,0x00,0x85,0xd2,0xff,0x05,0x02,0x00]
0x05,0x00,0x85,0xd2,0xff,0x05,0x02,0x00

# CHECK: v_mul_lo_u32 v5, s1, v2                 ; encoding: [0x05,0x00,0x85,0xd2,0x01,0x04,0x02,0x00]
0x05,0x00,0x85,0xd2,0x01,0x04,0x02,0x00

# CHECK: v_mul_lo_u32 v5, s101, v2               ; encoding: [0x05,0x00,0x85,0xd2,0x65,0x04,0x02,0x00]
0x05,0x00,0x85,0xd2,0x65,0x04,0x02,0x00

# CHECK: v_mul_lo_u32 v5, flat_scratch_lo, v2    ; encoding: [0x05,0x00,0x85,0xd2,0x66,0x04,0x02,0x00]
0x05,0x00,0x85,0xd2,0x66,0x04,0x02,0x00

# CHECK: v_mul_lo_u32 v5, flat_scratch_hi, v2    ; encoding: [0x05,0x00,0x85,0xd2,0x67,0x04,0x02,0x00]
0x05,0x00,0x85,0xd2,0x67,0x04,0x02,0x00

# CHECK: v_mul_lo_u32 v5, vcc_lo, v2             ; encoding: [0x05,0x00,0x85,0xd2,0x6a,0x04,0x02,0x00]
0x05,0x00,0x85,0xd2,0x6a,0x04,0x02,0x00

# CHECK: v_mul_lo_u32 v5, vcc_hi, v2             ; encoding: [0x05,0x00,0x85,0xd2,0x6b,0x04,0x02,0x00]
0x05,0x00,0x85,0xd2,0x6b,0x04,0x02,0x00

# CHECK: v_mul_lo_u32 v5, tba_lo, v2             ; encoding: [0x05,0x00,0x85,0xd2,0x6c,0x04,0x02,0x00]
0x05,0x00,0x85,0xd2,0x6c,0x04,0x02,0x00

# CHECK: v_mul_lo_u32 v5, tba_hi, v2             ; encoding: [0x05,0x00,0x85,0xd2,0x6d,0x04,0x02,0x00]
0x05,0x00,0x85,0xd2,0x6d,0x04,0x02,0x00

# CHECK: v_mul_lo_u32 v5, tma_lo, v2             ; encoding: [0x05,0x00,0x85,0xd2,0x6e,0x04,0x02,0x00]
0x05,0x00,0x85,0xd2,0x6e,0x04,0x02,0x00

# CHECK: v_mul_lo_u32 v5, tma_hi, v2             ; encoding: [0x05,0x00,0x85,0xd2,0x6f,0x04,0x02,0x00]
0x05,0x00,0x85,0xd2,0x6f,0x04,0x02,0x00

# CHECK: v_mul_lo_u32 v5, ttmp11, v2             ; encoding: [0x05,0x00,0x85,0xd2,0x7b,0x04,0x02,0x00]
0x05,0x00,0x85,0xd2,0x7b,0x04,0x02,0x00

# CHECK: v_mul_lo_u32 v5, m0, v2                 ; encoding: [0x05,0x00,0x85,0xd2,0x7c,0x04,0x02,0x00]
0x05,0x00,0x85,0xd2,0x7c,0x04,0x02,0x00

# CHECK: v_mul_lo_u32 v5, exec_lo, v2            ; encoding: [0x05,0x00,0x85,0xd2,0x7e,0x04,0x02,0x00]
0x05,0x00,0x85,0xd2,0x7e,0x04,0x02,0x00

# CHECK: v_mul_lo_u32 v5, exec_hi, v2            ; encoding: [0x05,0x00,0x85,0xd2,0x7f,0x04,0x02,0x00]
0x05,0x00,0x85,0xd2,0x7f,0x04,0x02,0x00

# CHECK: v_mul_lo_u32 v5, 0, v2                  ; encoding: [0x05,0x00,0x85,0xd2,0x80,0x04,0x02,0x00]
0x05,0x00,0x85,0xd2,0x80,0x04,0x02,0x00

# CHECK: v_mul_lo_u32 v5, -1, v2                 ; encoding: [0x05,0x00,0x85,0xd2,0xc1,0x04,0x02,0x00]
0x05,0x00,0x85,0xd2,0xc1,0x04,0x02,0x00

# CHECK: v_mul_lo_u32 v5, 0.5, v2                ; encoding: [0x05,0x00,0x85,0xd2,0xf0,0x04,0x02,0x00]
0x05,0x00,0x85,0xd2,0xf0,0x04,0x02,0x00

# CHECK: v_mul_lo_u32 v5, -4.0, v2               ; encoding: [0x05,0x00,0x85,0xd2,0xf7,0x04,0x02,0x00]
0x05,0x00,0x85,0xd2,0xf7,0x04,0x02,0x00

# CHECK: v_mul_lo_u32 v5, v1, v255               ; encoding: [0x05,0x00,0x85,0xd2,0x01,0xff,0x03,0x00]
0x05,0x00,0x85,0xd2,0x01,0xff,0x03,0x00

# CHECK: v_mul_lo_u32 v5, v1, s2                 ; encoding: [0x05,0x00,0x85,0xd2,0x01,0x05,0x00,0x00]
0x05,0x00,0x85,0xd2,0x01,0x05,0x00,0x00

# CHECK: v_mul_lo_u32 v5, v1, s101               ; encoding: [0x05,0x00,0x85,0xd2,0x01,0xcb,0x00,0x00]
0x05,0x00,0x85,0xd2,0x01,0xcb,0x00,0x00

# CHECK: v_mul_lo_u32 v5, v1, flat_scratch_lo    ; encoding: [0x05,0x00,0x85,0xd2,0x01,0xcd,0x00,0x00]
0x05,0x00,0x85,0xd2,0x01,0xcd,0x00,0x00

# CHECK: v_mul_lo_u32 v5, v1, flat_scratch_hi    ; encoding: [0x05,0x00,0x85,0xd2,0x01,0xcf,0x00,0x00]
0x05,0x00,0x85,0xd2,0x01,0xcf,0x00,0x00

# CHECK: v_mul_lo_u32 v5, v1, vcc_lo             ; encoding: [0x05,0x00,0x85,0xd2,0x01,0xd5,0x00,0x00]
0x05,0x00,0x85,0xd2,0x01,0xd5,0x00,0x00

# CHECK: v_mul_lo_u32 v5, v1, vcc_hi             ; encoding: [0x05,0x00,0x85,0xd2,0x01,0xd7,0x00,0x00]
0x05,0x00,0x85,0xd2,0x01,0xd7,0x00,0x00

# CHECK: v_mul_lo_u32 v5, v1, tba_lo             ; encoding: [0x05,0x00,0x85,0xd2,0x01,0xd9,0x00,0x00]
0x05,0x00,0x85,0xd2,0x01,0xd9,0x00,0x00

# CHECK: v_mul_lo_u32 v5, v1, tba_hi             ; encoding: [0x05,0x00,0x85,0xd2,0x01,0xdb,0x00,0x00]
0x05,0x00,0x85,0xd2,0x01,0xdb,0x00,0x00

# CHECK: v_mul_lo_u32 v5, v1, tma_lo             ; encoding: [0x05,0x00,0x85,0xd2,0x01,0xdd,0x00,0x00]
0x05,0x00,0x85,0xd2,0x01,0xdd,0x00,0x00

# CHECK: v_mul_lo_u32 v5, v1, tma_hi             ; encoding: [0x05,0x00,0x85,0xd2,0x01,0xdf,0x00,0x00]
0x05,0x00,0x85,0xd2,0x01,0xdf,0x00,0x00

# CHECK: v_mul_lo_u32 v5, v1, ttmp11             ; encoding: [0x05,0x00,0x85,0xd2,0x01,0xf7,0x00,0x00]
0x05,0x00,0x85,0xd2,0x01,0xf7,0x00,0x00

# CHECK: v_mul_lo_u32 v5, v1, m0                 ; encoding: [0x05,0x00,0x85,0xd2,0x01,0xf9,0x00,0x00]
0x05,0x00,0x85,0xd2,0x01,0xf9,0x00,0x00

# CHECK: v_mul_lo_u32 v5, v1, exec_lo            ; encoding: [0x05,0x00,0x85,0xd2,0x01,0xfd,0x00,0x00]
0x05,0x00,0x85,0xd2,0x01,0xfd,0x00,0x00

# CHECK: v_mul_lo_u32 v5, v1, exec_hi            ; encoding: [0x05,0x00,0x85,0xd2,0x01,0xff,0x00,0x00]
0x05,0x00,0x85,0xd2,0x01,0xff,0x00,0x00

# CHECK: v_mul_lo_u32 v5, v1, 0                  ; encoding: [0x05,0x00,0x85,0xd2,0x01,0x01,0x01,0x00]
0x05,0x00,0x85,0xd2,0x01,0x01,0x01,0x00

# CHECK: v_mul_lo_u32 v5, v1, -1                 ; encoding: [0x05,0x00,0x85,0xd2,0x01,0x83,0x01,0x00]
0x05,0x00,0x85,0xd2,0x01,0x83,0x01,0x00

# CHECK: v_mul_lo_u32 v5, v1, 0.5                ; encoding: [0x05,0x00,0x85,0xd2,0x01,0xe1,0x01,0x00]
0x05,0x00,0x85,0xd2,0x01,0xe1,0x01,0x00

# CHECK: v_mul_lo_u32 v5, v1, -4.0               ; encoding: [0x05,0x00,0x85,0xd2,0x01,0xef,0x01,0x00]
0x05,0x00,0x85,0xd2,0x01,0xef,0x01,0x00

# CHECK: v_mul_hi_u32 v5, v1, v2                 ; encoding: [0x05,0x00,0x86,0xd2,0x01,0x05,0x02,0x00]
0x05,0x00,0x86,0xd2,0x01,0x05,0x02,0x00

# CHECK: v_mul_hi_u32 v255, v1, v2               ; encoding: [0xff,0x00,0x86,0xd2,0x01,0x05,0x02,0x00]
0xff,0x00,0x86,0xd2,0x01,0x05,0x02,0x00

# CHECK: v_mul_hi_u32 v5, v255, v2               ; encoding: [0x05,0x00,0x86,0xd2,0xff,0x05,0x02,0x00]
0x05,0x00,0x86,0xd2,0xff,0x05,0x02,0x00

# CHECK: v_mul_hi_u32 v5, s1, v2                 ; encoding: [0x05,0x00,0x86,0xd2,0x01,0x04,0x02,0x00]
0x05,0x00,0x86,0xd2,0x01,0x04,0x02,0x00

# CHECK: v_mul_hi_u32 v5, s101, v2               ; encoding: [0x05,0x00,0x86,0xd2,0x65,0x04,0x02,0x00]
0x05,0x00,0x86,0xd2,0x65,0x04,0x02,0x00

# CHECK: v_mul_hi_u32 v5, flat_scratch_lo, v2    ; encoding: [0x05,0x00,0x86,0xd2,0x66,0x04,0x02,0x00]
0x05,0x00,0x86,0xd2,0x66,0x04,0x02,0x00

# CHECK: v_mul_hi_u32 v5, flat_scratch_hi, v2    ; encoding: [0x05,0x00,0x86,0xd2,0x67,0x04,0x02,0x00]
0x05,0x00,0x86,0xd2,0x67,0x04,0x02,0x00

# CHECK: v_mul_hi_u32 v5, vcc_lo, v2             ; encoding: [0x05,0x00,0x86,0xd2,0x6a,0x04,0x02,0x00]
0x05,0x00,0x86,0xd2,0x6a,0x04,0x02,0x00

# CHECK: v_mul_hi_u32 v5, vcc_hi, v2             ; encoding: [0x05,0x00,0x86,0xd2,0x6b,0x04,0x02,0x00]
0x05,0x00,0x86,0xd2,0x6b,0x04,0x02,0x00

# CHECK: v_mul_hi_u32 v5, tba_lo, v2             ; encoding: [0x05,0x00,0x86,0xd2,0x6c,0x04,0x02,0x00]
0x05,0x00,0x86,0xd2,0x6c,0x04,0x02,0x00

# CHECK: v_mul_hi_u32 v5, tba_hi, v2             ; encoding: [0x05,0x00,0x86,0xd2,0x6d,0x04,0x02,0x00]
0x05,0x00,0x86,0xd2,0x6d,0x04,0x02,0x00

# CHECK: v_mul_hi_u32 v5, tma_lo, v2             ; encoding: [0x05,0x00,0x86,0xd2,0x6e,0x04,0x02,0x00]
0x05,0x00,0x86,0xd2,0x6e,0x04,0x02,0x00

# CHECK: v_mul_hi_u32 v5, tma_hi, v2             ; encoding: [0x05,0x00,0x86,0xd2,0x6f,0x04,0x02,0x00]
0x05,0x00,0x86,0xd2,0x6f,0x04,0x02,0x00

# CHECK: v_mul_hi_u32 v5, ttmp11, v2             ; encoding: [0x05,0x00,0x86,0xd2,0x7b,0x04,0x02,0x00]
0x05,0x00,0x86,0xd2,0x7b,0x04,0x02,0x00

# CHECK: v_mul_hi_u32 v5, m0, v2                 ; encoding: [0x05,0x00,0x86,0xd2,0x7c,0x04,0x02,0x00]
0x05,0x00,0x86,0xd2,0x7c,0x04,0x02,0x00

# CHECK: v_mul_hi_u32 v5, exec_lo, v2            ; encoding: [0x05,0x00,0x86,0xd2,0x7e,0x04,0x02,0x00]
0x05,0x00,0x86,0xd2,0x7e,0x04,0x02,0x00

# CHECK: v_mul_hi_u32 v5, exec_hi, v2            ; encoding: [0x05,0x00,0x86,0xd2,0x7f,0x04,0x02,0x00]
0x05,0x00,0x86,0xd2,0x7f,0x04,0x02,0x00

# CHECK: v_mul_hi_u32 v5, 0, v2                  ; encoding: [0x05,0x00,0x86,0xd2,0x80,0x04,0x02,0x00]
0x05,0x00,0x86,0xd2,0x80,0x04,0x02,0x00

# CHECK: v_mul_hi_u32 v5, -1, v2                 ; encoding: [0x05,0x00,0x86,0xd2,0xc1,0x04,0x02,0x00]
0x05,0x00,0x86,0xd2,0xc1,0x04,0x02,0x00

# CHECK: v_mul_hi_u32 v5, 0.5, v2                ; encoding: [0x05,0x00,0x86,0xd2,0xf0,0x04,0x02,0x00]
0x05,0x00,0x86,0xd2,0xf0,0x04,0x02,0x00

# CHECK: v_mul_hi_u32 v5, -4.0, v2               ; encoding: [0x05,0x00,0x86,0xd2,0xf7,0x04,0x02,0x00]
0x05,0x00,0x86,0xd2,0xf7,0x04,0x02,0x00

# CHECK: v_mul_hi_u32 v5, v1, v255               ; encoding: [0x05,0x00,0x86,0xd2,0x01,0xff,0x03,0x00]
0x05,0x00,0x86,0xd2,0x01,0xff,0x03,0x00

# CHECK: v_mul_hi_u32 v5, v1, s2                 ; encoding: [0x05,0x00,0x86,0xd2,0x01,0x05,0x00,0x00]
0x05,0x00,0x86,0xd2,0x01,0x05,0x00,0x00

# CHECK: v_mul_hi_u32 v5, v1, s101               ; encoding: [0x05,0x00,0x86,0xd2,0x01,0xcb,0x00,0x00]
0x05,0x00,0x86,0xd2,0x01,0xcb,0x00,0x00

# CHECK: v_mul_hi_u32 v5, v1, flat_scratch_lo    ; encoding: [0x05,0x00,0x86,0xd2,0x01,0xcd,0x00,0x00]
0x05,0x00,0x86,0xd2,0x01,0xcd,0x00,0x00

# CHECK: v_mul_hi_u32 v5, v1, flat_scratch_hi    ; encoding: [0x05,0x00,0x86,0xd2,0x01,0xcf,0x00,0x00]
0x05,0x00,0x86,0xd2,0x01,0xcf,0x00,0x00

# CHECK: v_mul_hi_u32 v5, v1, vcc_lo             ; encoding: [0x05,0x00,0x86,0xd2,0x01,0xd5,0x00,0x00]
0x05,0x00,0x86,0xd2,0x01,0xd5,0x00,0x00

# CHECK: v_mul_hi_u32 v5, v1, vcc_hi             ; encoding: [0x05,0x00,0x86,0xd2,0x01,0xd7,0x00,0x00]
0x05,0x00,0x86,0xd2,0x01,0xd7,0x00,0x00

# CHECK: v_mul_hi_u32 v5, v1, tba_lo             ; encoding: [0x05,0x00,0x86,0xd2,0x01,0xd9,0x00,0x00]
0x05,0x00,0x86,0xd2,0x01,0xd9,0x00,0x00

# CHECK: v_mul_hi_u32 v5, v1, tba_hi             ; encoding: [0x05,0x00,0x86,0xd2,0x01,0xdb,0x00,0x00]
0x05,0x00,0x86,0xd2,0x01,0xdb,0x00,0x00

# CHECK: v_mul_hi_u32 v5, v1, tma_lo             ; encoding: [0x05,0x00,0x86,0xd2,0x01,0xdd,0x00,0x00]
0x05,0x00,0x86,0xd2,0x01,0xdd,0x00,0x00

# CHECK: v_mul_hi_u32 v5, v1, tma_hi             ; encoding: [0x05,0x00,0x86,0xd2,0x01,0xdf,0x00,0x00]
0x05,0x00,0x86,0xd2,0x01,0xdf,0x00,0x00

# CHECK: v_mul_hi_u32 v5, v1, ttmp11             ; encoding: [0x05,0x00,0x86,0xd2,0x01,0xf7,0x00,0x00]
0x05,0x00,0x86,0xd2,0x01,0xf7,0x00,0x00

# CHECK: v_mul_hi_u32 v5, v1, m0                 ; encoding: [0x05,0x00,0x86,0xd2,0x01,0xf9,0x00,0x00]
0x05,0x00,0x86,0xd2,0x01,0xf9,0x00,0x00

# CHECK: v_mul_hi_u32 v5, v1, exec_lo            ; encoding: [0x05,0x00,0x86,0xd2,0x01,0xfd,0x00,0x00]
0x05,0x00,0x86,0xd2,0x01,0xfd,0x00,0x00

# CHECK: v_mul_hi_u32 v5, v1, exec_hi            ; encoding: [0x05,0x00,0x86,0xd2,0x01,0xff,0x00,0x00]
0x05,0x00,0x86,0xd2,0x01,0xff,0x00,0x00

# CHECK: v_mul_hi_u32 v5, v1, 0                  ; encoding: [0x05,0x00,0x86,0xd2,0x01,0x01,0x01,0x00]
0x05,0x00,0x86,0xd2,0x01,0x01,0x01,0x00

# CHECK: v_mul_hi_u32 v5, v1, -1                 ; encoding: [0x05,0x00,0x86,0xd2,0x01,0x83,0x01,0x00]
0x05,0x00,0x86,0xd2,0x01,0x83,0x01,0x00

# CHECK: v_mul_hi_u32 v5, v1, 0.5                ; encoding: [0x05,0x00,0x86,0xd2,0x01,0xe1,0x01,0x00]
0x05,0x00,0x86,0xd2,0x01,0xe1,0x01,0x00

# CHECK: v_mul_hi_u32 v5, v1, -4.0               ; encoding: [0x05,0x00,0x86,0xd2,0x01,0xef,0x01,0x00]
0x05,0x00,0x86,0xd2,0x01,0xef,0x01,0x00

# CHECK: v_mul_hi_i32 v5, v1, v2                 ; encoding: [0x05,0x00,0x87,0xd2,0x01,0x05,0x02,0x00]
0x05,0x00,0x87,0xd2,0x01,0x05,0x02,0x00

# CHECK: v_mul_hi_i32 v255, v1, v2               ; encoding: [0xff,0x00,0x87,0xd2,0x01,0x05,0x02,0x00]
0xff,0x00,0x87,0xd2,0x01,0x05,0x02,0x00

# CHECK: v_mul_hi_i32 v5, v255, v2               ; encoding: [0x05,0x00,0x87,0xd2,0xff,0x05,0x02,0x00]
0x05,0x00,0x87,0xd2,0xff,0x05,0x02,0x00

# CHECK: v_mul_hi_i32 v5, s1, v2                 ; encoding: [0x05,0x00,0x87,0xd2,0x01,0x04,0x02,0x00]
0x05,0x00,0x87,0xd2,0x01,0x04,0x02,0x00

# CHECK: v_mul_hi_i32 v5, s101, v2               ; encoding: [0x05,0x00,0x87,0xd2,0x65,0x04,0x02,0x00]
0x05,0x00,0x87,0xd2,0x65,0x04,0x02,0x00

# CHECK: v_mul_hi_i32 v5, flat_scratch_lo, v2    ; encoding: [0x05,0x00,0x87,0xd2,0x66,0x04,0x02,0x00]
0x05,0x00,0x87,0xd2,0x66,0x04,0x02,0x00

# CHECK: v_mul_hi_i32 v5, flat_scratch_hi, v2    ; encoding: [0x05,0x00,0x87,0xd2,0x67,0x04,0x02,0x00]
0x05,0x00,0x87,0xd2,0x67,0x04,0x02,0x00

# CHECK: v_mul_hi_i32 v5, vcc_lo, v2             ; encoding: [0x05,0x00,0x87,0xd2,0x6a,0x04,0x02,0x00]
0x05,0x00,0x87,0xd2,0x6a,0x04,0x02,0x00

# CHECK: v_mul_hi_i32 v5, vcc_hi, v2             ; encoding: [0x05,0x00,0x87,0xd2,0x6b,0x04,0x02,0x00]
0x05,0x00,0x87,0xd2,0x6b,0x04,0x02,0x00

# CHECK: v_mul_hi_i32 v5, tba_lo, v2             ; encoding: [0x05,0x00,0x87,0xd2,0x6c,0x04,0x02,0x00]
0x05,0x00,0x87,0xd2,0x6c,0x04,0x02,0x00

# CHECK: v_mul_hi_i32 v5, tba_hi, v2             ; encoding: [0x05,0x00,0x87,0xd2,0x6d,0x04,0x02,0x00]
0x05,0x00,0x87,0xd2,0x6d,0x04,0x02,0x00

# CHECK: v_mul_hi_i32 v5, tma_lo, v2             ; encoding: [0x05,0x00,0x87,0xd2,0x6e,0x04,0x02,0x00]
0x05,0x00,0x87,0xd2,0x6e,0x04,0x02,0x00

# CHECK: v_mul_hi_i32 v5, tma_hi, v2             ; encoding: [0x05,0x00,0x87,0xd2,0x6f,0x04,0x02,0x00]
0x05,0x00,0x87,0xd2,0x6f,0x04,0x02,0x00

# CHECK: v_mul_hi_i32 v5, ttmp11, v2             ; encoding: [0x05,0x00,0x87,0xd2,0x7b,0x04,0x02,0x00]
0x05,0x00,0x87,0xd2,0x7b,0x04,0x02,0x00

# CHECK: v_mul_hi_i32 v5, m0, v2                 ; encoding: [0x05,0x00,0x87,0xd2,0x7c,0x04,0x02,0x00]
0x05,0x00,0x87,0xd2,0x7c,0x04,0x02,0x00

# CHECK: v_mul_hi_i32 v5, exec_lo, v2            ; encoding: [0x05,0x00,0x87,0xd2,0x7e,0x04,0x02,0x00]
0x05,0x00,0x87,0xd2,0x7e,0x04,0x02,0x00

# CHECK: v_mul_hi_i32 v5, exec_hi, v2            ; encoding: [0x05,0x00,0x87,0xd2,0x7f,0x04,0x02,0x00]
0x05,0x00,0x87,0xd2,0x7f,0x04,0x02,0x00

# CHECK: v_mul_hi_i32 v5, 0, v2                  ; encoding: [0x05,0x00,0x87,0xd2,0x80,0x04,0x02,0x00]
0x05,0x00,0x87,0xd2,0x80,0x04,0x02,0x00

# CHECK: v_mul_hi_i32 v5, -1, v2                 ; encoding: [0x05,0x00,0x87,0xd2,0xc1,0x04,0x02,0x00]
0x05,0x00,0x87,0xd2,0xc1,0x04,0x02,0x00

# CHECK: v_mul_hi_i32 v5, 0.5, v2                ; encoding: [0x05,0x00,0x87,0xd2,0xf0,0x04,0x02,0x00]
0x05,0x00,0x87,0xd2,0xf0,0x04,0x02,0x00

# CHECK: v_mul_hi_i32 v5, -4.0, v2               ; encoding: [0x05,0x00,0x87,0xd2,0xf7,0x04,0x02,0x00]
0x05,0x00,0x87,0xd2,0xf7,0x04,0x02,0x00

# CHECK: v_mul_hi_i32 v5, v1, v255               ; encoding: [0x05,0x00,0x87,0xd2,0x01,0xff,0x03,0x00]
0x05,0x00,0x87,0xd2,0x01,0xff,0x03,0x00

# CHECK: v_mul_hi_i32 v5, v1, s2                 ; encoding: [0x05,0x00,0x87,0xd2,0x01,0x05,0x00,0x00]
0x05,0x00,0x87,0xd2,0x01,0x05,0x00,0x00

# CHECK: v_mul_hi_i32 v5, v1, s101               ; encoding: [0x05,0x00,0x87,0xd2,0x01,0xcb,0x00,0x00]
0x05,0x00,0x87,0xd2,0x01,0xcb,0x00,0x00

# CHECK: v_mul_hi_i32 v5, v1, flat_scratch_lo    ; encoding: [0x05,0x00,0x87,0xd2,0x01,0xcd,0x00,0x00]
0x05,0x00,0x87,0xd2,0x01,0xcd,0x00,0x00

# CHECK: v_mul_hi_i32 v5, v1, flat_scratch_hi    ; encoding: [0x05,0x00,0x87,0xd2,0x01,0xcf,0x00,0x00]
0x05,0x00,0x87,0xd2,0x01,0xcf,0x00,0x00

# CHECK: v_mul_hi_i32 v5, v1, vcc_lo             ; encoding: [0x05,0x00,0x87,0xd2,0x01,0xd5,0x00,0x00]
0x05,0x00,0x87,0xd2,0x01,0xd5,0x00,0x00

# CHECK: v_mul_hi_i32 v5, v1, vcc_hi             ; encoding: [0x05,0x00,0x87,0xd2,0x01,0xd7,0x00,0x00]
0x05,0x00,0x87,0xd2,0x01,0xd7,0x00,0x00

# CHECK: v_mul_hi_i32 v5, v1, tba_lo             ; encoding: [0x05,0x00,0x87,0xd2,0x01,0xd9,0x00,0x00]
0x05,0x00,0x87,0xd2,0x01,0xd9,0x00,0x00

# CHECK: v_mul_hi_i32 v5, v1, tba_hi             ; encoding: [0x05,0x00,0x87,0xd2,0x01,0xdb,0x00,0x00]
0x05,0x00,0x87,0xd2,0x01,0xdb,0x00,0x00

# CHECK: v_mul_hi_i32 v5, v1, tma_lo             ; encoding: [0x05,0x00,0x87,0xd2,0x01,0xdd,0x00,0x00]
0x05,0x00,0x87,0xd2,0x01,0xdd,0x00,0x00

# CHECK: v_mul_hi_i32 v5, v1, tma_hi             ; encoding: [0x05,0x00,0x87,0xd2,0x01,0xdf,0x00,0x00]
0x05,0x00,0x87,0xd2,0x01,0xdf,0x00,0x00

# CHECK: v_mul_hi_i32 v5, v1, ttmp11             ; encoding: [0x05,0x00,0x87,0xd2,0x01,0xf7,0x00,0x00]
0x05,0x00,0x87,0xd2,0x01,0xf7,0x00,0x00

# CHECK: v_mul_hi_i32 v5, v1, m0                 ; encoding: [0x05,0x00,0x87,0xd2,0x01,0xf9,0x00,0x00]
0x05,0x00,0x87,0xd2,0x01,0xf9,0x00,0x00

# CHECK: v_mul_hi_i32 v5, v1, exec_lo            ; encoding: [0x05,0x00,0x87,0xd2,0x01,0xfd,0x00,0x00]
0x05,0x00,0x87,0xd2,0x01,0xfd,0x00,0x00

# CHECK: v_mul_hi_i32 v5, v1, exec_hi            ; encoding: [0x05,0x00,0x87,0xd2,0x01,0xff,0x00,0x00]
0x05,0x00,0x87,0xd2,0x01,0xff,0x00,0x00

# CHECK: v_mul_hi_i32 v5, v1, 0                  ; encoding: [0x05,0x00,0x87,0xd2,0x01,0x01,0x01,0x00]
0x05,0x00,0x87,0xd2,0x01,0x01,0x01,0x00

# CHECK: v_mul_hi_i32 v5, v1, -1                 ; encoding: [0x05,0x00,0x87,0xd2,0x01,0x83,0x01,0x00]
0x05,0x00,0x87,0xd2,0x01,0x83,0x01,0x00

# CHECK: v_mul_hi_i32 v5, v1, 0.5                ; encoding: [0x05,0x00,0x87,0xd2,0x01,0xe1,0x01,0x00]
0x05,0x00,0x87,0xd2,0x01,0xe1,0x01,0x00

# CHECK: v_mul_hi_i32 v5, v1, -4.0               ; encoding: [0x05,0x00,0x87,0xd2,0x01,0xef,0x01,0x00]
0x05,0x00,0x87,0xd2,0x01,0xef,0x01,0x00

# CHECK: v_ldexp_f32 v5, v1, v2                  ; encoding: [0x05,0x00,0x88,0xd2,0x01,0x05,0x02,0x00]
0x05,0x00,0x88,0xd2,0x01,0x05,0x02,0x00

# CHECK: v_ldexp_f32 v255, v1, v2                ; encoding: [0xff,0x00,0x88,0xd2,0x01,0x05,0x02,0x00]
0xff,0x00,0x88,0xd2,0x01,0x05,0x02,0x00

# CHECK: v_ldexp_f32 v5, v255, v2                ; encoding: [0x05,0x00,0x88,0xd2,0xff,0x05,0x02,0x00]
0x05,0x00,0x88,0xd2,0xff,0x05,0x02,0x00

# CHECK: v_ldexp_f32 v5, s1, v2                  ; encoding: [0x05,0x00,0x88,0xd2,0x01,0x04,0x02,0x00]
0x05,0x00,0x88,0xd2,0x01,0x04,0x02,0x00

# CHECK: v_ldexp_f32 v5, s101, v2                ; encoding: [0x05,0x00,0x88,0xd2,0x65,0x04,0x02,0x00]
0x05,0x00,0x88,0xd2,0x65,0x04,0x02,0x00

# CHECK: v_ldexp_f32 v5, flat_scratch_lo, v2     ; encoding: [0x05,0x00,0x88,0xd2,0x66,0x04,0x02,0x00]
0x05,0x00,0x88,0xd2,0x66,0x04,0x02,0x00

# CHECK: v_ldexp_f32 v5, flat_scratch_hi, v2     ; encoding: [0x05,0x00,0x88,0xd2,0x67,0x04,0x02,0x00]
0x05,0x00,0x88,0xd2,0x67,0x04,0x02,0x00

# CHECK: v_ldexp_f32 v5, vcc_lo, v2              ; encoding: [0x05,0x00,0x88,0xd2,0x6a,0x04,0x02,0x00]
0x05,0x00,0x88,0xd2,0x6a,0x04,0x02,0x00

# CHECK: v_ldexp_f32 v5, vcc_hi, v2              ; encoding: [0x05,0x00,0x88,0xd2,0x6b,0x04,0x02,0x00]
0x05,0x00,0x88,0xd2,0x6b,0x04,0x02,0x00

# CHECK: v_ldexp_f32 v5, tba_lo, v2              ; encoding: [0x05,0x00,0x88,0xd2,0x6c,0x04,0x02,0x00]
0x05,0x00,0x88,0xd2,0x6c,0x04,0x02,0x00

# CHECK: v_ldexp_f32 v5, tba_hi, v2              ; encoding: [0x05,0x00,0x88,0xd2,0x6d,0x04,0x02,0x00]
0x05,0x00,0x88,0xd2,0x6d,0x04,0x02,0x00

# CHECK: v_ldexp_f32 v5, tma_lo, v2              ; encoding: [0x05,0x00,0x88,0xd2,0x6e,0x04,0x02,0x00]
0x05,0x00,0x88,0xd2,0x6e,0x04,0x02,0x00

# CHECK: v_ldexp_f32 v5, tma_hi, v2              ; encoding: [0x05,0x00,0x88,0xd2,0x6f,0x04,0x02,0x00]
0x05,0x00,0x88,0xd2,0x6f,0x04,0x02,0x00

# CHECK: v_ldexp_f32 v5, ttmp11, v2              ; encoding: [0x05,0x00,0x88,0xd2,0x7b,0x04,0x02,0x00]
0x05,0x00,0x88,0xd2,0x7b,0x04,0x02,0x00

# CHECK: v_ldexp_f32 v5, m0, v2                  ; encoding: [0x05,0x00,0x88,0xd2,0x7c,0x04,0x02,0x00]
0x05,0x00,0x88,0xd2,0x7c,0x04,0x02,0x00

# CHECK: v_ldexp_f32 v5, exec_lo, v2             ; encoding: [0x05,0x00,0x88,0xd2,0x7e,0x04,0x02,0x00]
0x05,0x00,0x88,0xd2,0x7e,0x04,0x02,0x00

# CHECK: v_ldexp_f32 v5, exec_hi, v2             ; encoding: [0x05,0x00,0x88,0xd2,0x7f,0x04,0x02,0x00]
0x05,0x00,0x88,0xd2,0x7f,0x04,0x02,0x00

# CHECK: v_ldexp_f32 v5, 0, v2                   ; encoding: [0x05,0x00,0x88,0xd2,0x80,0x04,0x02,0x00]
0x05,0x00,0x88,0xd2,0x80,0x04,0x02,0x00

# CHECK: v_ldexp_f32 v5, -1, v2                  ; encoding: [0x05,0x00,0x88,0xd2,0xc1,0x04,0x02,0x00]
0x05,0x00,0x88,0xd2,0xc1,0x04,0x02,0x00

# CHECK: v_ldexp_f32 v5, 0.5, v2                 ; encoding: [0x05,0x00,0x88,0xd2,0xf0,0x04,0x02,0x00]
0x05,0x00,0x88,0xd2,0xf0,0x04,0x02,0x00

# CHECK: v_ldexp_f32 v5, -4.0, v2                ; encoding: [0x05,0x00,0x88,0xd2,0xf7,0x04,0x02,0x00]
0x05,0x00,0x88,0xd2,0xf7,0x04,0x02,0x00

# CHECK: v_ldexp_f32 v5, v1, v255                ; encoding: [0x05,0x00,0x88,0xd2,0x01,0xff,0x03,0x00]
0x05,0x00,0x88,0xd2,0x01,0xff,0x03,0x00

# CHECK: v_ldexp_f32 v5, v1, s2                  ; encoding: [0x05,0x00,0x88,0xd2,0x01,0x05,0x00,0x00]
0x05,0x00,0x88,0xd2,0x01,0x05,0x00,0x00

# CHECK: v_ldexp_f32 v5, v1, s101                ; encoding: [0x05,0x00,0x88,0xd2,0x01,0xcb,0x00,0x00]
0x05,0x00,0x88,0xd2,0x01,0xcb,0x00,0x00

# CHECK: v_ldexp_f32 v5, v1, flat_scratch_lo     ; encoding: [0x05,0x00,0x88,0xd2,0x01,0xcd,0x00,0x00]
0x05,0x00,0x88,0xd2,0x01,0xcd,0x00,0x00

# CHECK: v_ldexp_f32 v5, v1, flat_scratch_hi     ; encoding: [0x05,0x00,0x88,0xd2,0x01,0xcf,0x00,0x00]
0x05,0x00,0x88,0xd2,0x01,0xcf,0x00,0x00

# CHECK: v_ldexp_f32 v5, v1, vcc_lo              ; encoding: [0x05,0x00,0x88,0xd2,0x01,0xd5,0x00,0x00]
0x05,0x00,0x88,0xd2,0x01,0xd5,0x00,0x00

# CHECK: v_ldexp_f32 v5, v1, vcc_hi              ; encoding: [0x05,0x00,0x88,0xd2,0x01,0xd7,0x00,0x00]
0x05,0x00,0x88,0xd2,0x01,0xd7,0x00,0x00

# CHECK: v_ldexp_f32 v5, v1, tba_lo              ; encoding: [0x05,0x00,0x88,0xd2,0x01,0xd9,0x00,0x00]
0x05,0x00,0x88,0xd2,0x01,0xd9,0x00,0x00

# CHECK: v_ldexp_f32 v5, v1, tba_hi              ; encoding: [0x05,0x00,0x88,0xd2,0x01,0xdb,0x00,0x00]
0x05,0x00,0x88,0xd2,0x01,0xdb,0x00,0x00

# CHECK: v_ldexp_f32 v5, v1, tma_lo              ; encoding: [0x05,0x00,0x88,0xd2,0x01,0xdd,0x00,0x00]
0x05,0x00,0x88,0xd2,0x01,0xdd,0x00,0x00

# CHECK: v_ldexp_f32 v5, v1, tma_hi              ; encoding: [0x05,0x00,0x88,0xd2,0x01,0xdf,0x00,0x00]
0x05,0x00,0x88,0xd2,0x01,0xdf,0x00,0x00

# CHECK: v_ldexp_f32 v5, v1, ttmp11              ; encoding: [0x05,0x00,0x88,0xd2,0x01,0xf7,0x00,0x00]
0x05,0x00,0x88,0xd2,0x01,0xf7,0x00,0x00

# CHECK: v_ldexp_f32 v5, v1, m0                  ; encoding: [0x05,0x00,0x88,0xd2,0x01,0xf9,0x00,0x00]
0x05,0x00,0x88,0xd2,0x01,0xf9,0x00,0x00

# CHECK: v_ldexp_f32 v5, v1, exec_lo             ; encoding: [0x05,0x00,0x88,0xd2,0x01,0xfd,0x00,0x00]
0x05,0x00,0x88,0xd2,0x01,0xfd,0x00,0x00

# CHECK: v_ldexp_f32 v5, v1, exec_hi             ; encoding: [0x05,0x00,0x88,0xd2,0x01,0xff,0x00,0x00]
0x05,0x00,0x88,0xd2,0x01,0xff,0x00,0x00

# CHECK: v_ldexp_f32 v5, v1, 0                   ; encoding: [0x05,0x00,0x88,0xd2,0x01,0x01,0x01,0x00]
0x05,0x00,0x88,0xd2,0x01,0x01,0x01,0x00

# CHECK: v_ldexp_f32 v5, v1, -1                  ; encoding: [0x05,0x00,0x88,0xd2,0x01,0x83,0x01,0x00]
0x05,0x00,0x88,0xd2,0x01,0x83,0x01,0x00

# CHECK: v_ldexp_f32 v5, v1, 0.5                 ; encoding: [0x05,0x00,0x88,0xd2,0x01,0xe1,0x01,0x00]
0x05,0x00,0x88,0xd2,0x01,0xe1,0x01,0x00

# CHECK: v_ldexp_f32 v5, v1, -4.0                ; encoding: [0x05,0x00,0x88,0xd2,0x01,0xef,0x01,0x00]
0x05,0x00,0x88,0xd2,0x01,0xef,0x01,0x00

# CHECK: v_ldexp_f32 v5, -v1, v2                 ; encoding: [0x05,0x00,0x88,0xd2,0x01,0x05,0x02,0x20]
0x05,0x00,0x88,0xd2,0x01,0x05,0x02,0x20

# CHECK: v_ldexp_f32 v5, |v1|, v2                ; encoding: [0x05,0x01,0x88,0xd2,0x01,0x05,0x02,0x00]
0x05,0x01,0x88,0xd2,0x01,0x05,0x02,0x00

# CHECK: v_ldexp_f32 v5, v1, v2 clamp            ; encoding: [0x05,0x80,0x88,0xd2,0x01,0x05,0x02,0x00]
0x05,0x80,0x88,0xd2,0x01,0x05,0x02,0x00

# CHECK: v_ldexp_f32 v5, v1, v2 mul:2            ; encoding: [0x05,0x00,0x88,0xd2,0x01,0x05,0x02,0x08]
0x05,0x00,0x88,0xd2,0x01,0x05,0x02,0x08

# CHECK: v_ldexp_f32 v5, v1, v2 mul:4            ; encoding: [0x05,0x00,0x88,0xd2,0x01,0x05,0x02,0x10]
0x05,0x00,0x88,0xd2,0x01,0x05,0x02,0x10

# CHECK: v_ldexp_f32 v5, v1, v2 div:2            ; encoding: [0x05,0x00,0x88,0xd2,0x01,0x05,0x02,0x18]
0x05,0x00,0x88,0xd2,0x01,0x05,0x02,0x18

# CHECK: v_readlane_b32 s5, v1, s2               ; encoding: [0x05,0x00,0x89,0xd2,0x01,0x05,0x00,0x00]
0x05,0x00,0x89,0xd2,0x01,0x05,0x00,0x00

# CHECK: v_readlane_b32 s101, v1, s2             ; encoding: [0x65,0x00,0x89,0xd2,0x01,0x05,0x00,0x00]
0x65,0x00,0x89,0xd2,0x01,0x05,0x00,0x00

# CHECK: v_readlane_b32 flat_scratch_lo, v1, s2  ; encoding: [0x66,0x00,0x89,0xd2,0x01,0x05,0x00,0x00]
0x66,0x00,0x89,0xd2,0x01,0x05,0x00,0x00

# CHECK: v_readlane_b32 flat_scratch_hi, v1, s2  ; encoding: [0x67,0x00,0x89,0xd2,0x01,0x05,0x00,0x00]
0x67,0x00,0x89,0xd2,0x01,0x05,0x00,0x00

# CHECK: v_readlane_b32 tba_lo, v1, s2           ; encoding: [0x6c,0x00,0x89,0xd2,0x01,0x05,0x00,0x00]
0x6c,0x00,0x89,0xd2,0x01,0x05,0x00,0x00

# CHECK: v_readlane_b32 tba_hi, v1, s2           ; encoding: [0x6d,0x00,0x89,0xd2,0x01,0x05,0x00,0x00]
0x6d,0x00,0x89,0xd2,0x01,0x05,0x00,0x00

# CHECK: v_readlane_b32 tma_lo, v1, s2           ; encoding: [0x6e,0x00,0x89,0xd2,0x01,0x05,0x00,0x00]
0x6e,0x00,0x89,0xd2,0x01,0x05,0x00,0x00

# CHECK: v_readlane_b32 tma_hi, v1, s2           ; encoding: [0x6f,0x00,0x89,0xd2,0x01,0x05,0x00,0x00]
0x6f,0x00,0x89,0xd2,0x01,0x05,0x00,0x00

# CHECK: v_readlane_b32 ttmp11, v1, s2           ; encoding: [0x7b,0x00,0x89,0xd2,0x01,0x05,0x00,0x00]
0x7b,0x00,0x89,0xd2,0x01,0x05,0x00,0x00

# CHECK: v_readlane_b32 s5, v255, s2             ; encoding: [0x05,0x00,0x89,0xd2,0xff,0x05,0x00,0x00]
0x05,0x00,0x89,0xd2,0xff,0x05,0x00,0x00

# CHECK: v_readlane_b32 s5, v1, s101             ; encoding: [0x05,0x00,0x89,0xd2,0x01,0xcb,0x00,0x00]
0x05,0x00,0x89,0xd2,0x01,0xcb,0x00,0x00

# CHECK: v_readlane_b32 s5, v1, flat_scratch_lo  ; encoding: [0x05,0x00,0x89,0xd2,0x01,0xcd,0x00,0x00]
0x05,0x00,0x89,0xd2,0x01,0xcd,0x00,0x00

# CHECK: v_readlane_b32 s5, v1, flat_scratch_hi  ; encoding: [0x05,0x00,0x89,0xd2,0x01,0xcf,0x00,0x00]
0x05,0x00,0x89,0xd2,0x01,0xcf,0x00,0x00

# CHECK: v_readlane_b32 s5, v1, vcc_lo           ; encoding: [0x05,0x00,0x89,0xd2,0x01,0xd5,0x00,0x00]
0x05,0x00,0x89,0xd2,0x01,0xd5,0x00,0x00

# CHECK: v_readlane_b32 s5, v1, vcc_hi           ; encoding: [0x05,0x00,0x89,0xd2,0x01,0xd7,0x00,0x00]
0x05,0x00,0x89,0xd2,0x01,0xd7,0x00,0x00

# CHECK: v_readlane_b32 s5, v1, tba_lo           ; encoding: [0x05,0x00,0x89,0xd2,0x01,0xd9,0x00,0x00]
0x05,0x00,0x89,0xd2,0x01,0xd9,0x00,0x00

# CHECK: v_readlane_b32 s5, v1, tba_hi           ; encoding: [0x05,0x00,0x89,0xd2,0x01,0xdb,0x00,0x00]
0x05,0x00,0x89,0xd2,0x01,0xdb,0x00,0x00

# CHECK: v_readlane_b32 s5, v1, tma_lo           ; encoding: [0x05,0x00,0x89,0xd2,0x01,0xdd,0x00,0x00]
0x05,0x00,0x89,0xd2,0x01,0xdd,0x00,0x00

# CHECK: v_readlane_b32 s5, v1, tma_hi           ; encoding: [0x05,0x00,0x89,0xd2,0x01,0xdf,0x00,0x00]
0x05,0x00,0x89,0xd2,0x01,0xdf,0x00,0x00

# CHECK: v_readlane_b32 s5, v1, ttmp11           ; encoding: [0x05,0x00,0x89,0xd2,0x01,0xf7,0x00,0x00]
0x05,0x00,0x89,0xd2,0x01,0xf7,0x00,0x00

# CHECK: v_readlane_b32 s5, v1, m0               ; encoding: [0x05,0x00,0x89,0xd2,0x01,0xf9,0x00,0x00]
0x05,0x00,0x89,0xd2,0x01,0xf9,0x00,0x00

# CHECK: v_readlane_b32 s5, v1, 0                ; encoding: [0x05,0x00,0x89,0xd2,0x01,0x01,0x01,0x00]
0x05,0x00,0x89,0xd2,0x01,0x01,0x01,0x00

# CHECK: v_writelane_b32 v5, 0, s2               ; encoding: [0x05,0x00,0x8a,0xd2,0x80,0x04,0x00,0x00]
0x05,0x00,0x8a,0xd2,0x80,0x04,0x00,0x00

# CHECK: v_writelane_b32 v255, 0, s2             ; encoding: [0xff,0x00,0x8a,0xd2,0x80,0x04,0x00,0x00]
0xff,0x00,0x8a,0xd2,0x80,0x04,0x00,0x00

# CHECK: v_writelane_b32 v5, -1, s2              ; encoding: [0x05,0x00,0x8a,0xd2,0xc1,0x04,0x00,0x00]
0x05,0x00,0x8a,0xd2,0xc1,0x04,0x00,0x00

# CHECK: v_writelane_b32 v5, 0.5, s2             ; encoding: [0x05,0x00,0x8a,0xd2,0xf0,0x04,0x00,0x00]
0x05,0x00,0x8a,0xd2,0xf0,0x04,0x00,0x00

# CHECK: v_writelane_b32 v5, -4.0, s2            ; encoding: [0x05,0x00,0x8a,0xd2,0xf7,0x04,0x00,0x00]
0x05,0x00,0x8a,0xd2,0xf7,0x04,0x00,0x00

# CHECK: v_writelane_b32 v5, 0, s101             ; encoding: [0x05,0x00,0x8a,0xd2,0x80,0xca,0x00,0x00]
0x05,0x00,0x8a,0xd2,0x80,0xca,0x00,0x00

# CHECK: v_writelane_b32 v5, 0, flat_scratch_lo  ; encoding: [0x05,0x00,0x8a,0xd2,0x80,0xcc,0x00,0x00]
0x05,0x00,0x8a,0xd2,0x80,0xcc,0x00,0x00

# CHECK: v_writelane_b32 v5, 0, flat_scratch_hi  ; encoding: [0x05,0x00,0x8a,0xd2,0x80,0xce,0x00,0x00]
0x05,0x00,0x8a,0xd2,0x80,0xce,0x00,0x00

# CHECK: v_writelane_b32 v5, 0, vcc_lo           ; encoding: [0x05,0x00,0x8a,0xd2,0x80,0xd4,0x00,0x00]
0x05,0x00,0x8a,0xd2,0x80,0xd4,0x00,0x00

# CHECK: v_writelane_b32 v5, 0, vcc_hi           ; encoding: [0x05,0x00,0x8a,0xd2,0x80,0xd6,0x00,0x00]
0x05,0x00,0x8a,0xd2,0x80,0xd6,0x00,0x00

# CHECK: v_writelane_b32 v5, 0, tba_lo           ; encoding: [0x05,0x00,0x8a,0xd2,0x80,0xd8,0x00,0x00]
0x05,0x00,0x8a,0xd2,0x80,0xd8,0x00,0x00

# CHECK: v_writelane_b32 v5, 0, tba_hi           ; encoding: [0x05,0x00,0x8a,0xd2,0x80,0xda,0x00,0x00]
0x05,0x00,0x8a,0xd2,0x80,0xda,0x00,0x00

# CHECK: v_writelane_b32 v5, 0, tma_lo           ; encoding: [0x05,0x00,0x8a,0xd2,0x80,0xdc,0x00,0x00]
0x05,0x00,0x8a,0xd2,0x80,0xdc,0x00,0x00

# CHECK: v_writelane_b32 v5, 0, tma_hi           ; encoding: [0x05,0x00,0x8a,0xd2,0x80,0xde,0x00,0x00]
0x05,0x00,0x8a,0xd2,0x80,0xde,0x00,0x00

# CHECK: v_writelane_b32 v5, 0, ttmp11           ; encoding: [0x05,0x00,0x8a,0xd2,0x80,0xf6,0x00,0x00]
0x05,0x00,0x8a,0xd2,0x80,0xf6,0x00,0x00

# CHECK: v_writelane_b32 v5, 0, m0               ; encoding: [0x05,0x00,0x8a,0xd2,0x80,0xf8,0x00,0x00]
0x05,0x00,0x8a,0xd2,0x80,0xf8,0x00,0x00

# CHECK: v_writelane_b32 v5, 0, 0                ; encoding: [0x05,0x00,0x8a,0xd2,0x80,0x00,0x01,0x00]
0x05,0x00,0x8a,0xd2,0x80,0x00,0x01,0x00

# CHECK: v_bcnt_u32_b32 v5, v1, v2               ; encoding: [0x05,0x00,0x8b,0xd2,0x01,0x05,0x02,0x00]
0x05,0x00,0x8b,0xd2,0x01,0x05,0x02,0x00

# CHECK: v_bcnt_u32_b32 v255, v1, v2             ; encoding: [0xff,0x00,0x8b,0xd2,0x01,0x05,0x02,0x00]
0xff,0x00,0x8b,0xd2,0x01,0x05,0x02,0x00

# CHECK: v_bcnt_u32_b32 v5, v255, v2             ; encoding: [0x05,0x00,0x8b,0xd2,0xff,0x05,0x02,0x00]
0x05,0x00,0x8b,0xd2,0xff,0x05,0x02,0x00

# CHECK: v_bcnt_u32_b32 v5, s1, v2               ; encoding: [0x05,0x00,0x8b,0xd2,0x01,0x04,0x02,0x00]
0x05,0x00,0x8b,0xd2,0x01,0x04,0x02,0x00

# CHECK: v_bcnt_u32_b32 v5, s101, v2             ; encoding: [0x05,0x00,0x8b,0xd2,0x65,0x04,0x02,0x00]
0x05,0x00,0x8b,0xd2,0x65,0x04,0x02,0x00

# CHECK: v_bcnt_u32_b32 v5, flat_scratch_lo, v2  ; encoding: [0x05,0x00,0x8b,0xd2,0x66,0x04,0x02,0x00]
0x05,0x00,0x8b,0xd2,0x66,0x04,0x02,0x00

# CHECK: v_bcnt_u32_b32 v5, flat_scratch_hi, v2  ; encoding: [0x05,0x00,0x8b,0xd2,0x67,0x04,0x02,0x00]
0x05,0x00,0x8b,0xd2,0x67,0x04,0x02,0x00

# CHECK: v_bcnt_u32_b32 v5, vcc_lo, v2           ; encoding: [0x05,0x00,0x8b,0xd2,0x6a,0x04,0x02,0x00]
0x05,0x00,0x8b,0xd2,0x6a,0x04,0x02,0x00

# CHECK: v_bcnt_u32_b32 v5, vcc_hi, v2           ; encoding: [0x05,0x00,0x8b,0xd2,0x6b,0x04,0x02,0x00]
0x05,0x00,0x8b,0xd2,0x6b,0x04,0x02,0x00

# CHECK: v_bcnt_u32_b32 v5, tba_lo, v2           ; encoding: [0x05,0x00,0x8b,0xd2,0x6c,0x04,0x02,0x00]
0x05,0x00,0x8b,0xd2,0x6c,0x04,0x02,0x00

# CHECK: v_bcnt_u32_b32 v5, tba_hi, v2           ; encoding: [0x05,0x00,0x8b,0xd2,0x6d,0x04,0x02,0x00]
0x05,0x00,0x8b,0xd2,0x6d,0x04,0x02,0x00

# CHECK: v_bcnt_u32_b32 v5, tma_lo, v2           ; encoding: [0x05,0x00,0x8b,0xd2,0x6e,0x04,0x02,0x00]
0x05,0x00,0x8b,0xd2,0x6e,0x04,0x02,0x00

# CHECK: v_bcnt_u32_b32 v5, tma_hi, v2           ; encoding: [0x05,0x00,0x8b,0xd2,0x6f,0x04,0x02,0x00]
0x05,0x00,0x8b,0xd2,0x6f,0x04,0x02,0x00

# CHECK: v_bcnt_u32_b32 v5, ttmp11, v2           ; encoding: [0x05,0x00,0x8b,0xd2,0x7b,0x04,0x02,0x00]
0x05,0x00,0x8b,0xd2,0x7b,0x04,0x02,0x00

# CHECK: v_bcnt_u32_b32 v5, m0, v2               ; encoding: [0x05,0x00,0x8b,0xd2,0x7c,0x04,0x02,0x00]
0x05,0x00,0x8b,0xd2,0x7c,0x04,0x02,0x00

# CHECK: v_bcnt_u32_b32 v5, exec_lo, v2          ; encoding: [0x05,0x00,0x8b,0xd2,0x7e,0x04,0x02,0x00]
0x05,0x00,0x8b,0xd2,0x7e,0x04,0x02,0x00

# CHECK: v_bcnt_u32_b32 v5, exec_hi, v2          ; encoding: [0x05,0x00,0x8b,0xd2,0x7f,0x04,0x02,0x00]
0x05,0x00,0x8b,0xd2,0x7f,0x04,0x02,0x00

# CHECK: v_bcnt_u32_b32 v5, 0, v2                ; encoding: [0x05,0x00,0x8b,0xd2,0x80,0x04,0x02,0x00]
0x05,0x00,0x8b,0xd2,0x80,0x04,0x02,0x00

# CHECK: v_bcnt_u32_b32 v5, -1, v2               ; encoding: [0x05,0x00,0x8b,0xd2,0xc1,0x04,0x02,0x00]
0x05,0x00,0x8b,0xd2,0xc1,0x04,0x02,0x00

# CHECK: v_bcnt_u32_b32 v5, 0.5, v2              ; encoding: [0x05,0x00,0x8b,0xd2,0xf0,0x04,0x02,0x00]
0x05,0x00,0x8b,0xd2,0xf0,0x04,0x02,0x00

# CHECK: v_bcnt_u32_b32 v5, -4.0, v2             ; encoding: [0x05,0x00,0x8b,0xd2,0xf7,0x04,0x02,0x00]
0x05,0x00,0x8b,0xd2,0xf7,0x04,0x02,0x00

# CHECK: v_bcnt_u32_b32 v5, v1, v255             ; encoding: [0x05,0x00,0x8b,0xd2,0x01,0xff,0x03,0x00]
0x05,0x00,0x8b,0xd2,0x01,0xff,0x03,0x00

# CHECK: v_bcnt_u32_b32 v5, v1, s2               ; encoding: [0x05,0x00,0x8b,0xd2,0x01,0x05,0x00,0x00]
0x05,0x00,0x8b,0xd2,0x01,0x05,0x00,0x00

# CHECK: v_bcnt_u32_b32 v5, v1, s101             ; encoding: [0x05,0x00,0x8b,0xd2,0x01,0xcb,0x00,0x00]
0x05,0x00,0x8b,0xd2,0x01,0xcb,0x00,0x00

# CHECK: v_bcnt_u32_b32 v5, v1, flat_scratch_lo  ; encoding: [0x05,0x00,0x8b,0xd2,0x01,0xcd,0x00,0x00]
0x05,0x00,0x8b,0xd2,0x01,0xcd,0x00,0x00

# CHECK: v_bcnt_u32_b32 v5, v1, flat_scratch_hi  ; encoding: [0x05,0x00,0x8b,0xd2,0x01,0xcf,0x00,0x00]
0x05,0x00,0x8b,0xd2,0x01,0xcf,0x00,0x00

# CHECK: v_bcnt_u32_b32 v5, v1, vcc_lo           ; encoding: [0x05,0x00,0x8b,0xd2,0x01,0xd5,0x00,0x00]
0x05,0x00,0x8b,0xd2,0x01,0xd5,0x00,0x00

# CHECK: v_bcnt_u32_b32 v5, v1, vcc_hi           ; encoding: [0x05,0x00,0x8b,0xd2,0x01,0xd7,0x00,0x00]
0x05,0x00,0x8b,0xd2,0x01,0xd7,0x00,0x00

# CHECK: v_bcnt_u32_b32 v5, v1, tba_lo           ; encoding: [0x05,0x00,0x8b,0xd2,0x01,0xd9,0x00,0x00]
0x05,0x00,0x8b,0xd2,0x01,0xd9,0x00,0x00

# CHECK: v_bcnt_u32_b32 v5, v1, tba_hi           ; encoding: [0x05,0x00,0x8b,0xd2,0x01,0xdb,0x00,0x00]
0x05,0x00,0x8b,0xd2,0x01,0xdb,0x00,0x00

# CHECK: v_bcnt_u32_b32 v5, v1, tma_lo           ; encoding: [0x05,0x00,0x8b,0xd2,0x01,0xdd,0x00,0x00]
0x05,0x00,0x8b,0xd2,0x01,0xdd,0x00,0x00

# CHECK: v_bcnt_u32_b32 v5, v1, tma_hi           ; encoding: [0x05,0x00,0x8b,0xd2,0x01,0xdf,0x00,0x00]
0x05,0x00,0x8b,0xd2,0x01,0xdf,0x00,0x00

# CHECK: v_bcnt_u32_b32 v5, v1, ttmp11           ; encoding: [0x05,0x00,0x8b,0xd2,0x01,0xf7,0x00,0x00]
0x05,0x00,0x8b,0xd2,0x01,0xf7,0x00,0x00

# CHECK: v_bcnt_u32_b32 v5, v1, m0               ; encoding: [0x05,0x00,0x8b,0xd2,0x01,0xf9,0x00,0x00]
0x05,0x00,0x8b,0xd2,0x01,0xf9,0x00,0x00

# CHECK: v_bcnt_u32_b32 v5, v1, exec_lo          ; encoding: [0x05,0x00,0x8b,0xd2,0x01,0xfd,0x00,0x00]
0x05,0x00,0x8b,0xd2,0x01,0xfd,0x00,0x00

# CHECK: v_bcnt_u32_b32 v5, v1, exec_hi          ; encoding: [0x05,0x00,0x8b,0xd2,0x01,0xff,0x00,0x00]
0x05,0x00,0x8b,0xd2,0x01,0xff,0x00,0x00

# CHECK: v_bcnt_u32_b32 v5, v1, 0                ; encoding: [0x05,0x00,0x8b,0xd2,0x01,0x01,0x01,0x00]
0x05,0x00,0x8b,0xd2,0x01,0x01,0x01,0x00

# CHECK: v_bcnt_u32_b32 v5, v1, -1               ; encoding: [0x05,0x00,0x8b,0xd2,0x01,0x83,0x01,0x00]
0x05,0x00,0x8b,0xd2,0x01,0x83,0x01,0x00

# CHECK: v_bcnt_u32_b32 v5, v1, 0.5              ; encoding: [0x05,0x00,0x8b,0xd2,0x01,0xe1,0x01,0x00]
0x05,0x00,0x8b,0xd2,0x01,0xe1,0x01,0x00

# CHECK: v_bcnt_u32_b32 v5, v1, -4.0             ; encoding: [0x05,0x00,0x8b,0xd2,0x01,0xef,0x01,0x00]
0x05,0x00,0x8b,0xd2,0x01,0xef,0x01,0x00

# CHECK: v_mbcnt_lo_u32_b32 v5, v1, v2           ; encoding: [0x05,0x00,0x8c,0xd2,0x01,0x05,0x02,0x00]
0x05,0x00,0x8c,0xd2,0x01,0x05,0x02,0x00

# CHECK: v_mbcnt_lo_u32_b32 v255, v1, v2         ; encoding: [0xff,0x00,0x8c,0xd2,0x01,0x05,0x02,0x00]
0xff,0x00,0x8c,0xd2,0x01,0x05,0x02,0x00

# CHECK: v_mbcnt_lo_u32_b32 v5, v255, v2         ; encoding: [0x05,0x00,0x8c,0xd2,0xff,0x05,0x02,0x00]
0x05,0x00,0x8c,0xd2,0xff,0x05,0x02,0x00

# CHECK: v_mbcnt_lo_u32_b32 v5, s1, v2           ; encoding: [0x05,0x00,0x8c,0xd2,0x01,0x04,0x02,0x00]
0x05,0x00,0x8c,0xd2,0x01,0x04,0x02,0x00

# CHECK: v_mbcnt_lo_u32_b32 v5, s101, v2         ; encoding: [0x05,0x00,0x8c,0xd2,0x65,0x04,0x02,0x00]
0x05,0x00,0x8c,0xd2,0x65,0x04,0x02,0x00

# CHECK: v_mbcnt_lo_u32_b32 v5, flat_scratch_lo, v2 ; encoding: [0x05,0x00,0x8c,0xd2,0x66,0x04,0x02,0x00]
0x05,0x00,0x8c,0xd2,0x66,0x04,0x02,0x00

# CHECK: v_mbcnt_lo_u32_b32 v5, flat_scratch_hi, v2 ; encoding: [0x05,0x00,0x8c,0xd2,0x67,0x04,0x02,0x00]
0x05,0x00,0x8c,0xd2,0x67,0x04,0x02,0x00

# CHECK: v_mbcnt_lo_u32_b32 v5, vcc_lo, v2       ; encoding: [0x05,0x00,0x8c,0xd2,0x6a,0x04,0x02,0x00]
0x05,0x00,0x8c,0xd2,0x6a,0x04,0x02,0x00

# CHECK: v_mbcnt_lo_u32_b32 v5, vcc_hi, v2       ; encoding: [0x05,0x00,0x8c,0xd2,0x6b,0x04,0x02,0x00]
0x05,0x00,0x8c,0xd2,0x6b,0x04,0x02,0x00

# CHECK: v_mbcnt_lo_u32_b32 v5, tba_lo, v2       ; encoding: [0x05,0x00,0x8c,0xd2,0x6c,0x04,0x02,0x00]
0x05,0x00,0x8c,0xd2,0x6c,0x04,0x02,0x00

# CHECK: v_mbcnt_lo_u32_b32 v5, tba_hi, v2       ; encoding: [0x05,0x00,0x8c,0xd2,0x6d,0x04,0x02,0x00]
0x05,0x00,0x8c,0xd2,0x6d,0x04,0x02,0x00

# CHECK: v_mbcnt_lo_u32_b32 v5, tma_lo, v2       ; encoding: [0x05,0x00,0x8c,0xd2,0x6e,0x04,0x02,0x00]
0x05,0x00,0x8c,0xd2,0x6e,0x04,0x02,0x00

# CHECK: v_mbcnt_lo_u32_b32 v5, tma_hi, v2       ; encoding: [0x05,0x00,0x8c,0xd2,0x6f,0x04,0x02,0x00]
0x05,0x00,0x8c,0xd2,0x6f,0x04,0x02,0x00

# CHECK: v_mbcnt_lo_u32_b32 v5, ttmp11, v2       ; encoding: [0x05,0x00,0x8c,0xd2,0x7b,0x04,0x02,0x00]
0x05,0x00,0x8c,0xd2,0x7b,0x04,0x02,0x00

# CHECK: v_mbcnt_lo_u32_b32 v5, m0, v2           ; encoding: [0x05,0x00,0x8c,0xd2,0x7c,0x04,0x02,0x00]
0x05,0x00,0x8c,0xd2,0x7c,0x04,0x02,0x00

# CHECK: v_mbcnt_lo_u32_b32 v5, exec_lo, v2      ; encoding: [0x05,0x00,0x8c,0xd2,0x7e,0x04,0x02,0x00]
0x05,0x00,0x8c,0xd2,0x7e,0x04,0x02,0x00

# CHECK: v_mbcnt_lo_u32_b32 v5, exec_hi, v2      ; encoding: [0x05,0x00,0x8c,0xd2,0x7f,0x04,0x02,0x00]
0x05,0x00,0x8c,0xd2,0x7f,0x04,0x02,0x00

# CHECK: v_mbcnt_lo_u32_b32 v5, 0, v2            ; encoding: [0x05,0x00,0x8c,0xd2,0x80,0x04,0x02,0x00]
0x05,0x00,0x8c,0xd2,0x80,0x04,0x02,0x00

# CHECK: v_mbcnt_lo_u32_b32 v5, -1, v2           ; encoding: [0x05,0x00,0x8c,0xd2,0xc1,0x04,0x02,0x00]
0x05,0x00,0x8c,0xd2,0xc1,0x04,0x02,0x00

# CHECK: v_mbcnt_lo_u32_b32 v5, 0.5, v2          ; encoding: [0x05,0x00,0x8c,0xd2,0xf0,0x04,0x02,0x00]
0x05,0x00,0x8c,0xd2,0xf0,0x04,0x02,0x00

# CHECK: v_mbcnt_lo_u32_b32 v5, -4.0, v2         ; encoding: [0x05,0x00,0x8c,0xd2,0xf7,0x04,0x02,0x00]
0x05,0x00,0x8c,0xd2,0xf7,0x04,0x02,0x00

# CHECK: v_mbcnt_lo_u32_b32 v5, v1, v255         ; encoding: [0x05,0x00,0x8c,0xd2,0x01,0xff,0x03,0x00]
0x05,0x00,0x8c,0xd2,0x01,0xff,0x03,0x00

# CHECK: v_mbcnt_lo_u32_b32 v5, v1, s2           ; encoding: [0x05,0x00,0x8c,0xd2,0x01,0x05,0x00,0x00]
0x05,0x00,0x8c,0xd2,0x01,0x05,0x00,0x00

# CHECK: v_mbcnt_lo_u32_b32 v5, v1, s101         ; encoding: [0x05,0x00,0x8c,0xd2,0x01,0xcb,0x00,0x00]
0x05,0x00,0x8c,0xd2,0x01,0xcb,0x00,0x00

# CHECK: v_mbcnt_lo_u32_b32 v5, v1, flat_scratch_lo ; encoding: [0x05,0x00,0x8c,0xd2,0x01,0xcd,0x00,0x00]
0x05,0x00,0x8c,0xd2,0x01,0xcd,0x00,0x00

# CHECK: v_mbcnt_lo_u32_b32 v5, v1, flat_scratch_hi ; encoding: [0x05,0x00,0x8c,0xd2,0x01,0xcf,0x00,0x00]
0x05,0x00,0x8c,0xd2,0x01,0xcf,0x00,0x00

# CHECK: v_mbcnt_lo_u32_b32 v5, v1, vcc_lo       ; encoding: [0x05,0x00,0x8c,0xd2,0x01,0xd5,0x00,0x00]
0x05,0x00,0x8c,0xd2,0x01,0xd5,0x00,0x00

# CHECK: v_mbcnt_lo_u32_b32 v5, v1, vcc_hi       ; encoding: [0x05,0x00,0x8c,0xd2,0x01,0xd7,0x00,0x00]
0x05,0x00,0x8c,0xd2,0x01,0xd7,0x00,0x00

# CHECK: v_mbcnt_lo_u32_b32 v5, v1, tba_lo       ; encoding: [0x05,0x00,0x8c,0xd2,0x01,0xd9,0x00,0x00]
0x05,0x00,0x8c,0xd2,0x01,0xd9,0x00,0x00

# CHECK: v_mbcnt_lo_u32_b32 v5, v1, tba_hi       ; encoding: [0x05,0x00,0x8c,0xd2,0x01,0xdb,0x00,0x00]
0x05,0x00,0x8c,0xd2,0x01,0xdb,0x00,0x00

# CHECK: v_mbcnt_lo_u32_b32 v5, v1, tma_lo       ; encoding: [0x05,0x00,0x8c,0xd2,0x01,0xdd,0x00,0x00]
0x05,0x00,0x8c,0xd2,0x01,0xdd,0x00,0x00

# CHECK: v_mbcnt_lo_u32_b32 v5, v1, tma_hi       ; encoding: [0x05,0x00,0x8c,0xd2,0x01,0xdf,0x00,0x00]
0x05,0x00,0x8c,0xd2,0x01,0xdf,0x00,0x00

# CHECK: v_mbcnt_lo_u32_b32 v5, v1, ttmp11       ; encoding: [0x05,0x00,0x8c,0xd2,0x01,0xf7,0x00,0x00]
0x05,0x00,0x8c,0xd2,0x01,0xf7,0x00,0x00

# CHECK: v_mbcnt_lo_u32_b32 v5, v1, m0           ; encoding: [0x05,0x00,0x8c,0xd2,0x01,0xf9,0x00,0x00]
0x05,0x00,0x8c,0xd2,0x01,0xf9,0x00,0x00

# CHECK: v_mbcnt_lo_u32_b32 v5, v1, exec_lo      ; encoding: [0x05,0x00,0x8c,0xd2,0x01,0xfd,0x00,0x00]
0x05,0x00,0x8c,0xd2,0x01,0xfd,0x00,0x00

# CHECK: v_mbcnt_lo_u32_b32 v5, v1, exec_hi      ; encoding: [0x05,0x00,0x8c,0xd2,0x01,0xff,0x00,0x00]
0x05,0x00,0x8c,0xd2,0x01,0xff,0x00,0x00

# CHECK: v_mbcnt_lo_u32_b32 v5, v1, 0            ; encoding: [0x05,0x00,0x8c,0xd2,0x01,0x01,0x01,0x00]
0x05,0x00,0x8c,0xd2,0x01,0x01,0x01,0x00

# CHECK: v_mbcnt_lo_u32_b32 v5, v1, -1           ; encoding: [0x05,0x00,0x8c,0xd2,0x01,0x83,0x01,0x00]
0x05,0x00,0x8c,0xd2,0x01,0x83,0x01,0x00

# CHECK: v_mbcnt_lo_u32_b32 v5, v1, 0.5          ; encoding: [0x05,0x00,0x8c,0xd2,0x01,0xe1,0x01,0x00]
0x05,0x00,0x8c,0xd2,0x01,0xe1,0x01,0x00

# CHECK: v_mbcnt_lo_u32_b32 v5, v1, -4.0         ; encoding: [0x05,0x00,0x8c,0xd2,0x01,0xef,0x01,0x00]
0x05,0x00,0x8c,0xd2,0x01,0xef,0x01,0x00

# CHECK: v_mbcnt_hi_u32_b32 v5, v1, v2           ; encoding: [0x05,0x00,0x8d,0xd2,0x01,0x05,0x02,0x00]
0x05,0x00,0x8d,0xd2,0x01,0x05,0x02,0x00

# CHECK: v_mbcnt_hi_u32_b32 v255, v1, v2         ; encoding: [0xff,0x00,0x8d,0xd2,0x01,0x05,0x02,0x00]
0xff,0x00,0x8d,0xd2,0x01,0x05,0x02,0x00

# CHECK: v_mbcnt_hi_u32_b32 v5, v255, v2         ; encoding: [0x05,0x00,0x8d,0xd2,0xff,0x05,0x02,0x00]
0x05,0x00,0x8d,0xd2,0xff,0x05,0x02,0x00

# CHECK: v_mbcnt_hi_u32_b32 v5, s1, v2           ; encoding: [0x05,0x00,0x8d,0xd2,0x01,0x04,0x02,0x00]
0x05,0x00,0x8d,0xd2,0x01,0x04,0x02,0x00

# CHECK: v_mbcnt_hi_u32_b32 v5, s101, v2         ; encoding: [0x05,0x00,0x8d,0xd2,0x65,0x04,0x02,0x00]
0x05,0x00,0x8d,0xd2,0x65,0x04,0x02,0x00

# CHECK: v_mbcnt_hi_u32_b32 v5, flat_scratch_lo, v2 ; encoding: [0x05,0x00,0x8d,0xd2,0x66,0x04,0x02,0x00]
0x05,0x00,0x8d,0xd2,0x66,0x04,0x02,0x00

# CHECK: v_mbcnt_hi_u32_b32 v5, flat_scratch_hi, v2 ; encoding: [0x05,0x00,0x8d,0xd2,0x67,0x04,0x02,0x00]
0x05,0x00,0x8d,0xd2,0x67,0x04,0x02,0x00

# CHECK: v_mbcnt_hi_u32_b32 v5, vcc_lo, v2       ; encoding: [0x05,0x00,0x8d,0xd2,0x6a,0x04,0x02,0x00]
0x05,0x00,0x8d,0xd2,0x6a,0x04,0x02,0x00

# CHECK: v_mbcnt_hi_u32_b32 v5, vcc_hi, v2       ; encoding: [0x05,0x00,0x8d,0xd2,0x6b,0x04,0x02,0x00]
0x05,0x00,0x8d,0xd2,0x6b,0x04,0x02,0x00

# CHECK: v_mbcnt_hi_u32_b32 v5, tba_lo, v2       ; encoding: [0x05,0x00,0x8d,0xd2,0x6c,0x04,0x02,0x00]
0x05,0x00,0x8d,0xd2,0x6c,0x04,0x02,0x00

# CHECK: v_mbcnt_hi_u32_b32 v5, tba_hi, v2       ; encoding: [0x05,0x00,0x8d,0xd2,0x6d,0x04,0x02,0x00]
0x05,0x00,0x8d,0xd2,0x6d,0x04,0x02,0x00

# CHECK: v_mbcnt_hi_u32_b32 v5, tma_lo, v2       ; encoding: [0x05,0x00,0x8d,0xd2,0x6e,0x04,0x02,0x00]
0x05,0x00,0x8d,0xd2,0x6e,0x04,0x02,0x00

# CHECK: v_mbcnt_hi_u32_b32 v5, tma_hi, v2       ; encoding: [0x05,0x00,0x8d,0xd2,0x6f,0x04,0x02,0x00]
0x05,0x00,0x8d,0xd2,0x6f,0x04,0x02,0x00

# CHECK: v_mbcnt_hi_u32_b32 v5, ttmp11, v2       ; encoding: [0x05,0x00,0x8d,0xd2,0x7b,0x04,0x02,0x00]
0x05,0x00,0x8d,0xd2,0x7b,0x04,0x02,0x00

# CHECK: v_mbcnt_hi_u32_b32 v5, m0, v2           ; encoding: [0x05,0x00,0x8d,0xd2,0x7c,0x04,0x02,0x00]
0x05,0x00,0x8d,0xd2,0x7c,0x04,0x02,0x00

# CHECK: v_mbcnt_hi_u32_b32 v5, exec_lo, v2      ; encoding: [0x05,0x00,0x8d,0xd2,0x7e,0x04,0x02,0x00]
0x05,0x00,0x8d,0xd2,0x7e,0x04,0x02,0x00

# CHECK: v_mbcnt_hi_u32_b32 v5, exec_hi, v2      ; encoding: [0x05,0x00,0x8d,0xd2,0x7f,0x04,0x02,0x00]
0x05,0x00,0x8d,0xd2,0x7f,0x04,0x02,0x00

# CHECK: v_mbcnt_hi_u32_b32 v5, 0, v2            ; encoding: [0x05,0x00,0x8d,0xd2,0x80,0x04,0x02,0x00]
0x05,0x00,0x8d,0xd2,0x80,0x04,0x02,0x00

# CHECK: v_mbcnt_hi_u32_b32 v5, -1, v2           ; encoding: [0x05,0x00,0x8d,0xd2,0xc1,0x04,0x02,0x00]
0x05,0x00,0x8d,0xd2,0xc1,0x04,0x02,0x00

# CHECK: v_mbcnt_hi_u32_b32 v5, 0.5, v2          ; encoding: [0x05,0x00,0x8d,0xd2,0xf0,0x04,0x02,0x00]
0x05,0x00,0x8d,0xd2,0xf0,0x04,0x02,0x00

# CHECK: v_mbcnt_hi_u32_b32 v5, -4.0, v2         ; encoding: [0x05,0x00,0x8d,0xd2,0xf7,0x04,0x02,0x00]
0x05,0x00,0x8d,0xd2,0xf7,0x04,0x02,0x00

# CHECK: v_mbcnt_hi_u32_b32 v5, v1, v255         ; encoding: [0x05,0x00,0x8d,0xd2,0x01,0xff,0x03,0x00]
0x05,0x00,0x8d,0xd2,0x01,0xff,0x03,0x00

# CHECK: v_mbcnt_hi_u32_b32 v5, v1, s2           ; encoding: [0x05,0x00,0x8d,0xd2,0x01,0x05,0x00,0x00]
0x05,0x00,0x8d,0xd2,0x01,0x05,0x00,0x00

# CHECK: v_mbcnt_hi_u32_b32 v5, v1, s101         ; encoding: [0x05,0x00,0x8d,0xd2,0x01,0xcb,0x00,0x00]
0x05,0x00,0x8d,0xd2,0x01,0xcb,0x00,0x00

# CHECK: v_mbcnt_hi_u32_b32 v5, v1, flat_scratch_lo ; encoding: [0x05,0x00,0x8d,0xd2,0x01,0xcd,0x00,0x00]
0x05,0x00,0x8d,0xd2,0x01,0xcd,0x00,0x00

# CHECK: v_mbcnt_hi_u32_b32 v5, v1, flat_scratch_hi ; encoding: [0x05,0x00,0x8d,0xd2,0x01,0xcf,0x00,0x00]
0x05,0x00,0x8d,0xd2,0x01,0xcf,0x00,0x00

# CHECK: v_mbcnt_hi_u32_b32 v5, v1, vcc_lo       ; encoding: [0x05,0x00,0x8d,0xd2,0x01,0xd5,0x00,0x00]
0x05,0x00,0x8d,0xd2,0x01,0xd5,0x00,0x00

# CHECK: v_mbcnt_hi_u32_b32 v5, v1, vcc_hi       ; encoding: [0x05,0x00,0x8d,0xd2,0x01,0xd7,0x00,0x00]
0x05,0x00,0x8d,0xd2,0x01,0xd7,0x00,0x00

# CHECK: v_mbcnt_hi_u32_b32 v5, v1, tba_lo       ; encoding: [0x05,0x00,0x8d,0xd2,0x01,0xd9,0x00,0x00]
0x05,0x00,0x8d,0xd2,0x01,0xd9,0x00,0x00

# CHECK: v_mbcnt_hi_u32_b32 v5, v1, tba_hi       ; encoding: [0x05,0x00,0x8d,0xd2,0x01,0xdb,0x00,0x00]
0x05,0x00,0x8d,0xd2,0x01,0xdb,0x00,0x00

# CHECK: v_mbcnt_hi_u32_b32 v5, v1, tma_lo       ; encoding: [0x05,0x00,0x8d,0xd2,0x01,0xdd,0x00,0x00]
0x05,0x00,0x8d,0xd2,0x01,0xdd,0x00,0x00

# CHECK: v_mbcnt_hi_u32_b32 v5, v1, tma_hi       ; encoding: [0x05,0x00,0x8d,0xd2,0x01,0xdf,0x00,0x00]
0x05,0x00,0x8d,0xd2,0x01,0xdf,0x00,0x00

# CHECK: v_mbcnt_hi_u32_b32 v5, v1, ttmp11       ; encoding: [0x05,0x00,0x8d,0xd2,0x01,0xf7,0x00,0x00]
0x05,0x00,0x8d,0xd2,0x01,0xf7,0x00,0x00

# CHECK: v_mbcnt_hi_u32_b32 v5, v1, m0           ; encoding: [0x05,0x00,0x8d,0xd2,0x01,0xf9,0x00,0x00]
0x05,0x00,0x8d,0xd2,0x01,0xf9,0x00,0x00

# CHECK: v_mbcnt_hi_u32_b32 v5, v1, exec_lo      ; encoding: [0x05,0x00,0x8d,0xd2,0x01,0xfd,0x00,0x00]
0x05,0x00,0x8d,0xd2,0x01,0xfd,0x00,0x00

# CHECK: v_mbcnt_hi_u32_b32 v5, v1, exec_hi      ; encoding: [0x05,0x00,0x8d,0xd2,0x01,0xff,0x00,0x00]
0x05,0x00,0x8d,0xd2,0x01,0xff,0x00,0x00

# CHECK: v_mbcnt_hi_u32_b32 v5, v1, 0            ; encoding: [0x05,0x00,0x8d,0xd2,0x01,0x01,0x01,0x00]
0x05,0x00,0x8d,0xd2,0x01,0x01,0x01,0x00

# CHECK: v_mbcnt_hi_u32_b32 v5, v1, -1           ; encoding: [0x05,0x00,0x8d,0xd2,0x01,0x83,0x01,0x00]
0x05,0x00,0x8d,0xd2,0x01,0x83,0x01,0x00

# CHECK: v_mbcnt_hi_u32_b32 v5, v1, 0.5          ; encoding: [0x05,0x00,0x8d,0xd2,0x01,0xe1,0x01,0x00]
0x05,0x00,0x8d,0xd2,0x01,0xe1,0x01,0x00

# CHECK: v_mbcnt_hi_u32_b32 v5, v1, -4.0         ; encoding: [0x05,0x00,0x8d,0xd2,0x01,0xef,0x01,0x00]
0x05,0x00,0x8d,0xd2,0x01,0xef,0x01,0x00

# CHECK: v_lshlrev_b64 v[5:6], v1, v[2:3]        ; encoding: [0x05,0x00,0x8f,0xd2,0x01,0x05,0x02,0x00]
0x05,0x00,0x8f,0xd2,0x01,0x05,0x02,0x00

# CHECK: v_lshlrev_b64 v[254:255], v1, v[2:3]    ; encoding: [0xfe,0x00,0x8f,0xd2,0x01,0x05,0x02,0x00]
0xfe,0x00,0x8f,0xd2,0x01,0x05,0x02,0x00

# CHECK: v_lshlrev_b64 v[5:6], v255, v[2:3]      ; encoding: [0x05,0x00,0x8f,0xd2,0xff,0x05,0x02,0x00]
0x05,0x00,0x8f,0xd2,0xff,0x05,0x02,0x00

# CHECK: v_lshlrev_b64 v[5:6], s1, v[2:3]        ; encoding: [0x05,0x00,0x8f,0xd2,0x01,0x04,0x02,0x00]
0x05,0x00,0x8f,0xd2,0x01,0x04,0x02,0x00

# CHECK: v_lshlrev_b64 v[5:6], s101, v[2:3]      ; encoding: [0x05,0x00,0x8f,0xd2,0x65,0x04,0x02,0x00]
0x05,0x00,0x8f,0xd2,0x65,0x04,0x02,0x00

# CHECK: v_lshlrev_b64 v[5:6], flat_scratch_lo, v[2:3] ; encoding: [0x05,0x00,0x8f,0xd2,0x66,0x04,0x02,0x00]
0x05,0x00,0x8f,0xd2,0x66,0x04,0x02,0x00

# CHECK: v_lshlrev_b64 v[5:6], flat_scratch_hi, v[2:3] ; encoding: [0x05,0x00,0x8f,0xd2,0x67,0x04,0x02,0x00]
0x05,0x00,0x8f,0xd2,0x67,0x04,0x02,0x00

# CHECK: v_lshlrev_b64 v[5:6], vcc_lo, v[2:3]    ; encoding: [0x05,0x00,0x8f,0xd2,0x6a,0x04,0x02,0x00]
0x05,0x00,0x8f,0xd2,0x6a,0x04,0x02,0x00

# CHECK: v_lshlrev_b64 v[5:6], vcc_hi, v[2:3]    ; encoding: [0x05,0x00,0x8f,0xd2,0x6b,0x04,0x02,0x00]
0x05,0x00,0x8f,0xd2,0x6b,0x04,0x02,0x00

# CHECK: v_lshlrev_b64 v[5:6], tba_lo, v[2:3]    ; encoding: [0x05,0x00,0x8f,0xd2,0x6c,0x04,0x02,0x00]
0x05,0x00,0x8f,0xd2,0x6c,0x04,0x02,0x00

# CHECK: v_lshlrev_b64 v[5:6], tba_hi, v[2:3]    ; encoding: [0x05,0x00,0x8f,0xd2,0x6d,0x04,0x02,0x00]
0x05,0x00,0x8f,0xd2,0x6d,0x04,0x02,0x00

# CHECK: v_lshlrev_b64 v[5:6], tma_lo, v[2:3]    ; encoding: [0x05,0x00,0x8f,0xd2,0x6e,0x04,0x02,0x00]
0x05,0x00,0x8f,0xd2,0x6e,0x04,0x02,0x00

# CHECK: v_lshlrev_b64 v[5:6], tma_hi, v[2:3]    ; encoding: [0x05,0x00,0x8f,0xd2,0x6f,0x04,0x02,0x00]
0x05,0x00,0x8f,0xd2,0x6f,0x04,0x02,0x00

# CHECK: v_lshlrev_b64 v[5:6], ttmp11, v[2:3]    ; encoding: [0x05,0x00,0x8f,0xd2,0x7b,0x04,0x02,0x00]
0x05,0x00,0x8f,0xd2,0x7b,0x04,0x02,0x00

# CHECK: v_lshlrev_b64 v[5:6], m0, v[2:3]        ; encoding: [0x05,0x00,0x8f,0xd2,0x7c,0x04,0x02,0x00]
0x05,0x00,0x8f,0xd2,0x7c,0x04,0x02,0x00

# CHECK: v_lshlrev_b64 v[5:6], exec_lo, v[2:3]   ; encoding: [0x05,0x00,0x8f,0xd2,0x7e,0x04,0x02,0x00]
0x05,0x00,0x8f,0xd2,0x7e,0x04,0x02,0x00

# CHECK: v_lshlrev_b64 v[5:6], exec_hi, v[2:3]   ; encoding: [0x05,0x00,0x8f,0xd2,0x7f,0x04,0x02,0x00]
0x05,0x00,0x8f,0xd2,0x7f,0x04,0x02,0x00

# CHECK: v_lshlrev_b64 v[5:6], 0, v[2:3]         ; encoding: [0x05,0x00,0x8f,0xd2,0x80,0x04,0x02,0x00]
0x05,0x00,0x8f,0xd2,0x80,0x04,0x02,0x00

# CHECK: v_lshlrev_b64 v[5:6], -1, v[2:3]        ; encoding: [0x05,0x00,0x8f,0xd2,0xc1,0x04,0x02,0x00]
0x05,0x00,0x8f,0xd2,0xc1,0x04,0x02,0x00

# CHECK: v_lshlrev_b64 v[5:6], 0.5, v[2:3]       ; encoding: [0x05,0x00,0x8f,0xd2,0xf0,0x04,0x02,0x00]
0x05,0x00,0x8f,0xd2,0xf0,0x04,0x02,0x00

# CHECK: v_lshlrev_b64 v[5:6], -4.0, v[2:3]      ; encoding: [0x05,0x00,0x8f,0xd2,0xf7,0x04,0x02,0x00]
0x05,0x00,0x8f,0xd2,0xf7,0x04,0x02,0x00

# CHECK: v_lshlrev_b64 v[5:6], v1, v[254:255]    ; encoding: [0x05,0x00,0x8f,0xd2,0x01,0xfd,0x03,0x00]
0x05,0x00,0x8f,0xd2,0x01,0xfd,0x03,0x00

# CHECK: v_lshlrev_b64 v[5:6], v1, s[4:5]        ; encoding: [0x05,0x00,0x8f,0xd2,0x01,0x09,0x00,0x00]
0x05,0x00,0x8f,0xd2,0x01,0x09,0x00,0x00

# CHECK: v_lshlrev_b64 v[5:6], v1, s[6:7]        ; encoding: [0x05,0x00,0x8f,0xd2,0x01,0x0d,0x00,0x00]
0x05,0x00,0x8f,0xd2,0x01,0x0d,0x00,0x00

# CHECK: v_lshlrev_b64 v[5:6], v1, s[100:101]    ; encoding: [0x05,0x00,0x8f,0xd2,0x01,0xc9,0x00,0x00]
0x05,0x00,0x8f,0xd2,0x01,0xc9,0x00,0x00

# CHECK: v_lshlrev_b64 v[5:6], v1, flat_scratch  ; encoding: [0x05,0x00,0x8f,0xd2,0x01,0xcd,0x00,0x00]
0x05,0x00,0x8f,0xd2,0x01,0xcd,0x00,0x00

# CHECK: v_lshlrev_b64 v[5:6], v1, vcc           ; encoding: [0x05,0x00,0x8f,0xd2,0x01,0xd5,0x00,0x00]
0x05,0x00,0x8f,0xd2,0x01,0xd5,0x00,0x00

# CHECK: v_lshlrev_b64 v[5:6], v1, tba           ; encoding: [0x05,0x00,0x8f,0xd2,0x01,0xd9,0x00,0x00]
0x05,0x00,0x8f,0xd2,0x01,0xd9,0x00,0x00

# CHECK: v_lshlrev_b64 v[5:6], v1, tma           ; encoding: [0x05,0x00,0x8f,0xd2,0x01,0xdd,0x00,0x00]
0x05,0x00,0x8f,0xd2,0x01,0xdd,0x00,0x00

# CHECK: v_lshlrev_b64 v[5:6], v1, ttmp[10:11]   ; encoding: [0x05,0x00,0x8f,0xd2,0x01,0xf5,0x00,0x00]
0x05,0x00,0x8f,0xd2,0x01,0xf5,0x00,0x00

# CHECK: v_lshlrev_b64 v[5:6], v1, exec          ; encoding: [0x05,0x00,0x8f,0xd2,0x01,0xfd,0x00,0x00]
0x05,0x00,0x8f,0xd2,0x01,0xfd,0x00,0x00

# CHECK: v_lshlrev_b64 v[5:6], v1, 0             ; encoding: [0x05,0x00,0x8f,0xd2,0x01,0x01,0x01,0x00]
0x05,0x00,0x8f,0xd2,0x01,0x01,0x01,0x00

# CHECK: v_lshlrev_b64 v[5:6], v1, -1            ; encoding: [0x05,0x00,0x8f,0xd2,0x01,0x83,0x01,0x00]
0x05,0x00,0x8f,0xd2,0x01,0x83,0x01,0x00

# CHECK: v_lshlrev_b64 v[5:6], v1, 0.5           ; encoding: [0x05,0x00,0x8f,0xd2,0x01,0xe1,0x01,0x00]
0x05,0x00,0x8f,0xd2,0x01,0xe1,0x01,0x00

# CHECK: v_lshlrev_b64 v[5:6], v1, -4.0          ; encoding: [0x05,0x00,0x8f,0xd2,0x01,0xef,0x01,0x00]
0x05,0x00,0x8f,0xd2,0x01,0xef,0x01,0x00

# CHECK: v_lshrrev_b64 v[5:6], v1, v[2:3]        ; encoding: [0x05,0x00,0x90,0xd2,0x01,0x05,0x02,0x00]
0x05,0x00,0x90,0xd2,0x01,0x05,0x02,0x00

# CHECK: v_lshrrev_b64 v[254:255], v1, v[2:3]    ; encoding: [0xfe,0x00,0x90,0xd2,0x01,0x05,0x02,0x00]
0xfe,0x00,0x90,0xd2,0x01,0x05,0x02,0x00

# CHECK: v_lshrrev_b64 v[5:6], v255, v[2:3]      ; encoding: [0x05,0x00,0x90,0xd2,0xff,0x05,0x02,0x00]
0x05,0x00,0x90,0xd2,0xff,0x05,0x02,0x00

# CHECK: v_lshrrev_b64 v[5:6], s1, v[2:3]        ; encoding: [0x05,0x00,0x90,0xd2,0x01,0x04,0x02,0x00]
0x05,0x00,0x90,0xd2,0x01,0x04,0x02,0x00

# CHECK: v_lshrrev_b64 v[5:6], s101, v[2:3]      ; encoding: [0x05,0x00,0x90,0xd2,0x65,0x04,0x02,0x00]
0x05,0x00,0x90,0xd2,0x65,0x04,0x02,0x00

# CHECK: v_lshrrev_b64 v[5:6], flat_scratch_lo, v[2:3] ; encoding: [0x05,0x00,0x90,0xd2,0x66,0x04,0x02,0x00]
0x05,0x00,0x90,0xd2,0x66,0x04,0x02,0x00

# CHECK: v_lshrrev_b64 v[5:6], flat_scratch_hi, v[2:3] ; encoding: [0x05,0x00,0x90,0xd2,0x67,0x04,0x02,0x00]
0x05,0x00,0x90,0xd2,0x67,0x04,0x02,0x00

# CHECK: v_lshrrev_b64 v[5:6], vcc_lo, v[2:3]    ; encoding: [0x05,0x00,0x90,0xd2,0x6a,0x04,0x02,0x00]
0x05,0x00,0x90,0xd2,0x6a,0x04,0x02,0x00

# CHECK: v_lshrrev_b64 v[5:6], vcc_hi, v[2:3]    ; encoding: [0x05,0x00,0x90,0xd2,0x6b,0x04,0x02,0x00]
0x05,0x00,0x90,0xd2,0x6b,0x04,0x02,0x00

# CHECK: v_lshrrev_b64 v[5:6], tba_lo, v[2:3]    ; encoding: [0x05,0x00,0x90,0xd2,0x6c,0x04,0x02,0x00]
0x05,0x00,0x90,0xd2,0x6c,0x04,0x02,0x00

# CHECK: v_lshrrev_b64 v[5:6], tba_hi, v[2:3]    ; encoding: [0x05,0x00,0x90,0xd2,0x6d,0x04,0x02,0x00]
0x05,0x00,0x90,0xd2,0x6d,0x04,0x02,0x00

# CHECK: v_lshrrev_b64 v[5:6], tma_lo, v[2:3]    ; encoding: [0x05,0x00,0x90,0xd2,0x6e,0x04,0x02,0x00]
0x05,0x00,0x90,0xd2,0x6e,0x04,0x02,0x00

# CHECK: v_lshrrev_b64 v[5:6], tma_hi, v[2:3]    ; encoding: [0x05,0x00,0x90,0xd2,0x6f,0x04,0x02,0x00]
0x05,0x00,0x90,0xd2,0x6f,0x04,0x02,0x00

# CHECK: v_lshrrev_b64 v[5:6], ttmp11, v[2:3]    ; encoding: [0x05,0x00,0x90,0xd2,0x7b,0x04,0x02,0x00]
0x05,0x00,0x90,0xd2,0x7b,0x04,0x02,0x00

# CHECK: v_lshrrev_b64 v[5:6], m0, v[2:3]        ; encoding: [0x05,0x00,0x90,0xd2,0x7c,0x04,0x02,0x00]
0x05,0x00,0x90,0xd2,0x7c,0x04,0x02,0x00

# CHECK: v_lshrrev_b64 v[5:6], exec_lo, v[2:3]   ; encoding: [0x05,0x00,0x90,0xd2,0x7e,0x04,0x02,0x00]
0x05,0x00,0x90,0xd2,0x7e,0x04,0x02,0x00

# CHECK: v_lshrrev_b64 v[5:6], exec_hi, v[2:3]   ; encoding: [0x05,0x00,0x90,0xd2,0x7f,0x04,0x02,0x00]
0x05,0x00,0x90,0xd2,0x7f,0x04,0x02,0x00

# CHECK: v_lshrrev_b64 v[5:6], 0, v[2:3]         ; encoding: [0x05,0x00,0x90,0xd2,0x80,0x04,0x02,0x00]
0x05,0x00,0x90,0xd2,0x80,0x04,0x02,0x00

# CHECK: v_lshrrev_b64 v[5:6], -1, v[2:3]        ; encoding: [0x05,0x00,0x90,0xd2,0xc1,0x04,0x02,0x00]
0x05,0x00,0x90,0xd2,0xc1,0x04,0x02,0x00

# CHECK: v_lshrrev_b64 v[5:6], 0.5, v[2:3]       ; encoding: [0x05,0x00,0x90,0xd2,0xf0,0x04,0x02,0x00]
0x05,0x00,0x90,0xd2,0xf0,0x04,0x02,0x00

# CHECK: v_lshrrev_b64 v[5:6], -4.0, v[2:3]      ; encoding: [0x05,0x00,0x90,0xd2,0xf7,0x04,0x02,0x00]
0x05,0x00,0x90,0xd2,0xf7,0x04,0x02,0x00

# CHECK: v_lshrrev_b64 v[5:6], v1, v[254:255]    ; encoding: [0x05,0x00,0x90,0xd2,0x01,0xfd,0x03,0x00]
0x05,0x00,0x90,0xd2,0x01,0xfd,0x03,0x00

# CHECK: v_lshrrev_b64 v[5:6], v1, s[4:5]        ; encoding: [0x05,0x00,0x90,0xd2,0x01,0x09,0x00,0x00]
0x05,0x00,0x90,0xd2,0x01,0x09,0x00,0x00

# CHECK: v_lshrrev_b64 v[5:6], v1, s[6:7]        ; encoding: [0x05,0x00,0x90,0xd2,0x01,0x0d,0x00,0x00]
0x05,0x00,0x90,0xd2,0x01,0x0d,0x00,0x00

# CHECK: v_lshrrev_b64 v[5:6], v1, s[100:101]    ; encoding: [0x05,0x00,0x90,0xd2,0x01,0xc9,0x00,0x00]
0x05,0x00,0x90,0xd2,0x01,0xc9,0x00,0x00

# CHECK: v_lshrrev_b64 v[5:6], v1, flat_scratch  ; encoding: [0x05,0x00,0x90,0xd2,0x01,0xcd,0x00,0x00]
0x05,0x00,0x90,0xd2,0x01,0xcd,0x00,0x00

# CHECK: v_lshrrev_b64 v[5:6], v1, vcc           ; encoding: [0x05,0x00,0x90,0xd2,0x01,0xd5,0x00,0x00]
0x05,0x00,0x90,0xd2,0x01,0xd5,0x00,0x00

# CHECK: v_lshrrev_b64 v[5:6], v1, tba           ; encoding: [0x05,0x00,0x90,0xd2,0x01,0xd9,0x00,0x00]
0x05,0x00,0x90,0xd2,0x01,0xd9,0x00,0x00

# CHECK: v_lshrrev_b64 v[5:6], v1, tma           ; encoding: [0x05,0x00,0x90,0xd2,0x01,0xdd,0x00,0x00]
0x05,0x00,0x90,0xd2,0x01,0xdd,0x00,0x00

# CHECK: v_lshrrev_b64 v[5:6], v1, ttmp[10:11]   ; encoding: [0x05,0x00,0x90,0xd2,0x01,0xf5,0x00,0x00]
0x05,0x00,0x90,0xd2,0x01,0xf5,0x00,0x00

# CHECK: v_lshrrev_b64 v[5:6], v1, exec          ; encoding: [0x05,0x00,0x90,0xd2,0x01,0xfd,0x00,0x00]
0x05,0x00,0x90,0xd2,0x01,0xfd,0x00,0x00

# CHECK: v_lshrrev_b64 v[5:6], v1, 0             ; encoding: [0x05,0x00,0x90,0xd2,0x01,0x01,0x01,0x00]
0x05,0x00,0x90,0xd2,0x01,0x01,0x01,0x00

# CHECK: v_lshrrev_b64 v[5:6], v1, -1            ; encoding: [0x05,0x00,0x90,0xd2,0x01,0x83,0x01,0x00]
0x05,0x00,0x90,0xd2,0x01,0x83,0x01,0x00

# CHECK: v_lshrrev_b64 v[5:6], v1, 0.5           ; encoding: [0x05,0x00,0x90,0xd2,0x01,0xe1,0x01,0x00]
0x05,0x00,0x90,0xd2,0x01,0xe1,0x01,0x00

# CHECK: v_lshrrev_b64 v[5:6], v1, -4.0          ; encoding: [0x05,0x00,0x90,0xd2,0x01,0xef,0x01,0x00]
0x05,0x00,0x90,0xd2,0x01,0xef,0x01,0x00

# CHECK: v_ashrrev_i64 v[5:6], v1, v[2:3]        ; encoding: [0x05,0x00,0x91,0xd2,0x01,0x05,0x02,0x00]
0x05,0x00,0x91,0xd2,0x01,0x05,0x02,0x00

# CHECK: v_ashrrev_i64 v[254:255], v1, v[2:3]    ; encoding: [0xfe,0x00,0x91,0xd2,0x01,0x05,0x02,0x00]
0xfe,0x00,0x91,0xd2,0x01,0x05,0x02,0x00

# CHECK: v_ashrrev_i64 v[5:6], v255, v[2:3]      ; encoding: [0x05,0x00,0x91,0xd2,0xff,0x05,0x02,0x00]
0x05,0x00,0x91,0xd2,0xff,0x05,0x02,0x00

# CHECK: v_ashrrev_i64 v[5:6], s1, v[2:3]        ; encoding: [0x05,0x00,0x91,0xd2,0x01,0x04,0x02,0x00]
0x05,0x00,0x91,0xd2,0x01,0x04,0x02,0x00

# CHECK: v_ashrrev_i64 v[5:6], s101, v[2:3]      ; encoding: [0x05,0x00,0x91,0xd2,0x65,0x04,0x02,0x00]
0x05,0x00,0x91,0xd2,0x65,0x04,0x02,0x00

# CHECK: v_ashrrev_i64 v[5:6], flat_scratch_lo, v[2:3] ; encoding: [0x05,0x00,0x91,0xd2,0x66,0x04,0x02,0x00]
0x05,0x00,0x91,0xd2,0x66,0x04,0x02,0x00

# CHECK: v_ashrrev_i64 v[5:6], flat_scratch_hi, v[2:3] ; encoding: [0x05,0x00,0x91,0xd2,0x67,0x04,0x02,0x00]
0x05,0x00,0x91,0xd2,0x67,0x04,0x02,0x00

# CHECK: v_ashrrev_i64 v[5:6], vcc_lo, v[2:3]    ; encoding: [0x05,0x00,0x91,0xd2,0x6a,0x04,0x02,0x00]
0x05,0x00,0x91,0xd2,0x6a,0x04,0x02,0x00

# CHECK: v_ashrrev_i64 v[5:6], vcc_hi, v[2:3]    ; encoding: [0x05,0x00,0x91,0xd2,0x6b,0x04,0x02,0x00]
0x05,0x00,0x91,0xd2,0x6b,0x04,0x02,0x00

# CHECK: v_ashrrev_i64 v[5:6], tba_lo, v[2:3]    ; encoding: [0x05,0x00,0x91,0xd2,0x6c,0x04,0x02,0x00]
0x05,0x00,0x91,0xd2,0x6c,0x04,0x02,0x00

# CHECK: v_ashrrev_i64 v[5:6], tba_hi, v[2:3]    ; encoding: [0x05,0x00,0x91,0xd2,0x6d,0x04,0x02,0x00]
0x05,0x00,0x91,0xd2,0x6d,0x04,0x02,0x00

# CHECK: v_ashrrev_i64 v[5:6], tma_lo, v[2:3]    ; encoding: [0x05,0x00,0x91,0xd2,0x6e,0x04,0x02,0x00]
0x05,0x00,0x91,0xd2,0x6e,0x04,0x02,0x00

# CHECK: v_ashrrev_i64 v[5:6], tma_hi, v[2:3]    ; encoding: [0x05,0x00,0x91,0xd2,0x6f,0x04,0x02,0x00]
0x05,0x00,0x91,0xd2,0x6f,0x04,0x02,0x00

# CHECK: v_ashrrev_i64 v[5:6], ttmp11, v[2:3]    ; encoding: [0x05,0x00,0x91,0xd2,0x7b,0x04,0x02,0x00]
0x05,0x00,0x91,0xd2,0x7b,0x04,0x02,0x00

# CHECK: v_ashrrev_i64 v[5:6], m0, v[2:3]        ; encoding: [0x05,0x00,0x91,0xd2,0x7c,0x04,0x02,0x00]
0x05,0x00,0x91,0xd2,0x7c,0x04,0x02,0x00

# CHECK: v_ashrrev_i64 v[5:6], exec_lo, v[2:3]   ; encoding: [0x05,0x00,0x91,0xd2,0x7e,0x04,0x02,0x00]
0x05,0x00,0x91,0xd2,0x7e,0x04,0x02,0x00

# CHECK: v_ashrrev_i64 v[5:6], exec_hi, v[2:3]   ; encoding: [0x05,0x00,0x91,0xd2,0x7f,0x04,0x02,0x00]
0x05,0x00,0x91,0xd2,0x7f,0x04,0x02,0x00

# CHECK: v_ashrrev_i64 v[5:6], 0, v[2:3]         ; encoding: [0x05,0x00,0x91,0xd2,0x80,0x04,0x02,0x00]
0x05,0x00,0x91,0xd2,0x80,0x04,0x02,0x00

# CHECK: v_ashrrev_i64 v[5:6], -1, v[2:3]        ; encoding: [0x05,0x00,0x91,0xd2,0xc1,0x04,0x02,0x00]
0x05,0x00,0x91,0xd2,0xc1,0x04,0x02,0x00

# CHECK: v_ashrrev_i64 v[5:6], 0.5, v[2:3]       ; encoding: [0x05,0x00,0x91,0xd2,0xf0,0x04,0x02,0x00]
0x05,0x00,0x91,0xd2,0xf0,0x04,0x02,0x00

# CHECK: v_ashrrev_i64 v[5:6], -4.0, v[2:3]      ; encoding: [0x05,0x00,0x91,0xd2,0xf7,0x04,0x02,0x00]
0x05,0x00,0x91,0xd2,0xf7,0x04,0x02,0x00

# CHECK: v_ashrrev_i64 v[5:6], v1, v[254:255]    ; encoding: [0x05,0x00,0x91,0xd2,0x01,0xfd,0x03,0x00]
0x05,0x00,0x91,0xd2,0x01,0xfd,0x03,0x00

# CHECK: v_ashrrev_i64 v[5:6], v1, s[4:5]        ; encoding: [0x05,0x00,0x91,0xd2,0x01,0x09,0x00,0x00]
0x05,0x00,0x91,0xd2,0x01,0x09,0x00,0x00

# CHECK: v_ashrrev_i64 v[5:6], v1, s[6:7]        ; encoding: [0x05,0x00,0x91,0xd2,0x01,0x0d,0x00,0x00]
0x05,0x00,0x91,0xd2,0x01,0x0d,0x00,0x00

# CHECK: v_ashrrev_i64 v[5:6], v1, s[100:101]    ; encoding: [0x05,0x00,0x91,0xd2,0x01,0xc9,0x00,0x00]
0x05,0x00,0x91,0xd2,0x01,0xc9,0x00,0x00

# CHECK: v_ashrrev_i64 v[5:6], v1, flat_scratch  ; encoding: [0x05,0x00,0x91,0xd2,0x01,0xcd,0x00,0x00]
0x05,0x00,0x91,0xd2,0x01,0xcd,0x00,0x00

# CHECK: v_ashrrev_i64 v[5:6], v1, vcc           ; encoding: [0x05,0x00,0x91,0xd2,0x01,0xd5,0x00,0x00]
0x05,0x00,0x91,0xd2,0x01,0xd5,0x00,0x00

# CHECK: v_ashrrev_i64 v[5:6], v1, tba           ; encoding: [0x05,0x00,0x91,0xd2,0x01,0xd9,0x00,0x00]
0x05,0x00,0x91,0xd2,0x01,0xd9,0x00,0x00

# CHECK: v_ashrrev_i64 v[5:6], v1, tma           ; encoding: [0x05,0x00,0x91,0xd2,0x01,0xdd,0x00,0x00]
0x05,0x00,0x91,0xd2,0x01,0xdd,0x00,0x00

# CHECK: v_ashrrev_i64 v[5:6], v1, ttmp[10:11]   ; encoding: [0x05,0x00,0x91,0xd2,0x01,0xf5,0x00,0x00]
0x05,0x00,0x91,0xd2,0x01,0xf5,0x00,0x00

# CHECK: v_ashrrev_i64 v[5:6], v1, exec          ; encoding: [0x05,0x00,0x91,0xd2,0x01,0xfd,0x00,0x00]
0x05,0x00,0x91,0xd2,0x01,0xfd,0x00,0x00

# CHECK: v_ashrrev_i64 v[5:6], v1, 0             ; encoding: [0x05,0x00,0x91,0xd2,0x01,0x01,0x01,0x00]
0x05,0x00,0x91,0xd2,0x01,0x01,0x01,0x00

# CHECK: v_ashrrev_i64 v[5:6], v1, -1            ; encoding: [0x05,0x00,0x91,0xd2,0x01,0x83,0x01,0x00]
0x05,0x00,0x91,0xd2,0x01,0x83,0x01,0x00

# CHECK: v_ashrrev_i64 v[5:6], v1, 0.5           ; encoding: [0x05,0x00,0x91,0xd2,0x01,0xe1,0x01,0x00]
0x05,0x00,0x91,0xd2,0x01,0xe1,0x01,0x00

# CHECK: v_ashrrev_i64 v[5:6], v1, -4.0          ; encoding: [0x05,0x00,0x91,0xd2,0x01,0xef,0x01,0x00]
0x05,0x00,0x91,0xd2,0x01,0xef,0x01,0x00

# CHECK: v_trig_preop_f64 v[5:6], v[1:2], v2     ; encoding: [0x05,0x00,0x92,0xd2,0x01,0x05,0x02,0x00]
0x05,0x00,0x92,0xd2,0x01,0x05,0x02,0x00

# CHECK: v_trig_preop_f64 v[254:255], v[1:2], v2 ; encoding: [0xfe,0x00,0x92,0xd2,0x01,0x05,0x02,0x00]
0xfe,0x00,0x92,0xd2,0x01,0x05,0x02,0x00

# CHECK: v_trig_preop_f64 v[5:6], v[254:255], v2 ; encoding: [0x05,0x00,0x92,0xd2,0xfe,0x05,0x02,0x00]
0x05,0x00,0x92,0xd2,0xfe,0x05,0x02,0x00

# CHECK: v_trig_preop_f64 v[5:6], s[2:3], v2     ; encoding: [0x05,0x00,0x92,0xd2,0x02,0x04,0x02,0x00]
0x05,0x00,0x92,0xd2,0x02,0x04,0x02,0x00

# CHECK: v_trig_preop_f64 v[5:6], s[4:5], v2     ; encoding: [0x05,0x00,0x92,0xd2,0x04,0x04,0x02,0x00]
0x05,0x00,0x92,0xd2,0x04,0x04,0x02,0x00

# CHECK: v_trig_preop_f64 v[5:6], s[100:101], v2 ; encoding: [0x05,0x00,0x92,0xd2,0x64,0x04,0x02,0x00]
0x05,0x00,0x92,0xd2,0x64,0x04,0x02,0x00

# CHECK: v_trig_preop_f64 v[5:6], flat_scratch, v2 ; encoding: [0x05,0x00,0x92,0xd2,0x66,0x04,0x02,0x00]
0x05,0x00,0x92,0xd2,0x66,0x04,0x02,0x00

# CHECK: v_trig_preop_f64 v[5:6], vcc, v2        ; encoding: [0x05,0x00,0x92,0xd2,0x6a,0x04,0x02,0x00]
0x05,0x00,0x92,0xd2,0x6a,0x04,0x02,0x00

# CHECK: v_trig_preop_f64 v[5:6], tba, v2        ; encoding: [0x05,0x00,0x92,0xd2,0x6c,0x04,0x02,0x00]
0x05,0x00,0x92,0xd2,0x6c,0x04,0x02,0x00

# CHECK: v_trig_preop_f64 v[5:6], tma, v2        ; encoding: [0x05,0x00,0x92,0xd2,0x6e,0x04,0x02,0x00]
0x05,0x00,0x92,0xd2,0x6e,0x04,0x02,0x00

# CHECK: v_trig_preop_f64 v[5:6], ttmp[10:11], v2 ; encoding: [0x05,0x00,0x92,0xd2,0x7a,0x04,0x02,0x00]
0x05,0x00,0x92,0xd2,0x7a,0x04,0x02,0x00

# CHECK: v_trig_preop_f64 v[5:6], exec, v2       ; encoding: [0x05,0x00,0x92,0xd2,0x7e,0x04,0x02,0x00]
0x05,0x00,0x92,0xd2,0x7e,0x04,0x02,0x00

# CHECK: v_trig_preop_f64 v[5:6], 0, v2          ; encoding: [0x05,0x00,0x92,0xd2,0x80,0x04,0x02,0x00]
0x05,0x00,0x92,0xd2,0x80,0x04,0x02,0x00

# CHECK: v_trig_preop_f64 v[5:6], -1, v2         ; encoding: [0x05,0x00,0x92,0xd2,0xc1,0x04,0x02,0x00]
0x05,0x00,0x92,0xd2,0xc1,0x04,0x02,0x00

# CHECK: v_trig_preop_f64 v[5:6], 0.5, v2        ; encoding: [0x05,0x00,0x92,0xd2,0xf0,0x04,0x02,0x00]
0x05,0x00,0x92,0xd2,0xf0,0x04,0x02,0x00

# CHECK: v_trig_preop_f64 v[5:6], -4.0, v2       ; encoding: [0x05,0x00,0x92,0xd2,0xf7,0x04,0x02,0x00]
0x05,0x00,0x92,0xd2,0xf7,0x04,0x02,0x00

# CHECK: v_trig_preop_f64 v[5:6], v[1:2], v255   ; encoding: [0x05,0x00,0x92,0xd2,0x01,0xff,0x03,0x00]
0x05,0x00,0x92,0xd2,0x01,0xff,0x03,0x00

# CHECK: v_trig_preop_f64 v[5:6], v[1:2], s2     ; encoding: [0x05,0x00,0x92,0xd2,0x01,0x05,0x00,0x00]
0x05,0x00,0x92,0xd2,0x01,0x05,0x00,0x00

# CHECK: v_trig_preop_f64 v[5:6], v[1:2], s101   ; encoding: [0x05,0x00,0x92,0xd2,0x01,0xcb,0x00,0x00]
0x05,0x00,0x92,0xd2,0x01,0xcb,0x00,0x00

# CHECK: v_trig_preop_f64 v[5:6], v[1:2], flat_scratch_lo ; encoding: [0x05,0x00,0x92,0xd2,0x01,0xcd,0x00,0x00]
0x05,0x00,0x92,0xd2,0x01,0xcd,0x00,0x00

# CHECK: v_trig_preop_f64 v[5:6], v[1:2], flat_scratch_hi ; encoding: [0x05,0x00,0x92,0xd2,0x01,0xcf,0x00,0x00]
0x05,0x00,0x92,0xd2,0x01,0xcf,0x00,0x00

# CHECK: v_trig_preop_f64 v[5:6], v[1:2], vcc_lo ; encoding: [0x05,0x00,0x92,0xd2,0x01,0xd5,0x00,0x00]
0x05,0x00,0x92,0xd2,0x01,0xd5,0x00,0x00

# CHECK: v_trig_preop_f64 v[5:6], v[1:2], vcc_hi ; encoding: [0x05,0x00,0x92,0xd2,0x01,0xd7,0x00,0x00]
0x05,0x00,0x92,0xd2,0x01,0xd7,0x00,0x00

# CHECK: v_trig_preop_f64 v[5:6], v[1:2], tba_lo ; encoding: [0x05,0x00,0x92,0xd2,0x01,0xd9,0x00,0x00]
0x05,0x00,0x92,0xd2,0x01,0xd9,0x00,0x00

# CHECK: v_trig_preop_f64 v[5:6], v[1:2], tba_hi ; encoding: [0x05,0x00,0x92,0xd2,0x01,0xdb,0x00,0x00]
0x05,0x00,0x92,0xd2,0x01,0xdb,0x00,0x00

# CHECK: v_trig_preop_f64 v[5:6], v[1:2], tma_lo ; encoding: [0x05,0x00,0x92,0xd2,0x01,0xdd,0x00,0x00]
0x05,0x00,0x92,0xd2,0x01,0xdd,0x00,0x00

# CHECK: v_trig_preop_f64 v[5:6], v[1:2], tma_hi ; encoding: [0x05,0x00,0x92,0xd2,0x01,0xdf,0x00,0x00]
0x05,0x00,0x92,0xd2,0x01,0xdf,0x00,0x00

# CHECK: v_trig_preop_f64 v[5:6], v[1:2], ttmp11 ; encoding: [0x05,0x00,0x92,0xd2,0x01,0xf7,0x00,0x00]
0x05,0x00,0x92,0xd2,0x01,0xf7,0x00,0x00

# CHECK: v_trig_preop_f64 v[5:6], v[1:2], m0     ; encoding: [0x05,0x00,0x92,0xd2,0x01,0xf9,0x00,0x00]
0x05,0x00,0x92,0xd2,0x01,0xf9,0x00,0x00

# CHECK: v_trig_preop_f64 v[5:6], v[1:2], exec_lo ; encoding: [0x05,0x00,0x92,0xd2,0x01,0xfd,0x00,0x00]
0x05,0x00,0x92,0xd2,0x01,0xfd,0x00,0x00

# CHECK: v_trig_preop_f64 v[5:6], v[1:2], exec_hi ; encoding: [0x05,0x00,0x92,0xd2,0x01,0xff,0x00,0x00]
0x05,0x00,0x92,0xd2,0x01,0xff,0x00,0x00

# CHECK: v_trig_preop_f64 v[5:6], v[1:2], 0      ; encoding: [0x05,0x00,0x92,0xd2,0x01,0x01,0x01,0x00]
0x05,0x00,0x92,0xd2,0x01,0x01,0x01,0x00

# CHECK: v_trig_preop_f64 v[5:6], v[1:2], -1     ; encoding: [0x05,0x00,0x92,0xd2,0x01,0x83,0x01,0x00]
0x05,0x00,0x92,0xd2,0x01,0x83,0x01,0x00

# CHECK: v_trig_preop_f64 v[5:6], v[1:2], 0.5    ; encoding: [0x05,0x00,0x92,0xd2,0x01,0xe1,0x01,0x00]
0x05,0x00,0x92,0xd2,0x01,0xe1,0x01,0x00

# CHECK: v_trig_preop_f64 v[5:6], v[1:2], -4.0   ; encoding: [0x05,0x00,0x92,0xd2,0x01,0xef,0x01,0x00]
0x05,0x00,0x92,0xd2,0x01,0xef,0x01,0x00

# CHECK: v_trig_preop_f64 v[5:6], -v[1:2], v2    ; encoding: [0x05,0x00,0x92,0xd2,0x01,0x05,0x02,0x20]
0x05,0x00,0x92,0xd2,0x01,0x05,0x02,0x20

# CHECK: v_trig_preop_f64 v[5:6], |v[1:2]|, v2   ; encoding: [0x05,0x01,0x92,0xd2,0x01,0x05,0x02,0x00]
0x05,0x01,0x92,0xd2,0x01,0x05,0x02,0x00

# CHECK: v_trig_preop_f64 v[5:6], v[1:2], v2 clamp ; encoding: [0x05,0x80,0x92,0xd2,0x01,0x05,0x02,0x00]
0x05,0x80,0x92,0xd2,0x01,0x05,0x02,0x00

# CHECK: v_trig_preop_f64 v[5:6], v[1:2], v2 mul:2 ; encoding: [0x05,0x00,0x92,0xd2,0x01,0x05,0x02,0x08]
0x05,0x00,0x92,0xd2,0x01,0x05,0x02,0x08

# CHECK: v_trig_preop_f64 v[5:6], v[1:2], v2 mul:4 ; encoding: [0x05,0x00,0x92,0xd2,0x01,0x05,0x02,0x10]
0x05,0x00,0x92,0xd2,0x01,0x05,0x02,0x10

# CHECK: v_trig_preop_f64 v[5:6], v[1:2], v2 div:2 ; encoding: [0x05,0x00,0x92,0xd2,0x01,0x05,0x02,0x18]
0x05,0x00,0x92,0xd2,0x01,0x05,0x02,0x18

# CHECK: v_bfm_b32 v5, v1, v2                    ; encoding: [0x05,0x00,0x93,0xd2,0x01,0x05,0x02,0x00]
0x05,0x00,0x93,0xd2,0x01,0x05,0x02,0x00

# CHECK: v_bfm_b32 v255, v1, v2                  ; encoding: [0xff,0x00,0x93,0xd2,0x01,0x05,0x02,0x00]
0xff,0x00,0x93,0xd2,0x01,0x05,0x02,0x00

# CHECK: v_bfm_b32 v5, v255, v2                  ; encoding: [0x05,0x00,0x93,0xd2,0xff,0x05,0x02,0x00]
0x05,0x00,0x93,0xd2,0xff,0x05,0x02,0x00

# CHECK: v_bfm_b32 v5, s1, v2                    ; encoding: [0x05,0x00,0x93,0xd2,0x01,0x04,0x02,0x00]
0x05,0x00,0x93,0xd2,0x01,0x04,0x02,0x00

# CHECK: v_bfm_b32 v5, s101, v2                  ; encoding: [0x05,0x00,0x93,0xd2,0x65,0x04,0x02,0x00]
0x05,0x00,0x93,0xd2,0x65,0x04,0x02,0x00

# CHECK: v_bfm_b32 v5, flat_scratch_lo, v2       ; encoding: [0x05,0x00,0x93,0xd2,0x66,0x04,0x02,0x00]
0x05,0x00,0x93,0xd2,0x66,0x04,0x02,0x00

# CHECK: v_bfm_b32 v5, flat_scratch_hi, v2       ; encoding: [0x05,0x00,0x93,0xd2,0x67,0x04,0x02,0x00]
0x05,0x00,0x93,0xd2,0x67,0x04,0x02,0x00

# CHECK: v_bfm_b32 v5, vcc_lo, v2                ; encoding: [0x05,0x00,0x93,0xd2,0x6a,0x04,0x02,0x00]
0x05,0x00,0x93,0xd2,0x6a,0x04,0x02,0x00

# CHECK: v_bfm_b32 v5, vcc_hi, v2                ; encoding: [0x05,0x00,0x93,0xd2,0x6b,0x04,0x02,0x00]
0x05,0x00,0x93,0xd2,0x6b,0x04,0x02,0x00

# CHECK: v_bfm_b32 v5, tba_lo, v2                ; encoding: [0x05,0x00,0x93,0xd2,0x6c,0x04,0x02,0x00]
0x05,0x00,0x93,0xd2,0x6c,0x04,0x02,0x00

# CHECK: v_bfm_b32 v5, tba_hi, v2                ; encoding: [0x05,0x00,0x93,0xd2,0x6d,0x04,0x02,0x00]
0x05,0x00,0x93,0xd2,0x6d,0x04,0x02,0x00

# CHECK: v_bfm_b32 v5, tma_lo, v2                ; encoding: [0x05,0x00,0x93,0xd2,0x6e,0x04,0x02,0x00]
0x05,0x00,0x93,0xd2,0x6e,0x04,0x02,0x00

# CHECK: v_bfm_b32 v5, tma_hi, v2                ; encoding: [0x05,0x00,0x93,0xd2,0x6f,0x04,0x02,0x00]
0x05,0x00,0x93,0xd2,0x6f,0x04,0x02,0x00

# CHECK: v_bfm_b32 v5, ttmp11, v2                ; encoding: [0x05,0x00,0x93,0xd2,0x7b,0x04,0x02,0x00]
0x05,0x00,0x93,0xd2,0x7b,0x04,0x02,0x00

# CHECK: v_bfm_b32 v5, m0, v2                    ; encoding: [0x05,0x00,0x93,0xd2,0x7c,0x04,0x02,0x00]
0x05,0x00,0x93,0xd2,0x7c,0x04,0x02,0x00

# CHECK: v_bfm_b32 v5, exec_lo, v2               ; encoding: [0x05,0x00,0x93,0xd2,0x7e,0x04,0x02,0x00]
0x05,0x00,0x93,0xd2,0x7e,0x04,0x02,0x00

# CHECK: v_bfm_b32 v5, exec_hi, v2               ; encoding: [0x05,0x00,0x93,0xd2,0x7f,0x04,0x02,0x00]
0x05,0x00,0x93,0xd2,0x7f,0x04,0x02,0x00

# CHECK: v_bfm_b32 v5, 0, v2                     ; encoding: [0x05,0x00,0x93,0xd2,0x80,0x04,0x02,0x00]
0x05,0x00,0x93,0xd2,0x80,0x04,0x02,0x00

# CHECK: v_bfm_b32 v5, -1, v2                    ; encoding: [0x05,0x00,0x93,0xd2,0xc1,0x04,0x02,0x00]
0x05,0x00,0x93,0xd2,0xc1,0x04,0x02,0x00

# CHECK: v_bfm_b32 v5, 0.5, v2                   ; encoding: [0x05,0x00,0x93,0xd2,0xf0,0x04,0x02,0x00]
0x05,0x00,0x93,0xd2,0xf0,0x04,0x02,0x00

# CHECK: v_bfm_b32 v5, -4.0, v2                  ; encoding: [0x05,0x00,0x93,0xd2,0xf7,0x04,0x02,0x00]
0x05,0x00,0x93,0xd2,0xf7,0x04,0x02,0x00

# CHECK: v_bfm_b32 v5, v1, v255                  ; encoding: [0x05,0x00,0x93,0xd2,0x01,0xff,0x03,0x00]
0x05,0x00,0x93,0xd2,0x01,0xff,0x03,0x00

# CHECK: v_bfm_b32 v5, v1, s2                    ; encoding: [0x05,0x00,0x93,0xd2,0x01,0x05,0x00,0x00]
0x05,0x00,0x93,0xd2,0x01,0x05,0x00,0x00

# CHECK: v_bfm_b32 v5, v1, s101                  ; encoding: [0x05,0x00,0x93,0xd2,0x01,0xcb,0x00,0x00]
0x05,0x00,0x93,0xd2,0x01,0xcb,0x00,0x00

# CHECK: v_bfm_b32 v5, v1, flat_scratch_lo       ; encoding: [0x05,0x00,0x93,0xd2,0x01,0xcd,0x00,0x00]
0x05,0x00,0x93,0xd2,0x01,0xcd,0x00,0x00

# CHECK: v_bfm_b32 v5, v1, flat_scratch_hi       ; encoding: [0x05,0x00,0x93,0xd2,0x01,0xcf,0x00,0x00]
0x05,0x00,0x93,0xd2,0x01,0xcf,0x00,0x00

# CHECK: v_bfm_b32 v5, v1, vcc_lo                ; encoding: [0x05,0x00,0x93,0xd2,0x01,0xd5,0x00,0x00]
0x05,0x00,0x93,0xd2,0x01,0xd5,0x00,0x00

# CHECK: v_bfm_b32 v5, v1, vcc_hi                ; encoding: [0x05,0x00,0x93,0xd2,0x01,0xd7,0x00,0x00]
0x05,0x00,0x93,0xd2,0x01,0xd7,0x00,0x00

# CHECK: v_bfm_b32 v5, v1, tba_lo                ; encoding: [0x05,0x00,0x93,0xd2,0x01,0xd9,0x00,0x00]
0x05,0x00,0x93,0xd2,0x01,0xd9,0x00,0x00

# CHECK: v_bfm_b32 v5, v1, tba_hi                ; encoding: [0x05,0x00,0x93,0xd2,0x01,0xdb,0x00,0x00]
0x05,0x00,0x93,0xd2,0x01,0xdb,0x00,0x00

# CHECK: v_bfm_b32 v5, v1, tma_lo                ; encoding: [0x05,0x00,0x93,0xd2,0x01,0xdd,0x00,0x00]
0x05,0x00,0x93,0xd2,0x01,0xdd,0x00,0x00

# CHECK: v_bfm_b32 v5, v1, tma_hi                ; encoding: [0x05,0x00,0x93,0xd2,0x01,0xdf,0x00,0x00]
0x05,0x00,0x93,0xd2,0x01,0xdf,0x00,0x00

# CHECK: v_bfm_b32 v5, v1, ttmp11                ; encoding: [0x05,0x00,0x93,0xd2,0x01,0xf7,0x00,0x00]
0x05,0x00,0x93,0xd2,0x01,0xf7,0x00,0x00

# CHECK: v_bfm_b32 v5, v1, m0                    ; encoding: [0x05,0x00,0x93,0xd2,0x01,0xf9,0x00,0x00]
0x05,0x00,0x93,0xd2,0x01,0xf9,0x00,0x00

# CHECK: v_bfm_b32 v5, v1, exec_lo               ; encoding: [0x05,0x00,0x93,0xd2,0x01,0xfd,0x00,0x00]
0x05,0x00,0x93,0xd2,0x01,0xfd,0x00,0x00

# CHECK: v_bfm_b32 v5, v1, exec_hi               ; encoding: [0x05,0x00,0x93,0xd2,0x01,0xff,0x00,0x00]
0x05,0x00,0x93,0xd2,0x01,0xff,0x00,0x00

# CHECK: v_bfm_b32 v5, v1, 0                     ; encoding: [0x05,0x00,0x93,0xd2,0x01,0x01,0x01,0x00]
0x05,0x00,0x93,0xd2,0x01,0x01,0x01,0x00

# CHECK: v_bfm_b32 v5, v1, -1                    ; encoding: [0x05,0x00,0x93,0xd2,0x01,0x83,0x01,0x00]
0x05,0x00,0x93,0xd2,0x01,0x83,0x01,0x00

# CHECK: v_bfm_b32 v5, v1, 0.5                   ; encoding: [0x05,0x00,0x93,0xd2,0x01,0xe1,0x01,0x00]
0x05,0x00,0x93,0xd2,0x01,0xe1,0x01,0x00

# CHECK: v_bfm_b32 v5, v1, -4.0                  ; encoding: [0x05,0x00,0x93,0xd2,0x01,0xef,0x01,0x00]
0x05,0x00,0x93,0xd2,0x01,0xef,0x01,0x00

# CHECK: v_cvt_pknorm_i16_f32 v5, v1, v2         ; encoding: [0x05,0x00,0x94,0xd2,0x01,0x05,0x02,0x00]
0x05,0x00,0x94,0xd2,0x01,0x05,0x02,0x00

# CHECK: v_cvt_pknorm_i16_f32 v255, v1, v2       ; encoding: [0xff,0x00,0x94,0xd2,0x01,0x05,0x02,0x00]
0xff,0x00,0x94,0xd2,0x01,0x05,0x02,0x00

# CHECK: v_cvt_pknorm_i16_f32 v5, v255, v2       ; encoding: [0x05,0x00,0x94,0xd2,0xff,0x05,0x02,0x00]
0x05,0x00,0x94,0xd2,0xff,0x05,0x02,0x00

# CHECK: v_cvt_pknorm_i16_f32 v5, s1, v2         ; encoding: [0x05,0x00,0x94,0xd2,0x01,0x04,0x02,0x00]
0x05,0x00,0x94,0xd2,0x01,0x04,0x02,0x00

# CHECK: v_cvt_pknorm_i16_f32 v5, s101, v2       ; encoding: [0x05,0x00,0x94,0xd2,0x65,0x04,0x02,0x00]
0x05,0x00,0x94,0xd2,0x65,0x04,0x02,0x00

# CHECK: v_cvt_pknorm_i16_f32 v5, flat_scratch_lo, v2 ; encoding: [0x05,0x00,0x94,0xd2,0x66,0x04,0x02,0x00]
0x05,0x00,0x94,0xd2,0x66,0x04,0x02,0x00

# CHECK: v_cvt_pknorm_i16_f32 v5, flat_scratch_hi, v2 ; encoding: [0x05,0x00,0x94,0xd2,0x67,0x04,0x02,0x00]
0x05,0x00,0x94,0xd2,0x67,0x04,0x02,0x00

# CHECK: v_cvt_pknorm_i16_f32 v5, vcc_lo, v2     ; encoding: [0x05,0x00,0x94,0xd2,0x6a,0x04,0x02,0x00]
0x05,0x00,0x94,0xd2,0x6a,0x04,0x02,0x00

# CHECK: v_cvt_pknorm_i16_f32 v5, vcc_hi, v2     ; encoding: [0x05,0x00,0x94,0xd2,0x6b,0x04,0x02,0x00]
0x05,0x00,0x94,0xd2,0x6b,0x04,0x02,0x00

# CHECK: v_cvt_pknorm_i16_f32 v5, tba_lo, v2     ; encoding: [0x05,0x00,0x94,0xd2,0x6c,0x04,0x02,0x00]
0x05,0x00,0x94,0xd2,0x6c,0x04,0x02,0x00

# CHECK: v_cvt_pknorm_i16_f32 v5, tba_hi, v2     ; encoding: [0x05,0x00,0x94,0xd2,0x6d,0x04,0x02,0x00]
0x05,0x00,0x94,0xd2,0x6d,0x04,0x02,0x00

# CHECK: v_cvt_pknorm_i16_f32 v5, tma_lo, v2     ; encoding: [0x05,0x00,0x94,0xd2,0x6e,0x04,0x02,0x00]
0x05,0x00,0x94,0xd2,0x6e,0x04,0x02,0x00

# CHECK: v_cvt_pknorm_i16_f32 v5, tma_hi, v2     ; encoding: [0x05,0x00,0x94,0xd2,0x6f,0x04,0x02,0x00]
0x05,0x00,0x94,0xd2,0x6f,0x04,0x02,0x00

# CHECK: v_cvt_pknorm_i16_f32 v5, ttmp11, v2     ; encoding: [0x05,0x00,0x94,0xd2,0x7b,0x04,0x02,0x00]
0x05,0x00,0x94,0xd2,0x7b,0x04,0x02,0x00

# CHECK: v_cvt_pknorm_i16_f32 v5, m0, v2         ; encoding: [0x05,0x00,0x94,0xd2,0x7c,0x04,0x02,0x00]
0x05,0x00,0x94,0xd2,0x7c,0x04,0x02,0x00

# CHECK: v_cvt_pknorm_i16_f32 v5, exec_lo, v2    ; encoding: [0x05,0x00,0x94,0xd2,0x7e,0x04,0x02,0x00]
0x05,0x00,0x94,0xd2,0x7e,0x04,0x02,0x00

# CHECK: v_cvt_pknorm_i16_f32 v5, exec_hi, v2    ; encoding: [0x05,0x00,0x94,0xd2,0x7f,0x04,0x02,0x00]
0x05,0x00,0x94,0xd2,0x7f,0x04,0x02,0x00

# CHECK: v_cvt_pknorm_i16_f32 v5, 0, v2          ; encoding: [0x05,0x00,0x94,0xd2,0x80,0x04,0x02,0x00]
0x05,0x00,0x94,0xd2,0x80,0x04,0x02,0x00

# CHECK: v_cvt_pknorm_i16_f32 v5, -1, v2         ; encoding: [0x05,0x00,0x94,0xd2,0xc1,0x04,0x02,0x00]
0x05,0x00,0x94,0xd2,0xc1,0x04,0x02,0x00

# CHECK: v_cvt_pknorm_i16_f32 v5, 0.5, v2        ; encoding: [0x05,0x00,0x94,0xd2,0xf0,0x04,0x02,0x00]
0x05,0x00,0x94,0xd2,0xf0,0x04,0x02,0x00

# CHECK: v_cvt_pknorm_i16_f32 v5, -4.0, v2       ; encoding: [0x05,0x00,0x94,0xd2,0xf7,0x04,0x02,0x00]
0x05,0x00,0x94,0xd2,0xf7,0x04,0x02,0x00

# CHECK: v_cvt_pknorm_i16_f32 v5, v1, v255       ; encoding: [0x05,0x00,0x94,0xd2,0x01,0xff,0x03,0x00]
0x05,0x00,0x94,0xd2,0x01,0xff,0x03,0x00

# CHECK: v_cvt_pknorm_i16_f32 v5, v1, s2         ; encoding: [0x05,0x00,0x94,0xd2,0x01,0x05,0x00,0x00]
0x05,0x00,0x94,0xd2,0x01,0x05,0x00,0x00

# CHECK: v_cvt_pknorm_i16_f32 v5, v1, s101       ; encoding: [0x05,0x00,0x94,0xd2,0x01,0xcb,0x00,0x00]
0x05,0x00,0x94,0xd2,0x01,0xcb,0x00,0x00

# CHECK: v_cvt_pknorm_i16_f32 v5, v1, flat_scratch_lo ; encoding: [0x05,0x00,0x94,0xd2,0x01,0xcd,0x00,0x00]
0x05,0x00,0x94,0xd2,0x01,0xcd,0x00,0x00

# CHECK: v_cvt_pknorm_i16_f32 v5, v1, flat_scratch_hi ; encoding: [0x05,0x00,0x94,0xd2,0x01,0xcf,0x00,0x00]
0x05,0x00,0x94,0xd2,0x01,0xcf,0x00,0x00

# CHECK: v_cvt_pknorm_i16_f32 v5, v1, vcc_lo     ; encoding: [0x05,0x00,0x94,0xd2,0x01,0xd5,0x00,0x00]
0x05,0x00,0x94,0xd2,0x01,0xd5,0x00,0x00

# CHECK: v_cvt_pknorm_i16_f32 v5, v1, vcc_hi     ; encoding: [0x05,0x00,0x94,0xd2,0x01,0xd7,0x00,0x00]
0x05,0x00,0x94,0xd2,0x01,0xd7,0x00,0x00

# CHECK: v_cvt_pknorm_i16_f32 v5, v1, tba_lo     ; encoding: [0x05,0x00,0x94,0xd2,0x01,0xd9,0x00,0x00]
0x05,0x00,0x94,0xd2,0x01,0xd9,0x00,0x00

# CHECK: v_cvt_pknorm_i16_f32 v5, v1, tba_hi     ; encoding: [0x05,0x00,0x94,0xd2,0x01,0xdb,0x00,0x00]
0x05,0x00,0x94,0xd2,0x01,0xdb,0x00,0x00

# CHECK: v_cvt_pknorm_i16_f32 v5, v1, tma_lo     ; encoding: [0x05,0x00,0x94,0xd2,0x01,0xdd,0x00,0x00]
0x05,0x00,0x94,0xd2,0x01,0xdd,0x00,0x00

# CHECK: v_cvt_pknorm_i16_f32 v5, v1, tma_hi     ; encoding: [0x05,0x00,0x94,0xd2,0x01,0xdf,0x00,0x00]
0x05,0x00,0x94,0xd2,0x01,0xdf,0x00,0x00

# CHECK: v_cvt_pknorm_i16_f32 v5, v1, ttmp11     ; encoding: [0x05,0x00,0x94,0xd2,0x01,0xf7,0x00,0x00]
0x05,0x00,0x94,0xd2,0x01,0xf7,0x00,0x00

# CHECK: v_cvt_pknorm_i16_f32 v5, v1, m0         ; encoding: [0x05,0x00,0x94,0xd2,0x01,0xf9,0x00,0x00]
0x05,0x00,0x94,0xd2,0x01,0xf9,0x00,0x00

# CHECK: v_cvt_pknorm_i16_f32 v5, v1, exec_lo    ; encoding: [0x05,0x00,0x94,0xd2,0x01,0xfd,0x00,0x00]
0x05,0x00,0x94,0xd2,0x01,0xfd,0x00,0x00

# CHECK: v_cvt_pknorm_i16_f32 v5, v1, exec_hi    ; encoding: [0x05,0x00,0x94,0xd2,0x01,0xff,0x00,0x00]
0x05,0x00,0x94,0xd2,0x01,0xff,0x00,0x00

# CHECK: v_cvt_pknorm_i16_f32 v5, v1, 0          ; encoding: [0x05,0x00,0x94,0xd2,0x01,0x01,0x01,0x00]
0x05,0x00,0x94,0xd2,0x01,0x01,0x01,0x00

# CHECK: v_cvt_pknorm_i16_f32 v5, v1, -1         ; encoding: [0x05,0x00,0x94,0xd2,0x01,0x83,0x01,0x00]
0x05,0x00,0x94,0xd2,0x01,0x83,0x01,0x00

# CHECK: v_cvt_pknorm_i16_f32 v5, v1, 0.5        ; encoding: [0x05,0x00,0x94,0xd2,0x01,0xe1,0x01,0x00]
0x05,0x00,0x94,0xd2,0x01,0xe1,0x01,0x00

# CHECK: v_cvt_pknorm_i16_f32 v5, v1, -4.0       ; encoding: [0x05,0x00,0x94,0xd2,0x01,0xef,0x01,0x00]
0x05,0x00,0x94,0xd2,0x01,0xef,0x01,0x00

# CHECK: v_cvt_pknorm_i16_f32 v5, -v1, v2        ; encoding: [0x05,0x00,0x94,0xd2,0x01,0x05,0x02,0x20]
0x05,0x00,0x94,0xd2,0x01,0x05,0x02,0x20

# CHECK: v_cvt_pknorm_i16_f32 v5, v1, -v2        ; encoding: [0x05,0x00,0x94,0xd2,0x01,0x05,0x02,0x40]
0x05,0x00,0x94,0xd2,0x01,0x05,0x02,0x40

# CHECK: v_cvt_pknorm_i16_f32 v5, -v1, -v2       ; encoding: [0x05,0x00,0x94,0xd2,0x01,0x05,0x02,0x60]
0x05,0x00,0x94,0xd2,0x01,0x05,0x02,0x60

# CHECK: v_cvt_pknorm_i16_f32 v5, |v1|, v2       ; encoding: [0x05,0x01,0x94,0xd2,0x01,0x05,0x02,0x00]
0x05,0x01,0x94,0xd2,0x01,0x05,0x02,0x00

# CHECK: v_cvt_pknorm_i16_f32 v5, v1, |v2|       ; encoding: [0x05,0x02,0x94,0xd2,0x01,0x05,0x02,0x00]
0x05,0x02,0x94,0xd2,0x01,0x05,0x02,0x00

# CHECK: v_cvt_pknorm_i16_f32 v5, |v1|, |v2|     ; encoding: [0x05,0x03,0x94,0xd2,0x01,0x05,0x02,0x00]
0x05,0x03,0x94,0xd2,0x01,0x05,0x02,0x00

# CHECK: v_cvt_pknorm_u16_f32 v5, v1, v2         ; encoding: [0x05,0x00,0x95,0xd2,0x01,0x05,0x02,0x00]
0x05,0x00,0x95,0xd2,0x01,0x05,0x02,0x00

# CHECK: v_cvt_pknorm_u16_f32 v255, v1, v2       ; encoding: [0xff,0x00,0x95,0xd2,0x01,0x05,0x02,0x00]
0xff,0x00,0x95,0xd2,0x01,0x05,0x02,0x00

# CHECK: v_cvt_pknorm_u16_f32 v5, v255, v2       ; encoding: [0x05,0x00,0x95,0xd2,0xff,0x05,0x02,0x00]
0x05,0x00,0x95,0xd2,0xff,0x05,0x02,0x00

# CHECK: v_cvt_pknorm_u16_f32 v5, s1, v2         ; encoding: [0x05,0x00,0x95,0xd2,0x01,0x04,0x02,0x00]
0x05,0x00,0x95,0xd2,0x01,0x04,0x02,0x00

# CHECK: v_cvt_pknorm_u16_f32 v5, s101, v2       ; encoding: [0x05,0x00,0x95,0xd2,0x65,0x04,0x02,0x00]
0x05,0x00,0x95,0xd2,0x65,0x04,0x02,0x00

# CHECK: v_cvt_pknorm_u16_f32 v5, flat_scratch_lo, v2 ; encoding: [0x05,0x00,0x95,0xd2,0x66,0x04,0x02,0x00]
0x05,0x00,0x95,0xd2,0x66,0x04,0x02,0x00

# CHECK: v_cvt_pknorm_u16_f32 v5, flat_scratch_hi, v2 ; encoding: [0x05,0x00,0x95,0xd2,0x67,0x04,0x02,0x00]
0x05,0x00,0x95,0xd2,0x67,0x04,0x02,0x00

# CHECK: v_cvt_pknorm_u16_f32 v5, vcc_lo, v2     ; encoding: [0x05,0x00,0x95,0xd2,0x6a,0x04,0x02,0x00]
0x05,0x00,0x95,0xd2,0x6a,0x04,0x02,0x00

# CHECK: v_cvt_pknorm_u16_f32 v5, vcc_hi, v2     ; encoding: [0x05,0x00,0x95,0xd2,0x6b,0x04,0x02,0x00]
0x05,0x00,0x95,0xd2,0x6b,0x04,0x02,0x00

# CHECK: v_cvt_pknorm_u16_f32 v5, tba_lo, v2     ; encoding: [0x05,0x00,0x95,0xd2,0x6c,0x04,0x02,0x00]
0x05,0x00,0x95,0xd2,0x6c,0x04,0x02,0x00

# CHECK: v_cvt_pknorm_u16_f32 v5, tba_hi, v2     ; encoding: [0x05,0x00,0x95,0xd2,0x6d,0x04,0x02,0x00]
0x05,0x00,0x95,0xd2,0x6d,0x04,0x02,0x00

# CHECK: v_cvt_pknorm_u16_f32 v5, tma_lo, v2     ; encoding: [0x05,0x00,0x95,0xd2,0x6e,0x04,0x02,0x00]
0x05,0x00,0x95,0xd2,0x6e,0x04,0x02,0x00

# CHECK: v_cvt_pknorm_u16_f32 v5, tma_hi, v2     ; encoding: [0x05,0x00,0x95,0xd2,0x6f,0x04,0x02,0x00]
0x05,0x00,0x95,0xd2,0x6f,0x04,0x02,0x00

# CHECK: v_cvt_pknorm_u16_f32 v5, ttmp11, v2     ; encoding: [0x05,0x00,0x95,0xd2,0x7b,0x04,0x02,0x00]
0x05,0x00,0x95,0xd2,0x7b,0x04,0x02,0x00

# CHECK: v_cvt_pknorm_u16_f32 v5, m0, v2         ; encoding: [0x05,0x00,0x95,0xd2,0x7c,0x04,0x02,0x00]
0x05,0x00,0x95,0xd2,0x7c,0x04,0x02,0x00

# CHECK: v_cvt_pknorm_u16_f32 v5, exec_lo, v2    ; encoding: [0x05,0x00,0x95,0xd2,0x7e,0x04,0x02,0x00]
0x05,0x00,0x95,0xd2,0x7e,0x04,0x02,0x00

# CHECK: v_cvt_pknorm_u16_f32 v5, exec_hi, v2    ; encoding: [0x05,0x00,0x95,0xd2,0x7f,0x04,0x02,0x00]
0x05,0x00,0x95,0xd2,0x7f,0x04,0x02,0x00

# CHECK: v_cvt_pknorm_u16_f32 v5, 0, v2          ; encoding: [0x05,0x00,0x95,0xd2,0x80,0x04,0x02,0x00]
0x05,0x00,0x95,0xd2,0x80,0x04,0x02,0x00

# CHECK: v_cvt_pknorm_u16_f32 v5, -1, v2         ; encoding: [0x05,0x00,0x95,0xd2,0xc1,0x04,0x02,0x00]
0x05,0x00,0x95,0xd2,0xc1,0x04,0x02,0x00

# CHECK: v_cvt_pknorm_u16_f32 v5, 0.5, v2        ; encoding: [0x05,0x00,0x95,0xd2,0xf0,0x04,0x02,0x00]
0x05,0x00,0x95,0xd2,0xf0,0x04,0x02,0x00

# CHECK: v_cvt_pknorm_u16_f32 v5, -4.0, v2       ; encoding: [0x05,0x00,0x95,0xd2,0xf7,0x04,0x02,0x00]
0x05,0x00,0x95,0xd2,0xf7,0x04,0x02,0x00

# CHECK: v_cvt_pknorm_u16_f32 v5, v1, v255       ; encoding: [0x05,0x00,0x95,0xd2,0x01,0xff,0x03,0x00]
0x05,0x00,0x95,0xd2,0x01,0xff,0x03,0x00

# CHECK: v_cvt_pknorm_u16_f32 v5, v1, s2         ; encoding: [0x05,0x00,0x95,0xd2,0x01,0x05,0x00,0x00]
0x05,0x00,0x95,0xd2,0x01,0x05,0x00,0x00

# CHECK: v_cvt_pknorm_u16_f32 v5, v1, s101       ; encoding: [0x05,0x00,0x95,0xd2,0x01,0xcb,0x00,0x00]
0x05,0x00,0x95,0xd2,0x01,0xcb,0x00,0x00

# CHECK: v_cvt_pknorm_u16_f32 v5, v1, flat_scratch_lo ; encoding: [0x05,0x00,0x95,0xd2,0x01,0xcd,0x00,0x00]
0x05,0x00,0x95,0xd2,0x01,0xcd,0x00,0x00

# CHECK: v_cvt_pknorm_u16_f32 v5, v1, flat_scratch_hi ; encoding: [0x05,0x00,0x95,0xd2,0x01,0xcf,0x00,0x00]
0x05,0x00,0x95,0xd2,0x01,0xcf,0x00,0x00

# CHECK: v_cvt_pknorm_u16_f32 v5, v1, vcc_lo     ; encoding: [0x05,0x00,0x95,0xd2,0x01,0xd5,0x00,0x00]
0x05,0x00,0x95,0xd2,0x01,0xd5,0x00,0x00

# CHECK: v_cvt_pknorm_u16_f32 v5, v1, vcc_hi     ; encoding: [0x05,0x00,0x95,0xd2,0x01,0xd7,0x00,0x00]
0x05,0x00,0x95,0xd2,0x01,0xd7,0x00,0x00

# CHECK: v_cvt_pknorm_u16_f32 v5, v1, tba_lo     ; encoding: [0x05,0x00,0x95,0xd2,0x01,0xd9,0x00,0x00]
0x05,0x00,0x95,0xd2,0x01,0xd9,0x00,0x00

# CHECK: v_cvt_pknorm_u16_f32 v5, v1, tba_hi     ; encoding: [0x05,0x00,0x95,0xd2,0x01,0xdb,0x00,0x00]
0x05,0x00,0x95,0xd2,0x01,0xdb,0x00,0x00

# CHECK: v_cvt_pknorm_u16_f32 v5, v1, tma_lo     ; encoding: [0x05,0x00,0x95,0xd2,0x01,0xdd,0x00,0x00]
0x05,0x00,0x95,0xd2,0x01,0xdd,0x00,0x00

# CHECK: v_cvt_pknorm_u16_f32 v5, v1, tma_hi     ; encoding: [0x05,0x00,0x95,0xd2,0x01,0xdf,0x00,0x00]
0x05,0x00,0x95,0xd2,0x01,0xdf,0x00,0x00

# CHECK: v_cvt_pknorm_u16_f32 v5, v1, ttmp11     ; encoding: [0x05,0x00,0x95,0xd2,0x01,0xf7,0x00,0x00]
0x05,0x00,0x95,0xd2,0x01,0xf7,0x00,0x00

# CHECK: v_cvt_pknorm_u16_f32 v5, v1, m0         ; encoding: [0x05,0x00,0x95,0xd2,0x01,0xf9,0x00,0x00]
0x05,0x00,0x95,0xd2,0x01,0xf9,0x00,0x00

# CHECK: v_cvt_pknorm_u16_f32 v5, v1, exec_lo    ; encoding: [0x05,0x00,0x95,0xd2,0x01,0xfd,0x00,0x00]
0x05,0x00,0x95,0xd2,0x01,0xfd,0x00,0x00

# CHECK: v_cvt_pknorm_u16_f32 v5, v1, exec_hi    ; encoding: [0x05,0x00,0x95,0xd2,0x01,0xff,0x00,0x00]
0x05,0x00,0x95,0xd2,0x01,0xff,0x00,0x00

# CHECK: v_cvt_pknorm_u16_f32 v5, v1, 0          ; encoding: [0x05,0x00,0x95,0xd2,0x01,0x01,0x01,0x00]
0x05,0x00,0x95,0xd2,0x01,0x01,0x01,0x00

# CHECK: v_cvt_pknorm_u16_f32 v5, v1, -1         ; encoding: [0x05,0x00,0x95,0xd2,0x01,0x83,0x01,0x00]
0x05,0x00,0x95,0xd2,0x01,0x83,0x01,0x00

# CHECK: v_cvt_pknorm_u16_f32 v5, v1, 0.5        ; encoding: [0x05,0x00,0x95,0xd2,0x01,0xe1,0x01,0x00]
0x05,0x00,0x95,0xd2,0x01,0xe1,0x01,0x00

# CHECK: v_cvt_pknorm_u16_f32 v5, v1, -4.0       ; encoding: [0x05,0x00,0x95,0xd2,0x01,0xef,0x01,0x00]
0x05,0x00,0x95,0xd2,0x01,0xef,0x01,0x00

# CHECK: v_cvt_pknorm_u16_f32 v5, -v1, v2        ; encoding: [0x05,0x00,0x95,0xd2,0x01,0x05,0x02,0x20]
0x05,0x00,0x95,0xd2,0x01,0x05,0x02,0x20

# CHECK: v_cvt_pknorm_u16_f32 v5, v1, -v2        ; encoding: [0x05,0x00,0x95,0xd2,0x01,0x05,0x02,0x40]
0x05,0x00,0x95,0xd2,0x01,0x05,0x02,0x40

# CHECK: v_cvt_pknorm_u16_f32 v5, -v1, -v2       ; encoding: [0x05,0x00,0x95,0xd2,0x01,0x05,0x02,0x60]
0x05,0x00,0x95,0xd2,0x01,0x05,0x02,0x60

# CHECK: v_cvt_pknorm_u16_f32 v5, |v1|, v2       ; encoding: [0x05,0x01,0x95,0xd2,0x01,0x05,0x02,0x00]
0x05,0x01,0x95,0xd2,0x01,0x05,0x02,0x00

# CHECK: v_cvt_pknorm_u16_f32 v5, v1, |v2|       ; encoding: [0x05,0x02,0x95,0xd2,0x01,0x05,0x02,0x00]
0x05,0x02,0x95,0xd2,0x01,0x05,0x02,0x00

# CHECK: v_cvt_pknorm_u16_f32 v5, |v1|, |v2|     ; encoding: [0x05,0x03,0x95,0xd2,0x01,0x05,0x02,0x00]
0x05,0x03,0x95,0xd2,0x01,0x05,0x02,0x00

# CHECK: v_cvt_pkrtz_f16_f32 v5, v1, v2          ; encoding: [0x05,0x00,0x96,0xd2,0x01,0x05,0x02,0x00]
0x05,0x00,0x96,0xd2,0x01,0x05,0x02,0x00

# CHECK: v_cvt_pkrtz_f16_f32 v255, v1, v2        ; encoding: [0xff,0x00,0x96,0xd2,0x01,0x05,0x02,0x00]
0xff,0x00,0x96,0xd2,0x01,0x05,0x02,0x00

# CHECK: v_cvt_pkrtz_f16_f32 v5, v255, v2        ; encoding: [0x05,0x00,0x96,0xd2,0xff,0x05,0x02,0x00]
0x05,0x00,0x96,0xd2,0xff,0x05,0x02,0x00

# CHECK: v_cvt_pkrtz_f16_f32 v5, s1, v2          ; encoding: [0x05,0x00,0x96,0xd2,0x01,0x04,0x02,0x00]
0x05,0x00,0x96,0xd2,0x01,0x04,0x02,0x00

# CHECK: v_cvt_pkrtz_f16_f32 v5, s101, v2        ; encoding: [0x05,0x00,0x96,0xd2,0x65,0x04,0x02,0x00]
0x05,0x00,0x96,0xd2,0x65,0x04,0x02,0x00

# CHECK: v_cvt_pkrtz_f16_f32 v5, flat_scratch_lo, v2 ; encoding: [0x05,0x00,0x96,0xd2,0x66,0x04,0x02,0x00]
0x05,0x00,0x96,0xd2,0x66,0x04,0x02,0x00

# CHECK: v_cvt_pkrtz_f16_f32 v5, flat_scratch_hi, v2 ; encoding: [0x05,0x00,0x96,0xd2,0x67,0x04,0x02,0x00]
0x05,0x00,0x96,0xd2,0x67,0x04,0x02,0x00

# CHECK: v_cvt_pkrtz_f16_f32 v5, vcc_lo, v2      ; encoding: [0x05,0x00,0x96,0xd2,0x6a,0x04,0x02,0x00]
0x05,0x00,0x96,0xd2,0x6a,0x04,0x02,0x00

# CHECK: v_cvt_pkrtz_f16_f32 v5, vcc_hi, v2      ; encoding: [0x05,0x00,0x96,0xd2,0x6b,0x04,0x02,0x00]
0x05,0x00,0x96,0xd2,0x6b,0x04,0x02,0x00

# CHECK: v_cvt_pkrtz_f16_f32 v5, tba_lo, v2      ; encoding: [0x05,0x00,0x96,0xd2,0x6c,0x04,0x02,0x00]
0x05,0x00,0x96,0xd2,0x6c,0x04,0x02,0x00

# CHECK: v_cvt_pkrtz_f16_f32 v5, tba_hi, v2      ; encoding: [0x05,0x00,0x96,0xd2,0x6d,0x04,0x02,0x00]
0x05,0x00,0x96,0xd2,0x6d,0x04,0x02,0x00

# CHECK: v_cvt_pkrtz_f16_f32 v5, tma_lo, v2      ; encoding: [0x05,0x00,0x96,0xd2,0x6e,0x04,0x02,0x00]
0x05,0x00,0x96,0xd2,0x6e,0x04,0x02,0x00

# CHECK: v_cvt_pkrtz_f16_f32 v5, tma_hi, v2      ; encoding: [0x05,0x00,0x96,0xd2,0x6f,0x04,0x02,0x00]
0x05,0x00,0x96,0xd2,0x6f,0x04,0x02,0x00

# CHECK: v_cvt_pkrtz_f16_f32 v5, ttmp11, v2      ; encoding: [0x05,0x00,0x96,0xd2,0x7b,0x04,0x02,0x00]
0x05,0x00,0x96,0xd2,0x7b,0x04,0x02,0x00

# CHECK: v_cvt_pkrtz_f16_f32 v5, m0, v2          ; encoding: [0x05,0x00,0x96,0xd2,0x7c,0x04,0x02,0x00]
0x05,0x00,0x96,0xd2,0x7c,0x04,0x02,0x00

# CHECK: v_cvt_pkrtz_f16_f32 v5, exec_lo, v2     ; encoding: [0x05,0x00,0x96,0xd2,0x7e,0x04,0x02,0x00]
0x05,0x00,0x96,0xd2,0x7e,0x04,0x02,0x00

# CHECK: v_cvt_pkrtz_f16_f32 v5, exec_hi, v2     ; encoding: [0x05,0x00,0x96,0xd2,0x7f,0x04,0x02,0x00]
0x05,0x00,0x96,0xd2,0x7f,0x04,0x02,0x00

# CHECK: v_cvt_pkrtz_f16_f32 v5, 0, v2           ; encoding: [0x05,0x00,0x96,0xd2,0x80,0x04,0x02,0x00]
0x05,0x00,0x96,0xd2,0x80,0x04,0x02,0x00

# CHECK: v_cvt_pkrtz_f16_f32 v5, -1, v2          ; encoding: [0x05,0x00,0x96,0xd2,0xc1,0x04,0x02,0x00]
0x05,0x00,0x96,0xd2,0xc1,0x04,0x02,0x00

# CHECK: v_cvt_pkrtz_f16_f32 v5, 0.5, v2         ; encoding: [0x05,0x00,0x96,0xd2,0xf0,0x04,0x02,0x00]
0x05,0x00,0x96,0xd2,0xf0,0x04,0x02,0x00

# CHECK: v_cvt_pkrtz_f16_f32 v5, -4.0, v2        ; encoding: [0x05,0x00,0x96,0xd2,0xf7,0x04,0x02,0x00]
0x05,0x00,0x96,0xd2,0xf7,0x04,0x02,0x00

# CHECK: v_cvt_pkrtz_f16_f32 v5, v1, v255        ; encoding: [0x05,0x00,0x96,0xd2,0x01,0xff,0x03,0x00]
0x05,0x00,0x96,0xd2,0x01,0xff,0x03,0x00

# CHECK: v_cvt_pkrtz_f16_f32 v5, v1, s2          ; encoding: [0x05,0x00,0x96,0xd2,0x01,0x05,0x00,0x00]
0x05,0x00,0x96,0xd2,0x01,0x05,0x00,0x00

# CHECK: v_cvt_pkrtz_f16_f32 v5, v1, s101        ; encoding: [0x05,0x00,0x96,0xd2,0x01,0xcb,0x00,0x00]
0x05,0x00,0x96,0xd2,0x01,0xcb,0x00,0x00

# CHECK: v_cvt_pkrtz_f16_f32 v5, v1, flat_scratch_lo ; encoding: [0x05,0x00,0x96,0xd2,0x01,0xcd,0x00,0x00]
0x05,0x00,0x96,0xd2,0x01,0xcd,0x00,0x00

# CHECK: v_cvt_pkrtz_f16_f32 v5, v1, flat_scratch_hi ; encoding: [0x05,0x00,0x96,0xd2,0x01,0xcf,0x00,0x00]
0x05,0x00,0x96,0xd2,0x01,0xcf,0x00,0x00

# CHECK: v_cvt_pkrtz_f16_f32 v5, v1, vcc_lo      ; encoding: [0x05,0x00,0x96,0xd2,0x01,0xd5,0x00,0x00]
0x05,0x00,0x96,0xd2,0x01,0xd5,0x00,0x00

# CHECK: v_cvt_pkrtz_f16_f32 v5, v1, vcc_hi      ; encoding: [0x05,0x00,0x96,0xd2,0x01,0xd7,0x00,0x00]
0x05,0x00,0x96,0xd2,0x01,0xd7,0x00,0x00

# CHECK: v_cvt_pkrtz_f16_f32 v5, v1, tba_lo      ; encoding: [0x05,0x00,0x96,0xd2,0x01,0xd9,0x00,0x00]
0x05,0x00,0x96,0xd2,0x01,0xd9,0x00,0x00

# CHECK: v_cvt_pkrtz_f16_f32 v5, v1, tba_hi      ; encoding: [0x05,0x00,0x96,0xd2,0x01,0xdb,0x00,0x00]
0x05,0x00,0x96,0xd2,0x01,0xdb,0x00,0x00

# CHECK: v_cvt_pkrtz_f16_f32 v5, v1, tma_lo      ; encoding: [0x05,0x00,0x96,0xd2,0x01,0xdd,0x00,0x00]
0x05,0x00,0x96,0xd2,0x01,0xdd,0x00,0x00

# CHECK: v_cvt_pkrtz_f16_f32 v5, v1, tma_hi      ; encoding: [0x05,0x00,0x96,0xd2,0x01,0xdf,0x00,0x00]
0x05,0x00,0x96,0xd2,0x01,0xdf,0x00,0x00

# CHECK: v_cvt_pkrtz_f16_f32 v5, v1, ttmp11      ; encoding: [0x05,0x00,0x96,0xd2,0x01,0xf7,0x00,0x00]
0x05,0x00,0x96,0xd2,0x01,0xf7,0x00,0x00

# CHECK: v_cvt_pkrtz_f16_f32 v5, v1, m0          ; encoding: [0x05,0x00,0x96,0xd2,0x01,0xf9,0x00,0x00]
0x05,0x00,0x96,0xd2,0x01,0xf9,0x00,0x00

# CHECK: v_cvt_pkrtz_f16_f32 v5, v1, exec_lo     ; encoding: [0x05,0x00,0x96,0xd2,0x01,0xfd,0x00,0x00]
0x05,0x00,0x96,0xd2,0x01,0xfd,0x00,0x00

# CHECK: v_cvt_pkrtz_f16_f32 v5, v1, exec_hi     ; encoding: [0x05,0x00,0x96,0xd2,0x01,0xff,0x00,0x00]
0x05,0x00,0x96,0xd2,0x01,0xff,0x00,0x00

# CHECK: v_cvt_pkrtz_f16_f32 v5, v1, 0           ; encoding: [0x05,0x00,0x96,0xd2,0x01,0x01,0x01,0x00]
0x05,0x00,0x96,0xd2,0x01,0x01,0x01,0x00

# CHECK: v_cvt_pkrtz_f16_f32 v5, v1, -1          ; encoding: [0x05,0x00,0x96,0xd2,0x01,0x83,0x01,0x00]
0x05,0x00,0x96,0xd2,0x01,0x83,0x01,0x00

# CHECK: v_cvt_pkrtz_f16_f32 v5, v1, 0.5         ; encoding: [0x05,0x00,0x96,0xd2,0x01,0xe1,0x01,0x00]
0x05,0x00,0x96,0xd2,0x01,0xe1,0x01,0x00

# CHECK: v_cvt_pkrtz_f16_f32 v5, v1, -4.0        ; encoding: [0x05,0x00,0x96,0xd2,0x01,0xef,0x01,0x00]
0x05,0x00,0x96,0xd2,0x01,0xef,0x01,0x00

# CHECK: v_cvt_pkrtz_f16_f32 v5, -v1, v2         ; encoding: [0x05,0x00,0x96,0xd2,0x01,0x05,0x02,0x20]
0x05,0x00,0x96,0xd2,0x01,0x05,0x02,0x20

# CHECK: v_cvt_pkrtz_f16_f32 v5, v1, -v2         ; encoding: [0x05,0x00,0x96,0xd2,0x01,0x05,0x02,0x40]
0x05,0x00,0x96,0xd2,0x01,0x05,0x02,0x40

# CHECK: v_cvt_pkrtz_f16_f32 v5, -v1, -v2        ; encoding: [0x05,0x00,0x96,0xd2,0x01,0x05,0x02,0x60]
0x05,0x00,0x96,0xd2,0x01,0x05,0x02,0x60

# CHECK: v_cvt_pkrtz_f16_f32 v5, |v1|, v2        ; encoding: [0x05,0x01,0x96,0xd2,0x01,0x05,0x02,0x00]
0x05,0x01,0x96,0xd2,0x01,0x05,0x02,0x00

# CHECK: v_cvt_pkrtz_f16_f32 v5, v1, |v2|        ; encoding: [0x05,0x02,0x96,0xd2,0x01,0x05,0x02,0x00]
0x05,0x02,0x96,0xd2,0x01,0x05,0x02,0x00

# CHECK: v_cvt_pkrtz_f16_f32 v5, |v1|, |v2|      ; encoding: [0x05,0x03,0x96,0xd2,0x01,0x05,0x02,0x00]
0x05,0x03,0x96,0xd2,0x01,0x05,0x02,0x00

# CHECK: v_cvt_pk_u16_u32 v5, v1, v2             ; encoding: [0x05,0x00,0x97,0xd2,0x01,0x05,0x02,0x00]
0x05,0x00,0x97,0xd2,0x01,0x05,0x02,0x00

# CHECK: v_cvt_pk_u16_u32 v255, v1, v2           ; encoding: [0xff,0x00,0x97,0xd2,0x01,0x05,0x02,0x00]
0xff,0x00,0x97,0xd2,0x01,0x05,0x02,0x00

# CHECK: v_cvt_pk_u16_u32 v5, v255, v2           ; encoding: [0x05,0x00,0x97,0xd2,0xff,0x05,0x02,0x00]
0x05,0x00,0x97,0xd2,0xff,0x05,0x02,0x00

# CHECK: v_cvt_pk_u16_u32 v5, s1, v2             ; encoding: [0x05,0x00,0x97,0xd2,0x01,0x04,0x02,0x00]
0x05,0x00,0x97,0xd2,0x01,0x04,0x02,0x00

# CHECK: v_cvt_pk_u16_u32 v5, s101, v2           ; encoding: [0x05,0x00,0x97,0xd2,0x65,0x04,0x02,0x00]
0x05,0x00,0x97,0xd2,0x65,0x04,0x02,0x00

# CHECK: v_cvt_pk_u16_u32 v5, flat_scratch_lo, v2 ; encoding: [0x05,0x00,0x97,0xd2,0x66,0x04,0x02,0x00]
0x05,0x00,0x97,0xd2,0x66,0x04,0x02,0x00

# CHECK: v_cvt_pk_u16_u32 v5, flat_scratch_hi, v2 ; encoding: [0x05,0x00,0x97,0xd2,0x67,0x04,0x02,0x00]
0x05,0x00,0x97,0xd2,0x67,0x04,0x02,0x00

# CHECK: v_cvt_pk_u16_u32 v5, vcc_lo, v2         ; encoding: [0x05,0x00,0x97,0xd2,0x6a,0x04,0x02,0x00]
0x05,0x00,0x97,0xd2,0x6a,0x04,0x02,0x00

# CHECK: v_cvt_pk_u16_u32 v5, vcc_hi, v2         ; encoding: [0x05,0x00,0x97,0xd2,0x6b,0x04,0x02,0x00]
0x05,0x00,0x97,0xd2,0x6b,0x04,0x02,0x00

# CHECK: v_cvt_pk_u16_u32 v5, tba_lo, v2         ; encoding: [0x05,0x00,0x97,0xd2,0x6c,0x04,0x02,0x00]
0x05,0x00,0x97,0xd2,0x6c,0x04,0x02,0x00

# CHECK: v_cvt_pk_u16_u32 v5, tba_hi, v2         ; encoding: [0x05,0x00,0x97,0xd2,0x6d,0x04,0x02,0x00]
0x05,0x00,0x97,0xd2,0x6d,0x04,0x02,0x00

# CHECK: v_cvt_pk_u16_u32 v5, tma_lo, v2         ; encoding: [0x05,0x00,0x97,0xd2,0x6e,0x04,0x02,0x00]
0x05,0x00,0x97,0xd2,0x6e,0x04,0x02,0x00

# CHECK: v_cvt_pk_u16_u32 v5, tma_hi, v2         ; encoding: [0x05,0x00,0x97,0xd2,0x6f,0x04,0x02,0x00]
0x05,0x00,0x97,0xd2,0x6f,0x04,0x02,0x00

# CHECK: v_cvt_pk_u16_u32 v5, ttmp11, v2         ; encoding: [0x05,0x00,0x97,0xd2,0x7b,0x04,0x02,0x00]
0x05,0x00,0x97,0xd2,0x7b,0x04,0x02,0x00

# CHECK: v_cvt_pk_u16_u32 v5, m0, v2             ; encoding: [0x05,0x00,0x97,0xd2,0x7c,0x04,0x02,0x00]
0x05,0x00,0x97,0xd2,0x7c,0x04,0x02,0x00

# CHECK: v_cvt_pk_u16_u32 v5, exec_lo, v2        ; encoding: [0x05,0x00,0x97,0xd2,0x7e,0x04,0x02,0x00]
0x05,0x00,0x97,0xd2,0x7e,0x04,0x02,0x00

# CHECK: v_cvt_pk_u16_u32 v5, exec_hi, v2        ; encoding: [0x05,0x00,0x97,0xd2,0x7f,0x04,0x02,0x00]
0x05,0x00,0x97,0xd2,0x7f,0x04,0x02,0x00

# CHECK: v_cvt_pk_u16_u32 v5, 0, v2              ; encoding: [0x05,0x00,0x97,0xd2,0x80,0x04,0x02,0x00]
0x05,0x00,0x97,0xd2,0x80,0x04,0x02,0x00

# CHECK: v_cvt_pk_u16_u32 v5, -1, v2             ; encoding: [0x05,0x00,0x97,0xd2,0xc1,0x04,0x02,0x00]
0x05,0x00,0x97,0xd2,0xc1,0x04,0x02,0x00

# CHECK: v_cvt_pk_u16_u32 v5, 0.5, v2            ; encoding: [0x05,0x00,0x97,0xd2,0xf0,0x04,0x02,0x00]
0x05,0x00,0x97,0xd2,0xf0,0x04,0x02,0x00

# CHECK: v_cvt_pk_u16_u32 v5, -4.0, v2           ; encoding: [0x05,0x00,0x97,0xd2,0xf7,0x04,0x02,0x00]
0x05,0x00,0x97,0xd2,0xf7,0x04,0x02,0x00

# CHECK: v_cvt_pk_u16_u32 v5, v1, v255           ; encoding: [0x05,0x00,0x97,0xd2,0x01,0xff,0x03,0x00]
0x05,0x00,0x97,0xd2,0x01,0xff,0x03,0x00

# CHECK: v_cvt_pk_u16_u32 v5, v1, s2             ; encoding: [0x05,0x00,0x97,0xd2,0x01,0x05,0x00,0x00]
0x05,0x00,0x97,0xd2,0x01,0x05,0x00,0x00

# CHECK: v_cvt_pk_u16_u32 v5, v1, s101           ; encoding: [0x05,0x00,0x97,0xd2,0x01,0xcb,0x00,0x00]
0x05,0x00,0x97,0xd2,0x01,0xcb,0x00,0x00

# CHECK: v_cvt_pk_u16_u32 v5, v1, flat_scratch_lo ; encoding: [0x05,0x00,0x97,0xd2,0x01,0xcd,0x00,0x00]
0x05,0x00,0x97,0xd2,0x01,0xcd,0x00,0x00

# CHECK: v_cvt_pk_u16_u32 v5, v1, flat_scratch_hi ; encoding: [0x05,0x00,0x97,0xd2,0x01,0xcf,0x00,0x00]
0x05,0x00,0x97,0xd2,0x01,0xcf,0x00,0x00

# CHECK: v_cvt_pk_u16_u32 v5, v1, vcc_lo         ; encoding: [0x05,0x00,0x97,0xd2,0x01,0xd5,0x00,0x00]
0x05,0x00,0x97,0xd2,0x01,0xd5,0x00,0x00

# CHECK: v_cvt_pk_u16_u32 v5, v1, vcc_hi         ; encoding: [0x05,0x00,0x97,0xd2,0x01,0xd7,0x00,0x00]
0x05,0x00,0x97,0xd2,0x01,0xd7,0x00,0x00

# CHECK: v_cvt_pk_u16_u32 v5, v1, tba_lo         ; encoding: [0x05,0x00,0x97,0xd2,0x01,0xd9,0x00,0x00]
0x05,0x00,0x97,0xd2,0x01,0xd9,0x00,0x00

# CHECK: v_cvt_pk_u16_u32 v5, v1, tba_hi         ; encoding: [0x05,0x00,0x97,0xd2,0x01,0xdb,0x00,0x00]
0x05,0x00,0x97,0xd2,0x01,0xdb,0x00,0x00

# CHECK: v_cvt_pk_u16_u32 v5, v1, tma_lo         ; encoding: [0x05,0x00,0x97,0xd2,0x01,0xdd,0x00,0x00]
0x05,0x00,0x97,0xd2,0x01,0xdd,0x00,0x00

# CHECK: v_cvt_pk_u16_u32 v5, v1, tma_hi         ; encoding: [0x05,0x00,0x97,0xd2,0x01,0xdf,0x00,0x00]
0x05,0x00,0x97,0xd2,0x01,0xdf,0x00,0x00

# CHECK: v_cvt_pk_u16_u32 v5, v1, ttmp11         ; encoding: [0x05,0x00,0x97,0xd2,0x01,0xf7,0x00,0x00]
0x05,0x00,0x97,0xd2,0x01,0xf7,0x00,0x00

# CHECK: v_cvt_pk_u16_u32 v5, v1, m0             ; encoding: [0x05,0x00,0x97,0xd2,0x01,0xf9,0x00,0x00]
0x05,0x00,0x97,0xd2,0x01,0xf9,0x00,0x00

# CHECK: v_cvt_pk_u16_u32 v5, v1, exec_lo        ; encoding: [0x05,0x00,0x97,0xd2,0x01,0xfd,0x00,0x00]
0x05,0x00,0x97,0xd2,0x01,0xfd,0x00,0x00

# CHECK: v_cvt_pk_u16_u32 v5, v1, exec_hi        ; encoding: [0x05,0x00,0x97,0xd2,0x01,0xff,0x00,0x00]
0x05,0x00,0x97,0xd2,0x01,0xff,0x00,0x00

# CHECK: v_cvt_pk_u16_u32 v5, v1, 0              ; encoding: [0x05,0x00,0x97,0xd2,0x01,0x01,0x01,0x00]
0x05,0x00,0x97,0xd2,0x01,0x01,0x01,0x00

# CHECK: v_cvt_pk_u16_u32 v5, v1, -1             ; encoding: [0x05,0x00,0x97,0xd2,0x01,0x83,0x01,0x00]
0x05,0x00,0x97,0xd2,0x01,0x83,0x01,0x00

# CHECK: v_cvt_pk_u16_u32 v5, v1, 0.5            ; encoding: [0x05,0x00,0x97,0xd2,0x01,0xe1,0x01,0x00]
0x05,0x00,0x97,0xd2,0x01,0xe1,0x01,0x00

# CHECK: v_cvt_pk_u16_u32 v5, v1, -4.0           ; encoding: [0x05,0x00,0x97,0xd2,0x01,0xef,0x01,0x00]
0x05,0x00,0x97,0xd2,0x01,0xef,0x01,0x00

# CHECK: v_cvt_pk_i16_i32 v5, v1, v2             ; encoding: [0x05,0x00,0x98,0xd2,0x01,0x05,0x02,0x00]
0x05,0x00,0x98,0xd2,0x01,0x05,0x02,0x00

# CHECK: v_cvt_pk_i16_i32 v255, v1, v2           ; encoding: [0xff,0x00,0x98,0xd2,0x01,0x05,0x02,0x00]
0xff,0x00,0x98,0xd2,0x01,0x05,0x02,0x00

# CHECK: v_cvt_pk_i16_i32 v5, v255, v2           ; encoding: [0x05,0x00,0x98,0xd2,0xff,0x05,0x02,0x00]
0x05,0x00,0x98,0xd2,0xff,0x05,0x02,0x00

# CHECK: v_cvt_pk_i16_i32 v5, s1, v2             ; encoding: [0x05,0x00,0x98,0xd2,0x01,0x04,0x02,0x00]
0x05,0x00,0x98,0xd2,0x01,0x04,0x02,0x00

# CHECK: v_cvt_pk_i16_i32 v5, s101, v2           ; encoding: [0x05,0x00,0x98,0xd2,0x65,0x04,0x02,0x00]
0x05,0x00,0x98,0xd2,0x65,0x04,0x02,0x00

# CHECK: v_cvt_pk_i16_i32 v5, flat_scratch_lo, v2 ; encoding: [0x05,0x00,0x98,0xd2,0x66,0x04,0x02,0x00]
0x05,0x00,0x98,0xd2,0x66,0x04,0x02,0x00

# CHECK: v_cvt_pk_i16_i32 v5, flat_scratch_hi, v2 ; encoding: [0x05,0x00,0x98,0xd2,0x67,0x04,0x02,0x00]
0x05,0x00,0x98,0xd2,0x67,0x04,0x02,0x00

# CHECK: v_cvt_pk_i16_i32 v5, vcc_lo, v2         ; encoding: [0x05,0x00,0x98,0xd2,0x6a,0x04,0x02,0x00]
0x05,0x00,0x98,0xd2,0x6a,0x04,0x02,0x00

# CHECK: v_cvt_pk_i16_i32 v5, vcc_hi, v2         ; encoding: [0x05,0x00,0x98,0xd2,0x6b,0x04,0x02,0x00]
0x05,0x00,0x98,0xd2,0x6b,0x04,0x02,0x00

# CHECK: v_cvt_pk_i16_i32 v5, tba_lo, v2         ; encoding: [0x05,0x00,0x98,0xd2,0x6c,0x04,0x02,0x00]
0x05,0x00,0x98,0xd2,0x6c,0x04,0x02,0x00

# CHECK: v_cvt_pk_i16_i32 v5, tba_hi, v2         ; encoding: [0x05,0x00,0x98,0xd2,0x6d,0x04,0x02,0x00]
0x05,0x00,0x98,0xd2,0x6d,0x04,0x02,0x00

# CHECK: v_cvt_pk_i16_i32 v5, tma_lo, v2         ; encoding: [0x05,0x00,0x98,0xd2,0x6e,0x04,0x02,0x00]
0x05,0x00,0x98,0xd2,0x6e,0x04,0x02,0x00

# CHECK: v_cvt_pk_i16_i32 v5, tma_hi, v2         ; encoding: [0x05,0x00,0x98,0xd2,0x6f,0x04,0x02,0x00]
0x05,0x00,0x98,0xd2,0x6f,0x04,0x02,0x00

# CHECK: v_cvt_pk_i16_i32 v5, ttmp11, v2         ; encoding: [0x05,0x00,0x98,0xd2,0x7b,0x04,0x02,0x00]
0x05,0x00,0x98,0xd2,0x7b,0x04,0x02,0x00

# CHECK: v_cvt_pk_i16_i32 v5, m0, v2             ; encoding: [0x05,0x00,0x98,0xd2,0x7c,0x04,0x02,0x00]
0x05,0x00,0x98,0xd2,0x7c,0x04,0x02,0x00

# CHECK: v_cvt_pk_i16_i32 v5, exec_lo, v2        ; encoding: [0x05,0x00,0x98,0xd2,0x7e,0x04,0x02,0x00]
0x05,0x00,0x98,0xd2,0x7e,0x04,0x02,0x00

# CHECK: v_cvt_pk_i16_i32 v5, exec_hi, v2        ; encoding: [0x05,0x00,0x98,0xd2,0x7f,0x04,0x02,0x00]
0x05,0x00,0x98,0xd2,0x7f,0x04,0x02,0x00

# CHECK: v_cvt_pk_i16_i32 v5, 0, v2              ; encoding: [0x05,0x00,0x98,0xd2,0x80,0x04,0x02,0x00]
0x05,0x00,0x98,0xd2,0x80,0x04,0x02,0x00

# CHECK: v_cvt_pk_i16_i32 v5, -1, v2             ; encoding: [0x05,0x00,0x98,0xd2,0xc1,0x04,0x02,0x00]
0x05,0x00,0x98,0xd2,0xc1,0x04,0x02,0x00

# CHECK: v_cvt_pk_i16_i32 v5, 0.5, v2            ; encoding: [0x05,0x00,0x98,0xd2,0xf0,0x04,0x02,0x00]
0x05,0x00,0x98,0xd2,0xf0,0x04,0x02,0x00

# CHECK: v_cvt_pk_i16_i32 v5, -4.0, v2           ; encoding: [0x05,0x00,0x98,0xd2,0xf7,0x04,0x02,0x00]
0x05,0x00,0x98,0xd2,0xf7,0x04,0x02,0x00

# CHECK: v_cvt_pk_i16_i32 v5, v1, v255           ; encoding: [0x05,0x00,0x98,0xd2,0x01,0xff,0x03,0x00]
0x05,0x00,0x98,0xd2,0x01,0xff,0x03,0x00

# CHECK: v_cvt_pk_i16_i32 v5, v1, s2             ; encoding: [0x05,0x00,0x98,0xd2,0x01,0x05,0x00,0x00]
0x05,0x00,0x98,0xd2,0x01,0x05,0x00,0x00

# CHECK: v_cvt_pk_i16_i32 v5, v1, s101           ; encoding: [0x05,0x00,0x98,0xd2,0x01,0xcb,0x00,0x00]
0x05,0x00,0x98,0xd2,0x01,0xcb,0x00,0x00

# CHECK: v_cvt_pk_i16_i32 v5, v1, flat_scratch_lo ; encoding: [0x05,0x00,0x98,0xd2,0x01,0xcd,0x00,0x00]
0x05,0x00,0x98,0xd2,0x01,0xcd,0x00,0x00

# CHECK: v_cvt_pk_i16_i32 v5, v1, flat_scratch_hi ; encoding: [0x05,0x00,0x98,0xd2,0x01,0xcf,0x00,0x00]
0x05,0x00,0x98,0xd2,0x01,0xcf,0x00,0x00

# CHECK: v_cvt_pk_i16_i32 v5, v1, vcc_lo         ; encoding: [0x05,0x00,0x98,0xd2,0x01,0xd5,0x00,0x00]
0x05,0x00,0x98,0xd2,0x01,0xd5,0x00,0x00

# CHECK: v_cvt_pk_i16_i32 v5, v1, vcc_hi         ; encoding: [0x05,0x00,0x98,0xd2,0x01,0xd7,0x00,0x00]
0x05,0x00,0x98,0xd2,0x01,0xd7,0x00,0x00

# CHECK: v_cvt_pk_i16_i32 v5, v1, tba_lo         ; encoding: [0x05,0x00,0x98,0xd2,0x01,0xd9,0x00,0x00]
0x05,0x00,0x98,0xd2,0x01,0xd9,0x00,0x00

# CHECK: v_cvt_pk_i16_i32 v5, v1, tba_hi         ; encoding: [0x05,0x00,0x98,0xd2,0x01,0xdb,0x00,0x00]
0x05,0x00,0x98,0xd2,0x01,0xdb,0x00,0x00

# CHECK: v_cvt_pk_i16_i32 v5, v1, tma_lo         ; encoding: [0x05,0x00,0x98,0xd2,0x01,0xdd,0x00,0x00]
0x05,0x00,0x98,0xd2,0x01,0xdd,0x00,0x00

# CHECK: v_cvt_pk_i16_i32 v5, v1, tma_hi         ; encoding: [0x05,0x00,0x98,0xd2,0x01,0xdf,0x00,0x00]
0x05,0x00,0x98,0xd2,0x01,0xdf,0x00,0x00

# CHECK: v_cvt_pk_i16_i32 v5, v1, ttmp11         ; encoding: [0x05,0x00,0x98,0xd2,0x01,0xf7,0x00,0x00]
0x05,0x00,0x98,0xd2,0x01,0xf7,0x00,0x00

# CHECK: v_cvt_pk_i16_i32 v5, v1, m0             ; encoding: [0x05,0x00,0x98,0xd2,0x01,0xf9,0x00,0x00]
0x05,0x00,0x98,0xd2,0x01,0xf9,0x00,0x00

# CHECK: v_cvt_pk_i16_i32 v5, v1, exec_lo        ; encoding: [0x05,0x00,0x98,0xd2,0x01,0xfd,0x00,0x00]
0x05,0x00,0x98,0xd2,0x01,0xfd,0x00,0x00

# CHECK: v_cvt_pk_i16_i32 v5, v1, exec_hi        ; encoding: [0x05,0x00,0x98,0xd2,0x01,0xff,0x00,0x00]
0x05,0x00,0x98,0xd2,0x01,0xff,0x00,0x00

# CHECK: v_cvt_pk_i16_i32 v5, v1, 0              ; encoding: [0x05,0x00,0x98,0xd2,0x01,0x01,0x01,0x00]
0x05,0x00,0x98,0xd2,0x01,0x01,0x01,0x00

# CHECK: v_cvt_pk_i16_i32 v5, v1, -1             ; encoding: [0x05,0x00,0x98,0xd2,0x01,0x83,0x01,0x00]
0x05,0x00,0x98,0xd2,0x01,0x83,0x01,0x00

# CHECK: v_cvt_pk_i16_i32 v5, v1, 0.5            ; encoding: [0x05,0x00,0x98,0xd2,0x01,0xe1,0x01,0x00]
0x05,0x00,0x98,0xd2,0x01,0xe1,0x01,0x00

# CHECK: v_cvt_pk_i16_i32 v5, v1, -4.0           ; encoding: [0x05,0x00,0x98,0xd2,0x01,0xef,0x01,0x00]
0x05,0x00,0x98,0xd2,0x01,0xef,0x01,0x00

# CHECK: v_movreld_b32_e64 v5, v1                ; encoding: [0x05,0x00,0x76,0xd1,0x01,0x01,0x00,0x00]
0x05,0x00,0x76,0xd1,0x01,0x01,0x00,0x00

# CHECK: v_movreld_b32_e64 v255, v1              ; encoding: [0xff,0x00,0x76,0xd1,0x01,0x01,0x00,0x00]
0xff,0x00,0x76,0xd1,0x01,0x01,0x00,0x00

# CHECK: v_movreld_b32_e64 v5, v255              ; encoding: [0x05,0x00,0x76,0xd1,0xff,0x01,0x00,0x00]
0x05,0x00,0x76,0xd1,0xff,0x01,0x00,0x00

# CHECK: v_movreld_b32_e64 v5, m0                ; encoding: [0x05,0x00,0x76,0xd1,0x7c,0x00,0x00,0x00]
0x05,0x00,0x76,0xd1,0x7c,0x00,0x00,0x00

# CHECK: v_movreld_b32_e64 v5, 0                 ; encoding: [0x05,0x00,0x76,0xd1,0x80,0x00,0x00,0x00]
0x05,0x00,0x76,0xd1,0x80,0x00,0x00,0x00

# CHECK: v_movreld_b32_e64 v5, -1                ; encoding: [0x05,0x00,0x76,0xd1,0xc1,0x00,0x00,0x00]
0x05,0x00,0x76,0xd1,0xc1,0x00,0x00,0x00

# CHECK: v_movreld_b32_e64 v5, 0.5               ; encoding: [0x05,0x00,0x76,0xd1,0xf0,0x00,0x00,0x00]
0x05,0x00,0x76,0xd1,0xf0,0x00,0x00,0x00

# CHECK: v_movreld_b32_e64 v5, -4.0              ; encoding: [0x05,0x00,0x76,0xd1,0xf7,0x00,0x00,0x00]
0x05,0x00,0x76,0xd1,0xf7,0x00,0x00,0x00

# CHECK: v_movrels_b32_e64 v5, v1                ; encoding: [0x05,0x00,0x77,0xd1,0x01,0x01,0x00,0x00]
0x05,0x00,0x77,0xd1,0x01,0x01,0x00,0x00

# CHECK: v_movrels_b32_e64 v255, v1              ; encoding: [0xff,0x00,0x77,0xd1,0x01,0x01,0x00,0x00]
0xff,0x00,0x77,0xd1,0x01,0x01,0x00,0x00

# CHECK: v_movrels_b32_e64 v5, v255              ; encoding: [0x05,0x00,0x77,0xd1,0xff,0x01,0x00,0x00]
0x05,0x00,0x77,0xd1,0xff,0x01,0x00,0x00

# CHECK: v_movrelsd_b32_e64 v5, v1               ; encoding: [0x05,0x00,0x78,0xd1,0x01,0x01,0x00,0x00]
0x05,0x00,0x78,0xd1,0x01,0x01,0x00,0x00

# CHECK: v_movrelsd_b32_e64 v255, v1             ; encoding: [0xff,0x00,0x78,0xd1,0x01,0x01,0x00,0x00]
0xff,0x00,0x78,0xd1,0x01,0x01,0x00,0x00

# CHECK: v_movrelsd_b32_e64 v5, v255             ; encoding: [0x05,0x00,0x78,0xd1,0xff,0x01,0x00,0x00]
0x05,0x00,0x78,0xd1,0xff,0x01,0x00,0x00