Home
last modified time | relevance | path

Searched refs:PPC64 (Results 1 – 25 of 105) sorted by relevance

12345

/external/llvm-project/llvm/test/CodeGen/PowerPC/
Dfp-to-int-to-fp.ll3 ; RUN: llc -verify-machineinstrs -mcpu=ppc64 < %s | FileCheck %s -check-prefix=PPC64
15 ; PPC64-LABEL: fool:
16 ; PPC64: # %bb.0: # %entry
17 ; PPC64-NEXT: fctidz 0, 1
18 ; PPC64-NEXT: fcfid 0, 0
19 ; PPC64-NEXT: frsp 1, 0
20 ; PPC64-NEXT: blr
41 ; PPC64-LABEL: foodl:
42 ; PPC64: # %bb.0: # %entry
43 ; PPC64-NEXT: fctidz 0, 1
[all …]
Dfp128-bitcast-after-operation.ll1 …instrs -mtriple=powerpc64le-unknown-linux-gnu -mcpu=pwr8 < %s | FileCheck %s -check-prefix=PPC64-P8
2 …ineinstrs -mtriple=powerpc64le-unknown-linux-gnu -mcpu=pwr7 < %s | FileCheck %s -check-prefix=PPC64
3 …neinstrs -mtriple=powerpc64-unknown-linux-gnu -mcpu=pwr8 < %s | FileCheck %s -check-prefix=PPC64-P8
4 …chineinstrs -mtriple=powerpc64-unknown-linux-gnu -mcpu=pwr7 < %s | FileCheck %s -check-prefix=PPC64
9 ; PPC64-LABEL: test_abs:
10 ; PPC64-DAG: stfd 2, [[OFFSET_HI:-?[0-9]+]]([[SP:[0-9]+]])
11 ; PPC64-DAG: stfd 1, [[OFFSET_LO:-?[0-9]+]]([[SP]])
12 ; PPC64-DAG: ld [[HI:[0-9]+]], [[OFFSET_LO]]([[SP]])
13 ; PPC64-DAG: ld [[LO:[0-9]+]], [[OFFSET_HI]]([[SP]])
14 ; PPC64-DAG: rldicr [[FLIP_BIT:[0-9]+]], [[HI]], 0, 0
[all …]
Datomics.ll4 …unknown-linux-gnu -ppc-asm-full-reg-names | FileCheck %s --check-prefix=CHECK --check-prefix=PPC64
35 ; PPC64-LABEL: load_i32_acquire:
36 ; PPC64: # %bb.0:
37 ; PPC64-NEXT: lwz r3, 0(r3)
38 ; PPC64-NEXT: cmpd cr7, r3, r3
39 ; PPC64-NEXT: bne- cr7, .+4
40 ; PPC64-NEXT: isync
41 ; PPC64-NEXT: blr
44 ; CHECK-PPC64: cmpw [[CR:cr[0-9]+]], [[VAL]], [[VAL]]
45 ; CHECK-PPC64: bne- [[CR]], .+4
[all …]
Dstacksize.ll6 …riple=powerpc64le-unknown-linux-gnu -target-abi elfv2 < %s | FileCheck %s -check-prefix=PPC64-ELFV2
7 …mtriple=powerpc64-unknown-linux-gnu -target-abi elfv2 < %s | FileCheck %s -check-prefix=PPC64-ELFV2
10 …riple=powerpc64le-unknown-linux-gnu -target-abi elfv1 < %s | FileCheck %s -check-prefix=PPC64-ELFV1
11 …mtriple=powerpc64-unknown-linux-gnu -target-abi elfv1 < %s | FileCheck %s -check-prefix=PPC64-ELFV1
15 ; PPC64-ELFV2-LABEL: WithoutParamArea1:
16 ; PPC64-ELFV2-NOT: stw {{[0-9]+}}, -{{[0-9]+}}(1)
17 ; PPC64-ELFV2: stdu 1, -32(1)
18 ; PPC64-ELFV2: addi 1, 1, 32
19 ; PPC64-ELFV2-NOT: lwz {{[0-9]+}}, -{{[0-9]+}}(1)
20 ; PPC64-ELFV1-LABEL: WithoutParamArea1:
[all …]
DFrames-dyn-alloca.ll2 ; RUN: llc < %s -mtriple=powerpc64-unknown-linux-gnu | FileCheck %s -check-prefix=PPC64-LINUX
4 …%s -mtriple=powerpc64-unknown-linux-gnu -frame-pointer=all | FileCheck %s -check-prefix=PPC64-LINUX
15 ; RUN: -mtriple=powerpc64-ibm-aix-xcoff | FileCheck %s -check-prefix=PPC64-AIX
19 ; RUN: -check-prefix=PPC64-AIX
43 ; PPC64-LINUX-LABEL: f1
44 ; PPC64-LINUX: std 31, -8(1)
45 ; PPC64-LINUX-NEXT: stdu 1, -64(1)
46 ; PPC64-LINUX-NEXT: rldic 3, 3, 2, 30
47 ; PPC64-LINUX-NEXT: mr 31, 1
48 ; PPC64-LINUX-NEXT: addi 3, 3, 15
[all …]
DFrames-large.ll8 ; RUN: FileCheck %s -check-prefix=PPC64-LINUX-NOFP
11 ; RUN: -frame-pointer=all | FileCheck %s -check-prefix=PPC64-LINUX-FP
23 ; RUN: -check-prefix=PPC64-AIX-NOFP
27 ; RUN: -check-prefix=PPC64-AIX-FP
64 ; PPC64-LINUX-NOFP-LABEL: f1:
65 ; PPC64-LINUX-NOFP: lis 0, -1
66 ; PPC64-LINUX-NOFP-NEXT: ori 0, 0, 32720
67 ; PPC64-LINUX-NOFP-NEXT: stdux 1, 1, 0
68 ; PPC64-LINUX-NOFP-NEXT: addi 3, 1, 52
69 ; PPC64-LINUX-NOFP-NEXT: ld 1, 0(1)
[all …]
Dcrsave.ll2 ; RUN: llc -O0 -mtriple=powerpc64-unknown-linux-gnu -mcpu=g5 < %s | FileCheck %s -check-prefix=PPC64
3 …e=powerpc64le-unknown-linux-gnu -verify-machineinstrs < %s | FileCheck %s -check-prefix=PPC64-ELFv2
25 ; PPC64: .cfi_startproc
26 ; PPC64: mfcr 12
27 ; PPC64: stw 12, 8(1)
28 ; PPC64: stdu 1, -[[AMT:[0-9]+]](1)
29 ; PPC64: .cfi_def_cfa_offset 128
30 ; PPC64: .cfi_offset lr, 16
31 ; PPC64: .cfi_offset cr2, 8
32 ; PPC64: addi 1, 1, [[AMT]]
[all …]
DFrames-small.ll8 ; RUN: FileCheck %s -check-prefix=PPC64-LINUX-NOFP
11 ; RUN: -frame-pointer=all | FileCheck %s -check-prefix=PPC64-LINUX-FP
23 ; RUN: -check-prefix=PPC64-AIX-NOFP
27 ; RUN: -check-prefix=PPC64-AIX-FP
52 ; PPC64-LINUX-NOFP-LABEL: frame_small
53 ; PPC64-LINUX-NOFP: stdu 1, -432(1)
54 ; PPC64-LINUX-NOFP: addi 3, 1, 52
55 ; PPC64-LINUX-NOFP: addi 1, 1, 432
56 ; PPC64-LINUX-NOFP: blr
58 ; PPC64-LINUX-FP-LABEL: frame_small
[all …]
DFrames-dyn-alloca-with-func-call.ll8 ; RUN: FileCheck %s -check-prefixes=PPC64,PPC64-LINUX
11 ; RUN: -frame-pointer=all | FileCheck %s -check-prefixes=PPC64,PPC64-LINUX
23 ; RUN: -check-prefixes=PPC64,PPC64-AIX
27 ; RUN: -check-prefixes=PPC64,PPC64-AIX
87 ; PPC64-LABEL: foo
88 ; PPC64: mflr 0
89 ; PPC64: std 31, -8(1)
90 ; PPC64: std 0, 16(1)
91 ; PPC64: stdu 1, -160(1)
92 ; PPC64: mr 31, 1
[all …]
Datomics-indexed.ll5 …-unknown-linux-gnu -ppc-asm-full-reg-names | FileCheck %s --check-prefix=CHECK --check-prefix=PPC64
21 ; PPC64-LABEL: load_x_i8_seq_cst:
22 ; PPC64: # %bb.0:
23 ; PPC64-NEXT: lis r4, 1
24 ; PPC64-NEXT: sync
25 ; PPC64-NEXT: ori r4, r4, 24464
26 ; PPC64-NEXT: lbzx r3, r3, r4
27 ; PPC64-NEXT: cmpd cr7, r3, r3
28 ; PPC64-NEXT: bne- cr7, .+4
29 ; PPC64-NEXT: isync
[all …]
Dumulo-128-legalisation-lowering.ll2 ; RUN: llc < %s -mtriple=powerpc64-unknown-linux-gnu | FileCheck %s --check-prefixes=PPC64
6 ; PPC64-LABEL: muloti_test:
7 ; PPC64: # %bb.0: # %start
8 ; PPC64-NEXT: mulhdu. 8, 3, 6
9 ; PPC64-NEXT: mcrf 1, 0
10 ; PPC64-NEXT: mulld 8, 5, 4
11 ; PPC64-NEXT: cmpdi 3, 0
12 ; PPC64-NEXT: mulld 3, 3, 6
13 ; PPC64-NEXT: cmpdi 5, 5, 0
14 ; PPC64-NEXT: add 3, 3, 8
[all …]
Dretaddr.ll2 … -verify-machineinstrs < %s -mtriple=powerpc64-unknown-linux-gnu | FileCheck %s -check-prefix=PPC64
15 ; PPC64: foo
16 ; PPC64: mflr 0
17 ; PPC64: std 0, [[RETADDR:[0-9]+]]
18 ; PPC64: stdu 1, -[[STACK:[0-9]+]]
19 ; PPC64: ld [[REG:[0-9]+]]
20 ; PPC64: std [[REG]], 0(3)
21 ; PPC64: addi 1, 1, [[STACK]]
22 ; PPC64: ld 0, [[RETADDR]]
23 ; PPC64: mtlr 0
[all …]
Dstore-combine.ll3 …64-unknown-linux-gnu -mcpu=pwr8 -verify-machineinstrs < %s | FileCheck %s -check-prefix=CHECK-PPC64
16 ; CHECK-PPC64-LABEL: store_i32_by_i8:
17 ; CHECK-PPC64: # %bb.0: # %entry
18 ; CHECK-PPC64-NEXT: stwbrx 3, 0, 4
19 ; CHECK-PPC64-NEXT: blr
49 ; CHECK-PPC64-LABEL: store_i32_by_i8_bswap:
50 ; CHECK-PPC64: # %bb.0: # %entry
51 ; CHECK-PPC64-NEXT: stw 3, 0(4)
52 ; CHECK-PPC64-NEXT: blr
86 ; CHECK-PPC64-LABEL: store_i64_by_i8:
[all …]
/external/llvm/test/CodeGen/PowerPC/
Dfp128-bitcast-after-operation.ll1 …N: llc -mtriple=powerpc64le-unknown-linux-gnu -mcpu=pwr8 < %s | FileCheck %s -check-prefix=PPC64-P8
2 ; RUN: llc -mtriple=powerpc64le-unknown-linux-gnu -mcpu=pwr7 < %s | FileCheck %s -check-prefix=PPC64
3 ; RUN: llc -mtriple=powerpc64-unknown-linux-gnu -mcpu=pwr8 < %s | FileCheck %s -check-prefix=PPC64-…
4 ; RUN: llc -mtriple=powerpc64-unknown-linux-gnu -mcpu=pwr7 < %s | FileCheck %s -check-prefix=PPC64
9 ; PPC64-LABEL: test_abs:
10 ; PPC64-DAG: stxsdx 2, 0, [[ADDR_HI:[0-9]+]]
11 ; PPC64-DAG: stxsdx 1, 0, [[ADDR_LO:[0-9]+]]
12 ; PPC64-DAG: addi [[ADDR_HI]], [[SP:[0-9]+]], [[OFFSET_HI:-?[0-9]+]]
13 ; PPC64-DAG: addi [[ADDR_LO]], [[SP]], [[OFFSET_LO:-?[0-9]+]]
14 ; PPC64-DAG: li [[MASK_REG:[0-9]+]], 1
[all …]
Dcrsave.ll2 ; RUN: llc -O0 -mtriple=powerpc64-unknown-linux-gnu -mcpu=g5 < %s | FileCheck %s -check-prefix=PPC64
3 …e=powerpc64le-unknown-linux-gnu -verify-machineinstrs < %s | FileCheck %s -check-prefix=PPC64-ELFv2
24 ; PPC64: .cfi_startproc
25 ; PPC64: mfcr 12
26 ; PPC64: stw 12, 8(1)
27 ; PPC64: stdu 1, -[[AMT:[0-9]+]](1)
28 ; PPC64: .cfi_def_cfa_offset 128
29 ; PPC64: .cfi_offset lr, 16
30 ; PPC64: .cfi_offset cr2, 8
31 ; PPC64: addi 1, 1, [[AMT]]
[all …]
DFrames-large.ll4 ; RUN: llc < %s -march=ppc64 | FileCheck %s -check-prefix=PPC64-NOFP
5 ; RUN: llc < %s -march=ppc64 -disable-fp-elim | FileCheck %s -check-prefix=PPC64-FP
36 ; PPC64-NOFP: _f1:
37 ; PPC64-NOFP: lis r0, -1
38 ; PPC64-NOFP: ori r0, r0, 32720
39 ; PPC64-NOFP: stdux r1, r1, r0
40 ; PPC64-NOFP: addi r3, r1, 52
41 ; PPC64-NOFP: ld r1, 0(r1)
42 ; PPC64-NOFP: blr
45 ; PPC64-FP: _f1:
[all …]
Dsvr4-redzone.ll2 ; RUN: llc -mtriple="powerpc64-unknown-linux-gnu" < %s | FileCheck %s --check-prefix=PPC64
14 ; PPC64-LABEL: regalloc:
15 ; PPC64-NOT: stdu 1, -{{[0-9]+}}(1)
16 ; PPC64: blr
26 ; PPC64-LABEL: smallstack:
27 ; PPC64-NOT: stdu 1, -{{[0-9]+}}(1)
28 ; PPC64: blr
38 ; PPC64-LABEL: bigstack:
39 ; PPC64: stdu 1, -288(1)
/external/llvm-project/lld/test/ELF/
Demulation-ppc.s4 # RUN: llvm-readobj --file-headers %t2ppc64 | FileCheck --check-prefix=PPC64 %s
6 # RUN: llvm-readobj --file-headers %t3ppc64 | FileCheck --check-prefix=PPC64 %s
9 # RUN: llvm-readobj --file-headers %t4ppc64 | FileCheck --check-prefix=PPC64 %s
11 # PPC64: ElfHeader {
12 # PPC64-NEXT: Ident {
13 # PPC64-NEXT: Magic: (7F 45 4C 46)
14 # PPC64-NEXT: Class: 64-bit (0x2)
15 # PPC64-NEXT: DataEncoding: BigEndian (0x2)
16 # PPC64-NEXT: FileVersion: 1
17 # PPC64-NEXT: OS/ABI: SystemV (0x0)
[all …]
Dgnu-hash-table.s46 # RUN: | FileCheck %s -check-prefix=PPC64
48 # RUN: | FileCheck %s -check-prefix=PPC64
190 # PPC64: Format: elf64-powerpc
191 # PPC64: Arch: powerpc64
192 # PPC64: AddressSize: 64bit
193 # PPC64: Sections [
194 # PPC64: Name: .gnu.hash
195 # PPC64-NEXT: Type: SHT_GNU_HASH
196 # PPC64-NEXT: Flags [
197 # PPC64-NEXT: SHF_ALLOC
[all …]
/external/llvm-project/llvm/test/tools/llvm-readobj/MachO/
Drelocations.test10 # RUN: | FileCheck %s --check-prefix MACHO-PPC64
110 # MACHO-PPC64: Relocations [
111 # MACHO-PPC64-NEXT: Section __text {
112 # MACHO-PPC64-NEXT: Relocation {
113 # MACHO-PPC64-NEXT: Offset: 0x24
114 # MACHO-PPC64-NEXT: PCRel: 0
115 # MACHO-PPC64-NEXT: Length: 2
116 # MACHO-PPC64-NEXT: Type: (14)
117 # MACHO-PPC64-NEXT: Value: 0x64
118 # MACHO-PPC64-NEXT: }
[all …]
Dsections-ext.test20 # RUN: %p/Inputs/trivial.obj.macho-ppc64 | FileCheck %s --check-prefix MACHO-PPC64
22 # RUN: | FileCheck %s --check-prefix MACHO-PPC64
364 # MACHO-PPC64: Sections [
365 # MACHO-PPC64-NEXT: Section {
366 # MACHO-PPC64-NEXT: Index: 0
367 # MACHO-PPC64-NEXT: Name: __text (5F 5F 74 65 78 74 00 00 00 00 00 00 00 00 00 00)
368 # MACHO-PPC64-NEXT: Segment: __TEXT (5F 5F 54 45 58 54 00 00 00 00 00 00 00 00 00 00)
369 # MACHO-PPC64-NEXT: Address: 0x0
370 # MACHO-PPC64-NEXT: Size: 0x3C
371 # MACHO-PPC64-NEXT: Offset: 608
[all …]
Dsections.test327 # RUN: | FileCheck %s --check-prefix MACHO-PPC64
493 # MACHO-PPC64: Sections [
494 # MACHO-PPC64-NEXT: Section {
495 # MACHO-PPC64-NEXT: Index: 0
496 # MACHO-PPC64-NEXT: Name: __text (5F 5F 74 65 78 74 00 00 00 00 00 00 00 00 00 00)
497 # MACHO-PPC64-NEXT: Segment: __TEXT (5F 5F 54 45 58 54 00 00 00 00 00 00 00 00 00 00)
498 # MACHO-PPC64-NEXT: Address: 0x0
499 # MACHO-PPC64-NEXT: Size: 0x3C
500 # MACHO-PPC64-NEXT: Offset: 608
501 # MACHO-PPC64-NEXT: Alignment: 2
[all …]
/external/llvm/test/tools/llvm-readobj/
Drelocations.test16 RUN: | FileCheck %s -check-prefix MACHO-PPC64
139 MACHO-PPC64: Relocations [
140 MACHO-PPC64-NEXT: Section __text {
141 MACHO-PPC64-NEXT: Relocation {
142 MACHO-PPC64-NEXT: Offset: 0x24
143 MACHO-PPC64-NEXT: PCRel: 0
144 MACHO-PPC64-NEXT: Length: 2
145 MACHO-PPC64-NEXT: Type: (14)
146 MACHO-PPC64-NEXT: Value: 0x64
147 MACHO-PPC64-NEXT: }
[all …]
Dsections-ext.test12 RUN: | FileCheck %s -check-prefix MACHO-PPC64
501 MACHO-PPC64: Sections [
502 MACHO-PPC64-NEXT: Section {
503 MACHO-PPC64-NEXT: Index: 0
504 MACHO-PPC64-NEXT: Name: __text (5F 5F 74 65 78 74 00 00 00 00 00 00 00 00 00 00)
505 MACHO-PPC64-NEXT: Segment: __TEXT (5F 5F 54 45 58 54 00 00 00 00 00 00 00 00 00 00)
506 MACHO-PPC64-NEXT: Address: 0x0
507 MACHO-PPC64-NEXT: Size: 0x3C
508 MACHO-PPC64-NEXT: Offset: 608
509 MACHO-PPC64-NEXT: Alignment: 2
[all …]
Dsections.test14 RUN: | FileCheck %s -check-prefix MACHO-PPC64
283 MACHO-PPC64: Sections [
284 MACHO-PPC64-NEXT: Section {
285 MACHO-PPC64-NEXT: Index: 0
286 MACHO-PPC64-NEXT: Name: __text (5F 5F 74 65 78 74 00 00 00 00 00 00 00 00 00 00)
287 MACHO-PPC64-NEXT: Segment: __TEXT (5F 5F 54 45 58 54 00 00 00 00 00 00 00 00 00 00)
288 MACHO-PPC64-NEXT: Address: 0x0
289 MACHO-PPC64-NEXT: Size: 0x3C
290 MACHO-PPC64-NEXT: Offset: 608
291 MACHO-PPC64-NEXT: Alignment: 2
[all …]

12345