di_reghz3.s 13.9 KB
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727
/****************************************************************
  RSP DUAL ISSUE: Register Hazard
 ****************************************************************/

.base 0x04001000

	lui	$0, 0x0001
	ori	$0, $0, 0x0203
	lui	$1, 0x0004
	ori	$1, $1, 0x0506
	lui	$2, 0x0007
	ori	$2, $2, 0x0809
	lui	$3, 0x000A
	ori	$3, $3, 0x0B0C
	lui	$4, 0x000D
	ori	$4, $4, 0x0E0F
	lui	$5, 0x0010
	ori	$5, $5, 0x1112
	lui	$6, 0x0013
	ori	$6, $6, 0x1415
	lui	$7, 0x0016
	ori	$7, $7, 0x1718
	lui	$8, 0x0019
	ori	$8, $8, 0x1A1B
	lui	$9, 0x001C
	ori	$9, $9, 0x1D1E
	lui	$10, 0x001F
	ori	$10, $10, 0x2021
	lui	$11, 0x0022
	ori	$11, $11, 0x2324
	lui	$12, 0x0025
	ori	$12, $12, 0x2627
	lui	$13, 0x0028
	ori	$13, $13, 0x292A
	lui	$14, 0x002B
	ori	$14, $14, 0x2C2D
	lui	$15, 0x002E
	ori	$15, $15, 0x2F30
	lui	$16, 0x0031
	ori	$16, $16, 0x3233
	lui	$17, 0x0034
	ori	$17, $17, 0x3536
	lui	$18, 0x0037
	ori	$18, $18, 0x3839
	lui	$19, 0x003A
	ori	$19, $19, 0x3B3C
	lui	$20, 0x003D
	ori	$20, $20, 0x3E3F
	lui	$21, 0x0040
	ori	$21, $21, 0x4142
	lui	$22, 0x0043
	ori	$22, $22, 0x4445
	lui	$23, 0x0046
	ori	$23, $23, 0x4748
	lui	$24, 0x0049
	ori	$24, $24, 0x4A4B
	lui	$25, 0x004C
	ori	$25, $25, 0x4D4E
	lui	$26, 0x004F
	ori	$26, $26, 0x5051
	lui	$27, 0x0052
	ori	$27, $27, 0x5354
	lui	$28, 0x0055
	ori	$28, $28, 0x5657
	lui	$29, 0x0058
	ori	$29, $29, 0x595A
	lui	$30, 0x005B
	ori	$30, $30, 0x5C5D
	lui	$31, 0x005E
	ori	$31, $31, 0x5F60
	lui	$1, 0x0400
	ori	$1, $1, 0x0000
	ctc2	$0, $v0
	ctc2	$0, $v1
	.data	0x04000000
	.word	0x01010101		/* Addr: 0x04000000 */
	.word	0x01010101		/* Addr: 0x04000004 */
	.word	0x01010101		/* Addr: 0x04000008 */
	.word	0x01010101		/* Addr: 0x0400000C */
	lqv	$v0, 0x0($1)
	.word	0x02020202		/* Addr: 0x04000010 */
	.word	0x02020202		/* Addr: 0x04000014 */
	.word	0x02020202		/* Addr: 0x04000018 */
	.word	0x02020202		/* Addr: 0x0400001C */
	lqv	$v1, 0x10($1)
	vnxor	$v2, $v0, $v0
	vnxor	$v3, $v0, $v0
	vnxor	$v4, $v0, $v0
	vnxor	$v5, $v0, $v0
	vnxor	$v6, $v0, $v0
	vnxor	$v7, $v0, $v0
	vnxor	$v8, $v0, $v0
	vnxor	$v9, $v0, $v0
	vnxor	$v10, $v0, $v0
	vnxor	$v11, $v0, $v0
	vnxor	$v12, $v0, $v0
	vnxor	$v13, $v0, $v0
	vnxor	$v14, $v0, $v0
	vnxor	$v15, $v0, $v0
	vnxor	$v16, $v0, $v0
	vnxor	$v17, $v0, $v0
	vnxor	$v18, $v0, $v0
	vnxor	$v19, $v0, $v0
	vnxor	$v20, $v0, $v0
	vnxor	$v21, $v0, $v0
	vnxor	$v22, $v0, $v0
	vnxor	$v23, $v0, $v0
	vnxor	$v24, $v0, $v0
	vnxor	$v25, $v0, $v0
	vnxor	$v26, $v0, $v0
	vnxor	$v27, $v0, $v0
	vnxor	$v28, $v0, $v0
	vnxor	$v29, $v0, $v0
	vnxor	$v30, $v0, $v0
	vnxor	$v31, $v0, $v0
	lui	$0, 0x0001
	ori	$0, $0, 0x0203
	lui	$1, 0x0004
	ori	$1, $1, 0x0506
	lui	$2, 0x0007
	ori	$2, $2, 0x0809
	lui	$3, 0x000A
	ori	$3, $3, 0x0B0C
	lui	$4, 0x000D
	ori	$4, $4, 0x0E0F
	lui	$5, 0x0010
	ori	$5, $5, 0x1112
	lui	$6, 0x0013
	ori	$6, $6, 0x1415
	lui	$7, 0x0016
	ori	$7, $7, 0x1718
	lui	$8, 0x0019
	ori	$8, $8, 0x1A1B
	lui	$9, 0x001C
	ori	$9, $9, 0x1D1E
	lui	$10, 0x001F
	ori	$10, $10, 0x2021
	lui	$11, 0x0022
	ori	$11, $11, 0x2324
	lui	$12, 0x0025
	ori	$12, $12, 0x2627
	lui	$13, 0x0028
	ori	$13, $13, 0x292A
	lui	$14, 0x002B
	ori	$14, $14, 0x2C2D
	lui	$15, 0x002E
	ori	$15, $15, 0x2F30
	lui	$16, 0x0031
	ori	$16, $16, 0x3233
	lui	$17, 0x0034
	ori	$17, $17, 0x3536
	lui	$18, 0x0037
	ori	$18, $18, 0x3839
	lui	$19, 0x003A
	ori	$19, $19, 0x3B3C
	lui	$20, 0x003D
	ori	$20, $20, 0x3E3F
	lui	$21, 0x0040
	ori	$21, $21, 0x4142
	lui	$22, 0x0043
	ori	$22, $22, 0x4445
	lui	$23, 0x0046
	ori	$23, $23, 0x4748
	lui	$24, 0x0049
	ori	$24, $24, 0x4A4B
	lui	$25, 0x004C
	ori	$25, $25, 0x4D4E
	lui	$26, 0x004F
	ori	$26, $26, 0x5051
	lui	$27, 0x0052
	ori	$27, $27, 0x5354
	lui	$28, 0x0055
	ori	$28, $28, 0x5657
	lui	$29, 0x0058
	ori	$29, $29, 0x595A
	lui	$30, 0x005B
	ori	$30, $30, 0x5C5D
	lui	$31, 0x005E
	ori	$31, $31, 0x5F60

	/************************************************
	  TEST BODY
	 ************************************************/

	nop
	nop
	nop
	vadd	$v2, $v0, $v1
	nop
	nop
	nop
	vadd	$v3, $v0, $v2
	nop
	nop
	nop
	vadd	$v4, $v0, $v3
	nop
	nop
	nop
	vadd	$v5, $v0, $v4
	nop
	nop
	nop
	vadd	$v6, $v0, $v5
	nop
	nop
	nop
	vadd	$v7, $v0, $v6
	nop
	nop
	nop
	vadd	$v8, $v0, $v7
	nop
	nop
	nop
	vadd	$v9, $v0, $v8
	nop
	nop
	nop
	vadd	$v10, $v0, $v9
	nop
	nop
	nop
	vadd	$v11, $v0, $v10
	nop
	nop
	nop
	vadd	$v12, $v0, $v11
	nop
	nop
	nop
	vadd	$v13, $v0, $v12
	nop
	nop
	nop
	vadd	$v14, $v0, $v13
	nop
	nop
	nop
	vadd	$v15, $v0, $v14
	nop
	nop
	nop
	vadd	$v16, $v0, $v15
	nop
	nop
	nop
	vadd	$v17, $v0, $v16
	nop
	nop
	nop
	vadd	$v18, $v0, $v17
	nop
	nop
	nop
	vadd	$v19, $v0, $v18
	nop
	nop
	nop
	vadd	$v20, $v0, $v19
	nop
	nop
	nop
	vadd	$v21, $v0, $v20
	nop
	nop
	nop
	vadd	$v22, $v0, $v21
	nop
	nop
	nop
	vadd	$v23, $v0, $v22
	nop
	nop
	nop
	vadd	$v24, $v0, $v23
	nop
	nop
	nop
	vadd	$v25, $v0, $v24
	nop
	nop
	nop
	vadd	$v26, $v0, $v25
	nop
	nop
	nop
	vadd	$v27, $v0, $v26
	nop
	nop
	nop
	vadd	$v28, $v0, $v27
	nop
	nop
	nop
	vadd	$v29, $v0, $v28
	nop
	nop
	nop
	vadd	$v30, $v0, $v29
	nop
	nop
	nop
	vadd	$v31, $v0, $v30
	nop
	nop
	nop
	vadd	$v0, $v0, $v31
	nop
	nop
	nop
	vadd	$v1, $v0, $v0

	/************************************************
	  CHECK RESULT
	 ************************************************/

	lui	$1, 0x0400
	ori	$1, $1, 0x0020
	lui	$2, 0x0000
	ori	$2, $2, 0x00FF
	xor	$3, $3, $3
	.word	0x42424242		/* Addr: 0x04000020 */
	.word	0x42424242		/* Addr: 0x04000024 */
	.word	0x42424242		/* Addr: 0x04000028 */
	.word	0x42424242		/* Addr: 0x0400002C */
	lqv	$v0, 0x0($1)
	veq	$v0, $v0, $v1
	nop
	cfc2	$3, $v1
	nop
	bne	$3, $2, Fail
	nop
	xor	$3, $3, $3
	.word	0x03030303		/* Addr: 0x04000030 */
	.word	0x03030303		/* Addr: 0x04000034 */
	.word	0x03030303		/* Addr: 0x04000038 */
	.word	0x03030303		/* Addr: 0x0400003C */
	lqv	$v0, 0x10($1)
	veq	$v0, $v0, $v2
	nop
	cfc2	$3, $v1
	nop
	bne	$3, $2, Fail
	nop
	xor	$3, $3, $3
	.word	0x04040404		/* Addr: 0x04000040 */
	.word	0x04040404		/* Addr: 0x04000044 */
	.word	0x04040404		/* Addr: 0x04000048 */
	.word	0x04040404		/* Addr: 0x0400004C */
	lqv	$v0, 0x20($1)
	veq	$v0, $v0, $v3
	nop
	cfc2	$3, $v1
	nop
	bne	$3, $2, Fail
	nop
	xor	$3, $3, $3
	.word	0x05050505		/* Addr: 0x04000050 */
	.word	0x05050505		/* Addr: 0x04000054 */
	.word	0x05050505		/* Addr: 0x04000058 */
	.word	0x05050505		/* Addr: 0x0400005C */
	lqv	$v0, 0x30($1)
	veq	$v0, $v0, $v4
	nop
	cfc2	$3, $v1
	nop
	bne	$3, $2, Fail
	nop
	xor	$3, $3, $3
	.word	0x06060606		/* Addr: 0x04000060 */
	.word	0x06060606		/* Addr: 0x04000064 */
	.word	0x06060606		/* Addr: 0x04000068 */
	.word	0x06060606		/* Addr: 0x0400006C */
	lqv	$v0, 0x40($1)
	veq	$v0, $v0, $v5
	nop
	cfc2	$3, $v1
	nop
	bne	$3, $2, Fail
	nop
	xor	$3, $3, $3
	.word	0x07070707		/* Addr: 0x04000070 */
	.word	0x07070707		/* Addr: 0x04000074 */
	.word	0x07070707		/* Addr: 0x04000078 */
	.word	0x07070707		/* Addr: 0x0400007C */
	lqv	$v0, 0x50($1)
	veq	$v0, $v0, $v6
	nop
	cfc2	$3, $v1
	nop
	bne	$3, $2, Fail
	nop
	xor	$3, $3, $3
	.word	0x08080808		/* Addr: 0x04000080 */
	.word	0x08080808		/* Addr: 0x04000084 */
	.word	0x08080808		/* Addr: 0x04000088 */
	.word	0x08080808		/* Addr: 0x0400008C */
	lqv	$v0, 0x60($1)
	veq	$v0, $v0, $v7
	nop
	cfc2	$3, $v1
	nop
	bne	$3, $2, Fail
	nop
	xor	$3, $3, $3
	.word	0x09090909		/* Addr: 0x04000090 */
	.word	0x09090909		/* Addr: 0x04000094 */
	.word	0x09090909		/* Addr: 0x04000098 */
	.word	0x09090909		/* Addr: 0x0400009C */
	lqv	$v0, 0x70($1)
	veq	$v0, $v0, $v8
	nop
	cfc2	$3, $v1
	nop
	bne	$3, $2, Fail
	nop
	xor	$3, $3, $3
	.word	0x0A0A0A0A		/* Addr: 0x040000A0 */
	.word	0x0A0A0A0A		/* Addr: 0x040000A4 */
	.word	0x0A0A0A0A		/* Addr: 0x040000A8 */
	.word	0x0A0A0A0A		/* Addr: 0x040000AC */
	lqv	$v0, 0x80($1)
	veq	$v0, $v0, $v9
	nop
	cfc2	$3, $v1
	nop
	bne	$3, $2, Fail
	nop
	xor	$3, $3, $3
	.word	0x0B0B0B0B		/* Addr: 0x040000B0 */
	.word	0x0B0B0B0B		/* Addr: 0x040000B4 */
	.word	0x0B0B0B0B		/* Addr: 0x040000B8 */
	.word	0x0B0B0B0B		/* Addr: 0x040000BC */
	lqv	$v0, 0x90($1)
	veq	$v0, $v0, $v10
	nop
	cfc2	$3, $v1
	nop
	bne	$3, $2, Fail
	nop
	xor	$3, $3, $3
	.word	0x0C0C0C0C		/* Addr: 0x040000C0 */
	.word	0x0C0C0C0C		/* Addr: 0x040000C4 */
	.word	0x0C0C0C0C		/* Addr: 0x040000C8 */
	.word	0x0C0C0C0C		/* Addr: 0x040000CC */
	lqv	$v0, 0xA0($1)
	veq	$v0, $v0, $v11
	nop
	cfc2	$3, $v1
	nop
	bne	$3, $2, Fail
	nop
	xor	$3, $3, $3
	.word	0x0D0D0D0D		/* Addr: 0x040000D0 */
	.word	0x0D0D0D0D		/* Addr: 0x040000D4 */
	.word	0x0D0D0D0D		/* Addr: 0x040000D8 */
	.word	0x0D0D0D0D		/* Addr: 0x040000DC */
	lqv	$v0, 0xB0($1)
	veq	$v0, $v0, $v12
	nop
	cfc2	$3, $v1
	nop
	bne	$3, $2, Fail
	nop
	xor	$3, $3, $3
	.word	0x0E0E0E0E		/* Addr: 0x040000E0 */
	.word	0x0E0E0E0E		/* Addr: 0x040000E4 */
	.word	0x0E0E0E0E		/* Addr: 0x040000E8 */
	.word	0x0E0E0E0E		/* Addr: 0x040000EC */
	lqv	$v0, 0xC0($1)
	veq	$v0, $v0, $v13
	nop
	cfc2	$3, $v1
	nop
	bne	$3, $2, Fail
	nop
	xor	$3, $3, $3
	.word	0x0F0F0F0F		/* Addr: 0x040000F0 */
	.word	0x0F0F0F0F		/* Addr: 0x040000F4 */
	.word	0x0F0F0F0F		/* Addr: 0x040000F8 */
	.word	0x0F0F0F0F		/* Addr: 0x040000FC */
	lqv	$v0, 0xD0($1)
	veq	$v0, $v0, $v14
	nop
	cfc2	$3, $v1
	nop
	bne	$3, $2, Fail
	nop
	xor	$3, $3, $3
	.word	0x10101010		/* Addr: 0x04000100 */
	.word	0x10101010		/* Addr: 0x04000104 */
	.word	0x10101010		/* Addr: 0x04000108 */
	.word	0x10101010		/* Addr: 0x0400010C */
	lqv	$v0, 0xE0($1)
	veq	$v0, $v0, $v15
	nop
	cfc2	$3, $v1
	nop
	bne	$3, $2, Fail
	nop
	xor	$3, $3, $3
	.word	0x11111111		/* Addr: 0x04000110 */
	.word	0x11111111		/* Addr: 0x04000114 */
	.word	0x11111111		/* Addr: 0x04000118 */
	.word	0x11111111		/* Addr: 0x0400011C */
	lqv	$v0, 0xF0($1)
	veq	$v0, $v0, $v16
	nop
	cfc2	$3, $v1
	nop
	bne	$3, $2, Fail
	nop
	xor	$3, $3, $3
	.word	0x12121212		/* Addr: 0x04000120 */
	.word	0x12121212		/* Addr: 0x04000124 */
	.word	0x12121212		/* Addr: 0x04000128 */
	.word	0x12121212		/* Addr: 0x0400012C */
	lqv	$v0, 0x100($1)
	veq	$v0, $v0, $v17
	nop
	cfc2	$3, $v1
	nop
	bne	$3, $2, Fail
	nop
	xor	$3, $3, $3
	.word	0x13131313		/* Addr: 0x04000130 */
	.word	0x13131313		/* Addr: 0x04000134 */
	.word	0x13131313		/* Addr: 0x04000138 */
	.word	0x13131313		/* Addr: 0x0400013C */
	lqv	$v0, 0x110($1)
	veq	$v0, $v0, $v18
	nop
	cfc2	$3, $v1
	nop
	bne	$3, $2, Fail
	nop
	xor	$3, $3, $3
	.word	0x14141414		/* Addr: 0x04000140 */
	.word	0x14141414		/* Addr: 0x04000144 */
	.word	0x14141414		/* Addr: 0x04000148 */
	.word	0x14141414		/* Addr: 0x0400014C */
	lqv	$v0, 0x120($1)
	veq	$v0, $v0, $v19
	nop
	cfc2	$3, $v1
	nop
	bne	$3, $2, Fail
	nop
	xor	$3, $3, $3
	.word	0x15151515		/* Addr: 0x04000150 */
	.word	0x15151515		/* Addr: 0x04000154 */
	.word	0x15151515		/* Addr: 0x04000158 */
	.word	0x15151515		/* Addr: 0x0400015C */
	lqv	$v0, 0x130($1)
	veq	$v0, $v0, $v20
	nop
	cfc2	$3, $v1
	nop
	bne	$3, $2, Fail
	nop
	xor	$3, $3, $3
	.word	0x16161616		/* Addr: 0x04000160 */
	.word	0x16161616		/* Addr: 0x04000164 */
	.word	0x16161616		/* Addr: 0x04000168 */
	.word	0x16161616		/* Addr: 0x0400016C */
	lqv	$v0, 0x140($1)
	veq	$v0, $v0, $v21
	nop
	cfc2	$3, $v1
	nop
	bne	$3, $2, Fail
	nop
	xor	$3, $3, $3
	.word	0x17171717		/* Addr: 0x04000170 */
	.word	0x17171717		/* Addr: 0x04000174 */
	.word	0x17171717		/* Addr: 0x04000178 */
	.word	0x17171717		/* Addr: 0x0400017C */
	lqv	$v0, 0x150($1)
	veq	$v0, $v0, $v22
	nop
	cfc2	$3, $v1
	nop
	bne	$3, $2, Fail
	nop
	xor	$3, $3, $3
	.word	0x18181818		/* Addr: 0x04000180 */
	.word	0x18181818		/* Addr: 0x04000184 */
	.word	0x18181818		/* Addr: 0x04000188 */
	.word	0x18181818		/* Addr: 0x0400018C */
	lqv	$v0, 0x160($1)
	veq	$v0, $v0, $v23
	nop
	cfc2	$3, $v1
	nop
	bne	$3, $2, Fail
	nop
	xor	$3, $3, $3
	.word	0x19191919		/* Addr: 0x04000190 */
	.word	0x19191919		/* Addr: 0x04000194 */
	.word	0x19191919		/* Addr: 0x04000198 */
	.word	0x19191919		/* Addr: 0x0400019C */
	lqv	$v0, 0x170($1)
	veq	$v0, $v0, $v24
	nop
	cfc2	$3, $v1
	nop
	bne	$3, $2, Fail
	nop
	xor	$3, $3, $3
	.word	0x1A1A1A1A		/* Addr: 0x040001A0 */
	.word	0x1A1A1A1A		/* Addr: 0x040001A4 */
	.word	0x1A1A1A1A		/* Addr: 0x040001A8 */
	.word	0x1A1A1A1A		/* Addr: 0x040001AC */
	lqv	$v0, 0x180($1)
	veq	$v0, $v0, $v25
	nop
	cfc2	$3, $v1
	nop
	bne	$3, $2, Fail
	nop
	xor	$3, $3, $3
	.word	0x1B1B1B1B		/* Addr: 0x040001B0 */
	.word	0x1B1B1B1B		/* Addr: 0x040001B4 */
	.word	0x1B1B1B1B		/* Addr: 0x040001B8 */
	.word	0x1B1B1B1B		/* Addr: 0x040001BC */
	lqv	$v0, 0x190($1)
	veq	$v0, $v0, $v26
	nop
	cfc2	$3, $v1
	nop
	bne	$3, $2, Fail
	nop
	xor	$3, $3, $3
	.word	0x1C1C1C1C		/* Addr: 0x040001C0 */
	.word	0x1C1C1C1C		/* Addr: 0x040001C4 */
	.word	0x1C1C1C1C		/* Addr: 0x040001C8 */
	.word	0x1C1C1C1C		/* Addr: 0x040001CC */
	lqv	$v0, 0x1A0($1)
	veq	$v0, $v0, $v27
	nop
	cfc2	$3, $v1
	nop
	bne	$3, $2, Fail
	nop
	xor	$3, $3, $3
	.word	0x1D1D1D1D		/* Addr: 0x040001D0 */
	.word	0x1D1D1D1D		/* Addr: 0x040001D4 */
	.word	0x1D1D1D1D		/* Addr: 0x040001D8 */
	.word	0x1D1D1D1D		/* Addr: 0x040001DC */
	lqv	$v0, 0x1B0($1)
	veq	$v0, $v0, $v28
	nop
	cfc2	$3, $v1
	nop
	bne	$3, $2, Fail
	nop
	xor	$3, $3, $3
	.word	0x1E1E1E1E		/* Addr: 0x040001E0 */
	.word	0x1E1E1E1E		/* Addr: 0x040001E4 */
	.word	0x1E1E1E1E		/* Addr: 0x040001E8 */
	.word	0x1E1E1E1E		/* Addr: 0x040001EC */
	lqv	$v0, 0x1C0($1)
	veq	$v0, $v0, $v29
	nop
	cfc2	$3, $v1
	nop
	bne	$3, $2, Fail
	nop
	xor	$3, $3, $3
	.word	0x1F1F1F1F		/* Addr: 0x040001F0 */
	.word	0x1F1F1F1F		/* Addr: 0x040001F4 */
	.word	0x1F1F1F1F		/* Addr: 0x040001F8 */
	.word	0x1F1F1F1F		/* Addr: 0x040001FC */
	lqv	$v0, 0x1D0($1)
	veq	$v0, $v0, $v30
	nop
	cfc2	$3, $v1
	nop
	bne	$3, $2, Fail
	nop
	xor	$3, $3, $3
	.word	0x20202020		/* Addr: 0x04000200 */
	.word	0x20202020		/* Addr: 0x04000204 */
	.word	0x20202020		/* Addr: 0x04000208 */
	.word	0x20202020		/* Addr: 0x0400020C */
	lqv	$v0, 0x1E0($1)
	veq	$v0, $v0, $v31
	nop
	cfc2	$3, $v1
	nop
	bne	$3, $2, Fail
	nop
	ori	$1, $0, 0xFEED
	sw	$0, 0xf80($0);
	sw	$1, 0xf84($0);
	sw	$2, 0xf88($0);
	sw	$3, 0xf8c($0);
	sw	$4, 0xf90($0);
	sw	$5, 0xf94($0);
	sw	$6, 0xf98($0);
	sw	$7, 0xf9c($0);
	sw	$8, 0xfa0($0);
	sw	$9, 0xfa4($0);
	sw	$10, 0xfa8($0);
	sw	$11, 0xfac($0);
	sw	$12, 0xfb0($0);
	sw	$13, 0xfb4($0);
	sw	$14, 0xfb8($0);
	sw	$15, 0xfbc($0);
	sw	$16, 0xfc0($0);
	sw	$17, 0xfc4($0);
	sw	$18, 0xfc8($0);
	sw	$19, 0xfcc($0);
	sw	$20, 0xfd0($0);
	sw	$21, 0xfd4($0);
	sw	$22, 0xfd8($0);
	sw	$23, 0xfdc($0);
	sw	$24, 0xfe0($0);
	sw	$25, 0xfe4($0);
	sw	$26, 0xfe8($0);
	sw	$27, 0xfec($0);
	sw	$28, 0xff0($0);
	sw	$29, 0xff4($0);
	sw	$30, 0xff8($0);
	sw	$31, 0xffc($0);
Fail:	break;