brintos

brintos / llvm-project-archived public Read only

0
0
Text · 2.7 KiB · 7b6b241 Raw
60 lines · plain
1// RUN: not llvm-mc -triple=amdgcn -mcpu=bonaire %s 2>&1 | FileCheck %s --implicit-check-not=error: --strict-whitespace2 3//==============================================================================4// cache policy is not supported for SMRD instructions5 6s_load_dword s1, s[2:3], 0xfc glc slc7// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: cache policy is not supported for SMRD instructions8// CHECK-NEXT:{{^}}s_load_dword s1, s[2:3], 0xfc glc slc9// CHECK-NEXT:{{^}}                              ^10 11s_load_dword s1, s[2:3], 0xfc slc12// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: cache policy is not supported for SMRD instructions13// CHECK-NEXT:{{^}}s_load_dword s1, s[2:3], 0xfc slc14// CHECK-NEXT:{{^}}                              ^15 16//==============================================================================17// d16 modifier is not supported on this GPU18 19image_gather4 v[5:6], v1, s[8:15], s[12:15] dmask:0x1 d1620// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: d16 modifier is not supported on this GPU21// CHECK-NEXT:{{^}}image_gather4 v[5:6], v1, s[8:15], s[12:15] dmask:0x1 d1622// CHECK-NEXT:{{^}}                                                      ^23 24//==============================================================================25// integer clamping is not supported on this GPU26 27v_add_co_u32 v84, s[4:5], v13, v31 clamp28// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: integer clamping is not supported on this GPU29// CHECK-NEXT:{{^}}v_add_co_u32 v84, s[4:5], v13, v31 clamp30// CHECK-NEXT:{{^}}                                   ^31 32//==============================================================================33// literal operands are not supported34 35v_and_b32_e64 v0, 0.159154943091895317852646485335, v136// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: literal operands are not supported37// CHECK-NEXT:{{^}}v_and_b32_e64 v0, 0.159154943091895317852646485335, v138// CHECK-NEXT:{{^}}                  ^39 40//==============================================================================41// cache policy is not supported for SMRD instructions42 43s_load_dword s5, s[2:3], glc44// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: cache policy is not supported for SMRD instructions45// CHECK-NEXT:{{^}}s_load_dword s5, s[2:3], glc46// CHECK-NEXT:{{^}}                         ^47 48//==============================================================================49// not a valid operand50 51v_alignbit_b32 v5, v1, v2, v3 op_sel:[1,1,1,1]52// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: not a valid operand.53// CHECK-NEXT:{{^}}v_alignbit_b32 v5, v1, v2, v3 op_sel:[1,1,1,1]54// CHECK-NEXT:{{^}}                              ^55 56v_alignbyte_b32 v5, v1, v2, v3 op_sel:[1,1,1,1]57// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: not a valid operand.58// CHECK-NEXT:{{^}}v_alignbyte_b32 v5, v1, v2, v3 op_sel:[1,1,1,1]59// CHECK-NEXT:{{^}}                               ^60