3 # RUN: llvm-mc -filetype=obj -triple=powerpc64le-unknown-linux %s -o %t.o
4 # RUN: ld.lld %t.o -o %t
5 # RUN: llvm-objdump -d %t | FileCheck %s
7 # RUN: llvm-mc -filetype=obj -triple=powerpc64-unknown-linux %s -o %t.o
8 # RUN: ld.lld %t.o -o %t
9 # RUN: llvm-objdump -d %t | FileCheck %s
16 addis 2, 12, .TOC.-.Lgep@ha
17 addi 2, 2, .TOC.-.Lgep@l
19 .localentry test, .Llep-.Lgep
20 addis 3, 2, qword@toc@ha
22 addis 3, 2, qword@toc@ha
23 stxv
3, qword@toc@
l(3)
28 # Verify that we don't overwrite any of the extended opcode bits on a DQ form
31 # CHECK: addis 3, 2, 1
32 # CHECK-NEXT: lxv 3, -32752(3)
33 # CHECK-NEXT: addis 3, 2, 1
34 # CHECK-NEXT: stxv 3, -32752(3)