bolt/deps/llvm-18.1.8/llvm/test/MC/AVR/error.s

17 lines
460 B
ArmAsm
Raw Normal View History

2025-02-14 19:21:04 +01:00
# RUN: not llvm-mc -triple avr -mcpu=avrtiny %s 2>&1 \
# RUN: | FileCheck -check-prefix=AVRTINY %s
# RUN: not llvm-mc -triple avr -mcpu=avr2 %s 2>&1 \
# RUN: | FileCheck -check-prefix=AVR2 %s
# AVRTINY: error: invalid register on avrtiny
mov r0, r16
# AVRTINY: error: invalid register on avrtiny
mov 1, r16
# AVR2: error: invalid operand for instruction
ldi r1, 15
# AVR2: error: instruction requires a CPU feature not currently enabled
lpm r8, Z+