View | Details | Raw Unified | Return to bug 773569
Collapse All | Expand All

(-)test.s.OK (-54 / +63 lines)
Lines 374-380 movinvr: Link Here
374
	.cfi_def_cfa_offset 80
389
	.cfi_def_cfa_offset 80
375
	movl	v, %eax
390
	movl	v, %eax
376
	cmpl	$0, 40(%eax)
391
	cmpl	$0, 40(%eax)
377
	je	.L9950
392
	je	.L65
378
#APP
393
#APP
379
# 268 "test.c" 1
394
# 268 "test.c" 1
380
	rdtsc
395
	rdtsc
Lines 382-395 movinvr: Link Here
382
#NO_APP
397
#NO_APP
383
	movl	%edx, 28(%esp)
398
	movl	%edx, 28(%esp)
384
	movl	%eax, 32(%esp)
399
	movl	%eax, 32(%esp)
385
	jmp	.L9951
400
	jmp	.L66
386
.L9950:
401
.L65:
387
	movl	4(%eax), %eax
402
	movl	4(%eax), %eax
388
	leal	521288629(%eax), %edx
403
	leal	521288629(%eax), %edx
389
	movl	%edx, 32(%esp)
404
	movl	%edx, 32(%esp)
390
	movl	$362436069, 28(%esp)
405
	movl	$362436069, 28(%esp)
391
	subl	%eax, 28(%esp)
406
	subl	%eax, 28(%esp)
392
.L9951:
407
.L66:
393
	movl	32(%esp), %eax
408
	movl	32(%esp), %eax
394
	movl	%eax, 8(%esp)
409
	movl	%eax, 8(%esp)
395
	movl	$41, 4(%esp)
410
	movl	$41, 4(%esp)
Lines 401-432 movinvr: Link Here
401
	movl	%eax, (%esp)
416
	movl	%eax, (%esp)
402
	call	rand_seed
417
	call	rand_seed
403
	xorl	%esi, %esi
418
	xorl	%esi, %esi
404
	jmp	.L9952
419
	jmp	.L67
405
.L9958:
420
.L74:
406
	imull	$12, %esi, %eax
421
	imull	$12, %esi, %eax
407
	addl	v, %eax
422
	addl	v, %eax
408
	movl	632(%eax), %ecx
423
	movl	632(%eax), %ebp
409
	movl	636(%eax), %eax
424
	movl	636(%eax), %eax
410
	movl	%eax, 24(%esp)
425
	movl	%eax, 24(%esp)
411
	movl	%ecx, p
426
	movl	%ebp, p
412
	movl	%ecx, %ebx
427
	movl	%ebp, %ebx
413
.L9957:
428
.L72:
414
	leal	134217728(%ebx), %eax
429
	leal	134217728(%ebx), %eax
415
	cmpl	%ebx, %eax
430
	cmpl	%ebx, %eax
416
	ja	.L9953
431
	jbe	.L85
417
	movl	24(%esp), %eax
418
.L9953:
419
	cmpl	24(%esp), %eax
420
	jae	.L9967
421
	movl	%eax, %ebx
432
	movl	%eax, %ebx
422
	xorl	%ebp, %ebp
433
	jmp	.L68
423
	jmp	.L9954
434
.L85:
424
.L9967:
425
	movl	24(%esp), %ebx
435
	movl	24(%esp), %ebx
426
	movl	$1, %ebp
436
.L68:
427
.L9954:
437
	xorl	%ecx, %ecx
428
	cmpl	%ebx, %ecx
438
	cmpl	24(%esp), %ebx
429
	je	.L9955
439
	jb	.L69
440
.L86:
441
	movl	24(%esp), %ebx
442
	movl	$1, %ecx
443
.L69:
444
	cmpl	%ebx, %ebp
445
	jne	.L70
446
.L73:
447
	incl	%esi
448
	jmp	.L67
449
.L70:
430
	movl	p, %edi
450
	movl	p, %edi
431
#APP
451
#APP
432
# 305 "test.c" 1
452
# 305 "test.c" 1
Lines 446-469 movinvr: Link Here
446
	call	do_tick
466
	call	do_tick
447
	cmpl	$0, bail
467
	cmpl	$0, bail
448
	movl	20(%esp), %ecx
468
	movl	20(%esp), %ecx
449
	jne	.L9949
469
	jne	.L64
450
	testl	%ebp, %ebp
470
	testl	%ecx, %ecx
451
	je	.L9957
471
	je	.L72
452
.L9955:
472
	jmp	.L73
453
	incl	%esi
473
.L67:
454
.L9952:
455
	cmpl	segs, %esi
474
	cmpl	segs, %esi
456
	jl	.L9958
475
	jl	.L74
457
	movl	$0, 24(%esp)
