llvm/test/tools/llvm-objdump/MachO/ARM/mcpu-arm.test
raw| 1 | @ RUN: llvm-mc %s -triple thumbv7-apple-darwin -mcpu=cortex-a7 -filetype=obj -o %t.o |
| 2 | @ RUN: llvm-objdump --triple thumbv7-apple-darwin10 -m -d --mcpu=cortex-a7 %t.o | FileCheck %s |
| 3 | @ RUN: llvm-otool -tv -mcpu=cortex-a7 %t.o | FileCheck %s |
| 4 | |
| 5 | .thumb |
| 6 | .thumb_func _t |
| 7 | _t: |
| 8 | sdiv r1, r2, r3 |
| 9 | udiv r1, r2, r3 |
| 10 | |
| 11 | @ CHECK: 92 fb f3 f1 sdiv r1, r2, r3 |
| 12 | @ CHECK: b2 fb f3 f1 udiv r1, r2, r3 |