• Home
  • Raw
  • Download

Lines Matching refs:ATOM

3 …mtriple=x86_64-apple-darwin10 -mcpu=atom    | FileCheck %s --check-prefix=CHECK --check-prefix=ATOM
69 ; ATOM-LABEL: test2:
70 ; ATOM: ## %bb.0: ## %entry
71 ; ATOM-NEXT: pushq %rax
72 ; ATOM-NEXT: callq _return_false
73 ; ATOM-NEXT: xorl %ecx, %ecx
74 ; ATOM-NEXT: movl $-3840, %edx ## imm = 0xF100
75 ; ATOM-NEXT: testb $1, %al
76 ; ATOM-NEXT: cmovnel %ecx, %edx
77 ; ATOM-NEXT: cmpl $32768, %edx ## imm = 0x8000
78 ; ATOM-NEXT: jge LBB1_1
79 ; ATOM-NEXT: ## %bb.2: ## %bb91
80 ; ATOM-NEXT: xorl %eax, %eax
81 ; ATOM-NEXT: popq %rcx
82 ; ATOM-NEXT: retq
83 ; ATOM-NEXT: LBB1_1: ## %bb90
84 ; ATOM-NEXT: ud2
144 ; ATOM-LABEL: test3:
145 ; ATOM: ## %bb.0: ## %entry
146 ; ATOM-NEXT: xorl %eax, %eax
147 ; ATOM-NEXT: leaq {{.*}}(%rip), %rcx
148 ; ATOM-NEXT: testl %edi, %edi
149 ; ATOM-NEXT: sete %al
150 ; ATOM-NEXT: movss {{.*#+}} xmm0 = mem[0],zero,zero,zero
151 ; ATOM-NEXT: retq
228 ; ATOM-LABEL: test5:
229 ; ATOM: ## %bb.0:
230 ; ATOM-NEXT: testb $1, %dil
231 ; ATOM-NEXT: jne LBB4_2
232 ; ATOM-NEXT: ## %bb.1:
233 ; ATOM-NEXT: movaps %xmm1, %xmm0
234 ; ATOM-NEXT: LBB4_2:
235 ; ATOM-NEXT: movss %xmm0, (%rsi)
236 ; ATOM-NEXT: nop
237 ; ATOM-NEXT: nop
238 ; ATOM-NEXT: retq
401 ; ATOM-LABEL: test7:
402 ; ATOM: ## %bb.0:
403 ; ATOM-NEXT: xorl %eax, %eax
404 ; ATOM-NEXT: leaq {{.*}}(%rip), %rcx
405 ; ATOM-NEXT: testl %edi, %edi
406 ; ATOM-NEXT: setns %al
407 ; ATOM-NEXT: shlq $4, %rax
408 ; ATOM-NEXT: fldt (%rax,%rcx)
409 ; ATOM-NEXT: retq
468 ; ATOM-LABEL: test8:
469 ; ATOM: ## %bb.0:
470 ; ATOM-NEXT: testb $1, %dil
471 ; ATOM-NEXT: jne LBB7_1
472 ; ATOM-NEXT: ## %bb.2:
473 ; ATOM-NEXT: movd {{.*#+}} xmm1 = mem[0],zero,zero,zero
474 ; ATOM-NEXT: movd {{.*#+}} xmm2 = mem[0],zero,zero,zero
475 ; ATOM-NEXT: movd {{.*#+}} xmm3 = mem[0],zero,zero,zero
476 ; ATOM-NEXT: movd {{.*#+}} xmm0 = mem[0],zero,zero,zero
477 ; ATOM-NEXT: punpckldq {{.*#+}} xmm2 = xmm2[0],xmm1[0],xmm2[1],xmm1[1]
478 ; ATOM-NEXT: punpckldq {{.*#+}} xmm0 = xmm0[0],xmm3[0],xmm0[1],xmm3[1]
479 ; ATOM-NEXT: movd {{.*#+}} xmm3 = mem[0],zero,zero,zero
480 ; ATOM-NEXT: movd {{.*#+}} xmm1 = mem[0],zero,zero,zero
481 ; ATOM-NEXT: jmp LBB7_3
482 ; ATOM-NEXT: LBB7_1:
483 ; ATOM-NEXT: movd %r9d, %xmm1
484 ; ATOM-NEXT: movd %r8d, %xmm2
485 ; ATOM-NEXT: movd %ecx, %xmm3
486 ; ATOM-NEXT: movd %edx, %xmm0
487 ; ATOM-NEXT: punpckldq {{.*#+}} xmm2 = xmm2[0],xmm1[0],xmm2[1],xmm1[1]
488 ; ATOM-NEXT: punpckldq {{.*#+}} xmm0 = xmm0[0],xmm3[0],xmm0[1],xmm3[1]
489 ; ATOM-NEXT: movd {{.*#+}} xmm3 = mem[0],zero,zero,zero
490 ; ATOM-NEXT: movd {{.*#+}} xmm1 = mem[0],zero,zero,zero
491 ; ATOM-NEXT: LBB7_3:
492 ; ATOM-NEXT: punpcklqdq {{.*#+}} xmm0 = xmm0[0],xmm2[0]
493 ; ATOM-NEXT: pcmpeqd %xmm2, %xmm2
494 ; ATOM-NEXT: punpckldq {{.*#+}} xmm1 = xmm1[0],xmm3[0],xmm1[1],xmm3[1]
495 ; ATOM-NEXT: paddd %xmm2, %xmm0
496 ; ATOM-NEXT: paddd %xmm2, %xmm1
497 ; ATOM-NEXT: movq %xmm1, 16(%rsi)
498 ; ATOM-NEXT: movdqa %xmm0, (%rsi)
499 ; ATOM-NEXT: retq
714 ; ATOM-LABEL: test9b:
715 ; ATOM: ## %bb.0:
716 ; ATOM-NEXT: cmpq $1, %rdi
717 ; ATOM-NEXT: sbbq %rax, %rax
718 ; ATOM-NEXT: orq %rsi, %rax
719 ; ATOM-NEXT: nop
720 ; ATOM-NEXT: nop
721 ; ATOM-NEXT: retq
875 ; ATOM-LABEL: test13:
876 ; ATOM: ## %bb.0:
877 ; ATOM-NEXT: cmpl %esi, %edi
878 ; ATOM-NEXT: sbbl %eax, %eax
879 ; ATOM-NEXT: nop
880 ; ATOM-NEXT: nop
881 ; ATOM-NEXT: nop
882 ; ATOM-NEXT: nop
883 ; ATOM-NEXT: retq
910 ; ATOM-LABEL: test14:
911 ; ATOM: ## %bb.0:
912 ; ATOM-NEXT: xorl %eax, %eax
913 ; ATOM-NEXT: cmpl %esi, %edi
914 ; ATOM-NEXT: adcl $-1, %eax
915 ; ATOM-NEXT: nop
916 ; ATOM-NEXT: nop
917 ; ATOM-NEXT: retq
947 ; ATOM-LABEL: test15:
948 ; ATOM: ## %bb.0: ## %entry
949 ; ATOM-NEXT: negl %edi
950 ; ATOM-NEXT: sbbl %eax, %eax
951 ; ATOM-NEXT: nop
952 ; ATOM-NEXT: nop
953 ; ATOM-NEXT: nop
954 ; ATOM-NEXT: nop
955 ; ATOM-NEXT: retq
982 ; ATOM-LABEL: test16:
983 ; ATOM: ## %bb.0: ## %entry
984 ; ATOM-NEXT: negq %rdi
985 ; ATOM-NEXT: sbbq %rax, %rax
986 ; ATOM-NEXT: nop
987 ; ATOM-NEXT: nop
988 ; ATOM-NEXT: nop
989 ; ATOM-NEXT: nop
990 ; ATOM-NEXT: retq
1025 ; ATOM-LABEL: test17:
1026 ; ATOM: ## %bb.0: ## %entry
1027 ; ATOM-NEXT: negw %di
1028 ; ATOM-NEXT: sbbl %eax, %eax
1029 ; ATOM-NEXT: ## kill: def $ax killed $ax killed $eax
1030 ; ATOM-NEXT: nop
1031 ; ATOM-NEXT: nop
1032 ; ATOM-NEXT: nop
1033 ; ATOM-NEXT: nop
1034 ; ATOM-NEXT: retq
1065 ; ATOM-LABEL: test18:
1066 ; ATOM: ## %bb.0:
1067 ; ATOM-NEXT: movl %esi, %eax
1068 ; ATOM-NEXT: cmpl $15, %edi
1069 ; ATOM-NEXT: cmovgel %edx, %eax
1070 ; ATOM-NEXT: ## kill: def $al killed $al killed $eax
1071 ; ATOM-NEXT: nop
1072 ; ATOM-NEXT: nop
1073 ; ATOM-NEXT: retq
1108 ; ATOM-LABEL: trunc_select_miscompile:
1109 ; ATOM: ## %bb.0:
1110 ; ATOM-NEXT: ## kill: def $esi killed $esi def $rsi
1111 ; ATOM-NEXT: leal 2(%rsi), %ecx
1112 ; ATOM-NEXT: movl %edi, %eax
1113 ; ATOM-NEXT: ## kill: def $cl killed $cl killed $ecx
1114 ; ATOM-NEXT: shll %cl, %eax
1115 ; ATOM-NEXT: nop
1116 ; ATOM-NEXT: nop
1117 ; ATOM-NEXT: retq
1152 ; ATOM-LABEL: clamp_i8:
1153 ; ATOM: ## %bb.0:
1154 ; ATOM-NEXT: cmpl $127, %edi
1155 ; ATOM-NEXT: movl $127, %eax
1156 ; ATOM-NEXT: movl $128, %ecx
1157 ; ATOM-NEXT: cmovlel %edi, %eax
1158 ; ATOM-NEXT: cmpl $-128, %eax
1159 ; ATOM-NEXT: cmovgel %eax, %ecx
1160 ; ATOM-NEXT: movb %cl, (%rsi)
1161 ; ATOM-NEXT: retq
1214 ; ATOM-LABEL: clamp:
1215 ; ATOM: ## %bb.0:
1216 ; ATOM-NEXT: cmpl $32767, %edi ## imm = 0x7FFF
1217 ; ATOM-NEXT: movl $32767, %eax ## imm = 0x7FFF
1218 ; ATOM-NEXT: movl $32768, %ecx ## imm = 0x8000
1219 ; ATOM-NEXT: cmovlel %edi, %eax
1220 ; ATOM-NEXT: cmpl $-32768, %eax ## imm = 0x8000
1221 ; ATOM-NEXT: cmovgel %eax, %ecx
1222 ; ATOM-NEXT: movw %cx, (%rsi)
1223 ; ATOM-NEXT: retq