Home | History | Annotate | Download | only in SystemZ
      1 # RUN: not llvm-mc -triple s390x-linux-gnu < %s 2> %t
      2 # RUN: FileCheck < %t %s
      3 
      4 #CHECK: error: invalid instruction
      5 #CHECK: foo	100, 200
      6 #CHECK: error: unknown token in expression
      7 #CHECK: foo	100(, 200
      8 #CHECK: error: invalid instruction
      9 #CHECK: foo	100(200), 300
     10 #CHECK: error: register expected
     11 #CHECK: foo	100(200,), 300
     12 #CHECK: error: %r0 used in an address
     13 #CHECK: foo	100(200,%r0), 300
     14 #CHECK: error: invalid instruction
     15 #CHECK: foo	100(200,%r1), 300
     16 #CHECK: error: invalid operand
     17 #CHECK: foo	100(%a0), 200
     18 #CHECK: error: %r0 used in an address
     19 #CHECK: foo	100(%r0), 200
     20 #CHECK: error: invalid operand
     21 #CHECK: foo	100(%r1,%a0), 200
     22 #CHECK: error: %r0 used in an address
     23 #CHECK: foo	100(%r1,%r0), 200
     24 #CHECK: error: unexpected token in address
     25 #CHECK: foo	100(%r1,%r2, 200
     26 #CHECK: error: invalid instruction
     27 #CHECK: foo	100(%r1,%r2), 200
     28 #CHECK: error: unexpected token in argument list
     29 #CHECK: foo	100(%r1,%r2)(, 200
     30 #CHECK: error: invalid instruction
     31 #CHECK: foo	%r0, 200
     32 #CHECK: error: invalid instruction
     33 #CHECK: foo	%r15, 200
     34 #CHECK: error: invalid register
     35 #CHECK: foo	%r16, 200
     36 #CHECK: error: invalid instruction
     37 #CHECK: foo	%f0, 200
     38 #CHECK: error: invalid instruction
     39 #CHECK: foo	%f15, 200
     40 #CHECK: error: invalid register
     41 #CHECK: foo	%f16, 200
     42 #CHECK: error: invalid instruction
     43 #CHECK: foo	%a0, 200
     44 #CHECK: error: invalid instruction
     45 #CHECK: foo	%a15, 200
     46 #CHECK: error: invalid register
     47 #CHECK: foo	%a16, 200
     48 #CHECK: error: invalid register
     49 #CHECK: foo	%c, 200
     50 #CHECK: error: invalid register
     51 #CHECK: foo	%, 200
     52 #CHECK: error: unknown token in expression
     53 #CHECK: foo	{, 200
     54 
     55 	foo	100, 200
     56 	foo	100(, 200
     57 	foo	100(200), 300
     58 	foo	100(200,), 300
     59 	foo	100(200,%r0), 300
     60 	foo	100(200,%r1), 300
     61 	foo	100(%a0), 200
     62 	foo	100(%r0), 200
     63 	foo	100(%r1,%a0), 200
     64 	foo	100(%r1,%r0), 200
     65 	foo	100(%r1,%r2, 200
     66 	foo	100(%r1,%r2), 200
     67 	foo	100(%r1,%r2)(, 200
     68 	foo	%r0, 200
     69 	foo	%r15, 200
     70 	foo	%r16, 200
     71 	foo	%f0, 200
     72 	foo	%f15, 200
     73 	foo	%f16, 200
     74 	foo	%a0, 200
     75 	foo	%a15, 200
     76 	foo	%a16, 200
     77 	foo	%c, 200
     78 	foo	%, 200
     79 	foo	{, 200
     80