View | Details | Raw Unified | Return to bug 25933 | Differences between
and this patch

Collapse All | Expand All

(-)a/sysdeps/x86_64/multiarch/strcmp-avx2.S (+6 lines)
Lines 256-261 L(next_3_vectors): Link Here
256
	vpmovmskb %ymm0, %ecx
256
	vpmovmskb %ymm0, %ecx
257
	testl	%ecx, %ecx
257
	testl	%ecx, %ecx
258
	jne	L(return_3_vec_size)
258
	jne	L(return_3_vec_size)
259
	/* Check if VEC_SIZE * 4 already exceeded max compare count %r11 */
260
# ifdef USE_AS_STRNCMP
261
	movq    $(VEC_SIZE * 4), %rdx
262
	cmpq    %r11, %rdx
263
	jae     L(zero)
264
# endif
259
L(main_loop_header):
265
L(main_loop_header):
260
	leaq	(VEC_SIZE * 4)(%rdi), %rdx
266
	leaq	(VEC_SIZE * 4)(%rdi), %rdx
261
	movl	$PAGE_SIZE, %ecx
267
	movl	$PAGE_SIZE, %ecx

Return to bug 25933