• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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  fmulsu r22, r16
8  fmulsu r19, r17
9  fmulsu r21, r23
10  fmulsu r23, r23
11
12; CHECK: fmulsu r22, r16                   ; encoding: [0xe8,0x03]
13; CHECK: fmulsu r19, r17                   ; encoding: [0xb9,0x03]
14; CHECK: fmulsu r21, r23                   ; encoding: [0xdf,0x03]
15; CHECK: fmulsu r23, r23                   ; encoding: [0xff,0x03]
16
17; CHECK-INST: fmulsu r22, r16
18; CHECK-INST: fmulsu r19, r17
19; CHECK-INST: fmulsu r21, r23
20; CHECK-INST: fmulsu r23, r23
21