Home
last modified time | relevance | path

Searched refs:X32 (Results 1 – 25 of 96) sorted by relevance

1234

/external/llvm/test/CodeGen/X86/
Datomic6432.ll1 ; RUN: llc < %s -O0 -march=x86 -mcpu=corei7 -verify-machineinstrs | FileCheck %s --check-prefix X32
6 ; X32-LABEL: atomic_fetch_add64:
9 ; X32: addl
10 ; X32: adcl
11 ; X32: lock
12 ; X32: cmpxchg8b
14 ; X32: addl
15 ; X32: adcl
16 ; X32: lock
17 ; X32: cmpxchg8b
[all …]
Datomic8.ll2 ; RUN: llc < %s -O0 -march=x86 -mcpu=corei7 -verify-machineinstrs | FileCheck %s --check-prefix X32
8 ; X32-LABEL: atomic_fetch_add8:
14 ; X32: lock
15 ; X32: incb
19 ; X32: lock
20 ; X32: addb $3
24 ; X32: lock
25 ; X32: xaddb
29 ; X32: lock
30 ; X32: addb
[all …]
Datomic16.ll2 … -mtriple=i386-unknown-unknown -mcpu=corei7 -verify-machineinstrs | FileCheck %s --check-prefix X32
8 ; X32-LABEL: atomic_fetch_add16
14 ; X32: lock
15 ; X32: incw
19 ; X32: lock
20 ; X32: addw $3
24 ; X32: lock
25 ; X32: xaddw
29 ; X32: lock
30 ; X32: addw
[all …]
Datomic64.ll7 ; X32-LABEL: atomic_fetch_add64:
27 ; X32-LABEL: atomic_fetch_sub64:
46 ; X32-LABEL: atomic_fetch_and64:
63 ; X32-LABEL: atomic_fetch_or64:
80 ; X32-LABEL: atomic_fetch_xor64:
97 ; X32-LABEL: atomic_fetch_nand64:
103 ; X32: andl
104 ; X32: andl
105 ; X32: notl
106 ; X32: notl
[all …]
Dsegmented-stacks.ll1 …< %s -mcpu=generic -mtriple=i686-linux -verify-machineinstrs | FileCheck %s -check-prefix=X32-Linux
5 …%s -mcpu=generic -mtriple=i686-darwin -verify-machineinstrs | FileCheck %s -check-prefix=X32-Darwin
7 …%s -mcpu=generic -mtriple=i686-mingw32 -verify-machineinstrs | FileCheck %s -check-prefix=X32-MinGW
9 …mcpu=generic -mtriple=i686-dragonfly -verify-machineinstrs | FileCheck %s -check-prefix=X32-DFlyBSD
28 ; RUN: FileCheck %s -input-file=%t.log -check-prefix=X32-FreeBSD
31 ; X32-FreeBSD: Segmented stacks not supported on FreeBSD i386
41 ; X32-Linux-LABEL: test_basic:
43 ; X32-Linux: cmpl %gs:48, %esp
44 ; X32-Linux-NEXT: ja .LBB0_2
46 ; X32-Linux: pushl $0
[all …]
Dsse41.ll1 …: llc < %s -mtriple=i686-apple-darwin9 -mattr=sse4.1 -mcpu=penryn | FileCheck %s --check-prefix=X32
7 ; X32-LABEL: pinsrd_1:
8 ; X32: ## BB#0:
9 ; X32-NEXT: pinsrd $1, {{[0-9]+}}(%esp), %xmm0
10 ; X32-NEXT: retl
21 ; X32-LABEL: pinsrb_1:
22 ; X32: ## BB#0:
23 ; X32-NEXT: pinsrb $1, {{[0-9]+}}(%esp), %xmm0
24 ; X32-NEXT: retl
35 ; X32-LABEL: pmovsxbd_1:
[all …]
Dvector-shuffle-mmx.ll1 ; RUN: llc < %s -mtriple=i686-darwin -mattr=+mmx,+sse2 | FileCheck --check-prefix=X32 %s
7 ; X32-LABEL: test0:
8 ; X32: ## BB#0: ## %entry
9 ; X32-NEXT: movl {{[0-9]+}}(%esp), %eax
10 ; X32-NEXT: movsd {{.*#+}} xmm0 = mem[0],zero
11 ; X32-NEXT: pshufd {{.*#+}} xmm0 = xmm0[1,1,2,3]
12 ; X32-NEXT: movq %xmm0, (%eax)
13 ; X32-NEXT: retl
31 ; X32-LABEL: test1:
32 ; X32: ## BB#0: ## %entry
[all …]
Dtls-pie.ll2 ; RUN: | FileCheck -check-prefix=X32 %s
10 ; X32-LABEL: f1:
11 ; X32: movl %gs:i@NTPOFF, %eax
12 ; X32-NEXT: ret
23 ; X32-LABEL: f2:
24 ; X32: movl %gs:0, %eax
25 ; X32-NEXT: leal i@NTPOFF(%eax), %eax
26 ; X32-NEXT: ret
37 ; X32-LABEL: f3:
38 ; X32: calll .L{{[0-9]+}}$pb
[all …]
Datomic_mi.ll2 ; RUN: llc < %s -march=x86 -verify-machineinstrs | FileCheck %s --check-prefix X32
31 ; X32-LABEL: store_atomic_imm_8
32 ; X32: movb
33 ; X32-NOT: movb
42 ; X32-LABEL: store_atomic_imm_16
43 ; X32: movw
44 ; X32-NOT: movw
55 ; X32-LABEL: store_atomic_imm_32
56 ; X32: movl 4(%esp), %eax
57 ; X32: movl
[all …]
Dv2f32.ll2 …RUN: llc < %s -mcpu=yonah -march=x86 -mtriple=i386-linux-gnu -o - | FileCheck %s --check-prefix=X32
13 ; X32-LABEL: test1:
14 ; X32: # BB#0:
15 ; X32-NEXT: movl {{[0-9]+}}(%esp), %eax
16 ; X32-NEXT: movshdup {{.*#+}} xmm1 = xmm0[1,1,3,3]
17 ; X32-NEXT: addss %xmm0, %xmm1
18 ; X32-NEXT: movss %xmm1, (%eax)
19 ; X32-NEXT: retl
33 ; X32-LABEL: test2:
34 ; X32: # BB#0:
[all …]
Dxor.ll1 ; RUN: llc < %s -march=x86 -mattr=+sse2 | FileCheck %s -check-prefix=X32
10 ; X32-LABEL: test1:
11 ; X32: xorps %xmm0, %xmm0
12 ; X32: ret
19 ; X32-LABEL: test2:
20 ; X32: xorl %eax, %eax
21 ; X32: ret
37 ; X32-LABEL: test3:
38 ; X32: movl 8(%esp), %eax
39 ; X32: notl %eax
[all …]
Dmovgs.ll1 … %s -march=x86 -mtriple=i386-linux-gnu -mcpu=penryn -mattr=sse4.1 | FileCheck %s --check-prefix=X32
6 ; X32-LABEL: test1:
7 ; X32: # BB#0: # %entry
8 ; X32-NEXT: movl %gs:196, %eax
9 ; X32-NEXT: movl (%eax), %eax
10 ; X32-NEXT: retl
24 ; X32-LABEL: test2:
25 ; X32: # BB#0: # %entry
26 ; X32-NEXT: subl $12, %esp
27 ; X32-NEXT: movl {{[0-9]+}}(%esp), %eax
[all …]
Dtls-pic.ll1 … llc < %s -march=x86 -mtriple=i386-linux-gnu -relocation-model=pic | FileCheck -check-prefix=X32 %s
14 ; X32-LABEL: f1:
15 ; X32: leal i@TLSGD(,%ebx), %eax
16 ; X32: calll ___tls_get_addr@PLT
30 ; X32-LABEL: f2:
31 ; X32: leal i@TLSGD(,%ebx), %eax
32 ; X32: calll ___tls_get_addr@PLT
46 ; X32-LABEL: f3:
47 ; X32: leal i@TLSGD(,%ebx), %eax
48 ; X32: calll ___tls_get_addr@PLT
[all …]
Dvector-sext.ll8 … %s -mtriple=i686-unknown-unknown -mcpu=i686 -mattr=+sse4.1 | FileCheck %s --check-prefix=X32-SSE41
59 ; X32-SSE41-LABEL: sext_8i16_to_8i32:
60 ; X32-SSE41: # BB#0: # %entry
61 ; X32-SSE41-NEXT: movdqa %xmm0, %xmm1
62 ; X32-SSE41-NEXT: pmovzxwd %xmm1, %xmm0
63 ; X32-SSE41-NEXT: pslld $16, %xmm0
64 ; X32-SSE41-NEXT: psrad $16, %xmm0
65 ; X32-SSE41-NEXT: punpckhwd {{.*#+}} xmm1 = xmm1[4,4,5,5,6,6,7,7]
66 ; X32-SSE41-NEXT: pslld $16, %xmm1
67 ; X32-SSE41-NEXT: psrad $16, %xmm1
[all …]
Dvec_insert-2.ll1 ; RUN: llc < %s -march=x86 -mattr=+sse2,-sse4.1 | FileCheck --check-prefix=X32 %s
5 ; X32-LABEL: t1:
6 ; X32: shufps $36
7 ; X32: ret
14 ; X32-LABEL: t2:
15 ; X32: shufps $36
16 ; X32: ret
23 ; X32-LABEL: t3:
24 ; X32: movhpd
25 ; X32: ret
[all …]
Dxor-icmp.ll1 ; RUN: llc < %s -march=x86 | FileCheck %s -check-prefix=X32
7 ; X32-LABEL: t:
8 ; X32: xorb
9 ; X32-NOT: andb
10 ; X32-NOT: shrb
11 ; X32: testb $64
12 ; X32: je
40 ; X32-LABEL: t2:
41 ; X32: cmpl
42 ; X32: sete
[all …]
Dsegmented-stacks-dynamic.ll1 …: llc < %s -mcpu=generic -mtriple=i686-linux -verify-machineinstrs | FileCheck %s -check-prefix=X32
25 ; X32-LABEL: test_basic:
27 ; X32: cmpl %gs:48, %esp
28 ; X32-NEXT: ja .LBB0_2
30 ; X32: pushl $4
31 ; X32-NEXT: pushl $12
32 ; X32-NEXT: calll __morestack
33 ; X32-NEXT: ret
35 ; X32: movl %esp, %eax
36 ; X32: subl %ecx, %eax
[all …]
Dstore-narrow.ll3 ; RUN: llc -march=x86 -asm-verbose=false < %s | FileCheck %s -check-prefix=X32
19 ; X32-LABEL: test1:
20 ; X32: movb 8(%esp), %al
21 ; X32: movb %al, (%{{.*}})
36 ; X32-LABEL: test2:
37 ; X32: movb 8(%esp), %[[REG:[abcd]]]l
38 ; X32: movb %[[REG]]l, 1(%{{.*}})
52 ; X32-LABEL: test3:
53 ; X32: movw 8(%esp), %ax
54 ; X32: movw %ax, (%{{.*}})
[all …]
Dbyval2.ll15 ; RUN: llc < %s -march=x86 -mattr=-avx | FileCheck %s -check-prefix=X32
16 ; X32-NOT: movsl
17 ; X32: rep
18 ; X32-NOT: rep
19 ; X32: movsl
20 ; X32-NOT: movsl
21 ; X32: rep
22 ; X32-NOT: rep
23 ; X32: movsl
24 ; X32-NOT: rep
[all …]
Dadd.ll1 ; RUN: llc < %s -mcpu=generic -march=x86 | FileCheck %s -check-prefix=X32
11 ; X32: subl $-128, %eax
17 ; X32: addl $-2147483648, %eax
24 ; X32: addl $128, %eax
42 ; X32-LABEL: test4:
43 ; X32: addl
44 ; X32-NEXT: jo
65 ; X32-LABEL: test5:
66 ; X32: addl
67 ; X32-NEXT: jb
[all …]
Dhipe-prologue.ll1 …< %s -mcpu=generic -mtriple=i686-linux -verify-machineinstrs | FileCheck %s -check-prefix=X32-Linux
12 ; X32-Linux-LABEL: test_basic:
13 ; X32-Linux-NOT: calll inc_stack_0
26 ; X32-Linux-LABEL: test_basic_hipecc:
27 ; X32-Linux: leal -156(%esp), %ebx
28 ; X32-Linux-NEXT: cmpl 76(%ebp), %ebx
29 ; X32-Linux-NEXT: jb .LBB1_1
31 ; X32-Linux: ret
33 ; X32-Linux: .LBB1_1:
34 ; X32-Linux-NEXT: calll inc_stack_0
[all …]
Dbyval3.ll15 ; RUN: llc < %s -march=x86 -mattr=-avx | FileCheck %s -check-prefix=X32
16 ; X32-NOT: movsl
17 ; X32: rep
18 ; X32-NOT: rep
19 ; X32: movsl
20 ; X32-NOT: movsl
21 ; X32: rep
22 ; X32-NOT: rep
23 ; X32: movsl
24 ; X32-NOT: rep
[all …]
Dtls-models.ll3 ; RUN: llc < %s -march=x86 -mtriple=i386-linux-gnu | FileCheck -check-prefix=X32 %s
30 ; X32-LABEL: f1:
31 ; X32: external_gd@INDNTPOFF
47 ; X32-LABEL: f2:
48 ; X32: internal_gd@NTPOFF
67 ; X32-LABEL: f3:
68 ; X32: external_ld@INDNTPOFF
84 ; X32-LABEL: f4:
85 ; X32: internal_ld@NTPOFF
104 ; X32-LABEL: f5:
[all …]
Dshift-and.ll1 ; RUN: llc < %s -mtriple=i386-apple-macosx | FileCheck %s --check-prefix=X32
5 ; X32-LABEL: t1:
6 ; X32-NOT: andl
7 ; X32: shll
18 ; X32-LABEL: t2:
19 ; X32-NOT: andl
20 ; X32: shll
33 ; X32-LABEL: t3:
34 ; X32-NOT: andl
35 ; X32: sarw
Dbyval4.ll15 ; RUN: llc < %s -march=x86 -mattr=-avx | FileCheck %s -check-prefix=X32
16 ; X32-NOT: movsl
17 ; X32: rep
18 ; X32-NOT: rep
19 ; X32: movsl
20 ; X32-NOT: movsl
21 ; X32: rep
22 ; X32-NOT: rep
23 ; X32: movsl
24 ; X32-NOT: rep
[all …]

1234