1 // RUN: not llvm-mc -arch=amdgcn %s 2>&1 | FileCheck %s
2 // RUN: not llvm-mc -arch=amdgcn -mcpu=SI %s 2>&1 | FileCheck %s
4 //===----------------------------------------------------------------------===//
6 //===----------------------------------------------------------------------===//
8 v_mul_i32_i24 v1, v2, 100
9 // CHECK: error: invalid operand for instruction
11 //===----------------------------------------------------------------------===//
13 //===----------------------------------------------------------------------===//
16 v_mul_i32_i24_e32 v1, v2, 100
17 // CHECK: error: invalid operand for instruction
20 v_mul_i32_i24_e32 v1, v2, s3
21 // CHECK: error: invalid operand for instruction
23 //===----------------------------------------------------------------------===//
25 //===----------------------------------------------------------------------===//
28 v_mul_i32_i24_e64 v1, 100, v3
29 // CHECK: error: invalid operand for instruction
32 v_mul_i32_i24_e64 v1, v2, 100
33 // CHECK: error: invalid operand for instruction
35 // TODO: Constant bus restrictions