19 lines · plain
1## Test that we default to --mcpu=future and disassemble all known instructions.2## The default is different from producers (e.g. Clang).3# RUN: llvm-mc -triple=powerpc64le -filetype=obj %s -o %t4# RUN: llvm-objdump -d --no-show-raw-insn %t | FileCheck %s --check-prefixes=CHECK,FUTURE5# RUN: llvm-objdump -d --no-show-raw-insn --mcpu=future %t | FileCheck %s --check-prefixes=CHECK,FUTURE6# RUN: llvm-objdump -d --no-show-raw-insn --mcpu=pwr9 %t | FileCheck %s --check-prefixes=CHECK,UNKNOWN7 8# RUN: llvm-mc -triple=powerpc -filetype=obj %s -o %t9# RUN: llvm-objdump -d --no-show-raw-insn %t | FileCheck %s --check-prefixes=CHECK,FUTURE10 11# CHECK-LABEL: <_start>:12# FUTURE-NEXT: pld 3, 0(0), 113# UNKNOWN-COUNT-2: <unknown>14# CHECK-EMPTY:15 16.globl _start17_start:18 pld 3, 0(0), 119