dc958481 |
1 | ; { dg-do assemble { target arc*-*-* } } |
2 | .cpu HS |
3 | .text |
4 | ld_s r0,[r32,28] ; { dg-error "Error: register must be R1 for instruction 'ld_s'" } |
5 | ld_s r0,[r28,28] |
6 | ld_s r1,[r32,28] ; { dg-error "Error: register must be GP for instruction 'ld_s'" } |
7 | ld_s r2,[r32,28] ; { dg-error "Error: register must be R1 for instruction 'ld_s'" } |
8 | ld_s r3,[pcl,0x10] |
9 | add_s r0,r0,r32 ; { dg-error "Error: inappropriate arguments for opcode 'add_s'" } |
10 | add_s r0,r0,r28 |
11 | mov_s.ne r0,r32 ; { dg-error "Error: inappropriate arguments for opcode 'mov_s'" } |