476
	movl	$0, 24(%esp)
458
.L9966:
477
.L84:
459
	movl	28(%esp), %edx
478
	movl	28(%esp), %edx
460
	movl	%edx, 4(%esp)
479
	movl	%edx, 4(%esp)
461
	movl	32(%esp), %eax
480
	movl	32(%esp), %eax
462
	movl	%eax, (%esp)
481
	movl	%eax, (%esp)
463
	call	rand_seed
482
	call	rand_seed
464
	xorl	%ebp, %ebp
483
	xorl	%ebp, %ebp
465
	jmp	.L9959
484
	jmp	.L75
466
.L9965:
485
.L83:
467
	imull	$12, %ebp, %eax
486
	imull	$12, %ebp, %eax
468
	addl	v, %eax
487
	addl	v, %eax
469
	movl	632(%eax), %edx
488
	movl	632(%eax), %edx
Lines 472-494 movinvr: Link Here
472
	movl	%eax, 40(%esp)
491
	movl	%eax, 40(%esp)
473
	movl	%edx, p
492
	movl	%edx, p
474
	movl	%edx, %esi
493
	movl	%edx, %esi
475
.L9964:
494
.L81:
476
	leal	134217728(%esi), %eax
495
	leal	134217728(%esi), %eax
477
	cmpl	%esi, %eax
496
	cmpl	%esi, %eax
478
	ja	.L9960
497
	jbe	.L87
479
	movl	40(%esp), %eax
480
.L9960:
481
	cmpl	40(%esp), %eax
482
	jae	.L9968
483
	movl	%eax, %esi
498
	movl	%eax, %esi
499
	jmp	.L76
500
.L87:
501
	movl	40(%esp), %esi
502
.L76:
503
	cmpl	40(%esp), %esi
504
	jae	.L88
484
	movl	$0, 44(%esp)
505
	movl	$0, 44(%esp)
485
	jmp	.L9961
506
	jmp	.L77
486
.L9968:
507
.L88:
487
	movl	40(%esp), %esi
508
	movl	40(%esp), %esi
488
	movl	$1, 44(%esp)
509
	movl	$1, 44(%esp)
489
.L9961:
510
.L77:
490
	cmpl	%esi, 36(%esp)
511
	cmpl	%esi, 36(%esp)
491
	je	.L9962
512
	jne	.L78
513
.L82:
514
	incl	%ebp
515
	jmp	.L75
516
.L78:
492
	cmpl	$1, 24(%esp)
517
	cmpl	$1, 24(%esp)
493
	sbbl	%ebx, %ebx
518
	sbbl	%ebx, %ebx
494
	notl	%ebx
519
	notl	%ebx
Lines 529-560 L24: Link Here
529
	movl	%edi, p
554
	movl	%edi, p
530
	call	do_tick
555
	call	do_tick
531
	cmpl	$0, bail
556
	cmpl	$0, bail
532
	jne	.L9949
557
	jne	.L64
533
	cmpl	$0, 44(%esp)
558
	cmpl	$0, 44(%esp)
534
	je	.L9964
559
	je	.L81
535
.L9962:
560
	jmp	.L82
536
	incl	%ebp
561
.L75:
537
.L9959:
538
	cmpl	segs, %ebp
562
	cmpl	segs, %ebp
539
	jl	.L9965
563
	jl	.L83
540
	incl	24(%esp)
564
	incl	24(%esp)
541
	cmpl	$2, 24(%esp)
565
	cmpl	$2, 24(%esp)
542
	jne	.L9966
566
	jne	.L84
543
.L9949:
567
.L64:
544
	addl	$60, %esp
568
	addl	$60, %esp
545
	.cfi_def_cfa_offset 20
569
	.cfi_def_cfa_offset 20
546
	popl	%ebx
570
	popl	%ebx
547
	.cfi_def_cfa_offset 16
548
	.cfi_restore 3
571
	.cfi_restore 3
572
	.cfi_def_cfa_offset 16
549
	popl	%esi
573
	popl	%esi
550
	.cfi_def_cfa_offset 12
551
	.cfi_restore 6
574
	.cfi_restore 6
575
	.cfi_def_cfa_offset 12
552
	popl	%edi
576
	popl	%edi
553
	.cfi_def_cfa_offset 8
554
	.cfi_restore 7
577
	.cfi_restore 7
578
	.cfi_def_cfa_offset 8
555
	popl	%ebp
579
	popl	%ebp
556
	.cfi_def_cfa_offset 4
557
	.cfi_restore 5
580
	.cfi_restore 5
581
	.cfi_def_cfa_offset 4
558
	ret
582
	ret
559
	.cfi_endproc
583
	.cfi_endproc
560
.LFE24:
584
.LFE24:

Return to bug 773569