1; RUN: llvm-mc -triple avr -mattr=mul -show-encoding < %s | FileCheck %s 2; RUN: llvm-mc -filetype=obj -triple avr -mattr=mul < %s | llvm-objdump -d --mattr=mul - | FileCheck -check-prefix=CHECK-INST %s 3 4 5foo: 6 7 muls r22, r16 8 muls r19, r17 9 muls r28, r31 10 muls r31, r31 11 muls r16, r16 12 muls r16, r31 13 14; CHECK: muls r22, r16 ; encoding: [0x60,0x02] 15; CHECK: muls r19, r17 ; encoding: [0x31,0x02] 16; CHECK: muls r28, r31 ; encoding: [0xcf,0x02] 17; CHECK: muls r31, r31 ; encoding: [0xff,0x02] 18; CHECK: muls r16, r16 ; encoding: [0x00,0x02] 19; CHECK: muls r16, r31 ; encoding: [0x0f,0x02] 20 21; CHECK-INST: muls r22, r16 22; CHECK-INST: muls r19, r17 23; CHECK-INST: muls r28, r31 24; CHECK-INST: muls r31, r31 25; CHECK-INST: muls r16, r16 26; CHECK-INST: muls r16, r31 27