Add the -mcpu= option to llvm-objdump for use with the disassemblers.
[oota-llvm.git] / test / tools / llvm-objdump / macho-mcpu-arm.test
1 @ RUN: llvm-mc < %s -triple thumbv7-apple-darwin -mcpu=cortex-a7 -filetype=obj | llvm-objdump -triple thumbv7-apple-darwin10 -m -d -mcpu=cortex-a7 - | FileCheck %s
2
3 .thumb
4 .thumb_func _t
5 _t:
6 sdiv r1, r2, r3
7 udiv r1, r2, r3
8
9 @ CHECK: 92 fb f3 f1 sdiv r1, r2, r3
10 @ CHECK: b2 fb f3 f1 udiv r1, r2, r3