21 lines · plain
1@ RUN: llvm-mc < %s -triple armv7r -mattr=+hwdiv-arm -filetype=obj | llvm-objdump -d - | FileCheck %s2@ v7r implies Thumb hwdiv, but ARM hwdiv is optional3@ FIXME: Does that imply we should actually refuse to disassemble it?4 5.eabi_attribute Tag_CPU_arch, 10 // v76.eabi_attribute Tag_CPU_arch_profile, 0x52 // 'R' profile7 8.arm9div_arm:10 udiv r0, r1, r211 12@CHECK-LABEL: div_arm13@CHECK: e730f211 <unknown>14 15.thumb16div_thumb:17 udiv r0, r1, r218 19@CHECK-LABEL: div_thumb20@CHECK: fbb1 f0f2 udiv r0, r1, r221