blob: 51d6f707a9d9d7dc5a22116df90f14a08c655030 [file] [log] [blame]
;; LP_COUNT register cannot be used with multi-cycle instructions such as:
;; load, lr, multiply and divide.
; { dg-do assemble { target arc*-*-* } }
.cpu HS
mpy lp_count,r0,r1 ; { dg-error "Error: LP_COUNT register cannot be used as destination register." }
ld lp_count,[r2,1] ; { dg-error "Error: LP_COUNT register cannot be used as destination register." }
div lp_count,r12,r1 ; { dg-error "Error: LP_COUNT register cannot be used as destination register." }