• Home
  • Raw
  • Download

Lines Matching refs:PPC64

1 …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
15 ; PPC64-DAG: xor 3, [[HI]], [[FLIP_BIT]]
16 ; PPC64-DAG: xor 4, [[LO]], [[FLIP_BIT]]
17 ; PPC64: blr
19 ; PPC64-P8-LABEL: test_abs:
20 ; PPC64-P8-DAG: mffprd [[LO:[0-9]+]], 2
21 ; PPC64-P8-DAG: mffprd [[HI:[0-9]+]], 1
22 ; PPC64-P8-DAG: rldicr [[FLIP_BIT:[0-9]+]], [[HI]], 0, 0
23 ; PPC64-P8-DAG: xor 3, [[HI]], [[FLIP_BIT]]
24 ; PPC64-P8-DAG: xor 4, [[LO]], [[FLIP_BIT]]
25 ; PPC64-P8: blr
44 ; PPC64-LABEL: test_neg:
45 ; PPC64-DAG: stfd 2, [[OFFSET_HI:-?[0-9]+]]([[SP:[0-9]+]])
46 ; PPC64-DAG: stfd 1, [[OFFSET_LO:-?[0-9]+]]([[SP]])
47 ; PPC64-DAG: li [[FLIP_BIT:[0-9]+]], 1
48 ; PPC64-DAG: sldi [[FLIP_BIT]], [[FLIP_BIT]], 63
49 ; PPC64-DAG: ld [[HI:[0-9]+]], [[OFFSET_LO]]([[SP]])
50 ; PPC64-DAG: ld [[LO:[0-9]+]], [[OFFSET_HI]]([[SP]])
51 ; PPC64-NOT: BARRIER
52 ; PPC64-DAG: xor 3, [[HI]], [[FLIP_BIT]]
53 ; PPC64-DAG: xor 4, [[LO]], [[FLIP_BIT]]
54 ; PPC64: blr
56 ; PPC64-P8-LABEL: test_neg:
57 ; PPC64-P8-DAG: mffprd [[LO:[0-9]+]], 2
58 ; PPC64-P8-DAG: mffprd [[HI:[0-9]+]], 1
59 ; PPC64-P8-DAG: li [[IMM1:[0-9]+]], 1
60 ; PPC64-P8-DAG: sldi [[FLIP_BIT:[0-9]+]], [[IMM1]], 63
61 ; PPC64-P8-NOT: BARRIER
62 ; PPC64-P8-DAG: xor 3, [[HI]], [[FLIP_BIT]]
63 ; PPC64-P8-DAG: xor 4, [[LO]], [[FLIP_BIT]]
64 ; PPC64-P8: blr
83 ; PPC64-LABEL: test_copysign:
84 ; PPC64-DAG: stfd 1, [[OFFSET:-?[0-9]+]](1)
85 ; PPC64-DAG: li [[HI_TMP:[0-9]+]], 16399
86 ; PPC64-DAG: li [[LO_TMP:[0-9]+]], 3019
87 ; PPC64-NOT: BARRIER
88 ; PPC64-DAG: sldi [[CST_HI:[0-9]+]], [[HI_TMP]], 48
89 ; PPC64-DAG: sldi [[CST_LO:[0-9]+]], [[LO_TMP]], 52
90 ; PPC64-DAG: ld [[X_HI:[0-9]+]], [[OFFSET]](1)
91 ; PPC64-DAG: rldicr [[NEW_HI_TMP:[0-9]+]], [[X_HI]], 0, 0
92 ; PPC64-DAG: or 3, [[NEW_HI_TMP]], [[CST_HI]]
93 ; PPC64-DAG: xor 4, [[NEW_HI_TMP]], [[CST_LO]]
94 ; PPC64: blr
96 ; PPC64-P8-LABEL: test_copysign:
97 ; PPC64-P8-DAG: mffprd [[X_HI:[0-9]+]], 1
98 ; PPC64-P8-DAG: li [[HI_TMP:[0-9]+]], 16399
99 ; PPC64-P8-DAG: li [[LO_TMP:[0-9]+]], 3019
100 ; PPC64-P8-NOT: BARRIER
101 ; PPC64-P8-DAG: sldi [[CST_HI:[0-9]+]], [[HI_TMP]], 48
102 ; PPC64-P8-DAG: sldi [[CST_LO:[0-9]+]], [[LO_TMP]], 52
103 ; PPC64-P8-DAG: rldicr [[NEW_HI_TMP:[0-9]+]], [[X_HI]], 0, 0
104 ; PPC64-P8-DAG: or 3, [[NEW_HI_TMP]], [[CST_HI]]
105 ; PPC64-P8-DAG: xor 4, [[NEW_HI_TMP]], [[CST_LO]]
106 ; PPC64-P8: blr