; { dg-do assemble { target arc*-*-* } } .cpu HS .text ld_s r0,[r32,28] ; { dg-error "Error: register must be R1 for instruction 'ld_s'" } ld_s r0,[r28,28] ld_s r1,[r32,28] ; { dg-error "Error: register must be GP for instruction 'ld_s'" } ld_s r2,[r32,28] ; { dg-error "Error: register must be R1 for instruction 'ld_s'" } ld_s r3,[pcl,0x10] add_s r0,r0,r32 ; { dg-error "Error: inappropriate arguments for opcode 'add_s'" } add_s r0,r0,r28 mov_s.ne r0,r32 ; { dg-error "Error: inappropriate arguments for opcode 'mov_s'" }