brintos

brintos / llvm-project-archived public Read only

0
0
Text · 2.0 KiB · b9925d1 Raw
43 lines · plain
1// RUN: llvm-mc -triple=amdgcn -mcpu=gfx950 -show-encoding %s | FileCheck --check-prefix=GFX950 %s2// RUN: not llvm-mc -triple=amdgcn -mcpu=gfx942 %s 2>&1 | FileCheck --check-prefix=GFX942-ERR --implicit-check-not=error: %s3 4ds_read_b64_tr_b4 v[0:1], v15// GFX942-ERR: [[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU6// GFX950: encoding: [0x00,0x00,0xc0,0xd9,0x01,0x00,0x00,0x00]7 8ds_read_b64_tr_b4 v[2:3], v3 offset:649// GFX942-ERR: [[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU10// GFX950: encoding: [0x40,0x00,0xc0,0xd9,0x03,0x00,0x00,0x02]11 12ds_read_b64_tr_b8 v[0:1], v113// GFX942-ERR: [[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU14// GFX950: encoding: [0x00,0x00,0xc4,0xd9,0x01,0x00,0x00,0x00]15 16ds_read_b64_tr_b8 v[2:3], v3 offset:6417// GFX942-ERR: [[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU18// GFX950: encoding: [0x40,0x00,0xc4,0xd9,0x03,0x00,0x00,0x02]19 20ds_read_b64_tr_b16 v[0:1], v121// GFX942-ERR: [[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU22// GFX950: encoding: [0x00,0x00,0xc6,0xd9,0x01,0x00,0x00,0x00]23 24ds_read_b64_tr_b16 v[2:3], v3 offset:6425// GFX942-ERR: [[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU26// GFX950: encoding: [0x40,0x00,0xc6,0xd9,0x03,0x00,0x00,0x02]27 28ds_read_b96_tr_b6 v[0:2], v029// GFX942-ERR: [[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU30// GFX950: encoding: [0x00,0x00,0xc2,0xd9,0x00,0x00,0x00,0x00]31 32ds_read_b96_tr_b6 v[2:4], v2 offset:6433// GFX942-ERR: [[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU34// GFX950: encoding: [0x40,0x00,0xc2,0xd9,0x02,0x00,0x00,0x02]35 36ds_read_b96_tr_b6 v[1:3], v037// GFX942-ERR: [[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU38// GFX950: encoding: [0x00,0x00,0xc2,0xd9,0x00,0x00,0x00,0x01]39 40ds_read_b96_tr_b6 v[1:3], v2 offset:6441// GFX942-ERR: [[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU42// GFX950: encoding: [0x40,0x00,0xc2,0xd9,0x02,0x00,0x00,0x01]43