39 lines · plain
1# REQUIRES: ppc2 3# RUN: llvm-mc -filetype=obj -triple=powerpc64le-unknown-linux %s -o %t4# RUN: ld.lld %t -o %t25# RUN: llvm-objdump -d --no-show-raw-insn %t2 | FileCheck %s6 7# RUN: llvm-mc -filetype=obj -triple=powerpc64-unknown-linux %s -o %t8# RUN: ld.lld %t -o %t29# RUN: llvm-objdump -d --no-show-raw-insn %t2 | FileCheck %s10 11# CHECK: Disassembly of section .text:12# CHECK-EMPTY:13 14.text15.global _start16_start:17.Lfoo:18 li 0,119 li 3,4220 sc21 22# CHECK: 10010158: li 0, 123# CHECK: 1001015c: li 3, 4224# CHECK: 10010160: sc25 26.global bar27bar:28 bl _start29 nop30 bl .Lfoo31 nop32 blr33 34# CHECK: 10010164: bl 0x1001015835# CHECK-NEXT: nop36# CHECK-NEXT: 1001016c: bl 0x1001015837# CHECK-NEXT: nop38# CHECK-NEXT: blr39