# RUN: llvm-mc -triple=amdgcn -mcpu=gfx950 -disassemble -show-encoding  %s | FileCheck -check-prefix=GFX950 %s

# GFX950: ds_read_b64_tr_b4 v[0:1], v0            ; encoding: [0x00,0x00,0xc0,0xd9,0x00,0x00,0x00,0x00]
0x00,0x00,0xc0,0xd9,0x00,0x00,0x00,0x00

# GFX950: ds_read_b64_tr_b4 v[2:3], v2            ; encoding: [0x00,0x00,0xc0,0xd9,0x02,0x00,0x00,0x02]
0x00,0x00,0xc0,0xd9,0x02,0x00,0x00,0x02

# GFX950: ds_read_b64_tr_b4 v[2:3], v2 offset:64  ; encoding: [0x40,0x00,0xc0,0xd9,0x02,0x00,0x00,0x02]
0x40,0x00,0xc0,0xd9,0x02,0x00,0x00,0x02

# GFX950: ds_read_b64_tr_b8 v[0:1], v0            ; encoding: [0x00,0x00,0xc4,0xd9,0x00,0x00,0x00,0x00]
0x00,0x00,0xc4,0xd9,0x00,0x00,0x00,0x00

# GFX950: ds_read_b64_tr_b8 v[2:3], v2            ; encoding: [0x00,0x00,0xc4,0xd9,0x02,0x00,0x00,0x02]
0x00,0x00,0xc4,0xd9,0x02,0x00,0x00,0x02

# GFX950: ds_read_b64_tr_b8 v[2:3], v2 offset:64  ; encoding: [0x40,0x00,0xc4,0xd9,0x02,0x00,0x00,0x02]
0x40,0x00,0xc4,0xd9,0x02,0x00,0x00,0x02

# GFX950: ds_read_b64_tr_b16 v[0:1], v0           ; encoding: [0x00,0x00,0xc6,0xd9,0x00,0x00,0x00,0x00]
0x00,0x00,0xc6,0xd9,0x00,0x00,0x00,0x00

# GFX950: ds_read_b64_tr_b16 v[2:3], v2           ; encoding: [0x00,0x00,0xc6,0xd9,0x02,0x00,0x00,0x02]
0x00,0x00,0xc6,0xd9,0x02,0x00,0x00,0x02

# GFX950: ds_read_b64_tr_b16 v[2:3], v2 offset:64 ; encoding: [0x40,0x00,0xc6,0xd9,0x02,0x00,0x00,0x02]
0x40,0x00,0xc6,0xd9,0x02,0x00,0x00,0x02

# GFX950: ds_read_b96_tr_b6 v[0:2], v0            ; encoding: [0x00,0x00,0xc2,0xd9,0x00,0x00,0x00,0x00]
0x00,0x00,0xc2,0xd9,0x00,0x00,0x00,0x00

# GFX950: ds_read_b96_tr_b6 v[2:4], v2            ; encoding: [0x00,0x00,0xc2,0xd9,0x02,0x00,0x00,0x02]
0x00,0x00,0xc2,0xd9,0x02,0x00,0x00,0x02

# GFX950: ds_read_b96_tr_b6 v[2:4], v2 offset:64  ; encoding: [0x40,0x00,0xc2,0xd9,0x02,0x00,0x00,0x02]
0x40,0x00,0xc2,0xd9,0x02,0x00,0x00,0x02

# GFX950: ds_read_b96_tr_b6 v[1:3], v0            ; encoding: [0x00,0x00,0xc2,0xd9,0x00,0x00,0x00,0x01]
0x00,0x00,0xc2,0xd9,0x00,0x00,0x00,0x01

# GFX950: ds_read_b96_tr_b6 v[1:3], v2 offset:64  ; encoding: [0x40,0x00,0xc2,0xd9,0x02,0x00,0x00,0x01]
0x40,0x00,0xc2,0xd9,0x02,0x00,0x00,0x01
