comparison test/MC/AMDGPU/vop2-err.s @ 122:36195a0db682

merging ( incomplete )
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Fri, 17 Nov 2017 20:32:31 +0900
parents 803732b1fca8
children c2174574ed3a
comparison
equal deleted inserted replaced
119:d9df2cbd60cd 122:36195a0db682
1 // RUN: not llvm-mc -arch=amdgcn %s 2>&1 | FileCheck %s 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 2 // RUN: not llvm-mc -arch=amdgcn -mcpu=tahiti %s 2>&1 | FileCheck %s
3 3
4 //===----------------------------------------------------------------------===// 4 //===----------------------------------------------------------------------===//
5 // Generic checks 5 // Generic checks
6 //===----------------------------------------------------------------------===// 6 //===----------------------------------------------------------------------===//
7 7
8 v_mul_i32_i24 v1, v2, 100 8 v_mul_i32_i24 v1, v2, 100
9 // CHECK: error: invalid operand for instruction 9 // CHECK: error: invalid operand for instruction
10
11 v_cndmask_b32 v1, v2, v3
12 // CHECK: error: too few operands for instruction
10 13
11 //===----------------------------------------------------------------------===// 14 //===----------------------------------------------------------------------===//
12 // _e32 checks 15 // _e32 checks
13 //===----------------------------------------------------------------------===// 16 //===----------------------------------------------------------------------===//
14 17
16 v_mul_i32_i24_e32 v1, v2, 100 19 v_mul_i32_i24_e32 v1, v2, 100
17 // CHECK: error: invalid operand for instruction 20 // CHECK: error: invalid operand for instruction
18 21
19 // sgpr src1 22 // sgpr src1
20 v_mul_i32_i24_e32 v1, v2, s3 23 v_mul_i32_i24_e32 v1, v2, s3
24 // CHECK: error: invalid operand for instruction
25
26 v_cndmask_b32_e32 v1, v2, v3, s[0:1]
21 // CHECK: error: invalid operand for instruction 27 // CHECK: error: invalid operand for instruction
22 28
23 //===----------------------------------------------------------------------===// 29 //===----------------------------------------------------------------------===//
24 // _e64 checks 30 // _e64 checks
25 //===----------------------------------------------------------------------===// 31 //===----------------------------------------------------------------------===//