1 ;; LP_COUNT register cannot be used with multi-cycle instructions such as:
2 ;; load, lr, multiply and divide.
3 ; { dg-do assemble { target arc*-*-* } }
7 mpy lp_count,r0,r1 ; { dg-error "Error: LP_COUNT register cannot be used as destination register." }
8 ld lp_count,[r2,1] ; { dg-error "Error: LP_COUNT register cannot be used as destination register." }
9 div lp_count,r12,r1 ; { dg-error "Error: LP_COUNT register cannot be used as destination register." }