reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced
    1
    2
    3
    4
    5
    6
    7
    8
    9
   10
   11
   12
   13
   14
   15
   16
   17
   18
   19
   20
   21
   22
   23
   24
   25
   26
   27
   28
   29
   30
   31
   32
   33
   34
   35
   36
   37
   38
   39
   40
   41
   42
   43
   44
   45
   46
   47
   48
   49
   50
   51
   52
   53
   54
   55
   56
   57
   58
   59
   60
   61
   62
   63
   64
   65
   66
   67
   68
   69
   70
   71
   72
   73
   74
   75
   76
   77
   78
   79
   80
   81
   82
   83
   84
   85
   86
   87
   88
   89
   90
   91
   92
   93
   94
   95
   96
   97
   98
   99
  100
  101
  102
  103
  104
  105
  106
  107
  108
  109
  110
  111
// RUN: not llvm-mc -arch=amdgcn -mcpu=tahiti -show-encoding %s 2>&1 | FileCheck -check-prefixes=GCN-ERR,SICIVI9-ERR,SIVICI-ERR,SI-ERR %s
// RUN: not llvm-mc -arch=amdgcn -mcpu=tonga -show-encoding %s 2>&1 | FileCheck -check-prefixes=GCN-ERR,SICIVI9-ERR,SIVICI-ERR,CIVI9-ERR %s
// RUN: not llvm-mc -arch=amdgcn -mcpu=gfx900 -show-encoding %s 2>&1 | FileCheck -check-prefixes=GCN-ERR,GFX9-ERR,SICIVI9-ERR,CIVI9-ERR %s
// RUN: not llvm-mc -arch=amdgcn -mcpu=gfx1010 -show-encoding %s 2>&1 | FileCheck -check-prefixes=GCN-ERR,GFX10-ERR %s

// RUN: not llvm-mc -arch=amdgcn -mcpu=tahiti -show-encoding %s 2>&1 | FileCheck -check-prefix=SIVICI %s
// RUN: not llvm-mc -arch=amdgcn -mcpu=tonga -show-encoding %s 2>&1 | FileCheck -check-prefix=SIVICI %s
// RUN: not llvm-mc -arch=amdgcn -mcpu=gfx900 -show-encoding %s 2>&1 | FileCheck -check-prefix=GFX9 %s
// RUN: not llvm-mc -arch=amdgcn -mcpu=gfx1010 -show-encoding %s 2>&1 | FileCheck -check-prefix=GFX10 %s

s_add_i32 s106, s0, s1
// GCN-ERR: error: not a valid operand

s_add_i32 s104, s0, s1
// SICIVI9-ERR: error: not a valid operand
// GFX10: s_add_i32 s104, s0, s1 ; encoding:

s_add_i32 s105, s0, s1
// SICIVI9-ERR: error: not a valid operand
// GFX10: s_add_i32 s105, s0, s1 ; encoding:

v_add_i32 v256, v0, v1
// GCN-ERR: error: not a valid operand

v_add_i32 v257, v0, v1
// GCN-ERR: error: not a valid operand

s_mov_b64 s[0:17], -1
// GCN-ERR: error: not a valid operand

s_mov_b64 s[103:104], -1
// GCN-ERR: error: not a valid operand

s_mov_b64 s[105:106], -1
// GCN-ERR: error: not a valid operand

s_mov_b64 s[104:105], -1
// SICIVI9-ERR: error: not a valid operand
// GFX10: s_mov_b64 s[104:105], -1 ; encoding:

s_load_dwordx4 s[102:105], s[2:3], s4
// GCN-ERR: error: not a valid operand

s_load_dwordx4 s[104:108], s[2:3], s4
// GCN-ERR: error: not a valid operand

s_load_dwordx4 s[108:112], s[2:3], s4
// GCN-ERR: error: not a valid operand

s_load_dwordx4 s[1:4], s[2:3], s4
// GCN-ERR: error: not a valid operand

s_load_dwordx4 s[1:4], s[2:3], s4
// GCN-ERR: error: not a valid operand

s_load_dwordx8 s[104:111], s[2:3], s4
// GCN-ERR: error: not a valid operand

s_load_dwordx8 s[100:107], s[2:3], s4
// GCN-ERR: error: not a valid operand

s_load_dwordx8 s[108:115], s[2:3], s4
// GCN-ERR: error: not a valid operand

s_load_dwordx16 s[92:107], s[2:3], s4
// GCN-ERR: error: not a valid operand

s_load_dwordx16 s[96:111], s[2:3], s4
// GCN-ERR: error: not a valid operand

s_load_dwordx16 s[100:115], s[2:3], s4
// GCN-ERR: error: not a valid operand

s_load_dwordx16 s[104:119], s[2:3], s4
// GCN-ERR: error: not a valid operand

s_load_dwordx16 s[108:123], s[2:3], s4
// GCN-ERR: error: not a valid operand

s_mov_b32 ttmp16, 0
// GCN-ERR: error: not a valid operand

s_mov_b32 ttmp12, 0
// SICIVI: error: not a valid operand
// GFX9: s_mov_b32 ttmp12, 0 ; encoding:
// GFX10: s_mov_b32 ttmp12, 0 ; encoding:

s_mov_b32 ttmp15, 0
// SICIVI: error: not a valid operand
// GFX9: s_mov_b32 ttmp15, 0 ; encoding:
// GFX10: s_mov_b32 ttmp15, 0 ; encoding:

s_mov_b32 flat_scratch_lo, 0
// SI-ERR: error: not a valid operand
// CIVI9: s_mov_b32 flat_scratch_lo, 0 ; encoding:
// GFX10-ERR: error: not a valid operand

s_mov_b32 flat_scratch_hi, 0
// SI-ERR: error: not a valid operand
// CIVI9: s_mov_b32 flat_scratch_hi, 0 ; encoding:
// GFX10-ERR: error: not a valid operand

s_mov_b32 tma_lo, 0
// SIVICI: s_mov_b32 tma_lo, 0 ; encoding:
// GFX9-ERR: error: not a valid operand
// GFX10-ERR: error: not a valid operand

s_mov_b32 tba_lo, 0
// SIVICI: s_mov_b32 tba_lo, 0 ; encoding:
// GFX9-ERR: error: not a valid operand
// GFX10-ERR: error: not a valid operand