[AMDGPU] Add True16 register classes.
[llvm-project.git] / llvm / test / MC / PowerPC / ppc64-abs-reloc.s
blobd38e1f4b8dc13a9074dd3f3b6a717e9fd40db9e1
1 # RUN: llvm-mc -triple powerpc64le-unknown-linux-gnu %s -filetype=obj -o - | \
2 # RUN: llvm-objdump -D -r - | FileCheck %s
4 # RUN: llvm-mc -triple powerpc64-ibm-aix-xcoff %s -filetype=obj -o - | \
5 # RUN: llvm-objdump -D -r - | FileCheck %s
7 test: # @test
8 add 5, 3, 4
9 extsw 3, 5
10 .space 32776
11 lab2:
12 lxv 5, (lab2-test)@l(4)
13 ld 5, (lab2-test)@l(4)
14 lwz 5, (lab2-test)@l(4)
15 lxv 5, 8389632@l(4)
16 ld 5, 8389632@l(4)
17 lwz 5, 8389632@l(4)
18 blr
20 # CHECK: lxv 5, -32752(4)
21 # CHECK: ld 5, -32752(4)
22 # CHECK: lwz 5, -32752(4)
23 # CHECK: lxv 5, 1024(4)
24 # CHECK: ld 5, 1024(4)
25 # CHECK: lwz 5, 1024(4)