[ARM] Better OR's for MVE compares
[llvm-core.git] / test / MC / AVR / inst-adiw.s
blobeeba76c608ce29fd2c35b041b481685935536ffb
1 ; RUN: llvm-mc -triple avr -mattr=addsubiw -show-encoding < %s | FileCheck %s
4 foo:
6 adiw r26, 12
7 adiw r26, 63
9 adiw r28, 17
10 adiw r28, 0
12 adiw r30, 63
13 adiw r30, 3
15 adiw r24, SYMBOL
17 ; CHECK: adiw r26, 12 ; encoding: [0x1c,0x96]
18 ; CHECK: adiw r26, 63 ; encoding: [0xdf,0x96]
20 ; CHECK: adiw r28, 17 ; encoding: [0x61,0x96]
21 ; CHECK: adiw r28, 0 ; encoding: [0x20,0x96]
23 ; CHECK: adiw r30, 63 ; encoding: [0xff,0x96]
24 ; CHECK: adiw r30, 3 ; encoding: [0x33,0x96]
26 ; CHECK: adiw r24, SYMBOL ; encoding: [0b00AAAAAA,0x96]
27 ; fixup A - offset: 0, value: SYMBOL, kind: fixup_6_adiw