github.com/tidwall/go@v0.0.0-20170415222209-6694a6888b7d/src/cmd/compile/internal/gc/testdata/arithConst.go (about) 1 // run 2 // Code generated by gen/arithConstGen.go. DO NOT EDIT. 3 4 package main 5 6 import "fmt" 7 8 //go:noinline 9 func add_uint64_0_ssa(a uint64) uint64 { 10 return a + 0 11 } 12 13 //go:noinline 14 func add_0_uint64_ssa(a uint64) uint64 { 15 return 0 + a 16 } 17 18 //go:noinline 19 func add_uint64_1_ssa(a uint64) uint64 { 20 return a + 1 21 } 22 23 //go:noinline 24 func add_1_uint64_ssa(a uint64) uint64 { 25 return 1 + a 26 } 27 28 //go:noinline 29 func add_uint64_4294967296_ssa(a uint64) uint64 { 30 return a + 4294967296 31 } 32 33 //go:noinline 34 func add_4294967296_uint64_ssa(a uint64) uint64 { 35 return 4294967296 + a 36 } 37 38 //go:noinline 39 func add_uint64_18446744073709551615_ssa(a uint64) uint64 { 40 return a + 18446744073709551615 41 } 42 43 //go:noinline 44 func add_18446744073709551615_uint64_ssa(a uint64) uint64 { 45 return 18446744073709551615 + a 46 } 47 48 //go:noinline 49 func sub_uint64_0_ssa(a uint64) uint64 { 50 return a - 0 51 } 52 53 //go:noinline 54 func sub_0_uint64_ssa(a uint64) uint64 { 55 return 0 - a 56 } 57 58 //go:noinline 59 func sub_uint64_1_ssa(a uint64) uint64 { 60 return a - 1 61 } 62 63 //go:noinline 64 func sub_1_uint64_ssa(a uint64) uint64 { 65 return 1 - a 66 } 67 68 //go:noinline 69 func sub_uint64_4294967296_ssa(a uint64) uint64 { 70 return a - 4294967296 71 } 72 73 //go:noinline 74 func sub_4294967296_uint64_ssa(a uint64) uint64 { 75 return 4294967296 - a 76 } 77 78 //go:noinline 79 func sub_uint64_18446744073709551615_ssa(a uint64) uint64 { 80 return a - 18446744073709551615 81 } 82 83 //go:noinline 84 func sub_18446744073709551615_uint64_ssa(a uint64) uint64 { 85 return 18446744073709551615 - a 86 } 87 88 //go:noinline 89 func div_0_uint64_ssa(a uint64) uint64 { 90 return 0 / a 91 } 92 93 //go:noinline 94 func div_uint64_1_ssa(a uint64) uint64 { 95 return a / 1 96 } 97 98 //go:noinline 99 func div_1_uint64_ssa(a uint64) uint64 { 100 return 1 / a 101 } 102 103 //go:noinline 104 func div_uint64_4294967296_ssa(a uint64) uint64 { 105 return a / 4294967296 106 } 107 108 //go:noinline 109 func div_4294967296_uint64_ssa(a uint64) uint64 { 110 return 4294967296 / a 111 } 112 113 //go:noinline 114 func div_uint64_18446744073709551615_ssa(a uint64) uint64 { 115 return a / 18446744073709551615 116 } 117 118 //go:noinline 119 func div_18446744073709551615_uint64_ssa(a uint64) uint64 { 120 return 18446744073709551615 / a 121 } 122 123 //go:noinline 124 func mul_uint64_0_ssa(a uint64) uint64 { 125 return a * 0 126 } 127 128 //go:noinline 129 func mul_0_uint64_ssa(a uint64) uint64 { 130 return 0 * a 131 } 132 133 //go:noinline 134 func mul_uint64_1_ssa(a uint64) uint64 { 135 return a * 1 136 } 137 138 //go:noinline 139 func mul_1_uint64_ssa(a uint64) uint64 { 140 return 1 * a 141 } 142 143 //go:noinline 144 func mul_uint64_4294967296_ssa(a uint64) uint64 { 145 return a * 4294967296 146 } 147 148 //go:noinline 149 func mul_4294967296_uint64_ssa(a uint64) uint64 { 150 return 4294967296 * a 151 } 152 153 //go:noinline 154 func mul_uint64_18446744073709551615_ssa(a uint64) uint64 { 155 return a * 18446744073709551615 156 } 157 158 //go:noinline 159 func mul_18446744073709551615_uint64_ssa(a uint64) uint64 { 160 return 18446744073709551615 * a 161 } 162 163 //go:noinline 164 func lsh_uint64_0_ssa(a uint64) uint64 { 165 return a << 0 166 } 167 168 //go:noinline 169 func lsh_0_uint64_ssa(a uint64) uint64 { 170 return 0 << a 171 } 172 173 //go:noinline 174 func lsh_uint64_1_ssa(a uint64) uint64 { 175 return a << 1 176 } 177 178 //go:noinline 179 func lsh_1_uint64_ssa(a uint64) uint64 { 180 return 1 << a 181 } 182 183 //go:noinline 184 func lsh_uint64_4294967296_ssa(a uint64) uint64 { 185 return a << uint64(4294967296) 186 } 187 188 //go:noinline 189 func lsh_4294967296_uint64_ssa(a uint64) uint64 { 190 return 4294967296 << a 191 } 192 193 //go:noinline 194 func lsh_uint64_18446744073709551615_ssa(a uint64) uint64 { 195 return a << uint64(18446744073709551615) 196 } 197 198 //go:noinline 199 func lsh_18446744073709551615_uint64_ssa(a uint64) uint64 { 200 return 18446744073709551615 << a 201 } 202 203 //go:noinline 204 func rsh_uint64_0_ssa(a uint64) uint64 { 205 return a >> 0 206 } 207 208 //go:noinline 209 func rsh_0_uint64_ssa(a uint64) uint64 { 210 return 0 >> a 211 } 212 213 //go:noinline 214 func rsh_uint64_1_ssa(a uint64) uint64 { 215 return a >> 1 216 } 217 218 //go:noinline 219 func rsh_1_uint64_ssa(a uint64) uint64 { 220 return 1 >> a 221 } 222 223 //go:noinline 224 func rsh_uint64_4294967296_ssa(a uint64) uint64 { 225 return a >> uint64(4294967296) 226 } 227 228 //go:noinline 229 func rsh_4294967296_uint64_ssa(a uint64) uint64 { 230 return 4294967296 >> a 231 } 232 233 //go:noinline 234 func rsh_uint64_18446744073709551615_ssa(a uint64) uint64 { 235 return a >> uint64(18446744073709551615) 236 } 237 238 //go:noinline 239 func rsh_18446744073709551615_uint64_ssa(a uint64) uint64 { 240 return 18446744073709551615 >> a 241 } 242 243 //go:noinline 244 func mod_0_uint64_ssa(a uint64) uint64 { 245 return 0 % a 246 } 247 248 //go:noinline 249 func mod_uint64_1_ssa(a uint64) uint64 { 250 return a % 1 251 } 252 253 //go:noinline 254 func mod_1_uint64_ssa(a uint64) uint64 { 255 return 1 % a 256 } 257 258 //go:noinline 259 func mod_uint64_4294967296_ssa(a uint64) uint64 { 260 return a % 4294967296 261 } 262 263 //go:noinline 264 func mod_4294967296_uint64_ssa(a uint64) uint64 { 265 return 4294967296 % a 266 } 267 268 //go:noinline 269 func mod_uint64_18446744073709551615_ssa(a uint64) uint64 { 270 return a % 18446744073709551615 271 } 272 273 //go:noinline 274 func mod_18446744073709551615_uint64_ssa(a uint64) uint64 { 275 return 18446744073709551615 % a 276 } 277 278 //go:noinline 279 func add_int64_Neg9223372036854775808_ssa(a int64) int64 { 280 return a + -9223372036854775808 281 } 282 283 //go:noinline 284 func add_Neg9223372036854775808_int64_ssa(a int64) int64 { 285 return -9223372036854775808 + a 286 } 287 288 //go:noinline 289 func add_int64_Neg9223372036854775807_ssa(a int64) int64 { 290 return a + -9223372036854775807 291 } 292 293 //go:noinline 294 func add_Neg9223372036854775807_int64_ssa(a int64) int64 { 295 return -9223372036854775807 + a 296 } 297 298 //go:noinline 299 func add_int64_Neg4294967296_ssa(a int64) int64 { 300 return a + -4294967296 301 } 302 303 //go:noinline 304 func add_Neg4294967296_int64_ssa(a int64) int64 { 305 return -4294967296 + a 306 } 307 308 //go:noinline 309 func add_int64_Neg1_ssa(a int64) int64 { 310 return a + -1 311 } 312 313 //go:noinline 314 func add_Neg1_int64_ssa(a int64) int64 { 315 return -1 + a 316 } 317 318 //go:noinline 319 func add_int64_0_ssa(a int64) int64 { 320 return a + 0 321 } 322 323 //go:noinline 324 func add_0_int64_ssa(a int64) int64 { 325 return 0 + a 326 } 327 328 //go:noinline 329 func add_int64_1_ssa(a int64) int64 { 330 return a + 1 331 } 332 333 //go:noinline 334 func add_1_int64_ssa(a int64) int64 { 335 return 1 + a 336 } 337 338 //go:noinline 339 func add_int64_4294967296_ssa(a int64) int64 { 340 return a + 4294967296 341 } 342 343 //go:noinline 344 func add_4294967296_int64_ssa(a int64) int64 { 345 return 4294967296 + a 346 } 347 348 //go:noinline 349 func add_int64_9223372036854775806_ssa(a int64) int64 { 350 return a + 9223372036854775806 351 } 352 353 //go:noinline 354 func add_9223372036854775806_int64_ssa(a int64) int64 { 355 return 9223372036854775806 + a 356 } 357 358 //go:noinline 359 func add_int64_9223372036854775807_ssa(a int64) int64 { 360 return a + 9223372036854775807 361 } 362 363 //go:noinline 364 func add_9223372036854775807_int64_ssa(a int64) int64 { 365 return 9223372036854775807 + a 366 } 367 368 //go:noinline 369 func sub_int64_Neg9223372036854775808_ssa(a int64) int64 { 370 return a - -9223372036854775808 371 } 372 373 //go:noinline 374 func sub_Neg9223372036854775808_int64_ssa(a int64) int64 { 375 return -9223372036854775808 - a 376 } 377 378 //go:noinline 379 func sub_int64_Neg9223372036854775807_ssa(a int64) int64 { 380 return a - -9223372036854775807 381 } 382 383 //go:noinline 384 func sub_Neg9223372036854775807_int64_ssa(a int64) int64 { 385 return -9223372036854775807 - a 386 } 387 388 //go:noinline 389 func sub_int64_Neg4294967296_ssa(a int64) int64 { 390 return a - -4294967296 391 } 392 393 //go:noinline 394 func sub_Neg4294967296_int64_ssa(a int64) int64 { 395 return -4294967296 - a 396 } 397 398 //go:noinline 399 func sub_int64_Neg1_ssa(a int64) int64 { 400 return a - -1 401 } 402 403 //go:noinline 404 func sub_Neg1_int64_ssa(a int64) int64 { 405 return -1 - a 406 } 407 408 //go:noinline 409 func sub_int64_0_ssa(a int64) int64 { 410 return a - 0 411 } 412 413 //go:noinline 414 func sub_0_int64_ssa(a int64) int64 { 415 return 0 - a 416 } 417 418 //go:noinline 419 func sub_int64_1_ssa(a int64) int64 { 420 return a - 1 421 } 422 423 //go:noinline 424 func sub_1_int64_ssa(a int64) int64 { 425 return 1 - a 426 } 427 428 //go:noinline 429 func sub_int64_4294967296_ssa(a int64) int64 { 430 return a - 4294967296 431 } 432 433 //go:noinline 434 func sub_4294967296_int64_ssa(a int64) int64 { 435 return 4294967296 - a 436 } 437 438 //go:noinline 439 func sub_int64_9223372036854775806_ssa(a int64) int64 { 440 return a - 9223372036854775806 441 } 442 443 //go:noinline 444 func sub_9223372036854775806_int64_ssa(a int64) int64 { 445 return 9223372036854775806 - a 446 } 447 448 //go:noinline 449 func sub_int64_9223372036854775807_ssa(a int64) int64 { 450 return a - 9223372036854775807 451 } 452 453 //go:noinline 454 func sub_9223372036854775807_int64_ssa(a int64) int64 { 455 return 9223372036854775807 - a 456 } 457 458 //go:noinline 459 func div_int64_Neg9223372036854775808_ssa(a int64) int64 { 460 return a / -9223372036854775808 461 } 462 463 //go:noinline 464 func div_Neg9223372036854775808_int64_ssa(a int64) int64 { 465 return -9223372036854775808 / a 466 } 467 468 //go:noinline 469 func div_int64_Neg9223372036854775807_ssa(a int64) int64 { 470 return a / -9223372036854775807 471 } 472 473 //go:noinline 474 func div_Neg9223372036854775807_int64_ssa(a int64) int64 { 475 return -9223372036854775807 / a 476 } 477 478 //go:noinline 479 func div_int64_Neg4294967296_ssa(a int64) int64 { 480 return a / -4294967296 481 } 482 483 //go:noinline 484 func div_Neg4294967296_int64_ssa(a int64) int64 { 485 return -4294967296 / a 486 } 487 488 //go:noinline 489 func div_int64_Neg1_ssa(a int64) int64 { 490 return a / -1 491 } 492 493 //go:noinline 494 func div_Neg1_int64_ssa(a int64) int64 { 495 return -1 / a 496 } 497 498 //go:noinline 499 func div_0_int64_ssa(a int64) int64 { 500 return 0 / a 501 } 502 503 //go:noinline 504 func div_int64_1_ssa(a int64) int64 { 505 return a / 1 506 } 507 508 //go:noinline 509 func div_1_int64_ssa(a int64) int64 { 510 return 1 / a 511 } 512 513 //go:noinline 514 func div_int64_4294967296_ssa(a int64) int64 { 515 return a / 4294967296 516 } 517 518 //go:noinline 519 func div_4294967296_int64_ssa(a int64) int64 { 520 return 4294967296 / a 521 } 522 523 //go:noinline 524 func div_int64_9223372036854775806_ssa(a int64) int64 { 525 return a / 9223372036854775806 526 } 527 528 //go:noinline 529 func div_9223372036854775806_int64_ssa(a int64) int64 { 530 return 9223372036854775806 / a 531 } 532 533 //go:noinline 534 func div_int64_9223372036854775807_ssa(a int64) int64 { 535 return a / 9223372036854775807 536 } 537 538 //go:noinline 539 func div_9223372036854775807_int64_ssa(a int64) int64 { 540 return 9223372036854775807 / a 541 } 542 543 //go:noinline 544 func mul_int64_Neg9223372036854775808_ssa(a int64) int64 { 545 return a * -9223372036854775808 546 } 547 548 //go:noinline 549 func mul_Neg9223372036854775808_int64_ssa(a int64) int64 { 550 return -9223372036854775808 * a 551 } 552 553 //go:noinline 554 func mul_int64_Neg9223372036854775807_ssa(a int64) int64 { 555 return a * -9223372036854775807 556 } 557 558 //go:noinline 559 func mul_Neg9223372036854775807_int64_ssa(a int64) int64 { 560 return -9223372036854775807 * a 561 } 562 563 //go:noinline 564 func mul_int64_Neg4294967296_ssa(a int64) int64 { 565 return a * -4294967296 566 } 567 568 //go:noinline 569 func mul_Neg4294967296_int64_ssa(a int64) int64 { 570 return -4294967296 * a 571 } 572 573 //go:noinline 574 func mul_int64_Neg1_ssa(a int64) int64 { 575 return a * -1 576 } 577 578 //go:noinline 579 func mul_Neg1_int64_ssa(a int64) int64 { 580 return -1 * a 581 } 582 583 //go:noinline 584 func mul_int64_0_ssa(a int64) int64 { 585 return a * 0 586 } 587 588 //go:noinline 589 func mul_0_int64_ssa(a int64) int64 { 590 return 0 * a 591 } 592 593 //go:noinline 594 func mul_int64_1_ssa(a int64) int64 { 595 return a * 1 596 } 597 598 //go:noinline 599 func mul_1_int64_ssa(a int64) int64 { 600 return 1 * a 601 } 602 603 //go:noinline 604 func mul_int64_4294967296_ssa(a int64) int64 { 605 return a * 4294967296 606 } 607 608 //go:noinline 609 func mul_4294967296_int64_ssa(a int64) int64 { 610 return 4294967296 * a 611 } 612 613 //go:noinline 614 func mul_int64_9223372036854775806_ssa(a int64) int64 { 615 return a * 9223372036854775806 616 } 617 618 //go:noinline 619 func mul_9223372036854775806_int64_ssa(a int64) int64 { 620 return 9223372036854775806 * a 621 } 622 623 //go:noinline 624 func mul_int64_9223372036854775807_ssa(a int64) int64 { 625 return a * 9223372036854775807 626 } 627 628 //go:noinline 629 func mul_9223372036854775807_int64_ssa(a int64) int64 { 630 return 9223372036854775807 * a 631 } 632 633 //go:noinline 634 func mod_int64_Neg9223372036854775808_ssa(a int64) int64 { 635 return a % -9223372036854775808 636 } 637 638 //go:noinline 639 func mod_Neg9223372036854775808_int64_ssa(a int64) int64 { 640 return -9223372036854775808 % a 641 } 642 643 //go:noinline 644 func mod_int64_Neg9223372036854775807_ssa(a int64) int64 { 645 return a % -9223372036854775807 646 } 647 648 //go:noinline 649 func mod_Neg9223372036854775807_int64_ssa(a int64) int64 { 650 return -9223372036854775807 % a 651 } 652 653 //go:noinline 654 func mod_int64_Neg4294967296_ssa(a int64) int64 { 655 return a % -4294967296 656 } 657 658 //go:noinline 659 func mod_Neg4294967296_int64_ssa(a int64) int64 { 660 return -4294967296 % a 661 } 662 663 //go:noinline 664 func mod_int64_Neg1_ssa(a int64) int64 { 665 return a % -1 666 } 667 668 //go:noinline 669 func mod_Neg1_int64_ssa(a int64) int64 { 670 return -1 % a 671 } 672 673 //go:noinline 674 func mod_0_int64_ssa(a int64) int64 { 675 return 0 % a 676 } 677 678 //go:noinline 679 func mod_int64_1_ssa(a int64) int64 { 680 return a % 1 681 } 682 683 //go:noinline 684 func mod_1_int64_ssa(a int64) int64 { 685 return 1 % a 686 } 687 688 //go:noinline 689 func mod_int64_4294967296_ssa(a int64) int64 { 690 return a % 4294967296 691 } 692 693 //go:noinline 694 func mod_4294967296_int64_ssa(a int64) int64 { 695 return 4294967296 % a 696 } 697 698 //go:noinline 699 func mod_int64_9223372036854775806_ssa(a int64) int64 { 700 return a % 9223372036854775806 701 } 702 703 //go:noinline 704 func mod_9223372036854775806_int64_ssa(a int64) int64 { 705 return 9223372036854775806 % a 706 } 707 708 //go:noinline 709 func mod_int64_9223372036854775807_ssa(a int64) int64 { 710 return a % 9223372036854775807 711 } 712 713 //go:noinline 714 func mod_9223372036854775807_int64_ssa(a int64) int64 { 715 return 9223372036854775807 % a 716 } 717 718 //go:noinline 719 func add_uint32_0_ssa(a uint32) uint32 { 720 return a + 0 721 } 722 723 //go:noinline 724 func add_0_uint32_ssa(a uint32) uint32 { 725 return 0 + a 726 } 727 728 //go:noinline 729 func add_uint32_1_ssa(a uint32) uint32 { 730 return a + 1 731 } 732 733 //go:noinline 734 func add_1_uint32_ssa(a uint32) uint32 { 735 return 1 + a 736 } 737 738 //go:noinline 739 func add_uint32_4294967295_ssa(a uint32) uint32 { 740 return a + 4294967295 741 } 742 743 //go:noinline 744 func add_4294967295_uint32_ssa(a uint32) uint32 { 745 return 4294967295 + a 746 } 747 748 //go:noinline 749 func sub_uint32_0_ssa(a uint32) uint32 { 750 return a - 0 751 } 752 753 //go:noinline 754 func sub_0_uint32_ssa(a uint32) uint32 { 755 return 0 - a 756 } 757 758 //go:noinline 759 func sub_uint32_1_ssa(a uint32) uint32 { 760 return a - 1 761 } 762 763 //go:noinline 764 func sub_1_uint32_ssa(a uint32) uint32 { 765 return 1 - a 766 } 767 768 //go:noinline 769 func sub_uint32_4294967295_ssa(a uint32) uint32 { 770 return a - 4294967295 771 } 772 773 //go:noinline 774 func sub_4294967295_uint32_ssa(a uint32) uint32 { 775 return 4294967295 - a 776 } 777 778 //go:noinline 779 func div_0_uint32_ssa(a uint32) uint32 { 780 return 0 / a 781 } 782 783 //go:noinline 784 func div_uint32_1_ssa(a uint32) uint32 { 785 return a / 1 786 } 787 788 //go:noinline 789 func div_1_uint32_ssa(a uint32) uint32 { 790 return 1 / a 791 } 792 793 //go:noinline 794 func div_uint32_4294967295_ssa(a uint32) uint32 { 795 return a / 4294967295 796 } 797 798 //go:noinline 799 func div_4294967295_uint32_ssa(a uint32) uint32 { 800 return 4294967295 / a 801 } 802 803 //go:noinline 804 func mul_uint32_0_ssa(a uint32) uint32 { 805 return a * 0 806 } 807 808 //go:noinline 809 func mul_0_uint32_ssa(a uint32) uint32 { 810 return 0 * a 811 } 812 813 //go:noinline 814 func mul_uint32_1_ssa(a uint32) uint32 { 815 return a * 1 816 } 817 818 //go:noinline 819 func mul_1_uint32_ssa(a uint32) uint32 { 820 return 1 * a 821 } 822 823 //go:noinline 824 func mul_uint32_4294967295_ssa(a uint32) uint32 { 825 return a * 4294967295 826 } 827 828 //go:noinline 829 func mul_4294967295_uint32_ssa(a uint32) uint32 { 830 return 4294967295 * a 831 } 832 833 //go:noinline 834 func lsh_uint32_0_ssa(a uint32) uint32 { 835 return a << 0 836 } 837 838 //go:noinline 839 func lsh_0_uint32_ssa(a uint32) uint32 { 840 return 0 << a 841 } 842 843 //go:noinline 844 func lsh_uint32_1_ssa(a uint32) uint32 { 845 return a << 1 846 } 847 848 //go:noinline 849 func lsh_1_uint32_ssa(a uint32) uint32 { 850 return 1 << a 851 } 852 853 //go:noinline 854 func lsh_uint32_4294967295_ssa(a uint32) uint32 { 855 return a << 4294967295 856 } 857 858 //go:noinline 859 func lsh_4294967295_uint32_ssa(a uint32) uint32 { 860 return 4294967295 << a 861 } 862 863 //go:noinline 864 func rsh_uint32_0_ssa(a uint32) uint32 { 865 return a >> 0 866 } 867 868 //go:noinline 869 func rsh_0_uint32_ssa(a uint32) uint32 { 870 return 0 >> a 871 } 872 873 //go:noinline 874 func rsh_uint32_1_ssa(a uint32) uint32 { 875 return a >> 1 876 } 877 878 //go:noinline 879 func rsh_1_uint32_ssa(a uint32) uint32 { 880 return 1 >> a 881 } 882 883 //go:noinline 884 func rsh_uint32_4294967295_ssa(a uint32) uint32 { 885 return a >> 4294967295 886 } 887 888 //go:noinline 889 func rsh_4294967295_uint32_ssa(a uint32) uint32 { 890 return 4294967295 >> a 891 } 892 893 //go:noinline 894 func mod_0_uint32_ssa(a uint32) uint32 { 895 return 0 % a 896 } 897 898 //go:noinline 899 func mod_uint32_1_ssa(a uint32) uint32 { 900 return a % 1 901 } 902 903 //go:noinline 904 func mod_1_uint32_ssa(a uint32) uint32 { 905 return 1 % a 906 } 907 908 //go:noinline 909 func mod_uint32_4294967295_ssa(a uint32) uint32 { 910 return a % 4294967295 911 } 912 913 //go:noinline 914 func mod_4294967295_uint32_ssa(a uint32) uint32 { 915 return 4294967295 % a 916 } 917 918 //go:noinline 919 func add_int32_Neg2147483648_ssa(a int32) int32 { 920 return a + -2147483648 921 } 922 923 //go:noinline 924 func add_Neg2147483648_int32_ssa(a int32) int32 { 925 return -2147483648 + a 926 } 927 928 //go:noinline 929 func add_int32_Neg2147483647_ssa(a int32) int32 { 930 return a + -2147483647 931 } 932 933 //go:noinline 934 func add_Neg2147483647_int32_ssa(a int32) int32 { 935 return -2147483647 + a 936 } 937 938 //go:noinline 939 func add_int32_Neg1_ssa(a int32) int32 { 940 return a + -1 941 } 942 943 //go:noinline 944 func add_Neg1_int32_ssa(a int32) int32 { 945 return -1 + a 946 } 947 948 //go:noinline 949 func add_int32_0_ssa(a int32) int32 { 950 return a + 0 951 } 952 953 //go:noinline 954 func add_0_int32_ssa(a int32) int32 { 955 return 0 + a 956 } 957 958 //go:noinline 959 func add_int32_1_ssa(a int32) int32 { 960 return a + 1 961 } 962 963 //go:noinline 964 func add_1_int32_ssa(a int32) int32 { 965 return 1 + a 966 } 967 968 //go:noinline 969 func add_int32_2147483647_ssa(a int32) int32 { 970 return a + 2147483647 971 } 972 973 //go:noinline 974 func add_2147483647_int32_ssa(a int32) int32 { 975 return 2147483647 + a 976 } 977 978 //go:noinline 979 func sub_int32_Neg2147483648_ssa(a int32) int32 { 980 return a - -2147483648 981 } 982 983 //go:noinline 984 func sub_Neg2147483648_int32_ssa(a int32) int32 { 985 return -2147483648 - a 986 } 987 988 //go:noinline 989 func sub_int32_Neg2147483647_ssa(a int32) int32 { 990 return a - -2147483647 991 } 992 993 //go:noinline 994 func sub_Neg2147483647_int32_ssa(a int32) int32 { 995 return -2147483647 - a 996 } 997 998 //go:noinline 999 func sub_int32_Neg1_ssa(a int32) int32 { 1000 return a - -1 1001 } 1002 1003 //go:noinline 1004 func sub_Neg1_int32_ssa(a int32) int32 { 1005 return -1 - a 1006 } 1007 1008 //go:noinline 1009 func sub_int32_0_ssa(a int32) int32 { 1010 return a - 0 1011 } 1012 1013 //go:noinline 1014 func sub_0_int32_ssa(a int32) int32 { 1015 return 0 - a 1016 } 1017 1018 //go:noinline 1019 func sub_int32_1_ssa(a int32) int32 { 1020 return a - 1 1021 } 1022 1023 //go:noinline 1024 func sub_1_int32_ssa(a int32) int32 { 1025 return 1 - a 1026 } 1027 1028 //go:noinline 1029 func sub_int32_2147483647_ssa(a int32) int32 { 1030 return a - 2147483647 1031 } 1032 1033 //go:noinline 1034 func sub_2147483647_int32_ssa(a int32) int32 { 1035 return 2147483647 - a 1036 } 1037 1038 //go:noinline 1039 func div_int32_Neg2147483648_ssa(a int32) int32 { 1040 return a / -2147483648 1041 } 1042 1043 //go:noinline 1044 func div_Neg2147483648_int32_ssa(a int32) int32 { 1045 return -2147483648 / a 1046 } 1047 1048 //go:noinline 1049 func div_int32_Neg2147483647_ssa(a int32) int32 { 1050 return a / -2147483647 1051 } 1052 1053 //go:noinline 1054 func div_Neg2147483647_int32_ssa(a int32) int32 { 1055 return -2147483647 / a 1056 } 1057 1058 //go:noinline 1059 func div_int32_Neg1_ssa(a int32) int32 { 1060 return a / -1 1061 } 1062 1063 //go:noinline 1064 func div_Neg1_int32_ssa(a int32) int32 { 1065 return -1 / a 1066 } 1067 1068 //go:noinline 1069 func div_0_int32_ssa(a int32) int32 { 1070 return 0 / a 1071 } 1072 1073 //go:noinline 1074 func div_int32_1_ssa(a int32) int32 { 1075 return a / 1 1076 } 1077 1078 //go:noinline 1079 func div_1_int32_ssa(a int32) int32 { 1080 return 1 / a 1081 } 1082 1083 //go:noinline 1084 func div_int32_2147483647_ssa(a int32) int32 { 1085 return a / 2147483647 1086 } 1087 1088 //go:noinline 1089 func div_2147483647_int32_ssa(a int32) int32 { 1090 return 2147483647 / a 1091 } 1092 1093 //go:noinline 1094 func mul_int32_Neg2147483648_ssa(a int32) int32 { 1095 return a * -2147483648 1096 } 1097 1098 //go:noinline 1099 func mul_Neg2147483648_int32_ssa(a int32) int32 { 1100 return -2147483648 * a 1101 } 1102 1103 //go:noinline 1104 func mul_int32_Neg2147483647_ssa(a int32) int32 { 1105 return a * -2147483647 1106 } 1107 1108 //go:noinline 1109 func mul_Neg2147483647_int32_ssa(a int32) int32 { 1110 return -2147483647 * a 1111 } 1112 1113 //go:noinline 1114 func mul_int32_Neg1_ssa(a int32) int32 { 1115 return a * -1 1116 } 1117 1118 //go:noinline 1119 func mul_Neg1_int32_ssa(a int32) int32 { 1120 return -1 * a 1121 } 1122 1123 //go:noinline 1124 func mul_int32_0_ssa(a int32) int32 { 1125 return a * 0 1126 } 1127 1128 //go:noinline 1129 func mul_0_int32_ssa(a int32) int32 { 1130 return 0 * a 1131 } 1132 1133 //go:noinline 1134 func mul_int32_1_ssa(a int32) int32 { 1135 return a * 1 1136 } 1137 1138 //go:noinline 1139 func mul_1_int32_ssa(a int32) int32 { 1140 return 1 * a 1141 } 1142 1143 //go:noinline 1144 func mul_int32_2147483647_ssa(a int32) int32 { 1145 return a * 2147483647 1146 } 1147 1148 //go:noinline 1149 func mul_2147483647_int32_ssa(a int32) int32 { 1150 return 2147483647 * a 1151 } 1152 1153 //go:noinline 1154 func mod_int32_Neg2147483648_ssa(a int32) int32 { 1155 return a % -2147483648 1156 } 1157 1158 //go:noinline 1159 func mod_Neg2147483648_int32_ssa(a int32) int32 { 1160 return -2147483648 % a 1161 } 1162 1163 //go:noinline 1164 func mod_int32_Neg2147483647_ssa(a int32) int32 { 1165 return a % -2147483647 1166 } 1167 1168 //go:noinline 1169 func mod_Neg2147483647_int32_ssa(a int32) int32 { 1170 return -2147483647 % a 1171 } 1172 1173 //go:noinline 1174 func mod_int32_Neg1_ssa(a int32) int32 { 1175 return a % -1 1176 } 1177 1178 //go:noinline 1179 func mod_Neg1_int32_ssa(a int32) int32 { 1180 return -1 % a 1181 } 1182 1183 //go:noinline 1184 func mod_0_int32_ssa(a int32) int32 { 1185 return 0 % a 1186 } 1187 1188 //go:noinline 1189 func mod_int32_1_ssa(a int32) int32 { 1190 return a % 1 1191 } 1192 1193 //go:noinline 1194 func mod_1_int32_ssa(a int32) int32 { 1195 return 1 % a 1196 } 1197 1198 //go:noinline 1199 func mod_int32_2147483647_ssa(a int32) int32 { 1200 return a % 2147483647 1201 } 1202 1203 //go:noinline 1204 func mod_2147483647_int32_ssa(a int32) int32 { 1205 return 2147483647 % a 1206 } 1207 1208 //go:noinline 1209 func add_uint16_0_ssa(a uint16) uint16 { 1210 return a + 0 1211 } 1212 1213 //go:noinline 1214 func add_0_uint16_ssa(a uint16) uint16 { 1215 return 0 + a 1216 } 1217 1218 //go:noinline 1219 func add_uint16_1_ssa(a uint16) uint16 { 1220 return a + 1 1221 } 1222 1223 //go:noinline 1224 func add_1_uint16_ssa(a uint16) uint16 { 1225 return 1 + a 1226 } 1227 1228 //go:noinline 1229 func add_uint16_65535_ssa(a uint16) uint16 { 1230 return a + 65535 1231 } 1232 1233 //go:noinline 1234 func add_65535_uint16_ssa(a uint16) uint16 { 1235 return 65535 + a 1236 } 1237 1238 //go:noinline 1239 func sub_uint16_0_ssa(a uint16) uint16 { 1240 return a - 0 1241 } 1242 1243 //go:noinline 1244 func sub_0_uint16_ssa(a uint16) uint16 { 1245 return 0 - a 1246 } 1247 1248 //go:noinline 1249 func sub_uint16_1_ssa(a uint16) uint16 { 1250 return a - 1 1251 } 1252 1253 //go:noinline 1254 func sub_1_uint16_ssa(a uint16) uint16 { 1255 return 1 - a 1256 } 1257 1258 //go:noinline 1259 func sub_uint16_65535_ssa(a uint16) uint16 { 1260 return a - 65535 1261 } 1262 1263 //go:noinline 1264 func sub_65535_uint16_ssa(a uint16) uint16 { 1265 return 65535 - a 1266 } 1267 1268 //go:noinline 1269 func div_0_uint16_ssa(a uint16) uint16 { 1270 return 0 / a 1271 } 1272 1273 //go:noinline 1274 func div_uint16_1_ssa(a uint16) uint16 { 1275 return a / 1 1276 } 1277 1278 //go:noinline 1279 func div_1_uint16_ssa(a uint16) uint16 { 1280 return 1 / a 1281 } 1282 1283 //go:noinline 1284 func div_uint16_65535_ssa(a uint16) uint16 { 1285 return a / 65535 1286 } 1287 1288 //go:noinline 1289 func div_65535_uint16_ssa(a uint16) uint16 { 1290 return 65535 / a 1291 } 1292 1293 //go:noinline 1294 func mul_uint16_0_ssa(a uint16) uint16 { 1295 return a * 0 1296 } 1297 1298 //go:noinline 1299 func mul_0_uint16_ssa(a uint16) uint16 { 1300 return 0 * a 1301 } 1302 1303 //go:noinline 1304 func mul_uint16_1_ssa(a uint16) uint16 { 1305 return a * 1 1306 } 1307 1308 //go:noinline 1309 func mul_1_uint16_ssa(a uint16) uint16 { 1310 return 1 * a 1311 } 1312 1313 //go:noinline 1314 func mul_uint16_65535_ssa(a uint16) uint16 { 1315 return a * 65535 1316 } 1317 1318 //go:noinline 1319 func mul_65535_uint16_ssa(a uint16) uint16 { 1320 return 65535 * a 1321 } 1322 1323 //go:noinline 1324 func lsh_uint16_0_ssa(a uint16) uint16 { 1325 return a << 0 1326 } 1327 1328 //go:noinline 1329 func lsh_0_uint16_ssa(a uint16) uint16 { 1330 return 0 << a 1331 } 1332 1333 //go:noinline 1334 func lsh_uint16_1_ssa(a uint16) uint16 { 1335 return a << 1 1336 } 1337 1338 //go:noinline 1339 func lsh_1_uint16_ssa(a uint16) uint16 { 1340 return 1 << a 1341 } 1342 1343 //go:noinline 1344 func lsh_uint16_65535_ssa(a uint16) uint16 { 1345 return a << 65535 1346 } 1347 1348 //go:noinline 1349 func lsh_65535_uint16_ssa(a uint16) uint16 { 1350 return 65535 << a 1351 } 1352 1353 //go:noinline 1354 func rsh_uint16_0_ssa(a uint16) uint16 { 1355 return a >> 0 1356 } 1357 1358 //go:noinline 1359 func rsh_0_uint16_ssa(a uint16) uint16 { 1360 return 0 >> a 1361 } 1362 1363 //go:noinline 1364 func rsh_uint16_1_ssa(a uint16) uint16 { 1365 return a >> 1 1366 } 1367 1368 //go:noinline 1369 func rsh_1_uint16_ssa(a uint16) uint16 { 1370 return 1 >> a 1371 } 1372 1373 //go:noinline 1374 func rsh_uint16_65535_ssa(a uint16) uint16 { 1375 return a >> 65535 1376 } 1377 1378 //go:noinline 1379 func rsh_65535_uint16_ssa(a uint16) uint16 { 1380 return 65535 >> a 1381 } 1382 1383 //go:noinline 1384 func mod_0_uint16_ssa(a uint16) uint16 { 1385 return 0 % a 1386 } 1387 1388 //go:noinline 1389 func mod_uint16_1_ssa(a uint16) uint16 { 1390 return a % 1 1391 } 1392 1393 //go:noinline 1394 func mod_1_uint16_ssa(a uint16) uint16 { 1395 return 1 % a 1396 } 1397 1398 //go:noinline 1399 func mod_uint16_65535_ssa(a uint16) uint16 { 1400 return a % 65535 1401 } 1402 1403 //go:noinline 1404 func mod_65535_uint16_ssa(a uint16) uint16 { 1405 return 65535 % a 1406 } 1407 1408 //go:noinline 1409 func add_int16_Neg32768_ssa(a int16) int16 { 1410 return a + -32768 1411 } 1412 1413 //go:noinline 1414 func add_Neg32768_int16_ssa(a int16) int16 { 1415 return -32768 + a 1416 } 1417 1418 //go:noinline 1419 func add_int16_Neg32767_ssa(a int16) int16 { 1420 return a + -32767 1421 } 1422 1423 //go:noinline 1424 func add_Neg32767_int16_ssa(a int16) int16 { 1425 return -32767 + a 1426 } 1427 1428 //go:noinline 1429 func add_int16_Neg1_ssa(a int16) int16 { 1430 return a + -1 1431 } 1432 1433 //go:noinline 1434 func add_Neg1_int16_ssa(a int16) int16 { 1435 return -1 + a 1436 } 1437 1438 //go:noinline 1439 func add_int16_0_ssa(a int16) int16 { 1440 return a + 0 1441 } 1442 1443 //go:noinline 1444 func add_0_int16_ssa(a int16) int16 { 1445 return 0 + a 1446 } 1447 1448 //go:noinline 1449 func add_int16_1_ssa(a int16) int16 { 1450 return a + 1 1451 } 1452 1453 //go:noinline 1454 func add_1_int16_ssa(a int16) int16 { 1455 return 1 + a 1456 } 1457 1458 //go:noinline 1459 func add_int16_32766_ssa(a int16) int16 { 1460 return a + 32766 1461 } 1462 1463 //go:noinline 1464 func add_32766_int16_ssa(a int16) int16 { 1465 return 32766 + a 1466 } 1467 1468 //go:noinline 1469 func add_int16_32767_ssa(a int16) int16 { 1470 return a + 32767 1471 } 1472 1473 //go:noinline 1474 func add_32767_int16_ssa(a int16) int16 { 1475 return 32767 + a 1476 } 1477 1478 //go:noinline 1479 func sub_int16_Neg32768_ssa(a int16) int16 { 1480 return a - -32768 1481 } 1482 1483 //go:noinline 1484 func sub_Neg32768_int16_ssa(a int16) int16 { 1485 return -32768 - a 1486 } 1487 1488 //go:noinline 1489 func sub_int16_Neg32767_ssa(a int16) int16 { 1490 return a - -32767 1491 } 1492 1493 //go:noinline 1494 func sub_Neg32767_int16_ssa(a int16) int16 { 1495 return -32767 - a 1496 } 1497 1498 //go:noinline 1499 func sub_int16_Neg1_ssa(a int16) int16 { 1500 return a - -1 1501 } 1502 1503 //go:noinline 1504 func sub_Neg1_int16_ssa(a int16) int16 { 1505 return -1 - a 1506 } 1507 1508 //go:noinline 1509 func sub_int16_0_ssa(a int16) int16 { 1510 return a - 0 1511 } 1512 1513 //go:noinline 1514 func sub_0_int16_ssa(a int16) int16 { 1515 return 0 - a 1516 } 1517 1518 //go:noinline 1519 func sub_int16_1_ssa(a int16) int16 { 1520 return a - 1 1521 } 1522 1523 //go:noinline 1524 func sub_1_int16_ssa(a int16) int16 { 1525 return 1 - a 1526 } 1527 1528 //go:noinline 1529 func sub_int16_32766_ssa(a int16) int16 { 1530 return a - 32766 1531 } 1532 1533 //go:noinline 1534 func sub_32766_int16_ssa(a int16) int16 { 1535 return 32766 - a 1536 } 1537 1538 //go:noinline 1539 func sub_int16_32767_ssa(a int16) int16 { 1540 return a - 32767 1541 } 1542 1543 //go:noinline 1544 func sub_32767_int16_ssa(a int16) int16 { 1545 return 32767 - a 1546 } 1547 1548 //go:noinline 1549 func div_int16_Neg32768_ssa(a int16) int16 { 1550 return a / -32768 1551 } 1552 1553 //go:noinline 1554 func div_Neg32768_int16_ssa(a int16) int16 { 1555 return -32768 / a 1556 } 1557 1558 //go:noinline 1559 func div_int16_Neg32767_ssa(a int16) int16 { 1560 return a / -32767 1561 } 1562 1563 //go:noinline 1564 func div_Neg32767_int16_ssa(a int16) int16 { 1565 return -32767 / a 1566 } 1567 1568 //go:noinline 1569 func div_int16_Neg1_ssa(a int16) int16 { 1570 return a / -1 1571 } 1572 1573 //go:noinline 1574 func div_Neg1_int16_ssa(a int16) int16 { 1575 return -1 / a 1576 } 1577 1578 //go:noinline 1579 func div_0_int16_ssa(a int16) int16 { 1580 return 0 / a 1581 } 1582 1583 //go:noinline 1584 func div_int16_1_ssa(a int16) int16 { 1585 return a / 1 1586 } 1587 1588 //go:noinline 1589 func div_1_int16_ssa(a int16) int16 { 1590 return 1 / a 1591 } 1592 1593 //go:noinline 1594 func div_int16_32766_ssa(a int16) int16 { 1595 return a / 32766 1596 } 1597 1598 //go:noinline 1599 func div_32766_int16_ssa(a int16) int16 { 1600 return 32766 / a 1601 } 1602 1603 //go:noinline 1604 func div_int16_32767_ssa(a int16) int16 { 1605 return a / 32767 1606 } 1607 1608 //go:noinline 1609 func div_32767_int16_ssa(a int16) int16 { 1610 return 32767 / a 1611 } 1612 1613 //go:noinline 1614 func mul_int16_Neg32768_ssa(a int16) int16 { 1615 return a * -32768 1616 } 1617 1618 //go:noinline 1619 func mul_Neg32768_int16_ssa(a int16) int16 { 1620 return -32768 * a 1621 } 1622 1623 //go:noinline 1624 func mul_int16_Neg32767_ssa(a int16) int16 { 1625 return a * -32767 1626 } 1627 1628 //go:noinline 1629 func mul_Neg32767_int16_ssa(a int16) int16 { 1630 return -32767 * a 1631 } 1632 1633 //go:noinline 1634 func mul_int16_Neg1_ssa(a int16) int16 { 1635 return a * -1 1636 } 1637 1638 //go:noinline 1639 func mul_Neg1_int16_ssa(a int16) int16 { 1640 return -1 * a 1641 } 1642 1643 //go:noinline 1644 func mul_int16_0_ssa(a int16) int16 { 1645 return a * 0 1646 } 1647 1648 //go:noinline 1649 func mul_0_int16_ssa(a int16) int16 { 1650 return 0 * a 1651 } 1652 1653 //go:noinline 1654 func mul_int16_1_ssa(a int16) int16 { 1655 return a * 1 1656 } 1657 1658 //go:noinline 1659 func mul_1_int16_ssa(a int16) int16 { 1660 return 1 * a 1661 } 1662 1663 //go:noinline 1664 func mul_int16_32766_ssa(a int16) int16 { 1665 return a * 32766 1666 } 1667 1668 //go:noinline 1669 func mul_32766_int16_ssa(a int16) int16 { 1670 return 32766 * a 1671 } 1672 1673 //go:noinline 1674 func mul_int16_32767_ssa(a int16) int16 { 1675 return a * 32767 1676 } 1677 1678 //go:noinline 1679 func mul_32767_int16_ssa(a int16) int16 { 1680 return 32767 * a 1681 } 1682 1683 //go:noinline 1684 func mod_int16_Neg32768_ssa(a int16) int16 { 1685 return a % -32768 1686 } 1687 1688 //go:noinline 1689 func mod_Neg32768_int16_ssa(a int16) int16 { 1690 return -32768 % a 1691 } 1692 1693 //go:noinline 1694 func mod_int16_Neg32767_ssa(a int16) int16 { 1695 return a % -32767 1696 } 1697 1698 //go:noinline 1699 func mod_Neg32767_int16_ssa(a int16) int16 { 1700 return -32767 % a 1701 } 1702 1703 //go:noinline 1704 func mod_int16_Neg1_ssa(a int16) int16 { 1705 return a % -1 1706 } 1707 1708 //go:noinline 1709 func mod_Neg1_int16_ssa(a int16) int16 { 1710 return -1 % a 1711 } 1712 1713 //go:noinline 1714 func mod_0_int16_ssa(a int16) int16 { 1715 return 0 % a 1716 } 1717 1718 //go:noinline 1719 func mod_int16_1_ssa(a int16) int16 { 1720 return a % 1 1721 } 1722 1723 //go:noinline 1724 func mod_1_int16_ssa(a int16) int16 { 1725 return 1 % a 1726 } 1727 1728 //go:noinline 1729 func mod_int16_32766_ssa(a int16) int16 { 1730 return a % 32766 1731 } 1732 1733 //go:noinline 1734 func mod_32766_int16_ssa(a int16) int16 { 1735 return 32766 % a 1736 } 1737 1738 //go:noinline 1739 func mod_int16_32767_ssa(a int16) int16 { 1740 return a % 32767 1741 } 1742 1743 //go:noinline 1744 func mod_32767_int16_ssa(a int16) int16 { 1745 return 32767 % a 1746 } 1747 1748 //go:noinline 1749 func add_uint8_0_ssa(a uint8) uint8 { 1750 return a + 0 1751 } 1752 1753 //go:noinline 1754 func add_0_uint8_ssa(a uint8) uint8 { 1755 return 0 + a 1756 } 1757 1758 //go:noinline 1759 func add_uint8_1_ssa(a uint8) uint8 { 1760 return a + 1 1761 } 1762 1763 //go:noinline 1764 func add_1_uint8_ssa(a uint8) uint8 { 1765 return 1 + a 1766 } 1767 1768 //go:noinline 1769 func add_uint8_255_ssa(a uint8) uint8 { 1770 return a + 255 1771 } 1772 1773 //go:noinline 1774 func add_255_uint8_ssa(a uint8) uint8 { 1775 return 255 + a 1776 } 1777 1778 //go:noinline 1779 func sub_uint8_0_ssa(a uint8) uint8 { 1780 return a - 0 1781 } 1782 1783 //go:noinline 1784 func sub_0_uint8_ssa(a uint8) uint8 { 1785 return 0 - a 1786 } 1787 1788 //go:noinline 1789 func sub_uint8_1_ssa(a uint8) uint8 { 1790 return a - 1 1791 } 1792 1793 //go:noinline 1794 func sub_1_uint8_ssa(a uint8) uint8 { 1795 return 1 - a 1796 } 1797 1798 //go:noinline 1799 func sub_uint8_255_ssa(a uint8) uint8 { 1800 return a - 255 1801 } 1802 1803 //go:noinline 1804 func sub_255_uint8_ssa(a uint8) uint8 { 1805 return 255 - a 1806 } 1807 1808 //go:noinline 1809 func div_0_uint8_ssa(a uint8) uint8 { 1810 return 0 / a 1811 } 1812 1813 //go:noinline 1814 func div_uint8_1_ssa(a uint8) uint8 { 1815 return a / 1 1816 } 1817 1818 //go:noinline 1819 func div_1_uint8_ssa(a uint8) uint8 { 1820 return 1 / a 1821 } 1822 1823 //go:noinline 1824 func div_uint8_255_ssa(a uint8) uint8 { 1825 return a / 255 1826 } 1827 1828 //go:noinline 1829 func div_255_uint8_ssa(a uint8) uint8 { 1830 return 255 / a 1831 } 1832 1833 //go:noinline 1834 func mul_uint8_0_ssa(a uint8) uint8 { 1835 return a * 0 1836 } 1837 1838 //go:noinline 1839 func mul_0_uint8_ssa(a uint8) uint8 { 1840 return 0 * a 1841 } 1842 1843 //go:noinline 1844 func mul_uint8_1_ssa(a uint8) uint8 { 1845 return a * 1 1846 } 1847 1848 //go:noinline 1849 func mul_1_uint8_ssa(a uint8) uint8 { 1850 return 1 * a 1851 } 1852 1853 //go:noinline 1854 func mul_uint8_255_ssa(a uint8) uint8 { 1855 return a * 255 1856 } 1857 1858 //go:noinline 1859 func mul_255_uint8_ssa(a uint8) uint8 { 1860 return 255 * a 1861 } 1862 1863 //go:noinline 1864 func lsh_uint8_0_ssa(a uint8) uint8 { 1865 return a << 0 1866 } 1867 1868 //go:noinline 1869 func lsh_0_uint8_ssa(a uint8) uint8 { 1870 return 0 << a 1871 } 1872 1873 //go:noinline 1874 func lsh_uint8_1_ssa(a uint8) uint8 { 1875 return a << 1 1876 } 1877 1878 //go:noinline 1879 func lsh_1_uint8_ssa(a uint8) uint8 { 1880 return 1 << a 1881 } 1882 1883 //go:noinline 1884 func lsh_uint8_255_ssa(a uint8) uint8 { 1885 return a << 255 1886 } 1887 1888 //go:noinline 1889 func lsh_255_uint8_ssa(a uint8) uint8 { 1890 return 255 << a 1891 } 1892 1893 //go:noinline 1894 func rsh_uint8_0_ssa(a uint8) uint8 { 1895 return a >> 0 1896 } 1897 1898 //go:noinline 1899 func rsh_0_uint8_ssa(a uint8) uint8 { 1900 return 0 >> a 1901 } 1902 1903 //go:noinline 1904 func rsh_uint8_1_ssa(a uint8) uint8 { 1905 return a >> 1 1906 } 1907 1908 //go:noinline 1909 func rsh_1_uint8_ssa(a uint8) uint8 { 1910 return 1 >> a 1911 } 1912 1913 //go:noinline 1914 func rsh_uint8_255_ssa(a uint8) uint8 { 1915 return a >> 255 1916 } 1917 1918 //go:noinline 1919 func rsh_255_uint8_ssa(a uint8) uint8 { 1920 return 255 >> a 1921 } 1922 1923 //go:noinline 1924 func mod_0_uint8_ssa(a uint8) uint8 { 1925 return 0 % a 1926 } 1927 1928 //go:noinline 1929 func mod_uint8_1_ssa(a uint8) uint8 { 1930 return a % 1 1931 } 1932 1933 //go:noinline 1934 func mod_1_uint8_ssa(a uint8) uint8 { 1935 return 1 % a 1936 } 1937 1938 //go:noinline 1939 func mod_uint8_255_ssa(a uint8) uint8 { 1940 return a % 255 1941 } 1942 1943 //go:noinline 1944 func mod_255_uint8_ssa(a uint8) uint8 { 1945 return 255 % a 1946 } 1947 1948 //go:noinline 1949 func add_int8_Neg128_ssa(a int8) int8 { 1950 return a + -128 1951 } 1952 1953 //go:noinline 1954 func add_Neg128_int8_ssa(a int8) int8 { 1955 return -128 + a 1956 } 1957 1958 //go:noinline 1959 func add_int8_Neg127_ssa(a int8) int8 { 1960 return a + -127 1961 } 1962 1963 //go:noinline 1964 func add_Neg127_int8_ssa(a int8) int8 { 1965 return -127 + a 1966 } 1967 1968 //go:noinline 1969 func add_int8_Neg1_ssa(a int8) int8 { 1970 return a + -1 1971 } 1972 1973 //go:noinline 1974 func add_Neg1_int8_ssa(a int8) int8 { 1975 return -1 + a 1976 } 1977 1978 //go:noinline 1979 func add_int8_0_ssa(a int8) int8 { 1980 return a + 0 1981 } 1982 1983 //go:noinline 1984 func add_0_int8_ssa(a int8) int8 { 1985 return 0 + a 1986 } 1987 1988 //go:noinline 1989 func add_int8_1_ssa(a int8) int8 { 1990 return a + 1 1991 } 1992 1993 //go:noinline 1994 func add_1_int8_ssa(a int8) int8 { 1995 return 1 + a 1996 } 1997 1998 //go:noinline 1999 func add_int8_126_ssa(a int8) int8 { 2000 return a + 126 2001 } 2002 2003 //go:noinline 2004 func add_126_int8_ssa(a int8) int8 { 2005 return 126 + a 2006 } 2007 2008 //go:noinline 2009 func add_int8_127_ssa(a int8) int8 { 2010 return a + 127 2011 } 2012 2013 //go:noinline 2014 func add_127_int8_ssa(a int8) int8 { 2015 return 127 + a 2016 } 2017 2018 //go:noinline 2019 func sub_int8_Neg128_ssa(a int8) int8 { 2020 return a - -128 2021 } 2022 2023 //go:noinline 2024 func sub_Neg128_int8_ssa(a int8) int8 { 2025 return -128 - a 2026 } 2027 2028 //go:noinline 2029 func sub_int8_Neg127_ssa(a int8) int8 { 2030 return a - -127 2031 } 2032 2033 //go:noinline 2034 func sub_Neg127_int8_ssa(a int8) int8 { 2035 return -127 - a 2036 } 2037 2038 //go:noinline 2039 func sub_int8_Neg1_ssa(a int8) int8 { 2040 return a - -1 2041 } 2042 2043 //go:noinline 2044 func sub_Neg1_int8_ssa(a int8) int8 { 2045 return -1 - a 2046 } 2047 2048 //go:noinline 2049 func sub_int8_0_ssa(a int8) int8 { 2050 return a - 0 2051 } 2052 2053 //go:noinline 2054 func sub_0_int8_ssa(a int8) int8 { 2055 return 0 - a 2056 } 2057 2058 //go:noinline 2059 func sub_int8_1_ssa(a int8) int8 { 2060 return a - 1 2061 } 2062 2063 //go:noinline 2064 func sub_1_int8_ssa(a int8) int8 { 2065 return 1 - a 2066 } 2067 2068 //go:noinline 2069 func sub_int8_126_ssa(a int8) int8 { 2070 return a - 126 2071 } 2072 2073 //go:noinline 2074 func sub_126_int8_ssa(a int8) int8 { 2075 return 126 - a 2076 } 2077 2078 //go:noinline 2079 func sub_int8_127_ssa(a int8) int8 { 2080 return a - 127 2081 } 2082 2083 //go:noinline 2084 func sub_127_int8_ssa(a int8) int8 { 2085 return 127 - a 2086 } 2087 2088 //go:noinline 2089 func div_int8_Neg128_ssa(a int8) int8 { 2090 return a / -128 2091 } 2092 2093 //go:noinline 2094 func div_Neg128_int8_ssa(a int8) int8 { 2095 return -128 / a 2096 } 2097 2098 //go:noinline 2099 func div_int8_Neg127_ssa(a int8) int8 { 2100 return a / -127 2101 } 2102 2103 //go:noinline 2104 func div_Neg127_int8_ssa(a int8) int8 { 2105 return -127 / a 2106 } 2107 2108 //go:noinline 2109 func div_int8_Neg1_ssa(a int8) int8 { 2110 return a / -1 2111 } 2112 2113 //go:noinline 2114 func div_Neg1_int8_ssa(a int8) int8 { 2115 return -1 / a 2116 } 2117 2118 //go:noinline 2119 func div_0_int8_ssa(a int8) int8 { 2120 return 0 / a 2121 } 2122 2123 //go:noinline 2124 func div_int8_1_ssa(a int8) int8 { 2125 return a / 1 2126 } 2127 2128 //go:noinline 2129 func div_1_int8_ssa(a int8) int8 { 2130 return 1 / a 2131 } 2132 2133 //go:noinline 2134 func div_int8_126_ssa(a int8) int8 { 2135 return a / 126 2136 } 2137 2138 //go:noinline 2139 func div_126_int8_ssa(a int8) int8 { 2140 return 126 / a 2141 } 2142 2143 //go:noinline 2144 func div_int8_127_ssa(a int8) int8 { 2145 return a / 127 2146 } 2147 2148 //go:noinline 2149 func div_127_int8_ssa(a int8) int8 { 2150 return 127 / a 2151 } 2152 2153 //go:noinline 2154 func mul_int8_Neg128_ssa(a int8) int8 { 2155 return a * -128 2156 } 2157 2158 //go:noinline 2159 func mul_Neg128_int8_ssa(a int8) int8 { 2160 return -128 * a 2161 } 2162 2163 //go:noinline 2164 func mul_int8_Neg127_ssa(a int8) int8 { 2165 return a * -127 2166 } 2167 2168 //go:noinline 2169 func mul_Neg127_int8_ssa(a int8) int8 { 2170 return -127 * a 2171 } 2172 2173 //go:noinline 2174 func mul_int8_Neg1_ssa(a int8) int8 { 2175 return a * -1 2176 } 2177 2178 //go:noinline 2179 func mul_Neg1_int8_ssa(a int8) int8 { 2180 return -1 * a 2181 } 2182 2183 //go:noinline 2184 func mul_int8_0_ssa(a int8) int8 { 2185 return a * 0 2186 } 2187 2188 //go:noinline 2189 func mul_0_int8_ssa(a int8) int8 { 2190 return 0 * a 2191 } 2192 2193 //go:noinline 2194 func mul_int8_1_ssa(a int8) int8 { 2195 return a * 1 2196 } 2197 2198 //go:noinline 2199 func mul_1_int8_ssa(a int8) int8 { 2200 return 1 * a 2201 } 2202 2203 //go:noinline 2204 func mul_int8_126_ssa(a int8) int8 { 2205 return a * 126 2206 } 2207 2208 //go:noinline 2209 func mul_126_int8_ssa(a int8) int8 { 2210 return 126 * a 2211 } 2212 2213 //go:noinline 2214 func mul_int8_127_ssa(a int8) int8 { 2215 return a * 127 2216 } 2217 2218 //go:noinline 2219 func mul_127_int8_ssa(a int8) int8 { 2220 return 127 * a 2221 } 2222 2223 //go:noinline 2224 func mod_int8_Neg128_ssa(a int8) int8 { 2225 return a % -128 2226 } 2227 2228 //go:noinline 2229 func mod_Neg128_int8_ssa(a int8) int8 { 2230 return -128 % a 2231 } 2232 2233 //go:noinline 2234 func mod_int8_Neg127_ssa(a int8) int8 { 2235 return a % -127 2236 } 2237 2238 //go:noinline 2239 func mod_Neg127_int8_ssa(a int8) int8 { 2240 return -127 % a 2241 } 2242 2243 //go:noinline 2244 func mod_int8_Neg1_ssa(a int8) int8 { 2245 return a % -1 2246 } 2247 2248 //go:noinline 2249 func mod_Neg1_int8_ssa(a int8) int8 { 2250 return -1 % a 2251 } 2252 2253 //go:noinline 2254 func mod_0_int8_ssa(a int8) int8 { 2255 return 0 % a 2256 } 2257 2258 //go:noinline 2259 func mod_int8_1_ssa(a int8) int8 { 2260 return a % 1 2261 } 2262 2263 //go:noinline 2264 func mod_1_int8_ssa(a int8) int8 { 2265 return 1 % a 2266 } 2267 2268 //go:noinline 2269 func mod_int8_126_ssa(a int8) int8 { 2270 return a % 126 2271 } 2272 2273 //go:noinline 2274 func mod_126_int8_ssa(a int8) int8 { 2275 return 126 % a 2276 } 2277 2278 //go:noinline 2279 func mod_int8_127_ssa(a int8) int8 { 2280 return a % 127 2281 } 2282 2283 //go:noinline 2284 func mod_127_int8_ssa(a int8) int8 { 2285 return 127 % a 2286 } 2287 2288 var failed bool 2289 2290 func main() { 2291 2292 if got := add_0_uint64_ssa(0); got != 0 { 2293 fmt.Printf("add_uint64 0%s0 = %d, wanted 0\n", `+`, got) 2294 failed = true 2295 } 2296 2297 if got := add_uint64_0_ssa(0); got != 0 { 2298 fmt.Printf("add_uint64 0%s0 = %d, wanted 0\n", `+`, got) 2299 failed = true 2300 } 2301 2302 if got := add_0_uint64_ssa(1); got != 1 { 2303 fmt.Printf("add_uint64 0%s1 = %d, wanted 1\n", `+`, got) 2304 failed = true 2305 } 2306 2307 if got := add_uint64_0_ssa(1); got != 1 { 2308 fmt.Printf("add_uint64 1%s0 = %d, wanted 1\n", `+`, got) 2309 failed = true 2310 } 2311 2312 if got := add_0_uint64_ssa(4294967296); got != 4294967296 { 2313 fmt.Printf("add_uint64 0%s4294967296 = %d, wanted 4294967296\n", `+`, got) 2314 failed = true 2315 } 2316 2317 if got := add_uint64_0_ssa(4294967296); got != 4294967296 { 2318 fmt.Printf("add_uint64 4294967296%s0 = %d, wanted 4294967296\n", `+`, got) 2319 failed = true 2320 } 2321 2322 if got := add_0_uint64_ssa(18446744073709551615); got != 18446744073709551615 { 2323 fmt.Printf("add_uint64 0%s18446744073709551615 = %d, wanted 18446744073709551615\n", `+`, got) 2324 failed = true 2325 } 2326 2327 if got := add_uint64_0_ssa(18446744073709551615); got != 18446744073709551615 { 2328 fmt.Printf("add_uint64 18446744073709551615%s0 = %d, wanted 18446744073709551615\n", `+`, got) 2329 failed = true 2330 } 2331 2332 if got := add_1_uint64_ssa(0); got != 1 { 2333 fmt.Printf("add_uint64 1%s0 = %d, wanted 1\n", `+`, got) 2334 failed = true 2335 } 2336 2337 if got := add_uint64_1_ssa(0); got != 1 { 2338 fmt.Printf("add_uint64 0%s1 = %d, wanted 1\n", `+`, got) 2339 failed = true 2340 } 2341 2342 if got := add_1_uint64_ssa(1); got != 2 { 2343 fmt.Printf("add_uint64 1%s1 = %d, wanted 2\n", `+`, got) 2344 failed = true 2345 } 2346 2347 if got := add_uint64_1_ssa(1); got != 2 { 2348 fmt.Printf("add_uint64 1%s1 = %d, wanted 2\n", `+`, got) 2349 failed = true 2350 } 2351 2352 if got := add_1_uint64_ssa(4294967296); got != 4294967297 { 2353 fmt.Printf("add_uint64 1%s4294967296 = %d, wanted 4294967297\n", `+`, got) 2354 failed = true 2355 } 2356 2357 if got := add_uint64_1_ssa(4294967296); got != 4294967297 { 2358 fmt.Printf("add_uint64 4294967296%s1 = %d, wanted 4294967297\n", `+`, got) 2359 failed = true 2360 } 2361 2362 if got := add_1_uint64_ssa(18446744073709551615); got != 0 { 2363 fmt.Printf("add_uint64 1%s18446744073709551615 = %d, wanted 0\n", `+`, got) 2364 failed = true 2365 } 2366 2367 if got := add_uint64_1_ssa(18446744073709551615); got != 0 { 2368 fmt.Printf("add_uint64 18446744073709551615%s1 = %d, wanted 0\n", `+`, got) 2369 failed = true 2370 } 2371 2372 if got := add_4294967296_uint64_ssa(0); got != 4294967296 { 2373 fmt.Printf("add_uint64 4294967296%s0 = %d, wanted 4294967296\n", `+`, got) 2374 failed = true 2375 } 2376 2377 if got := add_uint64_4294967296_ssa(0); got != 4294967296 { 2378 fmt.Printf("add_uint64 0%s4294967296 = %d, wanted 4294967296\n", `+`, got) 2379 failed = true 2380 } 2381 2382 if got := add_4294967296_uint64_ssa(1); got != 4294967297 { 2383 fmt.Printf("add_uint64 4294967296%s1 = %d, wanted 4294967297\n", `+`, got) 2384 failed = true 2385 } 2386 2387 if got := add_uint64_4294967296_ssa(1); got != 4294967297 { 2388 fmt.Printf("add_uint64 1%s4294967296 = %d, wanted 4294967297\n", `+`, got) 2389 failed = true 2390 } 2391 2392 if got := add_4294967296_uint64_ssa(4294967296); got != 8589934592 { 2393 fmt.Printf("add_uint64 4294967296%s4294967296 = %d, wanted 8589934592\n", `+`, got) 2394 failed = true 2395 } 2396 2397 if got := add_uint64_4294967296_ssa(4294967296); got != 8589934592 { 2398 fmt.Printf("add_uint64 4294967296%s4294967296 = %d, wanted 8589934592\n", `+`, got) 2399 failed = true 2400 } 2401 2402 if got := add_4294967296_uint64_ssa(18446744073709551615); got != 4294967295 { 2403 fmt.Printf("add_uint64 4294967296%s18446744073709551615 = %d, wanted 4294967295\n", `+`, got) 2404 failed = true 2405 } 2406 2407 if got := add_uint64_4294967296_ssa(18446744073709551615); got != 4294967295 { 2408 fmt.Printf("add_uint64 18446744073709551615%s4294967296 = %d, wanted 4294967295\n", `+`, got) 2409 failed = true 2410 } 2411 2412 if got := add_18446744073709551615_uint64_ssa(0); got != 18446744073709551615 { 2413 fmt.Printf("add_uint64 18446744073709551615%s0 = %d, wanted 18446744073709551615\n", `+`, got) 2414 failed = true 2415 } 2416 2417 if got := add_uint64_18446744073709551615_ssa(0); got != 18446744073709551615 { 2418 fmt.Printf("add_uint64 0%s18446744073709551615 = %d, wanted 18446744073709551615\n", `+`, got) 2419 failed = true 2420 } 2421 2422 if got := add_18446744073709551615_uint64_ssa(1); got != 0 { 2423 fmt.Printf("add_uint64 18446744073709551615%s1 = %d, wanted 0\n", `+`, got) 2424 failed = true 2425 } 2426 2427 if got := add_uint64_18446744073709551615_ssa(1); got != 0 { 2428 fmt.Printf("add_uint64 1%s18446744073709551615 = %d, wanted 0\n", `+`, got) 2429 failed = true 2430 } 2431 2432 if got := add_18446744073709551615_uint64_ssa(4294967296); got != 4294967295 { 2433 fmt.Printf("add_uint64 18446744073709551615%s4294967296 = %d, wanted 4294967295\n", `+`, got) 2434 failed = true 2435 } 2436 2437 if got := add_uint64_18446744073709551615_ssa(4294967296); got != 4294967295 { 2438 fmt.Printf("add_uint64 4294967296%s18446744073709551615 = %d, wanted 4294967295\n", `+`, got) 2439 failed = true 2440 } 2441 2442 if got := add_18446744073709551615_uint64_ssa(18446744073709551615); got != 18446744073709551614 { 2443 fmt.Printf("add_uint64 18446744073709551615%s18446744073709551615 = %d, wanted 18446744073709551614\n", `+`, got) 2444 failed = true 2445 } 2446 2447 if got := add_uint64_18446744073709551615_ssa(18446744073709551615); got != 18446744073709551614 { 2448 fmt.Printf("add_uint64 18446744073709551615%s18446744073709551615 = %d, wanted 18446744073709551614\n", `+`, got) 2449 failed = true 2450 } 2451 2452 if got := sub_0_uint64_ssa(0); got != 0 { 2453 fmt.Printf("sub_uint64 0%s0 = %d, wanted 0\n", `-`, got) 2454 failed = true 2455 } 2456 2457 if got := sub_uint64_0_ssa(0); got != 0 { 2458 fmt.Printf("sub_uint64 0%s0 = %d, wanted 0\n", `-`, got) 2459 failed = true 2460 } 2461 2462 if got := sub_0_uint64_ssa(1); got != 18446744073709551615 { 2463 fmt.Printf("sub_uint64 0%s1 = %d, wanted 18446744073709551615\n", `-`, got) 2464 failed = true 2465 } 2466 2467 if got := sub_uint64_0_ssa(1); got != 1 { 2468 fmt.Printf("sub_uint64 1%s0 = %d, wanted 1\n", `-`, got) 2469 failed = true 2470 } 2471 2472 if got := sub_0_uint64_ssa(4294967296); got != 18446744069414584320 { 2473 fmt.Printf("sub_uint64 0%s4294967296 = %d, wanted 18446744069414584320\n", `-`, got) 2474 failed = true 2475 } 2476 2477 if got := sub_uint64_0_ssa(4294967296); got != 4294967296 { 2478 fmt.Printf("sub_uint64 4294967296%s0 = %d, wanted 4294967296\n", `-`, got) 2479 failed = true 2480 } 2481 2482 if got := sub_0_uint64_ssa(18446744073709551615); got != 1 { 2483 fmt.Printf("sub_uint64 0%s18446744073709551615 = %d, wanted 1\n", `-`, got) 2484 failed = true 2485 } 2486 2487 if got := sub_uint64_0_ssa(18446744073709551615); got != 18446744073709551615 { 2488 fmt.Printf("sub_uint64 18446744073709551615%s0 = %d, wanted 18446744073709551615\n", `-`, got) 2489 failed = true 2490 } 2491 2492 if got := sub_1_uint64_ssa(0); got != 1 { 2493 fmt.Printf("sub_uint64 1%s0 = %d, wanted 1\n", `-`, got) 2494 failed = true 2495 } 2496 2497 if got := sub_uint64_1_ssa(0); got != 18446744073709551615 { 2498 fmt.Printf("sub_uint64 0%s1 = %d, wanted 18446744073709551615\n", `-`, got) 2499 failed = true 2500 } 2501 2502 if got := sub_1_uint64_ssa(1); got != 0 { 2503 fmt.Printf("sub_uint64 1%s1 = %d, wanted 0\n", `-`, got) 2504 failed = true 2505 } 2506 2507 if got := sub_uint64_1_ssa(1); got != 0 { 2508 fmt.Printf("sub_uint64 1%s1 = %d, wanted 0\n", `-`, got) 2509 failed = true 2510 } 2511 2512 if got := sub_1_uint64_ssa(4294967296); got != 18446744069414584321 { 2513 fmt.Printf("sub_uint64 1%s4294967296 = %d, wanted 18446744069414584321\n", `-`, got) 2514 failed = true 2515 } 2516 2517 if got := sub_uint64_1_ssa(4294967296); got != 4294967295 { 2518 fmt.Printf("sub_uint64 4294967296%s1 = %d, wanted 4294967295\n", `-`, got) 2519 failed = true 2520 } 2521 2522 if got := sub_1_uint64_ssa(18446744073709551615); got != 2 { 2523 fmt.Printf("sub_uint64 1%s18446744073709551615 = %d, wanted 2\n", `-`, got) 2524 failed = true 2525 } 2526 2527 if got := sub_uint64_1_ssa(18446744073709551615); got != 18446744073709551614 { 2528 fmt.Printf("sub_uint64 18446744073709551615%s1 = %d, wanted 18446744073709551614\n", `-`, got) 2529 failed = true 2530 } 2531 2532 if got := sub_4294967296_uint64_ssa(0); got != 4294967296 { 2533 fmt.Printf("sub_uint64 4294967296%s0 = %d, wanted 4294967296\n", `-`, got) 2534 failed = true 2535 } 2536 2537 if got := sub_uint64_4294967296_ssa(0); got != 18446744069414584320 { 2538 fmt.Printf("sub_uint64 0%s4294967296 = %d, wanted 18446744069414584320\n", `-`, got) 2539 failed = true 2540 } 2541 2542 if got := sub_4294967296_uint64_ssa(1); got != 4294967295 { 2543 fmt.Printf("sub_uint64 4294967296%s1 = %d, wanted 4294967295\n", `-`, got) 2544 failed = true 2545 } 2546 2547 if got := sub_uint64_4294967296_ssa(1); got != 18446744069414584321 { 2548 fmt.Printf("sub_uint64 1%s4294967296 = %d, wanted 18446744069414584321\n", `-`, got) 2549 failed = true 2550 } 2551 2552 if got := sub_4294967296_uint64_ssa(4294967296); got != 0 { 2553 fmt.Printf("sub_uint64 4294967296%s4294967296 = %d, wanted 0\n", `-`, got) 2554 failed = true 2555 } 2556 2557 if got := sub_uint64_4294967296_ssa(4294967296); got != 0 { 2558 fmt.Printf("sub_uint64 4294967296%s4294967296 = %d, wanted 0\n", `-`, got) 2559 failed = true 2560 } 2561 2562 if got := sub_4294967296_uint64_ssa(18446744073709551615); got != 4294967297 { 2563 fmt.Printf("sub_uint64 4294967296%s18446744073709551615 = %d, wanted 4294967297\n", `-`, got) 2564 failed = true 2565 } 2566 2567 if got := sub_uint64_4294967296_ssa(18446744073709551615); got != 18446744069414584319 { 2568 fmt.Printf("sub_uint64 18446744073709551615%s4294967296 = %d, wanted 18446744069414584319\n", `-`, got) 2569 failed = true 2570 } 2571 2572 if got := sub_18446744073709551615_uint64_ssa(0); got != 18446744073709551615 { 2573 fmt.Printf("sub_uint64 18446744073709551615%s0 = %d, wanted 18446744073709551615\n", `-`, got) 2574 failed = true 2575 } 2576 2577 if got := sub_uint64_18446744073709551615_ssa(0); got != 1 { 2578 fmt.Printf("sub_uint64 0%s18446744073709551615 = %d, wanted 1\n", `-`, got) 2579 failed = true 2580 } 2581 2582 if got := sub_18446744073709551615_uint64_ssa(1); got != 18446744073709551614 { 2583 fmt.Printf("sub_uint64 18446744073709551615%s1 = %d, wanted 18446744073709551614\n", `-`, got) 2584 failed = true 2585 } 2586 2587 if got := sub_uint64_18446744073709551615_ssa(1); got != 2 { 2588 fmt.Printf("sub_uint64 1%s18446744073709551615 = %d, wanted 2\n", `-`, got) 2589 failed = true 2590 } 2591 2592 if got := sub_18446744073709551615_uint64_ssa(4294967296); got != 18446744069414584319 { 2593 fmt.Printf("sub_uint64 18446744073709551615%s4294967296 = %d, wanted 18446744069414584319\n", `-`, got) 2594 failed = true 2595 } 2596 2597 if got := sub_uint64_18446744073709551615_ssa(4294967296); got != 4294967297 { 2598 fmt.Printf("sub_uint64 4294967296%s18446744073709551615 = %d, wanted 4294967297\n", `-`, got) 2599 failed = true 2600 } 2601 2602 if got := sub_18446744073709551615_uint64_ssa(18446744073709551615); got != 0 { 2603 fmt.Printf("sub_uint64 18446744073709551615%s18446744073709551615 = %d, wanted 0\n", `-`, got) 2604 failed = true 2605 } 2606 2607 if got := sub_uint64_18446744073709551615_ssa(18446744073709551615); got != 0 { 2608 fmt.Printf("sub_uint64 18446744073709551615%s18446744073709551615 = %d, wanted 0\n", `-`, got) 2609 failed = true 2610 } 2611 2612 if got := div_0_uint64_ssa(1); got != 0 { 2613 fmt.Printf("div_uint64 0%s1 = %d, wanted 0\n", `/`, got) 2614 failed = true 2615 } 2616 2617 if got := div_0_uint64_ssa(4294967296); got != 0 { 2618 fmt.Printf("div_uint64 0%s4294967296 = %d, wanted 0\n", `/`, got) 2619 failed = true 2620 } 2621 2622 if got := div_0_uint64_ssa(18446744073709551615); got != 0 { 2623 fmt.Printf("div_uint64 0%s18446744073709551615 = %d, wanted 0\n", `/`, got) 2624 failed = true 2625 } 2626 2627 if got := div_uint64_1_ssa(0); got != 0 { 2628 fmt.Printf("div_uint64 0%s1 = %d, wanted 0\n", `/`, got) 2629 failed = true 2630 } 2631 2632 if got := div_1_uint64_ssa(1); got != 1 { 2633 fmt.Printf("div_uint64 1%s1 = %d, wanted 1\n", `/`, got) 2634 failed = true 2635 } 2636 2637 if got := div_uint64_1_ssa(1); got != 1 { 2638 fmt.Printf("div_uint64 1%s1 = %d, wanted 1\n", `/`, got) 2639 failed = true 2640 } 2641 2642 if got := div_1_uint64_ssa(4294967296); got != 0 { 2643 fmt.Printf("div_uint64 1%s4294967296 = %d, wanted 0\n", `/`, got) 2644 failed = true 2645 } 2646 2647 if got := div_uint64_1_ssa(4294967296); got != 4294967296 { 2648 fmt.Printf("div_uint64 4294967296%s1 = %d, wanted 4294967296\n", `/`, got) 2649 failed = true 2650 } 2651 2652 if got := div_1_uint64_ssa(18446744073709551615); got != 0 { 2653 fmt.Printf("div_uint64 1%s18446744073709551615 = %d, wanted 0\n", `/`, got) 2654 failed = true 2655 } 2656 2657 if got := div_uint64_1_ssa(18446744073709551615); got != 18446744073709551615 { 2658 fmt.Printf("div_uint64 18446744073709551615%s1 = %d, wanted 18446744073709551615\n", `/`, got) 2659 failed = true 2660 } 2661 2662 if got := div_uint64_4294967296_ssa(0); got != 0 { 2663 fmt.Printf("div_uint64 0%s4294967296 = %d, wanted 0\n", `/`, got) 2664 failed = true 2665 } 2666 2667 if got := div_4294967296_uint64_ssa(1); got != 4294967296 { 2668 fmt.Printf("div_uint64 4294967296%s1 = %d, wanted 4294967296\n", `/`, got) 2669 failed = true 2670 } 2671 2672 if got := div_uint64_4294967296_ssa(1); got != 0 { 2673 fmt.Printf("div_uint64 1%s4294967296 = %d, wanted 0\n", `/`, got) 2674 failed = true 2675 } 2676 2677 if got := div_4294967296_uint64_ssa(4294967296); got != 1 { 2678 fmt.Printf("div_uint64 4294967296%s4294967296 = %d, wanted 1\n", `/`, got) 2679 failed = true 2680 } 2681 2682 if got := div_uint64_4294967296_ssa(4294967296); got != 1 { 2683 fmt.Printf("div_uint64 4294967296%s4294967296 = %d, wanted 1\n", `/`, got) 2684 failed = true 2685 } 2686 2687 if got := div_4294967296_uint64_ssa(18446744073709551615); got != 0 { 2688 fmt.Printf("div_uint64 4294967296%s18446744073709551615 = %d, wanted 0\n", `/`, got) 2689 failed = true 2690 } 2691 2692 if got := div_uint64_4294967296_ssa(18446744073709551615); got != 4294967295 { 2693 fmt.Printf("div_uint64 18446744073709551615%s4294967296 = %d, wanted 4294967295\n", `/`, got) 2694 failed = true 2695 } 2696 2697 if got := div_uint64_18446744073709551615_ssa(0); got != 0 { 2698 fmt.Printf("div_uint64 0%s18446744073709551615 = %d, wanted 0\n", `/`, got) 2699 failed = true 2700 } 2701 2702 if got := div_18446744073709551615_uint64_ssa(1); got != 18446744073709551615 { 2703 fmt.Printf("div_uint64 18446744073709551615%s1 = %d, wanted 18446744073709551615\n", `/`, got) 2704 failed = true 2705 } 2706 2707 if got := div_uint64_18446744073709551615_ssa(1); got != 0 { 2708 fmt.Printf("div_uint64 1%s18446744073709551615 = %d, wanted 0\n", `/`, got) 2709 failed = true 2710 } 2711 2712 if got := div_18446744073709551615_uint64_ssa(4294967296); got != 4294967295 { 2713 fmt.Printf("div_uint64 18446744073709551615%s4294967296 = %d, wanted 4294967295\n", `/`, got) 2714 failed = true 2715 } 2716 2717 if got := div_uint64_18446744073709551615_ssa(4294967296); got != 0 { 2718 fmt.Printf("div_uint64 4294967296%s18446744073709551615 = %d, wanted 0\n", `/`, got) 2719 failed = true 2720 } 2721 2722 if got := div_18446744073709551615_uint64_ssa(18446744073709551615); got != 1 { 2723 fmt.Printf("div_uint64 18446744073709551615%s18446744073709551615 = %d, wanted 1\n", `/`, got) 2724 failed = true 2725 } 2726 2727 if got := div_uint64_18446744073709551615_ssa(18446744073709551615); got != 1 { 2728 fmt.Printf("div_uint64 18446744073709551615%s18446744073709551615 = %d, wanted 1\n", `/`, got) 2729 failed = true 2730 } 2731 2732 if got := mul_0_uint64_ssa(0); got != 0 { 2733 fmt.Printf("mul_uint64 0%s0 = %d, wanted 0\n", `*`, got) 2734 failed = true 2735 } 2736 2737 if got := mul_uint64_0_ssa(0); got != 0 { 2738 fmt.Printf("mul_uint64 0%s0 = %d, wanted 0\n", `*`, got) 2739 failed = true 2740 } 2741 2742 if got := mul_0_uint64_ssa(1); got != 0 { 2743 fmt.Printf("mul_uint64 0%s1 = %d, wanted 0\n", `*`, got) 2744 failed = true 2745 } 2746 2747 if got := mul_uint64_0_ssa(1); got != 0 { 2748 fmt.Printf("mul_uint64 1%s0 = %d, wanted 0\n", `*`, got) 2749 failed = true 2750 } 2751 2752 if got := mul_0_uint64_ssa(4294967296); got != 0 { 2753 fmt.Printf("mul_uint64 0%s4294967296 = %d, wanted 0\n", `*`, got) 2754 failed = true 2755 } 2756 2757 if got := mul_uint64_0_ssa(4294967296); got != 0 { 2758 fmt.Printf("mul_uint64 4294967296%s0 = %d, wanted 0\n", `*`, got) 2759 failed = true 2760 } 2761 2762 if got := mul_0_uint64_ssa(18446744073709551615); got != 0 { 2763 fmt.Printf("mul_uint64 0%s18446744073709551615 = %d, wanted 0\n", `*`, got) 2764 failed = true 2765 } 2766 2767 if got := mul_uint64_0_ssa(18446744073709551615); got != 0 { 2768 fmt.Printf("mul_uint64 18446744073709551615%s0 = %d, wanted 0\n", `*`, got) 2769 failed = true 2770 } 2771 2772 if got := mul_1_uint64_ssa(0); got != 0 { 2773 fmt.Printf("mul_uint64 1%s0 = %d, wanted 0\n", `*`, got) 2774 failed = true 2775 } 2776 2777 if got := mul_uint64_1_ssa(0); got != 0 { 2778 fmt.Printf("mul_uint64 0%s1 = %d, wanted 0\n", `*`, got) 2779 failed = true 2780 } 2781 2782 if got := mul_1_uint64_ssa(1); got != 1 { 2783 fmt.Printf("mul_uint64 1%s1 = %d, wanted 1\n", `*`, got) 2784 failed = true 2785 } 2786 2787 if got := mul_uint64_1_ssa(1); got != 1 { 2788 fmt.Printf("mul_uint64 1%s1 = %d, wanted 1\n", `*`, got) 2789 failed = true 2790 } 2791 2792 if got := mul_1_uint64_ssa(4294967296); got != 4294967296 { 2793 fmt.Printf("mul_uint64 1%s4294967296 = %d, wanted 4294967296\n", `*`, got) 2794 failed = true 2795 } 2796 2797 if got := mul_uint64_1_ssa(4294967296); got != 4294967296 { 2798 fmt.Printf("mul_uint64 4294967296%s1 = %d, wanted 4294967296\n", `*`, got) 2799 failed = true 2800 } 2801 2802 if got := mul_1_uint64_ssa(18446744073709551615); got != 18446744073709551615 { 2803 fmt.Printf("mul_uint64 1%s18446744073709551615 = %d, wanted 18446744073709551615\n", `*`, got) 2804 failed = true 2805 } 2806 2807 if got := mul_uint64_1_ssa(18446744073709551615); got != 18446744073709551615 { 2808 fmt.Printf("mul_uint64 18446744073709551615%s1 = %d, wanted 18446744073709551615\n", `*`, got) 2809 failed = true 2810 } 2811 2812 if got := mul_4294967296_uint64_ssa(0); got != 0 { 2813 fmt.Printf("mul_uint64 4294967296%s0 = %d, wanted 0\n", `*`, got) 2814 failed = true 2815 } 2816 2817 if got := mul_uint64_4294967296_ssa(0); got != 0 { 2818 fmt.Printf("mul_uint64 0%s4294967296 = %d, wanted 0\n", `*`, got) 2819 failed = true 2820 } 2821 2822 if got := mul_4294967296_uint64_ssa(1); got != 4294967296 { 2823 fmt.Printf("mul_uint64 4294967296%s1 = %d, wanted 4294967296\n", `*`, got) 2824 failed = true 2825 } 2826 2827 if got := mul_uint64_4294967296_ssa(1); got != 4294967296 { 2828 fmt.Printf("mul_uint64 1%s4294967296 = %d, wanted 4294967296\n", `*`, got) 2829 failed = true 2830 } 2831 2832 if got := mul_4294967296_uint64_ssa(4294967296); got != 0 { 2833 fmt.Printf("mul_uint64 4294967296%s4294967296 = %d, wanted 0\n", `*`, got) 2834 failed = true 2835 } 2836 2837 if got := mul_uint64_4294967296_ssa(4294967296); got != 0 { 2838 fmt.Printf("mul_uint64 4294967296%s4294967296 = %d, wanted 0\n", `*`, got) 2839 failed = true 2840 } 2841 2842 if got := mul_4294967296_uint64_ssa(18446744073709551615); got != 18446744069414584320 { 2843 fmt.Printf("mul_uint64 4294967296%s18446744073709551615 = %d, wanted 18446744069414584320\n", `*`, got) 2844 failed = true 2845 } 2846 2847 if got := mul_uint64_4294967296_ssa(18446744073709551615); got != 18446744069414584320 { 2848 fmt.Printf("mul_uint64 18446744073709551615%s4294967296 = %d, wanted 18446744069414584320\n", `*`, got) 2849 failed = true 2850 } 2851 2852 if got := mul_18446744073709551615_uint64_ssa(0); got != 0 { 2853 fmt.Printf("mul_uint64 18446744073709551615%s0 = %d, wanted 0\n", `*`, got) 2854 failed = true 2855 } 2856 2857 if got := mul_uint64_18446744073709551615_ssa(0); got != 0 { 2858 fmt.Printf("mul_uint64 0%s18446744073709551615 = %d, wanted 0\n", `*`, got) 2859 failed = true 2860 } 2861 2862 if got := mul_18446744073709551615_uint64_ssa(1); got != 18446744073709551615 { 2863 fmt.Printf("mul_uint64 18446744073709551615%s1 = %d, wanted 18446744073709551615\n", `*`, got) 2864 failed = true 2865 } 2866 2867 if got := mul_uint64_18446744073709551615_ssa(1); got != 18446744073709551615 { 2868 fmt.Printf("mul_uint64 1%s18446744073709551615 = %d, wanted 18446744073709551615\n", `*`, got) 2869 failed = true 2870 } 2871 2872 if got := mul_18446744073709551615_uint64_ssa(4294967296); got != 18446744069414584320 { 2873 fmt.Printf("mul_uint64 18446744073709551615%s4294967296 = %d, wanted 18446744069414584320\n", `*`, got) 2874 failed = true 2875 } 2876 2877 if got := mul_uint64_18446744073709551615_ssa(4294967296); got != 18446744069414584320 { 2878 fmt.Printf("mul_uint64 4294967296%s18446744073709551615 = %d, wanted 18446744069414584320\n", `*`, got) 2879 failed = true 2880 } 2881 2882 if got := mul_18446744073709551615_uint64_ssa(18446744073709551615); got != 1 { 2883 fmt.Printf("mul_uint64 18446744073709551615%s18446744073709551615 = %d, wanted 1\n", `*`, got) 2884 failed = true 2885 } 2886 2887 if got := mul_uint64_18446744073709551615_ssa(18446744073709551615); got != 1 { 2888 fmt.Printf("mul_uint64 18446744073709551615%s18446744073709551615 = %d, wanted 1\n", `*`, got) 2889 failed = true 2890 } 2891 2892 if got := lsh_0_uint64_ssa(0); got != 0 { 2893 fmt.Printf("lsh_uint64 0%s0 = %d, wanted 0\n", `<<`, got) 2894 failed = true 2895 } 2896 2897 if got := lsh_uint64_0_ssa(0); got != 0 { 2898 fmt.Printf("lsh_uint64 0%s0 = %d, wanted 0\n", `<<`, got) 2899 failed = true 2900 } 2901 2902 if got := lsh_0_uint64_ssa(1); got != 0 { 2903 fmt.Printf("lsh_uint64 0%s1 = %d, wanted 0\n", `<<`, got) 2904 failed = true 2905 } 2906 2907 if got := lsh_uint64_0_ssa(1); got != 1 { 2908 fmt.Printf("lsh_uint64 1%s0 = %d, wanted 1\n", `<<`, got) 2909 failed = true 2910 } 2911 2912 if got := lsh_0_uint64_ssa(4294967296); got != 0 { 2913 fmt.Printf("lsh_uint64 0%s4294967296 = %d, wanted 0\n", `<<`, got) 2914 failed = true 2915 } 2916 2917 if got := lsh_uint64_0_ssa(4294967296); got != 4294967296 { 2918 fmt.Printf("lsh_uint64 4294967296%s0 = %d, wanted 4294967296\n", `<<`, got) 2919 failed = true 2920 } 2921 2922 if got := lsh_0_uint64_ssa(18446744073709551615); got != 0 { 2923 fmt.Printf("lsh_uint64 0%s18446744073709551615 = %d, wanted 0\n", `<<`, got) 2924 failed = true 2925 } 2926 2927 if got := lsh_uint64_0_ssa(18446744073709551615); got != 18446744073709551615 { 2928 fmt.Printf("lsh_uint64 18446744073709551615%s0 = %d, wanted 18446744073709551615\n", `<<`, got) 2929 failed = true 2930 } 2931 2932 if got := lsh_1_uint64_ssa(0); got != 1 { 2933 fmt.Printf("lsh_uint64 1%s0 = %d, wanted 1\n", `<<`, got) 2934 failed = true 2935 } 2936 2937 if got := lsh_uint64_1_ssa(0); got != 0 { 2938 fmt.Printf("lsh_uint64 0%s1 = %d, wanted 0\n", `<<`, got) 2939 failed = true 2940 } 2941 2942 if got := lsh_1_uint64_ssa(1); got != 2 { 2943 fmt.Printf("lsh_uint64 1%s1 = %d, wanted 2\n", `<<`, got) 2944 failed = true 2945 } 2946 2947 if got := lsh_uint64_1_ssa(1); got != 2 { 2948 fmt.Printf("lsh_uint64 1%s1 = %d, wanted 2\n", `<<`, got) 2949 failed = true 2950 } 2951 2952 if got := lsh_1_uint64_ssa(4294967296); got != 0 { 2953 fmt.Printf("lsh_uint64 1%s4294967296 = %d, wanted 0\n", `<<`, got) 2954 failed = true 2955 } 2956 2957 if got := lsh_uint64_1_ssa(4294967296); got != 8589934592 { 2958 fmt.Printf("lsh_uint64 4294967296%s1 = %d, wanted 8589934592\n", `<<`, got) 2959 failed = true 2960 } 2961 2962 if got := lsh_1_uint64_ssa(18446744073709551615); got != 0 { 2963 fmt.Printf("lsh_uint64 1%s18446744073709551615 = %d, wanted 0\n", `<<`, got) 2964 failed = true 2965 } 2966 2967 if got := lsh_uint64_1_ssa(18446744073709551615); got != 18446744073709551614 { 2968 fmt.Printf("lsh_uint64 18446744073709551615%s1 = %d, wanted 18446744073709551614\n", `<<`, got) 2969 failed = true 2970 } 2971 2972 if got := lsh_4294967296_uint64_ssa(0); got != 4294967296 { 2973 fmt.Printf("lsh_uint64 4294967296%s0 = %d, wanted 4294967296\n", `<<`, got) 2974 failed = true 2975 } 2976 2977 if got := lsh_uint64_4294967296_ssa(0); got != 0 { 2978 fmt.Printf("lsh_uint64 0%s4294967296 = %d, wanted 0\n", `<<`, got) 2979 failed = true 2980 } 2981 2982 if got := lsh_4294967296_uint64_ssa(1); got != 8589934592 { 2983 fmt.Printf("lsh_uint64 4294967296%s1 = %d, wanted 8589934592\n", `<<`, got) 2984 failed = true 2985 } 2986 2987 if got := lsh_uint64_4294967296_ssa(1); got != 0 { 2988 fmt.Printf("lsh_uint64 1%s4294967296 = %d, wanted 0\n", `<<`, got) 2989 failed = true 2990 } 2991 2992 if got := lsh_4294967296_uint64_ssa(4294967296); got != 0 { 2993 fmt.Printf("lsh_uint64 4294967296%s4294967296 = %d, wanted 0\n", `<<`, got) 2994 failed = true 2995 } 2996 2997 if got := lsh_uint64_4294967296_ssa(4294967296); got != 0 { 2998 fmt.Printf("lsh_uint64 4294967296%s4294967296 = %d, wanted 0\n", `<<`, got) 2999 failed = true 3000 } 3001 3002 if got := lsh_4294967296_uint64_ssa(18446744073709551615); got != 0 { 3003 fmt.Printf("lsh_uint64 4294967296%s18446744073709551615 = %d, wanted 0\n", `<<`, got) 3004 failed = true 3005 } 3006 3007 if got := lsh_uint64_4294967296_ssa(18446744073709551615); got != 0 { 3008 fmt.Printf("lsh_uint64 18446744073709551615%s4294967296 = %d, wanted 0\n", `<<`, got) 3009 failed = true 3010 } 3011 3012 if got := lsh_18446744073709551615_uint64_ssa(0); got != 18446744073709551615 { 3013 fmt.Printf("lsh_uint64 18446744073709551615%s0 = %d, wanted 18446744073709551615\n", `<<`, got) 3014 failed = true 3015 } 3016 3017 if got := lsh_uint64_18446744073709551615_ssa(0); got != 0 { 3018 fmt.Printf("lsh_uint64 0%s18446744073709551615 = %d, wanted 0\n", `<<`, got) 3019 failed = true 3020 } 3021 3022 if got := lsh_18446744073709551615_uint64_ssa(1); got != 18446744073709551614 { 3023 fmt.Printf("lsh_uint64 18446744073709551615%s1 = %d, wanted 18446744073709551614\n", `<<`, got) 3024 failed = true 3025 } 3026 3027 if got := lsh_uint64_18446744073709551615_ssa(1); got != 0 { 3028 fmt.Printf("lsh_uint64 1%s18446744073709551615 = %d, wanted 0\n", `<<`, got) 3029 failed = true 3030 } 3031 3032 if got := lsh_18446744073709551615_uint64_ssa(4294967296); got != 0 { 3033 fmt.Printf("lsh_uint64 18446744073709551615%s4294967296 = %d, wanted 0\n", `<<`, got) 3034 failed = true 3035 } 3036 3037 if got := lsh_uint64_18446744073709551615_ssa(4294967296); got != 0 { 3038 fmt.Printf("lsh_uint64 4294967296%s18446744073709551615 = %d, wanted 0\n", `<<`, got) 3039 failed = true 3040 } 3041 3042 if got := lsh_18446744073709551615_uint64_ssa(18446744073709551615); got != 0 { 3043 fmt.Printf("lsh_uint64 18446744073709551615%s18446744073709551615 = %d, wanted 0\n", `<<`, got) 3044 failed = true 3045 } 3046 3047 if got := lsh_uint64_18446744073709551615_ssa(18446744073709551615); got != 0 { 3048 fmt.Printf("lsh_uint64 18446744073709551615%s18446744073709551615 = %d, wanted 0\n", `<<`, got) 3049 failed = true 3050 } 3051 3052 if got := rsh_0_uint64_ssa(0); got != 0 { 3053 fmt.Printf("rsh_uint64 0%s0 = %d, wanted 0\n", `>>`, got) 3054 failed = true 3055 } 3056 3057 if got := rsh_uint64_0_ssa(0); got != 0 { 3058 fmt.Printf("rsh_uint64 0%s0 = %d, wanted 0\n", `>>`, got) 3059 failed = true 3060 } 3061 3062 if got := rsh_0_uint64_ssa(1); got != 0 { 3063 fmt.Printf("rsh_uint64 0%s1 = %d, wanted 0\n", `>>`, got) 3064 failed = true 3065 } 3066 3067 if got := rsh_uint64_0_ssa(1); got != 1 { 3068 fmt.Printf("rsh_uint64 1%s0 = %d, wanted 1\n", `>>`, got) 3069 failed = true 3070 } 3071 3072 if got := rsh_0_uint64_ssa(4294967296); got != 0 { 3073 fmt.Printf("rsh_uint64 0%s4294967296 = %d, wanted 0\n", `>>`, got) 3074 failed = true 3075 } 3076 3077 if got := rsh_uint64_0_ssa(4294967296); got != 4294967296 { 3078 fmt.Printf("rsh_uint64 4294967296%s0 = %d, wanted 4294967296\n", `>>`, got) 3079 failed = true 3080 } 3081 3082 if got := rsh_0_uint64_ssa(18446744073709551615); got != 0 { 3083 fmt.Printf("rsh_uint64 0%s18446744073709551615 = %d, wanted 0\n", `>>`, got) 3084 failed = true 3085 } 3086 3087 if got := rsh_uint64_0_ssa(18446744073709551615); got != 18446744073709551615 { 3088 fmt.Printf("rsh_uint64 18446744073709551615%s0 = %d, wanted 18446744073709551615\n", `>>`, got) 3089 failed = true 3090 } 3091 3092 if got := rsh_1_uint64_ssa(0); got != 1 { 3093 fmt.Printf("rsh_uint64 1%s0 = %d, wanted 1\n", `>>`, got) 3094 failed = true 3095 } 3096 3097 if got := rsh_uint64_1_ssa(0); got != 0 { 3098 fmt.Printf("rsh_uint64 0%s1 = %d, wanted 0\n", `>>`, got) 3099 failed = true 3100 } 3101 3102 if got := rsh_1_uint64_ssa(1); got != 0 { 3103 fmt.Printf("rsh_uint64 1%s1 = %d, wanted 0\n", `>>`, got) 3104 failed = true 3105 } 3106 3107 if got := rsh_uint64_1_ssa(1); got != 0 { 3108 fmt.Printf("rsh_uint64 1%s1 = %d, wanted 0\n", `>>`, got) 3109 failed = true 3110 } 3111 3112 if got := rsh_1_uint64_ssa(4294967296); got != 0 { 3113 fmt.Printf("rsh_uint64 1%s4294967296 = %d, wanted 0\n", `>>`, got) 3114 failed = true 3115 } 3116 3117 if got := rsh_uint64_1_ssa(4294967296); got != 2147483648 { 3118 fmt.Printf("rsh_uint64 4294967296%s1 = %d, wanted 2147483648\n", `>>`, got) 3119 failed = true 3120 } 3121 3122 if got := rsh_1_uint64_ssa(18446744073709551615); got != 0 { 3123 fmt.Printf("rsh_uint64 1%s18446744073709551615 = %d, wanted 0\n", `>>`, got) 3124 failed = true 3125 } 3126 3127 if got := rsh_uint64_1_ssa(18446744073709551615); got != 9223372036854775807 { 3128 fmt.Printf("rsh_uint64 18446744073709551615%s1 = %d, wanted 9223372036854775807\n", `>>`, got) 3129 failed = true 3130 } 3131 3132 if got := rsh_4294967296_uint64_ssa(0); got != 4294967296 { 3133 fmt.Printf("rsh_uint64 4294967296%s0 = %d, wanted 4294967296\n", `>>`, got) 3134 failed = true 3135 } 3136 3137 if got := rsh_uint64_4294967296_ssa(0); got != 0 { 3138 fmt.Printf("rsh_uint64 0%s4294967296 = %d, wanted 0\n", `>>`, got) 3139 failed = true 3140 } 3141 3142 if got := rsh_4294967296_uint64_ssa(1); got != 2147483648 { 3143 fmt.Printf("rsh_uint64 4294967296%s1 = %d, wanted 2147483648\n", `>>`, got) 3144 failed = true 3145 } 3146 3147 if got := rsh_uint64_4294967296_ssa(1); got != 0 { 3148 fmt.Printf("rsh_uint64 1%s4294967296 = %d, wanted 0\n", `>>`, got) 3149 failed = true 3150 } 3151 3152 if got := rsh_4294967296_uint64_ssa(4294967296); got != 0 { 3153 fmt.Printf("rsh_uint64 4294967296%s4294967296 = %d, wanted 0\n", `>>`, got) 3154 failed = true 3155 } 3156 3157 if got := rsh_uint64_4294967296_ssa(4294967296); got != 0 { 3158 fmt.Printf("rsh_uint64 4294967296%s4294967296 = %d, wanted 0\n", `>>`, got) 3159 failed = true 3160 } 3161 3162 if got := rsh_4294967296_uint64_ssa(18446744073709551615); got != 0 { 3163 fmt.Printf("rsh_uint64 4294967296%s18446744073709551615 = %d, wanted 0\n", `>>`, got) 3164 failed = true 3165 } 3166 3167 if got := rsh_uint64_4294967296_ssa(18446744073709551615); got != 0 { 3168 fmt.Printf("rsh_uint64 18446744073709551615%s4294967296 = %d, wanted 0\n", `>>`, got) 3169 failed = true 3170 } 3171 3172 if got := rsh_18446744073709551615_uint64_ssa(0); got != 18446744073709551615 { 3173 fmt.Printf("rsh_uint64 18446744073709551615%s0 = %d, wanted 18446744073709551615\n", `>>`, got) 3174 failed = true 3175 } 3176 3177 if got := rsh_uint64_18446744073709551615_ssa(0); got != 0 { 3178 fmt.Printf("rsh_uint64 0%s18446744073709551615 = %d, wanted 0\n", `>>`, got) 3179 failed = true 3180 } 3181 3182 if got := rsh_18446744073709551615_uint64_ssa(1); got != 9223372036854775807 { 3183 fmt.Printf("rsh_uint64 18446744073709551615%s1 = %d, wanted 9223372036854775807\n", `>>`, got) 3184 failed = true 3185 } 3186 3187 if got := rsh_uint64_18446744073709551615_ssa(1); got != 0 { 3188 fmt.Printf("rsh_uint64 1%s18446744073709551615 = %d, wanted 0\n", `>>`, got) 3189 failed = true 3190 } 3191 3192 if got := rsh_18446744073709551615_uint64_ssa(4294967296); got != 0 { 3193 fmt.Printf("rsh_uint64 18446744073709551615%s4294967296 = %d, wanted 0\n", `>>`, got) 3194 failed = true 3195 } 3196 3197 if got := rsh_uint64_18446744073709551615_ssa(4294967296); got != 0 { 3198 fmt.Printf("rsh_uint64 4294967296%s18446744073709551615 = %d, wanted 0\n", `>>`, got) 3199 failed = true 3200 } 3201 3202 if got := rsh_18446744073709551615_uint64_ssa(18446744073709551615); got != 0 { 3203 fmt.Printf("rsh_uint64 18446744073709551615%s18446744073709551615 = %d, wanted 0\n", `>>`, got) 3204 failed = true 3205 } 3206 3207 if got := rsh_uint64_18446744073709551615_ssa(18446744073709551615); got != 0 { 3208 fmt.Printf("rsh_uint64 18446744073709551615%s18446744073709551615 = %d, wanted 0\n", `>>`, got) 3209 failed = true 3210 } 3211 3212 if got := mod_0_uint64_ssa(1); got != 0 { 3213 fmt.Printf("mod_uint64 0%s1 = %d, wanted 0\n", `%`, got) 3214 failed = true 3215 } 3216 3217 if got := mod_0_uint64_ssa(4294967296); got != 0 { 3218 fmt.Printf("mod_uint64 0%s4294967296 = %d, wanted 0\n", `%`, got) 3219 failed = true 3220 } 3221 3222 if got := mod_0_uint64_ssa(18446744073709551615); got != 0 { 3223 fmt.Printf("mod_uint64 0%s18446744073709551615 = %d, wanted 0\n", `%`, got) 3224 failed = true 3225 } 3226 3227 if got := mod_uint64_1_ssa(0); got != 0 { 3228 fmt.Printf("mod_uint64 0%s1 = %d, wanted 0\n", `%`, got) 3229 failed = true 3230 } 3231 3232 if got := mod_1_uint64_ssa(1); got != 0 { 3233 fmt.Printf("mod_uint64 1%s1 = %d, wanted 0\n", `%`, got) 3234 failed = true 3235 } 3236 3237 if got := mod_uint64_1_ssa(1); got != 0 { 3238 fmt.Printf("mod_uint64 1%s1 = %d, wanted 0\n", `%`, got) 3239 failed = true 3240 } 3241 3242 if got := mod_1_uint64_ssa(4294967296); got != 1 { 3243 fmt.Printf("mod_uint64 1%s4294967296 = %d, wanted 1\n", `%`, got) 3244 failed = true 3245 } 3246 3247 if got := mod_uint64_1_ssa(4294967296); got != 0 { 3248 fmt.Printf("mod_uint64 4294967296%s1 = %d, wanted 0\n", `%`, got) 3249 failed = true 3250 } 3251 3252 if got := mod_1_uint64_ssa(18446744073709551615); got != 1 { 3253 fmt.Printf("mod_uint64 1%s18446744073709551615 = %d, wanted 1\n", `%`, got) 3254 failed = true 3255 } 3256 3257 if got := mod_uint64_1_ssa(18446744073709551615); got != 0 { 3258 fmt.Printf("mod_uint64 18446744073709551615%s1 = %d, wanted 0\n", `%`, got) 3259 failed = true 3260 } 3261 3262 if got := mod_uint64_4294967296_ssa(0); got != 0 { 3263 fmt.Printf("mod_uint64 0%s4294967296 = %d, wanted 0\n", `%`, got) 3264 failed = true 3265 } 3266 3267 if got := mod_4294967296_uint64_ssa(1); got != 0 { 3268 fmt.Printf("mod_uint64 4294967296%s1 = %d, wanted 0\n", `%`, got) 3269 failed = true 3270 } 3271 3272 if got := mod_uint64_4294967296_ssa(1); got != 1 { 3273 fmt.Printf("mod_uint64 1%s4294967296 = %d, wanted 1\n", `%`, got) 3274 failed = true 3275 } 3276 3277 if got := mod_4294967296_uint64_ssa(4294967296); got != 0 { 3278 fmt.Printf("mod_uint64 4294967296%s4294967296 = %d, wanted 0\n", `%`, got) 3279 failed = true 3280 } 3281 3282 if got := mod_uint64_4294967296_ssa(4294967296); got != 0 { 3283 fmt.Printf("mod_uint64 4294967296%s4294967296 = %d, wanted 0\n", `%`, got) 3284 failed = true 3285 } 3286 3287 if got := mod_4294967296_uint64_ssa(18446744073709551615); got != 4294967296 { 3288 fmt.Printf("mod_uint64 4294967296%s18446744073709551615 = %d, wanted 4294967296\n", `%`, got) 3289 failed = true 3290 } 3291 3292 if got := mod_uint64_4294967296_ssa(18446744073709551615); got != 4294967295 { 3293 fmt.Printf("mod_uint64 18446744073709551615%s4294967296 = %d, wanted 4294967295\n", `%`, got) 3294 failed = true 3295 } 3296 3297 if got := mod_uint64_18446744073709551615_ssa(0); got != 0 { 3298 fmt.Printf("mod_uint64 0%s18446744073709551615 = %d, wanted 0\n", `%`, got) 3299 failed = true 3300 } 3301 3302 if got := mod_18446744073709551615_uint64_ssa(1); got != 0 { 3303 fmt.Printf("mod_uint64 18446744073709551615%s1 = %d, wanted 0\n", `%`, got) 3304 failed = true 3305 } 3306 3307 if got := mod_uint64_18446744073709551615_ssa(1); got != 1 { 3308 fmt.Printf("mod_uint64 1%s18446744073709551615 = %d, wanted 1\n", `%`, got) 3309 failed = true 3310 } 3311 3312 if got := mod_18446744073709551615_uint64_ssa(4294967296); got != 4294967295 { 3313 fmt.Printf("mod_uint64 18446744073709551615%s4294967296 = %d, wanted 4294967295\n", `%`, got) 3314 failed = true 3315 } 3316 3317 if got := mod_uint64_18446744073709551615_ssa(4294967296); got != 4294967296 { 3318 fmt.Printf("mod_uint64 4294967296%s18446744073709551615 = %d, wanted 4294967296\n", `%`, got) 3319 failed = true 3320 } 3321 3322 if got := mod_18446744073709551615_uint64_ssa(18446744073709551615); got != 0 { 3323 fmt.Printf("mod_uint64 18446744073709551615%s18446744073709551615 = %d, wanted 0\n", `%`, got) 3324 failed = true 3325 } 3326 3327 if got := mod_uint64_18446744073709551615_ssa(18446744073709551615); got != 0 { 3328 fmt.Printf("mod_uint64 18446744073709551615%s18446744073709551615 = %d, wanted 0\n", `%`, got) 3329 failed = true 3330 } 3331 3332 if got := add_Neg9223372036854775808_int64_ssa(-9223372036854775808); got != 0 { 3333 fmt.Printf("add_int64 -9223372036854775808%s-9223372036854775808 = %d, wanted 0\n", `+`, got) 3334 failed = true 3335 } 3336 3337 if got := add_int64_Neg9223372036854775808_ssa(-9223372036854775808); got != 0 { 3338 fmt.Printf("add_int64 -9223372036854775808%s-9223372036854775808 = %d, wanted 0\n", `+`, got) 3339 failed = true 3340 } 3341 3342 if got := add_Neg9223372036854775808_int64_ssa(-9223372036854775807); got != 1 { 3343 fmt.Printf("add_int64 -9223372036854775808%s-9223372036854775807 = %d, wanted 1\n", `+`, got) 3344 failed = true 3345 } 3346 3347 if got := add_int64_Neg9223372036854775808_ssa(-9223372036854775807); got != 1 { 3348 fmt.Printf("add_int64 -9223372036854775807%s-9223372036854775808 = %d, wanted 1\n", `+`, got) 3349 failed = true 3350 } 3351 3352 if got := add_Neg9223372036854775808_int64_ssa(-4294967296); got != 9223372032559808512 { 3353 fmt.Printf("add_int64 -9223372036854775808%s-4294967296 = %d, wanted 9223372032559808512\n", `+`, got) 3354 failed = true 3355 } 3356 3357 if got := add_int64_Neg9223372036854775808_ssa(-4294967296); got != 9223372032559808512 { 3358 fmt.Printf("add_int64 -4294967296%s-9223372036854775808 = %d, wanted 9223372032559808512\n", `+`, got) 3359 failed = true 3360 } 3361 3362 if got := add_Neg9223372036854775808_int64_ssa(-1); got != 9223372036854775807 { 3363 fmt.Printf("add_int64 -9223372036854775808%s-1 = %d, wanted 9223372036854775807\n", `+`, got) 3364 failed = true 3365 } 3366 3367 if got := add_int64_Neg9223372036854775808_ssa(-1); got != 9223372036854775807 { 3368 fmt.Printf("add_int64 -1%s-9223372036854775808 = %d, wanted 9223372036854775807\n", `+`, got) 3369 failed = true 3370 } 3371 3372 if got := add_Neg9223372036854775808_int64_ssa(0); got != -9223372036854775808 { 3373 fmt.Printf("add_int64 -9223372036854775808%s0 = %d, wanted -9223372036854775808\n", `+`, got) 3374 failed = true 3375 } 3376 3377 if got := add_int64_Neg9223372036854775808_ssa(0); got != -9223372036854775808 { 3378 fmt.Printf("add_int64 0%s-9223372036854775808 = %d, wanted -9223372036854775808\n", `+`, got) 3379 failed = true 3380 } 3381 3382 if got := add_Neg9223372036854775808_int64_ssa(1); got != -9223372036854775807 { 3383 fmt.Printf("add_int64 -9223372036854775808%s1 = %d, wanted -9223372036854775807\n", `+`, got) 3384 failed = true 3385 } 3386 3387 if got := add_int64_Neg9223372036854775808_ssa(1); got != -9223372036854775807 { 3388 fmt.Printf("add_int64 1%s-9223372036854775808 = %d, wanted -9223372036854775807\n", `+`, got) 3389 failed = true 3390 } 3391 3392 if got := add_Neg9223372036854775808_int64_ssa(4294967296); got != -9223372032559808512 { 3393 fmt.Printf("add_int64 -9223372036854775808%s4294967296 = %d, wanted -9223372032559808512\n", `+`, got) 3394 failed = true 3395 } 3396 3397 if got := add_int64_Neg9223372036854775808_ssa(4294967296); got != -9223372032559808512 { 3398 fmt.Printf("add_int64 4294967296%s-9223372036854775808 = %d, wanted -9223372032559808512\n", `+`, got) 3399 failed = true 3400 } 3401 3402 if got := add_Neg9223372036854775808_int64_ssa(9223372036854775806); got != -2 { 3403 fmt.Printf("add_int64 -9223372036854775808%s9223372036854775806 = %d, wanted -2\n", `+`, got) 3404 failed = true 3405 } 3406 3407 if got := add_int64_Neg9223372036854775808_ssa(9223372036854775806); got != -2 { 3408 fmt.Printf("add_int64 9223372036854775806%s-9223372036854775808 = %d, wanted -2\n", `+`, got) 3409 failed = true 3410 } 3411 3412 if got := add_Neg9223372036854775808_int64_ssa(9223372036854775807); got != -1 { 3413 fmt.Printf("add_int64 -9223372036854775808%s9223372036854775807 = %d, wanted -1\n", `+`, got) 3414 failed = true 3415 } 3416 3417 if got := add_int64_Neg9223372036854775808_ssa(9223372036854775807); got != -1 { 3418 fmt.Printf("add_int64 9223372036854775807%s-9223372036854775808 = %d, wanted -1\n", `+`, got) 3419 failed = true 3420 } 3421 3422 if got := add_Neg9223372036854775807_int64_ssa(-9223372036854775808); got != 1 { 3423 fmt.Printf("add_int64 -9223372036854775807%s-9223372036854775808 = %d, wanted 1\n", `+`, got) 3424 failed = true 3425 } 3426 3427 if got := add_int64_Neg9223372036854775807_ssa(-9223372036854775808); got != 1 { 3428 fmt.Printf("add_int64 -9223372036854775808%s-9223372036854775807 = %d, wanted 1\n", `+`, got) 3429 failed = true 3430 } 3431 3432 if got := add_Neg9223372036854775807_int64_ssa(-9223372036854775807); got != 2 { 3433 fmt.Printf("add_int64 -9223372036854775807%s-9223372036854775807 = %d, wanted 2\n", `+`, got) 3434 failed = true 3435 } 3436 3437 if got := add_int64_Neg9223372036854775807_ssa(-9223372036854775807); got != 2 { 3438 fmt.Printf("add_int64 -9223372036854775807%s-9223372036854775807 = %d, wanted 2\n", `+`, got) 3439 failed = true 3440 } 3441 3442 if got := add_Neg9223372036854775807_int64_ssa(-4294967296); got != 9223372032559808513 { 3443 fmt.Printf("add_int64 -9223372036854775807%s-4294967296 = %d, wanted 9223372032559808513\n", `+`, got) 3444 failed = true 3445 } 3446 3447 if got := add_int64_Neg9223372036854775807_ssa(-4294967296); got != 9223372032559808513 { 3448 fmt.Printf("add_int64 -4294967296%s-9223372036854775807 = %d, wanted 9223372032559808513\n", `+`, got) 3449 failed = true 3450 } 3451 3452 if got := add_Neg9223372036854775807_int64_ssa(-1); got != -9223372036854775808 { 3453 fmt.Printf("add_int64 -9223372036854775807%s-1 = %d, wanted -9223372036854775808\n", `+`, got) 3454 failed = true 3455 } 3456 3457 if got := add_int64_Neg9223372036854775807_ssa(-1); got != -9223372036854775808 { 3458 fmt.Printf("add_int64 -1%s-9223372036854775807 = %d, wanted -9223372036854775808\n", `+`, got) 3459 failed = true 3460 } 3461 3462 if got := add_Neg9223372036854775807_int64_ssa(0); got != -9223372036854775807 { 3463 fmt.Printf("add_int64 -9223372036854775807%s0 = %d, wanted -9223372036854775807\n", `+`, got) 3464 failed = true 3465 } 3466 3467 if got := add_int64_Neg9223372036854775807_ssa(0); got != -9223372036854775807 { 3468 fmt.Printf("add_int64 0%s-9223372036854775807 = %d, wanted -9223372036854775807\n", `+`, got) 3469 failed = true 3470 } 3471 3472 if got := add_Neg9223372036854775807_int64_ssa(1); got != -9223372036854775806 { 3473 fmt.Printf("add_int64 -9223372036854775807%s1 = %d, wanted -9223372036854775806\n", `+`, got) 3474 failed = true 3475 } 3476 3477 if got := add_int64_Neg9223372036854775807_ssa(1); got != -9223372036854775806 { 3478 fmt.Printf("add_int64 1%s-9223372036854775807 = %d, wanted -9223372036854775806\n", `+`, got) 3479 failed = true 3480 } 3481 3482 if got := add_Neg9223372036854775807_int64_ssa(4294967296); got != -9223372032559808511 { 3483 fmt.Printf("add_int64 -9223372036854775807%s4294967296 = %d, wanted -9223372032559808511\n", `+`, got) 3484 failed = true 3485 } 3486 3487 if got := add_int64_Neg9223372036854775807_ssa(4294967296); got != -9223372032559808511 { 3488 fmt.Printf("add_int64 4294967296%s-9223372036854775807 = %d, wanted -9223372032559808511\n", `+`, got) 3489 failed = true 3490 } 3491 3492 if got := add_Neg9223372036854775807_int64_ssa(9223372036854775806); got != -1 { 3493 fmt.Printf("add_int64 -9223372036854775807%s9223372036854775806 = %d, wanted -1\n", `+`, got) 3494 failed = true 3495 } 3496 3497 if got := add_int64_Neg9223372036854775807_ssa(9223372036854775806); got != -1 { 3498 fmt.Printf("add_int64 9223372036854775806%s-9223372036854775807 = %d, wanted -1\n", `+`, got) 3499 failed = true 3500 } 3501 3502 if got := add_Neg9223372036854775807_int64_ssa(9223372036854775807); got != 0 { 3503 fmt.Printf("add_int64 -9223372036854775807%s9223372036854775807 = %d, wanted 0\n", `+`, got) 3504 failed = true 3505 } 3506 3507 if got := add_int64_Neg9223372036854775807_ssa(9223372036854775807); got != 0 { 3508 fmt.Printf("add_int64 9223372036854775807%s-9223372036854775807 = %d, wanted 0\n", `+`, got) 3509 failed = true 3510 } 3511 3512 if got := add_Neg4294967296_int64_ssa(-9223372036854775808); got != 9223372032559808512 { 3513 fmt.Printf("add_int64 -4294967296%s-9223372036854775808 = %d, wanted 9223372032559808512\n", `+`, got) 3514 failed = true 3515 } 3516 3517 if got := add_int64_Neg4294967296_ssa(-9223372036854775808); got != 9223372032559808512 { 3518 fmt.Printf("add_int64 -9223372036854775808%s-4294967296 = %d, wanted 9223372032559808512\n", `+`, got) 3519 failed = true 3520 } 3521 3522 if got := add_Neg4294967296_int64_ssa(-9223372036854775807); got != 9223372032559808513 { 3523 fmt.Printf("add_int64 -4294967296%s-9223372036854775807 = %d, wanted 9223372032559808513\n", `+`, got) 3524 failed = true 3525 } 3526 3527 if got := add_int64_Neg4294967296_ssa(-9223372036854775807); got != 9223372032559808513 { 3528 fmt.Printf("add_int64 -9223372036854775807%s-4294967296 = %d, wanted 9223372032559808513\n", `+`, got) 3529 failed = true 3530 } 3531 3532 if got := add_Neg4294967296_int64_ssa(-4294967296); got != -8589934592 { 3533 fmt.Printf("add_int64 -4294967296%s-4294967296 = %d, wanted -8589934592\n", `+`, got) 3534 failed = true 3535 } 3536 3537 if got := add_int64_Neg4294967296_ssa(-4294967296); got != -8589934592 { 3538 fmt.Printf("add_int64 -4294967296%s-4294967296 = %d, wanted -8589934592\n", `+`, got) 3539 failed = true 3540 } 3541 3542 if got := add_Neg4294967296_int64_ssa(-1); got != -4294967297 { 3543 fmt.Printf("add_int64 -4294967296%s-1 = %d, wanted -4294967297\n", `+`, got) 3544 failed = true 3545 } 3546 3547 if got := add_int64_Neg4294967296_ssa(-1); got != -4294967297 { 3548 fmt.Printf("add_int64 -1%s-4294967296 = %d, wanted -4294967297\n", `+`, got) 3549 failed = true 3550 } 3551 3552 if got := add_Neg4294967296_int64_ssa(0); got != -4294967296 { 3553 fmt.Printf("add_int64 -4294967296%s0 = %d, wanted -4294967296\n", `+`, got) 3554 failed = true 3555 } 3556 3557 if got := add_int64_Neg4294967296_ssa(0); got != -4294967296 { 3558 fmt.Printf("add_int64 0%s-4294967296 = %d, wanted -4294967296\n", `+`, got) 3559 failed = true 3560 } 3561 3562 if got := add_Neg4294967296_int64_ssa(1); got != -4294967295 { 3563 fmt.Printf("add_int64 -4294967296%s1 = %d, wanted -4294967295\n", `+`, got) 3564 failed = true 3565 } 3566 3567 if got := add_int64_Neg4294967296_ssa(1); got != -4294967295 { 3568 fmt.Printf("add_int64 1%s-4294967296 = %d, wanted -4294967295\n", `+`, got) 3569 failed = true 3570 } 3571 3572 if got := add_Neg4294967296_int64_ssa(4294967296); got != 0 { 3573 fmt.Printf("add_int64 -4294967296%s4294967296 = %d, wanted 0\n", `+`, got) 3574 failed = true 3575 } 3576 3577 if got := add_int64_Neg4294967296_ssa(4294967296); got != 0 { 3578 fmt.Printf("add_int64 4294967296%s-4294967296 = %d, wanted 0\n", `+`, got) 3579 failed = true 3580 } 3581 3582 if got := add_Neg4294967296_int64_ssa(9223372036854775806); got != 9223372032559808510 { 3583 fmt.Printf("add_int64 -4294967296%s9223372036854775806 = %d, wanted 9223372032559808510\n", `+`, got) 3584 failed = true 3585 } 3586 3587 if got := add_int64_Neg4294967296_ssa(9223372036854775806); got != 9223372032559808510 { 3588 fmt.Printf("add_int64 9223372036854775806%s-4294967296 = %d, wanted 9223372032559808510\n", `+`, got) 3589 failed = true 3590 } 3591 3592 if got := add_Neg4294967296_int64_ssa(9223372036854775807); got != 9223372032559808511 { 3593 fmt.Printf("add_int64 -4294967296%s9223372036854775807 = %d, wanted 9223372032559808511\n", `+`, got) 3594 failed = true 3595 } 3596 3597 if got := add_int64_Neg4294967296_ssa(9223372036854775807); got != 9223372032559808511 { 3598 fmt.Printf("add_int64 9223372036854775807%s-4294967296 = %d, wanted 9223372032559808511\n", `+`, got) 3599 failed = true 3600 } 3601 3602 if got := add_Neg1_int64_ssa(-9223372036854775808); got != 9223372036854775807 { 3603 fmt.Printf("add_int64 -1%s-9223372036854775808 = %d, wanted 9223372036854775807\n", `+`, got) 3604 failed = true 3605 } 3606 3607 if got := add_int64_Neg1_ssa(-9223372036854775808); got != 9223372036854775807 { 3608 fmt.Printf("add_int64 -9223372036854775808%s-1 = %d, wanted 9223372036854775807\n", `+`, got) 3609 failed = true 3610 } 3611 3612 if got := add_Neg1_int64_ssa(-9223372036854775807); got != -9223372036854775808 { 3613 fmt.Printf("add_int64 -1%s-9223372036854775807 = %d, wanted -9223372036854775808\n", `+`, got) 3614 failed = true 3615 } 3616 3617 if got := add_int64_Neg1_ssa(-9223372036854775807); got != -9223372036854775808 { 3618 fmt.Printf("add_int64 -9223372036854775807%s-1 = %d, wanted -9223372036854775808\n", `+`, got) 3619 failed = true 3620 } 3621 3622 if got := add_Neg1_int64_ssa(-4294967296); got != -4294967297 { 3623 fmt.Printf("add_int64 -1%s-4294967296 = %d, wanted -4294967297\n", `+`, got) 3624 failed = true 3625 } 3626 3627 if got := add_int64_Neg1_ssa(-4294967296); got != -4294967297 { 3628 fmt.Printf("add_int64 -4294967296%s-1 = %d, wanted -4294967297\n", `+`, got) 3629 failed = true 3630 } 3631 3632 if got := add_Neg1_int64_ssa(-1); got != -2 { 3633 fmt.Printf("add_int64 -1%s-1 = %d, wanted -2\n", `+`, got) 3634 failed = true 3635 } 3636 3637 if got := add_int64_Neg1_ssa(-1); got != -2 { 3638 fmt.Printf("add_int64 -1%s-1 = %d, wanted -2\n", `+`, got) 3639 failed = true 3640 } 3641 3642 if got := add_Neg1_int64_ssa(0); got != -1 { 3643 fmt.Printf("add_int64 -1%s0 = %d, wanted -1\n", `+`, got) 3644 failed = true 3645 } 3646 3647 if got := add_int64_Neg1_ssa(0); got != -1 { 3648 fmt.Printf("add_int64 0%s-1 = %d, wanted -1\n", `+`, got) 3649 failed = true 3650 } 3651 3652 if got := add_Neg1_int64_ssa(1); got != 0 { 3653 fmt.Printf("add_int64 -1%s1 = %d, wanted 0\n", `+`, got) 3654 failed = true 3655 } 3656 3657 if got := add_int64_Neg1_ssa(1); got != 0 { 3658 fmt.Printf("add_int64 1%s-1 = %d, wanted 0\n", `+`, got) 3659 failed = true 3660 } 3661 3662 if got := add_Neg1_int64_ssa(4294967296); got != 4294967295 { 3663 fmt.Printf("add_int64 -1%s4294967296 = %d, wanted 4294967295\n", `+`, got) 3664 failed = true 3665 } 3666 3667 if got := add_int64_Neg1_ssa(4294967296); got != 4294967295 { 3668 fmt.Printf("add_int64 4294967296%s-1 = %d, wanted 4294967295\n", `+`, got) 3669 failed = true 3670 } 3671 3672 if got := add_Neg1_int64_ssa(9223372036854775806); got != 9223372036854775805 { 3673 fmt.Printf("add_int64 -1%s9223372036854775806 = %d, wanted 9223372036854775805\n", `+`, got) 3674 failed = true 3675 } 3676 3677 if got := add_int64_Neg1_ssa(9223372036854775806); got != 9223372036854775805 { 3678 fmt.Printf("add_int64 9223372036854775806%s-1 = %d, wanted 9223372036854775805\n", `+`, got) 3679 failed = true 3680 } 3681 3682 if got := add_Neg1_int64_ssa(9223372036854775807); got != 9223372036854775806 { 3683 fmt.Printf("add_int64 -1%s9223372036854775807 = %d, wanted 9223372036854775806\n", `+`, got) 3684 failed = true 3685 } 3686 3687 if got := add_int64_Neg1_ssa(9223372036854775807); got != 9223372036854775806 { 3688 fmt.Printf("add_int64 9223372036854775807%s-1 = %d, wanted 9223372036854775806\n", `+`, got) 3689 failed = true 3690 } 3691 3692 if got := add_0_int64_ssa(-9223372036854775808); got != -9223372036854775808 { 3693 fmt.Printf("add_int64 0%s-9223372036854775808 = %d, wanted -9223372036854775808\n", `+`, got) 3694 failed = true 3695 } 3696 3697 if got := add_int64_0_ssa(-9223372036854775808); got != -9223372036854775808 { 3698 fmt.Printf("add_int64 -9223372036854775808%s0 = %d, wanted -9223372036854775808\n", `+`, got) 3699 failed = true 3700 } 3701 3702 if got := add_0_int64_ssa(-9223372036854775807); got != -9223372036854775807 { 3703 fmt.Printf("add_int64 0%s-9223372036854775807 = %d, wanted -9223372036854775807\n", `+`, got) 3704 failed = true 3705 } 3706 3707 if got := add_int64_0_ssa(-9223372036854775807); got != -9223372036854775807 { 3708 fmt.Printf("add_int64 -9223372036854775807%s0 = %d, wanted -9223372036854775807\n", `+`, got) 3709 failed = true 3710 } 3711 3712 if got := add_0_int64_ssa(-4294967296); got != -4294967296 { 3713 fmt.Printf("add_int64 0%s-4294967296 = %d, wanted -4294967296\n", `+`, got) 3714 failed = true 3715 } 3716 3717 if got := add_int64_0_ssa(-4294967296); got != -4294967296 { 3718 fmt.Printf("add_int64 -4294967296%s0 = %d, wanted -4294967296\n", `+`, got) 3719 failed = true 3720 } 3721 3722 if got := add_0_int64_ssa(-1); got != -1 { 3723 fmt.Printf("add_int64 0%s-1 = %d, wanted -1\n", `+`, got) 3724 failed = true 3725 } 3726 3727 if got := add_int64_0_ssa(-1); got != -1 { 3728 fmt.Printf("add_int64 -1%s0 = %d, wanted -1\n", `+`, got) 3729 failed = true 3730 } 3731 3732 if got := add_0_int64_ssa(0); got != 0 { 3733 fmt.Printf("add_int64 0%s0 = %d, wanted 0\n", `+`, got) 3734 failed = true 3735 } 3736 3737 if got := add_int64_0_ssa(0); got != 0 { 3738 fmt.Printf("add_int64 0%s0 = %d, wanted 0\n", `+`, got) 3739 failed = true 3740 } 3741 3742 if got := add_0_int64_ssa(1); got != 1 { 3743 fmt.Printf("add_int64 0%s1 = %d, wanted 1\n", `+`, got) 3744 failed = true 3745 } 3746 3747 if got := add_int64_0_ssa(1); got != 1 { 3748 fmt.Printf("add_int64 1%s0 = %d, wanted 1\n", `+`, got) 3749 failed = true 3750 } 3751 3752 if got := add_0_int64_ssa(4294967296); got != 4294967296 { 3753 fmt.Printf("add_int64 0%s4294967296 = %d, wanted 4294967296\n", `+`, got) 3754 failed = true 3755 } 3756 3757 if got := add_int64_0_ssa(4294967296); got != 4294967296 { 3758 fmt.Printf("add_int64 4294967296%s0 = %d, wanted 4294967296\n", `+`, got) 3759 failed = true 3760 } 3761 3762 if got := add_0_int64_ssa(9223372036854775806); got != 9223372036854775806 { 3763 fmt.Printf("add_int64 0%s9223372036854775806 = %d, wanted 9223372036854775806\n", `+`, got) 3764 failed = true 3765 } 3766 3767 if got := add_int64_0_ssa(9223372036854775806); got != 9223372036854775806 { 3768 fmt.Printf("add_int64 9223372036854775806%s0 = %d, wanted 9223372036854775806\n", `+`, got) 3769 failed = true 3770 } 3771 3772 if got := add_0_int64_ssa(9223372036854775807); got != 9223372036854775807 { 3773 fmt.Printf("add_int64 0%s9223372036854775807 = %d, wanted 9223372036854775807\n", `+`, got) 3774 failed = true 3775 } 3776 3777 if got := add_int64_0_ssa(9223372036854775807); got != 9223372036854775807 { 3778 fmt.Printf("add_int64 9223372036854775807%s0 = %d, wanted 9223372036854775807\n", `+`, got) 3779 failed = true 3780 } 3781 3782 if got := add_1_int64_ssa(-9223372036854775808); got != -9223372036854775807 { 3783 fmt.Printf("add_int64 1%s-9223372036854775808 = %d, wanted -9223372036854775807\n", `+`, got) 3784 failed = true 3785 } 3786 3787 if got := add_int64_1_ssa(-9223372036854775808); got != -9223372036854775807 { 3788 fmt.Printf("add_int64 -9223372036854775808%s1 = %d, wanted -9223372036854775807\n", `+`, got) 3789 failed = true 3790 } 3791 3792 if got := add_1_int64_ssa(-9223372036854775807); got != -9223372036854775806 { 3793 fmt.Printf("add_int64 1%s-9223372036854775807 = %d, wanted -9223372036854775806\n", `+`, got) 3794 failed = true 3795 } 3796 3797 if got := add_int64_1_ssa(-9223372036854775807); got != -9223372036854775806 { 3798 fmt.Printf("add_int64 -9223372036854775807%s1 = %d, wanted -9223372036854775806\n", `+`, got) 3799 failed = true 3800 } 3801 3802 if got := add_1_int64_ssa(-4294967296); got != -4294967295 { 3803 fmt.Printf("add_int64 1%s-4294967296 = %d, wanted -4294967295\n", `+`, got) 3804 failed = true 3805 } 3806 3807 if got := add_int64_1_ssa(-4294967296); got != -4294967295 { 3808 fmt.Printf("add_int64 -4294967296%s1 = %d, wanted -4294967295\n", `+`, got) 3809 failed = true 3810 } 3811 3812 if got := add_1_int64_ssa(-1); got != 0 { 3813 fmt.Printf("add_int64 1%s-1 = %d, wanted 0\n", `+`, got) 3814 failed = true 3815 } 3816 3817 if got := add_int64_1_ssa(-1); got != 0 { 3818 fmt.Printf("add_int64 -1%s1 = %d, wanted 0\n", `+`, got) 3819 failed = true 3820 } 3821 3822 if got := add_1_int64_ssa(0); got != 1 { 3823 fmt.Printf("add_int64 1%s0 = %d, wanted 1\n", `+`, got) 3824 failed = true 3825 } 3826 3827 if got := add_int64_1_ssa(0); got != 1 { 3828 fmt.Printf("add_int64 0%s1 = %d, wanted 1\n", `+`, got) 3829 failed = true 3830 } 3831 3832 if got := add_1_int64_ssa(1); got != 2 { 3833 fmt.Printf("add_int64 1%s1 = %d, wanted 2\n", `+`, got) 3834 failed = true 3835 } 3836 3837 if got := add_int64_1_ssa(1); got != 2 { 3838 fmt.Printf("add_int64 1%s1 = %d, wanted 2\n", `+`, got) 3839 failed = true 3840 } 3841 3842 if got := add_1_int64_ssa(4294967296); got != 4294967297 { 3843 fmt.Printf("add_int64 1%s4294967296 = %d, wanted 4294967297\n", `+`, got) 3844 failed = true 3845 } 3846 3847 if got := add_int64_1_ssa(4294967296); got != 4294967297 { 3848 fmt.Printf("add_int64 4294967296%s1 = %d, wanted 4294967297\n", `+`, got) 3849 failed = true 3850 } 3851 3852 if got := add_1_int64_ssa(9223372036854775806); got != 9223372036854775807 { 3853 fmt.Printf("add_int64 1%s9223372036854775806 = %d, wanted 9223372036854775807\n", `+`, got) 3854 failed = true 3855 } 3856 3857 if got := add_int64_1_ssa(9223372036854775806); got != 9223372036854775807 { 3858 fmt.Printf("add_int64 9223372036854775806%s1 = %d, wanted 9223372036854775807\n", `+`, got) 3859 failed = true 3860 } 3861 3862 if got := add_1_int64_ssa(9223372036854775807); got != -9223372036854775808 { 3863 fmt.Printf("add_int64 1%s9223372036854775807 = %d, wanted -9223372036854775808\n", `+`, got) 3864 failed = true 3865 } 3866 3867 if got := add_int64_1_ssa(9223372036854775807); got != -9223372036854775808 { 3868 fmt.Printf("add_int64 9223372036854775807%s1 = %d, wanted -9223372036854775808\n", `+`, got) 3869 failed = true 3870 } 3871 3872 if got := add_4294967296_int64_ssa(-9223372036854775808); got != -9223372032559808512 { 3873 fmt.Printf("add_int64 4294967296%s-9223372036854775808 = %d, wanted -9223372032559808512\n", `+`, got) 3874 failed = true 3875 } 3876 3877 if got := add_int64_4294967296_ssa(-9223372036854775808); got != -9223372032559808512 { 3878 fmt.Printf("add_int64 -9223372036854775808%s4294967296 = %d, wanted -9223372032559808512\n", `+`, got) 3879 failed = true 3880 } 3881 3882 if got := add_4294967296_int64_ssa(-9223372036854775807); got != -9223372032559808511 { 3883 fmt.Printf("add_int64 4294967296%s-9223372036854775807 = %d, wanted -9223372032559808511\n", `+`, got) 3884 failed = true 3885 } 3886 3887 if got := add_int64_4294967296_ssa(-9223372036854775807); got != -9223372032559808511 { 3888 fmt.Printf("add_int64 -9223372036854775807%s4294967296 = %d, wanted -9223372032559808511\n", `+`, got) 3889 failed = true 3890 } 3891 3892 if got := add_4294967296_int64_ssa(-4294967296); got != 0 { 3893 fmt.Printf("add_int64 4294967296%s-4294967296 = %d, wanted 0\n", `+`, got) 3894 failed = true 3895 } 3896 3897 if got := add_int64_4294967296_ssa(-4294967296); got != 0 { 3898 fmt.Printf("add_int64 -4294967296%s4294967296 = %d, wanted 0\n", `+`, got) 3899 failed = true 3900 } 3901 3902 if got := add_4294967296_int64_ssa(-1); got != 4294967295 { 3903 fmt.Printf("add_int64 4294967296%s-1 = %d, wanted 4294967295\n", `+`, got) 3904 failed = true 3905 } 3906 3907 if got := add_int64_4294967296_ssa(-1); got != 4294967295 { 3908 fmt.Printf("add_int64 -1%s4294967296 = %d, wanted 4294967295\n", `+`, got) 3909 failed = true 3910 } 3911 3912 if got := add_4294967296_int64_ssa(0); got != 4294967296 { 3913 fmt.Printf("add_int64 4294967296%s0 = %d, wanted 4294967296\n", `+`, got) 3914 failed = true 3915 } 3916 3917 if got := add_int64_4294967296_ssa(0); got != 4294967296 { 3918 fmt.Printf("add_int64 0%s4294967296 = %d, wanted 4294967296\n", `+`, got) 3919 failed = true 3920 } 3921 3922 if got := add_4294967296_int64_ssa(1); got != 4294967297 { 3923 fmt.Printf("add_int64 4294967296%s1 = %d, wanted 4294967297\n", `+`, got) 3924 failed = true 3925 } 3926 3927 if got := add_int64_4294967296_ssa(1); got != 4294967297 { 3928 fmt.Printf("add_int64 1%s4294967296 = %d, wanted 4294967297\n", `+`, got) 3929 failed = true 3930 } 3931 3932 if got := add_4294967296_int64_ssa(4294967296); got != 8589934592 { 3933 fmt.Printf("add_int64 4294967296%s4294967296 = %d, wanted 8589934592\n", `+`, got) 3934 failed = true 3935 } 3936 3937 if got := add_int64_4294967296_ssa(4294967296); got != 8589934592 { 3938 fmt.Printf("add_int64 4294967296%s4294967296 = %d, wanted 8589934592\n", `+`, got) 3939 failed = true 3940 } 3941 3942 if got := add_4294967296_int64_ssa(9223372036854775806); got != -9223372032559808514 { 3943 fmt.Printf("add_int64 4294967296%s9223372036854775806 = %d, wanted -9223372032559808514\n", `+`, got) 3944 failed = true 3945 } 3946 3947 if got := add_int64_4294967296_ssa(9223372036854775806); got != -9223372032559808514 { 3948 fmt.Printf("add_int64 9223372036854775806%s4294967296 = %d, wanted -9223372032559808514\n", `+`, got) 3949 failed = true 3950 } 3951 3952 if got := add_4294967296_int64_ssa(9223372036854775807); got != -9223372032559808513 { 3953 fmt.Printf("add_int64 4294967296%s9223372036854775807 = %d, wanted -9223372032559808513\n", `+`, got) 3954 failed = true 3955 } 3956 3957 if got := add_int64_4294967296_ssa(9223372036854775807); got != -9223372032559808513 { 3958 fmt.Printf("add_int64 9223372036854775807%s4294967296 = %d, wanted -9223372032559808513\n", `+`, got) 3959 failed = true 3960 } 3961 3962 if got := add_9223372036854775806_int64_ssa(-9223372036854775808); got != -2 { 3963 fmt.Printf("add_int64 9223372036854775806%s-9223372036854775808 = %d, wanted -2\n", `+`, got) 3964 failed = true 3965 } 3966 3967 if got := add_int64_9223372036854775806_ssa(-9223372036854775808); got != -2 { 3968 fmt.Printf("add_int64 -9223372036854775808%s9223372036854775806 = %d, wanted -2\n", `+`, got) 3969 failed = true 3970 } 3971 3972 if got := add_9223372036854775806_int64_ssa(-9223372036854775807); got != -1 { 3973 fmt.Printf("add_int64 9223372036854775806%s-9223372036854775807 = %d, wanted -1\n", `+`, got) 3974 failed = true 3975 } 3976 3977 if got := add_int64_9223372036854775806_ssa(-9223372036854775807); got != -1 { 3978 fmt.Printf("add_int64 -9223372036854775807%s9223372036854775806 = %d, wanted -1\n", `+`, got) 3979 failed = true 3980 } 3981 3982 if got := add_9223372036854775806_int64_ssa(-4294967296); got != 9223372032559808510 { 3983 fmt.Printf("add_int64 9223372036854775806%s-4294967296 = %d, wanted 9223372032559808510\n", `+`, got) 3984 failed = true 3985 } 3986 3987 if got := add_int64_9223372036854775806_ssa(-4294967296); got != 9223372032559808510 { 3988 fmt.Printf("add_int64 -4294967296%s9223372036854775806 = %d, wanted 9223372032559808510\n", `+`, got) 3989 failed = true 3990 } 3991 3992 if got := add_9223372036854775806_int64_ssa(-1); got != 9223372036854775805 { 3993 fmt.Printf("add_int64 9223372036854775806%s-1 = %d, wanted 9223372036854775805\n", `+`, got) 3994 failed = true 3995 } 3996 3997 if got := add_int64_9223372036854775806_ssa(-1); got != 9223372036854775805 { 3998 fmt.Printf("add_int64 -1%s9223372036854775806 = %d, wanted 9223372036854775805\n", `+`, got) 3999 failed = true 4000 } 4001 4002 if got := add_9223372036854775806_int64_ssa(0); got != 9223372036854775806 { 4003 fmt.Printf("add_int64 9223372036854775806%s0 = %d, wanted 9223372036854775806\n", `+`, got) 4004 failed = true 4005 } 4006 4007 if got := add_int64_9223372036854775806_ssa(0); got != 9223372036854775806 { 4008 fmt.Printf("add_int64 0%s9223372036854775806 = %d, wanted 9223372036854775806\n", `+`, got) 4009 failed = true 4010 } 4011 4012 if got := add_9223372036854775806_int64_ssa(1); got != 9223372036854775807 { 4013 fmt.Printf("add_int64 9223372036854775806%s1 = %d, wanted 9223372036854775807\n", `+`, got) 4014 failed = true 4015 } 4016 4017 if got := add_int64_9223372036854775806_ssa(1); got != 9223372036854775807 { 4018 fmt.Printf("add_int64 1%s9223372036854775806 = %d, wanted 9223372036854775807\n", `+`, got) 4019 failed = true 4020 } 4021 4022 if got := add_9223372036854775806_int64_ssa(4294967296); got != -9223372032559808514 { 4023 fmt.Printf("add_int64 9223372036854775806%s4294967296 = %d, wanted -9223372032559808514\n", `+`, got) 4024 failed = true 4025 } 4026 4027 if got := add_int64_9223372036854775806_ssa(4294967296); got != -9223372032559808514 { 4028 fmt.Printf("add_int64 4294967296%s9223372036854775806 = %d, wanted -9223372032559808514\n", `+`, got) 4029 failed = true 4030 } 4031 4032 if got := add_9223372036854775806_int64_ssa(9223372036854775806); got != -4 { 4033 fmt.Printf("add_int64 9223372036854775806%s9223372036854775806 = %d, wanted -4\n", `+`, got) 4034 failed = true 4035 } 4036 4037 if got := add_int64_9223372036854775806_ssa(9223372036854775806); got != -4 { 4038 fmt.Printf("add_int64 9223372036854775806%s9223372036854775806 = %d, wanted -4\n", `+`, got) 4039 failed = true 4040 } 4041 4042 if got := add_9223372036854775806_int64_ssa(9223372036854775807); got != -3 { 4043 fmt.Printf("add_int64 9223372036854775806%s9223372036854775807 = %d, wanted -3\n", `+`, got) 4044 failed = true 4045 } 4046 4047 if got := add_int64_9223372036854775806_ssa(9223372036854775807); got != -3 { 4048 fmt.Printf("add_int64 9223372036854775807%s9223372036854775806 = %d, wanted -3\n", `+`, got) 4049 failed = true 4050 } 4051 4052 if got := add_9223372036854775807_int64_ssa(-9223372036854775808); got != -1 { 4053 fmt.Printf("add_int64 9223372036854775807%s-9223372036854775808 = %d, wanted -1\n", `+`, got) 4054 failed = true 4055 } 4056 4057 if got := add_int64_9223372036854775807_ssa(-9223372036854775808); got != -1 { 4058 fmt.Printf("add_int64 -9223372036854775808%s9223372036854775807 = %d, wanted -1\n", `+`, got) 4059 failed = true 4060 } 4061 4062 if got := add_9223372036854775807_int64_ssa(-9223372036854775807); got != 0 { 4063 fmt.Printf("add_int64 9223372036854775807%s-9223372036854775807 = %d, wanted 0\n", `+`, got) 4064 failed = true 4065 } 4066 4067 if got := add_int64_9223372036854775807_ssa(-9223372036854775807); got != 0 { 4068 fmt.Printf("add_int64 -9223372036854775807%s9223372036854775807 = %d, wanted 0\n", `+`, got) 4069 failed = true 4070 } 4071 4072 if got := add_9223372036854775807_int64_ssa(-4294967296); got != 9223372032559808511 { 4073 fmt.Printf("add_int64 9223372036854775807%s-4294967296 = %d, wanted 9223372032559808511\n", `+`, got) 4074 failed = true 4075 } 4076 4077 if got := add_int64_9223372036854775807_ssa(-4294967296); got != 9223372032559808511 { 4078 fmt.Printf("add_int64 -4294967296%s9223372036854775807 = %d, wanted 9223372032559808511\n", `+`, got) 4079 failed = true 4080 } 4081 4082 if got := add_9223372036854775807_int64_ssa(-1); got != 9223372036854775806 { 4083 fmt.Printf("add_int64 9223372036854775807%s-1 = %d, wanted 9223372036854775806\n", `+`, got) 4084 failed = true 4085 } 4086 4087 if got := add_int64_9223372036854775807_ssa(-1); got != 9223372036854775806 { 4088 fmt.Printf("add_int64 -1%s9223372036854775807 = %d, wanted 9223372036854775806\n", `+`, got) 4089 failed = true 4090 } 4091 4092 if got := add_9223372036854775807_int64_ssa(0); got != 9223372036854775807 { 4093 fmt.Printf("add_int64 9223372036854775807%s0 = %d, wanted 9223372036854775807\n", `+`, got) 4094 failed = true 4095 } 4096 4097 if got := add_int64_9223372036854775807_ssa(0); got != 9223372036854775807 { 4098 fmt.Printf("add_int64 0%s9223372036854775807 = %d, wanted 9223372036854775807\n", `+`, got) 4099 failed = true 4100 } 4101 4102 if got := add_9223372036854775807_int64_ssa(1); got != -9223372036854775808 { 4103 fmt.Printf("add_int64 9223372036854775807%s1 = %d, wanted -9223372036854775808\n", `+`, got) 4104 failed = true 4105 } 4106 4107 if got := add_int64_9223372036854775807_ssa(1); got != -9223372036854775808 { 4108 fmt.Printf("add_int64 1%s9223372036854775807 = %d, wanted -9223372036854775808\n", `+`, got) 4109 failed = true 4110 } 4111 4112 if got := add_9223372036854775807_int64_ssa(4294967296); got != -9223372032559808513 { 4113 fmt.Printf("add_int64 9223372036854775807%s4294967296 = %d, wanted -9223372032559808513\n", `+`, got) 4114 failed = true 4115 } 4116 4117 if got := add_int64_9223372036854775807_ssa(4294967296); got != -9223372032559808513 { 4118 fmt.Printf("add_int64 4294967296%s9223372036854775807 = %d, wanted -9223372032559808513\n", `+`, got) 4119 failed = true 4120 } 4121 4122 if got := add_9223372036854775807_int64_ssa(9223372036854775806); got != -3 { 4123 fmt.Printf("add_int64 9223372036854775807%s9223372036854775806 = %d, wanted -3\n", `+`, got) 4124 failed = true 4125 } 4126 4127 if got := add_int64_9223372036854775807_ssa(9223372036854775806); got != -3 { 4128 fmt.Printf("add_int64 9223372036854775806%s9223372036854775807 = %d, wanted -3\n", `+`, got) 4129 failed = true 4130 } 4131 4132 if got := add_9223372036854775807_int64_ssa(9223372036854775807); got != -2 { 4133 fmt.Printf("add_int64 9223372036854775807%s9223372036854775807 = %d, wanted -2\n", `+`, got) 4134 failed = true 4135 } 4136 4137 if got := add_int64_9223372036854775807_ssa(9223372036854775807); got != -2 { 4138 fmt.Printf("add_int64 9223372036854775807%s9223372036854775807 = %d, wanted -2\n", `+`, got) 4139 failed = true 4140 } 4141 4142 if got := sub_Neg9223372036854775808_int64_ssa(-9223372036854775808); got != 0 { 4143 fmt.Printf("sub_int64 -9223372036854775808%s-9223372036854775808 = %d, wanted 0\n", `-`, got) 4144 failed = true 4145 } 4146 4147 if got := sub_int64_Neg9223372036854775808_ssa(-9223372036854775808); got != 0 { 4148 fmt.Printf("sub_int64 -9223372036854775808%s-9223372036854775808 = %d, wanted 0\n", `-`, got) 4149 failed = true 4150 } 4151 4152 if got := sub_Neg9223372036854775808_int64_ssa(-9223372036854775807); got != -1 { 4153 fmt.Printf("sub_int64 -9223372036854775808%s-9223372036854775807 = %d, wanted -1\n", `-`, got) 4154 failed = true 4155 } 4156 4157 if got := sub_int64_Neg9223372036854775808_ssa(-9223372036854775807); got != 1 { 4158 fmt.Printf("sub_int64 -9223372036854775807%s-9223372036854775808 = %d, wanted 1\n", `-`, got) 4159 failed = true 4160 } 4161 4162 if got := sub_Neg9223372036854775808_int64_ssa(-4294967296); got != -9223372032559808512 { 4163 fmt.Printf("sub_int64 -9223372036854775808%s-4294967296 = %d, wanted -9223372032559808512\n", `-`, got) 4164 failed = true 4165 } 4166 4167 if got := sub_int64_Neg9223372036854775808_ssa(-4294967296); got != 9223372032559808512 { 4168 fmt.Printf("sub_int64 -4294967296%s-9223372036854775808 = %d, wanted 9223372032559808512\n", `-`, got) 4169 failed = true 4170 } 4171 4172 if got := sub_Neg9223372036854775808_int64_ssa(-1); got != -9223372036854775807 { 4173 fmt.Printf("sub_int64 -9223372036854775808%s-1 = %d, wanted -9223372036854775807\n", `-`, got) 4174 failed = true 4175 } 4176 4177 if got := sub_int64_Neg9223372036854775808_ssa(-1); got != 9223372036854775807 { 4178 fmt.Printf("sub_int64 -1%s-9223372036854775808 = %d, wanted 9223372036854775807\n", `-`, got) 4179 failed = true 4180 } 4181 4182 if got := sub_Neg9223372036854775808_int64_ssa(0); got != -9223372036854775808 { 4183 fmt.Printf("sub_int64 -9223372036854775808%s0 = %d, wanted -9223372036854775808\n", `-`, got) 4184 failed = true 4185 } 4186 4187 if got := sub_int64_Neg9223372036854775808_ssa(0); got != -9223372036854775808 { 4188 fmt.Printf("sub_int64 0%s-9223372036854775808 = %d, wanted -9223372036854775808\n", `-`, got) 4189 failed = true 4190 } 4191 4192 if got := sub_Neg9223372036854775808_int64_ssa(1); got != 9223372036854775807 { 4193 fmt.Printf("sub_int64 -9223372036854775808%s1 = %d, wanted 9223372036854775807\n", `-`, got) 4194 failed = true 4195 } 4196 4197 if got := sub_int64_Neg9223372036854775808_ssa(1); got != -9223372036854775807 { 4198 fmt.Printf("sub_int64 1%s-9223372036854775808 = %d, wanted -9223372036854775807\n", `-`, got) 4199 failed = true 4200 } 4201 4202 if got := sub_Neg9223372036854775808_int64_ssa(4294967296); got != 9223372032559808512 { 4203 fmt.Printf("sub_int64 -9223372036854775808%s4294967296 = %d, wanted 9223372032559808512\n", `-`, got) 4204 failed = true 4205 } 4206 4207 if got := sub_int64_Neg9223372036854775808_ssa(4294967296); got != -9223372032559808512 { 4208 fmt.Printf("sub_int64 4294967296%s-9223372036854775808 = %d, wanted -9223372032559808512\n", `-`, got) 4209 failed = true 4210 } 4211 4212 if got := sub_Neg9223372036854775808_int64_ssa(9223372036854775806); got != 2 { 4213 fmt.Printf("sub_int64 -9223372036854775808%s9223372036854775806 = %d, wanted 2\n", `-`, got) 4214 failed = true 4215 } 4216 4217 if got := sub_int64_Neg9223372036854775808_ssa(9223372036854775806); got != -2 { 4218 fmt.Printf("sub_int64 9223372036854775806%s-9223372036854775808 = %d, wanted -2\n", `-`, got) 4219 failed = true 4220 } 4221 4222 if got := sub_Neg9223372036854775808_int64_ssa(9223372036854775807); got != 1 { 4223 fmt.Printf("sub_int64 -9223372036854775808%s9223372036854775807 = %d, wanted 1\n", `-`, got) 4224 failed = true 4225 } 4226 4227 if got := sub_int64_Neg9223372036854775808_ssa(9223372036854775807); got != -1 { 4228 fmt.Printf("sub_int64 9223372036854775807%s-9223372036854775808 = %d, wanted -1\n", `-`, got) 4229 failed = true 4230 } 4231 4232 if got := sub_Neg9223372036854775807_int64_ssa(-9223372036854775808); got != 1 { 4233 fmt.Printf("sub_int64 -9223372036854775807%s-9223372036854775808 = %d, wanted 1\n", `-`, got) 4234 failed = true 4235 } 4236 4237 if got := sub_int64_Neg9223372036854775807_ssa(-9223372036854775808); got != -1 { 4238 fmt.Printf("sub_int64 -9223372036854775808%s-9223372036854775807 = %d, wanted -1\n", `-`, got) 4239 failed = true 4240 } 4241 4242 if got := sub_Neg9223372036854775807_int64_ssa(-9223372036854775807); got != 0 { 4243 fmt.Printf("sub_int64 -9223372036854775807%s-9223372036854775807 = %d, wanted 0\n", `-`, got) 4244 failed = true 4245 } 4246 4247 if got := sub_int64_Neg9223372036854775807_ssa(-9223372036854775807); got != 0 { 4248 fmt.Printf("sub_int64 -9223372036854775807%s-9223372036854775807 = %d, wanted 0\n", `-`, got) 4249 failed = true 4250 } 4251 4252 if got := sub_Neg9223372036854775807_int64_ssa(-4294967296); got != -9223372032559808511 { 4253 fmt.Printf("sub_int64 -9223372036854775807%s-4294967296 = %d, wanted -9223372032559808511\n", `-`, got) 4254 failed = true 4255 } 4256 4257 if got := sub_int64_Neg9223372036854775807_ssa(-4294967296); got != 9223372032559808511 { 4258 fmt.Printf("sub_int64 -4294967296%s-9223372036854775807 = %d, wanted 9223372032559808511\n", `-`, got) 4259 failed = true 4260 } 4261 4262 if got := sub_Neg9223372036854775807_int64_ssa(-1); got != -9223372036854775806 { 4263 fmt.Printf("sub_int64 -9223372036854775807%s-1 = %d, wanted -9223372036854775806\n", `-`, got) 4264 failed = true 4265 } 4266 4267 if got := sub_int64_Neg9223372036854775807_ssa(-1); got != 9223372036854775806 { 4268 fmt.Printf("sub_int64 -1%s-9223372036854775807 = %d, wanted 9223372036854775806\n", `-`, got) 4269 failed = true 4270 } 4271 4272 if got := sub_Neg9223372036854775807_int64_ssa(0); got != -9223372036854775807 { 4273 fmt.Printf("sub_int64 -9223372036854775807%s0 = %d, wanted -9223372036854775807\n", `-`, got) 4274 failed = true 4275 } 4276 4277 if got := sub_int64_Neg9223372036854775807_ssa(0); got != 9223372036854775807 { 4278 fmt.Printf("sub_int64 0%s-9223372036854775807 = %d, wanted 9223372036854775807\n", `-`, got) 4279 failed = true 4280 } 4281 4282 if got := sub_Neg9223372036854775807_int64_ssa(1); got != -9223372036854775808 { 4283 fmt.Printf("sub_int64 -9223372036854775807%s1 = %d, wanted -9223372036854775808\n", `-`, got) 4284 failed = true 4285 } 4286 4287 if got := sub_int64_Neg9223372036854775807_ssa(1); got != -9223372036854775808 { 4288 fmt.Printf("sub_int64 1%s-9223372036854775807 = %d, wanted -9223372036854775808\n", `-`, got) 4289 failed = true 4290 } 4291 4292 if got := sub_Neg9223372036854775807_int64_ssa(4294967296); got != 9223372032559808513 { 4293 fmt.Printf("sub_int64 -9223372036854775807%s4294967296 = %d, wanted 9223372032559808513\n", `-`, got) 4294 failed = true 4295 } 4296 4297 if got := sub_int64_Neg9223372036854775807_ssa(4294967296); got != -9223372032559808513 { 4298 fmt.Printf("sub_int64 4294967296%s-9223372036854775807 = %d, wanted -9223372032559808513\n", `-`, got) 4299 failed = true 4300 } 4301 4302 if got := sub_Neg9223372036854775807_int64_ssa(9223372036854775806); got != 3 { 4303 fmt.Printf("sub_int64 -9223372036854775807%s9223372036854775806 = %d, wanted 3\n", `-`, got) 4304 failed = true 4305 } 4306 4307 if got := sub_int64_Neg9223372036854775807_ssa(9223372036854775806); got != -3 { 4308 fmt.Printf("sub_int64 9223372036854775806%s-9223372036854775807 = %d, wanted -3\n", `-`, got) 4309 failed = true 4310 } 4311 4312 if got := sub_Neg9223372036854775807_int64_ssa(9223372036854775807); got != 2 { 4313 fmt.Printf("sub_int64 -9223372036854775807%s9223372036854775807 = %d, wanted 2\n", `-`, got) 4314 failed = true 4315 } 4316 4317 if got := sub_int64_Neg9223372036854775807_ssa(9223372036854775807); got != -2 { 4318 fmt.Printf("sub_int64 9223372036854775807%s-9223372036854775807 = %d, wanted -2\n", `-`, got) 4319 failed = true 4320 } 4321 4322 if got := sub_Neg4294967296_int64_ssa(-9223372036854775808); got != 9223372032559808512 { 4323 fmt.Printf("sub_int64 -4294967296%s-9223372036854775808 = %d, wanted 9223372032559808512\n", `-`, got) 4324 failed = true 4325 } 4326 4327 if got := sub_int64_Neg4294967296_ssa(-9223372036854775808); got != -9223372032559808512 { 4328 fmt.Printf("sub_int64 -9223372036854775808%s-4294967296 = %d, wanted -9223372032559808512\n", `-`, got) 4329 failed = true 4330 } 4331 4332 if got := sub_Neg4294967296_int64_ssa(-9223372036854775807); got != 9223372032559808511 { 4333 fmt.Printf("sub_int64 -4294967296%s-9223372036854775807 = %d, wanted 9223372032559808511\n", `-`, got) 4334 failed = true 4335 } 4336 4337 if got := sub_int64_Neg4294967296_ssa(-9223372036854775807); got != -9223372032559808511 { 4338 fmt.Printf("sub_int64 -9223372036854775807%s-4294967296 = %d, wanted -9223372032559808511\n", `-`, got) 4339 failed = true 4340 } 4341 4342 if got := sub_Neg4294967296_int64_ssa(-4294967296); got != 0 { 4343 fmt.Printf("sub_int64 -4294967296%s-4294967296 = %d, wanted 0\n", `-`, got) 4344 failed = true 4345 } 4346 4347 if got := sub_int64_Neg4294967296_ssa(-4294967296); got != 0 { 4348 fmt.Printf("sub_int64 -4294967296%s-4294967296 = %d, wanted 0\n", `-`, got) 4349 failed = true 4350 } 4351 4352 if got := sub_Neg4294967296_int64_ssa(-1); got != -4294967295 { 4353 fmt.Printf("sub_int64 -4294967296%s-1 = %d, wanted -4294967295\n", `-`, got) 4354 failed = true 4355 } 4356 4357 if got := sub_int64_Neg4294967296_ssa(-1); got != 4294967295 { 4358 fmt.Printf("sub_int64 -1%s-4294967296 = %d, wanted 4294967295\n", `-`, got) 4359 failed = true 4360 } 4361 4362 if got := sub_Neg4294967296_int64_ssa(0); got != -4294967296 { 4363 fmt.Printf("sub_int64 -4294967296%s0 = %d, wanted -4294967296\n", `-`, got) 4364 failed = true 4365 } 4366 4367 if got := sub_int64_Neg4294967296_ssa(0); got != 4294967296 { 4368 fmt.Printf("sub_int64 0%s-4294967296 = %d, wanted 4294967296\n", `-`, got) 4369 failed = true 4370 } 4371 4372 if got := sub_Neg4294967296_int64_ssa(1); got != -4294967297 { 4373 fmt.Printf("sub_int64 -4294967296%s1 = %d, wanted -4294967297\n", `-`, got) 4374 failed = true 4375 } 4376 4377 if got := sub_int64_Neg4294967296_ssa(1); got != 4294967297 { 4378 fmt.Printf("sub_int64 1%s-4294967296 = %d, wanted 4294967297\n", `-`, got) 4379 failed = true 4380 } 4381 4382 if got := sub_Neg4294967296_int64_ssa(4294967296); got != -8589934592 { 4383 fmt.Printf("sub_int64 -4294967296%s4294967296 = %d, wanted -8589934592\n", `-`, got) 4384 failed = true 4385 } 4386 4387 if got := sub_int64_Neg4294967296_ssa(4294967296); got != 8589934592 { 4388 fmt.Printf("sub_int64 4294967296%s-4294967296 = %d, wanted 8589934592\n", `-`, got) 4389 failed = true 4390 } 4391 4392 if got := sub_Neg4294967296_int64_ssa(9223372036854775806); got != 9223372032559808514 { 4393 fmt.Printf("sub_int64 -4294967296%s9223372036854775806 = %d, wanted 9223372032559808514\n", `-`, got) 4394 failed = true 4395 } 4396 4397 if got := sub_int64_Neg4294967296_ssa(9223372036854775806); got != -9223372032559808514 { 4398 fmt.Printf("sub_int64 9223372036854775806%s-4294967296 = %d, wanted -9223372032559808514\n", `-`, got) 4399 failed = true 4400 } 4401 4402 if got := sub_Neg4294967296_int64_ssa(9223372036854775807); got != 9223372032559808513 { 4403 fmt.Printf("sub_int64 -4294967296%s9223372036854775807 = %d, wanted 9223372032559808513\n", `-`, got) 4404 failed = true 4405 } 4406 4407 if got := sub_int64_Neg4294967296_ssa(9223372036854775807); got != -9223372032559808513 { 4408 fmt.Printf("sub_int64 9223372036854775807%s-4294967296 = %d, wanted -9223372032559808513\n", `-`, got) 4409 failed = true 4410 } 4411 4412 if got := sub_Neg1_int64_ssa(-9223372036854775808); got != 9223372036854775807 { 4413 fmt.Printf("sub_int64 -1%s-9223372036854775808 = %d, wanted 9223372036854775807\n", `-`, got) 4414 failed = true 4415 } 4416 4417 if got := sub_int64_Neg1_ssa(-9223372036854775808); got != -9223372036854775807 { 4418 fmt.Printf("sub_int64 -9223372036854775808%s-1 = %d, wanted -9223372036854775807\n", `-`, got) 4419 failed = true 4420 } 4421 4422 if got := sub_Neg1_int64_ssa(-9223372036854775807); got != 9223372036854775806 { 4423 fmt.Printf("sub_int64 -1%s-9223372036854775807 = %d, wanted 9223372036854775806\n", `-`, got) 4424 failed = true 4425 } 4426 4427 if got := sub_int64_Neg1_ssa(-9223372036854775807); got != -9223372036854775806 { 4428 fmt.Printf("sub_int64 -9223372036854775807%s-1 = %d, wanted -9223372036854775806\n", `-`, got) 4429 failed = true 4430 } 4431 4432 if got := sub_Neg1_int64_ssa(-4294967296); got != 4294967295 { 4433 fmt.Printf("sub_int64 -1%s-4294967296 = %d, wanted 4294967295\n", `-`, got) 4434 failed = true 4435 } 4436 4437 if got := sub_int64_Neg1_ssa(-4294967296); got != -4294967295 { 4438 fmt.Printf("sub_int64 -4294967296%s-1 = %d, wanted -4294967295\n", `-`, got) 4439 failed = true 4440 } 4441 4442 if got := sub_Neg1_int64_ssa(-1); got != 0 { 4443 fmt.Printf("sub_int64 -1%s-1 = %d, wanted 0\n", `-`, got) 4444 failed = true 4445 } 4446 4447 if got := sub_int64_Neg1_ssa(-1); got != 0 { 4448 fmt.Printf("sub_int64 -1%s-1 = %d, wanted 0\n", `-`, got) 4449 failed = true 4450 } 4451 4452 if got := sub_Neg1_int64_ssa(0); got != -1 { 4453 fmt.Printf("sub_int64 -1%s0 = %d, wanted -1\n", `-`, got) 4454 failed = true 4455 } 4456 4457 if got := sub_int64_Neg1_ssa(0); got != 1 { 4458 fmt.Printf("sub_int64 0%s-1 = %d, wanted 1\n", `-`, got) 4459 failed = true 4460 } 4461 4462 if got := sub_Neg1_int64_ssa(1); got != -2 { 4463 fmt.Printf("sub_int64 -1%s1 = %d, wanted -2\n", `-`, got) 4464 failed = true 4465 } 4466 4467 if got := sub_int64_Neg1_ssa(1); got != 2 { 4468 fmt.Printf("sub_int64 1%s-1 = %d, wanted 2\n", `-`, got) 4469 failed = true 4470 } 4471 4472 if got := sub_Neg1_int64_ssa(4294967296); got != -4294967297 { 4473 fmt.Printf("sub_int64 -1%s4294967296 = %d, wanted -4294967297\n", `-`, got) 4474 failed = true 4475 } 4476 4477 if got := sub_int64_Neg1_ssa(4294967296); got != 4294967297 { 4478 fmt.Printf("sub_int64 4294967296%s-1 = %d, wanted 4294967297\n", `-`, got) 4479 failed = true 4480 } 4481 4482 if got := sub_Neg1_int64_ssa(9223372036854775806); got != -9223372036854775807 { 4483 fmt.Printf("sub_int64 -1%s9223372036854775806 = %d, wanted -9223372036854775807\n", `-`, got) 4484 failed = true 4485 } 4486 4487 if got := sub_int64_Neg1_ssa(9223372036854775806); got != 9223372036854775807 { 4488 fmt.Printf("sub_int64 9223372036854775806%s-1 = %d, wanted 9223372036854775807\n", `-`, got) 4489 failed = true 4490 } 4491 4492 if got := sub_Neg1_int64_ssa(9223372036854775807); got != -9223372036854775808 { 4493 fmt.Printf("sub_int64 -1%s9223372036854775807 = %d, wanted -9223372036854775808\n", `-`, got) 4494 failed = true 4495 } 4496 4497 if got := sub_int64_Neg1_ssa(9223372036854775807); got != -9223372036854775808 { 4498 fmt.Printf("sub_int64 9223372036854775807%s-1 = %d, wanted -9223372036854775808\n", `-`, got) 4499 failed = true 4500 } 4501 4502 if got := sub_0_int64_ssa(-9223372036854775808); got != -9223372036854775808 { 4503 fmt.Printf("sub_int64 0%s-9223372036854775808 = %d, wanted -9223372036854775808\n", `-`, got) 4504 failed = true 4505 } 4506 4507 if got := sub_int64_0_ssa(-9223372036854775808); got != -9223372036854775808 { 4508 fmt.Printf("sub_int64 -9223372036854775808%s0 = %d, wanted -9223372036854775808\n", `-`, got) 4509 failed = true 4510 } 4511 4512 if got := sub_0_int64_ssa(-9223372036854775807); got != 9223372036854775807 { 4513 fmt.Printf("sub_int64 0%s-9223372036854775807 = %d, wanted 9223372036854775807\n", `-`, got) 4514 failed = true 4515 } 4516 4517 if got := sub_int64_0_ssa(-9223372036854775807); got != -9223372036854775807 { 4518 fmt.Printf("sub_int64 -9223372036854775807%s0 = %d, wanted -9223372036854775807\n", `-`, got) 4519 failed = true 4520 } 4521 4522 if got := sub_0_int64_ssa(-4294967296); got != 4294967296 { 4523 fmt.Printf("sub_int64 0%s-4294967296 = %d, wanted 4294967296\n", `-`, got) 4524 failed = true 4525 } 4526 4527 if got := sub_int64_0_ssa(-4294967296); got != -4294967296 { 4528 fmt.Printf("sub_int64 -4294967296%s0 = %d, wanted -4294967296\n", `-`, got) 4529 failed = true 4530 } 4531 4532 if got := sub_0_int64_ssa(-1); got != 1 { 4533 fmt.Printf("sub_int64 0%s-1 = %d, wanted 1\n", `-`, got) 4534 failed = true 4535 } 4536 4537 if got := sub_int64_0_ssa(-1); got != -1 { 4538 fmt.Printf("sub_int64 -1%s0 = %d, wanted -1\n", `-`, got) 4539 failed = true 4540 } 4541 4542 if got := sub_0_int64_ssa(0); got != 0 { 4543 fmt.Printf("sub_int64 0%s0 = %d, wanted 0\n", `-`, got) 4544 failed = true 4545 } 4546 4547 if got := sub_int64_0_ssa(0); got != 0 { 4548 fmt.Printf("sub_int64 0%s0 = %d, wanted 0\n", `-`, got) 4549 failed = true 4550 } 4551 4552 if got := sub_0_int64_ssa(1); got != -1 { 4553 fmt.Printf("sub_int64 0%s1 = %d, wanted -1\n", `-`, got) 4554 failed = true 4555 } 4556 4557 if got := sub_int64_0_ssa(1); got != 1 { 4558 fmt.Printf("sub_int64 1%s0 = %d, wanted 1\n", `-`, got) 4559 failed = true 4560 } 4561 4562 if got := sub_0_int64_ssa(4294967296); got != -4294967296 { 4563 fmt.Printf("sub_int64 0%s4294967296 = %d, wanted -4294967296\n", `-`, got) 4564 failed = true 4565 } 4566 4567 if got := sub_int64_0_ssa(4294967296); got != 4294967296 { 4568 fmt.Printf("sub_int64 4294967296%s0 = %d, wanted 4294967296\n", `-`, got) 4569 failed = true 4570 } 4571 4572 if got := sub_0_int64_ssa(9223372036854775806); got != -9223372036854775806 { 4573 fmt.Printf("sub_int64 0%s9223372036854775806 = %d, wanted -9223372036854775806\n", `-`, got) 4574 failed = true 4575 } 4576 4577 if got := sub_int64_0_ssa(9223372036854775806); got != 9223372036854775806 { 4578 fmt.Printf("sub_int64 9223372036854775806%s0 = %d, wanted 9223372036854775806\n", `-`, got) 4579 failed = true 4580 } 4581 4582 if got := sub_0_int64_ssa(9223372036854775807); got != -9223372036854775807 { 4583 fmt.Printf("sub_int64 0%s9223372036854775807 = %d, wanted -9223372036854775807\n", `-`, got) 4584 failed = true 4585 } 4586 4587 if got := sub_int64_0_ssa(9223372036854775807); got != 9223372036854775807 { 4588 fmt.Printf("sub_int64 9223372036854775807%s0 = %d, wanted 9223372036854775807\n", `-`, got) 4589 failed = true 4590 } 4591 4592 if got := sub_1_int64_ssa(-9223372036854775808); got != -9223372036854775807 { 4593 fmt.Printf("sub_int64 1%s-9223372036854775808 = %d, wanted -9223372036854775807\n", `-`, got) 4594 failed = true 4595 } 4596 4597 if got := sub_int64_1_ssa(-9223372036854775808); got != 9223372036854775807 { 4598 fmt.Printf("sub_int64 -9223372036854775808%s1 = %d, wanted 9223372036854775807\n", `-`, got) 4599 failed = true 4600 } 4601 4602 if got := sub_1_int64_ssa(-9223372036854775807); got != -9223372036854775808 { 4603 fmt.Printf("sub_int64 1%s-9223372036854775807 = %d, wanted -9223372036854775808\n", `-`, got) 4604 failed = true 4605 } 4606 4607 if got := sub_int64_1_ssa(-9223372036854775807); got != -9223372036854775808 { 4608 fmt.Printf("sub_int64 -9223372036854775807%s1 = %d, wanted -9223372036854775808\n", `-`, got) 4609 failed = true 4610 } 4611 4612 if got := sub_1_int64_ssa(-4294967296); got != 4294967297 { 4613 fmt.Printf("sub_int64 1%s-4294967296 = %d, wanted 4294967297\n", `-`, got) 4614 failed = true 4615 } 4616 4617 if got := sub_int64_1_ssa(-4294967296); got != -4294967297 { 4618 fmt.Printf("sub_int64 -4294967296%s1 = %d, wanted -4294967297\n", `-`, got) 4619 failed = true 4620 } 4621 4622 if got := sub_1_int64_ssa(-1); got != 2 { 4623 fmt.Printf("sub_int64 1%s-1 = %d, wanted 2\n", `-`, got) 4624 failed = true 4625 } 4626 4627 if got := sub_int64_1_ssa(-1); got != -2 { 4628 fmt.Printf("sub_int64 -1%s1 = %d, wanted -2\n", `-`, got) 4629 failed = true 4630 } 4631 4632 if got := sub_1_int64_ssa(0); got != 1 { 4633 fmt.Printf("sub_int64 1%s0 = %d, wanted 1\n", `-`, got) 4634 failed = true 4635 } 4636 4637 if got := sub_int64_1_ssa(0); got != -1 { 4638 fmt.Printf("sub_int64 0%s1 = %d, wanted -1\n", `-`, got) 4639 failed = true 4640 } 4641 4642 if got := sub_1_int64_ssa(1); got != 0 { 4643 fmt.Printf("sub_int64 1%s1 = %d, wanted 0\n", `-`, got) 4644 failed = true 4645 } 4646 4647 if got := sub_int64_1_ssa(1); got != 0 { 4648 fmt.Printf("sub_int64 1%s1 = %d, wanted 0\n", `-`, got) 4649 failed = true 4650 } 4651 4652 if got := sub_1_int64_ssa(4294967296); got != -4294967295 { 4653 fmt.Printf("sub_int64 1%s4294967296 = %d, wanted -4294967295\n", `-`, got) 4654 failed = true 4655 } 4656 4657 if got := sub_int64_1_ssa(4294967296); got != 4294967295 { 4658 fmt.Printf("sub_int64 4294967296%s1 = %d, wanted 4294967295\n", `-`, got) 4659 failed = true 4660 } 4661 4662 if got := sub_1_int64_ssa(9223372036854775806); got != -9223372036854775805 { 4663 fmt.Printf("sub_int64 1%s9223372036854775806 = %d, wanted -9223372036854775805\n", `-`, got) 4664 failed = true 4665 } 4666 4667 if got := sub_int64_1_ssa(9223372036854775806); got != 9223372036854775805 { 4668 fmt.Printf("sub_int64 9223372036854775806%s1 = %d, wanted 9223372036854775805\n", `-`, got) 4669 failed = true 4670 } 4671 4672 if got := sub_1_int64_ssa(9223372036854775807); got != -9223372036854775806 { 4673 fmt.Printf("sub_int64 1%s9223372036854775807 = %d, wanted -9223372036854775806\n", `-`, got) 4674 failed = true 4675 } 4676 4677 if got := sub_int64_1_ssa(9223372036854775807); got != 9223372036854775806 { 4678 fmt.Printf("sub_int64 9223372036854775807%s1 = %d, wanted 9223372036854775806\n", `-`, got) 4679 failed = true 4680 } 4681 4682 if got := sub_4294967296_int64_ssa(-9223372036854775808); got != -9223372032559808512 { 4683 fmt.Printf("sub_int64 4294967296%s-9223372036854775808 = %d, wanted -9223372032559808512\n", `-`, got) 4684 failed = true 4685 } 4686 4687 if got := sub_int64_4294967296_ssa(-9223372036854775808); got != 9223372032559808512 { 4688 fmt.Printf("sub_int64 -9223372036854775808%s4294967296 = %d, wanted 9223372032559808512\n", `-`, got) 4689 failed = true 4690 } 4691 4692 if got := sub_4294967296_int64_ssa(-9223372036854775807); got != -9223372032559808513 { 4693 fmt.Printf("sub_int64 4294967296%s-9223372036854775807 = %d, wanted -9223372032559808513\n", `-`, got) 4694 failed = true 4695 } 4696 4697 if got := sub_int64_4294967296_ssa(-9223372036854775807); got != 9223372032559808513 { 4698 fmt.Printf("sub_int64 -9223372036854775807%s4294967296 = %d, wanted 9223372032559808513\n", `-`, got) 4699 failed = true 4700 } 4701 4702 if got := sub_4294967296_int64_ssa(-4294967296); got != 8589934592 { 4703 fmt.Printf("sub_int64 4294967296%s-4294967296 = %d, wanted 8589934592\n", `-`, got) 4704 failed = true 4705 } 4706 4707 if got := sub_int64_4294967296_ssa(-4294967296); got != -8589934592 { 4708 fmt.Printf("sub_int64 -4294967296%s4294967296 = %d, wanted -8589934592\n", `-`, got) 4709 failed = true 4710 } 4711 4712 if got := sub_4294967296_int64_ssa(-1); got != 4294967297 { 4713 fmt.Printf("sub_int64 4294967296%s-1 = %d, wanted 4294967297\n", `-`, got) 4714 failed = true 4715 } 4716 4717 if got := sub_int64_4294967296_ssa(-1); got != -4294967297 { 4718 fmt.Printf("sub_int64 -1%s4294967296 = %d, wanted -4294967297\n", `-`, got) 4719 failed = true 4720 } 4721 4722 if got := sub_4294967296_int64_ssa(0); got != 4294967296 { 4723 fmt.Printf("sub_int64 4294967296%s0 = %d, wanted 4294967296\n", `-`, got) 4724 failed = true 4725 } 4726 4727 if got := sub_int64_4294967296_ssa(0); got != -4294967296 { 4728 fmt.Printf("sub_int64 0%s4294967296 = %d, wanted -4294967296\n", `-`, got) 4729 failed = true 4730 } 4731 4732 if got := sub_4294967296_int64_ssa(1); got != 4294967295 { 4733 fmt.Printf("sub_int64 4294967296%s1 = %d, wanted 4294967295\n", `-`, got) 4734 failed = true 4735 } 4736 4737 if got := sub_int64_4294967296_ssa(1); got != -4294967295 { 4738 fmt.Printf("sub_int64 1%s4294967296 = %d, wanted -4294967295\n", `-`, got) 4739 failed = true 4740 } 4741 4742 if got := sub_4294967296_int64_ssa(4294967296); got != 0 { 4743 fmt.Printf("sub_int64 4294967296%s4294967296 = %d, wanted 0\n", `-`, got) 4744 failed = true 4745 } 4746 4747 if got := sub_int64_4294967296_ssa(4294967296); got != 0 { 4748 fmt.Printf("sub_int64 4294967296%s4294967296 = %d, wanted 0\n", `-`, got) 4749 failed = true 4750 } 4751 4752 if got := sub_4294967296_int64_ssa(9223372036854775806); got != -9223372032559808510 { 4753 fmt.Printf("sub_int64 4294967296%s9223372036854775806 = %d, wanted -9223372032559808510\n", `-`, got) 4754 failed = true 4755 } 4756 4757 if got := sub_int64_4294967296_ssa(9223372036854775806); got != 9223372032559808510 { 4758 fmt.Printf("sub_int64 9223372036854775806%s4294967296 = %d, wanted 9223372032559808510\n", `-`, got) 4759 failed = true 4760 } 4761 4762 if got := sub_4294967296_int64_ssa(9223372036854775807); got != -9223372032559808511 { 4763 fmt.Printf("sub_int64 4294967296%s9223372036854775807 = %d, wanted -9223372032559808511\n", `-`, got) 4764 failed = true 4765 } 4766 4767 if got := sub_int64_4294967296_ssa(9223372036854775807); got != 9223372032559808511 { 4768 fmt.Printf("sub_int64 9223372036854775807%s4294967296 = %d, wanted 9223372032559808511\n", `-`, got) 4769 failed = true 4770 } 4771 4772 if got := sub_9223372036854775806_int64_ssa(-9223372036854775808); got != -2 { 4773 fmt.Printf("sub_int64 9223372036854775806%s-9223372036854775808 = %d, wanted -2\n", `-`, got) 4774 failed = true 4775 } 4776 4777 if got := sub_int64_9223372036854775806_ssa(-9223372036854775808); got != 2 { 4778 fmt.Printf("sub_int64 -9223372036854775808%s9223372036854775806 = %d, wanted 2\n", `-`, got) 4779 failed = true 4780 } 4781 4782 if got := sub_9223372036854775806_int64_ssa(-9223372036854775807); got != -3 { 4783 fmt.Printf("sub_int64 9223372036854775806%s-9223372036854775807 = %d, wanted -3\n", `-`, got) 4784 failed = true 4785 } 4786 4787 if got := sub_int64_9223372036854775806_ssa(-9223372036854775807); got != 3 { 4788 fmt.Printf("sub_int64 -9223372036854775807%s9223372036854775806 = %d, wanted 3\n", `-`, got) 4789 failed = true 4790 } 4791 4792 if got := sub_9223372036854775806_int64_ssa(-4294967296); got != -9223372032559808514 { 4793 fmt.Printf("sub_int64 9223372036854775806%s-4294967296 = %d, wanted -9223372032559808514\n", `-`, got) 4794 failed = true 4795 } 4796 4797 if got := sub_int64_9223372036854775806_ssa(-4294967296); got != 9223372032559808514 { 4798 fmt.Printf("sub_int64 -4294967296%s9223372036854775806 = %d, wanted 9223372032559808514\n", `-`, got) 4799 failed = true 4800 } 4801 4802 if got := sub_9223372036854775806_int64_ssa(-1); got != 9223372036854775807 { 4803 fmt.Printf("sub_int64 9223372036854775806%s-1 = %d, wanted 9223372036854775807\n", `-`, got) 4804 failed = true 4805 } 4806 4807 if got := sub_int64_9223372036854775806_ssa(-1); got != -9223372036854775807 { 4808 fmt.Printf("sub_int64 -1%s9223372036854775806 = %d, wanted -9223372036854775807\n", `-`, got) 4809 failed = true 4810 } 4811 4812 if got := sub_9223372036854775806_int64_ssa(0); got != 9223372036854775806 { 4813 fmt.Printf("sub_int64 9223372036854775806%s0 = %d, wanted 9223372036854775806\n", `-`, got) 4814 failed = true 4815 } 4816 4817 if got := sub_int64_9223372036854775806_ssa(0); got != -9223372036854775806 { 4818 fmt.Printf("sub_int64 0%s9223372036854775806 = %d, wanted -9223372036854775806\n", `-`, got) 4819 failed = true 4820 } 4821 4822 if got := sub_9223372036854775806_int64_ssa(1); got != 9223372036854775805 { 4823 fmt.Printf("sub_int64 9223372036854775806%s1 = %d, wanted 9223372036854775805\n", `-`, got) 4824 failed = true 4825 } 4826 4827 if got := sub_int64_9223372036854775806_ssa(1); got != -9223372036854775805 { 4828 fmt.Printf("sub_int64 1%s9223372036854775806 = %d, wanted -9223372036854775805\n", `-`, got) 4829 failed = true 4830 } 4831 4832 if got := sub_9223372036854775806_int64_ssa(4294967296); got != 9223372032559808510 { 4833 fmt.Printf("sub_int64 9223372036854775806%s4294967296 = %d, wanted 9223372032559808510\n", `-`, got) 4834 failed = true 4835 } 4836 4837 if got := sub_int64_9223372036854775806_ssa(4294967296); got != -9223372032559808510 { 4838 fmt.Printf("sub_int64 4294967296%s9223372036854775806 = %d, wanted -9223372032559808510\n", `-`, got) 4839 failed = true 4840 } 4841 4842 if got := sub_9223372036854775806_int64_ssa(9223372036854775806); got != 0 { 4843 fmt.Printf("sub_int64 9223372036854775806%s9223372036854775806 = %d, wanted 0\n", `-`, got) 4844 failed = true 4845 } 4846 4847 if got := sub_int64_9223372036854775806_ssa(9223372036854775806); got != 0 { 4848 fmt.Printf("sub_int64 9223372036854775806%s9223372036854775806 = %d, wanted 0\n", `-`, got) 4849 failed = true 4850 } 4851 4852 if got := sub_9223372036854775806_int64_ssa(9223372036854775807); got != -1 { 4853 fmt.Printf("sub_int64 9223372036854775806%s9223372036854775807 = %d, wanted -1\n", `-`, got) 4854 failed = true 4855 } 4856 4857 if got := sub_int64_9223372036854775806_ssa(9223372036854775807); got != 1 { 4858 fmt.Printf("sub_int64 9223372036854775807%s9223372036854775806 = %d, wanted 1\n", `-`, got) 4859 failed = true 4860 } 4861 4862 if got := sub_9223372036854775807_int64_ssa(-9223372036854775808); got != -1 { 4863 fmt.Printf("sub_int64 9223372036854775807%s-9223372036854775808 = %d, wanted -1\n", `-`, got) 4864 failed = true 4865 } 4866 4867 if got := sub_int64_9223372036854775807_ssa(-9223372036854775808); got != 1 { 4868 fmt.Printf("sub_int64 -9223372036854775808%s9223372036854775807 = %d, wanted 1\n", `-`, got) 4869 failed = true 4870 } 4871 4872 if got := sub_9223372036854775807_int64_ssa(-9223372036854775807); got != -2 { 4873 fmt.Printf("sub_int64 9223372036854775807%s-9223372036854775807 = %d, wanted -2\n", `-`, got) 4874 failed = true 4875 } 4876 4877 if got := sub_int64_9223372036854775807_ssa(-9223372036854775807); got != 2 { 4878 fmt.Printf("sub_int64 -9223372036854775807%s9223372036854775807 = %d, wanted 2\n", `-`, got) 4879 failed = true 4880 } 4881 4882 if got := sub_9223372036854775807_int64_ssa(-4294967296); got != -9223372032559808513 { 4883 fmt.Printf("sub_int64 9223372036854775807%s-4294967296 = %d, wanted -9223372032559808513\n", `-`, got) 4884 failed = true 4885 } 4886 4887 if got := sub_int64_9223372036854775807_ssa(-4294967296); got != 9223372032559808513 { 4888 fmt.Printf("sub_int64 -4294967296%s9223372036854775807 = %d, wanted 9223372032559808513\n", `-`, got) 4889 failed = true 4890 } 4891 4892 if got := sub_9223372036854775807_int64_ssa(-1); got != -9223372036854775808 { 4893 fmt.Printf("sub_int64 9223372036854775807%s-1 = %d, wanted -9223372036854775808\n", `-`, got) 4894 failed = true 4895 } 4896 4897 if got := sub_int64_9223372036854775807_ssa(-1); got != -9223372036854775808 { 4898 fmt.Printf("sub_int64 -1%s9223372036854775807 = %d, wanted -9223372036854775808\n", `-`, got) 4899 failed = true 4900 } 4901 4902 if got := sub_9223372036854775807_int64_ssa(0); got != 9223372036854775807 { 4903 fmt.Printf("sub_int64 9223372036854775807%s0 = %d, wanted 9223372036854775807\n", `-`, got) 4904 failed = true 4905 } 4906 4907 if got := sub_int64_9223372036854775807_ssa(0); got != -9223372036854775807 { 4908 fmt.Printf("sub_int64 0%s9223372036854775807 = %d, wanted -9223372036854775807\n", `-`, got) 4909 failed = true 4910 } 4911 4912 if got := sub_9223372036854775807_int64_ssa(1); got != 9223372036854775806 { 4913 fmt.Printf("sub_int64 9223372036854775807%s1 = %d, wanted 9223372036854775806\n", `-`, got) 4914 failed = true 4915 } 4916 4917 if got := sub_int64_9223372036854775807_ssa(1); got != -9223372036854775806 { 4918 fmt.Printf("sub_int64 1%s9223372036854775807 = %d, wanted -9223372036854775806\n", `-`, got) 4919 failed = true 4920 } 4921 4922 if got := sub_9223372036854775807_int64_ssa(4294967296); got != 9223372032559808511 { 4923 fmt.Printf("sub_int64 9223372036854775807%s4294967296 = %d, wanted 9223372032559808511\n", `-`, got) 4924 failed = true 4925 } 4926 4927 if got := sub_int64_9223372036854775807_ssa(4294967296); got != -9223372032559808511 { 4928 fmt.Printf("sub_int64 4294967296%s9223372036854775807 = %d, wanted -9223372032559808511\n", `-`, got) 4929 failed = true 4930 } 4931 4932 if got := sub_9223372036854775807_int64_ssa(9223372036854775806); got != 1 { 4933 fmt.Printf("sub_int64 9223372036854775807%s9223372036854775806 = %d, wanted 1\n", `-`, got) 4934 failed = true 4935 } 4936 4937 if got := sub_int64_9223372036854775807_ssa(9223372036854775806); got != -1 { 4938 fmt.Printf("sub_int64 9223372036854775806%s9223372036854775807 = %d, wanted -1\n", `-`, got) 4939 failed = true 4940 } 4941 4942 if got := sub_9223372036854775807_int64_ssa(9223372036854775807); got != 0 { 4943 fmt.Printf("sub_int64 9223372036854775807%s9223372036854775807 = %d, wanted 0\n", `-`, got) 4944 failed = true 4945 } 4946 4947 if got := sub_int64_9223372036854775807_ssa(9223372036854775807); got != 0 { 4948 fmt.Printf("sub_int64 9223372036854775807%s9223372036854775807 = %d, wanted 0\n", `-`, got) 4949 failed = true 4950 } 4951 4952 if got := div_Neg9223372036854775808_int64_ssa(-9223372036854775808); got != 1 { 4953 fmt.Printf("div_int64 -9223372036854775808%s-9223372036854775808 = %d, wanted 1\n", `/`, got) 4954 failed = true 4955 } 4956 4957 if got := div_int64_Neg9223372036854775808_ssa(-9223372036854775808); got != 1 { 4958 fmt.Printf("div_int64 -9223372036854775808%s-9223372036854775808 = %d, wanted 1\n", `/`, got) 4959 failed = true 4960 } 4961 4962 if got := div_Neg9223372036854775808_int64_ssa(-9223372036854775807); got != 1 { 4963 fmt.Printf("div_int64 -9223372036854775808%s-9223372036854775807 = %d, wanted 1\n", `/`, got) 4964 failed = true 4965 } 4966 4967 if got := div_int64_Neg9223372036854775808_ssa(-9223372036854775807); got != 0 { 4968 fmt.Printf("div_int64 -9223372036854775807%s-9223372036854775808 = %d, wanted 0\n", `/`, got) 4969 failed = true 4970 } 4971 4972 if got := div_Neg9223372036854775808_int64_ssa(-4294967296); got != 2147483648 { 4973 fmt.Printf("div_int64 -9223372036854775808%s-4294967296 = %d, wanted 2147483648\n", `/`, got) 4974 failed = true 4975 } 4976 4977 if got := div_int64_Neg9223372036854775808_ssa(-4294967296); got != 0 { 4978 fmt.Printf("div_int64 -4294967296%s-9223372036854775808 = %d, wanted 0\n", `/`, got) 4979 failed = true 4980 } 4981 4982 if got := div_Neg9223372036854775808_int64_ssa(-1); got != -9223372036854775808 { 4983 fmt.Printf("div_int64 -9223372036854775808%s-1 = %d, wanted -9223372036854775808\n", `/`, got) 4984 failed = true 4985 } 4986 4987 if got := div_int64_Neg9223372036854775808_ssa(-1); got != 0 { 4988 fmt.Printf("div_int64 -1%s-9223372036854775808 = %d, wanted 0\n", `/`, got) 4989 failed = true 4990 } 4991 4992 if got := div_int64_Neg9223372036854775808_ssa(0); got != 0 { 4993 fmt.Printf("div_int64 0%s-9223372036854775808 = %d, wanted 0\n", `/`, got) 4994 failed = true 4995 } 4996 4997 if got := div_Neg9223372036854775808_int64_ssa(1); got != -9223372036854775808 { 4998 fmt.Printf("div_int64 -9223372036854775808%s1 = %d, wanted -9223372036854775808\n", `/`, got) 4999 failed = true 5000 } 5001 5002 if got := div_int64_Neg9223372036854775808_ssa(1); got != 0 { 5003 fmt.Printf("div_int64 1%s-9223372036854775808 = %d, wanted 0\n", `/`, got) 5004 failed = true 5005 } 5006 5007 if got := div_Neg9223372036854775808_int64_ssa(4294967296); got != -2147483648 { 5008 fmt.Printf("div_int64 -9223372036854775808%s4294967296 = %d, wanted -2147483648\n", `/`, got) 5009 failed = true 5010 } 5011 5012 if got := div_int64_Neg9223372036854775808_ssa(4294967296); got != 0 { 5013 fmt.Printf("div_int64 4294967296%s-9223372036854775808 = %d, wanted 0\n", `/`, got) 5014 failed = true 5015 } 5016 5017 if got := div_Neg9223372036854775808_int64_ssa(9223372036854775806); got != -1 { 5018 fmt.Printf("div_int64 -9223372036854775808%s9223372036854775806 = %d, wanted -1\n", `/`, got) 5019 failed = true 5020 } 5021 5022 if got := div_int64_Neg9223372036854775808_ssa(9223372036854775806); got != 0 { 5023 fmt.Printf("div_int64 9223372036854775806%s-9223372036854775808 = %d, wanted 0\n", `/`, got) 5024 failed = true 5025 } 5026 5027 if got := div_Neg9223372036854775808_int64_ssa(9223372036854775807); got != -1 { 5028 fmt.Printf("div_int64 -9223372036854775808%s9223372036854775807 = %d, wanted -1\n", `/`, got) 5029 failed = true 5030 } 5031 5032 if got := div_int64_Neg9223372036854775808_ssa(9223372036854775807); got != 0 { 5033 fmt.Printf("div_int64 9223372036854775807%s-9223372036854775808 = %d, wanted 0\n", `/`, got) 5034 failed = true 5035 } 5036 5037 if got := div_Neg9223372036854775807_int64_ssa(-9223372036854775808); got != 0 { 5038 fmt.Printf("div_int64 -9223372036854775807%s-9223372036854775808 = %d, wanted 0\n", `/`, got) 5039 failed = true 5040 } 5041 5042 if got := div_int64_Neg9223372036854775807_ssa(-9223372036854775808); got != 1 { 5043 fmt.Printf("div_int64 -9223372036854775808%s-9223372036854775807 = %d, wanted 1\n", `/`, got) 5044 failed = true 5045 } 5046 5047 if got := div_Neg9223372036854775807_int64_ssa(-9223372036854775807); got != 1 { 5048 fmt.Printf("div_int64 -9223372036854775807%s-9223372036854775807 = %d, wanted 1\n", `/`, got) 5049 failed = true 5050 } 5051 5052 if got := div_int64_Neg9223372036854775807_ssa(-9223372036854775807); got != 1 { 5053 fmt.Printf("div_int64 -9223372036854775807%s-9223372036854775807 = %d, wanted 1\n", `/`, got) 5054 failed = true 5055 } 5056 5057 if got := div_Neg9223372036854775807_int64_ssa(-4294967296); got != 2147483647 { 5058 fmt.Printf("div_int64 -9223372036854775807%s-4294967296 = %d, wanted 2147483647\n", `/`, got) 5059 failed = true 5060 } 5061 5062 if got := div_int64_Neg9223372036854775807_ssa(-4294967296); got != 0 { 5063 fmt.Printf("div_int64 -4294967296%s-9223372036854775807 = %d, wanted 0\n", `/`, got) 5064 failed = true 5065 } 5066 5067 if got := div_Neg9223372036854775807_int64_ssa(-1); got != 9223372036854775807 { 5068 fmt.Printf("div_int64 -9223372036854775807%s-1 = %d, wanted 9223372036854775807\n", `/`, got) 5069 failed = true 5070 } 5071 5072 if got := div_int64_Neg9223372036854775807_ssa(-1); got != 0 { 5073 fmt.Printf("div_int64 -1%s-9223372036854775807 = %d, wanted 0\n", `/`, got) 5074 failed = true 5075 } 5076 5077 if got := div_int64_Neg9223372036854775807_ssa(0); got != 0 { 5078 fmt.Printf("div_int64 0%s-9223372036854775807 = %d, wanted 0\n", `/`, got) 5079 failed = true 5080 } 5081 5082 if got := div_Neg9223372036854775807_int64_ssa(1); got != -9223372036854775807 { 5083 fmt.Printf("div_int64 -9223372036854775807%s1 = %d, wanted -9223372036854775807\n", `/`, got) 5084 failed = true 5085 } 5086 5087 if got := div_int64_Neg9223372036854775807_ssa(1); got != 0 { 5088 fmt.Printf("div_int64 1%s-9223372036854775807 = %d, wanted 0\n", `/`, got) 5089 failed = true 5090 } 5091 5092 if got := div_Neg9223372036854775807_int64_ssa(4294967296); got != -2147483647 { 5093 fmt.Printf("div_int64 -9223372036854775807%s4294967296 = %d, wanted -2147483647\n", `/`, got) 5094 failed = true 5095 } 5096 5097 if got := div_int64_Neg9223372036854775807_ssa(4294967296); got != 0 { 5098 fmt.Printf("div_int64 4294967296%s-9223372036854775807 = %d, wanted 0\n", `/`, got) 5099 failed = true 5100 } 5101 5102 if got := div_Neg9223372036854775807_int64_ssa(9223372036854775806); got != -1 { 5103 fmt.Printf("div_int64 -9223372036854775807%s9223372036854775806 = %d, wanted -1\n", `/`, got) 5104 failed = true 5105 } 5106 5107 if got := div_int64_Neg9223372036854775807_ssa(9223372036854775806); got != 0 { 5108 fmt.Printf("div_int64 9223372036854775806%s-9223372036854775807 = %d, wanted 0\n", `/`, got) 5109 failed = true 5110 } 5111 5112 if got := div_Neg9223372036854775807_int64_ssa(9223372036854775807); got != -1 { 5113 fmt.Printf("div_int64 -9223372036854775807%s9223372036854775807 = %d, wanted -1\n", `/`, got) 5114 failed = true 5115 } 5116 5117 if got := div_int64_Neg9223372036854775807_ssa(9223372036854775807); got != -1 { 5118 fmt.Printf("div_int64 9223372036854775807%s-9223372036854775807 = %d, wanted -1\n", `/`, got) 5119 failed = true 5120 } 5121 5122 if got := div_Neg4294967296_int64_ssa(-9223372036854775808); got != 0 { 5123 fmt.Printf("div_int64 -4294967296%s-9223372036854775808 = %d, wanted 0\n", `/`, got) 5124 failed = true 5125 } 5126 5127 if got := div_int64_Neg4294967296_ssa(-9223372036854775808); got != 2147483648 { 5128 fmt.Printf("div_int64 -9223372036854775808%s-4294967296 = %d, wanted 2147483648\n", `/`, got) 5129 failed = true 5130 } 5131 5132 if got := div_Neg4294967296_int64_ssa(-9223372036854775807); got != 0 { 5133 fmt.Printf("div_int64 -4294967296%s-9223372036854775807 = %d, wanted 0\n", `/`, got) 5134 failed = true 5135 } 5136 5137 if got := div_int64_Neg4294967296_ssa(-9223372036854775807); got != 2147483647 { 5138 fmt.Printf("div_int64 -9223372036854775807%s-4294967296 = %d, wanted 2147483647\n", `/`, got) 5139 failed = true 5140 } 5141 5142 if got := div_Neg4294967296_int64_ssa(-4294967296); got != 1 { 5143 fmt.Printf("div_int64 -4294967296%s-4294967296 = %d, wanted 1\n", `/`, got) 5144 failed = true 5145 } 5146 5147 if got := div_int64_Neg4294967296_ssa(-4294967296); got != 1 { 5148 fmt.Printf("div_int64 -4294967296%s-4294967296 = %d, wanted 1\n", `/`, got) 5149 failed = true 5150 } 5151 5152 if got := div_Neg4294967296_int64_ssa(-1); got != 4294967296 { 5153 fmt.Printf("div_int64 -4294967296%s-1 = %d, wanted 4294967296\n", `/`, got) 5154 failed = true 5155 } 5156 5157 if got := div_int64_Neg4294967296_ssa(-1); got != 0 { 5158 fmt.Printf("div_int64 -1%s-4294967296 = %d, wanted 0\n", `/`, got) 5159 failed = true 5160 } 5161 5162 if got := div_int64_Neg4294967296_ssa(0); got != 0 { 5163 fmt.Printf("div_int64 0%s-4294967296 = %d, wanted 0\n", `/`, got) 5164 failed = true 5165 } 5166 5167 if got := div_Neg4294967296_int64_ssa(1); got != -4294967296 { 5168 fmt.Printf("div_int64 -4294967296%s1 = %d, wanted -4294967296\n", `/`, got) 5169 failed = true 5170 } 5171 5172 if got := div_int64_Neg4294967296_ssa(1); got != 0 { 5173 fmt.Printf("div_int64 1%s-4294967296 = %d, wanted 0\n", `/`, got) 5174 failed = true 5175 } 5176 5177 if got := div_Neg4294967296_int64_ssa(4294967296); got != -1 { 5178 fmt.Printf("div_int64 -4294967296%s4294967296 = %d, wanted -1\n", `/`, got) 5179 failed = true 5180 } 5181 5182 if got := div_int64_Neg4294967296_ssa(4294967296); got != -1 { 5183 fmt.Printf("div_int64 4294967296%s-4294967296 = %d, wanted -1\n", `/`, got) 5184 failed = true 5185 } 5186 5187 if got := div_Neg4294967296_int64_ssa(9223372036854775806); got != 0 { 5188 fmt.Printf("div_int64 -4294967296%s9223372036854775806 = %d, wanted 0\n", `/`, got) 5189 failed = true 5190 } 5191 5192 if got := div_int64_Neg4294967296_ssa(9223372036854775806); got != -2147483647 { 5193 fmt.Printf("div_int64 9223372036854775806%s-4294967296 = %d, wanted -2147483647\n", `/`, got) 5194 failed = true 5195 } 5196 5197 if got := div_Neg4294967296_int64_ssa(9223372036854775807); got != 0 { 5198 fmt.Printf("div_int64 -4294967296%s9223372036854775807 = %d, wanted 0\n", `/`, got) 5199 failed = true 5200 } 5201 5202 if got := div_int64_Neg4294967296_ssa(9223372036854775807); got != -2147483647 { 5203 fmt.Printf("div_int64 9223372036854775807%s-4294967296 = %d, wanted -2147483647\n", `/`, got) 5204 failed = true 5205 } 5206 5207 if got := div_Neg1_int64_ssa(-9223372036854775808); got != 0 { 5208 fmt.Printf("div_int64 -1%s-9223372036854775808 = %d, wanted 0\n", `/`, got) 5209 failed = true 5210 } 5211 5212 if got := div_int64_Neg1_ssa(-9223372036854775808); got != -9223372036854775808 { 5213 fmt.Printf("div_int64 -9223372036854775808%s-1 = %d, wanted -9223372036854775808\n", `/`, got) 5214 failed = true 5215 } 5216 5217 if got := div_Neg1_int64_ssa(-9223372036854775807); got != 0 { 5218 fmt.Printf("div_int64 -1%s-9223372036854775807 = %d, wanted 0\n", `/`, got) 5219 failed = true 5220 } 5221 5222 if got := div_int64_Neg1_ssa(-9223372036854775807); got != 9223372036854775807 { 5223 fmt.Printf("div_int64 -9223372036854775807%s-1 = %d, wanted 9223372036854775807\n", `/`, got) 5224 failed = true 5225 } 5226 5227 if got := div_Neg1_int64_ssa(-4294967296); got != 0 { 5228 fmt.Printf("div_int64 -1%s-4294967296 = %d, wanted 0\n", `/`, got) 5229 failed = true 5230 } 5231 5232 if got := div_int64_Neg1_ssa(-4294967296); got != 4294967296 { 5233 fmt.Printf("div_int64 -4294967296%s-1 = %d, wanted 4294967296\n", `/`, got) 5234 failed = true 5235 } 5236 5237 if got := div_Neg1_int64_ssa(-1); got != 1 { 5238 fmt.Printf("div_int64 -1%s-1 = %d, wanted 1\n", `/`, got) 5239 failed = true 5240 } 5241 5242 if got := div_int64_Neg1_ssa(-1); got != 1 { 5243 fmt.Printf("div_int64 -1%s-1 = %d, wanted 1\n", `/`, got) 5244 failed = true 5245 } 5246 5247 if got := div_int64_Neg1_ssa(0); got != 0 { 5248 fmt.Printf("div_int64 0%s-1 = %d, wanted 0\n", `/`, got) 5249 failed = true 5250 } 5251 5252 if got := div_Neg1_int64_ssa(1); got != -1 { 5253 fmt.Printf("div_int64 -1%s1 = %d, wanted -1\n", `/`, got) 5254 failed = true 5255 } 5256 5257 if got := div_int64_Neg1_ssa(1); got != -1 { 5258 fmt.Printf("div_int64 1%s-1 = %d, wanted -1\n", `/`, got) 5259 failed = true 5260 } 5261 5262 if got := div_Neg1_int64_ssa(4294967296); got != 0 { 5263 fmt.Printf("div_int64 -1%s4294967296 = %d, wanted 0\n", `/`, got) 5264 failed = true 5265 } 5266 5267 if got := div_int64_Neg1_ssa(4294967296); got != -4294967296 { 5268 fmt.Printf("div_int64 4294967296%s-1 = %d, wanted -4294967296\n", `/`, got) 5269 failed = true 5270 } 5271 5272 if got := div_Neg1_int64_ssa(9223372036854775806); got != 0 { 5273 fmt.Printf("div_int64 -1%s9223372036854775806 = %d, wanted 0\n", `/`, got) 5274 failed = true 5275 } 5276 5277 if got := div_int64_Neg1_ssa(9223372036854775806); got != -9223372036854775806 { 5278 fmt.Printf("div_int64 9223372036854775806%s-1 = %d, wanted -9223372036854775806\n", `/`, got) 5279 failed = true 5280 } 5281 5282 if got := div_Neg1_int64_ssa(9223372036854775807); got != 0 { 5283 fmt.Printf("div_int64 -1%s9223372036854775807 = %d, wanted 0\n", `/`, got) 5284 failed = true 5285 } 5286 5287 if got := div_int64_Neg1_ssa(9223372036854775807); got != -9223372036854775807 { 5288 fmt.Printf("div_int64 9223372036854775807%s-1 = %d, wanted -9223372036854775807\n", `/`, got) 5289 failed = true 5290 } 5291 5292 if got := div_0_int64_ssa(-9223372036854775808); got != 0 { 5293 fmt.Printf("div_int64 0%s-9223372036854775808 = %d, wanted 0\n", `/`, got) 5294 failed = true 5295 } 5296 5297 if got := div_0_int64_ssa(-9223372036854775807); got != 0 { 5298 fmt.Printf("div_int64 0%s-9223372036854775807 = %d, wanted 0\n", `/`, got) 5299 failed = true 5300 } 5301 5302 if got := div_0_int64_ssa(-4294967296); got != 0 { 5303 fmt.Printf("div_int64 0%s-4294967296 = %d, wanted 0\n", `/`, got) 5304 failed = true 5305 } 5306 5307 if got := div_0_int64_ssa(-1); got != 0 { 5308 fmt.Printf("div_int64 0%s-1 = %d, wanted 0\n", `/`, got) 5309 failed = true 5310 } 5311 5312 if got := div_0_int64_ssa(1); got != 0 { 5313 fmt.Printf("div_int64 0%s1 = %d, wanted 0\n", `/`, got) 5314 failed = true 5315 } 5316 5317 if got := div_0_int64_ssa(4294967296); got != 0 { 5318 fmt.Printf("div_int64 0%s4294967296 = %d, wanted 0\n", `/`, got) 5319 failed = true 5320 } 5321 5322 if got := div_0_int64_ssa(9223372036854775806); got != 0 { 5323 fmt.Printf("div_int64 0%s9223372036854775806 = %d, wanted 0\n", `/`, got) 5324 failed = true 5325 } 5326 5327 if got := div_0_int64_ssa(9223372036854775807); got != 0 { 5328 fmt.Printf("div_int64 0%s9223372036854775807 = %d, wanted 0\n", `/`, got) 5329 failed = true 5330 } 5331 5332 if got := div_1_int64_ssa(-9223372036854775808); got != 0 { 5333 fmt.Printf("div_int64 1%s-9223372036854775808 = %d, wanted 0\n", `/`, got) 5334 failed = true 5335 } 5336 5337 if got := div_int64_1_ssa(-9223372036854775808); got != -9223372036854775808 { 5338 fmt.Printf("div_int64 -9223372036854775808%s1 = %d, wanted -9223372036854775808\n", `/`, got) 5339 failed = true 5340 } 5341 5342 if got := div_1_int64_ssa(-9223372036854775807); got != 0 { 5343 fmt.Printf("div_int64 1%s-9223372036854775807 = %d, wanted 0\n", `/`, got) 5344 failed = true 5345 } 5346 5347 if got := div_int64_1_ssa(-9223372036854775807); got != -9223372036854775807 { 5348 fmt.Printf("div_int64 -9223372036854775807%s1 = %d, wanted -9223372036854775807\n", `/`, got) 5349 failed = true 5350 } 5351 5352 if got := div_1_int64_ssa(-4294967296); got != 0 { 5353 fmt.Printf("div_int64 1%s-4294967296 = %d, wanted 0\n", `/`, got) 5354 failed = true 5355 } 5356 5357 if got := div_int64_1_ssa(-4294967296); got != -4294967296 { 5358 fmt.Printf("div_int64 -4294967296%s1 = %d, wanted -4294967296\n", `/`, got) 5359 failed = true 5360 } 5361 5362 if got := div_1_int64_ssa(-1); got != -1 { 5363 fmt.Printf("div_int64 1%s-1 = %d, wanted -1\n", `/`, got) 5364 failed = true 5365 } 5366 5367 if got := div_int64_1_ssa(-1); got != -1 { 5368 fmt.Printf("div_int64 -1%s1 = %d, wanted -1\n", `/`, got) 5369 failed = true 5370 } 5371 5372 if got := div_int64_1_ssa(0); got != 0 { 5373 fmt.Printf("div_int64 0%s1 = %d, wanted 0\n", `/`, got) 5374 failed = true 5375 } 5376 5377 if got := div_1_int64_ssa(1); got != 1 { 5378 fmt.Printf("div_int64 1%s1 = %d, wanted 1\n", `/`, got) 5379 failed = true 5380 } 5381 5382 if got := div_int64_1_ssa(1); got != 1 { 5383 fmt.Printf("div_int64 1%s1 = %d, wanted 1\n", `/`, got) 5384 failed = true 5385 } 5386 5387 if got := div_1_int64_ssa(4294967296); got != 0 { 5388 fmt.Printf("div_int64 1%s4294967296 = %d, wanted 0\n", `/`, got) 5389 failed = true 5390 } 5391 5392 if got := div_int64_1_ssa(4294967296); got != 4294967296 { 5393 fmt.Printf("div_int64 4294967296%s1 = %d, wanted 4294967296\n", `/`, got) 5394 failed = true 5395 } 5396 5397 if got := div_1_int64_ssa(9223372036854775806); got != 0 { 5398 fmt.Printf("div_int64 1%s9223372036854775806 = %d, wanted 0\n", `/`, got) 5399 failed = true 5400 } 5401 5402 if got := div_int64_1_ssa(9223372036854775806); got != 9223372036854775806 { 5403 fmt.Printf("div_int64 9223372036854775806%s1 = %d, wanted 9223372036854775806\n", `/`, got) 5404 failed = true 5405 } 5406 5407 if got := div_1_int64_ssa(9223372036854775807); got != 0 { 5408 fmt.Printf("div_int64 1%s9223372036854775807 = %d, wanted 0\n", `/`, got) 5409 failed = true 5410 } 5411 5412 if got := div_int64_1_ssa(9223372036854775807); got != 9223372036854775807 { 5413 fmt.Printf("div_int64 9223372036854775807%s1 = %d, wanted 9223372036854775807\n", `/`, got) 5414 failed = true 5415 } 5416 5417 if got := div_4294967296_int64_ssa(-9223372036854775808); got != 0 { 5418 fmt.Printf("div_int64 4294967296%s-9223372036854775808 = %d, wanted 0\n", `/`, got) 5419 failed = true 5420 } 5421 5422 if got := div_int64_4294967296_ssa(-9223372036854775808); got != -2147483648 { 5423 fmt.Printf("div_int64 -9223372036854775808%s4294967296 = %d, wanted -2147483648\n", `/`, got) 5424 failed = true 5425 } 5426 5427 if got := div_4294967296_int64_ssa(-9223372036854775807); got != 0 { 5428 fmt.Printf("div_int64 4294967296%s-9223372036854775807 = %d, wanted 0\n", `/`, got) 5429 failed = true 5430 } 5431 5432 if got := div_int64_4294967296_ssa(-9223372036854775807); got != -2147483647 { 5433 fmt.Printf("div_int64 -9223372036854775807%s4294967296 = %d, wanted -2147483647\n", `/`, got) 5434 failed = true 5435 } 5436 5437 if got := div_4294967296_int64_ssa(-4294967296); got != -1 { 5438 fmt.Printf("div_int64 4294967296%s-4294967296 = %d, wanted -1\n", `/`, got) 5439 failed = true 5440 } 5441 5442 if got := div_int64_4294967296_ssa(-4294967296); got != -1 { 5443 fmt.Printf("div_int64 -4294967296%s4294967296 = %d, wanted -1\n", `/`, got) 5444 failed = true 5445 } 5446 5447 if got := div_4294967296_int64_ssa(-1); got != -4294967296 { 5448 fmt.Printf("div_int64 4294967296%s-1 = %d, wanted -4294967296\n", `/`, got) 5449 failed = true 5450 } 5451 5452 if got := div_int64_4294967296_ssa(-1); got != 0 { 5453 fmt.Printf("div_int64 -1%s4294967296 = %d, wanted 0\n", `/`, got) 5454 failed = true 5455 } 5456 5457 if got := div_int64_4294967296_ssa(0); got != 0 { 5458 fmt.Printf("div_int64 0%s4294967296 = %d, wanted 0\n", `/`, got) 5459 failed = true 5460 } 5461 5462 if got := div_4294967296_int64_ssa(1); got != 4294967296 { 5463 fmt.Printf("div_int64 4294967296%s1 = %d, wanted 4294967296\n", `/`, got) 5464 failed = true 5465 } 5466 5467 if got := div_int64_4294967296_ssa(1); got != 0 { 5468 fmt.Printf("div_int64 1%s4294967296 = %d, wanted 0\n", `/`, got) 5469 failed = true 5470 } 5471 5472 if got := div_4294967296_int64_ssa(4294967296); got != 1 { 5473 fmt.Printf("div_int64 4294967296%s4294967296 = %d, wanted 1\n", `/`, got) 5474 failed = true 5475 } 5476 5477 if got := div_int64_4294967296_ssa(4294967296); got != 1 { 5478 fmt.Printf("div_int64 4294967296%s4294967296 = %d, wanted 1\n", `/`, got) 5479 failed = true 5480 } 5481 5482 if got := div_4294967296_int64_ssa(9223372036854775806); got != 0 { 5483 fmt.Printf("div_int64 4294967296%s9223372036854775806 = %d, wanted 0\n", `/`, got) 5484 failed = true 5485 } 5486 5487 if got := div_int64_4294967296_ssa(9223372036854775806); got != 2147483647 { 5488 fmt.Printf("div_int64 9223372036854775806%s4294967296 = %d, wanted 2147483647\n", `/`, got) 5489 failed = true 5490 } 5491 5492 if got := div_4294967296_int64_ssa(9223372036854775807); got != 0 { 5493 fmt.Printf("div_int64 4294967296%s9223372036854775807 = %d, wanted 0\n", `/`, got) 5494 failed = true 5495 } 5496 5497 if got := div_int64_4294967296_ssa(9223372036854775807); got != 2147483647 { 5498 fmt.Printf("div_int64 9223372036854775807%s4294967296 = %d, wanted 2147483647\n", `/`, got) 5499 failed = true 5500 } 5501 5502 if got := div_9223372036854775806_int64_ssa(-9223372036854775808); got != 0 { 5503 fmt.Printf("div_int64 9223372036854775806%s-9223372036854775808 = %d, wanted 0\n", `/`, got) 5504 failed = true 5505 } 5506 5507 if got := div_int64_9223372036854775806_ssa(-9223372036854775808); got != -1 { 5508 fmt.Printf("div_int64 -9223372036854775808%s9223372036854775806 = %d, wanted -1\n", `/`, got) 5509 failed = true 5510 } 5511 5512 if got := div_9223372036854775806_int64_ssa(-9223372036854775807); got != 0 { 5513 fmt.Printf("div_int64 9223372036854775806%s-9223372036854775807 = %d, wanted 0\n", `/`, got) 5514 failed = true 5515 } 5516 5517 if got := div_int64_9223372036854775806_ssa(-9223372036854775807); got != -1 { 5518 fmt.Printf("div_int64 -9223372036854775807%s9223372036854775806 = %d, wanted -1\n", `/`, got) 5519 failed = true 5520 } 5521 5522 if got := div_9223372036854775806_int64_ssa(-4294967296); got != -2147483647 { 5523 fmt.Printf("div_int64 9223372036854775806%s-4294967296 = %d, wanted -2147483647\n", `/`, got) 5524 failed = true 5525 } 5526 5527 if got := div_int64_9223372036854775806_ssa(-4294967296); got != 0 { 5528 fmt.Printf("div_int64 -4294967296%s9223372036854775806 = %d, wanted 0\n", `/`, got) 5529 failed = true 5530 } 5531 5532 if got := div_9223372036854775806_int64_ssa(-1); got != -9223372036854775806 { 5533 fmt.Printf("div_int64 9223372036854775806%s-1 = %d, wanted -9223372036854775806\n", `/`, got) 5534 failed = true 5535 } 5536 5537 if got := div_int64_9223372036854775806_ssa(-1); got != 0 { 5538 fmt.Printf("div_int64 -1%s9223372036854775806 = %d, wanted 0\n", `/`, got) 5539 failed = true 5540 } 5541 5542 if got := div_int64_9223372036854775806_ssa(0); got != 0 { 5543 fmt.Printf("div_int64 0%s9223372036854775806 = %d, wanted 0\n", `/`, got) 5544 failed = true 5545 } 5546 5547 if got := div_9223372036854775806_int64_ssa(1); got != 9223372036854775806 { 5548 fmt.Printf("div_int64 9223372036854775806%s1 = %d, wanted 9223372036854775806\n", `/`, got) 5549 failed = true 5550 } 5551 5552 if got := div_int64_9223372036854775806_ssa(1); got != 0 { 5553 fmt.Printf("div_int64 1%s9223372036854775806 = %d, wanted 0\n", `/`, got) 5554 failed = true 5555 } 5556 5557 if got := div_9223372036854775806_int64_ssa(4294967296); got != 2147483647 { 5558 fmt.Printf("div_int64 9223372036854775806%s4294967296 = %d, wanted 2147483647\n", `/`, got) 5559 failed = true 5560 } 5561 5562 if got := div_int64_9223372036854775806_ssa(4294967296); got != 0 { 5563 fmt.Printf("div_int64 4294967296%s9223372036854775806 = %d, wanted 0\n", `/`, got) 5564 failed = true 5565 } 5566 5567 if got := div_9223372036854775806_int64_ssa(9223372036854775806); got != 1 { 5568 fmt.Printf("div_int64 9223372036854775806%s9223372036854775806 = %d, wanted 1\n", `/`, got) 5569 failed = true 5570 } 5571 5572 if got := div_int64_9223372036854775806_ssa(9223372036854775806); got != 1 { 5573 fmt.Printf("div_int64 9223372036854775806%s9223372036854775806 = %d, wanted 1\n", `/`, got) 5574 failed = true 5575 } 5576 5577 if got := div_9223372036854775806_int64_ssa(9223372036854775807); got != 0 { 5578 fmt.Printf("div_int64 9223372036854775806%s9223372036854775807 = %d, wanted 0\n", `/`, got) 5579 failed = true 5580 } 5581 5582 if got := div_int64_9223372036854775806_ssa(9223372036854775807); got != 1 { 5583 fmt.Printf("div_int64 9223372036854775807%s9223372036854775806 = %d, wanted 1\n", `/`, got) 5584 failed = true 5585 } 5586 5587 if got := div_9223372036854775807_int64_ssa(-9223372036854775808); got != 0 { 5588 fmt.Printf("div_int64 9223372036854775807%s-9223372036854775808 = %d, wanted 0\n", `/`, got) 5589 failed = true 5590 } 5591 5592 if got := div_int64_9223372036854775807_ssa(-9223372036854775808); got != -1 { 5593 fmt.Printf("div_int64 -9223372036854775808%s9223372036854775807 = %d, wanted -1\n", `/`, got) 5594 failed = true 5595 } 5596 5597 if got := div_9223372036854775807_int64_ssa(-9223372036854775807); got != -1 { 5598 fmt.Printf("div_int64 9223372036854775807%s-9223372036854775807 = %d, wanted -1\n", `/`, got) 5599 failed = true 5600 } 5601 5602 if got := div_int64_9223372036854775807_ssa(-9223372036854775807); got != -1 { 5603 fmt.Printf("div_int64 -9223372036854775807%s9223372036854775807 = %d, wanted -1\n", `/`, got) 5604 failed = true 5605 } 5606 5607 if got := div_9223372036854775807_int64_ssa(-4294967296); got != -2147483647 { 5608 fmt.Printf("div_int64 9223372036854775807%s-4294967296 = %d, wanted -2147483647\n", `/`, got) 5609 failed = true 5610 } 5611 5612 if got := div_int64_9223372036854775807_ssa(-4294967296); got != 0 { 5613 fmt.Printf("div_int64 -4294967296%s9223372036854775807 = %d, wanted 0\n", `/`, got) 5614 failed = true 5615 } 5616 5617 if got := div_9223372036854775807_int64_ssa(-1); got != -9223372036854775807 { 5618 fmt.Printf("div_int64 9223372036854775807%s-1 = %d, wanted -9223372036854775807\n", `/`, got) 5619 failed = true 5620 } 5621 5622 if got := div_int64_9223372036854775807_ssa(-1); got != 0 { 5623 fmt.Printf("div_int64 -1%s9223372036854775807 = %d, wanted 0\n", `/`, got) 5624 failed = true 5625 } 5626 5627 if got := div_int64_9223372036854775807_ssa(0); got != 0 { 5628 fmt.Printf("div_int64 0%s9223372036854775807 = %d, wanted 0\n", `/`, got) 5629 failed = true 5630 } 5631 5632 if got := div_9223372036854775807_int64_ssa(1); got != 9223372036854775807 { 5633 fmt.Printf("div_int64 9223372036854775807%s1 = %d, wanted 9223372036854775807\n", `/`, got) 5634 failed = true 5635 } 5636 5637 if got := div_int64_9223372036854775807_ssa(1); got != 0 { 5638 fmt.Printf("div_int64 1%s9223372036854775807 = %d, wanted 0\n", `/`, got) 5639 failed = true 5640 } 5641 5642 if got := div_9223372036854775807_int64_ssa(4294967296); got != 2147483647 { 5643 fmt.Printf("div_int64 9223372036854775807%s4294967296 = %d, wanted 2147483647\n", `/`, got) 5644 failed = true 5645 } 5646 5647 if got := div_int64_9223372036854775807_ssa(4294967296); got != 0 { 5648 fmt.Printf("div_int64 4294967296%s9223372036854775807 = %d, wanted 0\n", `/`, got) 5649 failed = true 5650 } 5651 5652 if got := div_9223372036854775807_int64_ssa(9223372036854775806); got != 1 { 5653 fmt.Printf("div_int64 9223372036854775807%s9223372036854775806 = %d, wanted 1\n", `/`, got) 5654 failed = true 5655 } 5656 5657 if got := div_int64_9223372036854775807_ssa(9223372036854775806); got != 0 { 5658 fmt.Printf("div_int64 9223372036854775806%s9223372036854775807 = %d, wanted 0\n", `/`, got) 5659 failed = true 5660 } 5661 5662 if got := div_9223372036854775807_int64_ssa(9223372036854775807); got != 1 { 5663 fmt.Printf("div_int64 9223372036854775807%s9223372036854775807 = %d, wanted 1\n", `/`, got) 5664 failed = true 5665 } 5666 5667 if got := div_int64_9223372036854775807_ssa(9223372036854775807); got != 1 { 5668 fmt.Printf("div_int64 9223372036854775807%s9223372036854775807 = %d, wanted 1\n", `/`, got) 5669 failed = true 5670 } 5671 5672 if got := mul_Neg9223372036854775808_int64_ssa(-9223372036854775808); got != 0 { 5673 fmt.Printf("mul_int64 -9223372036854775808%s-9223372036854775808 = %d, wanted 0\n", `*`, got) 5674 failed = true 5675 } 5676 5677 if got := mul_int64_Neg9223372036854775808_ssa(-9223372036854775808); got != 0 { 5678 fmt.Printf("mul_int64 -9223372036854775808%s-9223372036854775808 = %d, wanted 0\n", `*`, got) 5679 failed = true 5680 } 5681 5682 if got := mul_Neg9223372036854775808_int64_ssa(-9223372036854775807); got != -9223372036854775808 { 5683 fmt.Printf("mul_int64 -9223372036854775808%s-9223372036854775807 = %d, wanted -9223372036854775808\n", `*`, got) 5684 failed = true 5685 } 5686 5687 if got := mul_int64_Neg9223372036854775808_ssa(-9223372036854775807); got != -9223372036854775808 { 5688 fmt.Printf("mul_int64 -9223372036854775807%s-9223372036854775808 = %d, wanted -9223372036854775808\n", `*`, got) 5689 failed = true 5690 } 5691 5692 if got := mul_Neg9223372036854775808_int64_ssa(-4294967296); got != 0 { 5693 fmt.Printf("mul_int64 -9223372036854775808%s-4294967296 = %d, wanted 0\n", `*`, got) 5694 failed = true 5695 } 5696 5697 if got := mul_int64_Neg9223372036854775808_ssa(-4294967296); got != 0 { 5698 fmt.Printf("mul_int64 -4294967296%s-9223372036854775808 = %d, wanted 0\n", `*`, got) 5699 failed = true 5700 } 5701 5702 if got := mul_Neg9223372036854775808_int64_ssa(-1); got != -9223372036854775808 { 5703 fmt.Printf("mul_int64 -9223372036854775808%s-1 = %d, wanted -9223372036854775808\n", `*`, got) 5704 failed = true 5705 } 5706 5707 if got := mul_int64_Neg9223372036854775808_ssa(-1); got != -9223372036854775808 { 5708 fmt.Printf("mul_int64 -1%s-9223372036854775808 = %d, wanted -9223372036854775808\n", `*`, got) 5709 failed = true 5710 } 5711 5712 if got := mul_Neg9223372036854775808_int64_ssa(0); got != 0 { 5713 fmt.Printf("mul_int64 -9223372036854775808%s0 = %d, wanted 0\n", `*`, got) 5714 failed = true 5715 } 5716 5717 if got := mul_int64_Neg9223372036854775808_ssa(0); got != 0 { 5718 fmt.Printf("mul_int64 0%s-9223372036854775808 = %d, wanted 0\n", `*`, got) 5719 failed = true 5720 } 5721 5722 if got := mul_Neg9223372036854775808_int64_ssa(1); got != -9223372036854775808 { 5723 fmt.Printf("mul_int64 -9223372036854775808%s1 = %d, wanted -9223372036854775808\n", `*`, got) 5724 failed = true 5725 } 5726 5727 if got := mul_int64_Neg9223372036854775808_ssa(1); got != -9223372036854775808 { 5728 fmt.Printf("mul_int64 1%s-9223372036854775808 = %d, wanted -9223372036854775808\n", `*`, got) 5729 failed = true 5730 } 5731 5732 if got := mul_Neg9223372036854775808_int64_ssa(4294967296); got != 0 { 5733 fmt.Printf("mul_int64 -9223372036854775808%s4294967296 = %d, wanted 0\n", `*`, got) 5734 failed = true 5735 } 5736 5737 if got := mul_int64_Neg9223372036854775808_ssa(4294967296); got != 0 { 5738 fmt.Printf("mul_int64 4294967296%s-9223372036854775808 = %d, wanted 0\n", `*`, got) 5739 failed = true 5740 } 5741 5742 if got := mul_Neg9223372036854775808_int64_ssa(9223372036854775806); got != 0 { 5743 fmt.Printf("mul_int64 -9223372036854775808%s9223372036854775806 = %d, wanted 0\n", `*`, got) 5744 failed = true 5745 } 5746 5747 if got := mul_int64_Neg9223372036854775808_ssa(9223372036854775806); got != 0 { 5748 fmt.Printf("mul_int64 9223372036854775806%s-9223372036854775808 = %d, wanted 0\n", `*`, got) 5749 failed = true 5750 } 5751 5752 if got := mul_Neg9223372036854775808_int64_ssa(9223372036854775807); got != -9223372036854775808 { 5753 fmt.Printf("mul_int64 -9223372036854775808%s9223372036854775807 = %d, wanted -9223372036854775808\n", `*`, got) 5754 failed = true 5755 } 5756 5757 if got := mul_int64_Neg9223372036854775808_ssa(9223372036854775807); got != -9223372036854775808 { 5758 fmt.Printf("mul_int64 9223372036854775807%s-9223372036854775808 = %d, wanted -9223372036854775808\n", `*`, got) 5759 failed = true 5760 } 5761 5762 if got := mul_Neg9223372036854775807_int64_ssa(-9223372036854775808); got != -9223372036854775808 { 5763 fmt.Printf("mul_int64 -9223372036854775807%s-9223372036854775808 = %d, wanted -9223372036854775808\n", `*`, got) 5764 failed = true 5765 } 5766 5767 if got := mul_int64_Neg9223372036854775807_ssa(-9223372036854775808); got != -9223372036854775808 { 5768 fmt.Printf("mul_int64 -9223372036854775808%s-9223372036854775807 = %d, wanted -9223372036854775808\n", `*`, got) 5769 failed = true 5770 } 5771 5772 if got := mul_Neg9223372036854775807_int64_ssa(-9223372036854775807); got != 1 { 5773 fmt.Printf("mul_int64 -9223372036854775807%s-9223372036854775807 = %d, wanted 1\n", `*`, got) 5774 failed = true 5775 } 5776 5777 if got := mul_int64_Neg9223372036854775807_ssa(-9223372036854775807); got != 1 { 5778 fmt.Printf("mul_int64 -9223372036854775807%s-9223372036854775807 = %d, wanted 1\n", `*`, got) 5779 failed = true 5780 } 5781 5782 if got := mul_Neg9223372036854775807_int64_ssa(-4294967296); got != -4294967296 { 5783 fmt.Printf("mul_int64 -9223372036854775807%s-4294967296 = %d, wanted -4294967296\n", `*`, got) 5784 failed = true 5785 } 5786 5787 if got := mul_int64_Neg9223372036854775807_ssa(-4294967296); got != -4294967296 { 5788 fmt.Printf("mul_int64 -4294967296%s-9223372036854775807 = %d, wanted -4294967296\n", `*`, got) 5789 failed = true 5790 } 5791 5792 if got := mul_Neg9223372036854775807_int64_ssa(-1); got != 9223372036854775807 { 5793 fmt.Printf("mul_int64 -9223372036854775807%s-1 = %d, wanted 9223372036854775807\n", `*`, got) 5794 failed = true 5795 } 5796 5797 if got := mul_int64_Neg9223372036854775807_ssa(-1); got != 9223372036854775807 { 5798 fmt.Printf("mul_int64 -1%s-9223372036854775807 = %d, wanted 9223372036854775807\n", `*`, got) 5799 failed = true 5800 } 5801 5802 if got := mul_Neg9223372036854775807_int64_ssa(0); got != 0 { 5803 fmt.Printf("mul_int64 -9223372036854775807%s0 = %d, wanted 0\n", `*`, got) 5804 failed = true 5805 } 5806 5807 if got := mul_int64_Neg9223372036854775807_ssa(0); got != 0 { 5808 fmt.Printf("mul_int64 0%s-9223372036854775807 = %d, wanted 0\n", `*`, got) 5809 failed = true 5810 } 5811 5812 if got := mul_Neg9223372036854775807_int64_ssa(1); got != -9223372036854775807 { 5813 fmt.Printf("mul_int64 -9223372036854775807%s1 = %d, wanted -9223372036854775807\n", `*`, got) 5814 failed = true 5815 } 5816 5817 if got := mul_int64_Neg9223372036854775807_ssa(1); got != -9223372036854775807 { 5818 fmt.Printf("mul_int64 1%s-9223372036854775807 = %d, wanted -9223372036854775807\n", `*`, got) 5819 failed = true 5820 } 5821 5822 if got := mul_Neg9223372036854775807_int64_ssa(4294967296); got != 4294967296 { 5823 fmt.Printf("mul_int64 -9223372036854775807%s4294967296 = %d, wanted 4294967296\n", `*`, got) 5824 failed = true 5825 } 5826 5827 if got := mul_int64_Neg9223372036854775807_ssa(4294967296); got != 4294967296 { 5828 fmt.Printf("mul_int64 4294967296%s-9223372036854775807 = %d, wanted 4294967296\n", `*`, got) 5829 failed = true 5830 } 5831 5832 if got := mul_Neg9223372036854775807_int64_ssa(9223372036854775806); got != 9223372036854775806 { 5833 fmt.Printf("mul_int64 -9223372036854775807%s9223372036854775806 = %d, wanted 9223372036854775806\n", `*`, got) 5834 failed = true 5835 } 5836 5837 if got := mul_int64_Neg9223372036854775807_ssa(9223372036854775806); got != 9223372036854775806 { 5838 fmt.Printf("mul_int64 9223372036854775806%s-9223372036854775807 = %d, wanted 9223372036854775806\n", `*`, got) 5839 failed = true 5840 } 5841 5842 if got := mul_Neg9223372036854775807_int64_ssa(9223372036854775807); got != -1 { 5843 fmt.Printf("mul_int64 -9223372036854775807%s9223372036854775807 = %d, wanted -1\n", `*`, got) 5844 failed = true 5845 } 5846 5847 if got := mul_int64_Neg9223372036854775807_ssa(9223372036854775807); got != -1 { 5848 fmt.Printf("mul_int64 9223372036854775807%s-9223372036854775807 = %d, wanted -1\n", `*`, got) 5849 failed = true 5850 } 5851 5852 if got := mul_Neg4294967296_int64_ssa(-9223372036854775808); got != 0 { 5853 fmt.Printf("mul_int64 -4294967296%s-9223372036854775808 = %d, wanted 0\n", `*`, got) 5854 failed = true 5855 } 5856 5857 if got := mul_int64_Neg4294967296_ssa(-9223372036854775808); got != 0 { 5858 fmt.Printf("mul_int64 -9223372036854775808%s-4294967296 = %d, wanted 0\n", `*`, got) 5859 failed = true 5860 } 5861 5862 if got := mul_Neg4294967296_int64_ssa(-9223372036854775807); got != -4294967296 { 5863 fmt.Printf("mul_int64 -4294967296%s-9223372036854775807 = %d, wanted -4294967296\n", `*`, got) 5864 failed = true 5865 } 5866 5867 if got := mul_int64_Neg4294967296_ssa(-9223372036854775807); got != -4294967296 { 5868 fmt.Printf("mul_int64 -9223372036854775807%s-4294967296 = %d, wanted -4294967296\n", `*`, got) 5869 failed = true 5870 } 5871 5872 if got := mul_Neg4294967296_int64_ssa(-4294967296); got != 0 { 5873 fmt.Printf("mul_int64 -4294967296%s-4294967296 = %d, wanted 0\n", `*`, got) 5874 failed = true 5875 } 5876 5877 if got := mul_int64_Neg4294967296_ssa(-4294967296); got != 0 { 5878 fmt.Printf("mul_int64 -4294967296%s-4294967296 = %d, wanted 0\n", `*`, got) 5879 failed = true 5880 } 5881 5882 if got := mul_Neg4294967296_int64_ssa(-1); got != 4294967296 { 5883 fmt.Printf("mul_int64 -4294967296%s-1 = %d, wanted 4294967296\n", `*`, got) 5884 failed = true 5885 } 5886 5887 if got := mul_int64_Neg4294967296_ssa(-1); got != 4294967296 { 5888 fmt.Printf("mul_int64 -1%s-4294967296 = %d, wanted 4294967296\n", `*`, got) 5889 failed = true 5890 } 5891 5892 if got := mul_Neg4294967296_int64_ssa(0); got != 0 { 5893 fmt.Printf("mul_int64 -4294967296%s0 = %d, wanted 0\n", `*`, got) 5894 failed = true 5895 } 5896 5897 if got := mul_int64_Neg4294967296_ssa(0); got != 0 { 5898 fmt.Printf("mul_int64 0%s-4294967296 = %d, wanted 0\n", `*`, got) 5899 failed = true 5900 } 5901 5902 if got := mul_Neg4294967296_int64_ssa(1); got != -4294967296 { 5903 fmt.Printf("mul_int64 -4294967296%s1 = %d, wanted -4294967296\n", `*`, got) 5904 failed = true 5905 } 5906 5907 if got := mul_int64_Neg4294967296_ssa(1); got != -4294967296 { 5908 fmt.Printf("mul_int64 1%s-4294967296 = %d, wanted -4294967296\n", `*`, got) 5909 failed = true 5910 } 5911 5912 if got := mul_Neg4294967296_int64_ssa(4294967296); got != 0 { 5913 fmt.Printf("mul_int64 -4294967296%s4294967296 = %d, wanted 0\n", `*`, got) 5914 failed = true 5915 } 5916 5917 if got := mul_int64_Neg4294967296_ssa(4294967296); got != 0 { 5918 fmt.Printf("mul_int64 4294967296%s-4294967296 = %d, wanted 0\n", `*`, got) 5919 failed = true 5920 } 5921 5922 if got := mul_Neg4294967296_int64_ssa(9223372036854775806); got != 8589934592 { 5923 fmt.Printf("mul_int64 -4294967296%s9223372036854775806 = %d, wanted 8589934592\n", `*`, got) 5924 failed = true 5925 } 5926 5927 if got := mul_int64_Neg4294967296_ssa(9223372036854775806); got != 8589934592 { 5928 fmt.Printf("mul_int64 9223372036854775806%s-4294967296 = %d, wanted 8589934592\n", `*`, got) 5929 failed = true 5930 } 5931 5932 if got := mul_Neg4294967296_int64_ssa(9223372036854775807); got != 4294967296 { 5933 fmt.Printf("mul_int64 -4294967296%s9223372036854775807 = %d, wanted 4294967296\n", `*`, got) 5934 failed = true 5935 } 5936 5937 if got := mul_int64_Neg4294967296_ssa(9223372036854775807); got != 4294967296 { 5938 fmt.Printf("mul_int64 9223372036854775807%s-4294967296 = %d, wanted 4294967296\n", `*`, got) 5939 failed = true 5940 } 5941 5942 if got := mul_Neg1_int64_ssa(-9223372036854775808); got != -9223372036854775808 { 5943 fmt.Printf("mul_int64 -1%s-9223372036854775808 = %d, wanted -9223372036854775808\n", `*`, got) 5944 failed = true 5945 } 5946 5947 if got := mul_int64_Neg1_ssa(-9223372036854775808); got != -9223372036854775808 { 5948 fmt.Printf("mul_int64 -9223372036854775808%s-1 = %d, wanted -9223372036854775808\n", `*`, got) 5949 failed = true 5950 } 5951 5952 if got := mul_Neg1_int64_ssa(-9223372036854775807); got != 9223372036854775807 { 5953 fmt.Printf("mul_int64 -1%s-9223372036854775807 = %d, wanted 9223372036854775807\n", `*`, got) 5954 failed = true 5955 } 5956 5957 if got := mul_int64_Neg1_ssa(-9223372036854775807); got != 9223372036854775807 { 5958 fmt.Printf("mul_int64 -9223372036854775807%s-1 = %d, wanted 9223372036854775807\n", `*`, got) 5959 failed = true 5960 } 5961 5962 if got := mul_Neg1_int64_ssa(-4294967296); got != 4294967296 { 5963 fmt.Printf("mul_int64 -1%s-4294967296 = %d, wanted 4294967296\n", `*`, got) 5964 failed = true 5965 } 5966 5967 if got := mul_int64_Neg1_ssa(-4294967296); got != 4294967296 { 5968 fmt.Printf("mul_int64 -4294967296%s-1 = %d, wanted 4294967296\n", `*`, got) 5969 failed = true 5970 } 5971 5972 if got := mul_Neg1_int64_ssa(-1); got != 1 { 5973 fmt.Printf("mul_int64 -1%s-1 = %d, wanted 1\n", `*`, got) 5974 failed = true 5975 } 5976 5977 if got := mul_int64_Neg1_ssa(-1); got != 1 { 5978 fmt.Printf("mul_int64 -1%s-1 = %d, wanted 1\n", `*`, got) 5979 failed = true 5980 } 5981 5982 if got := mul_Neg1_int64_ssa(0); got != 0 { 5983 fmt.Printf("mul_int64 -1%s0 = %d, wanted 0\n", `*`, got) 5984 failed = true 5985 } 5986 5987 if got := mul_int64_Neg1_ssa(0); got != 0 { 5988 fmt.Printf("mul_int64 0%s-1 = %d, wanted 0\n", `*`, got) 5989 failed = true 5990 } 5991 5992 if got := mul_Neg1_int64_ssa(1); got != -1 { 5993 fmt.Printf("mul_int64 -1%s1 = %d, wanted -1\n", `*`, got) 5994 failed = true 5995 } 5996 5997 if got := mul_int64_Neg1_ssa(1); got != -1 { 5998 fmt.Printf("mul_int64 1%s-1 = %d, wanted -1\n", `*`, got) 5999 failed = true 6000 } 6001 6002 if got := mul_Neg1_int64_ssa(4294967296); got != -4294967296 { 6003 fmt.Printf("mul_int64 -1%s4294967296 = %d, wanted -4294967296\n", `*`, got) 6004 failed = true 6005 } 6006 6007 if got := mul_int64_Neg1_ssa(4294967296); got != -4294967296 { 6008 fmt.Printf("mul_int64 4294967296%s-1 = %d, wanted -4294967296\n", `*`, got) 6009 failed = true 6010 } 6011 6012 if got := mul_Neg1_int64_ssa(9223372036854775806); got != -9223372036854775806 { 6013 fmt.Printf("mul_int64 -1%s9223372036854775806 = %d, wanted -9223372036854775806\n", `*`, got) 6014 failed = true 6015 } 6016 6017 if got := mul_int64_Neg1_ssa(9223372036854775806); got != -9223372036854775806 { 6018 fmt.Printf("mul_int64 9223372036854775806%s-1 = %d, wanted -9223372036854775806\n", `*`, got) 6019 failed = true 6020 } 6021 6022 if got := mul_Neg1_int64_ssa(9223372036854775807); got != -9223372036854775807 { 6023 fmt.Printf("mul_int64 -1%s9223372036854775807 = %d, wanted -9223372036854775807\n", `*`, got) 6024 failed = true 6025 } 6026 6027 if got := mul_int64_Neg1_ssa(9223372036854775807); got != -9223372036854775807 { 6028 fmt.Printf("mul_int64 9223372036854775807%s-1 = %d, wanted -9223372036854775807\n", `*`, got) 6029 failed = true 6030 } 6031 6032 if got := mul_0_int64_ssa(-9223372036854775808); got != 0 { 6033 fmt.Printf("mul_int64 0%s-9223372036854775808 = %d, wanted 0\n", `*`, got) 6034 failed = true 6035 } 6036 6037 if got := mul_int64_0_ssa(-9223372036854775808); got != 0 { 6038 fmt.Printf("mul_int64 -9223372036854775808%s0 = %d, wanted 0\n", `*`, got) 6039 failed = true 6040 } 6041 6042 if got := mul_0_int64_ssa(-9223372036854775807); got != 0 { 6043 fmt.Printf("mul_int64 0%s-9223372036854775807 = %d, wanted 0\n", `*`, got) 6044 failed = true 6045 } 6046 6047 if got := mul_int64_0_ssa(-9223372036854775807); got != 0 { 6048 fmt.Printf("mul_int64 -9223372036854775807%s0 = %d, wanted 0\n", `*`, got) 6049 failed = true 6050 } 6051 6052 if got := mul_0_int64_ssa(-4294967296); got != 0 { 6053 fmt.Printf("mul_int64 0%s-4294967296 = %d, wanted 0\n", `*`, got) 6054 failed = true 6055 } 6056 6057 if got := mul_int64_0_ssa(-4294967296); got != 0 { 6058 fmt.Printf("mul_int64 -4294967296%s0 = %d, wanted 0\n", `*`, got) 6059 failed = true 6060 } 6061 6062 if got := mul_0_int64_ssa(-1); got != 0 { 6063 fmt.Printf("mul_int64 0%s-1 = %d, wanted 0\n", `*`, got) 6064 failed = true 6065 } 6066 6067 if got := mul_int64_0_ssa(-1); got != 0 { 6068 fmt.Printf("mul_int64 -1%s0 = %d, wanted 0\n", `*`, got) 6069 failed = true 6070 } 6071 6072 if got := mul_0_int64_ssa(0); got != 0 { 6073 fmt.Printf("mul_int64 0%s0 = %d, wanted 0\n", `*`, got) 6074 failed = true 6075 } 6076 6077 if got := mul_int64_0_ssa(0); got != 0 { 6078 fmt.Printf("mul_int64 0%s0 = %d, wanted 0\n", `*`, got) 6079 failed = true 6080 } 6081 6082 if got := mul_0_int64_ssa(1); got != 0 { 6083 fmt.Printf("mul_int64 0%s1 = %d, wanted 0\n", `*`, got) 6084 failed = true 6085 } 6086 6087 if got := mul_int64_0_ssa(1); got != 0 { 6088 fmt.Printf("mul_int64 1%s0 = %d, wanted 0\n", `*`, got) 6089 failed = true 6090 } 6091 6092 if got := mul_0_int64_ssa(4294967296); got != 0 { 6093 fmt.Printf("mul_int64 0%s4294967296 = %d, wanted 0\n", `*`, got) 6094 failed = true 6095 } 6096 6097 if got := mul_int64_0_ssa(4294967296); got != 0 { 6098 fmt.Printf("mul_int64 4294967296%s0 = %d, wanted 0\n", `*`, got) 6099 failed = true 6100 } 6101 6102 if got := mul_0_int64_ssa(9223372036854775806); got != 0 { 6103 fmt.Printf("mul_int64 0%s9223372036854775806 = %d, wanted 0\n", `*`, got) 6104 failed = true 6105 } 6106 6107 if got := mul_int64_0_ssa(9223372036854775806); got != 0 { 6108 fmt.Printf("mul_int64 9223372036854775806%s0 = %d, wanted 0\n", `*`, got) 6109 failed = true 6110 } 6111 6112 if got := mul_0_int64_ssa(9223372036854775807); got != 0 { 6113 fmt.Printf("mul_int64 0%s9223372036854775807 = %d, wanted 0\n", `*`, got) 6114 failed = true 6115 } 6116 6117 if got := mul_int64_0_ssa(9223372036854775807); got != 0 { 6118 fmt.Printf("mul_int64 9223372036854775807%s0 = %d, wanted 0\n", `*`, got) 6119 failed = true 6120 } 6121 6122 if got := mul_1_int64_ssa(-9223372036854775808); got != -9223372036854775808 { 6123 fmt.Printf("mul_int64 1%s-9223372036854775808 = %d, wanted -9223372036854775808\n", `*`, got) 6124 failed = true 6125 } 6126 6127 if got := mul_int64_1_ssa(-9223372036854775808); got != -9223372036854775808 { 6128 fmt.Printf("mul_int64 -9223372036854775808%s1 = %d, wanted -9223372036854775808\n", `*`, got) 6129 failed = true 6130 } 6131 6132 if got := mul_1_int64_ssa(-9223372036854775807); got != -9223372036854775807 { 6133 fmt.Printf("mul_int64 1%s-9223372036854775807 = %d, wanted -9223372036854775807\n", `*`, got) 6134 failed = true 6135 } 6136 6137 if got := mul_int64_1_ssa(-9223372036854775807); got != -9223372036854775807 { 6138 fmt.Printf("mul_int64 -9223372036854775807%s1 = %d, wanted -9223372036854775807\n", `*`, got) 6139 failed = true 6140 } 6141 6142 if got := mul_1_int64_ssa(-4294967296); got != -4294967296 { 6143 fmt.Printf("mul_int64 1%s-4294967296 = %d, wanted -4294967296\n", `*`, got) 6144 failed = true 6145 } 6146 6147 if got := mul_int64_1_ssa(-4294967296); got != -4294967296 { 6148 fmt.Printf("mul_int64 -4294967296%s1 = %d, wanted -4294967296\n", `*`, got) 6149 failed = true 6150 } 6151 6152 if got := mul_1_int64_ssa(-1); got != -1 { 6153 fmt.Printf("mul_int64 1%s-1 = %d, wanted -1\n", `*`, got) 6154 failed = true 6155 } 6156 6157 if got := mul_int64_1_ssa(-1); got != -1 { 6158 fmt.Printf("mul_int64 -1%s1 = %d, wanted -1\n", `*`, got) 6159 failed = true 6160 } 6161 6162 if got := mul_1_int64_ssa(0); got != 0 { 6163 fmt.Printf("mul_int64 1%s0 = %d, wanted 0\n", `*`, got) 6164 failed = true 6165 } 6166 6167 if got := mul_int64_1_ssa(0); got != 0 { 6168 fmt.Printf("mul_int64 0%s1 = %d, wanted 0\n", `*`, got) 6169 failed = true 6170 } 6171 6172 if got := mul_1_int64_ssa(1); got != 1 { 6173 fmt.Printf("mul_int64 1%s1 = %d, wanted 1\n", `*`, got) 6174 failed = true 6175 } 6176 6177 if got := mul_int64_1_ssa(1); got != 1 { 6178 fmt.Printf("mul_int64 1%s1 = %d, wanted 1\n", `*`, got) 6179 failed = true 6180 } 6181 6182 if got := mul_1_int64_ssa(4294967296); got != 4294967296 { 6183 fmt.Printf("mul_int64 1%s4294967296 = %d, wanted 4294967296\n", `*`, got) 6184 failed = true 6185 } 6186 6187 if got := mul_int64_1_ssa(4294967296); got != 4294967296 { 6188 fmt.Printf("mul_int64 4294967296%s1 = %d, wanted 4294967296\n", `*`, got) 6189 failed = true 6190 } 6191 6192 if got := mul_1_int64_ssa(9223372036854775806); got != 9223372036854775806 { 6193 fmt.Printf("mul_int64 1%s9223372036854775806 = %d, wanted 9223372036854775806\n", `*`, got) 6194 failed = true 6195 } 6196 6197 if got := mul_int64_1_ssa(9223372036854775806); got != 9223372036854775806 { 6198 fmt.Printf("mul_int64 9223372036854775806%s1 = %d, wanted 9223372036854775806\n", `*`, got) 6199 failed = true 6200 } 6201 6202 if got := mul_1_int64_ssa(9223372036854775807); got != 9223372036854775807 { 6203 fmt.Printf("mul_int64 1%s9223372036854775807 = %d, wanted 9223372036854775807\n", `*`, got) 6204 failed = true 6205 } 6206 6207 if got := mul_int64_1_ssa(9223372036854775807); got != 9223372036854775807 { 6208 fmt.Printf("mul_int64 9223372036854775807%s1 = %d, wanted 9223372036854775807\n", `*`, got) 6209 failed = true 6210 } 6211 6212 if got := mul_4294967296_int64_ssa(-9223372036854775808); got != 0 { 6213 fmt.Printf("mul_int64 4294967296%s-9223372036854775808 = %d, wanted 0\n", `*`, got) 6214 failed = true 6215 } 6216 6217 if got := mul_int64_4294967296_ssa(-9223372036854775808); got != 0 { 6218 fmt.Printf("mul_int64 -9223372036854775808%s4294967296 = %d, wanted 0\n", `*`, got) 6219 failed = true 6220 } 6221 6222 if got := mul_4294967296_int64_ssa(-9223372036854775807); got != 4294967296 { 6223 fmt.Printf("mul_int64 4294967296%s-9223372036854775807 = %d, wanted 4294967296\n", `*`, got) 6224 failed = true 6225 } 6226 6227 if got := mul_int64_4294967296_ssa(-9223372036854775807); got != 4294967296 { 6228 fmt.Printf("mul_int64 -9223372036854775807%s4294967296 = %d, wanted 4294967296\n", `*`, got) 6229 failed = true 6230 } 6231 6232 if got := mul_4294967296_int64_ssa(-4294967296); got != 0 { 6233 fmt.Printf("mul_int64 4294967296%s-4294967296 = %d, wanted 0\n", `*`, got) 6234 failed = true 6235 } 6236 6237 if got := mul_int64_4294967296_ssa(-4294967296); got != 0 { 6238 fmt.Printf("mul_int64 -4294967296%s4294967296 = %d, wanted 0\n", `*`, got) 6239 failed = true 6240 } 6241 6242 if got := mul_4294967296_int64_ssa(-1); got != -4294967296 { 6243 fmt.Printf("mul_int64 4294967296%s-1 = %d, wanted -4294967296\n", `*`, got) 6244 failed = true 6245 } 6246 6247 if got := mul_int64_4294967296_ssa(-1); got != -4294967296 { 6248 fmt.Printf("mul_int64 -1%s4294967296 = %d, wanted -4294967296\n", `*`, got) 6249 failed = true 6250 } 6251 6252 if got := mul_4294967296_int64_ssa(0); got != 0 { 6253 fmt.Printf("mul_int64 4294967296%s0 = %d, wanted 0\n", `*`, got) 6254 failed = true 6255 } 6256 6257 if got := mul_int64_4294967296_ssa(0); got != 0 { 6258 fmt.Printf("mul_int64 0%s4294967296 = %d, wanted 0\n", `*`, got) 6259 failed = true 6260 } 6261 6262 if got := mul_4294967296_int64_ssa(1); got != 4294967296 { 6263 fmt.Printf("mul_int64 4294967296%s1 = %d, wanted 4294967296\n", `*`, got) 6264 failed = true 6265 } 6266 6267 if got := mul_int64_4294967296_ssa(1); got != 4294967296 { 6268 fmt.Printf("mul_int64 1%s4294967296 = %d, wanted 4294967296\n", `*`, got) 6269 failed = true 6270 } 6271 6272 if got := mul_4294967296_int64_ssa(4294967296); got != 0 { 6273 fmt.Printf("mul_int64 4294967296%s4294967296 = %d, wanted 0\n", `*`, got) 6274 failed = true 6275 } 6276 6277 if got := mul_int64_4294967296_ssa(4294967296); got != 0 { 6278 fmt.Printf("mul_int64 4294967296%s4294967296 = %d, wanted 0\n", `*`, got) 6279 failed = true 6280 } 6281 6282 if got := mul_4294967296_int64_ssa(9223372036854775806); got != -8589934592 { 6283 fmt.Printf("mul_int64 4294967296%s9223372036854775806 = %d, wanted -8589934592\n", `*`, got) 6284 failed = true 6285 } 6286 6287 if got := mul_int64_4294967296_ssa(9223372036854775806); got != -8589934592 { 6288 fmt.Printf("mul_int64 9223372036854775806%s4294967296 = %d, wanted -8589934592\n", `*`, got) 6289 failed = true 6290 } 6291 6292 if got := mul_4294967296_int64_ssa(9223372036854775807); got != -4294967296 { 6293 fmt.Printf("mul_int64 4294967296%s9223372036854775807 = %d, wanted -4294967296\n", `*`, got) 6294 failed = true 6295 } 6296 6297 if got := mul_int64_4294967296_ssa(9223372036854775807); got != -4294967296 { 6298 fmt.Printf("mul_int64 9223372036854775807%s4294967296 = %d, wanted -4294967296\n", `*`, got) 6299 failed = true 6300 } 6301 6302 if got := mul_9223372036854775806_int64_ssa(-9223372036854775808); got != 0 { 6303 fmt.Printf("mul_int64 9223372036854775806%s-9223372036854775808 = %d, wanted 0\n", `*`, got) 6304 failed = true 6305 } 6306 6307 if got := mul_int64_9223372036854775806_ssa(-9223372036854775808); got != 0 { 6308 fmt.Printf("mul_int64 -9223372036854775808%s9223372036854775806 = %d, wanted 0\n", `*`, got) 6309 failed = true 6310 } 6311 6312 if got := mul_9223372036854775806_int64_ssa(-9223372036854775807); got != 9223372036854775806 { 6313 fmt.Printf("mul_int64 9223372036854775806%s-9223372036854775807 = %d, wanted 9223372036854775806\n", `*`, got) 6314 failed = true 6315 } 6316 6317 if got := mul_int64_9223372036854775806_ssa(-9223372036854775807); got != 9223372036854775806 { 6318 fmt.Printf("mul_int64 -9223372036854775807%s9223372036854775806 = %d, wanted 9223372036854775806\n", `*`, got) 6319 failed = true 6320 } 6321 6322 if got := mul_9223372036854775806_int64_ssa(-4294967296); got != 8589934592 { 6323 fmt.Printf("mul_int64 9223372036854775806%s-4294967296 = %d, wanted 8589934592\n", `*`, got) 6324 failed = true 6325 } 6326 6327 if got := mul_int64_9223372036854775806_ssa(-4294967296); got != 8589934592 { 6328 fmt.Printf("mul_int64 -4294967296%s9223372036854775806 = %d, wanted 8589934592\n", `*`, got) 6329 failed = true 6330 } 6331 6332 if got := mul_9223372036854775806_int64_ssa(-1); got != -9223372036854775806 { 6333 fmt.Printf("mul_int64 9223372036854775806%s-1 = %d, wanted -9223372036854775806\n", `*`, got) 6334 failed = true 6335 } 6336 6337 if got := mul_int64_9223372036854775806_ssa(-1); got != -9223372036854775806 { 6338 fmt.Printf("mul_int64 -1%s9223372036854775806 = %d, wanted -9223372036854775806\n", `*`, got) 6339 failed = true 6340 } 6341 6342 if got := mul_9223372036854775806_int64_ssa(0); got != 0 { 6343 fmt.Printf("mul_int64 9223372036854775806%s0 = %d, wanted 0\n", `*`, got) 6344 failed = true 6345 } 6346 6347 if got := mul_int64_9223372036854775806_ssa(0); got != 0 { 6348 fmt.Printf("mul_int64 0%s9223372036854775806 = %d, wanted 0\n", `*`, got) 6349 failed = true 6350 } 6351 6352 if got := mul_9223372036854775806_int64_ssa(1); got != 9223372036854775806 { 6353 fmt.Printf("mul_int64 9223372036854775806%s1 = %d, wanted 9223372036854775806\n", `*`, got) 6354 failed = true 6355 } 6356 6357 if got := mul_int64_9223372036854775806_ssa(1); got != 9223372036854775806 { 6358 fmt.Printf("mul_int64 1%s9223372036854775806 = %d, wanted 9223372036854775806\n", `*`, got) 6359 failed = true 6360 } 6361 6362 if got := mul_9223372036854775806_int64_ssa(4294967296); got != -8589934592 { 6363 fmt.Printf("mul_int64 9223372036854775806%s4294967296 = %d, wanted -8589934592\n", `*`, got) 6364 failed = true 6365 } 6366 6367 if got := mul_int64_9223372036854775806_ssa(4294967296); got != -8589934592 { 6368 fmt.Printf("mul_int64 4294967296%s9223372036854775806 = %d, wanted -8589934592\n", `*`, got) 6369 failed = true 6370 } 6371 6372 if got := mul_9223372036854775806_int64_ssa(9223372036854775806); got != 4 { 6373 fmt.Printf("mul_int64 9223372036854775806%s9223372036854775806 = %d, wanted 4\n", `*`, got) 6374 failed = true 6375 } 6376 6377 if got := mul_int64_9223372036854775806_ssa(9223372036854775806); got != 4 { 6378 fmt.Printf("mul_int64 9223372036854775806%s9223372036854775806 = %d, wanted 4\n", `*`, got) 6379 failed = true 6380 } 6381 6382 if got := mul_9223372036854775806_int64_ssa(9223372036854775807); got != -9223372036854775806 { 6383 fmt.Printf("mul_int64 9223372036854775806%s9223372036854775807 = %d, wanted -9223372036854775806\n", `*`, got) 6384 failed = true 6385 } 6386 6387 if got := mul_int64_9223372036854775806_ssa(9223372036854775807); got != -9223372036854775806 { 6388 fmt.Printf("mul_int64 9223372036854775807%s9223372036854775806 = %d, wanted -9223372036854775806\n", `*`, got) 6389 failed = true 6390 } 6391 6392 if got := mul_9223372036854775807_int64_ssa(-9223372036854775808); got != -9223372036854775808 { 6393 fmt.Printf("mul_int64 9223372036854775807%s-9223372036854775808 = %d, wanted -9223372036854775808\n", `*`, got) 6394 failed = true 6395 } 6396 6397 if got := mul_int64_9223372036854775807_ssa(-9223372036854775808); got != -9223372036854775808 { 6398 fmt.Printf("mul_int64 -9223372036854775808%s9223372036854775807 = %d, wanted -9223372036854775808\n", `*`, got) 6399 failed = true 6400 } 6401 6402 if got := mul_9223372036854775807_int64_ssa(-9223372036854775807); got != -1 { 6403 fmt.Printf("mul_int64 9223372036854775807%s-9223372036854775807 = %d, wanted -1\n", `*`, got) 6404 failed = true 6405 } 6406 6407 if got := mul_int64_9223372036854775807_ssa(-9223372036854775807); got != -1 { 6408 fmt.Printf("mul_int64 -9223372036854775807%s9223372036854775807 = %d, wanted -1\n", `*`, got) 6409 failed = true 6410 } 6411 6412 if got := mul_9223372036854775807_int64_ssa(-4294967296); got != 4294967296 { 6413 fmt.Printf("mul_int64 9223372036854775807%s-4294967296 = %d, wanted 4294967296\n", `*`, got) 6414 failed = true 6415 } 6416 6417 if got := mul_int64_9223372036854775807_ssa(-4294967296); got != 4294967296 { 6418 fmt.Printf("mul_int64 -4294967296%s9223372036854775807 = %d, wanted 4294967296\n", `*`, got) 6419 failed = true 6420 } 6421 6422 if got := mul_9223372036854775807_int64_ssa(-1); got != -9223372036854775807 { 6423 fmt.Printf("mul_int64 9223372036854775807%s-1 = %d, wanted -9223372036854775807\n", `*`, got) 6424 failed = true 6425 } 6426 6427 if got := mul_int64_9223372036854775807_ssa(-1); got != -9223372036854775807 { 6428 fmt.Printf("mul_int64 -1%s9223372036854775807 = %d, wanted -9223372036854775807\n", `*`, got) 6429 failed = true 6430 } 6431 6432 if got := mul_9223372036854775807_int64_ssa(0); got != 0 { 6433 fmt.Printf("mul_int64 9223372036854775807%s0 = %d, wanted 0\n", `*`, got) 6434 failed = true 6435 } 6436 6437 if got := mul_int64_9223372036854775807_ssa(0); got != 0 { 6438 fmt.Printf("mul_int64 0%s9223372036854775807 = %d, wanted 0\n", `*`, got) 6439 failed = true 6440 } 6441 6442 if got := mul_9223372036854775807_int64_ssa(1); got != 9223372036854775807 { 6443 fmt.Printf("mul_int64 9223372036854775807%s1 = %d, wanted 9223372036854775807\n", `*`, got) 6444 failed = true 6445 } 6446 6447 if got := mul_int64_9223372036854775807_ssa(1); got != 9223372036854775807 { 6448 fmt.Printf("mul_int64 1%s9223372036854775807 = %d, wanted 9223372036854775807\n", `*`, got) 6449 failed = true 6450 } 6451 6452 if got := mul_9223372036854775807_int64_ssa(4294967296); got != -4294967296 { 6453 fmt.Printf("mul_int64 9223372036854775807%s4294967296 = %d, wanted -4294967296\n", `*`, got) 6454 failed = true 6455 } 6456 6457 if got := mul_int64_9223372036854775807_ssa(4294967296); got != -4294967296 { 6458 fmt.Printf("mul_int64 4294967296%s9223372036854775807 = %d, wanted -4294967296\n", `*`, got) 6459 failed = true 6460 } 6461 6462 if got := mul_9223372036854775807_int64_ssa(9223372036854775806); got != -9223372036854775806 { 6463 fmt.Printf("mul_int64 9223372036854775807%s9223372036854775806 = %d, wanted -9223372036854775806\n", `*`, got) 6464 failed = true 6465 } 6466 6467 if got := mul_int64_9223372036854775807_ssa(9223372036854775806); got != -9223372036854775806 { 6468 fmt.Printf("mul_int64 9223372036854775806%s9223372036854775807 = %d, wanted -9223372036854775806\n", `*`, got) 6469 failed = true 6470 } 6471 6472 if got := mul_9223372036854775807_int64_ssa(9223372036854775807); got != 1 { 6473 fmt.Printf("mul_int64 9223372036854775807%s9223372036854775807 = %d, wanted 1\n", `*`, got) 6474 failed = true 6475 } 6476 6477 if got := mul_int64_9223372036854775807_ssa(9223372036854775807); got != 1 { 6478 fmt.Printf("mul_int64 9223372036854775807%s9223372036854775807 = %d, wanted 1\n", `*`, got) 6479 failed = true 6480 } 6481 6482 if got := mod_Neg9223372036854775808_int64_ssa(-9223372036854775808); got != 0 { 6483 fmt.Printf("mod_int64 -9223372036854775808%s-9223372036854775808 = %d, wanted 0\n", `%`, got) 6484 failed = true 6485 } 6486 6487 if got := mod_int64_Neg9223372036854775808_ssa(-9223372036854775808); got != 0 { 6488 fmt.Printf("mod_int64 -9223372036854775808%s-9223372036854775808 = %d, wanted 0\n", `%`, got) 6489 failed = true 6490 } 6491 6492 if got := mod_Neg9223372036854775808_int64_ssa(-9223372036854775807); got != -1 { 6493 fmt.Printf("mod_int64 -9223372036854775808%s-9223372036854775807 = %d, wanted -1\n", `%`, got) 6494 failed = true 6495 } 6496 6497 if got := mod_int64_Neg9223372036854775808_ssa(-9223372036854775807); got != -9223372036854775807 { 6498 fmt.Printf("mod_int64 -9223372036854775807%s-9223372036854775808 = %d, wanted -9223372036854775807\n", `%`, got) 6499 failed = true 6500 } 6501 6502 if got := mod_Neg9223372036854775808_int64_ssa(-4294967296); got != 0 { 6503 fmt.Printf("mod_int64 -9223372036854775808%s-4294967296 = %d, wanted 0\n", `%`, got) 6504 failed = true 6505 } 6506 6507 if got := mod_int64_Neg9223372036854775808_ssa(-4294967296); got != -4294967296 { 6508 fmt.Printf("mod_int64 -4294967296%s-9223372036854775808 = %d, wanted -4294967296\n", `%`, got) 6509 failed = true 6510 } 6511 6512 if got := mod_Neg9223372036854775808_int64_ssa(-1); got != 0 { 6513 fmt.Printf("mod_int64 -9223372036854775808%s-1 = %d, wanted 0\n", `%`, got) 6514 failed = true 6515 } 6516 6517 if got := mod_int64_Neg9223372036854775808_ssa(-1); got != -1 { 6518 fmt.Printf("mod_int64 -1%s-9223372036854775808 = %d, wanted -1\n", `%`, got) 6519 failed = true 6520 } 6521 6522 if got := mod_int64_Neg9223372036854775808_ssa(0); got != 0 { 6523 fmt.Printf("mod_int64 0%s-9223372036854775808 = %d, wanted 0\n", `%`, got) 6524 failed = true 6525 } 6526 6527 if got := mod_Neg9223372036854775808_int64_ssa(1); got != 0 { 6528 fmt.Printf("mod_int64 -9223372036854775808%s1 = %d, wanted 0\n", `%`, got) 6529 failed = true 6530 } 6531 6532 if got := mod_int64_Neg9223372036854775808_ssa(1); got != 1 { 6533 fmt.Printf("mod_int64 1%s-9223372036854775808 = %d, wanted 1\n", `%`, got) 6534 failed = true 6535 } 6536 6537 if got := mod_Neg9223372036854775808_int64_ssa(4294967296); got != 0 { 6538 fmt.Printf("mod_int64 -9223372036854775808%s4294967296 = %d, wanted 0\n", `%`, got) 6539 failed = true 6540 } 6541 6542 if got := mod_int64_Neg9223372036854775808_ssa(4294967296); got != 4294967296 { 6543 fmt.Printf("mod_int64 4294967296%s-9223372036854775808 = %d, wanted 4294967296\n", `%`, got) 6544 failed = true 6545 } 6546 6547 if got := mod_Neg9223372036854775808_int64_ssa(9223372036854775806); got != -2 { 6548 fmt.Printf("mod_int64 -9223372036854775808%s9223372036854775806 = %d, wanted -2\n", `%`, got) 6549 failed = true 6550 } 6551 6552 if got := mod_int64_Neg9223372036854775808_ssa(9223372036854775806); got != 9223372036854775806 { 6553 fmt.Printf("mod_int64 9223372036854775806%s-9223372036854775808 = %d, wanted 9223372036854775806\n", `%`, got) 6554 failed = true 6555 } 6556 6557 if got := mod_Neg9223372036854775808_int64_ssa(9223372036854775807); got != -1 { 6558 fmt.Printf("mod_int64 -9223372036854775808%s9223372036854775807 = %d, wanted -1\n", `%`, got) 6559 failed = true 6560 } 6561 6562 if got := mod_int64_Neg9223372036854775808_ssa(9223372036854775807); got != 9223372036854775807 { 6563 fmt.Printf("mod_int64 9223372036854775807%s-9223372036854775808 = %d, wanted 9223372036854775807\n", `%`, got) 6564 failed = true 6565 } 6566 6567 if got := mod_Neg9223372036854775807_int64_ssa(-9223372036854775808); got != -9223372036854775807 { 6568 fmt.Printf("mod_int64 -9223372036854775807%s-9223372036854775808 = %d, wanted -9223372036854775807\n", `%`, got) 6569 failed = true 6570 } 6571 6572 if got := mod_int64_Neg9223372036854775807_ssa(-9223372036854775808); got != -1 { 6573 fmt.Printf("mod_int64 -9223372036854775808%s-9223372036854775807 = %d, wanted -1\n", `%`, got) 6574 failed = true 6575 } 6576 6577 if got := mod_Neg9223372036854775807_int64_ssa(-9223372036854775807); got != 0 { 6578 fmt.Printf("mod_int64 -9223372036854775807%s-9223372036854775807 = %d, wanted 0\n", `%`, got) 6579 failed = true 6580 } 6581 6582 if got := mod_int64_Neg9223372036854775807_ssa(-9223372036854775807); got != 0 { 6583 fmt.Printf("mod_int64 -9223372036854775807%s-9223372036854775807 = %d, wanted 0\n", `%`, got) 6584 failed = true 6585 } 6586 6587 if got := mod_Neg9223372036854775807_int64_ssa(-4294967296); got != -4294967295 { 6588 fmt.Printf("mod_int64 -9223372036854775807%s-4294967296 = %d, wanted -4294967295\n", `%`, got) 6589 failed = true 6590 } 6591 6592 if got := mod_int64_Neg9223372036854775807_ssa(-4294967296); got != -4294967296 { 6593 fmt.Printf("mod_int64 -4294967296%s-9223372036854775807 = %d, wanted -4294967296\n", `%`, got) 6594 failed = true 6595 } 6596 6597 if got := mod_Neg9223372036854775807_int64_ssa(-1); got != 0 { 6598 fmt.Printf("mod_int64 -9223372036854775807%s-1 = %d, wanted 0\n", `%`, got) 6599 failed = true 6600 } 6601 6602 if got := mod_int64_Neg9223372036854775807_ssa(-1); got != -1 { 6603 fmt.Printf("mod_int64 -1%s-9223372036854775807 = %d, wanted -1\n", `%`, got) 6604 failed = true 6605 } 6606 6607 if got := mod_int64_Neg9223372036854775807_ssa(0); got != 0 { 6608 fmt.Printf("mod_int64 0%s-9223372036854775807 = %d, wanted 0\n", `%`, got) 6609 failed = true 6610 } 6611 6612 if got := mod_Neg9223372036854775807_int64_ssa(1); got != 0 { 6613 fmt.Printf("mod_int64 -9223372036854775807%s1 = %d, wanted 0\n", `%`, got) 6614 failed = true 6615 } 6616 6617 if got := mod_int64_Neg9223372036854775807_ssa(1); got != 1 { 6618 fmt.Printf("mod_int64 1%s-9223372036854775807 = %d, wanted 1\n", `%`, got) 6619 failed = true 6620 } 6621 6622 if got := mod_Neg9223372036854775807_int64_ssa(4294967296); got != -4294967295 { 6623 fmt.Printf("mod_int64 -9223372036854775807%s4294967296 = %d, wanted -4294967295\n", `%`, got) 6624 failed = true 6625 } 6626 6627 if got := mod_int64_Neg9223372036854775807_ssa(4294967296); got != 4294967296 { 6628 fmt.Printf("mod_int64 4294967296%s-9223372036854775807 = %d, wanted 4294967296\n", `%`, got) 6629 failed = true 6630 } 6631 6632 if got := mod_Neg9223372036854775807_int64_ssa(9223372036854775806); got != -1 { 6633 fmt.Printf("mod_int64 -9223372036854775807%s9223372036854775806 = %d, wanted -1\n", `%`, got) 6634 failed = true 6635 } 6636 6637 if got := mod_int64_Neg9223372036854775807_ssa(9223372036854775806); got != 9223372036854775806 { 6638 fmt.Printf("mod_int64 9223372036854775806%s-9223372036854775807 = %d, wanted 9223372036854775806\n", `%`, got) 6639 failed = true 6640 } 6641 6642 if got := mod_Neg9223372036854775807_int64_ssa(9223372036854775807); got != 0 { 6643 fmt.Printf("mod_int64 -9223372036854775807%s9223372036854775807 = %d, wanted 0\n", `%`, got) 6644 failed = true 6645 } 6646 6647 if got := mod_int64_Neg9223372036854775807_ssa(9223372036854775807); got != 0 { 6648 fmt.Printf("mod_int64 9223372036854775807%s-9223372036854775807 = %d, wanted 0\n", `%`, got) 6649 failed = true 6650 } 6651 6652 if got := mod_Neg4294967296_int64_ssa(-9223372036854775808); got != -4294967296 { 6653 fmt.Printf("mod_int64 -4294967296%s-9223372036854775808 = %d, wanted -4294967296\n", `%`, got) 6654 failed = true 6655 } 6656 6657 if got := mod_int64_Neg4294967296_ssa(-9223372036854775808); got != 0 { 6658 fmt.Printf("mod_int64 -9223372036854775808%s-4294967296 = %d, wanted 0\n", `%`, got) 6659 failed = true 6660 } 6661 6662 if got := mod_Neg4294967296_int64_ssa(-9223372036854775807); got != -4294967296 { 6663 fmt.Printf("mod_int64 -4294967296%s-9223372036854775807 = %d, wanted -4294967296\n", `%`, got) 6664 failed = true 6665 } 6666 6667 if got := mod_int64_Neg4294967296_ssa(-9223372036854775807); got != -4294967295 { 6668 fmt.Printf("mod_int64 -9223372036854775807%s-4294967296 = %d, wanted -4294967295\n", `%`, got) 6669 failed = true 6670 } 6671 6672 if got := mod_Neg4294967296_int64_ssa(-4294967296); got != 0 { 6673 fmt.Printf("mod_int64 -4294967296%s-4294967296 = %d, wanted 0\n", `%`, got) 6674 failed = true 6675 } 6676 6677 if got := mod_int64_Neg4294967296_ssa(-4294967296); got != 0 { 6678 fmt.Printf("mod_int64 -4294967296%s-4294967296 = %d, wanted 0\n", `%`, got) 6679 failed = true 6680 } 6681 6682 if got := mod_Neg4294967296_int64_ssa(-1); got != 0 { 6683 fmt.Printf("mod_int64 -4294967296%s-1 = %d, wanted 0\n", `%`, got) 6684 failed = true 6685 } 6686 6687 if got := mod_int64_Neg4294967296_ssa(-1); got != -1 { 6688 fmt.Printf("mod_int64 -1%s-4294967296 = %d, wanted -1\n", `%`, got) 6689 failed = true 6690 } 6691 6692 if got := mod_int64_Neg4294967296_ssa(0); got != 0 { 6693 fmt.Printf("mod_int64 0%s-4294967296 = %d, wanted 0\n", `%`, got) 6694 failed = true 6695 } 6696 6697 if got := mod_Neg4294967296_int64_ssa(1); got != 0 { 6698 fmt.Printf("mod_int64 -4294967296%s1 = %d, wanted 0\n", `%`, got) 6699 failed = true 6700 } 6701 6702 if got := mod_int64_Neg4294967296_ssa(1); got != 1 { 6703 fmt.Printf("mod_int64 1%s-4294967296 = %d, wanted 1\n", `%`, got) 6704 failed = true 6705 } 6706 6707 if got := mod_Neg4294967296_int64_ssa(4294967296); got != 0 { 6708 fmt.Printf("mod_int64 -4294967296%s4294967296 = %d, wanted 0\n", `%`, got) 6709 failed = true 6710 } 6711 6712 if got := mod_int64_Neg4294967296_ssa(4294967296); got != 0 { 6713 fmt.Printf("mod_int64 4294967296%s-4294967296 = %d, wanted 0\n", `%`, got) 6714 failed = true 6715 } 6716 6717 if got := mod_Neg4294967296_int64_ssa(9223372036854775806); got != -4294967296 { 6718 fmt.Printf("mod_int64 -4294967296%s9223372036854775806 = %d, wanted -4294967296\n", `%`, got) 6719 failed = true 6720 } 6721 6722 if got := mod_int64_Neg4294967296_ssa(9223372036854775806); got != 4294967294 { 6723 fmt.Printf("mod_int64 9223372036854775806%s-4294967296 = %d, wanted 4294967294\n", `%`, got) 6724 failed = true 6725 } 6726 6727 if got := mod_Neg4294967296_int64_ssa(9223372036854775807); got != -4294967296 { 6728 fmt.Printf("mod_int64 -4294967296%s9223372036854775807 = %d, wanted -4294967296\n", `%`, got) 6729 failed = true 6730 } 6731 6732 if got := mod_int64_Neg4294967296_ssa(9223372036854775807); got != 4294967295 { 6733 fmt.Printf("mod_int64 9223372036854775807%s-4294967296 = %d, wanted 4294967295\n", `%`, got) 6734 failed = true 6735 } 6736 6737 if got := mod_Neg1_int64_ssa(-9223372036854775808); got != -1 { 6738 fmt.Printf("mod_int64 -1%s-9223372036854775808 = %d, wanted -1\n", `%`, got) 6739 failed = true 6740 } 6741 6742 if got := mod_int64_Neg1_ssa(-9223372036854775808); got != 0 { 6743 fmt.Printf("mod_int64 -9223372036854775808%s-1 = %d, wanted 0\n", `%`, got) 6744 failed = true 6745 } 6746 6747 if got := mod_Neg1_int64_ssa(-9223372036854775807); got != -1 { 6748 fmt.Printf("mod_int64 -1%s-9223372036854775807 = %d, wanted -1\n", `%`, got) 6749 failed = true 6750 } 6751 6752 if got := mod_int64_Neg1_ssa(-9223372036854775807); got != 0 { 6753 fmt.Printf("mod_int64 -9223372036854775807%s-1 = %d, wanted 0\n", `%`, got) 6754 failed = true 6755 } 6756 6757 if got := mod_Neg1_int64_ssa(-4294967296); got != -1 { 6758 fmt.Printf("mod_int64 -1%s-4294967296 = %d, wanted -1\n", `%`, got) 6759 failed = true 6760 } 6761 6762 if got := mod_int64_Neg1_ssa(-4294967296); got != 0 { 6763 fmt.Printf("mod_int64 -4294967296%s-1 = %d, wanted 0\n", `%`, got) 6764 failed = true 6765 } 6766 6767 if got := mod_Neg1_int64_ssa(-1); got != 0 { 6768 fmt.Printf("mod_int64 -1%s-1 = %d, wanted 0\n", `%`, got) 6769 failed = true 6770 } 6771 6772 if got := mod_int64_Neg1_ssa(-1); got != 0 { 6773 fmt.Printf("mod_int64 -1%s-1 = %d, wanted 0\n", `%`, got) 6774 failed = true 6775 } 6776 6777 if got := mod_int64_Neg1_ssa(0); got != 0 { 6778 fmt.Printf("mod_int64 0%s-1 = %d, wanted 0\n", `%`, got) 6779 failed = true 6780 } 6781 6782 if got := mod_Neg1_int64_ssa(1); got != 0 { 6783 fmt.Printf("mod_int64 -1%s1 = %d, wanted 0\n", `%`, got) 6784 failed = true 6785 } 6786 6787 if got := mod_int64_Neg1_ssa(1); got != 0 { 6788 fmt.Printf("mod_int64 1%s-1 = %d, wanted 0\n", `%`, got) 6789 failed = true 6790 } 6791 6792 if got := mod_Neg1_int64_ssa(4294967296); got != -1 { 6793 fmt.Printf("mod_int64 -1%s4294967296 = %d, wanted -1\n", `%`, got) 6794 failed = true 6795 } 6796 6797 if got := mod_int64_Neg1_ssa(4294967296); got != 0 { 6798 fmt.Printf("mod_int64 4294967296%s-1 = %d, wanted 0\n", `%`, got) 6799 failed = true 6800 } 6801 6802 if got := mod_Neg1_int64_ssa(9223372036854775806); got != -1 { 6803 fmt.Printf("mod_int64 -1%s9223372036854775806 = %d, wanted -1\n", `%`, got) 6804 failed = true 6805 } 6806 6807 if got := mod_int64_Neg1_ssa(9223372036854775806); got != 0 { 6808 fmt.Printf("mod_int64 9223372036854775806%s-1 = %d, wanted 0\n", `%`, got) 6809 failed = true 6810 } 6811 6812 if got := mod_Neg1_int64_ssa(9223372036854775807); got != -1 { 6813 fmt.Printf("mod_int64 -1%s9223372036854775807 = %d, wanted -1\n", `%`, got) 6814 failed = true 6815 } 6816 6817 if got := mod_int64_Neg1_ssa(9223372036854775807); got != 0 { 6818 fmt.Printf("mod_int64 9223372036854775807%s-1 = %d, wanted 0\n", `%`, got) 6819 failed = true 6820 } 6821 6822 if got := mod_0_int64_ssa(-9223372036854775808); got != 0 { 6823 fmt.Printf("mod_int64 0%s-9223372036854775808 = %d, wanted 0\n", `%`, got) 6824 failed = true 6825 } 6826 6827 if got := mod_0_int64_ssa(-9223372036854775807); got != 0 { 6828 fmt.Printf("mod_int64 0%s-9223372036854775807 = %d, wanted 0\n", `%`, got) 6829 failed = true 6830 } 6831 6832 if got := mod_0_int64_ssa(-4294967296); got != 0 { 6833 fmt.Printf("mod_int64 0%s-4294967296 = %d, wanted 0\n", `%`, got) 6834 failed = true 6835 } 6836 6837 if got := mod_0_int64_ssa(-1); got != 0 { 6838 fmt.Printf("mod_int64 0%s-1 = %d, wanted 0\n", `%`, got) 6839 failed = true 6840 } 6841 6842 if got := mod_0_int64_ssa(1); got != 0 { 6843 fmt.Printf("mod_int64 0%s1 = %d, wanted 0\n", `%`, got) 6844 failed = true 6845 } 6846 6847 if got := mod_0_int64_ssa(4294967296); got != 0 { 6848 fmt.Printf("mod_int64 0%s4294967296 = %d, wanted 0\n", `%`, got) 6849 failed = true 6850 } 6851 6852 if got := mod_0_int64_ssa(9223372036854775806); got != 0 { 6853 fmt.Printf("mod_int64 0%s9223372036854775806 = %d, wanted 0\n", `%`, got) 6854 failed = true 6855 } 6856 6857 if got := mod_0_int64_ssa(9223372036854775807); got != 0 { 6858 fmt.Printf("mod_int64 0%s9223372036854775807 = %d, wanted 0\n", `%`, got) 6859 failed = true 6860 } 6861 6862 if got := mod_1_int64_ssa(-9223372036854775808); got != 1 { 6863 fmt.Printf("mod_int64 1%s-9223372036854775808 = %d, wanted 1\n", `%`, got) 6864 failed = true 6865 } 6866 6867 if got := mod_int64_1_ssa(-9223372036854775808); got != 0 { 6868 fmt.Printf("mod_int64 -9223372036854775808%s1 = %d, wanted 0\n", `%`, got) 6869 failed = true 6870 } 6871 6872 if got := mod_1_int64_ssa(-9223372036854775807); got != 1 { 6873 fmt.Printf("mod_int64 1%s-9223372036854775807 = %d, wanted 1\n", `%`, got) 6874 failed = true 6875 } 6876 6877 if got := mod_int64_1_ssa(-9223372036854775807); got != 0 { 6878 fmt.Printf("mod_int64 -9223372036854775807%s1 = %d, wanted 0\n", `%`, got) 6879 failed = true 6880 } 6881 6882 if got := mod_1_int64_ssa(-4294967296); got != 1 { 6883 fmt.Printf("mod_int64 1%s-4294967296 = %d, wanted 1\n", `%`, got) 6884 failed = true 6885 } 6886 6887 if got := mod_int64_1_ssa(-4294967296); got != 0 { 6888 fmt.Printf("mod_int64 -4294967296%s1 = %d, wanted 0\n", `%`, got) 6889 failed = true 6890 } 6891 6892 if got := mod_1_int64_ssa(-1); got != 0 { 6893 fmt.Printf("mod_int64 1%s-1 = %d, wanted 0\n", `%`, got) 6894 failed = true 6895 } 6896 6897 if got := mod_int64_1_ssa(-1); got != 0 { 6898 fmt.Printf("mod_int64 -1%s1 = %d, wanted 0\n", `%`, got) 6899 failed = true 6900 } 6901 6902 if got := mod_int64_1_ssa(0); got != 0 { 6903 fmt.Printf("mod_int64 0%s1 = %d, wanted 0\n", `%`, got) 6904 failed = true 6905 } 6906 6907 if got := mod_1_int64_ssa(1); got != 0 { 6908 fmt.Printf("mod_int64 1%s1 = %d, wanted 0\n", `%`, got) 6909 failed = true 6910 } 6911 6912 if got := mod_int64_1_ssa(1); got != 0 { 6913 fmt.Printf("mod_int64 1%s1 = %d, wanted 0\n", `%`, got) 6914 failed = true 6915 } 6916 6917 if got := mod_1_int64_ssa(4294967296); got != 1 { 6918 fmt.Printf("mod_int64 1%s4294967296 = %d, wanted 1\n", `%`, got) 6919 failed = true 6920 } 6921 6922 if got := mod_int64_1_ssa(4294967296); got != 0 { 6923 fmt.Printf("mod_int64 4294967296%s1 = %d, wanted 0\n", `%`, got) 6924 failed = true 6925 } 6926 6927 if got := mod_1_int64_ssa(9223372036854775806); got != 1 { 6928 fmt.Printf("mod_int64 1%s9223372036854775806 = %d, wanted 1\n", `%`, got) 6929 failed = true 6930 } 6931 6932 if got := mod_int64_1_ssa(9223372036854775806); got != 0 { 6933 fmt.Printf("mod_int64 9223372036854775806%s1 = %d, wanted 0\n", `%`, got) 6934 failed = true 6935 } 6936 6937 if got := mod_1_int64_ssa(9223372036854775807); got != 1 { 6938 fmt.Printf("mod_int64 1%s9223372036854775807 = %d, wanted 1\n", `%`, got) 6939 failed = true 6940 } 6941 6942 if got := mod_int64_1_ssa(9223372036854775807); got != 0 { 6943 fmt.Printf("mod_int64 9223372036854775807%s1 = %d, wanted 0\n", `%`, got) 6944 failed = true 6945 } 6946 6947 if got := mod_4294967296_int64_ssa(-9223372036854775808); got != 4294967296 { 6948 fmt.Printf("mod_int64 4294967296%s-9223372036854775808 = %d, wanted 4294967296\n", `%`, got) 6949 failed = true 6950 } 6951 6952 if got := mod_int64_4294967296_ssa(-9223372036854775808); got != 0 { 6953 fmt.Printf("mod_int64 -9223372036854775808%s4294967296 = %d, wanted 0\n", `%`, got) 6954 failed = true 6955 } 6956 6957 if got := mod_4294967296_int64_ssa(-9223372036854775807); got != 4294967296 { 6958 fmt.Printf("mod_int64 4294967296%s-9223372036854775807 = %d, wanted 4294967296\n", `%`, got) 6959 failed = true 6960 } 6961 6962 if got := mod_int64_4294967296_ssa(-9223372036854775807); got != -4294967295 { 6963 fmt.Printf("mod_int64 -9223372036854775807%s4294967296 = %d, wanted -4294967295\n", `%`, got) 6964 failed = true 6965 } 6966 6967 if got := mod_4294967296_int64_ssa(-4294967296); got != 0 { 6968 fmt.Printf("mod_int64 4294967296%s-4294967296 = %d, wanted 0\n", `%`, got) 6969 failed = true 6970 } 6971 6972 if got := mod_int64_4294967296_ssa(-4294967296); got != 0 { 6973 fmt.Printf("mod_int64 -4294967296%s4294967296 = %d, wanted 0\n", `%`, got) 6974 failed = true 6975 } 6976 6977 if got := mod_4294967296_int64_ssa(-1); got != 0 { 6978 fmt.Printf("mod_int64 4294967296%s-1 = %d, wanted 0\n", `%`, got) 6979 failed = true 6980 } 6981 6982 if got := mod_int64_4294967296_ssa(-1); got != -1 { 6983 fmt.Printf("mod_int64 -1%s4294967296 = %d, wanted -1\n", `%`, got) 6984 failed = true 6985 } 6986 6987 if got := mod_int64_4294967296_ssa(0); got != 0 { 6988 fmt.Printf("mod_int64 0%s4294967296 = %d, wanted 0\n", `%`, got) 6989 failed = true 6990 } 6991 6992 if got := mod_4294967296_int64_ssa(1); got != 0 { 6993 fmt.Printf("mod_int64 4294967296%s1 = %d, wanted 0\n", `%`, got) 6994 failed = true 6995 } 6996 6997 if got := mod_int64_4294967296_ssa(1); got != 1 { 6998 fmt.Printf("mod_int64 1%s4294967296 = %d, wanted 1\n", `%`, got) 6999 failed = true 7000 } 7001 7002 if got := mod_4294967296_int64_ssa(4294967296); got != 0 { 7003 fmt.Printf("mod_int64 4294967296%s4294967296 = %d, wanted 0\n", `%`, got) 7004 failed = true 7005 } 7006 7007 if got := mod_int64_4294967296_ssa(4294967296); got != 0 { 7008 fmt.Printf("mod_int64 4294967296%s4294967296 = %d, wanted 0\n", `%`, got) 7009 failed = true 7010 } 7011 7012 if got := mod_4294967296_int64_ssa(9223372036854775806); got != 4294967296 { 7013 fmt.Printf("mod_int64 4294967296%s9223372036854775806 = %d, wanted 4294967296\n", `%`, got) 7014 failed = true 7015 } 7016 7017 if got := mod_int64_4294967296_ssa(9223372036854775806); got != 4294967294 { 7018 fmt.Printf("mod_int64 9223372036854775806%s4294967296 = %d, wanted 4294967294\n", `%`, got) 7019 failed = true 7020 } 7021 7022 if got := mod_4294967296_int64_ssa(9223372036854775807); got != 4294967296 { 7023 fmt.Printf("mod_int64 4294967296%s9223372036854775807 = %d, wanted 4294967296\n", `%`, got) 7024 failed = true 7025 } 7026 7027 if got := mod_int64_4294967296_ssa(9223372036854775807); got != 4294967295 { 7028 fmt.Printf("mod_int64 9223372036854775807%s4294967296 = %d, wanted 4294967295\n", `%`, got) 7029 failed = true 7030 } 7031 7032 if got := mod_9223372036854775806_int64_ssa(-9223372036854775808); got != 9223372036854775806 { 7033 fmt.Printf("mod_int64 9223372036854775806%s-9223372036854775808 = %d, wanted 9223372036854775806\n", `%`, got) 7034 failed = true 7035 } 7036 7037 if got := mod_int64_9223372036854775806_ssa(-9223372036854775808); got != -2 { 7038 fmt.Printf("mod_int64 -9223372036854775808%s9223372036854775806 = %d, wanted -2\n", `%`, got) 7039 failed = true 7040 } 7041 7042 if got := mod_9223372036854775806_int64_ssa(-9223372036854775807); got != 9223372036854775806 { 7043 fmt.Printf("mod_int64 9223372036854775806%s-9223372036854775807 = %d, wanted 9223372036854775806\n", `%`, got) 7044 failed = true 7045 } 7046 7047 if got := mod_int64_9223372036854775806_ssa(-9223372036854775807); got != -1 { 7048 fmt.Printf("mod_int64 -9223372036854775807%s9223372036854775806 = %d, wanted -1\n", `%`, got) 7049 failed = true 7050 } 7051 7052 if got := mod_9223372036854775806_int64_ssa(-4294967296); got != 4294967294 { 7053 fmt.Printf("mod_int64 9223372036854775806%s-4294967296 = %d, wanted 4294967294\n", `%`, got) 7054 failed = true 7055 } 7056 7057 if got := mod_int64_9223372036854775806_ssa(-4294967296); got != -4294967296 { 7058 fmt.Printf("mod_int64 -4294967296%s9223372036854775806 = %d, wanted -4294967296\n", `%`, got) 7059 failed = true 7060 } 7061 7062 if got := mod_9223372036854775806_int64_ssa(-1); got != 0 { 7063 fmt.Printf("mod_int64 9223372036854775806%s-1 = %d, wanted 0\n", `%`, got) 7064 failed = true 7065 } 7066 7067 if got := mod_int64_9223372036854775806_ssa(-1); got != -1 { 7068 fmt.Printf("mod_int64 -1%s9223372036854775806 = %d, wanted -1\n", `%`, got) 7069 failed = true 7070 } 7071 7072 if got := mod_int64_9223372036854775806_ssa(0); got != 0 { 7073 fmt.Printf("mod_int64 0%s9223372036854775806 = %d, wanted 0\n", `%`, got) 7074 failed = true 7075 } 7076 7077 if got := mod_9223372036854775806_int64_ssa(1); got != 0 { 7078 fmt.Printf("mod_int64 9223372036854775806%s1 = %d, wanted 0\n", `%`, got) 7079 failed = true 7080 } 7081 7082 if got := mod_int64_9223372036854775806_ssa(1); got != 1 { 7083 fmt.Printf("mod_int64 1%s9223372036854775806 = %d, wanted 1\n", `%`, got) 7084 failed = true 7085 } 7086 7087 if got := mod_9223372036854775806_int64_ssa(4294967296); got != 4294967294 { 7088 fmt.Printf("mod_int64 9223372036854775806%s4294967296 = %d, wanted 4294967294\n", `%`, got) 7089 failed = true 7090 } 7091 7092 if got := mod_int64_9223372036854775806_ssa(4294967296); got != 4294967296 { 7093 fmt.Printf("mod_int64 4294967296%s9223372036854775806 = %d, wanted 4294967296\n", `%`, got) 7094 failed = true 7095 } 7096 7097 if got := mod_9223372036854775806_int64_ssa(9223372036854775806); got != 0 { 7098 fmt.Printf("mod_int64 9223372036854775806%s9223372036854775806 = %d, wanted 0\n", `%`, got) 7099 failed = true 7100 } 7101 7102 if got := mod_int64_9223372036854775806_ssa(9223372036854775806); got != 0 { 7103 fmt.Printf("mod_int64 9223372036854775806%s9223372036854775806 = %d, wanted 0\n", `%`, got) 7104 failed = true 7105 } 7106 7107 if got := mod_9223372036854775806_int64_ssa(9223372036854775807); got != 9223372036854775806 { 7108 fmt.Printf("mod_int64 9223372036854775806%s9223372036854775807 = %d, wanted 9223372036854775806\n", `%`, got) 7109 failed = true 7110 } 7111 7112 if got := mod_int64_9223372036854775806_ssa(9223372036854775807); got != 1 { 7113 fmt.Printf("mod_int64 9223372036854775807%s9223372036854775806 = %d, wanted 1\n", `%`, got) 7114 failed = true 7115 } 7116 7117 if got := mod_9223372036854775807_int64_ssa(-9223372036854775808); got != 9223372036854775807 { 7118 fmt.Printf("mod_int64 9223372036854775807%s-9223372036854775808 = %d, wanted 9223372036854775807\n", `%`, got) 7119 failed = true 7120 } 7121 7122 if got := mod_int64_9223372036854775807_ssa(-9223372036854775808); got != -1 { 7123 fmt.Printf("mod_int64 -9223372036854775808%s9223372036854775807 = %d, wanted -1\n", `%`, got) 7124 failed = true 7125 } 7126 7127 if got := mod_9223372036854775807_int64_ssa(-9223372036854775807); got != 0 { 7128 fmt.Printf("mod_int64 9223372036854775807%s-9223372036854775807 = %d, wanted 0\n", `%`, got) 7129 failed = true 7130 } 7131 7132 if got := mod_int64_9223372036854775807_ssa(-9223372036854775807); got != 0 { 7133 fmt.Printf("mod_int64 -9223372036854775807%s9223372036854775807 = %d, wanted 0\n", `%`, got) 7134 failed = true 7135 } 7136 7137 if got := mod_9223372036854775807_int64_ssa(-4294967296); got != 4294967295 { 7138 fmt.Printf("mod_int64 9223372036854775807%s-4294967296 = %d, wanted 4294967295\n", `%`, got) 7139 failed = true 7140 } 7141 7142 if got := mod_int64_9223372036854775807_ssa(-4294967296); got != -4294967296 { 7143 fmt.Printf("mod_int64 -4294967296%s9223372036854775807 = %d, wanted -4294967296\n", `%`, got) 7144 failed = true 7145 } 7146 7147 if got := mod_9223372036854775807_int64_ssa(-1); got != 0 { 7148 fmt.Printf("mod_int64 9223372036854775807%s-1 = %d, wanted 0\n", `%`, got) 7149 failed = true 7150 } 7151 7152 if got := mod_int64_9223372036854775807_ssa(-1); got != -1 { 7153 fmt.Printf("mod_int64 -1%s9223372036854775807 = %d, wanted -1\n", `%`, got) 7154 failed = true 7155 } 7156 7157 if got := mod_int64_9223372036854775807_ssa(0); got != 0 { 7158 fmt.Printf("mod_int64 0%s9223372036854775807 = %d, wanted 0\n", `%`, got) 7159 failed = true 7160 } 7161 7162 if got := mod_9223372036854775807_int64_ssa(1); got != 0 { 7163 fmt.Printf("mod_int64 9223372036854775807%s1 = %d, wanted 0\n", `%`, got) 7164 failed = true 7165 } 7166 7167 if got := mod_int64_9223372036854775807_ssa(1); got != 1 { 7168 fmt.Printf("mod_int64 1%s9223372036854775807 = %d, wanted 1\n", `%`, got) 7169 failed = true 7170 } 7171 7172 if got := mod_9223372036854775807_int64_ssa(4294967296); got != 4294967295 { 7173 fmt.Printf("mod_int64 9223372036854775807%s4294967296 = %d, wanted 4294967295\n", `%`, got) 7174 failed = true 7175 } 7176 7177 if got := mod_int64_9223372036854775807_ssa(4294967296); got != 4294967296 { 7178 fmt.Printf("mod_int64 4294967296%s9223372036854775807 = %d, wanted 4294967296\n", `%`, got) 7179 failed = true 7180 } 7181 7182 if got := mod_9223372036854775807_int64_ssa(9223372036854775806); got != 1 { 7183 fmt.Printf("mod_int64 9223372036854775807%s9223372036854775806 = %d, wanted 1\n", `%`, got) 7184 failed = true 7185 } 7186 7187 if got := mod_int64_9223372036854775807_ssa(9223372036854775806); got != 9223372036854775806 { 7188 fmt.Printf("mod_int64 9223372036854775806%s9223372036854775807 = %d, wanted 9223372036854775806\n", `%`, got) 7189 failed = true 7190 } 7191 7192 if got := mod_9223372036854775807_int64_ssa(9223372036854775807); got != 0 { 7193 fmt.Printf("mod_int64 9223372036854775807%s9223372036854775807 = %d, wanted 0\n", `%`, got) 7194 failed = true 7195 } 7196 7197 if got := mod_int64_9223372036854775807_ssa(9223372036854775807); got != 0 { 7198 fmt.Printf("mod_int64 9223372036854775807%s9223372036854775807 = %d, wanted 0\n", `%`, got) 7199 failed = true 7200 } 7201 7202 if got := add_0_uint32_ssa(0); got != 0 { 7203 fmt.Printf("add_uint32 0%s0 = %d, wanted 0\n", `+`, got) 7204 failed = true 7205 } 7206 7207 if got := add_uint32_0_ssa(0); got != 0 { 7208 fmt.Printf("add_uint32 0%s0 = %d, wanted 0\n", `+`, got) 7209 failed = true 7210 } 7211 7212 if got := add_0_uint32_ssa(1); got != 1 { 7213 fmt.Printf("add_uint32 0%s1 = %d, wanted 1\n", `+`, got) 7214 failed = true 7215 } 7216 7217 if got := add_uint32_0_ssa(1); got != 1 { 7218 fmt.Printf("add_uint32 1%s0 = %d, wanted 1\n", `+`, got) 7219 failed = true 7220 } 7221 7222 if got := add_0_uint32_ssa(4294967295); got != 4294967295 { 7223 fmt.Printf("add_uint32 0%s4294967295 = %d, wanted 4294967295\n", `+`, got) 7224 failed = true 7225 } 7226 7227 if got := add_uint32_0_ssa(4294967295); got != 4294967295 { 7228 fmt.Printf("add_uint32 4294967295%s0 = %d, wanted 4294967295\n", `+`, got) 7229 failed = true 7230 } 7231 7232 if got := add_1_uint32_ssa(0); got != 1 { 7233 fmt.Printf("add_uint32 1%s0 = %d, wanted 1\n", `+`, got) 7234 failed = true 7235 } 7236 7237 if got := add_uint32_1_ssa(0); got != 1 { 7238 fmt.Printf("add_uint32 0%s1 = %d, wanted 1\n", `+`, got) 7239 failed = true 7240 } 7241 7242 if got := add_1_uint32_ssa(1); got != 2 { 7243 fmt.Printf("add_uint32 1%s1 = %d, wanted 2\n", `+`, got) 7244 failed = true 7245 } 7246 7247 if got := add_uint32_1_ssa(1); got != 2 { 7248 fmt.Printf("add_uint32 1%s1 = %d, wanted 2\n", `+`, got) 7249 failed = true 7250 } 7251 7252 if got := add_1_uint32_ssa(4294967295); got != 0 { 7253 fmt.Printf("add_uint32 1%s4294967295 = %d, wanted 0\n", `+`, got) 7254 failed = true 7255 } 7256 7257 if got := add_uint32_1_ssa(4294967295); got != 0 { 7258 fmt.Printf("add_uint32 4294967295%s1 = %d, wanted 0\n", `+`, got) 7259 failed = true 7260 } 7261 7262 if got := add_4294967295_uint32_ssa(0); got != 4294967295 { 7263 fmt.Printf("add_uint32 4294967295%s0 = %d, wanted 4294967295\n", `+`, got) 7264 failed = true 7265 } 7266 7267 if got := add_uint32_4294967295_ssa(0); got != 4294967295 { 7268 fmt.Printf("add_uint32 0%s4294967295 = %d, wanted 4294967295\n", `+`, got) 7269 failed = true 7270 } 7271 7272 if got := add_4294967295_uint32_ssa(1); got != 0 { 7273 fmt.Printf("add_uint32 4294967295%s1 = %d, wanted 0\n", `+`, got) 7274 failed = true 7275 } 7276 7277 if got := add_uint32_4294967295_ssa(1); got != 0 { 7278 fmt.Printf("add_uint32 1%s4294967295 = %d, wanted 0\n", `+`, got) 7279 failed = true 7280 } 7281 7282 if got := add_4294967295_uint32_ssa(4294967295); got != 4294967294 { 7283 fmt.Printf("add_uint32 4294967295%s4294967295 = %d, wanted 4294967294\n", `+`, got) 7284 failed = true 7285 } 7286 7287 if got := add_uint32_4294967295_ssa(4294967295); got != 4294967294 { 7288 fmt.Printf("add_uint32 4294967295%s4294967295 = %d, wanted 4294967294\n", `+`, got) 7289 failed = true 7290 } 7291 7292 if got := sub_0_uint32_ssa(0); got != 0 { 7293 fmt.Printf("sub_uint32 0%s0 = %d, wanted 0\n", `-`, got) 7294 failed = true 7295 } 7296 7297 if got := sub_uint32_0_ssa(0); got != 0 { 7298 fmt.Printf("sub_uint32 0%s0 = %d, wanted 0\n", `-`, got) 7299 failed = true 7300 } 7301 7302 if got := sub_0_uint32_ssa(1); got != 4294967295 { 7303 fmt.Printf("sub_uint32 0%s1 = %d, wanted 4294967295\n", `-`, got) 7304 failed = true 7305 } 7306 7307 if got := sub_uint32_0_ssa(1); got != 1 { 7308 fmt.Printf("sub_uint32 1%s0 = %d, wanted 1\n", `-`, got) 7309 failed = true 7310 } 7311 7312 if got := sub_0_uint32_ssa(4294967295); got != 1 { 7313 fmt.Printf("sub_uint32 0%s4294967295 = %d, wanted 1\n", `-`, got) 7314 failed = true 7315 } 7316 7317 if got := sub_uint32_0_ssa(4294967295); got != 4294967295 { 7318 fmt.Printf("sub_uint32 4294967295%s0 = %d, wanted 4294967295\n", `-`, got) 7319 failed = true 7320 } 7321 7322 if got := sub_1_uint32_ssa(0); got != 1 { 7323 fmt.Printf("sub_uint32 1%s0 = %d, wanted 1\n", `-`, got) 7324 failed = true 7325 } 7326 7327 if got := sub_uint32_1_ssa(0); got != 4294967295 { 7328 fmt.Printf("sub_uint32 0%s1 = %d, wanted 4294967295\n", `-`, got) 7329 failed = true 7330 } 7331 7332 if got := sub_1_uint32_ssa(1); got != 0 { 7333 fmt.Printf("sub_uint32 1%s1 = %d, wanted 0\n", `-`, got) 7334 failed = true 7335 } 7336 7337 if got := sub_uint32_1_ssa(1); got != 0 { 7338 fmt.Printf("sub_uint32 1%s1 = %d, wanted 0\n", `-`, got) 7339 failed = true 7340 } 7341 7342 if got := sub_1_uint32_ssa(4294967295); got != 2 { 7343 fmt.Printf("sub_uint32 1%s4294967295 = %d, wanted 2\n", `-`, got) 7344 failed = true 7345 } 7346 7347 if got := sub_uint32_1_ssa(4294967295); got != 4294967294 { 7348 fmt.Printf("sub_uint32 4294967295%s1 = %d, wanted 4294967294\n", `-`, got) 7349 failed = true 7350 } 7351 7352 if got := sub_4294967295_uint32_ssa(0); got != 4294967295 { 7353 fmt.Printf("sub_uint32 4294967295%s0 = %d, wanted 4294967295\n", `-`, got) 7354 failed = true 7355 } 7356 7357 if got := sub_uint32_4294967295_ssa(0); got != 1 { 7358 fmt.Printf("sub_uint32 0%s4294967295 = %d, wanted 1\n", `-`, got) 7359 failed = true 7360 } 7361 7362 if got := sub_4294967295_uint32_ssa(1); got != 4294967294 { 7363 fmt.Printf("sub_uint32 4294967295%s1 = %d, wanted 4294967294\n", `-`, got) 7364 failed = true 7365 } 7366 7367 if got := sub_uint32_4294967295_ssa(1); got != 2 { 7368 fmt.Printf("sub_uint32 1%s4294967295 = %d, wanted 2\n", `-`, got) 7369 failed = true 7370 } 7371 7372 if got := sub_4294967295_uint32_ssa(4294967295); got != 0 { 7373 fmt.Printf("sub_uint32 4294967295%s4294967295 = %d, wanted 0\n", `-`, got) 7374 failed = true 7375 } 7376 7377 if got := sub_uint32_4294967295_ssa(4294967295); got != 0 { 7378 fmt.Printf("sub_uint32 4294967295%s4294967295 = %d, wanted 0\n", `-`, got) 7379 failed = true 7380 } 7381 7382 if got := div_0_uint32_ssa(1); got != 0 { 7383 fmt.Printf("div_uint32 0%s1 = %d, wanted 0\n", `/`, got) 7384 failed = true 7385 } 7386 7387 if got := div_0_uint32_ssa(4294967295); got != 0 { 7388 fmt.Printf("div_uint32 0%s4294967295 = %d, wanted 0\n", `/`, got) 7389 failed = true 7390 } 7391 7392 if got := div_uint32_1_ssa(0); got != 0 { 7393 fmt.Printf("div_uint32 0%s1 = %d, wanted 0\n", `/`, got) 7394 failed = true 7395 } 7396 7397 if got := div_1_uint32_ssa(1); got != 1 { 7398 fmt.Printf("div_uint32 1%s1 = %d, wanted 1\n", `/`, got) 7399 failed = true 7400 } 7401 7402 if got := div_uint32_1_ssa(1); got != 1 { 7403 fmt.Printf("div_uint32 1%s1 = %d, wanted 1\n", `/`, got) 7404 failed = true 7405 } 7406 7407 if got := div_1_uint32_ssa(4294967295); got != 0 { 7408 fmt.Printf("div_uint32 1%s4294967295 = %d, wanted 0\n", `/`, got) 7409 failed = true 7410 } 7411 7412 if got := div_uint32_1_ssa(4294967295); got != 4294967295 { 7413 fmt.Printf("div_uint32 4294967295%s1 = %d, wanted 4294967295\n", `/`, got) 7414 failed = true 7415 } 7416 7417 if got := div_uint32_4294967295_ssa(0); got != 0 { 7418 fmt.Printf("div_uint32 0%s4294967295 = %d, wanted 0\n", `/`, got) 7419 failed = true 7420 } 7421 7422 if got := div_4294967295_uint32_ssa(1); got != 4294967295 { 7423 fmt.Printf("div_uint32 4294967295%s1 = %d, wanted 4294967295\n", `/`, got) 7424 failed = true 7425 } 7426 7427 if got := div_uint32_4294967295_ssa(1); got != 0 { 7428 fmt.Printf("div_uint32 1%s4294967295 = %d, wanted 0\n", `/`, got) 7429 failed = true 7430 } 7431 7432 if got := div_4294967295_uint32_ssa(4294967295); got != 1 { 7433 fmt.Printf("div_uint32 4294967295%s4294967295 = %d, wanted 1\n", `/`, got) 7434 failed = true 7435 } 7436 7437 if got := div_uint32_4294967295_ssa(4294967295); got != 1 { 7438 fmt.Printf("div_uint32 4294967295%s4294967295 = %d, wanted 1\n", `/`, got) 7439 failed = true 7440 } 7441 7442 if got := mul_0_uint32_ssa(0); got != 0 { 7443 fmt.Printf("mul_uint32 0%s0 = %d, wanted 0\n", `*`, got) 7444 failed = true 7445 } 7446 7447 if got := mul_uint32_0_ssa(0); got != 0 { 7448 fmt.Printf("mul_uint32 0%s0 = %d, wanted 0\n", `*`, got) 7449 failed = true 7450 } 7451 7452 if got := mul_0_uint32_ssa(1); got != 0 { 7453 fmt.Printf("mul_uint32 0%s1 = %d, wanted 0\n", `*`, got) 7454 failed = true 7455 } 7456 7457 if got := mul_uint32_0_ssa(1); got != 0 { 7458 fmt.Printf("mul_uint32 1%s0 = %d, wanted 0\n", `*`, got) 7459 failed = true 7460 } 7461 7462 if got := mul_0_uint32_ssa(4294967295); got != 0 { 7463 fmt.Printf("mul_uint32 0%s4294967295 = %d, wanted 0\n", `*`, got) 7464 failed = true 7465 } 7466 7467 if got := mul_uint32_0_ssa(4294967295); got != 0 { 7468 fmt.Printf("mul_uint32 4294967295%s0 = %d, wanted 0\n", `*`, got) 7469 failed = true 7470 } 7471 7472 if got := mul_1_uint32_ssa(0); got != 0 { 7473 fmt.Printf("mul_uint32 1%s0 = %d, wanted 0\n", `*`, got) 7474 failed = true 7475 } 7476 7477 if got := mul_uint32_1_ssa(0); got != 0 { 7478 fmt.Printf("mul_uint32 0%s1 = %d, wanted 0\n", `*`, got) 7479 failed = true 7480 } 7481 7482 if got := mul_1_uint32_ssa(1); got != 1 { 7483 fmt.Printf("mul_uint32 1%s1 = %d, wanted 1\n", `*`, got) 7484 failed = true 7485 } 7486 7487 if got := mul_uint32_1_ssa(1); got != 1 { 7488 fmt.Printf("mul_uint32 1%s1 = %d, wanted 1\n", `*`, got) 7489 failed = true 7490 } 7491 7492 if got := mul_1_uint32_ssa(4294967295); got != 4294967295 { 7493 fmt.Printf("mul_uint32 1%s4294967295 = %d, wanted 4294967295\n", `*`, got) 7494 failed = true 7495 } 7496 7497 if got := mul_uint32_1_ssa(4294967295); got != 4294967295 { 7498 fmt.Printf("mul_uint32 4294967295%s1 = %d, wanted 4294967295\n", `*`, got) 7499 failed = true 7500 } 7501 7502 if got := mul_4294967295_uint32_ssa(0); got != 0 { 7503 fmt.Printf("mul_uint32 4294967295%s0 = %d, wanted 0\n", `*`, got) 7504 failed = true 7505 } 7506 7507 if got := mul_uint32_4294967295_ssa(0); got != 0 { 7508 fmt.Printf("mul_uint32 0%s4294967295 = %d, wanted 0\n", `*`, got) 7509 failed = true 7510 } 7511 7512 if got := mul_4294967295_uint32_ssa(1); got != 4294967295 { 7513 fmt.Printf("mul_uint32 4294967295%s1 = %d, wanted 4294967295\n", `*`, got) 7514 failed = true 7515 } 7516 7517 if got := mul_uint32_4294967295_ssa(1); got != 4294967295 { 7518 fmt.Printf("mul_uint32 1%s4294967295 = %d, wanted 4294967295\n", `*`, got) 7519 failed = true 7520 } 7521 7522 if got := mul_4294967295_uint32_ssa(4294967295); got != 1 { 7523 fmt.Printf("mul_uint32 4294967295%s4294967295 = %d, wanted 1\n", `*`, got) 7524 failed = true 7525 } 7526 7527 if got := mul_uint32_4294967295_ssa(4294967295); got != 1 { 7528 fmt.Printf("mul_uint32 4294967295%s4294967295 = %d, wanted 1\n", `*`, got) 7529 failed = true 7530 } 7531 7532 if got := lsh_0_uint32_ssa(0); got != 0 { 7533 fmt.Printf("lsh_uint32 0%s0 = %d, wanted 0\n", `<<`, got) 7534 failed = true 7535 } 7536 7537 if got := lsh_uint32_0_ssa(0); got != 0 { 7538 fmt.Printf("lsh_uint32 0%s0 = %d, wanted 0\n", `<<`, got) 7539 failed = true 7540 } 7541 7542 if got := lsh_0_uint32_ssa(1); got != 0 { 7543 fmt.Printf("lsh_uint32 0%s1 = %d, wanted 0\n", `<<`, got) 7544 failed = true 7545 } 7546 7547 if got := lsh_uint32_0_ssa(1); got != 1 { 7548 fmt.Printf("lsh_uint32 1%s0 = %d, wanted 1\n", `<<`, got) 7549 failed = true 7550 } 7551 7552 if got := lsh_0_uint32_ssa(4294967295); got != 0 { 7553 fmt.Printf("lsh_uint32 0%s4294967295 = %d, wanted 0\n", `<<`, got) 7554 failed = true 7555 } 7556 7557 if got := lsh_uint32_0_ssa(4294967295); got != 4294967295 { 7558 fmt.Printf("lsh_uint32 4294967295%s0 = %d, wanted 4294967295\n", `<<`, got) 7559 failed = true 7560 } 7561 7562 if got := lsh_1_uint32_ssa(0); got != 1 { 7563 fmt.Printf("lsh_uint32 1%s0 = %d, wanted 1\n", `<<`, got) 7564 failed = true 7565 } 7566 7567 if got := lsh_uint32_1_ssa(0); got != 0 { 7568 fmt.Printf("lsh_uint32 0%s1 = %d, wanted 0\n", `<<`, got) 7569 failed = true 7570 } 7571 7572 if got := lsh_1_uint32_ssa(1); got != 2 { 7573 fmt.Printf("lsh_uint32 1%s1 = %d, wanted 2\n", `<<`, got) 7574 failed = true 7575 } 7576 7577 if got := lsh_uint32_1_ssa(1); got != 2 { 7578 fmt.Printf("lsh_uint32 1%s1 = %d, wanted 2\n", `<<`, got) 7579 failed = true 7580 } 7581 7582 if got := lsh_1_uint32_ssa(4294967295); got != 0 { 7583 fmt.Printf("lsh_uint32 1%s4294967295 = %d, wanted 0\n", `<<`, got) 7584 failed = true 7585 } 7586 7587 if got := lsh_uint32_1_ssa(4294967295); got != 4294967294 { 7588 fmt.Printf("lsh_uint32 4294967295%s1 = %d, wanted 4294967294\n", `<<`, got) 7589 failed = true 7590 } 7591 7592 if got := lsh_4294967295_uint32_ssa(0); got != 4294967295 { 7593 fmt.Printf("lsh_uint32 4294967295%s0 = %d, wanted 4294967295\n", `<<`, got) 7594 failed = true 7595 } 7596 7597 if got := lsh_uint32_4294967295_ssa(0); got != 0 { 7598 fmt.Printf("lsh_uint32 0%s4294967295 = %d, wanted 0\n", `<<`, got) 7599 failed = true 7600 } 7601 7602 if got := lsh_4294967295_uint32_ssa(1); got != 4294967294 { 7603 fmt.Printf("lsh_uint32 4294967295%s1 = %d, wanted 4294967294\n", `<<`, got) 7604 failed = true 7605 } 7606 7607 if got := lsh_uint32_4294967295_ssa(1); got != 0 { 7608 fmt.Printf("lsh_uint32 1%s4294967295 = %d, wanted 0\n", `<<`, got) 7609 failed = true 7610 } 7611 7612 if got := lsh_4294967295_uint32_ssa(4294967295); got != 0 { 7613 fmt.Printf("lsh_uint32 4294967295%s4294967295 = %d, wanted 0\n", `<<`, got) 7614 failed = true 7615 } 7616 7617 if got := lsh_uint32_4294967295_ssa(4294967295); got != 0 { 7618 fmt.Printf("lsh_uint32 4294967295%s4294967295 = %d, wanted 0\n", `<<`, got) 7619 failed = true 7620 } 7621 7622 if got := rsh_0_uint32_ssa(0); got != 0 { 7623 fmt.Printf("rsh_uint32 0%s0 = %d, wanted 0\n", `>>`, got) 7624 failed = true 7625 } 7626 7627 if got := rsh_uint32_0_ssa(0); got != 0 { 7628 fmt.Printf("rsh_uint32 0%s0 = %d, wanted 0\n", `>>`, got) 7629 failed = true 7630 } 7631 7632 if got := rsh_0_uint32_ssa(1); got != 0 { 7633 fmt.Printf("rsh_uint32 0%s1 = %d, wanted 0\n", `>>`, got) 7634 failed = true 7635 } 7636 7637 if got := rsh_uint32_0_ssa(1); got != 1 { 7638 fmt.Printf("rsh_uint32 1%s0 = %d, wanted 1\n", `>>`, got) 7639 failed = true 7640 } 7641 7642 if got := rsh_0_uint32_ssa(4294967295); got != 0 { 7643 fmt.Printf("rsh_uint32 0%s4294967295 = %d, wanted 0\n", `>>`, got) 7644 failed = true 7645 } 7646 7647 if got := rsh_uint32_0_ssa(4294967295); got != 4294967295 { 7648 fmt.Printf("rsh_uint32 4294967295%s0 = %d, wanted 4294967295\n", `>>`, got) 7649 failed = true 7650 } 7651 7652 if got := rsh_1_uint32_ssa(0); got != 1 { 7653 fmt.Printf("rsh_uint32 1%s0 = %d, wanted 1\n", `>>`, got) 7654 failed = true 7655 } 7656 7657 if got := rsh_uint32_1_ssa(0); got != 0 { 7658 fmt.Printf("rsh_uint32 0%s1 = %d, wanted 0\n", `>>`, got) 7659 failed = true 7660 } 7661 7662 if got := rsh_1_uint32_ssa(1); got != 0 { 7663 fmt.Printf("rsh_uint32 1%s1 = %d, wanted 0\n", `>>`, got) 7664 failed = true 7665 } 7666 7667 if got := rsh_uint32_1_ssa(1); got != 0 { 7668 fmt.Printf("rsh_uint32 1%s1 = %d, wanted 0\n", `>>`, got) 7669 failed = true 7670 } 7671 7672 if got := rsh_1_uint32_ssa(4294967295); got != 0 { 7673 fmt.Printf("rsh_uint32 1%s4294967295 = %d, wanted 0\n", `>>`, got) 7674 failed = true 7675 } 7676 7677 if got := rsh_uint32_1_ssa(4294967295); got != 2147483647 { 7678 fmt.Printf("rsh_uint32 4294967295%s1 = %d, wanted 2147483647\n", `>>`, got) 7679 failed = true 7680 } 7681 7682 if got := rsh_4294967295_uint32_ssa(0); got != 4294967295 { 7683 fmt.Printf("rsh_uint32 4294967295%s0 = %d, wanted 4294967295\n", `>>`, got) 7684 failed = true 7685 } 7686 7687 if got := rsh_uint32_4294967295_ssa(0); got != 0 { 7688 fmt.Printf("rsh_uint32 0%s4294967295 = %d, wanted 0\n", `>>`, got) 7689 failed = true 7690 } 7691 7692 if got := rsh_4294967295_uint32_ssa(1); got != 2147483647 { 7693 fmt.Printf("rsh_uint32 4294967295%s1 = %d, wanted 2147483647\n", `>>`, got) 7694 failed = true 7695 } 7696 7697 if got := rsh_uint32_4294967295_ssa(1); got != 0 { 7698 fmt.Printf("rsh_uint32 1%s4294967295 = %d, wanted 0\n", `>>`, got) 7699 failed = true 7700 } 7701 7702 if got := rsh_4294967295_uint32_ssa(4294967295); got != 0 { 7703 fmt.Printf("rsh_uint32 4294967295%s4294967295 = %d, wanted 0\n", `>>`, got) 7704 failed = true 7705 } 7706 7707 if got := rsh_uint32_4294967295_ssa(4294967295); got != 0 { 7708 fmt.Printf("rsh_uint32 4294967295%s4294967295 = %d, wanted 0\n", `>>`, got) 7709 failed = true 7710 } 7711 7712 if got := mod_0_uint32_ssa(1); got != 0 { 7713 fmt.Printf("mod_uint32 0%s1 = %d, wanted 0\n", `%`, got) 7714 failed = true 7715 } 7716 7717 if got := mod_0_uint32_ssa(4294967295); got != 0 { 7718 fmt.Printf("mod_uint32 0%s4294967295 = %d, wanted 0\n", `%`, got) 7719 failed = true 7720 } 7721 7722 if got := mod_uint32_1_ssa(0); got != 0 { 7723 fmt.Printf("mod_uint32 0%s1 = %d, wanted 0\n", `%`, got) 7724 failed = true 7725 } 7726 7727 if got := mod_1_uint32_ssa(1); got != 0 { 7728 fmt.Printf("mod_uint32 1%s1 = %d, wanted 0\n", `%`, got) 7729 failed = true 7730 } 7731 7732 if got := mod_uint32_1_ssa(1); got != 0 { 7733 fmt.Printf("mod_uint32 1%s1 = %d, wanted 0\n", `%`, got) 7734 failed = true 7735 } 7736 7737 if got := mod_1_uint32_ssa(4294967295); got != 1 { 7738 fmt.Printf("mod_uint32 1%s4294967295 = %d, wanted 1\n", `%`, got) 7739 failed = true 7740 } 7741 7742 if got := mod_uint32_1_ssa(4294967295); got != 0 { 7743 fmt.Printf("mod_uint32 4294967295%s1 = %d, wanted 0\n", `%`, got) 7744 failed = true 7745 } 7746 7747 if got := mod_uint32_4294967295_ssa(0); got != 0 { 7748 fmt.Printf("mod_uint32 0%s4294967295 = %d, wanted 0\n", `%`, got) 7749 failed = true 7750 } 7751 7752 if got := mod_4294967295_uint32_ssa(1); got != 0 { 7753 fmt.Printf("mod_uint32 4294967295%s1 = %d, wanted 0\n", `%`, got) 7754 failed = true 7755 } 7756 7757 if got := mod_uint32_4294967295_ssa(1); got != 1 { 7758 fmt.Printf("mod_uint32 1%s4294967295 = %d, wanted 1\n", `%`, got) 7759 failed = true 7760 } 7761 7762 if got := mod_4294967295_uint32_ssa(4294967295); got != 0 { 7763 fmt.Printf("mod_uint32 4294967295%s4294967295 = %d, wanted 0\n", `%`, got) 7764 failed = true 7765 } 7766 7767 if got := mod_uint32_4294967295_ssa(4294967295); got != 0 { 7768 fmt.Printf("mod_uint32 4294967295%s4294967295 = %d, wanted 0\n", `%`, got) 7769 failed = true 7770 } 7771 7772 if got := add_Neg2147483648_int32_ssa(-2147483648); got != 0 { 7773 fmt.Printf("add_int32 -2147483648%s-2147483648 = %d, wanted 0\n", `+`, got) 7774 failed = true 7775 } 7776 7777 if got := add_int32_Neg2147483648_ssa(-2147483648); got != 0 { 7778 fmt.Printf("add_int32 -2147483648%s-2147483648 = %d, wanted 0\n", `+`, got) 7779 failed = true 7780 } 7781 7782 if got := add_Neg2147483648_int32_ssa(-2147483647); got != 1 { 7783 fmt.Printf("add_int32 -2147483648%s-2147483647 = %d, wanted 1\n", `+`, got) 7784 failed = true 7785 } 7786 7787 if got := add_int32_Neg2147483648_ssa(-2147483647); got != 1 { 7788 fmt.Printf("add_int32 -2147483647%s-2147483648 = %d, wanted 1\n", `+`, got) 7789 failed = true 7790 } 7791 7792 if got := add_Neg2147483648_int32_ssa(-1); got != 2147483647 { 7793 fmt.Printf("add_int32 -2147483648%s-1 = %d, wanted 2147483647\n", `+`, got) 7794 failed = true 7795 } 7796 7797 if got := add_int32_Neg2147483648_ssa(-1); got != 2147483647 { 7798 fmt.Printf("add_int32 -1%s-2147483648 = %d, wanted 2147483647\n", `+`, got) 7799 failed = true 7800 } 7801 7802 if got := add_Neg2147483648_int32_ssa(0); got != -2147483648 { 7803 fmt.Printf("add_int32 -2147483648%s0 = %d, wanted -2147483648\n", `+`, got) 7804 failed = true 7805 } 7806 7807 if got := add_int32_Neg2147483648_ssa(0); got != -2147483648 { 7808 fmt.Printf("add_int32 0%s-2147483648 = %d, wanted -2147483648\n", `+`, got) 7809 failed = true 7810 } 7811 7812 if got := add_Neg2147483648_int32_ssa(1); got != -2147483647 { 7813 fmt.Printf("add_int32 -2147483648%s1 = %d, wanted -2147483647\n", `+`, got) 7814 failed = true 7815 } 7816 7817 if got := add_int32_Neg2147483648_ssa(1); got != -2147483647 { 7818 fmt.Printf("add_int32 1%s-2147483648 = %d, wanted -2147483647\n", `+`, got) 7819 failed = true 7820 } 7821 7822 if got := add_Neg2147483648_int32_ssa(2147483647); got != -1 { 7823 fmt.Printf("add_int32 -2147483648%s2147483647 = %d, wanted -1\n", `+`, got) 7824 failed = true 7825 } 7826 7827 if got := add_int32_Neg2147483648_ssa(2147483647); got != -1 { 7828 fmt.Printf("add_int32 2147483647%s-2147483648 = %d, wanted -1\n", `+`, got) 7829 failed = true 7830 } 7831 7832 if got := add_Neg2147483647_int32_ssa(-2147483648); got != 1 { 7833 fmt.Printf("add_int32 -2147483647%s-2147483648 = %d, wanted 1\n", `+`, got) 7834 failed = true 7835 } 7836 7837 if got := add_int32_Neg2147483647_ssa(-2147483648); got != 1 { 7838 fmt.Printf("add_int32 -2147483648%s-2147483647 = %d, wanted 1\n", `+`, got) 7839 failed = true 7840 } 7841 7842 if got := add_Neg2147483647_int32_ssa(-2147483647); got != 2 { 7843 fmt.Printf("add_int32 -2147483647%s-2147483647 = %d, wanted 2\n", `+`, got) 7844 failed = true 7845 } 7846 7847 if got := add_int32_Neg2147483647_ssa(-2147483647); got != 2 { 7848 fmt.Printf("add_int32 -2147483647%s-2147483647 = %d, wanted 2\n", `+`, got) 7849 failed = true 7850 } 7851 7852 if got := add_Neg2147483647_int32_ssa(-1); got != -2147483648 { 7853 fmt.Printf("add_int32 -2147483647%s-1 = %d, wanted -2147483648\n", `+`, got) 7854 failed = true 7855 } 7856 7857 if got := add_int32_Neg2147483647_ssa(-1); got != -2147483648 { 7858 fmt.Printf("add_int32 -1%s-2147483647 = %d, wanted -2147483648\n", `+`, got) 7859 failed = true 7860 } 7861 7862 if got := add_Neg2147483647_int32_ssa(0); got != -2147483647 { 7863 fmt.Printf("add_int32 -2147483647%s0 = %d, wanted -2147483647\n", `+`, got) 7864 failed = true 7865 } 7866 7867 if got := add_int32_Neg2147483647_ssa(0); got != -2147483647 { 7868 fmt.Printf("add_int32 0%s-2147483647 = %d, wanted -2147483647\n", `+`, got) 7869 failed = true 7870 } 7871 7872 if got := add_Neg2147483647_int32_ssa(1); got != -2147483646 { 7873 fmt.Printf("add_int32 -2147483647%s1 = %d, wanted -2147483646\n", `+`, got) 7874 failed = true 7875 } 7876 7877 if got := add_int32_Neg2147483647_ssa(1); got != -2147483646 { 7878 fmt.Printf("add_int32 1%s-2147483647 = %d, wanted -2147483646\n", `+`, got) 7879 failed = true 7880 } 7881 7882 if got := add_Neg2147483647_int32_ssa(2147483647); got != 0 { 7883 fmt.Printf("add_int32 -2147483647%s2147483647 = %d, wanted 0\n", `+`, got) 7884 failed = true 7885 } 7886 7887 if got := add_int32_Neg2147483647_ssa(2147483647); got != 0 { 7888 fmt.Printf("add_int32 2147483647%s-2147483647 = %d, wanted 0\n", `+`, got) 7889 failed = true 7890 } 7891 7892 if got := add_Neg1_int32_ssa(-2147483648); got != 2147483647 { 7893 fmt.Printf("add_int32 -1%s-2147483648 = %d, wanted 2147483647\n", `+`, got) 7894 failed = true 7895 } 7896 7897 if got := add_int32_Neg1_ssa(-2147483648); got != 2147483647 { 7898 fmt.Printf("add_int32 -2147483648%s-1 = %d, wanted 2147483647\n", `+`, got) 7899 failed = true 7900 } 7901 7902 if got := add_Neg1_int32_ssa(-2147483647); got != -2147483648 { 7903 fmt.Printf("add_int32 -1%s-2147483647 = %d, wanted -2147483648\n", `+`, got) 7904 failed = true 7905 } 7906 7907 if got := add_int32_Neg1_ssa(-2147483647); got != -2147483648 { 7908 fmt.Printf("add_int32 -2147483647%s-1 = %d, wanted -2147483648\n", `+`, got) 7909 failed = true 7910 } 7911 7912 if got := add_Neg1_int32_ssa(-1); got != -2 { 7913 fmt.Printf("add_int32 -1%s-1 = %d, wanted -2\n", `+`, got) 7914 failed = true 7915 } 7916 7917 if got := add_int32_Neg1_ssa(-1); got != -2 { 7918 fmt.Printf("add_int32 -1%s-1 = %d, wanted -2\n", `+`, got) 7919 failed = true 7920 } 7921 7922 if got := add_Neg1_int32_ssa(0); got != -1 { 7923 fmt.Printf("add_int32 -1%s0 = %d, wanted -1\n", `+`, got) 7924 failed = true 7925 } 7926 7927 if got := add_int32_Neg1_ssa(0); got != -1 { 7928 fmt.Printf("add_int32 0%s-1 = %d, wanted -1\n", `+`, got) 7929 failed = true 7930 } 7931 7932 if got := add_Neg1_int32_ssa(1); got != 0 { 7933 fmt.Printf("add_int32 -1%s1 = %d, wanted 0\n", `+`, got) 7934 failed = true 7935 } 7936 7937 if got := add_int32_Neg1_ssa(1); got != 0 { 7938 fmt.Printf("add_int32 1%s-1 = %d, wanted 0\n", `+`, got) 7939 failed = true 7940 } 7941 7942 if got := add_Neg1_int32_ssa(2147483647); got != 2147483646 { 7943 fmt.Printf("add_int32 -1%s2147483647 = %d, wanted 2147483646\n", `+`, got) 7944 failed = true 7945 } 7946 7947 if got := add_int32_Neg1_ssa(2147483647); got != 2147483646 { 7948 fmt.Printf("add_int32 2147483647%s-1 = %d, wanted 2147483646\n", `+`, got) 7949 failed = true 7950 } 7951 7952 if got := add_0_int32_ssa(-2147483648); got != -2147483648 { 7953 fmt.Printf("add_int32 0%s-2147483648 = %d, wanted -2147483648\n", `+`, got) 7954 failed = true 7955 } 7956 7957 if got := add_int32_0_ssa(-2147483648); got != -2147483648 { 7958 fmt.Printf("add_int32 -2147483648%s0 = %d, wanted -2147483648\n", `+`, got) 7959 failed = true 7960 } 7961 7962 if got := add_0_int32_ssa(-2147483647); got != -2147483647 { 7963 fmt.Printf("add_int32 0%s-2147483647 = %d, wanted -2147483647\n", `+`, got) 7964 failed = true 7965 } 7966 7967 if got := add_int32_0_ssa(-2147483647); got != -2147483647 { 7968 fmt.Printf("add_int32 -2147483647%s0 = %d, wanted -2147483647\n", `+`, got) 7969 failed = true 7970 } 7971 7972 if got := add_0_int32_ssa(-1); got != -1 { 7973 fmt.Printf("add_int32 0%s-1 = %d, wanted -1\n", `+`, got) 7974 failed = true 7975 } 7976 7977 if got := add_int32_0_ssa(-1); got != -1 { 7978 fmt.Printf("add_int32 -1%s0 = %d, wanted -1\n", `+`, got) 7979 failed = true 7980 } 7981 7982 if got := add_0_int32_ssa(0); got != 0 { 7983 fmt.Printf("add_int32 0%s0 = %d, wanted 0\n", `+`, got) 7984 failed = true 7985 } 7986 7987 if got := add_int32_0_ssa(0); got != 0 { 7988 fmt.Printf("add_int32 0%s0 = %d, wanted 0\n", `+`, got) 7989 failed = true 7990 } 7991 7992 if got := add_0_int32_ssa(1); got != 1 { 7993 fmt.Printf("add_int32 0%s1 = %d, wanted 1\n", `+`, got) 7994 failed = true 7995 } 7996 7997 if got := add_int32_0_ssa(1); got != 1 { 7998 fmt.Printf("add_int32 1%s0 = %d, wanted 1\n", `+`, got) 7999 failed = true 8000 } 8001 8002 if got := add_0_int32_ssa(2147483647); got != 2147483647 { 8003 fmt.Printf("add_int32 0%s2147483647 = %d, wanted 2147483647\n", `+`, got) 8004 failed = true 8005 } 8006 8007 if got := add_int32_0_ssa(2147483647); got != 2147483647 { 8008 fmt.Printf("add_int32 2147483647%s0 = %d, wanted 2147483647\n", `+`, got) 8009 failed = true 8010 } 8011 8012 if got := add_1_int32_ssa(-2147483648); got != -2147483647 { 8013 fmt.Printf("add_int32 1%s-2147483648 = %d, wanted -2147483647\n", `+`, got) 8014 failed = true 8015 } 8016 8017 if got := add_int32_1_ssa(-2147483648); got != -2147483647 { 8018 fmt.Printf("add_int32 -2147483648%s1 = %d, wanted -2147483647\n", `+`, got) 8019 failed = true 8020 } 8021 8022 if got := add_1_int32_ssa(-2147483647); got != -2147483646 { 8023 fmt.Printf("add_int32 1%s-2147483647 = %d, wanted -2147483646\n", `+`, got) 8024 failed = true 8025 } 8026 8027 if got := add_int32_1_ssa(-2147483647); got != -2147483646 { 8028 fmt.Printf("add_int32 -2147483647%s1 = %d, wanted -2147483646\n", `+`, got) 8029 failed = true 8030 } 8031 8032 if got := add_1_int32_ssa(-1); got != 0 { 8033 fmt.Printf("add_int32 1%s-1 = %d, wanted 0\n", `+`, got) 8034 failed = true 8035 } 8036 8037 if got := add_int32_1_ssa(-1); got != 0 { 8038 fmt.Printf("add_int32 -1%s1 = %d, wanted 0\n", `+`, got) 8039 failed = true 8040 } 8041 8042 if got := add_1_int32_ssa(0); got != 1 { 8043 fmt.Printf("add_int32 1%s0 = %d, wanted 1\n", `+`, got) 8044 failed = true 8045 } 8046 8047 if got := add_int32_1_ssa(0); got != 1 { 8048 fmt.Printf("add_int32 0%s1 = %d, wanted 1\n", `+`, got) 8049 failed = true 8050 } 8051 8052 if got := add_1_int32_ssa(1); got != 2 { 8053 fmt.Printf("add_int32 1%s1 = %d, wanted 2\n", `+`, got) 8054 failed = true 8055 } 8056 8057 if got := add_int32_1_ssa(1); got != 2 { 8058 fmt.Printf("add_int32 1%s1 = %d, wanted 2\n", `+`, got) 8059 failed = true 8060 } 8061 8062 if got := add_1_int32_ssa(2147483647); got != -2147483648 { 8063 fmt.Printf("add_int32 1%s2147483647 = %d, wanted -2147483648\n", `+`, got) 8064 failed = true 8065 } 8066 8067 if got := add_int32_1_ssa(2147483647); got != -2147483648 { 8068 fmt.Printf("add_int32 2147483647%s1 = %d, wanted -2147483648\n", `+`, got) 8069 failed = true 8070 } 8071 8072 if got := add_2147483647_int32_ssa(-2147483648); got != -1 { 8073 fmt.Printf("add_int32 2147483647%s-2147483648 = %d, wanted -1\n", `+`, got) 8074 failed = true 8075 } 8076 8077 if got := add_int32_2147483647_ssa(-2147483648); got != -1 { 8078 fmt.Printf("add_int32 -2147483648%s2147483647 = %d, wanted -1\n", `+`, got) 8079 failed = true 8080 } 8081 8082 if got := add_2147483647_int32_ssa(-2147483647); got != 0 { 8083 fmt.Printf("add_int32 2147483647%s-2147483647 = %d, wanted 0\n", `+`, got) 8084 failed = true 8085 } 8086 8087 if got := add_int32_2147483647_ssa(-2147483647); got != 0 { 8088 fmt.Printf("add_int32 -2147483647%s2147483647 = %d, wanted 0\n", `+`, got) 8089 failed = true 8090 } 8091 8092 if got := add_2147483647_int32_ssa(-1); got != 2147483646 { 8093 fmt.Printf("add_int32 2147483647%s-1 = %d, wanted 2147483646\n", `+`, got) 8094 failed = true 8095 } 8096 8097 if got := add_int32_2147483647_ssa(-1); got != 2147483646 { 8098 fmt.Printf("add_int32 -1%s2147483647 = %d, wanted 2147483646\n", `+`, got) 8099 failed = true 8100 } 8101 8102 if got := add_2147483647_int32_ssa(0); got != 2147483647 { 8103 fmt.Printf("add_int32 2147483647%s0 = %d, wanted 2147483647\n", `+`, got) 8104 failed = true 8105 } 8106 8107 if got := add_int32_2147483647_ssa(0); got != 2147483647 { 8108 fmt.Printf("add_int32 0%s2147483647 = %d, wanted 2147483647\n", `+`, got) 8109 failed = true 8110 } 8111 8112 if got := add_2147483647_int32_ssa(1); got != -2147483648 { 8113 fmt.Printf("add_int32 2147483647%s1 = %d, wanted -2147483648\n", `+`, got) 8114 failed = true 8115 } 8116 8117 if got := add_int32_2147483647_ssa(1); got != -2147483648 { 8118 fmt.Printf("add_int32 1%s2147483647 = %d, wanted -2147483648\n", `+`, got) 8119 failed = true 8120 } 8121 8122 if got := add_2147483647_int32_ssa(2147483647); got != -2 { 8123 fmt.Printf("add_int32 2147483647%s2147483647 = %d, wanted -2\n", `+`, got) 8124 failed = true 8125 } 8126 8127 if got := add_int32_2147483647_ssa(2147483647); got != -2 { 8128 fmt.Printf("add_int32 2147483647%s2147483647 = %d, wanted -2\n", `+`, got) 8129 failed = true 8130 } 8131 8132 if got := sub_Neg2147483648_int32_ssa(-2147483648); got != 0 { 8133 fmt.Printf("sub_int32 -2147483648%s-2147483648 = %d, wanted 0\n", `-`, got) 8134 failed = true 8135 } 8136 8137 if got := sub_int32_Neg2147483648_ssa(-2147483648); got != 0 { 8138 fmt.Printf("sub_int32 -2147483648%s-2147483648 = %d, wanted 0\n", `-`, got) 8139 failed = true 8140 } 8141 8142 if got := sub_Neg2147483648_int32_ssa(-2147483647); got != -1 { 8143 fmt.Printf("sub_int32 -2147483648%s-2147483647 = %d, wanted -1\n", `-`, got) 8144 failed = true 8145 } 8146 8147 if got := sub_int32_Neg2147483648_ssa(-2147483647); got != 1 { 8148 fmt.Printf("sub_int32 -2147483647%s-2147483648 = %d, wanted 1\n", `-`, got) 8149 failed = true 8150 } 8151 8152 if got := sub_Neg2147483648_int32_ssa(-1); got != -2147483647 { 8153 fmt.Printf("sub_int32 -2147483648%s-1 = %d, wanted -2147483647\n", `-`, got) 8154 failed = true 8155 } 8156 8157 if got := sub_int32_Neg2147483648_ssa(-1); got != 2147483647 { 8158 fmt.Printf("sub_int32 -1%s-2147483648 = %d, wanted 2147483647\n", `-`, got) 8159 failed = true 8160 } 8161 8162 if got := sub_Neg2147483648_int32_ssa(0); got != -2147483648 { 8163 fmt.Printf("sub_int32 -2147483648%s0 = %d, wanted -2147483648\n", `-`, got) 8164 failed = true 8165 } 8166 8167 if got := sub_int32_Neg2147483648_ssa(0); got != -2147483648 { 8168 fmt.Printf("sub_int32 0%s-2147483648 = %d, wanted -2147483648\n", `-`, got) 8169 failed = true 8170 } 8171 8172 if got := sub_Neg2147483648_int32_ssa(1); got != 2147483647 { 8173 fmt.Printf("sub_int32 -2147483648%s1 = %d, wanted 2147483647\n", `-`, got) 8174 failed = true 8175 } 8176 8177 if got := sub_int32_Neg2147483648_ssa(1); got != -2147483647 { 8178 fmt.Printf("sub_int32 1%s-2147483648 = %d, wanted -2147483647\n", `-`, got) 8179 failed = true 8180 } 8181 8182 if got := sub_Neg2147483648_int32_ssa(2147483647); got != 1 { 8183 fmt.Printf("sub_int32 -2147483648%s2147483647 = %d, wanted 1\n", `-`, got) 8184 failed = true 8185 } 8186 8187 if got := sub_int32_Neg2147483648_ssa(2147483647); got != -1 { 8188 fmt.Printf("sub_int32 2147483647%s-2147483648 = %d, wanted -1\n", `-`, got) 8189 failed = true 8190 } 8191 8192 if got := sub_Neg2147483647_int32_ssa(-2147483648); got != 1 { 8193 fmt.Printf("sub_int32 -2147483647%s-2147483648 = %d, wanted 1\n", `-`, got) 8194 failed = true 8195 } 8196 8197 if got := sub_int32_Neg2147483647_ssa(-2147483648); got != -1 { 8198 fmt.Printf("sub_int32 -2147483648%s-2147483647 = %d, wanted -1\n", `-`, got) 8199 failed = true 8200 } 8201 8202 if got := sub_Neg2147483647_int32_ssa(-2147483647); got != 0 { 8203 fmt.Printf("sub_int32 -2147483647%s-2147483647 = %d, wanted 0\n", `-`, got) 8204 failed = true 8205 } 8206 8207 if got := sub_int32_Neg2147483647_ssa(-2147483647); got != 0 { 8208 fmt.Printf("sub_int32 -2147483647%s-2147483647 = %d, wanted 0\n", `-`, got) 8209 failed = true 8210 } 8211 8212 if got := sub_Neg2147483647_int32_ssa(-1); got != -2147483646 { 8213 fmt.Printf("sub_int32 -2147483647%s-1 = %d, wanted -2147483646\n", `-`, got) 8214 failed = true 8215 } 8216 8217 if got := sub_int32_Neg2147483647_ssa(-1); got != 2147483646 { 8218 fmt.Printf("sub_int32 -1%s-2147483647 = %d, wanted 2147483646\n", `-`, got) 8219 failed = true 8220 } 8221 8222 if got := sub_Neg2147483647_int32_ssa(0); got != -2147483647 { 8223 fmt.Printf("sub_int32 -2147483647%s0 = %d, wanted -2147483647\n", `-`, got) 8224 failed = true 8225 } 8226 8227 if got := sub_int32_Neg2147483647_ssa(0); got != 2147483647 { 8228 fmt.Printf("sub_int32 0%s-2147483647 = %d, wanted 2147483647\n", `-`, got) 8229 failed = true 8230 } 8231 8232 if got := sub_Neg2147483647_int32_ssa(1); got != -2147483648 { 8233 fmt.Printf("sub_int32 -2147483647%s1 = %d, wanted -2147483648\n", `-`, got) 8234 failed = true 8235 } 8236 8237 if got := sub_int32_Neg2147483647_ssa(1); got != -2147483648 { 8238 fmt.Printf("sub_int32 1%s-2147483647 = %d, wanted -2147483648\n", `-`, got) 8239 failed = true 8240 } 8241 8242 if got := sub_Neg2147483647_int32_ssa(2147483647); got != 2 { 8243 fmt.Printf("sub_int32 -2147483647%s2147483647 = %d, wanted 2\n", `-`, got) 8244 failed = true 8245 } 8246 8247 if got := sub_int32_Neg2147483647_ssa(2147483647); got != -2 { 8248 fmt.Printf("sub_int32 2147483647%s-2147483647 = %d, wanted -2\n", `-`, got) 8249 failed = true 8250 } 8251 8252 if got := sub_Neg1_int32_ssa(-2147483648); got != 2147483647 { 8253 fmt.Printf("sub_int32 -1%s-2147483648 = %d, wanted 2147483647\n", `-`, got) 8254 failed = true 8255 } 8256 8257 if got := sub_int32_Neg1_ssa(-2147483648); got != -2147483647 { 8258 fmt.Printf("sub_int32 -2147483648%s-1 = %d, wanted -2147483647\n", `-`, got) 8259 failed = true 8260 } 8261 8262 if got := sub_Neg1_int32_ssa(-2147483647); got != 2147483646 { 8263 fmt.Printf("sub_int32 -1%s-2147483647 = %d, wanted 2147483646\n", `-`, got) 8264 failed = true 8265 } 8266 8267 if got := sub_int32_Neg1_ssa(-2147483647); got != -2147483646 { 8268 fmt.Printf("sub_int32 -2147483647%s-1 = %d, wanted -2147483646\n", `-`, got) 8269 failed = true 8270 } 8271 8272 if got := sub_Neg1_int32_ssa(-1); got != 0 { 8273 fmt.Printf("sub_int32 -1%s-1 = %d, wanted 0\n", `-`, got) 8274 failed = true 8275 } 8276 8277 if got := sub_int32_Neg1_ssa(-1); got != 0 { 8278 fmt.Printf("sub_int32 -1%s-1 = %d, wanted 0\n", `-`, got) 8279 failed = true 8280 } 8281 8282 if got := sub_Neg1_int32_ssa(0); got != -1 { 8283 fmt.Printf("sub_int32 -1%s0 = %d, wanted -1\n", `-`, got) 8284 failed = true 8285 } 8286 8287 if got := sub_int32_Neg1_ssa(0); got != 1 { 8288 fmt.Printf("sub_int32 0%s-1 = %d, wanted 1\n", `-`, got) 8289 failed = true 8290 } 8291 8292 if got := sub_Neg1_int32_ssa(1); got != -2 { 8293 fmt.Printf("sub_int32 -1%s1 = %d, wanted -2\n", `-`, got) 8294 failed = true 8295 } 8296 8297 if got := sub_int32_Neg1_ssa(1); got != 2 { 8298 fmt.Printf("sub_int32 1%s-1 = %d, wanted 2\n", `-`, got) 8299 failed = true 8300 } 8301 8302 if got := sub_Neg1_int32_ssa(2147483647); got != -2147483648 { 8303 fmt.Printf("sub_int32 -1%s2147483647 = %d, wanted -2147483648\n", `-`, got) 8304 failed = true 8305 } 8306 8307 if got := sub_int32_Neg1_ssa(2147483647); got != -2147483648 { 8308 fmt.Printf("sub_int32 2147483647%s-1 = %d, wanted -2147483648\n", `-`, got) 8309 failed = true 8310 } 8311 8312 if got := sub_0_int32_ssa(-2147483648); got != -2147483648 { 8313 fmt.Printf("sub_int32 0%s-2147483648 = %d, wanted -2147483648\n", `-`, got) 8314 failed = true 8315 } 8316 8317 if got := sub_int32_0_ssa(-2147483648); got != -2147483648 { 8318 fmt.Printf("sub_int32 -2147483648%s0 = %d, wanted -2147483648\n", `-`, got) 8319 failed = true 8320 } 8321 8322 if got := sub_0_int32_ssa(-2147483647); got != 2147483647 { 8323 fmt.Printf("sub_int32 0%s-2147483647 = %d, wanted 2147483647\n", `-`, got) 8324 failed = true 8325 } 8326 8327 if got := sub_int32_0_ssa(-2147483647); got != -2147483647 { 8328 fmt.Printf("sub_int32 -2147483647%s0 = %d, wanted -2147483647\n", `-`, got) 8329 failed = true 8330 } 8331 8332 if got := sub_0_int32_ssa(-1); got != 1 { 8333 fmt.Printf("sub_int32 0%s-1 = %d, wanted 1\n", `-`, got) 8334 failed = true 8335 } 8336 8337 if got := sub_int32_0_ssa(-1); got != -1 { 8338 fmt.Printf("sub_int32 -1%s0 = %d, wanted -1\n", `-`, got) 8339 failed = true 8340 } 8341 8342 if got := sub_0_int32_ssa(0); got != 0 { 8343 fmt.Printf("sub_int32 0%s0 = %d, wanted 0\n", `-`, got) 8344 failed = true 8345 } 8346 8347 if got := sub_int32_0_ssa(0); got != 0 { 8348 fmt.Printf("sub_int32 0%s0 = %d, wanted 0\n", `-`, got) 8349 failed = true 8350 } 8351 8352 if got := sub_0_int32_ssa(1); got != -1 { 8353 fmt.Printf("sub_int32 0%s1 = %d, wanted -1\n", `-`, got) 8354 failed = true 8355 } 8356 8357 if got := sub_int32_0_ssa(1); got != 1 { 8358 fmt.Printf("sub_int32 1%s0 = %d, wanted 1\n", `-`, got) 8359 failed = true 8360 } 8361 8362 if got := sub_0_int32_ssa(2147483647); got != -2147483647 { 8363 fmt.Printf("sub_int32 0%s2147483647 = %d, wanted -2147483647\n", `-`, got) 8364 failed = true 8365 } 8366 8367 if got := sub_int32_0_ssa(2147483647); got != 2147483647 { 8368 fmt.Printf("sub_int32 2147483647%s0 = %d, wanted 2147483647\n", `-`, got) 8369 failed = true 8370 } 8371 8372 if got := sub_1_int32_ssa(-2147483648); got != -2147483647 { 8373 fmt.Printf("sub_int32 1%s-2147483648 = %d, wanted -2147483647\n", `-`, got) 8374 failed = true 8375 } 8376 8377 if got := sub_int32_1_ssa(-2147483648); got != 2147483647 { 8378 fmt.Printf("sub_int32 -2147483648%s1 = %d, wanted 2147483647\n", `-`, got) 8379 failed = true 8380 } 8381 8382 if got := sub_1_int32_ssa(-2147483647); got != -2147483648 { 8383 fmt.Printf("sub_int32 1%s-2147483647 = %d, wanted -2147483648\n", `-`, got) 8384 failed = true 8385 } 8386 8387 if got := sub_int32_1_ssa(-2147483647); got != -2147483648 { 8388 fmt.Printf("sub_int32 -2147483647%s1 = %d, wanted -2147483648\n", `-`, got) 8389 failed = true 8390 } 8391 8392 if got := sub_1_int32_ssa(-1); got != 2 { 8393 fmt.Printf("sub_int32 1%s-1 = %d, wanted 2\n", `-`, got) 8394 failed = true 8395 } 8396 8397 if got := sub_int32_1_ssa(-1); got != -2 { 8398 fmt.Printf("sub_int32 -1%s1 = %d, wanted -2\n", `-`, got) 8399 failed = true 8400 } 8401 8402 if got := sub_1_int32_ssa(0); got != 1 { 8403 fmt.Printf("sub_int32 1%s0 = %d, wanted 1\n", `-`, got) 8404 failed = true 8405 } 8406 8407 if got := sub_int32_1_ssa(0); got != -1 { 8408 fmt.Printf("sub_int32 0%s1 = %d, wanted -1\n", `-`, got) 8409 failed = true 8410 } 8411 8412 if got := sub_1_int32_ssa(1); got != 0 { 8413 fmt.Printf("sub_int32 1%s1 = %d, wanted 0\n", `-`, got) 8414 failed = true 8415 } 8416 8417 if got := sub_int32_1_ssa(1); got != 0 { 8418 fmt.Printf("sub_int32 1%s1 = %d, wanted 0\n", `-`, got) 8419 failed = true 8420 } 8421 8422 if got := sub_1_int32_ssa(2147483647); got != -2147483646 { 8423 fmt.Printf("sub_int32 1%s2147483647 = %d, wanted -2147483646\n", `-`, got) 8424 failed = true 8425 } 8426 8427 if got := sub_int32_1_ssa(2147483647); got != 2147483646 { 8428 fmt.Printf("sub_int32 2147483647%s1 = %d, wanted 2147483646\n", `-`, got) 8429 failed = true 8430 } 8431 8432 if got := sub_2147483647_int32_ssa(-2147483648); got != -1 { 8433 fmt.Printf("sub_int32 2147483647%s-2147483648 = %d, wanted -1\n", `-`, got) 8434 failed = true 8435 } 8436 8437 if got := sub_int32_2147483647_ssa(-2147483648); got != 1 { 8438 fmt.Printf("sub_int32 -2147483648%s2147483647 = %d, wanted 1\n", `-`, got) 8439 failed = true 8440 } 8441 8442 if got := sub_2147483647_int32_ssa(-2147483647); got != -2 { 8443 fmt.Printf("sub_int32 2147483647%s-2147483647 = %d, wanted -2\n", `-`, got) 8444 failed = true 8445 } 8446 8447 if got := sub_int32_2147483647_ssa(-2147483647); got != 2 { 8448 fmt.Printf("sub_int32 -2147483647%s2147483647 = %d, wanted 2\n", `-`, got) 8449 failed = true 8450 } 8451 8452 if got := sub_2147483647_int32_ssa(-1); got != -2147483648 { 8453 fmt.Printf("sub_int32 2147483647%s-1 = %d, wanted -2147483648\n", `-`, got) 8454 failed = true 8455 } 8456 8457 if got := sub_int32_2147483647_ssa(-1); got != -2147483648 { 8458 fmt.Printf("sub_int32 -1%s2147483647 = %d, wanted -2147483648\n", `-`, got) 8459 failed = true 8460 } 8461 8462 if got := sub_2147483647_int32_ssa(0); got != 2147483647 { 8463 fmt.Printf("sub_int32 2147483647%s0 = %d, wanted 2147483647\n", `-`, got) 8464 failed = true 8465 } 8466 8467 if got := sub_int32_2147483647_ssa(0); got != -2147483647 { 8468 fmt.Printf("sub_int32 0%s2147483647 = %d, wanted -2147483647\n", `-`, got) 8469 failed = true 8470 } 8471 8472 if got := sub_2147483647_int32_ssa(1); got != 2147483646 { 8473 fmt.Printf("sub_int32 2147483647%s1 = %d, wanted 2147483646\n", `-`, got) 8474 failed = true 8475 } 8476 8477 if got := sub_int32_2147483647_ssa(1); got != -2147483646 { 8478 fmt.Printf("sub_int32 1%s2147483647 = %d, wanted -2147483646\n", `-`, got) 8479 failed = true 8480 } 8481 8482 if got := sub_2147483647_int32_ssa(2147483647); got != 0 { 8483 fmt.Printf("sub_int32 2147483647%s2147483647 = %d, wanted 0\n", `-`, got) 8484 failed = true 8485 } 8486 8487 if got := sub_int32_2147483647_ssa(2147483647); got != 0 { 8488 fmt.Printf("sub_int32 2147483647%s2147483647 = %d, wanted 0\n", `-`, got) 8489 failed = true 8490 } 8491 8492 if got := div_Neg2147483648_int32_ssa(-2147483648); got != 1 { 8493 fmt.Printf("div_int32 -2147483648%s-2147483648 = %d, wanted 1\n", `/`, got) 8494 failed = true 8495 } 8496 8497 if got := div_int32_Neg2147483648_ssa(-2147483648); got != 1 { 8498 fmt.Printf("div_int32 -2147483648%s-2147483648 = %d, wanted 1\n", `/`, got) 8499 failed = true 8500 } 8501 8502 if got := div_Neg2147483648_int32_ssa(-2147483647); got != 1 { 8503 fmt.Printf("div_int32 -2147483648%s-2147483647 = %d, wanted 1\n", `/`, got) 8504 failed = true 8505 } 8506 8507 if got := div_int32_Neg2147483648_ssa(-2147483647); got != 0 { 8508 fmt.Printf("div_int32 -2147483647%s-2147483648 = %d, wanted 0\n", `/`, got) 8509 failed = true 8510 } 8511 8512 if got := div_Neg2147483648_int32_ssa(-1); got != -2147483648 { 8513 fmt.Printf("div_int32 -2147483648%s-1 = %d, wanted -2147483648\n", `/`, got) 8514 failed = true 8515 } 8516 8517 if got := div_int32_Neg2147483648_ssa(-1); got != 0 { 8518 fmt.Printf("div_int32 -1%s-2147483648 = %d, wanted 0\n", `/`, got) 8519 failed = true 8520 } 8521 8522 if got := div_int32_Neg2147483648_ssa(0); got != 0 { 8523 fmt.Printf("div_int32 0%s-2147483648 = %d, wanted 0\n", `/`, got) 8524 failed = true 8525 } 8526 8527 if got := div_Neg2147483648_int32_ssa(1); got != -2147483648 { 8528 fmt.Printf("div_int32 -2147483648%s1 = %d, wanted -2147483648\n", `/`, got) 8529 failed = true 8530 } 8531 8532 if got := div_int32_Neg2147483648_ssa(1); got != 0 { 8533 fmt.Printf("div_int32 1%s-2147483648 = %d, wanted 0\n", `/`, got) 8534 failed = true 8535 } 8536 8537 if got := div_Neg2147483648_int32_ssa(2147483647); got != -1 { 8538 fmt.Printf("div_int32 -2147483648%s2147483647 = %d, wanted -1\n", `/`, got) 8539 failed = true 8540 } 8541 8542 if got := div_int32_Neg2147483648_ssa(2147483647); got != 0 { 8543 fmt.Printf("div_int32 2147483647%s-2147483648 = %d, wanted 0\n", `/`, got) 8544 failed = true 8545 } 8546 8547 if got := div_Neg2147483647_int32_ssa(-2147483648); got != 0 { 8548 fmt.Printf("div_int32 -2147483647%s-2147483648 = %d, wanted 0\n", `/`, got) 8549 failed = true 8550 } 8551 8552 if got := div_int32_Neg2147483647_ssa(-2147483648); got != 1 { 8553 fmt.Printf("div_int32 -2147483648%s-2147483647 = %d, wanted 1\n", `/`, got) 8554 failed = true 8555 } 8556 8557 if got := div_Neg2147483647_int32_ssa(-2147483647); got != 1 { 8558 fmt.Printf("div_int32 -2147483647%s-2147483647 = %d, wanted 1\n", `/`, got) 8559 failed = true 8560 } 8561 8562 if got := div_int32_Neg2147483647_ssa(-2147483647); got != 1 { 8563 fmt.Printf("div_int32 -2147483647%s-2147483647 = %d, wanted 1\n", `/`, got) 8564 failed = true 8565 } 8566 8567 if got := div_Neg2147483647_int32_ssa(-1); got != 2147483647 { 8568 fmt.Printf("div_int32 -2147483647%s-1 = %d, wanted 2147483647\n", `/`, got) 8569 failed = true 8570 } 8571 8572 if got := div_int32_Neg2147483647_ssa(-1); got != 0 { 8573 fmt.Printf("div_int32 -1%s-2147483647 = %d, wanted 0\n", `/`, got) 8574 failed = true 8575 } 8576 8577 if got := div_int32_Neg2147483647_ssa(0); got != 0 { 8578 fmt.Printf("div_int32 0%s-2147483647 = %d, wanted 0\n", `/`, got) 8579 failed = true 8580 } 8581 8582 if got := div_Neg2147483647_int32_ssa(1); got != -2147483647 { 8583 fmt.Printf("div_int32 -2147483647%s1 = %d, wanted -2147483647\n", `/`, got) 8584 failed = true 8585 } 8586 8587 if got := div_int32_Neg2147483647_ssa(1); got != 0 { 8588 fmt.Printf("div_int32 1%s-2147483647 = %d, wanted 0\n", `/`, got) 8589 failed = true 8590 } 8591 8592 if got := div_Neg2147483647_int32_ssa(2147483647); got != -1 { 8593 fmt.Printf("div_int32 -2147483647%s2147483647 = %d, wanted -1\n", `/`, got) 8594 failed = true 8595 } 8596 8597 if got := div_int32_Neg2147483647_ssa(2147483647); got != -1 { 8598 fmt.Printf("div_int32 2147483647%s-2147483647 = %d, wanted -1\n", `/`, got) 8599 failed = true 8600 } 8601 8602 if got := div_Neg1_int32_ssa(-2147483648); got != 0 { 8603 fmt.Printf("div_int32 -1%s-2147483648 = %d, wanted 0\n", `/`, got) 8604 failed = true 8605 } 8606 8607 if got := div_int32_Neg1_ssa(-2147483648); got != -2147483648 { 8608 fmt.Printf("div_int32 -2147483648%s-1 = %d, wanted -2147483648\n", `/`, got) 8609 failed = true 8610 } 8611 8612 if got := div_Neg1_int32_ssa(-2147483647); got != 0 { 8613 fmt.Printf("div_int32 -1%s-2147483647 = %d, wanted 0\n", `/`, got) 8614 failed = true 8615 } 8616 8617 if got := div_int32_Neg1_ssa(-2147483647); got != 2147483647 { 8618 fmt.Printf("div_int32 -2147483647%s-1 = %d, wanted 2147483647\n", `/`, got) 8619 failed = true 8620 } 8621 8622 if got := div_Neg1_int32_ssa(-1); got != 1 { 8623 fmt.Printf("div_int32 -1%s-1 = %d, wanted 1\n", `/`, got) 8624 failed = true 8625 } 8626 8627 if got := div_int32_Neg1_ssa(-1); got != 1 { 8628 fmt.Printf("div_int32 -1%s-1 = %d, wanted 1\n", `/`, got) 8629 failed = true 8630 } 8631 8632 if got := div_int32_Neg1_ssa(0); got != 0 { 8633 fmt.Printf("div_int32 0%s-1 = %d, wanted 0\n", `/`, got) 8634 failed = true 8635 } 8636 8637 if got := div_Neg1_int32_ssa(1); got != -1 { 8638 fmt.Printf("div_int32 -1%s1 = %d, wanted -1\n", `/`, got) 8639 failed = true 8640 } 8641 8642 if got := div_int32_Neg1_ssa(1); got != -1 { 8643 fmt.Printf("div_int32 1%s-1 = %d, wanted -1\n", `/`, got) 8644 failed = true 8645 } 8646 8647 if got := div_Neg1_int32_ssa(2147483647); got != 0 { 8648 fmt.Printf("div_int32 -1%s2147483647 = %d, wanted 0\n", `/`, got) 8649 failed = true 8650 } 8651 8652 if got := div_int32_Neg1_ssa(2147483647); got != -2147483647 { 8653 fmt.Printf("div_int32 2147483647%s-1 = %d, wanted -2147483647\n", `/`, got) 8654 failed = true 8655 } 8656 8657 if got := div_0_int32_ssa(-2147483648); got != 0 { 8658 fmt.Printf("div_int32 0%s-2147483648 = %d, wanted 0\n", `/`, got) 8659 failed = true 8660 } 8661 8662 if got := div_0_int32_ssa(-2147483647); got != 0 { 8663 fmt.Printf("div_int32 0%s-2147483647 = %d, wanted 0\n", `/`, got) 8664 failed = true 8665 } 8666 8667 if got := div_0_int32_ssa(-1); got != 0 { 8668 fmt.Printf("div_int32 0%s-1 = %d, wanted 0\n", `/`, got) 8669 failed = true 8670 } 8671 8672 if got := div_0_int32_ssa(1); got != 0 { 8673 fmt.Printf("div_int32 0%s1 = %d, wanted 0\n", `/`, got) 8674 failed = true 8675 } 8676 8677 if got := div_0_int32_ssa(2147483647); got != 0 { 8678 fmt.Printf("div_int32 0%s2147483647 = %d, wanted 0\n", `/`, got) 8679 failed = true 8680 } 8681 8682 if got := div_1_int32_ssa(-2147483648); got != 0 { 8683 fmt.Printf("div_int32 1%s-2147483648 = %d, wanted 0\n", `/`, got) 8684 failed = true 8685 } 8686 8687 if got := div_int32_1_ssa(-2147483648); got != -2147483648 { 8688 fmt.Printf("div_int32 -2147483648%s1 = %d, wanted -2147483648\n", `/`, got) 8689 failed = true 8690 } 8691 8692 if got := div_1_int32_ssa(-2147483647); got != 0 { 8693 fmt.Printf("div_int32 1%s-2147483647 = %d, wanted 0\n", `/`, got) 8694 failed = true 8695 } 8696 8697 if got := div_int32_1_ssa(-2147483647); got != -2147483647 { 8698 fmt.Printf("div_int32 -2147483647%s1 = %d, wanted -2147483647\n", `/`, got) 8699 failed = true 8700 } 8701 8702 if got := div_1_int32_ssa(-1); got != -1 { 8703 fmt.Printf("div_int32 1%s-1 = %d, wanted -1\n", `/`, got) 8704 failed = true 8705 } 8706 8707 if got := div_int32_1_ssa(-1); got != -1 { 8708 fmt.Printf("div_int32 -1%s1 = %d, wanted -1\n", `/`, got) 8709 failed = true 8710 } 8711 8712 if got := div_int32_1_ssa(0); got != 0 { 8713 fmt.Printf("div_int32 0%s1 = %d, wanted 0\n", `/`, got) 8714 failed = true 8715 } 8716 8717 if got := div_1_int32_ssa(1); got != 1 { 8718 fmt.Printf("div_int32 1%s1 = %d, wanted 1\n", `/`, got) 8719 failed = true 8720 } 8721 8722 if got := div_int32_1_ssa(1); got != 1 { 8723 fmt.Printf("div_int32 1%s1 = %d, wanted 1\n", `/`, got) 8724 failed = true 8725 } 8726 8727 if got := div_1_int32_ssa(2147483647); got != 0 { 8728 fmt.Printf("div_int32 1%s2147483647 = %d, wanted 0\n", `/`, got) 8729 failed = true 8730 } 8731 8732 if got := div_int32_1_ssa(2147483647); got != 2147483647 { 8733 fmt.Printf("div_int32 2147483647%s1 = %d, wanted 2147483647\n", `/`, got) 8734 failed = true 8735 } 8736 8737 if got := div_2147483647_int32_ssa(-2147483648); got != 0 { 8738 fmt.Printf("div_int32 2147483647%s-2147483648 = %d, wanted 0\n", `/`, got) 8739 failed = true 8740 } 8741 8742 if got := div_int32_2147483647_ssa(-2147483648); got != -1 { 8743 fmt.Printf("div_int32 -2147483648%s2147483647 = %d, wanted -1\n", `/`, got) 8744 failed = true 8745 } 8746 8747 if got := div_2147483647_int32_ssa(-2147483647); got != -1 { 8748 fmt.Printf("div_int32 2147483647%s-2147483647 = %d, wanted -1\n", `/`, got) 8749 failed = true 8750 } 8751 8752 if got := div_int32_2147483647_ssa(-2147483647); got != -1 { 8753 fmt.Printf("div_int32 -2147483647%s2147483647 = %d, wanted -1\n", `/`, got) 8754 failed = true 8755 } 8756 8757 if got := div_2147483647_int32_ssa(-1); got != -2147483647 { 8758 fmt.Printf("div_int32 2147483647%s-1 = %d, wanted -2147483647\n", `/`, got) 8759 failed = true 8760 } 8761 8762 if got := div_int32_2147483647_ssa(-1); got != 0 { 8763 fmt.Printf("div_int32 -1%s2147483647 = %d, wanted 0\n", `/`, got) 8764 failed = true 8765 } 8766 8767 if got := div_int32_2147483647_ssa(0); got != 0 { 8768 fmt.Printf("div_int32 0%s2147483647 = %d, wanted 0\n", `/`, got) 8769 failed = true 8770 } 8771 8772 if got := div_2147483647_int32_ssa(1); got != 2147483647 { 8773 fmt.Printf("div_int32 2147483647%s1 = %d, wanted 2147483647\n", `/`, got) 8774 failed = true 8775 } 8776 8777 if got := div_int32_2147483647_ssa(1); got != 0 { 8778 fmt.Printf("div_int32 1%s2147483647 = %d, wanted 0\n", `/`, got) 8779 failed = true 8780 } 8781 8782 if got := div_2147483647_int32_ssa(2147483647); got != 1 { 8783 fmt.Printf("div_int32 2147483647%s2147483647 = %d, wanted 1\n", `/`, got) 8784 failed = true 8785 } 8786 8787 if got := div_int32_2147483647_ssa(2147483647); got != 1 { 8788 fmt.Printf("div_int32 2147483647%s2147483647 = %d, wanted 1\n", `/`, got) 8789 failed = true 8790 } 8791 8792 if got := mul_Neg2147483648_int32_ssa(-2147483648); got != 0 { 8793 fmt.Printf("mul_int32 -2147483648%s-2147483648 = %d, wanted 0\n", `*`, got) 8794 failed = true 8795 } 8796 8797 if got := mul_int32_Neg2147483648_ssa(-2147483648); got != 0 { 8798 fmt.Printf("mul_int32 -2147483648%s-2147483648 = %d, wanted 0\n", `*`, got) 8799 failed = true 8800 } 8801 8802 if got := mul_Neg2147483648_int32_ssa(-2147483647); got != -2147483648 { 8803 fmt.Printf("mul_int32 -2147483648%s-2147483647 = %d, wanted -2147483648\n", `*`, got) 8804 failed = true 8805 } 8806 8807 if got := mul_int32_Neg2147483648_ssa(-2147483647); got != -2147483648 { 8808 fmt.Printf("mul_int32 -2147483647%s-2147483648 = %d, wanted -2147483648\n", `*`, got) 8809 failed = true 8810 } 8811 8812 if got := mul_Neg2147483648_int32_ssa(-1); got != -2147483648 { 8813 fmt.Printf("mul_int32 -2147483648%s-1 = %d, wanted -2147483648\n", `*`, got) 8814 failed = true 8815 } 8816 8817 if got := mul_int32_Neg2147483648_ssa(-1); got != -2147483648 { 8818 fmt.Printf("mul_int32 -1%s-2147483648 = %d, wanted -2147483648\n", `*`, got) 8819 failed = true 8820 } 8821 8822 if got := mul_Neg2147483648_int32_ssa(0); got != 0 { 8823 fmt.Printf("mul_int32 -2147483648%s0 = %d, wanted 0\n", `*`, got) 8824 failed = true 8825 } 8826 8827 if got := mul_int32_Neg2147483648_ssa(0); got != 0 { 8828 fmt.Printf("mul_int32 0%s-2147483648 = %d, wanted 0\n", `*`, got) 8829 failed = true 8830 } 8831 8832 if got := mul_Neg2147483648_int32_ssa(1); got != -2147483648 { 8833 fmt.Printf("mul_int32 -2147483648%s1 = %d, wanted -2147483648\n", `*`, got) 8834 failed = true 8835 } 8836 8837 if got := mul_int32_Neg2147483648_ssa(1); got != -2147483648 { 8838 fmt.Printf("mul_int32 1%s-2147483648 = %d, wanted -2147483648\n", `*`, got) 8839 failed = true 8840 } 8841 8842 if got := mul_Neg2147483648_int32_ssa(2147483647); got != -2147483648 { 8843 fmt.Printf("mul_int32 -2147483648%s2147483647 = %d, wanted -2147483648\n", `*`, got) 8844 failed = true 8845 } 8846 8847 if got := mul_int32_Neg2147483648_ssa(2147483647); got != -2147483648 { 8848 fmt.Printf("mul_int32 2147483647%s-2147483648 = %d, wanted -2147483648\n", `*`, got) 8849 failed = true 8850 } 8851 8852 if got := mul_Neg2147483647_int32_ssa(-2147483648); got != -2147483648 { 8853 fmt.Printf("mul_int32 -2147483647%s-2147483648 = %d, wanted -2147483648\n", `*`, got) 8854 failed = true 8855 } 8856 8857 if got := mul_int32_Neg2147483647_ssa(-2147483648); got != -2147483648 { 8858 fmt.Printf("mul_int32 -2147483648%s-2147483647 = %d, wanted -2147483648\n", `*`, got) 8859 failed = true 8860 } 8861 8862 if got := mul_Neg2147483647_int32_ssa(-2147483647); got != 1 { 8863 fmt.Printf("mul_int32 -2147483647%s-2147483647 = %d, wanted 1\n", `*`, got) 8864 failed = true 8865 } 8866 8867 if got := mul_int32_Neg2147483647_ssa(-2147483647); got != 1 { 8868 fmt.Printf("mul_int32 -2147483647%s-2147483647 = %d, wanted 1\n", `*`, got) 8869 failed = true 8870 } 8871 8872 if got := mul_Neg2147483647_int32_ssa(-1); got != 2147483647 { 8873 fmt.Printf("mul_int32 -2147483647%s-1 = %d, wanted 2147483647\n", `*`, got) 8874 failed = true 8875 } 8876 8877 if got := mul_int32_Neg2147483647_ssa(-1); got != 2147483647 { 8878 fmt.Printf("mul_int32 -1%s-2147483647 = %d, wanted 2147483647\n", `*`, got) 8879 failed = true 8880 } 8881 8882 if got := mul_Neg2147483647_int32_ssa(0); got != 0 { 8883 fmt.Printf("mul_int32 -2147483647%s0 = %d, wanted 0\n", `*`, got) 8884 failed = true 8885 } 8886 8887 if got := mul_int32_Neg2147483647_ssa(0); got != 0 { 8888 fmt.Printf("mul_int32 0%s-2147483647 = %d, wanted 0\n", `*`, got) 8889 failed = true 8890 } 8891 8892 if got := mul_Neg2147483647_int32_ssa(1); got != -2147483647 { 8893 fmt.Printf("mul_int32 -2147483647%s1 = %d, wanted -2147483647\n", `*`, got) 8894 failed = true 8895 } 8896 8897 if got := mul_int32_Neg2147483647_ssa(1); got != -2147483647 { 8898 fmt.Printf("mul_int32 1%s-2147483647 = %d, wanted -2147483647\n", `*`, got) 8899 failed = true 8900 } 8901 8902 if got := mul_Neg2147483647_int32_ssa(2147483647); got != -1 { 8903 fmt.Printf("mul_int32 -2147483647%s2147483647 = %d, wanted -1\n", `*`, got) 8904 failed = true 8905 } 8906 8907 if got := mul_int32_Neg2147483647_ssa(2147483647); got != -1 { 8908 fmt.Printf("mul_int32 2147483647%s-2147483647 = %d, wanted -1\n", `*`, got) 8909 failed = true 8910 } 8911 8912 if got := mul_Neg1_int32_ssa(-2147483648); got != -2147483648 { 8913 fmt.Printf("mul_int32 -1%s-2147483648 = %d, wanted -2147483648\n", `*`, got) 8914 failed = true 8915 } 8916 8917 if got := mul_int32_Neg1_ssa(-2147483648); got != -2147483648 { 8918 fmt.Printf("mul_int32 -2147483648%s-1 = %d, wanted -2147483648\n", `*`, got) 8919 failed = true 8920 } 8921 8922 if got := mul_Neg1_int32_ssa(-2147483647); got != 2147483647 { 8923 fmt.Printf("mul_int32 -1%s-2147483647 = %d, wanted 2147483647\n", `*`, got) 8924 failed = true 8925 } 8926 8927 if got := mul_int32_Neg1_ssa(-2147483647); got != 2147483647 { 8928 fmt.Printf("mul_int32 -2147483647%s-1 = %d, wanted 2147483647\n", `*`, got) 8929 failed = true 8930 } 8931 8932 if got := mul_Neg1_int32_ssa(-1); got != 1 { 8933 fmt.Printf("mul_int32 -1%s-1 = %d, wanted 1\n", `*`, got) 8934 failed = true 8935 } 8936 8937 if got := mul_int32_Neg1_ssa(-1); got != 1 { 8938 fmt.Printf("mul_int32 -1%s-1 = %d, wanted 1\n", `*`, got) 8939 failed = true 8940 } 8941 8942 if got := mul_Neg1_int32_ssa(0); got != 0 { 8943 fmt.Printf("mul_int32 -1%s0 = %d, wanted 0\n", `*`, got) 8944 failed = true 8945 } 8946 8947 if got := mul_int32_Neg1_ssa(0); got != 0 { 8948 fmt.Printf("mul_int32 0%s-1 = %d, wanted 0\n", `*`, got) 8949 failed = true 8950 } 8951 8952 if got := mul_Neg1_int32_ssa(1); got != -1 { 8953 fmt.Printf("mul_int32 -1%s1 = %d, wanted -1\n", `*`, got) 8954 failed = true 8955 } 8956 8957 if got := mul_int32_Neg1_ssa(1); got != -1 { 8958 fmt.Printf("mul_int32 1%s-1 = %d, wanted -1\n", `*`, got) 8959 failed = true 8960 } 8961 8962 if got := mul_Neg1_int32_ssa(2147483647); got != -2147483647 { 8963 fmt.Printf("mul_int32 -1%s2147483647 = %d, wanted -2147483647\n", `*`, got) 8964 failed = true 8965 } 8966 8967 if got := mul_int32_Neg1_ssa(2147483647); got != -2147483647 { 8968 fmt.Printf("mul_int32 2147483647%s-1 = %d, wanted -2147483647\n", `*`, got) 8969 failed = true 8970 } 8971 8972 if got := mul_0_int32_ssa(-2147483648); got != 0 { 8973 fmt.Printf("mul_int32 0%s-2147483648 = %d, wanted 0\n", `*`, got) 8974 failed = true 8975 } 8976 8977 if got := mul_int32_0_ssa(-2147483648); got != 0 { 8978 fmt.Printf("mul_int32 -2147483648%s0 = %d, wanted 0\n", `*`, got) 8979 failed = true 8980 } 8981 8982 if got := mul_0_int32_ssa(-2147483647); got != 0 { 8983 fmt.Printf("mul_int32 0%s-2147483647 = %d, wanted 0\n", `*`, got) 8984 failed = true 8985 } 8986 8987 if got := mul_int32_0_ssa(-2147483647); got != 0 { 8988 fmt.Printf("mul_int32 -2147483647%s0 = %d, wanted 0\n", `*`, got) 8989 failed = true 8990 } 8991 8992 if got := mul_0_int32_ssa(-1); got != 0 { 8993 fmt.Printf("mul_int32 0%s-1 = %d, wanted 0\n", `*`, got) 8994 failed = true 8995 } 8996 8997 if got := mul_int32_0_ssa(-1); got != 0 { 8998 fmt.Printf("mul_int32 -1%s0 = %d, wanted 0\n", `*`, got) 8999 failed = true 9000 } 9001 9002 if got := mul_0_int32_ssa(0); got != 0 { 9003 fmt.Printf("mul_int32 0%s0 = %d, wanted 0\n", `*`, got) 9004 failed = true 9005 } 9006 9007 if got := mul_int32_0_ssa(0); got != 0 { 9008 fmt.Printf("mul_int32 0%s0 = %d, wanted 0\n", `*`, got) 9009 failed = true 9010 } 9011 9012 if got := mul_0_int32_ssa(1); got != 0 { 9013 fmt.Printf("mul_int32 0%s1 = %d, wanted 0\n", `*`, got) 9014 failed = true 9015 } 9016 9017 if got := mul_int32_0_ssa(1); got != 0 { 9018 fmt.Printf("mul_int32 1%s0 = %d, wanted 0\n", `*`, got) 9019 failed = true 9020 } 9021 9022 if got := mul_0_int32_ssa(2147483647); got != 0 { 9023 fmt.Printf("mul_int32 0%s2147483647 = %d, wanted 0\n", `*`, got) 9024 failed = true 9025 } 9026 9027 if got := mul_int32_0_ssa(2147483647); got != 0 { 9028 fmt.Printf("mul_int32 2147483647%s0 = %d, wanted 0\n", `*`, got) 9029 failed = true 9030 } 9031 9032 if got := mul_1_int32_ssa(-2147483648); got != -2147483648 { 9033 fmt.Printf("mul_int32 1%s-2147483648 = %d, wanted -2147483648\n", `*`, got) 9034 failed = true 9035 } 9036 9037 if got := mul_int32_1_ssa(-2147483648); got != -2147483648 { 9038 fmt.Printf("mul_int32 -2147483648%s1 = %d, wanted -2147483648\n", `*`, got) 9039 failed = true 9040 } 9041 9042 if got := mul_1_int32_ssa(-2147483647); got != -2147483647 { 9043 fmt.Printf("mul_int32 1%s-2147483647 = %d, wanted -2147483647\n", `*`, got) 9044 failed = true 9045 } 9046 9047 if got := mul_int32_1_ssa(-2147483647); got != -2147483647 { 9048 fmt.Printf("mul_int32 -2147483647%s1 = %d, wanted -2147483647\n", `*`, got) 9049 failed = true 9050 } 9051 9052 if got := mul_1_int32_ssa(-1); got != -1 { 9053 fmt.Printf("mul_int32 1%s-1 = %d, wanted -1\n", `*`, got) 9054 failed = true 9055 } 9056 9057 if got := mul_int32_1_ssa(-1); got != -1 { 9058 fmt.Printf("mul_int32 -1%s1 = %d, wanted -1\n", `*`, got) 9059 failed = true 9060 } 9061 9062 if got := mul_1_int32_ssa(0); got != 0 { 9063 fmt.Printf("mul_int32 1%s0 = %d, wanted 0\n", `*`, got) 9064 failed = true 9065 } 9066 9067 if got := mul_int32_1_ssa(0); got != 0 { 9068 fmt.Printf("mul_int32 0%s1 = %d, wanted 0\n", `*`, got) 9069 failed = true 9070 } 9071 9072 if got := mul_1_int32_ssa(1); got != 1 { 9073 fmt.Printf("mul_int32 1%s1 = %d, wanted 1\n", `*`, got) 9074 failed = true 9075 } 9076 9077 if got := mul_int32_1_ssa(1); got != 1 { 9078 fmt.Printf("mul_int32 1%s1 = %d, wanted 1\n", `*`, got) 9079 failed = true 9080 } 9081 9082 if got := mul_1_int32_ssa(2147483647); got != 2147483647 { 9083 fmt.Printf("mul_int32 1%s2147483647 = %d, wanted 2147483647\n", `*`, got) 9084 failed = true 9085 } 9086 9087 if got := mul_int32_1_ssa(2147483647); got != 2147483647 { 9088 fmt.Printf("mul_int32 2147483647%s1 = %d, wanted 2147483647\n", `*`, got) 9089 failed = true 9090 } 9091 9092 if got := mul_2147483647_int32_ssa(-2147483648); got != -2147483648 { 9093 fmt.Printf("mul_int32 2147483647%s-2147483648 = %d, wanted -2147483648\n", `*`, got) 9094 failed = true 9095 } 9096 9097 if got := mul_int32_2147483647_ssa(-2147483648); got != -2147483648 { 9098 fmt.Printf("mul_int32 -2147483648%s2147483647 = %d, wanted -2147483648\n", `*`, got) 9099 failed = true 9100 } 9101 9102 if got := mul_2147483647_int32_ssa(-2147483647); got != -1 { 9103 fmt.Printf("mul_int32 2147483647%s-2147483647 = %d, wanted -1\n", `*`, got) 9104 failed = true 9105 } 9106 9107 if got := mul_int32_2147483647_ssa(-2147483647); got != -1 { 9108 fmt.Printf("mul_int32 -2147483647%s2147483647 = %d, wanted -1\n", `*`, got) 9109 failed = true 9110 } 9111 9112 if got := mul_2147483647_int32_ssa(-1); got != -2147483647 { 9113 fmt.Printf("mul_int32 2147483647%s-1 = %d, wanted -2147483647\n", `*`, got) 9114 failed = true 9115 } 9116 9117 if got := mul_int32_2147483647_ssa(-1); got != -2147483647 { 9118 fmt.Printf("mul_int32 -1%s2147483647 = %d, wanted -2147483647\n", `*`, got) 9119 failed = true 9120 } 9121 9122 if got := mul_2147483647_int32_ssa(0); got != 0 { 9123 fmt.Printf("mul_int32 2147483647%s0 = %d, wanted 0\n", `*`, got) 9124 failed = true 9125 } 9126 9127 if got := mul_int32_2147483647_ssa(0); got != 0 { 9128 fmt.Printf("mul_int32 0%s2147483647 = %d, wanted 0\n", `*`, got) 9129 failed = true 9130 } 9131 9132 if got := mul_2147483647_int32_ssa(1); got != 2147483647 { 9133 fmt.Printf("mul_int32 2147483647%s1 = %d, wanted 2147483647\n", `*`, got) 9134 failed = true 9135 } 9136 9137 if got := mul_int32_2147483647_ssa(1); got != 2147483647 { 9138 fmt.Printf("mul_int32 1%s2147483647 = %d, wanted 2147483647\n", `*`, got) 9139 failed = true 9140 } 9141 9142 if got := mul_2147483647_int32_ssa(2147483647); got != 1 { 9143 fmt.Printf("mul_int32 2147483647%s2147483647 = %d, wanted 1\n", `*`, got) 9144 failed = true 9145 } 9146 9147 if got := mul_int32_2147483647_ssa(2147483647); got != 1 { 9148 fmt.Printf("mul_int32 2147483647%s2147483647 = %d, wanted 1\n", `*`, got) 9149 failed = true 9150 } 9151 9152 if got := mod_Neg2147483648_int32_ssa(-2147483648); got != 0 { 9153 fmt.Printf("mod_int32 -2147483648%s-2147483648 = %d, wanted 0\n", `%`, got) 9154 failed = true 9155 } 9156 9157 if got := mod_int32_Neg2147483648_ssa(-2147483648); got != 0 { 9158 fmt.Printf("mod_int32 -2147483648%s-2147483648 = %d, wanted 0\n", `%`, got) 9159 failed = true 9160 } 9161 9162 if got := mod_Neg2147483648_int32_ssa(-2147483647); got != -1 { 9163 fmt.Printf("mod_int32 -2147483648%s-2147483647 = %d, wanted -1\n", `%`, got) 9164 failed = true 9165 } 9166 9167 if got := mod_int32_Neg2147483648_ssa(-2147483647); got != -2147483647 { 9168 fmt.Printf("mod_int32 -2147483647%s-2147483648 = %d, wanted -2147483647\n", `%`, got) 9169 failed = true 9170 } 9171 9172 if got := mod_Neg2147483648_int32_ssa(-1); got != 0 { 9173 fmt.Printf("mod_int32 -2147483648%s-1 = %d, wanted 0\n", `%`, got) 9174 failed = true 9175 } 9176 9177 if got := mod_int32_Neg2147483648_ssa(-1); got != -1 { 9178 fmt.Printf("mod_int32 -1%s-2147483648 = %d, wanted -1\n", `%`, got) 9179 failed = true 9180 } 9181 9182 if got := mod_int32_Neg2147483648_ssa(0); got != 0 { 9183 fmt.Printf("mod_int32 0%s-2147483648 = %d, wanted 0\n", `%`, got) 9184 failed = true 9185 } 9186 9187 if got := mod_Neg2147483648_int32_ssa(1); got != 0 { 9188 fmt.Printf("mod_int32 -2147483648%s1 = %d, wanted 0\n", `%`, got) 9189 failed = true 9190 } 9191 9192 if got := mod_int32_Neg2147483648_ssa(1); got != 1 { 9193 fmt.Printf("mod_int32 1%s-2147483648 = %d, wanted 1\n", `%`, got) 9194 failed = true 9195 } 9196 9197 if got := mod_Neg2147483648_int32_ssa(2147483647); got != -1 { 9198 fmt.Printf("mod_int32 -2147483648%s2147483647 = %d, wanted -1\n", `%`, got) 9199 failed = true 9200 } 9201 9202 if got := mod_int32_Neg2147483648_ssa(2147483647); got != 2147483647 { 9203 fmt.Printf("mod_int32 2147483647%s-2147483648 = %d, wanted 2147483647\n", `%`, got) 9204 failed = true 9205 } 9206 9207 if got := mod_Neg2147483647_int32_ssa(-2147483648); got != -2147483647 { 9208 fmt.Printf("mod_int32 -2147483647%s-2147483648 = %d, wanted -2147483647\n", `%`, got) 9209 failed = true 9210 } 9211 9212 if got := mod_int32_Neg2147483647_ssa(-2147483648); got != -1 { 9213 fmt.Printf("mod_int32 -2147483648%s-2147483647 = %d, wanted -1\n", `%`, got) 9214 failed = true 9215 } 9216 9217 if got := mod_Neg2147483647_int32_ssa(-2147483647); got != 0 { 9218 fmt.Printf("mod_int32 -2147483647%s-2147483647 = %d, wanted 0\n", `%`, got) 9219 failed = true 9220 } 9221 9222 if got := mod_int32_Neg2147483647_ssa(-2147483647); got != 0 { 9223 fmt.Printf("mod_int32 -2147483647%s-2147483647 = %d, wanted 0\n", `%`, got) 9224 failed = true 9225 } 9226 9227 if got := mod_Neg2147483647_int32_ssa(-1); got != 0 { 9228 fmt.Printf("mod_int32 -2147483647%s-1 = %d, wanted 0\n", `%`, got) 9229 failed = true 9230 } 9231 9232 if got := mod_int32_Neg2147483647_ssa(-1); got != -1 { 9233 fmt.Printf("mod_int32 -1%s-2147483647 = %d, wanted -1\n", `%`, got) 9234 failed = true 9235 } 9236 9237 if got := mod_int32_Neg2147483647_ssa(0); got != 0 { 9238 fmt.Printf("mod_int32 0%s-2147483647 = %d, wanted 0\n", `%`, got) 9239 failed = true 9240 } 9241 9242 if got := mod_Neg2147483647_int32_ssa(1); got != 0 { 9243 fmt.Printf("mod_int32 -2147483647%s1 = %d, wanted 0\n", `%`, got) 9244 failed = true 9245 } 9246 9247 if got := mod_int32_Neg2147483647_ssa(1); got != 1 { 9248 fmt.Printf("mod_int32 1%s-2147483647 = %d, wanted 1\n", `%`, got) 9249 failed = true 9250 } 9251 9252 if got := mod_Neg2147483647_int32_ssa(2147483647); got != 0 { 9253 fmt.Printf("mod_int32 -2147483647%s2147483647 = %d, wanted 0\n", `%`, got) 9254 failed = true 9255 } 9256 9257 if got := mod_int32_Neg2147483647_ssa(2147483647); got != 0 { 9258 fmt.Printf("mod_int32 2147483647%s-2147483647 = %d, wanted 0\n", `%`, got) 9259 failed = true 9260 } 9261 9262 if got := mod_Neg1_int32_ssa(-2147483648); got != -1 { 9263 fmt.Printf("mod_int32 -1%s-2147483648 = %d, wanted -1\n", `%`, got) 9264 failed = true 9265 } 9266 9267 if got := mod_int32_Neg1_ssa(-2147483648); got != 0 { 9268 fmt.Printf("mod_int32 -2147483648%s-1 = %d, wanted 0\n", `%`, got) 9269 failed = true 9270 } 9271 9272 if got := mod_Neg1_int32_ssa(-2147483647); got != -1 { 9273 fmt.Printf("mod_int32 -1%s-2147483647 = %d, wanted -1\n", `%`, got) 9274 failed = true 9275 } 9276 9277 if got := mod_int32_Neg1_ssa(-2147483647); got != 0 { 9278 fmt.Printf("mod_int32 -2147483647%s-1 = %d, wanted 0\n", `%`, got) 9279 failed = true 9280 } 9281 9282 if got := mod_Neg1_int32_ssa(-1); got != 0 { 9283 fmt.Printf("mod_int32 -1%s-1 = %d, wanted 0\n", `%`, got) 9284 failed = true 9285 } 9286 9287 if got := mod_int32_Neg1_ssa(-1); got != 0 { 9288 fmt.Printf("mod_int32 -1%s-1 = %d, wanted 0\n", `%`, got) 9289 failed = true 9290 } 9291 9292 if got := mod_int32_Neg1_ssa(0); got != 0 { 9293 fmt.Printf("mod_int32 0%s-1 = %d, wanted 0\n", `%`, got) 9294 failed = true 9295 } 9296 9297 if got := mod_Neg1_int32_ssa(1); got != 0 { 9298 fmt.Printf("mod_int32 -1%s1 = %d, wanted 0\n", `%`, got) 9299 failed = true 9300 } 9301 9302 if got := mod_int32_Neg1_ssa(1); got != 0 { 9303 fmt.Printf("mod_int32 1%s-1 = %d, wanted 0\n", `%`, got) 9304 failed = true 9305 } 9306 9307 if got := mod_Neg1_int32_ssa(2147483647); got != -1 { 9308 fmt.Printf("mod_int32 -1%s2147483647 = %d, wanted -1\n", `%`, got) 9309 failed = true 9310 } 9311 9312 if got := mod_int32_Neg1_ssa(2147483647); got != 0 { 9313 fmt.Printf("mod_int32 2147483647%s-1 = %d, wanted 0\n", `%`, got) 9314 failed = true 9315 } 9316 9317 if got := mod_0_int32_ssa(-2147483648); got != 0 { 9318 fmt.Printf("mod_int32 0%s-2147483648 = %d, wanted 0\n", `%`, got) 9319 failed = true 9320 } 9321 9322 if got := mod_0_int32_ssa(-2147483647); got != 0 { 9323 fmt.Printf("mod_int32 0%s-2147483647 = %d, wanted 0\n", `%`, got) 9324 failed = true 9325 } 9326 9327 if got := mod_0_int32_ssa(-1); got != 0 { 9328 fmt.Printf("mod_int32 0%s-1 = %d, wanted 0\n", `%`, got) 9329 failed = true 9330 } 9331 9332 if got := mod_0_int32_ssa(1); got != 0 { 9333 fmt.Printf("mod_int32 0%s1 = %d, wanted 0\n", `%`, got) 9334 failed = true 9335 } 9336 9337 if got := mod_0_int32_ssa(2147483647); got != 0 { 9338 fmt.Printf("mod_int32 0%s2147483647 = %d, wanted 0\n", `%`, got) 9339 failed = true 9340 } 9341 9342 if got := mod_1_int32_ssa(-2147483648); got != 1 { 9343 fmt.Printf("mod_int32 1%s-2147483648 = %d, wanted 1\n", `%`, got) 9344 failed = true 9345 } 9346 9347 if got := mod_int32_1_ssa(-2147483648); got != 0 { 9348 fmt.Printf("mod_int32 -2147483648%s1 = %d, wanted 0\n", `%`, got) 9349 failed = true 9350 } 9351 9352 if got := mod_1_int32_ssa(-2147483647); got != 1 { 9353 fmt.Printf("mod_int32 1%s-2147483647 = %d, wanted 1\n", `%`, got) 9354 failed = true 9355 } 9356 9357 if got := mod_int32_1_ssa(-2147483647); got != 0 { 9358 fmt.Printf("mod_int32 -2147483647%s1 = %d, wanted 0\n", `%`, got) 9359 failed = true 9360 } 9361 9362 if got := mod_1_int32_ssa(-1); got != 0 { 9363 fmt.Printf("mod_int32 1%s-1 = %d, wanted 0\n", `%`, got) 9364 failed = true 9365 } 9366 9367 if got := mod_int32_1_ssa(-1); got != 0 { 9368 fmt.Printf("mod_int32 -1%s1 = %d, wanted 0\n", `%`, got) 9369 failed = true 9370 } 9371 9372 if got := mod_int32_1_ssa(0); got != 0 { 9373 fmt.Printf("mod_int32 0%s1 = %d, wanted 0\n", `%`, got) 9374 failed = true 9375 } 9376 9377 if got := mod_1_int32_ssa(1); got != 0 { 9378 fmt.Printf("mod_int32 1%s1 = %d, wanted 0\n", `%`, got) 9379 failed = true 9380 } 9381 9382 if got := mod_int32_1_ssa(1); got != 0 { 9383 fmt.Printf("mod_int32 1%s1 = %d, wanted 0\n", `%`, got) 9384 failed = true 9385 } 9386 9387 if got := mod_1_int32_ssa(2147483647); got != 1 { 9388 fmt.Printf("mod_int32 1%s2147483647 = %d, wanted 1\n", `%`, got) 9389 failed = true 9390 } 9391 9392 if got := mod_int32_1_ssa(2147483647); got != 0 { 9393 fmt.Printf("mod_int32 2147483647%s1 = %d, wanted 0\n", `%`, got) 9394 failed = true 9395 } 9396 9397 if got := mod_2147483647_int32_ssa(-2147483648); got != 2147483647 { 9398 fmt.Printf("mod_int32 2147483647%s-2147483648 = %d, wanted 2147483647\n", `%`, got) 9399 failed = true 9400 } 9401 9402 if got := mod_int32_2147483647_ssa(-2147483648); got != -1 { 9403 fmt.Printf("mod_int32 -2147483648%s2147483647 = %d, wanted -1\n", `%`, got) 9404 failed = true 9405 } 9406 9407 if got := mod_2147483647_int32_ssa(-2147483647); got != 0 { 9408 fmt.Printf("mod_int32 2147483647%s-2147483647 = %d, wanted 0\n", `%`, got) 9409 failed = true 9410 } 9411 9412 if got := mod_int32_2147483647_ssa(-2147483647); got != 0 { 9413 fmt.Printf("mod_int32 -2147483647%s2147483647 = %d, wanted 0\n", `%`, got) 9414 failed = true 9415 } 9416 9417 if got := mod_2147483647_int32_ssa(-1); got != 0 { 9418 fmt.Printf("mod_int32 2147483647%s-1 = %d, wanted 0\n", `%`, got) 9419 failed = true 9420 } 9421 9422 if got := mod_int32_2147483647_ssa(-1); got != -1 { 9423 fmt.Printf("mod_int32 -1%s2147483647 = %d, wanted -1\n", `%`, got) 9424 failed = true 9425 } 9426 9427 if got := mod_int32_2147483647_ssa(0); got != 0 { 9428 fmt.Printf("mod_int32 0%s2147483647 = %d, wanted 0\n", `%`, got) 9429 failed = true 9430 } 9431 9432 if got := mod_2147483647_int32_ssa(1); got != 0 { 9433 fmt.Printf("mod_int32 2147483647%s1 = %d, wanted 0\n", `%`, got) 9434 failed = true 9435 } 9436 9437 if got := mod_int32_2147483647_ssa(1); got != 1 { 9438 fmt.Printf("mod_int32 1%s2147483647 = %d, wanted 1\n", `%`, got) 9439 failed = true 9440 } 9441 9442 if got := mod_2147483647_int32_ssa(2147483647); got != 0 { 9443 fmt.Printf("mod_int32 2147483647%s2147483647 = %d, wanted 0\n", `%`, got) 9444 failed = true 9445 } 9446 9447 if got := mod_int32_2147483647_ssa(2147483647); got != 0 { 9448 fmt.Printf("mod_int32 2147483647%s2147483647 = %d, wanted 0\n", `%`, got) 9449 failed = true 9450 } 9451 9452 if got := add_0_uint16_ssa(0); got != 0 { 9453 fmt.Printf("add_uint16 0%s0 = %d, wanted 0\n", `+`, got) 9454 failed = true 9455 } 9456 9457 if got := add_uint16_0_ssa(0); got != 0 { 9458 fmt.Printf("add_uint16 0%s0 = %d, wanted 0\n", `+`, got) 9459 failed = true 9460 } 9461 9462 if got := add_0_uint16_ssa(1); got != 1 { 9463 fmt.Printf("add_uint16 0%s1 = %d, wanted 1\n", `+`, got) 9464 failed = true 9465 } 9466 9467 if got := add_uint16_0_ssa(1); got != 1 { 9468 fmt.Printf("add_uint16 1%s0 = %d, wanted 1\n", `+`, got) 9469 failed = true 9470 } 9471 9472 if got := add_0_uint16_ssa(65535); got != 65535 { 9473 fmt.Printf("add_uint16 0%s65535 = %d, wanted 65535\n", `+`, got) 9474 failed = true 9475 } 9476 9477 if got := add_uint16_0_ssa(65535); got != 65535 { 9478 fmt.Printf("add_uint16 65535%s0 = %d, wanted 65535\n", `+`, got) 9479 failed = true 9480 } 9481 9482 if got := add_1_uint16_ssa(0); got != 1 { 9483 fmt.Printf("add_uint16 1%s0 = %d, wanted 1\n", `+`, got) 9484 failed = true 9485 } 9486 9487 if got := add_uint16_1_ssa(0); got != 1 { 9488 fmt.Printf("add_uint16 0%s1 = %d, wanted 1\n", `+`, got) 9489 failed = true 9490 } 9491 9492 if got := add_1_uint16_ssa(1); got != 2 { 9493 fmt.Printf("add_uint16 1%s1 = %d, wanted 2\n", `+`, got) 9494 failed = true 9495 } 9496 9497 if got := add_uint16_1_ssa(1); got != 2 { 9498 fmt.Printf("add_uint16 1%s1 = %d, wanted 2\n", `+`, got) 9499 failed = true 9500 } 9501 9502 if got := add_1_uint16_ssa(65535); got != 0 { 9503 fmt.Printf("add_uint16 1%s65535 = %d, wanted 0\n", `+`, got) 9504 failed = true 9505 } 9506 9507 if got := add_uint16_1_ssa(65535); got != 0 { 9508 fmt.Printf("add_uint16 65535%s1 = %d, wanted 0\n", `+`, got) 9509 failed = true 9510 } 9511 9512 if got := add_65535_uint16_ssa(0); got != 65535 { 9513 fmt.Printf("add_uint16 65535%s0 = %d, wanted 65535\n", `+`, got) 9514 failed = true 9515 } 9516 9517 if got := add_uint16_65535_ssa(0); got != 65535 { 9518 fmt.Printf("add_uint16 0%s65535 = %d, wanted 65535\n", `+`, got) 9519 failed = true 9520 } 9521 9522 if got := add_65535_uint16_ssa(1); got != 0 { 9523 fmt.Printf("add_uint16 65535%s1 = %d, wanted 0\n", `+`, got) 9524 failed = true 9525 } 9526 9527 if got := add_uint16_65535_ssa(1); got != 0 { 9528 fmt.Printf("add_uint16 1%s65535 = %d, wanted 0\n", `+`, got) 9529 failed = true 9530 } 9531 9532 if got := add_65535_uint16_ssa(65535); got != 65534 { 9533 fmt.Printf("add_uint16 65535%s65535 = %d, wanted 65534\n", `+`, got) 9534 failed = true 9535 } 9536 9537 if got := add_uint16_65535_ssa(65535); got != 65534 { 9538 fmt.Printf("add_uint16 65535%s65535 = %d, wanted 65534\n", `+`, got) 9539 failed = true 9540 } 9541 9542 if got := sub_0_uint16_ssa(0); got != 0 { 9543 fmt.Printf("sub_uint16 0%s0 = %d, wanted 0\n", `-`, got) 9544 failed = true 9545 } 9546 9547 if got := sub_uint16_0_ssa(0); got != 0 { 9548 fmt.Printf("sub_uint16 0%s0 = %d, wanted 0\n", `-`, got) 9549 failed = true 9550 } 9551 9552 if got := sub_0_uint16_ssa(1); got != 65535 { 9553 fmt.Printf("sub_uint16 0%s1 = %d, wanted 65535\n", `-`, got) 9554 failed = true 9555 } 9556 9557 if got := sub_uint16_0_ssa(1); got != 1 { 9558 fmt.Printf("sub_uint16 1%s0 = %d, wanted 1\n", `-`, got) 9559 failed = true 9560 } 9561 9562 if got := sub_0_uint16_ssa(65535); got != 1 { 9563 fmt.Printf("sub_uint16 0%s65535 = %d, wanted 1\n", `-`, got) 9564 failed = true 9565 } 9566 9567 if got := sub_uint16_0_ssa(65535); got != 65535 { 9568 fmt.Printf("sub_uint16 65535%s0 = %d, wanted 65535\n", `-`, got) 9569 failed = true 9570 } 9571 9572 if got := sub_1_uint16_ssa(0); got != 1 { 9573 fmt.Printf("sub_uint16 1%s0 = %d, wanted 1\n", `-`, got) 9574 failed = true 9575 } 9576 9577 if got := sub_uint16_1_ssa(0); got != 65535 { 9578 fmt.Printf("sub_uint16 0%s1 = %d, wanted 65535\n", `-`, got) 9579 failed = true 9580 } 9581 9582 if got := sub_1_uint16_ssa(1); got != 0 { 9583 fmt.Printf("sub_uint16 1%s1 = %d, wanted 0\n", `-`, got) 9584 failed = true 9585 } 9586 9587 if got := sub_uint16_1_ssa(1); got != 0 { 9588 fmt.Printf("sub_uint16 1%s1 = %d, wanted 0\n", `-`, got) 9589 failed = true 9590 } 9591 9592 if got := sub_1_uint16_ssa(65535); got != 2 { 9593 fmt.Printf("sub_uint16 1%s65535 = %d, wanted 2\n", `-`, got) 9594 failed = true 9595 } 9596 9597 if got := sub_uint16_1_ssa(65535); got != 65534 { 9598 fmt.Printf("sub_uint16 65535%s1 = %d, wanted 65534\n", `-`, got) 9599 failed = true 9600 } 9601 9602 if got := sub_65535_uint16_ssa(0); got != 65535 { 9603 fmt.Printf("sub_uint16 65535%s0 = %d, wanted 65535\n", `-`, got) 9604 failed = true 9605 } 9606 9607 if got := sub_uint16_65535_ssa(0); got != 1 { 9608 fmt.Printf("sub_uint16 0%s65535 = %d, wanted 1\n", `-`, got) 9609 failed = true 9610 } 9611 9612 if got := sub_65535_uint16_ssa(1); got != 65534 { 9613 fmt.Printf("sub_uint16 65535%s1 = %d, wanted 65534\n", `-`, got) 9614 failed = true 9615 } 9616 9617 if got := sub_uint16_65535_ssa(1); got != 2 { 9618 fmt.Printf("sub_uint16 1%s65535 = %d, wanted 2\n", `-`, got) 9619 failed = true 9620 } 9621 9622 if got := sub_65535_uint16_ssa(65535); got != 0 { 9623 fmt.Printf("sub_uint16 65535%s65535 = %d, wanted 0\n", `-`, got) 9624 failed = true 9625 } 9626 9627 if got := sub_uint16_65535_ssa(65535); got != 0 { 9628 fmt.Printf("sub_uint16 65535%s65535 = %d, wanted 0\n", `-`, got) 9629 failed = true 9630 } 9631 9632 if got := div_0_uint16_ssa(1); got != 0 { 9633 fmt.Printf("div_uint16 0%s1 = %d, wanted 0\n", `/`, got) 9634 failed = true 9635 } 9636 9637 if got := div_0_uint16_ssa(65535); got != 0 { 9638 fmt.Printf("div_uint16 0%s65535 = %d, wanted 0\n", `/`, got) 9639 failed = true 9640 } 9641 9642 if got := div_uint16_1_ssa(0); got != 0 { 9643 fmt.Printf("div_uint16 0%s1 = %d, wanted 0\n", `/`, got) 9644 failed = true 9645 } 9646 9647 if got := div_1_uint16_ssa(1); got != 1 { 9648 fmt.Printf("div_uint16 1%s1 = %d, wanted 1\n", `/`, got) 9649 failed = true 9650 } 9651 9652 if got := div_uint16_1_ssa(1); got != 1 { 9653 fmt.Printf("div_uint16 1%s1 = %d, wanted 1\n", `/`, got) 9654 failed = true 9655 } 9656 9657 if got := div_1_uint16_ssa(65535); got != 0 { 9658 fmt.Printf("div_uint16 1%s65535 = %d, wanted 0\n", `/`, got) 9659 failed = true 9660 } 9661 9662 if got := div_uint16_1_ssa(65535); got != 65535 { 9663 fmt.Printf("div_uint16 65535%s1 = %d, wanted 65535\n", `/`, got) 9664 failed = true 9665 } 9666 9667 if got := div_uint16_65535_ssa(0); got != 0 { 9668 fmt.Printf("div_uint16 0%s65535 = %d, wanted 0\n", `/`, got) 9669 failed = true 9670 } 9671 9672 if got := div_65535_uint16_ssa(1); got != 65535 { 9673 fmt.Printf("div_uint16 65535%s1 = %d, wanted 65535\n", `/`, got) 9674 failed = true 9675 } 9676 9677 if got := div_uint16_65535_ssa(1); got != 0 { 9678 fmt.Printf("div_uint16 1%s65535 = %d, wanted 0\n", `/`, got) 9679 failed = true 9680 } 9681 9682 if got := div_65535_uint16_ssa(65535); got != 1 { 9683 fmt.Printf("div_uint16 65535%s65535 = %d, wanted 1\n", `/`, got) 9684 failed = true 9685 } 9686 9687 if got := div_uint16_65535_ssa(65535); got != 1 { 9688 fmt.Printf("div_uint16 65535%s65535 = %d, wanted 1\n", `/`, got) 9689 failed = true 9690 } 9691 9692 if got := mul_0_uint16_ssa(0); got != 0 { 9693 fmt.Printf("mul_uint16 0%s0 = %d, wanted 0\n", `*`, got) 9694 failed = true 9695 } 9696 9697 if got := mul_uint16_0_ssa(0); got != 0 { 9698 fmt.Printf("mul_uint16 0%s0 = %d, wanted 0\n", `*`, got) 9699 failed = true 9700 } 9701 9702 if got := mul_0_uint16_ssa(1); got != 0 { 9703 fmt.Printf("mul_uint16 0%s1 = %d, wanted 0\n", `*`, got) 9704 failed = true 9705 } 9706 9707 if got := mul_uint16_0_ssa(1); got != 0 { 9708 fmt.Printf("mul_uint16 1%s0 = %d, wanted 0\n", `*`, got) 9709 failed = true 9710 } 9711 9712 if got := mul_0_uint16_ssa(65535); got != 0 { 9713 fmt.Printf("mul_uint16 0%s65535 = %d, wanted 0\n", `*`, got) 9714 failed = true 9715 } 9716 9717 if got := mul_uint16_0_ssa(65535); got != 0 { 9718 fmt.Printf("mul_uint16 65535%s0 = %d, wanted 0\n", `*`, got) 9719 failed = true 9720 } 9721 9722 if got := mul_1_uint16_ssa(0); got != 0 { 9723 fmt.Printf("mul_uint16 1%s0 = %d, wanted 0\n", `*`, got) 9724 failed = true 9725 } 9726 9727 if got := mul_uint16_1_ssa(0); got != 0 { 9728 fmt.Printf("mul_uint16 0%s1 = %d, wanted 0\n", `*`, got) 9729 failed = true 9730 } 9731 9732 if got := mul_1_uint16_ssa(1); got != 1 { 9733 fmt.Printf("mul_uint16 1%s1 = %d, wanted 1\n", `*`, got) 9734 failed = true 9735 } 9736 9737 if got := mul_uint16_1_ssa(1); got != 1 { 9738 fmt.Printf("mul_uint16 1%s1 = %d, wanted 1\n", `*`, got) 9739 failed = true 9740 } 9741 9742 if got := mul_1_uint16_ssa(65535); got != 65535 { 9743 fmt.Printf("mul_uint16 1%s65535 = %d, wanted 65535\n", `*`, got) 9744 failed = true 9745 } 9746 9747 if got := mul_uint16_1_ssa(65535); got != 65535 { 9748 fmt.Printf("mul_uint16 65535%s1 = %d, wanted 65535\n", `*`, got) 9749 failed = true 9750 } 9751 9752 if got := mul_65535_uint16_ssa(0); got != 0 { 9753 fmt.Printf("mul_uint16 65535%s0 = %d, wanted 0\n", `*`, got) 9754 failed = true 9755 } 9756 9757 if got := mul_uint16_65535_ssa(0); got != 0 { 9758 fmt.Printf("mul_uint16 0%s65535 = %d, wanted 0\n", `*`, got) 9759 failed = true 9760 } 9761 9762 if got := mul_65535_uint16_ssa(1); got != 65535 { 9763 fmt.Printf("mul_uint16 65535%s1 = %d, wanted 65535\n", `*`, got) 9764 failed = true 9765 } 9766 9767 if got := mul_uint16_65535_ssa(1); got != 65535 { 9768 fmt.Printf("mul_uint16 1%s65535 = %d, wanted 65535\n", `*`, got) 9769 failed = true 9770 } 9771 9772 if got := mul_65535_uint16_ssa(65535); got != 1 { 9773 fmt.Printf("mul_uint16 65535%s65535 = %d, wanted 1\n", `*`, got) 9774 failed = true 9775 } 9776 9777 if got := mul_uint16_65535_ssa(65535); got != 1 { 9778 fmt.Printf("mul_uint16 65535%s65535 = %d, wanted 1\n", `*`, got) 9779 failed = true 9780 } 9781 9782 if got := lsh_0_uint16_ssa(0); got != 0 { 9783 fmt.Printf("lsh_uint16 0%s0 = %d, wanted 0\n", `<<`, got) 9784 failed = true 9785 } 9786 9787 if got := lsh_uint16_0_ssa(0); got != 0 { 9788 fmt.Printf("lsh_uint16 0%s0 = %d, wanted 0\n", `<<`, got) 9789 failed = true 9790 } 9791 9792 if got := lsh_0_uint16_ssa(1); got != 0 { 9793 fmt.Printf("lsh_uint16 0%s1 = %d, wanted 0\n", `<<`, got) 9794 failed = true 9795 } 9796 9797 if got := lsh_uint16_0_ssa(1); got != 1 { 9798 fmt.Printf("lsh_uint16 1%s0 = %d, wanted 1\n", `<<`, got) 9799 failed = true 9800 } 9801 9802 if got := lsh_0_uint16_ssa(65535); got != 0 { 9803 fmt.Printf("lsh_uint16 0%s65535 = %d, wanted 0\n", `<<`, got) 9804 failed = true 9805 } 9806 9807 if got := lsh_uint16_0_ssa(65535); got != 65535 { 9808 fmt.Printf("lsh_uint16 65535%s0 = %d, wanted 65535\n", `<<`, got) 9809 failed = true 9810 } 9811 9812 if got := lsh_1_uint16_ssa(0); got != 1 { 9813 fmt.Printf("lsh_uint16 1%s0 = %d, wanted 1\n", `<<`, got) 9814 failed = true 9815 } 9816 9817 if got := lsh_uint16_1_ssa(0); got != 0 { 9818 fmt.Printf("lsh_uint16 0%s1 = %d, wanted 0\n", `<<`, got) 9819 failed = true 9820 } 9821 9822 if got := lsh_1_uint16_ssa(1); got != 2 { 9823 fmt.Printf("lsh_uint16 1%s1 = %d, wanted 2\n", `<<`, got) 9824 failed = true 9825 } 9826 9827 if got := lsh_uint16_1_ssa(1); got != 2 { 9828 fmt.Printf("lsh_uint16 1%s1 = %d, wanted 2\n", `<<`, got) 9829 failed = true 9830 } 9831 9832 if got := lsh_1_uint16_ssa(65535); got != 0 { 9833 fmt.Printf("lsh_uint16 1%s65535 = %d, wanted 0\n", `<<`, got) 9834 failed = true 9835 } 9836 9837 if got := lsh_uint16_1_ssa(65535); got != 65534 { 9838 fmt.Printf("lsh_uint16 65535%s1 = %d, wanted 65534\n", `<<`, got) 9839 failed = true 9840 } 9841 9842 if got := lsh_65535_uint16_ssa(0); got != 65535 { 9843 fmt.Printf("lsh_uint16 65535%s0 = %d, wanted 65535\n", `<<`, got) 9844 failed = true 9845 } 9846 9847 if got := lsh_uint16_65535_ssa(0); got != 0 { 9848 fmt.Printf("lsh_uint16 0%s65535 = %d, wanted 0\n", `<<`, got) 9849 failed = true 9850 } 9851 9852 if got := lsh_65535_uint16_ssa(1); got != 65534 { 9853 fmt.Printf("lsh_uint16 65535%s1 = %d, wanted 65534\n", `<<`, got) 9854 failed = true 9855 } 9856 9857 if got := lsh_uint16_65535_ssa(1); got != 0 { 9858 fmt.Printf("lsh_uint16 1%s65535 = %d, wanted 0\n", `<<`, got) 9859 failed = true 9860 } 9861 9862 if got := lsh_65535_uint16_ssa(65535); got != 0 { 9863 fmt.Printf("lsh_uint16 65535%s65535 = %d, wanted 0\n", `<<`, got) 9864 failed = true 9865 } 9866 9867 if got := lsh_uint16_65535_ssa(65535); got != 0 { 9868 fmt.Printf("lsh_uint16 65535%s65535 = %d, wanted 0\n", `<<`, got) 9869 failed = true 9870 } 9871 9872 if got := rsh_0_uint16_ssa(0); got != 0 { 9873 fmt.Printf("rsh_uint16 0%s0 = %d, wanted 0\n", `>>`, got) 9874 failed = true 9875 } 9876 9877 if got := rsh_uint16_0_ssa(0); got != 0 { 9878 fmt.Printf("rsh_uint16 0%s0 = %d, wanted 0\n", `>>`, got) 9879 failed = true 9880 } 9881 9882 if got := rsh_0_uint16_ssa(1); got != 0 { 9883 fmt.Printf("rsh_uint16 0%s1 = %d, wanted 0\n", `>>`, got) 9884 failed = true 9885 } 9886 9887 if got := rsh_uint16_0_ssa(1); got != 1 { 9888 fmt.Printf("rsh_uint16 1%s0 = %d, wanted 1\n", `>>`, got) 9889 failed = true 9890 } 9891 9892 if got := rsh_0_uint16_ssa(65535); got != 0 { 9893 fmt.Printf("rsh_uint16 0%s65535 = %d, wanted 0\n", `>>`, got) 9894 failed = true 9895 } 9896 9897 if got := rsh_uint16_0_ssa(65535); got != 65535 { 9898 fmt.Printf("rsh_uint16 65535%s0 = %d, wanted 65535\n", `>>`, got) 9899 failed = true 9900 } 9901 9902 if got := rsh_1_uint16_ssa(0); got != 1 { 9903 fmt.Printf("rsh_uint16 1%s0 = %d, wanted 1\n", `>>`, got) 9904 failed = true 9905 } 9906 9907 if got := rsh_uint16_1_ssa(0); got != 0 { 9908 fmt.Printf("rsh_uint16 0%s1 = %d, wanted 0\n", `>>`, got) 9909 failed = true 9910 } 9911 9912 if got := rsh_1_uint16_ssa(1); got != 0 { 9913 fmt.Printf("rsh_uint16 1%s1 = %d, wanted 0\n", `>>`, got) 9914 failed = true 9915 } 9916 9917 if got := rsh_uint16_1_ssa(1); got != 0 { 9918 fmt.Printf("rsh_uint16 1%s1 = %d, wanted 0\n", `>>`, got) 9919 failed = true 9920 } 9921 9922 if got := rsh_1_uint16_ssa(65535); got != 0 { 9923 fmt.Printf("rsh_uint16 1%s65535 = %d, wanted 0\n", `>>`, got) 9924 failed = true 9925 } 9926 9927 if got := rsh_uint16_1_ssa(65535); got != 32767 { 9928 fmt.Printf("rsh_uint16 65535%s1 = %d, wanted 32767\n", `>>`, got) 9929 failed = true 9930 } 9931 9932 if got := rsh_65535_uint16_ssa(0); got != 65535 { 9933 fmt.Printf("rsh_uint16 65535%s0 = %d, wanted 65535\n", `>>`, got) 9934 failed = true 9935 } 9936 9937 if got := rsh_uint16_65535_ssa(0); got != 0 { 9938 fmt.Printf("rsh_uint16 0%s65535 = %d, wanted 0\n", `>>`, got) 9939 failed = true 9940 } 9941 9942 if got := rsh_65535_uint16_ssa(1); got != 32767 { 9943 fmt.Printf("rsh_uint16 65535%s1 = %d, wanted 32767\n", `>>`, got) 9944 failed = true 9945 } 9946 9947 if got := rsh_uint16_65535_ssa(1); got != 0 { 9948 fmt.Printf("rsh_uint16 1%s65535 = %d, wanted 0\n", `>>`, got) 9949 failed = true 9950 } 9951 9952 if got := rsh_65535_uint16_ssa(65535); got != 0 { 9953 fmt.Printf("rsh_uint16 65535%s65535 = %d, wanted 0\n", `>>`, got) 9954 failed = true 9955 } 9956 9957 if got := rsh_uint16_65535_ssa(65535); got != 0 { 9958 fmt.Printf("rsh_uint16 65535%s65535 = %d, wanted 0\n", `>>`, got) 9959 failed = true 9960 } 9961 9962 if got := mod_0_uint16_ssa(1); got != 0 { 9963 fmt.Printf("mod_uint16 0%s1 = %d, wanted 0\n", `%`, got) 9964 failed = true 9965 } 9966 9967 if got := mod_0_uint16_ssa(65535); got != 0 { 9968 fmt.Printf("mod_uint16 0%s65535 = %d, wanted 0\n", `%`, got) 9969 failed = true 9970 } 9971 9972 if got := mod_uint16_1_ssa(0); got != 0 { 9973 fmt.Printf("mod_uint16 0%s1 = %d, wanted 0\n", `%`, got) 9974 failed = true 9975 } 9976 9977 if got := mod_1_uint16_ssa(1); got != 0 { 9978 fmt.Printf("mod_uint16 1%s1 = %d, wanted 0\n", `%`, got) 9979 failed = true 9980 } 9981 9982 if got := mod_uint16_1_ssa(1); got != 0 { 9983 fmt.Printf("mod_uint16 1%s1 = %d, wanted 0\n", `%`, got) 9984 failed = true 9985 } 9986 9987 if got := mod_1_uint16_ssa(65535); got != 1 { 9988 fmt.Printf("mod_uint16 1%s65535 = %d, wanted 1\n", `%`, got) 9989 failed = true 9990 } 9991 9992 if got := mod_uint16_1_ssa(65535); got != 0 { 9993 fmt.Printf("mod_uint16 65535%s1 = %d, wanted 0\n", `%`, got) 9994 failed = true 9995 } 9996 9997 if got := mod_uint16_65535_ssa(0); got != 0 { 9998 fmt.Printf("mod_uint16 0%s65535 = %d, wanted 0\n", `%`, got) 9999 failed = true 10000 } 10001 10002 if got := mod_65535_uint16_ssa(1); got != 0 { 10003 fmt.Printf("mod_uint16 65535%s1 = %d, wanted 0\n", `%`, got) 10004 failed = true 10005 } 10006 10007 if got := mod_uint16_65535_ssa(1); got != 1 { 10008 fmt.Printf("mod_uint16 1%s65535 = %d, wanted 1\n", `%`, got) 10009 failed = true 10010 } 10011 10012 if got := mod_65535_uint16_ssa(65535); got != 0 { 10013 fmt.Printf("mod_uint16 65535%s65535 = %d, wanted 0\n", `%`, got) 10014 failed = true 10015 } 10016 10017 if got := mod_uint16_65535_ssa(65535); got != 0 { 10018 fmt.Printf("mod_uint16 65535%s65535 = %d, wanted 0\n", `%`, got) 10019 failed = true 10020 } 10021 10022 if got := add_Neg32768_int16_ssa(-32768); got != 0 { 10023 fmt.Printf("add_int16 -32768%s-32768 = %d, wanted 0\n", `+`, got) 10024 failed = true 10025 } 10026 10027 if got := add_int16_Neg32768_ssa(-32768); got != 0 { 10028 fmt.Printf("add_int16 -32768%s-32768 = %d, wanted 0\n", `+`, got) 10029 failed = true 10030 } 10031 10032 if got := add_Neg32768_int16_ssa(-32767); got != 1 { 10033 fmt.Printf("add_int16 -32768%s-32767 = %d, wanted 1\n", `+`, got) 10034 failed = true 10035 } 10036 10037 if got := add_int16_Neg32768_ssa(-32767); got != 1 { 10038 fmt.Printf("add_int16 -32767%s-32768 = %d, wanted 1\n", `+`, got) 10039 failed = true 10040 } 10041 10042 if got := add_Neg32768_int16_ssa(-1); got != 32767 { 10043 fmt.Printf("add_int16 -32768%s-1 = %d, wanted 32767\n", `+`, got) 10044 failed = true 10045 } 10046 10047 if got := add_int16_Neg32768_ssa(-1); got != 32767 { 10048 fmt.Printf("add_int16 -1%s-32768 = %d, wanted 32767\n", `+`, got) 10049 failed = true 10050 } 10051 10052 if got := add_Neg32768_int16_ssa(0); got != -32768 { 10053 fmt.Printf("add_int16 -32768%s0 = %d, wanted -32768\n", `+`, got) 10054 failed = true 10055 } 10056 10057 if got := add_int16_Neg32768_ssa(0); got != -32768 { 10058 fmt.Printf("add_int16 0%s-32768 = %d, wanted -32768\n", `+`, got) 10059 failed = true 10060 } 10061 10062 if got := add_Neg32768_int16_ssa(1); got != -32767 { 10063 fmt.Printf("add_int16 -32768%s1 = %d, wanted -32767\n", `+`, got) 10064 failed = true 10065 } 10066 10067 if got := add_int16_Neg32768_ssa(1); got != -32767 { 10068 fmt.Printf("add_int16 1%s-32768 = %d, wanted -32767\n", `+`, got) 10069 failed = true 10070 } 10071 10072 if got := add_Neg32768_int16_ssa(32766); got != -2 { 10073 fmt.Printf("add_int16 -32768%s32766 = %d, wanted -2\n", `+`, got) 10074 failed = true 10075 } 10076 10077 if got := add_int16_Neg32768_ssa(32766); got != -2 { 10078 fmt.Printf("add_int16 32766%s-32768 = %d, wanted -2\n", `+`, got) 10079 failed = true 10080 } 10081 10082 if got := add_Neg32768_int16_ssa(32767); got != -1 { 10083 fmt.Printf("add_int16 -32768%s32767 = %d, wanted -1\n", `+`, got) 10084 failed = true 10085 } 10086 10087 if got := add_int16_Neg32768_ssa(32767); got != -1 { 10088 fmt.Printf("add_int16 32767%s-32768 = %d, wanted -1\n", `+`, got) 10089 failed = true 10090 } 10091 10092 if got := add_Neg32767_int16_ssa(-32768); got != 1 { 10093 fmt.Printf("add_int16 -32767%s-32768 = %d, wanted 1\n", `+`, got) 10094 failed = true 10095 } 10096 10097 if got := add_int16_Neg32767_ssa(-32768); got != 1 { 10098 fmt.Printf("add_int16 -32768%s-32767 = %d, wanted 1\n", `+`, got) 10099 failed = true 10100 } 10101 10102 if got := add_Neg32767_int16_ssa(-32767); got != 2 { 10103 fmt.Printf("add_int16 -32767%s-32767 = %d, wanted 2\n", `+`, got) 10104 failed = true 10105 } 10106 10107 if got := add_int16_Neg32767_ssa(-32767); got != 2 { 10108 fmt.Printf("add_int16 -32767%s-32767 = %d, wanted 2\n", `+`, got) 10109 failed = true 10110 } 10111 10112 if got := add_Neg32767_int16_ssa(-1); got != -32768 { 10113 fmt.Printf("add_int16 -32767%s-1 = %d, wanted -32768\n", `+`, got) 10114 failed = true 10115 } 10116 10117 if got := add_int16_Neg32767_ssa(-1); got != -32768 { 10118 fmt.Printf("add_int16 -1%s-32767 = %d, wanted -32768\n", `+`, got) 10119 failed = true 10120 } 10121 10122 if got := add_Neg32767_int16_ssa(0); got != -32767 { 10123 fmt.Printf("add_int16 -32767%s0 = %d, wanted -32767\n", `+`, got) 10124 failed = true 10125 } 10126 10127 if got := add_int16_Neg32767_ssa(0); got != -32767 { 10128 fmt.Printf("add_int16 0%s-32767 = %d, wanted -32767\n", `+`, got) 10129 failed = true 10130 } 10131 10132 if got := add_Neg32767_int16_ssa(1); got != -32766 { 10133 fmt.Printf("add_int16 -32767%s1 = %d, wanted -32766\n", `+`, got) 10134 failed = true 10135 } 10136 10137 if got := add_int16_Neg32767_ssa(1); got != -32766 { 10138 fmt.Printf("add_int16 1%s-32767 = %d, wanted -32766\n", `+`, got) 10139 failed = true 10140 } 10141 10142 if got := add_Neg32767_int16_ssa(32766); got != -1 { 10143 fmt.Printf("add_int16 -32767%s32766 = %d, wanted -1\n", `+`, got) 10144 failed = true 10145 } 10146 10147 if got := add_int16_Neg32767_ssa(32766); got != -1 { 10148 fmt.Printf("add_int16 32766%s-32767 = %d, wanted -1\n", `+`, got) 10149 failed = true 10150 } 10151 10152 if got := add_Neg32767_int16_ssa(32767); got != 0 { 10153 fmt.Printf("add_int16 -32767%s32767 = %d, wanted 0\n", `+`, got) 10154 failed = true 10155 } 10156 10157 if got := add_int16_Neg32767_ssa(32767); got != 0 { 10158 fmt.Printf("add_int16 32767%s-32767 = %d, wanted 0\n", `+`, got) 10159 failed = true 10160 } 10161 10162 if got := add_Neg1_int16_ssa(-32768); got != 32767 { 10163 fmt.Printf("add_int16 -1%s-32768 = %d, wanted 32767\n", `+`, got) 10164 failed = true 10165 } 10166 10167 if got := add_int16_Neg1_ssa(-32768); got != 32767 { 10168 fmt.Printf("add_int16 -32768%s-1 = %d, wanted 32767\n", `+`, got) 10169 failed = true 10170 } 10171 10172 if got := add_Neg1_int16_ssa(-32767); got != -32768 { 10173 fmt.Printf("add_int16 -1%s-32767 = %d, wanted -32768\n", `+`, got) 10174 failed = true 10175 } 10176 10177 if got := add_int16_Neg1_ssa(-32767); got != -32768 { 10178 fmt.Printf("add_int16 -32767%s-1 = %d, wanted -32768\n", `+`, got) 10179 failed = true 10180 } 10181 10182 if got := add_Neg1_int16_ssa(-1); got != -2 { 10183 fmt.Printf("add_int16 -1%s-1 = %d, wanted -2\n", `+`, got) 10184 failed = true 10185 } 10186 10187 if got := add_int16_Neg1_ssa(-1); got != -2 { 10188 fmt.Printf("add_int16 -1%s-1 = %d, wanted -2\n", `+`, got) 10189 failed = true 10190 } 10191 10192 if got := add_Neg1_int16_ssa(0); got != -1 { 10193 fmt.Printf("add_int16 -1%s0 = %d, wanted -1\n", `+`, got) 10194 failed = true 10195 } 10196 10197 if got := add_int16_Neg1_ssa(0); got != -1 { 10198 fmt.Printf("add_int16 0%s-1 = %d, wanted -1\n", `+`, got) 10199 failed = true 10200 } 10201 10202 if got := add_Neg1_int16_ssa(1); got != 0 { 10203 fmt.Printf("add_int16 -1%s1 = %d, wanted 0\n", `+`, got) 10204 failed = true 10205 } 10206 10207 if got := add_int16_Neg1_ssa(1); got != 0 { 10208 fmt.Printf("add_int16 1%s-1 = %d, wanted 0\n", `+`, got) 10209 failed = true 10210 } 10211 10212 if got := add_Neg1_int16_ssa(32766); got != 32765 { 10213 fmt.Printf("add_int16 -1%s32766 = %d, wanted 32765\n", `+`, got) 10214 failed = true 10215 } 10216 10217 if got := add_int16_Neg1_ssa(32766); got != 32765 { 10218 fmt.Printf("add_int16 32766%s-1 = %d, wanted 32765\n", `+`, got) 10219 failed = true 10220 } 10221 10222 if got := add_Neg1_int16_ssa(32767); got != 32766 { 10223 fmt.Printf("add_int16 -1%s32767 = %d, wanted 32766\n", `+`, got) 10224 failed = true 10225 } 10226 10227 if got := add_int16_Neg1_ssa(32767); got != 32766 { 10228 fmt.Printf("add_int16 32767%s-1 = %d, wanted 32766\n", `+`, got) 10229 failed = true 10230 } 10231 10232 if got := add_0_int16_ssa(-32768); got != -32768 { 10233 fmt.Printf("add_int16 0%s-32768 = %d, wanted -32768\n", `+`, got) 10234 failed = true 10235 } 10236 10237 if got := add_int16_0_ssa(-32768); got != -32768 { 10238 fmt.Printf("add_int16 -32768%s0 = %d, wanted -32768\n", `+`, got) 10239 failed = true 10240 } 10241 10242 if got := add_0_int16_ssa(-32767); got != -32767 { 10243 fmt.Printf("add_int16 0%s-32767 = %d, wanted -32767\n", `+`, got) 10244 failed = true 10245 } 10246 10247 if got := add_int16_0_ssa(-32767); got != -32767 { 10248 fmt.Printf("add_int16 -32767%s0 = %d, wanted -32767\n", `+`, got) 10249 failed = true 10250 } 10251 10252 if got := add_0_int16_ssa(-1); got != -1 { 10253 fmt.Printf("add_int16 0%s-1 = %d, wanted -1\n", `+`, got) 10254 failed = true 10255 } 10256 10257 if got := add_int16_0_ssa(-1); got != -1 { 10258 fmt.Printf("add_int16 -1%s0 = %d, wanted -1\n", `+`, got) 10259 failed = true 10260 } 10261 10262 if got := add_0_int16_ssa(0); got != 0 { 10263 fmt.Printf("add_int16 0%s0 = %d, wanted 0\n", `+`, got) 10264 failed = true 10265 } 10266 10267 if got := add_int16_0_ssa(0); got != 0 { 10268 fmt.Printf("add_int16 0%s0 = %d, wanted 0\n", `+`, got) 10269 failed = true 10270 } 10271 10272 if got := add_0_int16_ssa(1); got != 1 { 10273 fmt.Printf("add_int16 0%s1 = %d, wanted 1\n", `+`, got) 10274 failed = true 10275 } 10276 10277 if got := add_int16_0_ssa(1); got != 1 { 10278 fmt.Printf("add_int16 1%s0 = %d, wanted 1\n", `+`, got) 10279 failed = true 10280 } 10281 10282 if got := add_0_int16_ssa(32766); got != 32766 { 10283 fmt.Printf("add_int16 0%s32766 = %d, wanted 32766\n", `+`, got) 10284 failed = true 10285 } 10286 10287 if got := add_int16_0_ssa(32766); got != 32766 { 10288 fmt.Printf("add_int16 32766%s0 = %d, wanted 32766\n", `+`, got) 10289 failed = true 10290 } 10291 10292 if got := add_0_int16_ssa(32767); got != 32767 { 10293 fmt.Printf("add_int16 0%s32767 = %d, wanted 32767\n", `+`, got) 10294 failed = true 10295 } 10296 10297 if got := add_int16_0_ssa(32767); got != 32767 { 10298 fmt.Printf("add_int16 32767%s0 = %d, wanted 32767\n", `+`, got) 10299 failed = true 10300 } 10301 10302 if got := add_1_int16_ssa(-32768); got != -32767 { 10303 fmt.Printf("add_int16 1%s-32768 = %d, wanted -32767\n", `+`, got) 10304 failed = true 10305 } 10306 10307 if got := add_int16_1_ssa(-32768); got != -32767 { 10308 fmt.Printf("add_int16 -32768%s1 = %d, wanted -32767\n", `+`, got) 10309 failed = true 10310 } 10311 10312 if got := add_1_int16_ssa(-32767); got != -32766 { 10313 fmt.Printf("add_int16 1%s-32767 = %d, wanted -32766\n", `+`, got) 10314 failed = true 10315 } 10316 10317 if got := add_int16_1_ssa(-32767); got != -32766 { 10318 fmt.Printf("add_int16 -32767%s1 = %d, wanted -32766\n", `+`, got) 10319 failed = true 10320 } 10321 10322 if got := add_1_int16_ssa(-1); got != 0 { 10323 fmt.Printf("add_int16 1%s-1 = %d, wanted 0\n", `+`, got) 10324 failed = true 10325 } 10326 10327 if got := add_int16_1_ssa(-1); got != 0 { 10328 fmt.Printf("add_int16 -1%s1 = %d, wanted 0\n", `+`, got) 10329 failed = true 10330 } 10331 10332 if got := add_1_int16_ssa(0); got != 1 { 10333 fmt.Printf("add_int16 1%s0 = %d, wanted 1\n", `+`, got) 10334 failed = true 10335 } 10336 10337 if got := add_int16_1_ssa(0); got != 1 { 10338 fmt.Printf("add_int16 0%s1 = %d, wanted 1\n", `+`, got) 10339 failed = true 10340 } 10341 10342 if got := add_1_int16_ssa(1); got != 2 { 10343 fmt.Printf("add_int16 1%s1 = %d, wanted 2\n", `+`, got) 10344 failed = true 10345 } 10346 10347 if got := add_int16_1_ssa(1); got != 2 { 10348 fmt.Printf("add_int16 1%s1 = %d, wanted 2\n", `+`, got) 10349 failed = true 10350 } 10351 10352 if got := add_1_int16_ssa(32766); got != 32767 { 10353 fmt.Printf("add_int16 1%s32766 = %d, wanted 32767\n", `+`, got) 10354 failed = true 10355 } 10356 10357 if got := add_int16_1_ssa(32766); got != 32767 { 10358 fmt.Printf("add_int16 32766%s1 = %d, wanted 32767\n", `+`, got) 10359 failed = true 10360 } 10361 10362 if got := add_1_int16_ssa(32767); got != -32768 { 10363 fmt.Printf("add_int16 1%s32767 = %d, wanted -32768\n", `+`, got) 10364 failed = true 10365 } 10366 10367 if got := add_int16_1_ssa(32767); got != -32768 { 10368 fmt.Printf("add_int16 32767%s1 = %d, wanted -32768\n", `+`, got) 10369 failed = true 10370 } 10371 10372 if got := add_32766_int16_ssa(-32768); got != -2 { 10373 fmt.Printf("add_int16 32766%s-32768 = %d, wanted -2\n", `+`, got) 10374 failed = true 10375 } 10376 10377 if got := add_int16_32766_ssa(-32768); got != -2 { 10378 fmt.Printf("add_int16 -32768%s32766 = %d, wanted -2\n", `+`, got) 10379 failed = true 10380 } 10381 10382 if got := add_32766_int16_ssa(-32767); got != -1 { 10383 fmt.Printf("add_int16 32766%s-32767 = %d, wanted -1\n", `+`, got) 10384 failed = true 10385 } 10386 10387 if got := add_int16_32766_ssa(-32767); got != -1 { 10388 fmt.Printf("add_int16 -32767%s32766 = %d, wanted -1\n", `+`, got) 10389 failed = true 10390 } 10391 10392 if got := add_32766_int16_ssa(-1); got != 32765 { 10393 fmt.Printf("add_int16 32766%s-1 = %d, wanted 32765\n", `+`, got) 10394 failed = true 10395 } 10396 10397 if got := add_int16_32766_ssa(-1); got != 32765 { 10398 fmt.Printf("add_int16 -1%s32766 = %d, wanted 32765\n", `+`, got) 10399 failed = true 10400 } 10401 10402 if got := add_32766_int16_ssa(0); got != 32766 { 10403 fmt.Printf("add_int16 32766%s0 = %d, wanted 32766\n", `+`, got) 10404 failed = true 10405 } 10406 10407 if got := add_int16_32766_ssa(0); got != 32766 { 10408 fmt.Printf("add_int16 0%s32766 = %d, wanted 32766\n", `+`, got) 10409 failed = true 10410 } 10411 10412 if got := add_32766_int16_ssa(1); got != 32767 { 10413 fmt.Printf("add_int16 32766%s1 = %d, wanted 32767\n", `+`, got) 10414 failed = true 10415 } 10416 10417 if got := add_int16_32766_ssa(1); got != 32767 { 10418 fmt.Printf("add_int16 1%s32766 = %d, wanted 32767\n", `+`, got) 10419 failed = true 10420 } 10421 10422 if got := add_32766_int16_ssa(32766); got != -4 { 10423 fmt.Printf("add_int16 32766%s32766 = %d, wanted -4\n", `+`, got) 10424 failed = true 10425 } 10426 10427 if got := add_int16_32766_ssa(32766); got != -4 { 10428 fmt.Printf("add_int16 32766%s32766 = %d, wanted -4\n", `+`, got) 10429 failed = true 10430 } 10431 10432 if got := add_32766_int16_ssa(32767); got != -3 { 10433 fmt.Printf("add_int16 32766%s32767 = %d, wanted -3\n", `+`, got) 10434 failed = true 10435 } 10436 10437 if got := add_int16_32766_ssa(32767); got != -3 { 10438 fmt.Printf("add_int16 32767%s32766 = %d, wanted -3\n", `+`, got) 10439 failed = true 10440 } 10441 10442 if got := add_32767_int16_ssa(-32768); got != -1 { 10443 fmt.Printf("add_int16 32767%s-32768 = %d, wanted -1\n", `+`, got) 10444 failed = true 10445 } 10446 10447 if got := add_int16_32767_ssa(-32768); got != -1 { 10448 fmt.Printf("add_int16 -32768%s32767 = %d, wanted -1\n", `+`, got) 10449 failed = true 10450 } 10451 10452 if got := add_32767_int16_ssa(-32767); got != 0 { 10453 fmt.Printf("add_int16 32767%s-32767 = %d, wanted 0\n", `+`, got) 10454 failed = true 10455 } 10456 10457 if got := add_int16_32767_ssa(-32767); got != 0 { 10458 fmt.Printf("add_int16 -32767%s32767 = %d, wanted 0\n", `+`, got) 10459 failed = true 10460 } 10461 10462 if got := add_32767_int16_ssa(-1); got != 32766 { 10463 fmt.Printf("add_int16 32767%s-1 = %d, wanted 32766\n", `+`, got) 10464 failed = true 10465 } 10466 10467 if got := add_int16_32767_ssa(-1); got != 32766 { 10468 fmt.Printf("add_int16 -1%s32767 = %d, wanted 32766\n", `+`, got) 10469 failed = true 10470 } 10471 10472 if got := add_32767_int16_ssa(0); got != 32767 { 10473 fmt.Printf("add_int16 32767%s0 = %d, wanted 32767\n", `+`, got) 10474 failed = true 10475 } 10476 10477 if got := add_int16_32767_ssa(0); got != 32767 { 10478 fmt.Printf("add_int16 0%s32767 = %d, wanted 32767\n", `+`, got) 10479 failed = true 10480 } 10481 10482 if got := add_32767_int16_ssa(1); got != -32768 { 10483 fmt.Printf("add_int16 32767%s1 = %d, wanted -32768\n", `+`, got) 10484 failed = true 10485 } 10486 10487 if got := add_int16_32767_ssa(1); got != -32768 { 10488 fmt.Printf("add_int16 1%s32767 = %d, wanted -32768\n", `+`, got) 10489 failed = true 10490 } 10491 10492 if got := add_32767_int16_ssa(32766); got != -3 { 10493 fmt.Printf("add_int16 32767%s32766 = %d, wanted -3\n", `+`, got) 10494 failed = true 10495 } 10496 10497 if got := add_int16_32767_ssa(32766); got != -3 { 10498 fmt.Printf("add_int16 32766%s32767 = %d, wanted -3\n", `+`, got) 10499 failed = true 10500 } 10501 10502 if got := add_32767_int16_ssa(32767); got != -2 { 10503 fmt.Printf("add_int16 32767%s32767 = %d, wanted -2\n", `+`, got) 10504 failed = true 10505 } 10506 10507 if got := add_int16_32767_ssa(32767); got != -2 { 10508 fmt.Printf("add_int16 32767%s32767 = %d, wanted -2\n", `+`, got) 10509 failed = true 10510 } 10511 10512 if got := sub_Neg32768_int16_ssa(-32768); got != 0 { 10513 fmt.Printf("sub_int16 -32768%s-32768 = %d, wanted 0\n", `-`, got) 10514 failed = true 10515 } 10516 10517 if got := sub_int16_Neg32768_ssa(-32768); got != 0 { 10518 fmt.Printf("sub_int16 -32768%s-32768 = %d, wanted 0\n", `-`, got) 10519 failed = true 10520 } 10521 10522 if got := sub_Neg32768_int16_ssa(-32767); got != -1 { 10523 fmt.Printf("sub_int16 -32768%s-32767 = %d, wanted -1\n", `-`, got) 10524 failed = true 10525 } 10526 10527 if got := sub_int16_Neg32768_ssa(-32767); got != 1 { 10528 fmt.Printf("sub_int16 -32767%s-32768 = %d, wanted 1\n", `-`, got) 10529 failed = true 10530 } 10531 10532 if got := sub_Neg32768_int16_ssa(-1); got != -32767 { 10533 fmt.Printf("sub_int16 -32768%s-1 = %d, wanted -32767\n", `-`, got) 10534 failed = true 10535 } 10536 10537 if got := sub_int16_Neg32768_ssa(-1); got != 32767 { 10538 fmt.Printf("sub_int16 -1%s-32768 = %d, wanted 32767\n", `-`, got) 10539 failed = true 10540 } 10541 10542 if got := sub_Neg32768_int16_ssa(0); got != -32768 { 10543 fmt.Printf("sub_int16 -32768%s0 = %d, wanted -32768\n", `-`, got) 10544 failed = true 10545 } 10546 10547 if got := sub_int16_Neg32768_ssa(0); got != -32768 { 10548 fmt.Printf("sub_int16 0%s-32768 = %d, wanted -32768\n", `-`, got) 10549 failed = true 10550 } 10551 10552 if got := sub_Neg32768_int16_ssa(1); got != 32767 { 10553 fmt.Printf("sub_int16 -32768%s1 = %d, wanted 32767\n", `-`, got) 10554 failed = true 10555 } 10556 10557 if got := sub_int16_Neg32768_ssa(1); got != -32767 { 10558 fmt.Printf("sub_int16 1%s-32768 = %d, wanted -32767\n", `-`, got) 10559 failed = true 10560 } 10561 10562 if got := sub_Neg32768_int16_ssa(32766); got != 2 { 10563 fmt.Printf("sub_int16 -32768%s32766 = %d, wanted 2\n", `-`, got) 10564 failed = true 10565 } 10566 10567 if got := sub_int16_Neg32768_ssa(32766); got != -2 { 10568 fmt.Printf("sub_int16 32766%s-32768 = %d, wanted -2\n", `-`, got) 10569 failed = true 10570 } 10571 10572 if got := sub_Neg32768_int16_ssa(32767); got != 1 { 10573 fmt.Printf("sub_int16 -32768%s32767 = %d, wanted 1\n", `-`, got) 10574 failed = true 10575 } 10576 10577 if got := sub_int16_Neg32768_ssa(32767); got != -1 { 10578 fmt.Printf("sub_int16 32767%s-32768 = %d, wanted -1\n", `-`, got) 10579 failed = true 10580 } 10581 10582 if got := sub_Neg32767_int16_ssa(-32768); got != 1 { 10583 fmt.Printf("sub_int16 -32767%s-32768 = %d, wanted 1\n", `-`, got) 10584 failed = true 10585 } 10586 10587 if got := sub_int16_Neg32767_ssa(-32768); got != -1 { 10588 fmt.Printf("sub_int16 -32768%s-32767 = %d, wanted -1\n", `-`, got) 10589 failed = true 10590 } 10591 10592 if got := sub_Neg32767_int16_ssa(-32767); got != 0 { 10593 fmt.Printf("sub_int16 -32767%s-32767 = %d, wanted 0\n", `-`, got) 10594 failed = true 10595 } 10596 10597 if got := sub_int16_Neg32767_ssa(-32767); got != 0 { 10598 fmt.Printf("sub_int16 -32767%s-32767 = %d, wanted 0\n", `-`, got) 10599 failed = true 10600 } 10601 10602 if got := sub_Neg32767_int16_ssa(-1); got != -32766 { 10603 fmt.Printf("sub_int16 -32767%s-1 = %d, wanted -32766\n", `-`, got) 10604 failed = true 10605 } 10606 10607 if got := sub_int16_Neg32767_ssa(-1); got != 32766 { 10608 fmt.Printf("sub_int16 -1%s-32767 = %d, wanted 32766\n", `-`, got) 10609 failed = true 10610 } 10611 10612 if got := sub_Neg32767_int16_ssa(0); got != -32767 { 10613 fmt.Printf("sub_int16 -32767%s0 = %d, wanted -32767\n", `-`, got) 10614 failed = true 10615 } 10616 10617 if got := sub_int16_Neg32767_ssa(0); got != 32767 { 10618 fmt.Printf("sub_int16 0%s-32767 = %d, wanted 32767\n", `-`, got) 10619 failed = true 10620 } 10621 10622 if got := sub_Neg32767_int16_ssa(1); got != -32768 { 10623 fmt.Printf("sub_int16 -32767%s1 = %d, wanted -32768\n", `-`, got) 10624 failed = true 10625 } 10626 10627 if got := sub_int16_Neg32767_ssa(1); got != -32768 { 10628 fmt.Printf("sub_int16 1%s-32767 = %d, wanted -32768\n", `-`, got) 10629 failed = true 10630 } 10631 10632 if got := sub_Neg32767_int16_ssa(32766); got != 3 { 10633 fmt.Printf("sub_int16 -32767%s32766 = %d, wanted 3\n", `-`, got) 10634 failed = true 10635 } 10636 10637 if got := sub_int16_Neg32767_ssa(32766); got != -3 { 10638 fmt.Printf("sub_int16 32766%s-32767 = %d, wanted -3\n", `-`, got) 10639 failed = true 10640 } 10641 10642 if got := sub_Neg32767_int16_ssa(32767); got != 2 { 10643 fmt.Printf("sub_int16 -32767%s32767 = %d, wanted 2\n", `-`, got) 10644 failed = true 10645 } 10646 10647 if got := sub_int16_Neg32767_ssa(32767); got != -2 { 10648 fmt.Printf("sub_int16 32767%s-32767 = %d, wanted -2\n", `-`, got) 10649 failed = true 10650 } 10651 10652 if got := sub_Neg1_int16_ssa(-32768); got != 32767 { 10653 fmt.Printf("sub_int16 -1%s-32768 = %d, wanted 32767\n", `-`, got) 10654 failed = true 10655 } 10656 10657 if got := sub_int16_Neg1_ssa(-32768); got != -32767 { 10658 fmt.Printf("sub_int16 -32768%s-1 = %d, wanted -32767\n", `-`, got) 10659 failed = true 10660 } 10661 10662 if got := sub_Neg1_int16_ssa(-32767); got != 32766 { 10663 fmt.Printf("sub_int16 -1%s-32767 = %d, wanted 32766\n", `-`, got) 10664 failed = true 10665 } 10666 10667 if got := sub_int16_Neg1_ssa(-32767); got != -32766 { 10668 fmt.Printf("sub_int16 -32767%s-1 = %d, wanted -32766\n", `-`, got) 10669 failed = true 10670 } 10671 10672 if got := sub_Neg1_int16_ssa(-1); got != 0 { 10673 fmt.Printf("sub_int16 -1%s-1 = %d, wanted 0\n", `-`, got) 10674 failed = true 10675 } 10676 10677 if got := sub_int16_Neg1_ssa(-1); got != 0 { 10678 fmt.Printf("sub_int16 -1%s-1 = %d, wanted 0\n", `-`, got) 10679 failed = true 10680 } 10681 10682 if got := sub_Neg1_int16_ssa(0); got != -1 { 10683 fmt.Printf("sub_int16 -1%s0 = %d, wanted -1\n", `-`, got) 10684 failed = true 10685 } 10686 10687 if got := sub_int16_Neg1_ssa(0); got != 1 { 10688 fmt.Printf("sub_int16 0%s-1 = %d, wanted 1\n", `-`, got) 10689 failed = true 10690 } 10691 10692 if got := sub_Neg1_int16_ssa(1); got != -2 { 10693 fmt.Printf("sub_int16 -1%s1 = %d, wanted -2\n", `-`, got) 10694 failed = true 10695 } 10696 10697 if got := sub_int16_Neg1_ssa(1); got != 2 { 10698 fmt.Printf("sub_int16 1%s-1 = %d, wanted 2\n", `-`, got) 10699 failed = true 10700 } 10701 10702 if got := sub_Neg1_int16_ssa(32766); got != -32767 { 10703 fmt.Printf("sub_int16 -1%s32766 = %d, wanted -32767\n", `-`, got) 10704 failed = true 10705 } 10706 10707 if got := sub_int16_Neg1_ssa(32766); got != 32767 { 10708 fmt.Printf("sub_int16 32766%s-1 = %d, wanted 32767\n", `-`, got) 10709 failed = true 10710 } 10711 10712 if got := sub_Neg1_int16_ssa(32767); got != -32768 { 10713 fmt.Printf("sub_int16 -1%s32767 = %d, wanted -32768\n", `-`, got) 10714 failed = true 10715 } 10716 10717 if got := sub_int16_Neg1_ssa(32767); got != -32768 { 10718 fmt.Printf("sub_int16 32767%s-1 = %d, wanted -32768\n", `-`, got) 10719 failed = true 10720 } 10721 10722 if got := sub_0_int16_ssa(-32768); got != -32768 { 10723 fmt.Printf("sub_int16 0%s-32768 = %d, wanted -32768\n", `-`, got) 10724 failed = true 10725 } 10726 10727 if got := sub_int16_0_ssa(-32768); got != -32768 { 10728 fmt.Printf("sub_int16 -32768%s0 = %d, wanted -32768\n", `-`, got) 10729 failed = true 10730 } 10731 10732 if got := sub_0_int16_ssa(-32767); got != 32767 { 10733 fmt.Printf("sub_int16 0%s-32767 = %d, wanted 32767\n", `-`, got) 10734 failed = true 10735 } 10736 10737 if got := sub_int16_0_ssa(-32767); got != -32767 { 10738 fmt.Printf("sub_int16 -32767%s0 = %d, wanted -32767\n", `-`, got) 10739 failed = true 10740 } 10741 10742 if got := sub_0_int16_ssa(-1); got != 1 { 10743 fmt.Printf("sub_int16 0%s-1 = %d, wanted 1\n", `-`, got) 10744 failed = true 10745 } 10746 10747 if got := sub_int16_0_ssa(-1); got != -1 { 10748 fmt.Printf("sub_int16 -1%s0 = %d, wanted -1\n", `-`, got) 10749 failed = true 10750 } 10751 10752 if got := sub_0_int16_ssa(0); got != 0 { 10753 fmt.Printf("sub_int16 0%s0 = %d, wanted 0\n", `-`, got) 10754 failed = true 10755 } 10756 10757 if got := sub_int16_0_ssa(0); got != 0 { 10758 fmt.Printf("sub_int16 0%s0 = %d, wanted 0\n", `-`, got) 10759 failed = true 10760 } 10761 10762 if got := sub_0_int16_ssa(1); got != -1 { 10763 fmt.Printf("sub_int16 0%s1 = %d, wanted -1\n", `-`, got) 10764 failed = true 10765 } 10766 10767 if got := sub_int16_0_ssa(1); got != 1 { 10768 fmt.Printf("sub_int16 1%s0 = %d, wanted 1\n", `-`, got) 10769 failed = true 10770 } 10771 10772 if got := sub_0_int16_ssa(32766); got != -32766 { 10773 fmt.Printf("sub_int16 0%s32766 = %d, wanted -32766\n", `-`, got) 10774 failed = true 10775 } 10776 10777 if got := sub_int16_0_ssa(32766); got != 32766 { 10778 fmt.Printf("sub_int16 32766%s0 = %d, wanted 32766\n", `-`, got) 10779 failed = true 10780 } 10781 10782 if got := sub_0_int16_ssa(32767); got != -32767 { 10783 fmt.Printf("sub_int16 0%s32767 = %d, wanted -32767\n", `-`, got) 10784 failed = true 10785 } 10786 10787 if got := sub_int16_0_ssa(32767); got != 32767 { 10788 fmt.Printf("sub_int16 32767%s0 = %d, wanted 32767\n", `-`, got) 10789 failed = true 10790 } 10791 10792 if got := sub_1_int16_ssa(-32768); got != -32767 { 10793 fmt.Printf("sub_int16 1%s-32768 = %d, wanted -32767\n", `-`, got) 10794 failed = true 10795 } 10796 10797 if got := sub_int16_1_ssa(-32768); got != 32767 { 10798 fmt.Printf("sub_int16 -32768%s1 = %d, wanted 32767\n", `-`, got) 10799 failed = true 10800 } 10801 10802 if got := sub_1_int16_ssa(-32767); got != -32768 { 10803 fmt.Printf("sub_int16 1%s-32767 = %d, wanted -32768\n", `-`, got) 10804 failed = true 10805 } 10806 10807 if got := sub_int16_1_ssa(-32767); got != -32768 { 10808 fmt.Printf("sub_int16 -32767%s1 = %d, wanted -32768\n", `-`, got) 10809 failed = true 10810 } 10811 10812 if got := sub_1_int16_ssa(-1); got != 2 { 10813 fmt.Printf("sub_int16 1%s-1 = %d, wanted 2\n", `-`, got) 10814 failed = true 10815 } 10816 10817 if got := sub_int16_1_ssa(-1); got != -2 { 10818 fmt.Printf("sub_int16 -1%s1 = %d, wanted -2\n", `-`, got) 10819 failed = true 10820 } 10821 10822 if got := sub_1_int16_ssa(0); got != 1 { 10823 fmt.Printf("sub_int16 1%s0 = %d, wanted 1\n", `-`, got) 10824 failed = true 10825 } 10826 10827 if got := sub_int16_1_ssa(0); got != -1 { 10828 fmt.Printf("sub_int16 0%s1 = %d, wanted -1\n", `-`, got) 10829 failed = true 10830 } 10831 10832 if got := sub_1_int16_ssa(1); got != 0 { 10833 fmt.Printf("sub_int16 1%s1 = %d, wanted 0\n", `-`, got) 10834 failed = true 10835 } 10836 10837 if got := sub_int16_1_ssa(1); got != 0 { 10838 fmt.Printf("sub_int16 1%s1 = %d, wanted 0\n", `-`, got) 10839 failed = true 10840 } 10841 10842 if got := sub_1_int16_ssa(32766); got != -32765 { 10843 fmt.Printf("sub_int16 1%s32766 = %d, wanted -32765\n", `-`, got) 10844 failed = true 10845 } 10846 10847 if got := sub_int16_1_ssa(32766); got != 32765 { 10848 fmt.Printf("sub_int16 32766%s1 = %d, wanted 32765\n", `-`, got) 10849 failed = true 10850 } 10851 10852 if got := sub_1_int16_ssa(32767); got != -32766 { 10853 fmt.Printf("sub_int16 1%s32767 = %d, wanted -32766\n", `-`, got) 10854 failed = true 10855 } 10856 10857 if got := sub_int16_1_ssa(32767); got != 32766 { 10858 fmt.Printf("sub_int16 32767%s1 = %d, wanted 32766\n", `-`, got) 10859 failed = true 10860 } 10861 10862 if got := sub_32766_int16_ssa(-32768); got != -2 { 10863 fmt.Printf("sub_int16 32766%s-32768 = %d, wanted -2\n", `-`, got) 10864 failed = true 10865 } 10866 10867 if got := sub_int16_32766_ssa(-32768); got != 2 { 10868 fmt.Printf("sub_int16 -32768%s32766 = %d, wanted 2\n", `-`, got) 10869 failed = true 10870 } 10871 10872 if got := sub_32766_int16_ssa(-32767); got != -3 { 10873 fmt.Printf("sub_int16 32766%s-32767 = %d, wanted -3\n", `-`, got) 10874 failed = true 10875 } 10876 10877 if got := sub_int16_32766_ssa(-32767); got != 3 { 10878 fmt.Printf("sub_int16 -32767%s32766 = %d, wanted 3\n", `-`, got) 10879 failed = true 10880 } 10881 10882 if got := sub_32766_int16_ssa(-1); got != 32767 { 10883 fmt.Printf("sub_int16 32766%s-1 = %d, wanted 32767\n", `-`, got) 10884 failed = true 10885 } 10886 10887 if got := sub_int16_32766_ssa(-1); got != -32767 { 10888 fmt.Printf("sub_int16 -1%s32766 = %d, wanted -32767\n", `-`, got) 10889 failed = true 10890 } 10891 10892 if got := sub_32766_int16_ssa(0); got != 32766 { 10893 fmt.Printf("sub_int16 32766%s0 = %d, wanted 32766\n", `-`, got) 10894 failed = true 10895 } 10896 10897 if got := sub_int16_32766_ssa(0); got != -32766 { 10898 fmt.Printf("sub_int16 0%s32766 = %d, wanted -32766\n", `-`, got) 10899 failed = true 10900 } 10901 10902 if got := sub_32766_int16_ssa(1); got != 32765 { 10903 fmt.Printf("sub_int16 32766%s1 = %d, wanted 32765\n", `-`, got) 10904 failed = true 10905 } 10906 10907 if got := sub_int16_32766_ssa(1); got != -32765 { 10908 fmt.Printf("sub_int16 1%s32766 = %d, wanted -32765\n", `-`, got) 10909 failed = true 10910 } 10911 10912 if got := sub_32766_int16_ssa(32766); got != 0 { 10913 fmt.Printf("sub_int16 32766%s32766 = %d, wanted 0\n", `-`, got) 10914 failed = true 10915 } 10916 10917 if got := sub_int16_32766_ssa(32766); got != 0 { 10918 fmt.Printf("sub_int16 32766%s32766 = %d, wanted 0\n", `-`, got) 10919 failed = true 10920 } 10921 10922 if got := sub_32766_int16_ssa(32767); got != -1 { 10923 fmt.Printf("sub_int16 32766%s32767 = %d, wanted -1\n", `-`, got) 10924 failed = true 10925 } 10926 10927 if got := sub_int16_32766_ssa(32767); got != 1 { 10928 fmt.Printf("sub_int16 32767%s32766 = %d, wanted 1\n", `-`, got) 10929 failed = true 10930 } 10931 10932 if got := sub_32767_int16_ssa(-32768); got != -1 { 10933 fmt.Printf("sub_int16 32767%s-32768 = %d, wanted -1\n", `-`, got) 10934 failed = true 10935 } 10936 10937 if got := sub_int16_32767_ssa(-32768); got != 1 { 10938 fmt.Printf("sub_int16 -32768%s32767 = %d, wanted 1\n", `-`, got) 10939 failed = true 10940 } 10941 10942 if got := sub_32767_int16_ssa(-32767); got != -2 { 10943 fmt.Printf("sub_int16 32767%s-32767 = %d, wanted -2\n", `-`, got) 10944 failed = true 10945 } 10946 10947 if got := sub_int16_32767_ssa(-32767); got != 2 { 10948 fmt.Printf("sub_int16 -32767%s32767 = %d, wanted 2\n", `-`, got) 10949 failed = true 10950 } 10951 10952 if got := sub_32767_int16_ssa(-1); got != -32768 { 10953 fmt.Printf("sub_int16 32767%s-1 = %d, wanted -32768\n", `-`, got) 10954 failed = true 10955 } 10956 10957 if got := sub_int16_32767_ssa(-1); got != -32768 { 10958 fmt.Printf("sub_int16 -1%s32767 = %d, wanted -32768\n", `-`, got) 10959 failed = true 10960 } 10961 10962 if got := sub_32767_int16_ssa(0); got != 32767 { 10963 fmt.Printf("sub_int16 32767%s0 = %d, wanted 32767\n", `-`, got) 10964 failed = true 10965 } 10966 10967 if got := sub_int16_32767_ssa(0); got != -32767 { 10968 fmt.Printf("sub_int16 0%s32767 = %d, wanted -32767\n", `-`, got) 10969 failed = true 10970 } 10971 10972 if got := sub_32767_int16_ssa(1); got != 32766 { 10973 fmt.Printf("sub_int16 32767%s1 = %d, wanted 32766\n", `-`, got) 10974 failed = true 10975 } 10976 10977 if got := sub_int16_32767_ssa(1); got != -32766 { 10978 fmt.Printf("sub_int16 1%s32767 = %d, wanted -32766\n", `-`, got) 10979 failed = true 10980 } 10981 10982 if got := sub_32767_int16_ssa(32766); got != 1 { 10983 fmt.Printf("sub_int16 32767%s32766 = %d, wanted 1\n", `-`, got) 10984 failed = true 10985 } 10986 10987 if got := sub_int16_32767_ssa(32766); got != -1 { 10988 fmt.Printf("sub_int16 32766%s32767 = %d, wanted -1\n", `-`, got) 10989 failed = true 10990 } 10991 10992 if got := sub_32767_int16_ssa(32767); got != 0 { 10993 fmt.Printf("sub_int16 32767%s32767 = %d, wanted 0\n", `-`, got) 10994 failed = true 10995 } 10996 10997 if got := sub_int16_32767_ssa(32767); got != 0 { 10998 fmt.Printf("sub_int16 32767%s32767 = %d, wanted 0\n", `-`, got) 10999 failed = true 11000 } 11001 11002 if got := div_Neg32768_int16_ssa(-32768); got != 1 { 11003 fmt.Printf("div_int16 -32768%s-32768 = %d, wanted 1\n", `/`, got) 11004 failed = true 11005 } 11006 11007 if got := div_int16_Neg32768_ssa(-32768); got != 1 { 11008 fmt.Printf("div_int16 -32768%s-32768 = %d, wanted 1\n", `/`, got) 11009 failed = true 11010 } 11011 11012 if got := div_Neg32768_int16_ssa(-32767); got != 1 { 11013 fmt.Printf("div_int16 -32768%s-32767 = %d, wanted 1\n", `/`, got) 11014 failed = true 11015 } 11016 11017 if got := div_int16_Neg32768_ssa(-32767); got != 0 { 11018 fmt.Printf("div_int16 -32767%s-32768 = %d, wanted 0\n", `/`, got) 11019 failed = true 11020 } 11021 11022 if got := div_Neg32768_int16_ssa(-1); got != -32768 { 11023 fmt.Printf("div_int16 -32768%s-1 = %d, wanted -32768\n", `/`, got) 11024 failed = true 11025 } 11026 11027 if got := div_int16_Neg32768_ssa(-1); got != 0 { 11028 fmt.Printf("div_int16 -1%s-32768 = %d, wanted 0\n", `/`, got) 11029 failed = true 11030 } 11031 11032 if got := div_int16_Neg32768_ssa(0); got != 0 { 11033 fmt.Printf("div_int16 0%s-32768 = %d, wanted 0\n", `/`, got) 11034 failed = true 11035 } 11036 11037 if got := div_Neg32768_int16_ssa(1); got != -32768 { 11038 fmt.Printf("div_int16 -32768%s1 = %d, wanted -32768\n", `/`, got) 11039 failed = true 11040 } 11041 11042 if got := div_int16_Neg32768_ssa(1); got != 0 { 11043 fmt.Printf("div_int16 1%s-32768 = %d, wanted 0\n", `/`, got) 11044 failed = true 11045 } 11046 11047 if got := div_Neg32768_int16_ssa(32766); got != -1 { 11048 fmt.Printf("div_int16 -32768%s32766 = %d, wanted -1\n", `/`, got) 11049 failed = true 11050 } 11051 11052 if got := div_int16_Neg32768_ssa(32766); got != 0 { 11053 fmt.Printf("div_int16 32766%s-32768 = %d, wanted 0\n", `/`, got) 11054 failed = true 11055 } 11056 11057 if got := div_Neg32768_int16_ssa(32767); got != -1 { 11058 fmt.Printf("div_int16 -32768%s32767 = %d, wanted -1\n", `/`, got) 11059 failed = true 11060 } 11061 11062 if got := div_int16_Neg32768_ssa(32767); got != 0 { 11063 fmt.Printf("div_int16 32767%s-32768 = %d, wanted 0\n", `/`, got) 11064 failed = true 11065 } 11066 11067 if got := div_Neg32767_int16_ssa(-32768); got != 0 { 11068 fmt.Printf("div_int16 -32767%s-32768 = %d, wanted 0\n", `/`, got) 11069 failed = true 11070 } 11071 11072 if got := div_int16_Neg32767_ssa(-32768); got != 1 { 11073 fmt.Printf("div_int16 -32768%s-32767 = %d, wanted 1\n", `/`, got) 11074 failed = true 11075 } 11076 11077 if got := div_Neg32767_int16_ssa(-32767); got != 1 { 11078 fmt.Printf("div_int16 -32767%s-32767 = %d, wanted 1\n", `/`, got) 11079 failed = true 11080 } 11081 11082 if got := div_int16_Neg32767_ssa(-32767); got != 1 { 11083 fmt.Printf("div_int16 -32767%s-32767 = %d, wanted 1\n", `/`, got) 11084 failed = true 11085 } 11086 11087 if got := div_Neg32767_int16_ssa(-1); got != 32767 { 11088 fmt.Printf("div_int16 -32767%s-1 = %d, wanted 32767\n", `/`, got) 11089 failed = true 11090 } 11091 11092 if got := div_int16_Neg32767_ssa(-1); got != 0 { 11093 fmt.Printf("div_int16 -1%s-32767 = %d, wanted 0\n", `/`, got) 11094 failed = true 11095 } 11096 11097 if got := div_int16_Neg32767_ssa(0); got != 0 { 11098 fmt.Printf("div_int16 0%s-32767 = %d, wanted 0\n", `/`, got) 11099 failed = true 11100 } 11101 11102 if got := div_Neg32767_int16_ssa(1); got != -32767 { 11103 fmt.Printf("div_int16 -32767%s1 = %d, wanted -32767\n", `/`, got) 11104 failed = true 11105 } 11106 11107 if got := div_int16_Neg32767_ssa(1); got != 0 { 11108 fmt.Printf("div_int16 1%s-32767 = %d, wanted 0\n", `/`, got) 11109 failed = true 11110 } 11111 11112 if got := div_Neg32767_int16_ssa(32766); got != -1 { 11113 fmt.Printf("div_int16 -32767%s32766 = %d, wanted -1\n", `/`, got) 11114 failed = true 11115 } 11116 11117 if got := div_int16_Neg32767_ssa(32766); got != 0 { 11118 fmt.Printf("div_int16 32766%s-32767 = %d, wanted 0\n", `/`, got) 11119 failed = true 11120 } 11121 11122 if got := div_Neg32767_int16_ssa(32767); got != -1 { 11123 fmt.Printf("div_int16 -32767%s32767 = %d, wanted -1\n", `/`, got) 11124 failed = true 11125 } 11126 11127 if got := div_int16_Neg32767_ssa(32767); got != -1 { 11128 fmt.Printf("div_int16 32767%s-32767 = %d, wanted -1\n", `/`, got) 11129 failed = true 11130 } 11131 11132 if got := div_Neg1_int16_ssa(-32768); got != 0 { 11133 fmt.Printf("div_int16 -1%s-32768 = %d, wanted 0\n", `/`, got) 11134 failed = true 11135 } 11136 11137 if got := div_int16_Neg1_ssa(-32768); got != -32768 { 11138 fmt.Printf("div_int16 -32768%s-1 = %d, wanted -32768\n", `/`, got) 11139 failed = true 11140 } 11141 11142 if got := div_Neg1_int16_ssa(-32767); got != 0 { 11143 fmt.Printf("div_int16 -1%s-32767 = %d, wanted 0\n", `/`, got) 11144 failed = true 11145 } 11146 11147 if got := div_int16_Neg1_ssa(-32767); got != 32767 { 11148 fmt.Printf("div_int16 -32767%s-1 = %d, wanted 32767\n", `/`, got) 11149 failed = true 11150 } 11151 11152 if got := div_Neg1_int16_ssa(-1); got != 1 { 11153 fmt.Printf("div_int16 -1%s-1 = %d, wanted 1\n", `/`, got) 11154 failed = true 11155 } 11156 11157 if got := div_int16_Neg1_ssa(-1); got != 1 { 11158 fmt.Printf("div_int16 -1%s-1 = %d, wanted 1\n", `/`, got) 11159 failed = true 11160 } 11161 11162 if got := div_int16_Neg1_ssa(0); got != 0 { 11163 fmt.Printf("div_int16 0%s-1 = %d, wanted 0\n", `/`, got) 11164 failed = true 11165 } 11166 11167 if got := div_Neg1_int16_ssa(1); got != -1 { 11168 fmt.Printf("div_int16 -1%s1 = %d, wanted -1\n", `/`, got) 11169 failed = true 11170 } 11171 11172 if got := div_int16_Neg1_ssa(1); got != -1 { 11173 fmt.Printf("div_int16 1%s-1 = %d, wanted -1\n", `/`, got) 11174 failed = true 11175 } 11176 11177 if got := div_Neg1_int16_ssa(32766); got != 0 { 11178 fmt.Printf("div_int16 -1%s32766 = %d, wanted 0\n", `/`, got) 11179 failed = true 11180 } 11181 11182 if got := div_int16_Neg1_ssa(32766); got != -32766 { 11183 fmt.Printf("div_int16 32766%s-1 = %d, wanted -32766\n", `/`, got) 11184 failed = true 11185 } 11186 11187 if got := div_Neg1_int16_ssa(32767); got != 0 { 11188 fmt.Printf("div_int16 -1%s32767 = %d, wanted 0\n", `/`, got) 11189 failed = true 11190 } 11191 11192 if got := div_int16_Neg1_ssa(32767); got != -32767 { 11193 fmt.Printf("div_int16 32767%s-1 = %d, wanted -32767\n", `/`, got) 11194 failed = true 11195 } 11196 11197 if got := div_0_int16_ssa(-32768); got != 0 { 11198 fmt.Printf("div_int16 0%s-32768 = %d, wanted 0\n", `/`, got) 11199 failed = true 11200 } 11201 11202 if got := div_0_int16_ssa(-32767); got != 0 { 11203 fmt.Printf("div_int16 0%s-32767 = %d, wanted 0\n", `/`, got) 11204 failed = true 11205 } 11206 11207 if got := div_0_int16_ssa(-1); got != 0 { 11208 fmt.Printf("div_int16 0%s-1 = %d, wanted 0\n", `/`, got) 11209 failed = true 11210 } 11211 11212 if got := div_0_int16_ssa(1); got != 0 { 11213 fmt.Printf("div_int16 0%s1 = %d, wanted 0\n", `/`, got) 11214 failed = true 11215 } 11216 11217 if got := div_0_int16_ssa(32766); got != 0 { 11218 fmt.Printf("div_int16 0%s32766 = %d, wanted 0\n", `/`, got) 11219 failed = true 11220 } 11221 11222 if got := div_0_int16_ssa(32767); got != 0 { 11223 fmt.Printf("div_int16 0%s32767 = %d, wanted 0\n", `/`, got) 11224 failed = true 11225 } 11226 11227 if got := div_1_int16_ssa(-32768); got != 0 { 11228 fmt.Printf("div_int16 1%s-32768 = %d, wanted 0\n", `/`, got) 11229 failed = true 11230 } 11231 11232 if got := div_int16_1_ssa(-32768); got != -32768 { 11233 fmt.Printf("div_int16 -32768%s1 = %d, wanted -32768\n", `/`, got) 11234 failed = true 11235 } 11236 11237 if got := div_1_int16_ssa(-32767); got != 0 { 11238 fmt.Printf("div_int16 1%s-32767 = %d, wanted 0\n", `/`, got) 11239 failed = true 11240 } 11241 11242 if got := div_int16_1_ssa(-32767); got != -32767 { 11243 fmt.Printf("div_int16 -32767%s1 = %d, wanted -32767\n", `/`, got) 11244 failed = true 11245 } 11246 11247 if got := div_1_int16_ssa(-1); got != -1 { 11248 fmt.Printf("div_int16 1%s-1 = %d, wanted -1\n", `/`, got) 11249 failed = true 11250 } 11251 11252 if got := div_int16_1_ssa(-1); got != -1 { 11253 fmt.Printf("div_int16 -1%s1 = %d, wanted -1\n", `/`, got) 11254 failed = true 11255 } 11256 11257 if got := div_int16_1_ssa(0); got != 0 { 11258 fmt.Printf("div_int16 0%s1 = %d, wanted 0\n", `/`, got) 11259 failed = true 11260 } 11261 11262 if got := div_1_int16_ssa(1); got != 1 { 11263 fmt.Printf("div_int16 1%s1 = %d, wanted 1\n", `/`, got) 11264 failed = true 11265 } 11266 11267 if got := div_int16_1_ssa(1); got != 1 { 11268 fmt.Printf("div_int16 1%s1 = %d, wanted 1\n", `/`, got) 11269 failed = true 11270 } 11271 11272 if got := div_1_int16_ssa(32766); got != 0 { 11273 fmt.Printf("div_int16 1%s32766 = %d, wanted 0\n", `/`, got) 11274 failed = true 11275 } 11276 11277 if got := div_int16_1_ssa(32766); got != 32766 { 11278 fmt.Printf("div_int16 32766%s1 = %d, wanted 32766\n", `/`, got) 11279 failed = true 11280 } 11281 11282 if got := div_1_int16_ssa(32767); got != 0 { 11283 fmt.Printf("div_int16 1%s32767 = %d, wanted 0\n", `/`, got) 11284 failed = true 11285 } 11286 11287 if got := div_int16_1_ssa(32767); got != 32767 { 11288 fmt.Printf("div_int16 32767%s1 = %d, wanted 32767\n", `/`, got) 11289 failed = true 11290 } 11291 11292 if got := div_32766_int16_ssa(-32768); got != 0 { 11293 fmt.Printf("div_int16 32766%s-32768 = %d, wanted 0\n", `/`, got) 11294 failed = true 11295 } 11296 11297 if got := div_int16_32766_ssa(-32768); got != -1 { 11298 fmt.Printf("div_int16 -32768%s32766 = %d, wanted -1\n", `/`, got) 11299 failed = true 11300 } 11301 11302 if got := div_32766_int16_ssa(-32767); got != 0 { 11303 fmt.Printf("div_int16 32766%s-32767 = %d, wanted 0\n", `/`, got) 11304 failed = true 11305 } 11306 11307 if got := div_int16_32766_ssa(-32767); got != -1 { 11308 fmt.Printf("div_int16 -32767%s32766 = %d, wanted -1\n", `/`, got) 11309 failed = true 11310 } 11311 11312 if got := div_32766_int16_ssa(-1); got != -32766 { 11313 fmt.Printf("div_int16 32766%s-1 = %d, wanted -32766\n", `/`, got) 11314 failed = true 11315 } 11316 11317 if got := div_int16_32766_ssa(-1); got != 0 { 11318 fmt.Printf("div_int16 -1%s32766 = %d, wanted 0\n", `/`, got) 11319 failed = true 11320 } 11321 11322 if got := div_int16_32766_ssa(0); got != 0 { 11323 fmt.Printf("div_int16 0%s32766 = %d, wanted 0\n", `/`, got) 11324 failed = true 11325 } 11326 11327 if got := div_32766_int16_ssa(1); got != 32766 { 11328 fmt.Printf("div_int16 32766%s1 = %d, wanted 32766\n", `/`, got) 11329 failed = true 11330 } 11331 11332 if got := div_int16_32766_ssa(1); got != 0 { 11333 fmt.Printf("div_int16 1%s32766 = %d, wanted 0\n", `/`, got) 11334 failed = true 11335 } 11336 11337 if got := div_32766_int16_ssa(32766); got != 1 { 11338 fmt.Printf("div_int16 32766%s32766 = %d, wanted 1\n", `/`, got) 11339 failed = true 11340 } 11341 11342 if got := div_int16_32766_ssa(32766); got != 1 { 11343 fmt.Printf("div_int16 32766%s32766 = %d, wanted 1\n", `/`, got) 11344 failed = true 11345 } 11346 11347 if got := div_32766_int16_ssa(32767); got != 0 { 11348 fmt.Printf("div_int16 32766%s32767 = %d, wanted 0\n", `/`, got) 11349 failed = true 11350 } 11351 11352 if got := div_int16_32766_ssa(32767); got != 1 { 11353 fmt.Printf("div_int16 32767%s32766 = %d, wanted 1\n", `/`, got) 11354 failed = true 11355 } 11356 11357 if got := div_32767_int16_ssa(-32768); got != 0 { 11358 fmt.Printf("div_int16 32767%s-32768 = %d, wanted 0\n", `/`, got) 11359 failed = true 11360 } 11361 11362 if got := div_int16_32767_ssa(-32768); got != -1 { 11363 fmt.Printf("div_int16 -32768%s32767 = %d, wanted -1\n", `/`, got) 11364 failed = true 11365 } 11366 11367 if got := div_32767_int16_ssa(-32767); got != -1 { 11368 fmt.Printf("div_int16 32767%s-32767 = %d, wanted -1\n", `/`, got) 11369 failed = true 11370 } 11371 11372 if got := div_int16_32767_ssa(-32767); got != -1 { 11373 fmt.Printf("div_int16 -32767%s32767 = %d, wanted -1\n", `/`, got) 11374 failed = true 11375 } 11376 11377 if got := div_32767_int16_ssa(-1); got != -32767 { 11378 fmt.Printf("div_int16 32767%s-1 = %d, wanted -32767\n", `/`, got) 11379 failed = true 11380 } 11381 11382 if got := div_int16_32767_ssa(-1); got != 0 { 11383 fmt.Printf("div_int16 -1%s32767 = %d, wanted 0\n", `/`, got) 11384 failed = true 11385 } 11386 11387 if got := div_int16_32767_ssa(0); got != 0 { 11388 fmt.Printf("div_int16 0%s32767 = %d, wanted 0\n", `/`, got) 11389 failed = true 11390 } 11391 11392 if got := div_32767_int16_ssa(1); got != 32767 { 11393 fmt.Printf("div_int16 32767%s1 = %d, wanted 32767\n", `/`, got) 11394 failed = true 11395 } 11396 11397 if got := div_int16_32767_ssa(1); got != 0 { 11398 fmt.Printf("div_int16 1%s32767 = %d, wanted 0\n", `/`, got) 11399 failed = true 11400 } 11401 11402 if got := div_32767_int16_ssa(32766); got != 1 { 11403 fmt.Printf("div_int16 32767%s32766 = %d, wanted 1\n", `/`, got) 11404 failed = true 11405 } 11406 11407 if got := div_int16_32767_ssa(32766); got != 0 { 11408 fmt.Printf("div_int16 32766%s32767 = %d, wanted 0\n", `/`, got) 11409 failed = true 11410 } 11411 11412 if got := div_32767_int16_ssa(32767); got != 1 { 11413 fmt.Printf("div_int16 32767%s32767 = %d, wanted 1\n", `/`, got) 11414 failed = true 11415 } 11416 11417 if got := div_int16_32767_ssa(32767); got != 1 { 11418 fmt.Printf("div_int16 32767%s32767 = %d, wanted 1\n", `/`, got) 11419 failed = true 11420 } 11421 11422 if got := mul_Neg32768_int16_ssa(-32768); got != 0 { 11423 fmt.Printf("mul_int16 -32768%s-32768 = %d, wanted 0\n", `*`, got) 11424 failed = true 11425 } 11426 11427 if got := mul_int16_Neg32768_ssa(-32768); got != 0 { 11428 fmt.Printf("mul_int16 -32768%s-32768 = %d, wanted 0\n", `*`, got) 11429 failed = true 11430 } 11431 11432 if got := mul_Neg32768_int16_ssa(-32767); got != -32768 { 11433 fmt.Printf("mul_int16 -32768%s-32767 = %d, wanted -32768\n", `*`, got) 11434 failed = true 11435 } 11436 11437 if got := mul_int16_Neg32768_ssa(-32767); got != -32768 { 11438 fmt.Printf("mul_int16 -32767%s-32768 = %d, wanted -32768\n", `*`, got) 11439 failed = true 11440 } 11441 11442 if got := mul_Neg32768_int16_ssa(-1); got != -32768 { 11443 fmt.Printf("mul_int16 -32768%s-1 = %d, wanted -32768\n", `*`, got) 11444 failed = true 11445 } 11446 11447 if got := mul_int16_Neg32768_ssa(-1); got != -32768 { 11448 fmt.Printf("mul_int16 -1%s-32768 = %d, wanted -32768\n", `*`, got) 11449 failed = true 11450 } 11451 11452 if got := mul_Neg32768_int16_ssa(0); got != 0 { 11453 fmt.Printf("mul_int16 -32768%s0 = %d, wanted 0\n", `*`, got) 11454 failed = true 11455 } 11456 11457 if got := mul_int16_Neg32768_ssa(0); got != 0 { 11458 fmt.Printf("mul_int16 0%s-32768 = %d, wanted 0\n", `*`, got) 11459 failed = true 11460 } 11461 11462 if got := mul_Neg32768_int16_ssa(1); got != -32768 { 11463 fmt.Printf("mul_int16 -32768%s1 = %d, wanted -32768\n", `*`, got) 11464 failed = true 11465 } 11466 11467 if got := mul_int16_Neg32768_ssa(1); got != -32768 { 11468 fmt.Printf("mul_int16 1%s-32768 = %d, wanted -32768\n", `*`, got) 11469 failed = true 11470 } 11471 11472 if got := mul_Neg32768_int16_ssa(32766); got != 0 { 11473 fmt.Printf("mul_int16 -32768%s32766 = %d, wanted 0\n", `*`, got) 11474 failed = true 11475 } 11476 11477 if got := mul_int16_Neg32768_ssa(32766); got != 0 { 11478 fmt.Printf("mul_int16 32766%s-32768 = %d, wanted 0\n", `*`, got) 11479 failed = true 11480 } 11481 11482 if got := mul_Neg32768_int16_ssa(32767); got != -32768 { 11483 fmt.Printf("mul_int16 -32768%s32767 = %d, wanted -32768\n", `*`, got) 11484 failed = true 11485 } 11486 11487 if got := mul_int16_Neg32768_ssa(32767); got != -32768 { 11488 fmt.Printf("mul_int16 32767%s-32768 = %d, wanted -32768\n", `*`, got) 11489 failed = true 11490 } 11491 11492 if got := mul_Neg32767_int16_ssa(-32768); got != -32768 { 11493 fmt.Printf("mul_int16 -32767%s-32768 = %d, wanted -32768\n", `*`, got) 11494 failed = true 11495 } 11496 11497 if got := mul_int16_Neg32767_ssa(-32768); got != -32768 { 11498 fmt.Printf("mul_int16 -32768%s-32767 = %d, wanted -32768\n", `*`, got) 11499 failed = true 11500 } 11501 11502 if got := mul_Neg32767_int16_ssa(-32767); got != 1 { 11503 fmt.Printf("mul_int16 -32767%s-32767 = %d, wanted 1\n", `*`, got) 11504 failed = true 11505 } 11506 11507 if got := mul_int16_Neg32767_ssa(-32767); got != 1 { 11508 fmt.Printf("mul_int16 -32767%s-32767 = %d, wanted 1\n", `*`, got) 11509 failed = true 11510 } 11511 11512 if got := mul_Neg32767_int16_ssa(-1); got != 32767 { 11513 fmt.Printf("mul_int16 -32767%s-1 = %d, wanted 32767\n", `*`, got) 11514 failed = true 11515 } 11516 11517 if got := mul_int16_Neg32767_ssa(-1); got != 32767 { 11518 fmt.Printf("mul_int16 -1%s-32767 = %d, wanted 32767\n", `*`, got) 11519 failed = true 11520 } 11521 11522 if got := mul_Neg32767_int16_ssa(0); got != 0 { 11523 fmt.Printf("mul_int16 -32767%s0 = %d, wanted 0\n", `*`, got) 11524 failed = true 11525 } 11526 11527 if got := mul_int16_Neg32767_ssa(0); got != 0 { 11528 fmt.Printf("mul_int16 0%s-32767 = %d, wanted 0\n", `*`, got) 11529 failed = true 11530 } 11531 11532 if got := mul_Neg32767_int16_ssa(1); got != -32767 { 11533 fmt.Printf("mul_int16 -32767%s1 = %d, wanted -32767\n", `*`, got) 11534 failed = true 11535 } 11536 11537 if got := mul_int16_Neg32767_ssa(1); got != -32767 { 11538 fmt.Printf("mul_int16 1%s-32767 = %d, wanted -32767\n", `*`, got) 11539 failed = true 11540 } 11541 11542 if got := mul_Neg32767_int16_ssa(32766); got != 32766 { 11543 fmt.Printf("mul_int16 -32767%s32766 = %d, wanted 32766\n", `*`, got) 11544 failed = true 11545 } 11546 11547 if got := mul_int16_Neg32767_ssa(32766); got != 32766 { 11548 fmt.Printf("mul_int16 32766%s-32767 = %d, wanted 32766\n", `*`, got) 11549 failed = true 11550 } 11551 11552 if got := mul_Neg32767_int16_ssa(32767); got != -1 { 11553 fmt.Printf("mul_int16 -32767%s32767 = %d, wanted -1\n", `*`, got) 11554 failed = true 11555 } 11556 11557 if got := mul_int16_Neg32767_ssa(32767); got != -1 { 11558 fmt.Printf("mul_int16 32767%s-32767 = %d, wanted -1\n", `*`, got) 11559 failed = true 11560 } 11561 11562 if got := mul_Neg1_int16_ssa(-32768); got != -32768 { 11563 fmt.Printf("mul_int16 -1%s-32768 = %d, wanted -32768\n", `*`, got) 11564 failed = true 11565 } 11566 11567 if got := mul_int16_Neg1_ssa(-32768); got != -32768 { 11568 fmt.Printf("mul_int16 -32768%s-1 = %d, wanted -32768\n", `*`, got) 11569 failed = true 11570 } 11571 11572 if got := mul_Neg1_int16_ssa(-32767); got != 32767 { 11573 fmt.Printf("mul_int16 -1%s-32767 = %d, wanted 32767\n", `*`, got) 11574 failed = true 11575 } 11576 11577 if got := mul_int16_Neg1_ssa(-32767); got != 32767 { 11578 fmt.Printf("mul_int16 -32767%s-1 = %d, wanted 32767\n", `*`, got) 11579 failed = true 11580 } 11581 11582 if got := mul_Neg1_int16_ssa(-1); got != 1 { 11583 fmt.Printf("mul_int16 -1%s-1 = %d, wanted 1\n", `*`, got) 11584 failed = true 11585 } 11586 11587 if got := mul_int16_Neg1_ssa(-1); got != 1 { 11588 fmt.Printf("mul_int16 -1%s-1 = %d, wanted 1\n", `*`, got) 11589 failed = true 11590 } 11591 11592 if got := mul_Neg1_int16_ssa(0); got != 0 { 11593 fmt.Printf("mul_int16 -1%s0 = %d, wanted 0\n", `*`, got) 11594 failed = true 11595 } 11596 11597 if got := mul_int16_Neg1_ssa(0); got != 0 { 11598 fmt.Printf("mul_int16 0%s-1 = %d, wanted 0\n", `*`, got) 11599 failed = true 11600 } 11601 11602 if got := mul_Neg1_int16_ssa(1); got != -1 { 11603 fmt.Printf("mul_int16 -1%s1 = %d, wanted -1\n", `*`, got) 11604 failed = true 11605 } 11606 11607 if got := mul_int16_Neg1_ssa(1); got != -1 { 11608 fmt.Printf("mul_int16 1%s-1 = %d, wanted -1\n", `*`, got) 11609 failed = true 11610 } 11611 11612 if got := mul_Neg1_int16_ssa(32766); got != -32766 { 11613 fmt.Printf("mul_int16 -1%s32766 = %d, wanted -32766\n", `*`, got) 11614 failed = true 11615 } 11616 11617 if got := mul_int16_Neg1_ssa(32766); got != -32766 { 11618 fmt.Printf("mul_int16 32766%s-1 = %d, wanted -32766\n", `*`, got) 11619 failed = true 11620 } 11621 11622 if got := mul_Neg1_int16_ssa(32767); got != -32767 { 11623 fmt.Printf("mul_int16 -1%s32767 = %d, wanted -32767\n", `*`, got) 11624 failed = true 11625 } 11626 11627 if got := mul_int16_Neg1_ssa(32767); got != -32767 { 11628 fmt.Printf("mul_int16 32767%s-1 = %d, wanted -32767\n", `*`, got) 11629 failed = true 11630 } 11631 11632 if got := mul_0_int16_ssa(-32768); got != 0 { 11633 fmt.Printf("mul_int16 0%s-32768 = %d, wanted 0\n", `*`, got) 11634 failed = true 11635 } 11636 11637 if got := mul_int16_0_ssa(-32768); got != 0 { 11638 fmt.Printf("mul_int16 -32768%s0 = %d, wanted 0\n", `*`, got) 11639 failed = true 11640 } 11641 11642 if got := mul_0_int16_ssa(-32767); got != 0 { 11643 fmt.Printf("mul_int16 0%s-32767 = %d, wanted 0\n", `*`, got) 11644 failed = true 11645 } 11646 11647 if got := mul_int16_0_ssa(-32767); got != 0 { 11648 fmt.Printf("mul_int16 -32767%s0 = %d, wanted 0\n", `*`, got) 11649 failed = true 11650 } 11651 11652 if got := mul_0_int16_ssa(-1); got != 0 { 11653 fmt.Printf("mul_int16 0%s-1 = %d, wanted 0\n", `*`, got) 11654 failed = true 11655 } 11656 11657 if got := mul_int16_0_ssa(-1); got != 0 { 11658 fmt.Printf("mul_int16 -1%s0 = %d, wanted 0\n", `*`, got) 11659 failed = true 11660 } 11661 11662 if got := mul_0_int16_ssa(0); got != 0 { 11663 fmt.Printf("mul_int16 0%s0 = %d, wanted 0\n", `*`, got) 11664 failed = true 11665 } 11666 11667 if got := mul_int16_0_ssa(0); got != 0 { 11668 fmt.Printf("mul_int16 0%s0 = %d, wanted 0\n", `*`, got) 11669 failed = true 11670 } 11671 11672 if got := mul_0_int16_ssa(1); got != 0 { 11673 fmt.Printf("mul_int16 0%s1 = %d, wanted 0\n", `*`, got) 11674 failed = true 11675 } 11676 11677 if got := mul_int16_0_ssa(1); got != 0 { 11678 fmt.Printf("mul_int16 1%s0 = %d, wanted 0\n", `*`, got) 11679 failed = true 11680 } 11681 11682 if got := mul_0_int16_ssa(32766); got != 0 { 11683 fmt.Printf("mul_int16 0%s32766 = %d, wanted 0\n", `*`, got) 11684 failed = true 11685 } 11686 11687 if got := mul_int16_0_ssa(32766); got != 0 { 11688 fmt.Printf("mul_int16 32766%s0 = %d, wanted 0\n", `*`, got) 11689 failed = true 11690 } 11691 11692 if got := mul_0_int16_ssa(32767); got != 0 { 11693 fmt.Printf("mul_int16 0%s32767 = %d, wanted 0\n", `*`, got) 11694 failed = true 11695 } 11696 11697 if got := mul_int16_0_ssa(32767); got != 0 { 11698 fmt.Printf("mul_int16 32767%s0 = %d, wanted 0\n", `*`, got) 11699 failed = true 11700 } 11701 11702 if got := mul_1_int16_ssa(-32768); got != -32768 { 11703 fmt.Printf("mul_int16 1%s-32768 = %d, wanted -32768\n", `*`, got) 11704 failed = true 11705 } 11706 11707 if got := mul_int16_1_ssa(-32768); got != -32768 { 11708 fmt.Printf("mul_int16 -32768%s1 = %d, wanted -32768\n", `*`, got) 11709 failed = true 11710 } 11711 11712 if got := mul_1_int16_ssa(-32767); got != -32767 { 11713 fmt.Printf("mul_int16 1%s-32767 = %d, wanted -32767\n", `*`, got) 11714 failed = true 11715 } 11716 11717 if got := mul_int16_1_ssa(-32767); got != -32767 { 11718 fmt.Printf("mul_int16 -32767%s1 = %d, wanted -32767\n", `*`, got) 11719 failed = true 11720 } 11721 11722 if got := mul_1_int16_ssa(-1); got != -1 { 11723 fmt.Printf("mul_int16 1%s-1 = %d, wanted -1\n", `*`, got) 11724 failed = true 11725 } 11726 11727 if got := mul_int16_1_ssa(-1); got != -1 { 11728 fmt.Printf("mul_int16 -1%s1 = %d, wanted -1\n", `*`, got) 11729 failed = true 11730 } 11731 11732 if got := mul_1_int16_ssa(0); got != 0 { 11733 fmt.Printf("mul_int16 1%s0 = %d, wanted 0\n", `*`, got) 11734 failed = true 11735 } 11736 11737 if got := mul_int16_1_ssa(0); got != 0 { 11738 fmt.Printf("mul_int16 0%s1 = %d, wanted 0\n", `*`, got) 11739 failed = true 11740 } 11741 11742 if got := mul_1_int16_ssa(1); got != 1 { 11743 fmt.Printf("mul_int16 1%s1 = %d, wanted 1\n", `*`, got) 11744 failed = true 11745 } 11746 11747 if got := mul_int16_1_ssa(1); got != 1 { 11748 fmt.Printf("mul_int16 1%s1 = %d, wanted 1\n", `*`, got) 11749 failed = true 11750 } 11751 11752 if got := mul_1_int16_ssa(32766); got != 32766 { 11753 fmt.Printf("mul_int16 1%s32766 = %d, wanted 32766\n", `*`, got) 11754 failed = true 11755 } 11756 11757 if got := mul_int16_1_ssa(32766); got != 32766 { 11758 fmt.Printf("mul_int16 32766%s1 = %d, wanted 32766\n", `*`, got) 11759 failed = true 11760 } 11761 11762 if got := mul_1_int16_ssa(32767); got != 32767 { 11763 fmt.Printf("mul_int16 1%s32767 = %d, wanted 32767\n", `*`, got) 11764 failed = true 11765 } 11766 11767 if got := mul_int16_1_ssa(32767); got != 32767 { 11768 fmt.Printf("mul_int16 32767%s1 = %d, wanted 32767\n", `*`, got) 11769 failed = true 11770 } 11771 11772 if got := mul_32766_int16_ssa(-32768); got != 0 { 11773 fmt.Printf("mul_int16 32766%s-32768 = %d, wanted 0\n", `*`, got) 11774 failed = true 11775 } 11776 11777 if got := mul_int16_32766_ssa(-32768); got != 0 { 11778 fmt.Printf("mul_int16 -32768%s32766 = %d, wanted 0\n", `*`, got) 11779 failed = true 11780 } 11781 11782 if got := mul_32766_int16_ssa(-32767); got != 32766 { 11783 fmt.Printf("mul_int16 32766%s-32767 = %d, wanted 32766\n", `*`, got) 11784 failed = true 11785 } 11786 11787 if got := mul_int16_32766_ssa(-32767); got != 32766 { 11788 fmt.Printf("mul_int16 -32767%s32766 = %d, wanted 32766\n", `*`, got) 11789 failed = true 11790 } 11791 11792 if got := mul_32766_int16_ssa(-1); got != -32766 { 11793 fmt.Printf("mul_int16 32766%s-1 = %d, wanted -32766\n", `*`, got) 11794 failed = true 11795 } 11796 11797 if got := mul_int16_32766_ssa(-1); got != -32766 { 11798 fmt.Printf("mul_int16 -1%s32766 = %d, wanted -32766\n", `*`, got) 11799 failed = true 11800 } 11801 11802 if got := mul_32766_int16_ssa(0); got != 0 { 11803 fmt.Printf("mul_int16 32766%s0 = %d, wanted 0\n", `*`, got) 11804 failed = true 11805 } 11806 11807 if got := mul_int16_32766_ssa(0); got != 0 { 11808 fmt.Printf("mul_int16 0%s32766 = %d, wanted 0\n", `*`, got) 11809 failed = true 11810 } 11811 11812 if got := mul_32766_int16_ssa(1); got != 32766 { 11813 fmt.Printf("mul_int16 32766%s1 = %d, wanted 32766\n", `*`, got) 11814 failed = true 11815 } 11816 11817 if got := mul_int16_32766_ssa(1); got != 32766 { 11818 fmt.Printf("mul_int16 1%s32766 = %d, wanted 32766\n", `*`, got) 11819 failed = true 11820 } 11821 11822 if got := mul_32766_int16_ssa(32766); got != 4 { 11823 fmt.Printf("mul_int16 32766%s32766 = %d, wanted 4\n", `*`, got) 11824 failed = true 11825 } 11826 11827 if got := mul_int16_32766_ssa(32766); got != 4 { 11828 fmt.Printf("mul_int16 32766%s32766 = %d, wanted 4\n", `*`, got) 11829 failed = true 11830 } 11831 11832 if got := mul_32766_int16_ssa(32767); got != -32766 { 11833 fmt.Printf("mul_int16 32766%s32767 = %d, wanted -32766\n", `*`, got) 11834 failed = true 11835 } 11836 11837 if got := mul_int16_32766_ssa(32767); got != -32766 { 11838 fmt.Printf("mul_int16 32767%s32766 = %d, wanted -32766\n", `*`, got) 11839 failed = true 11840 } 11841 11842 if got := mul_32767_int16_ssa(-32768); got != -32768 { 11843 fmt.Printf("mul_int16 32767%s-32768 = %d, wanted -32768\n", `*`, got) 11844 failed = true 11845 } 11846 11847 if got := mul_int16_32767_ssa(-32768); got != -32768 { 11848 fmt.Printf("mul_int16 -32768%s32767 = %d, wanted -32768\n", `*`, got) 11849 failed = true 11850 } 11851 11852 if got := mul_32767_int16_ssa(-32767); got != -1 { 11853 fmt.Printf("mul_int16 32767%s-32767 = %d, wanted -1\n", `*`, got) 11854 failed = true 11855 } 11856 11857 if got := mul_int16_32767_ssa(-32767); got != -1 { 11858 fmt.Printf("mul_int16 -32767%s32767 = %d, wanted -1\n", `*`, got) 11859 failed = true 11860 } 11861 11862 if got := mul_32767_int16_ssa(-1); got != -32767 { 11863 fmt.Printf("mul_int16 32767%s-1 = %d, wanted -32767\n", `*`, got) 11864 failed = true 11865 } 11866 11867 if got := mul_int16_32767_ssa(-1); got != -32767 { 11868 fmt.Printf("mul_int16 -1%s32767 = %d, wanted -32767\n", `*`, got) 11869 failed = true 11870 } 11871 11872 if got := mul_32767_int16_ssa(0); got != 0 { 11873 fmt.Printf("mul_int16 32767%s0 = %d, wanted 0\n", `*`, got) 11874 failed = true 11875 } 11876 11877 if got := mul_int16_32767_ssa(0); got != 0 { 11878 fmt.Printf("mul_int16 0%s32767 = %d, wanted 0\n", `*`, got) 11879 failed = true 11880 } 11881 11882 if got := mul_32767_int16_ssa(1); got != 32767 { 11883 fmt.Printf("mul_int16 32767%s1 = %d, wanted 32767\n", `*`, got) 11884 failed = true 11885 } 11886 11887 if got := mul_int16_32767_ssa(1); got != 32767 { 11888 fmt.Printf("mul_int16 1%s32767 = %d, wanted 32767\n", `*`, got) 11889 failed = true 11890 } 11891 11892 if got := mul_32767_int16_ssa(32766); got != -32766 { 11893 fmt.Printf("mul_int16 32767%s32766 = %d, wanted -32766\n", `*`, got) 11894 failed = true 11895 } 11896 11897 if got := mul_int16_32767_ssa(32766); got != -32766 { 11898 fmt.Printf("mul_int16 32766%s32767 = %d, wanted -32766\n", `*`, got) 11899 failed = true 11900 } 11901 11902 if got := mul_32767_int16_ssa(32767); got != 1 { 11903 fmt.Printf("mul_int16 32767%s32767 = %d, wanted 1\n", `*`, got) 11904 failed = true 11905 } 11906 11907 if got := mul_int16_32767_ssa(32767); got != 1 { 11908 fmt.Printf("mul_int16 32767%s32767 = %d, wanted 1\n", `*`, got) 11909 failed = true 11910 } 11911 11912 if got := mod_Neg32768_int16_ssa(-32768); got != 0 { 11913 fmt.Printf("mod_int16 -32768%s-32768 = %d, wanted 0\n", `%`, got) 11914 failed = true 11915 } 11916 11917 if got := mod_int16_Neg32768_ssa(-32768); got != 0 { 11918 fmt.Printf("mod_int16 -32768%s-32768 = %d, wanted 0\n", `%`, got) 11919 failed = true 11920 } 11921 11922 if got := mod_Neg32768_int16_ssa(-32767); got != -1 { 11923 fmt.Printf("mod_int16 -32768%s-32767 = %d, wanted -1\n", `%`, got) 11924 failed = true 11925 } 11926 11927 if got := mod_int16_Neg32768_ssa(-32767); got != -32767 { 11928 fmt.Printf("mod_int16 -32767%s-32768 = %d, wanted -32767\n", `%`, got) 11929 failed = true 11930 } 11931 11932 if got := mod_Neg32768_int16_ssa(-1); got != 0 { 11933 fmt.Printf("mod_int16 -32768%s-1 = %d, wanted 0\n", `%`, got) 11934 failed = true 11935 } 11936 11937 if got := mod_int16_Neg32768_ssa(-1); got != -1 { 11938 fmt.Printf("mod_int16 -1%s-32768 = %d, wanted -1\n", `%`, got) 11939 failed = true 11940 } 11941 11942 if got := mod_int16_Neg32768_ssa(0); got != 0 { 11943 fmt.Printf("mod_int16 0%s-32768 = %d, wanted 0\n", `%`, got) 11944 failed = true 11945 } 11946 11947 if got := mod_Neg32768_int16_ssa(1); got != 0 { 11948 fmt.Printf("mod_int16 -32768%s1 = %d, wanted 0\n", `%`, got) 11949 failed = true 11950 } 11951 11952 if got := mod_int16_Neg32768_ssa(1); got != 1 { 11953 fmt.Printf("mod_int16 1%s-32768 = %d, wanted 1\n", `%`, got) 11954 failed = true 11955 } 11956 11957 if got := mod_Neg32768_int16_ssa(32766); got != -2 { 11958 fmt.Printf("mod_int16 -32768%s32766 = %d, wanted -2\n", `%`, got) 11959 failed = true 11960 } 11961 11962 if got := mod_int16_Neg32768_ssa(32766); got != 32766 { 11963 fmt.Printf("mod_int16 32766%s-32768 = %d, wanted 32766\n", `%`, got) 11964 failed = true 11965 } 11966 11967 if got := mod_Neg32768_int16_ssa(32767); got != -1 { 11968 fmt.Printf("mod_int16 -32768%s32767 = %d, wanted -1\n", `%`, got) 11969 failed = true 11970 } 11971 11972 if got := mod_int16_Neg32768_ssa(32767); got != 32767 { 11973 fmt.Printf("mod_int16 32767%s-32768 = %d, wanted 32767\n", `%`, got) 11974 failed = true 11975 } 11976 11977 if got := mod_Neg32767_int16_ssa(-32768); got != -32767 { 11978 fmt.Printf("mod_int16 -32767%s-32768 = %d, wanted -32767\n", `%`, got) 11979 failed = true 11980 } 11981 11982 if got := mod_int16_Neg32767_ssa(-32768); got != -1 { 11983 fmt.Printf("mod_int16 -32768%s-32767 = %d, wanted -1\n", `%`, got) 11984 failed = true 11985 } 11986 11987 if got := mod_Neg32767_int16_ssa(-32767); got != 0 { 11988 fmt.Printf("mod_int16 -32767%s-32767 = %d, wanted 0\n", `%`, got) 11989 failed = true 11990 } 11991 11992 if got := mod_int16_Neg32767_ssa(-32767); got != 0 { 11993 fmt.Printf("mod_int16 -32767%s-32767 = %d, wanted 0\n", `%`, got) 11994 failed = true 11995 } 11996 11997 if got := mod_Neg32767_int16_ssa(-1); got != 0 { 11998 fmt.Printf("mod_int16 -32767%s-1 = %d, wanted 0\n", `%`, got) 11999 failed = true 12000 } 12001 12002 if got := mod_int16_Neg32767_ssa(-1); got != -1 { 12003 fmt.Printf("mod_int16 -1%s-32767 = %d, wanted -1\n", `%`, got) 12004 failed = true 12005 } 12006 12007 if got := mod_int16_Neg32767_ssa(0); got != 0 { 12008 fmt.Printf("mod_int16 0%s-32767 = %d, wanted 0\n", `%`, got) 12009 failed = true 12010 } 12011 12012 if got := mod_Neg32767_int16_ssa(1); got != 0 { 12013 fmt.Printf("mod_int16 -32767%s1 = %d, wanted 0\n", `%`, got) 12014 failed = true 12015 } 12016 12017 if got := mod_int16_Neg32767_ssa(1); got != 1 { 12018 fmt.Printf("mod_int16 1%s-32767 = %d, wanted 1\n", `%`, got) 12019 failed = true 12020 } 12021 12022 if got := mod_Neg32767_int16_ssa(32766); got != -1 { 12023 fmt.Printf("mod_int16 -32767%s32766 = %d, wanted -1\n", `%`, got) 12024 failed = true 12025 } 12026 12027 if got := mod_int16_Neg32767_ssa(32766); got != 32766 { 12028 fmt.Printf("mod_int16 32766%s-32767 = %d, wanted 32766\n", `%`, got) 12029 failed = true 12030 } 12031 12032 if got := mod_Neg32767_int16_ssa(32767); got != 0 { 12033 fmt.Printf("mod_int16 -32767%s32767 = %d, wanted 0\n", `%`, got) 12034 failed = true 12035 } 12036 12037 if got := mod_int16_Neg32767_ssa(32767); got != 0 { 12038 fmt.Printf("mod_int16 32767%s-32767 = %d, wanted 0\n", `%`, got) 12039 failed = true 12040 } 12041 12042 if got := mod_Neg1_int16_ssa(-32768); got != -1 { 12043 fmt.Printf("mod_int16 -1%s-32768 = %d, wanted -1\n", `%`, got) 12044 failed = true 12045 } 12046 12047 if got := mod_int16_Neg1_ssa(-32768); got != 0 { 12048 fmt.Printf("mod_int16 -32768%s-1 = %d, wanted 0\n", `%`, got) 12049 failed = true 12050 } 12051 12052 if got := mod_Neg1_int16_ssa(-32767); got != -1 { 12053 fmt.Printf("mod_int16 -1%s-32767 = %d, wanted -1\n", `%`, got) 12054 failed = true 12055 } 12056 12057 if got := mod_int16_Neg1_ssa(-32767); got != 0 { 12058 fmt.Printf("mod_int16 -32767%s-1 = %d, wanted 0\n", `%`, got) 12059 failed = true 12060 } 12061 12062 if got := mod_Neg1_int16_ssa(-1); got != 0 { 12063 fmt.Printf("mod_int16 -1%s-1 = %d, wanted 0\n", `%`, got) 12064 failed = true 12065 } 12066 12067 if got := mod_int16_Neg1_ssa(-1); got != 0 { 12068 fmt.Printf("mod_int16 -1%s-1 = %d, wanted 0\n", `%`, got) 12069 failed = true 12070 } 12071 12072 if got := mod_int16_Neg1_ssa(0); got != 0 { 12073 fmt.Printf("mod_int16 0%s-1 = %d, wanted 0\n", `%`, got) 12074 failed = true 12075 } 12076 12077 if got := mod_Neg1_int16_ssa(1); got != 0 { 12078 fmt.Printf("mod_int16 -1%s1 = %d, wanted 0\n", `%`, got) 12079 failed = true 12080 } 12081 12082 if got := mod_int16_Neg1_ssa(1); got != 0 { 12083 fmt.Printf("mod_int16 1%s-1 = %d, wanted 0\n", `%`, got) 12084 failed = true 12085 } 12086 12087 if got := mod_Neg1_int16_ssa(32766); got != -1 { 12088 fmt.Printf("mod_int16 -1%s32766 = %d, wanted -1\n", `%`, got) 12089 failed = true 12090 } 12091 12092 if got := mod_int16_Neg1_ssa(32766); got != 0 { 12093 fmt.Printf("mod_int16 32766%s-1 = %d, wanted 0\n", `%`, got) 12094 failed = true 12095 } 12096 12097 if got := mod_Neg1_int16_ssa(32767); got != -1 { 12098 fmt.Printf("mod_int16 -1%s32767 = %d, wanted -1\n", `%`, got) 12099 failed = true 12100 } 12101 12102 if got := mod_int16_Neg1_ssa(32767); got != 0 { 12103 fmt.Printf("mod_int16 32767%s-1 = %d, wanted 0\n", `%`, got) 12104 failed = true 12105 } 12106 12107 if got := mod_0_int16_ssa(-32768); got != 0 { 12108 fmt.Printf("mod_int16 0%s-32768 = %d, wanted 0\n", `%`, got) 12109 failed = true 12110 } 12111 12112 if got := mod_0_int16_ssa(-32767); got != 0 { 12113 fmt.Printf("mod_int16 0%s-32767 = %d, wanted 0\n", `%`, got) 12114 failed = true 12115 } 12116 12117 if got := mod_0_int16_ssa(-1); got != 0 { 12118 fmt.Printf("mod_int16 0%s-1 = %d, wanted 0\n", `%`, got) 12119 failed = true 12120 } 12121 12122 if got := mod_0_int16_ssa(1); got != 0 { 12123 fmt.Printf("mod_int16 0%s1 = %d, wanted 0\n", `%`, got) 12124 failed = true 12125 } 12126 12127 if got := mod_0_int16_ssa(32766); got != 0 { 12128 fmt.Printf("mod_int16 0%s32766 = %d, wanted 0\n", `%`, got) 12129 failed = true 12130 } 12131 12132 if got := mod_0_int16_ssa(32767); got != 0 { 12133 fmt.Printf("mod_int16 0%s32767 = %d, wanted 0\n", `%`, got) 12134 failed = true 12135 } 12136 12137 if got := mod_1_int16_ssa(-32768); got != 1 { 12138 fmt.Printf("mod_int16 1%s-32768 = %d, wanted 1\n", `%`, got) 12139 failed = true 12140 } 12141 12142 if got := mod_int16_1_ssa(-32768); got != 0 { 12143 fmt.Printf("mod_int16 -32768%s1 = %d, wanted 0\n", `%`, got) 12144 failed = true 12145 } 12146 12147 if got := mod_1_int16_ssa(-32767); got != 1 { 12148 fmt.Printf("mod_int16 1%s-32767 = %d, wanted 1\n", `%`, got) 12149 failed = true 12150 } 12151 12152 if got := mod_int16_1_ssa(-32767); got != 0 { 12153 fmt.Printf("mod_int16 -32767%s1 = %d, wanted 0\n", `%`, got) 12154 failed = true 12155 } 12156 12157 if got := mod_1_int16_ssa(-1); got != 0 { 12158 fmt.Printf("mod_int16 1%s-1 = %d, wanted 0\n", `%`, got) 12159 failed = true 12160 } 12161 12162 if got := mod_int16_1_ssa(-1); got != 0 { 12163 fmt.Printf("mod_int16 -1%s1 = %d, wanted 0\n", `%`, got) 12164 failed = true 12165 } 12166 12167 if got := mod_int16_1_ssa(0); got != 0 { 12168 fmt.Printf("mod_int16 0%s1 = %d, wanted 0\n", `%`, got) 12169 failed = true 12170 } 12171 12172 if got := mod_1_int16_ssa(1); got != 0 { 12173 fmt.Printf("mod_int16 1%s1 = %d, wanted 0\n", `%`, got) 12174 failed = true 12175 } 12176 12177 if got := mod_int16_1_ssa(1); got != 0 { 12178 fmt.Printf("mod_int16 1%s1 = %d, wanted 0\n", `%`, got) 12179 failed = true 12180 } 12181 12182 if got := mod_1_int16_ssa(32766); got != 1 { 12183 fmt.Printf("mod_int16 1%s32766 = %d, wanted 1\n", `%`, got) 12184 failed = true 12185 } 12186 12187 if got := mod_int16_1_ssa(32766); got != 0 { 12188 fmt.Printf("mod_int16 32766%s1 = %d, wanted 0\n", `%`, got) 12189 failed = true 12190 } 12191 12192 if got := mod_1_int16_ssa(32767); got != 1 { 12193 fmt.Printf("mod_int16 1%s32767 = %d, wanted 1\n", `%`, got) 12194 failed = true 12195 } 12196 12197 if got := mod_int16_1_ssa(32767); got != 0 { 12198 fmt.Printf("mod_int16 32767%s1 = %d, wanted 0\n", `%`, got) 12199 failed = true 12200 } 12201 12202 if got := mod_32766_int16_ssa(-32768); got != 32766 { 12203 fmt.Printf("mod_int16 32766%s-32768 = %d, wanted 32766\n", `%`, got) 12204 failed = true 12205 } 12206 12207 if got := mod_int16_32766_ssa(-32768); got != -2 { 12208 fmt.Printf("mod_int16 -32768%s32766 = %d, wanted -2\n", `%`, got) 12209 failed = true 12210 } 12211 12212 if got := mod_32766_int16_ssa(-32767); got != 32766 { 12213 fmt.Printf("mod_int16 32766%s-32767 = %d, wanted 32766\n", `%`, got) 12214 failed = true 12215 } 12216 12217 if got := mod_int16_32766_ssa(-32767); got != -1 { 12218 fmt.Printf("mod_int16 -32767%s32766 = %d, wanted -1\n", `%`, got) 12219 failed = true 12220 } 12221 12222 if got := mod_32766_int16_ssa(-1); got != 0 { 12223 fmt.Printf("mod_int16 32766%s-1 = %d, wanted 0\n", `%`, got) 12224 failed = true 12225 } 12226 12227 if got := mod_int16_32766_ssa(-1); got != -1 { 12228 fmt.Printf("mod_int16 -1%s32766 = %d, wanted -1\n", `%`, got) 12229 failed = true 12230 } 12231 12232 if got := mod_int16_32766_ssa(0); got != 0 { 12233 fmt.Printf("mod_int16 0%s32766 = %d, wanted 0\n", `%`, got) 12234 failed = true 12235 } 12236 12237 if got := mod_32766_int16_ssa(1); got != 0 { 12238 fmt.Printf("mod_int16 32766%s1 = %d, wanted 0\n", `%`, got) 12239 failed = true 12240 } 12241 12242 if got := mod_int16_32766_ssa(1); got != 1 { 12243 fmt.Printf("mod_int16 1%s32766 = %d, wanted 1\n", `%`, got) 12244 failed = true 12245 } 12246 12247 if got := mod_32766_int16_ssa(32766); got != 0 { 12248 fmt.Printf("mod_int16 32766%s32766 = %d, wanted 0\n", `%`, got) 12249 failed = true 12250 } 12251 12252 if got := mod_int16_32766_ssa(32766); got != 0 { 12253 fmt.Printf("mod_int16 32766%s32766 = %d, wanted 0\n", `%`, got) 12254 failed = true 12255 } 12256 12257 if got := mod_32766_int16_ssa(32767); got != 32766 { 12258 fmt.Printf("mod_int16 32766%s32767 = %d, wanted 32766\n", `%`, got) 12259 failed = true 12260 } 12261 12262 if got := mod_int16_32766_ssa(32767); got != 1 { 12263 fmt.Printf("mod_int16 32767%s32766 = %d, wanted 1\n", `%`, got) 12264 failed = true 12265 } 12266 12267 if got := mod_32767_int16_ssa(-32768); got != 32767 { 12268 fmt.Printf("mod_int16 32767%s-32768 = %d, wanted 32767\n", `%`, got) 12269 failed = true 12270 } 12271 12272 if got := mod_int16_32767_ssa(-32768); got != -1 { 12273 fmt.Printf("mod_int16 -32768%s32767 = %d, wanted -1\n", `%`, got) 12274 failed = true 12275 } 12276 12277 if got := mod_32767_int16_ssa(-32767); got != 0 { 12278 fmt.Printf("mod_int16 32767%s-32767 = %d, wanted 0\n", `%`, got) 12279 failed = true 12280 } 12281 12282 if got := mod_int16_32767_ssa(-32767); got != 0 { 12283 fmt.Printf("mod_int16 -32767%s32767 = %d, wanted 0\n", `%`, got) 12284 failed = true 12285 } 12286 12287 if got := mod_32767_int16_ssa(-1); got != 0 { 12288 fmt.Printf("mod_int16 32767%s-1 = %d, wanted 0\n", `%`, got) 12289 failed = true 12290 } 12291 12292 if got := mod_int16_32767_ssa(-1); got != -1 { 12293 fmt.Printf("mod_int16 -1%s32767 = %d, wanted -1\n", `%`, got) 12294 failed = true 12295 } 12296 12297 if got := mod_int16_32767_ssa(0); got != 0 { 12298 fmt.Printf("mod_int16 0%s32767 = %d, wanted 0\n", `%`, got) 12299 failed = true 12300 } 12301 12302 if got := mod_32767_int16_ssa(1); got != 0 { 12303 fmt.Printf("mod_int16 32767%s1 = %d, wanted 0\n", `%`, got) 12304 failed = true 12305 } 12306 12307 if got := mod_int16_32767_ssa(1); got != 1 { 12308 fmt.Printf("mod_int16 1%s32767 = %d, wanted 1\n", `%`, got) 12309 failed = true 12310 } 12311 12312 if got := mod_32767_int16_ssa(32766); got != 1 { 12313 fmt.Printf("mod_int16 32767%s32766 = %d, wanted 1\n", `%`, got) 12314 failed = true 12315 } 12316 12317 if got := mod_int16_32767_ssa(32766); got != 32766 { 12318 fmt.Printf("mod_int16 32766%s32767 = %d, wanted 32766\n", `%`, got) 12319 failed = true 12320 } 12321 12322 if got := mod_32767_int16_ssa(32767); got != 0 { 12323 fmt.Printf("mod_int16 32767%s32767 = %d, wanted 0\n", `%`, got) 12324 failed = true 12325 } 12326 12327 if got := mod_int16_32767_ssa(32767); got != 0 { 12328 fmt.Printf("mod_int16 32767%s32767 = %d, wanted 0\n", `%`, got) 12329 failed = true 12330 } 12331 12332 if got := add_0_uint8_ssa(0); got != 0 { 12333 fmt.Printf("add_uint8 0%s0 = %d, wanted 0\n", `+`, got) 12334 failed = true 12335 } 12336 12337 if got := add_uint8_0_ssa(0); got != 0 { 12338 fmt.Printf("add_uint8 0%s0 = %d, wanted 0\n", `+`, got) 12339 failed = true 12340 } 12341 12342 if got := add_0_uint8_ssa(1); got != 1 { 12343 fmt.Printf("add_uint8 0%s1 = %d, wanted 1\n", `+`, got) 12344 failed = true 12345 } 12346 12347 if got := add_uint8_0_ssa(1); got != 1 { 12348 fmt.Printf("add_uint8 1%s0 = %d, wanted 1\n", `+`, got) 12349 failed = true 12350 } 12351 12352 if got := add_0_uint8_ssa(255); got != 255 { 12353 fmt.Printf("add_uint8 0%s255 = %d, wanted 255\n", `+`, got) 12354 failed = true 12355 } 12356 12357 if got := add_uint8_0_ssa(255); got != 255 { 12358 fmt.Printf("add_uint8 255%s0 = %d, wanted 255\n", `+`, got) 12359 failed = true 12360 } 12361 12362 if got := add_1_uint8_ssa(0); got != 1 { 12363 fmt.Printf("add_uint8 1%s0 = %d, wanted 1\n", `+`, got) 12364 failed = true 12365 } 12366 12367 if got := add_uint8_1_ssa(0); got != 1 { 12368 fmt.Printf("add_uint8 0%s1 = %d, wanted 1\n", `+`, got) 12369 failed = true 12370 } 12371 12372 if got := add_1_uint8_ssa(1); got != 2 { 12373 fmt.Printf("add_uint8 1%s1 = %d, wanted 2\n", `+`, got) 12374 failed = true 12375 } 12376 12377 if got := add_uint8_1_ssa(1); got != 2 { 12378 fmt.Printf("add_uint8 1%s1 = %d, wanted 2\n", `+`, got) 12379 failed = true 12380 } 12381 12382 if got := add_1_uint8_ssa(255); got != 0 { 12383 fmt.Printf("add_uint8 1%s255 = %d, wanted 0\n", `+`, got) 12384 failed = true 12385 } 12386 12387 if got := add_uint8_1_ssa(255); got != 0 { 12388 fmt.Printf("add_uint8 255%s1 = %d, wanted 0\n", `+`, got) 12389 failed = true 12390 } 12391 12392 if got := add_255_uint8_ssa(0); got != 255 { 12393 fmt.Printf("add_uint8 255%s0 = %d, wanted 255\n", `+`, got) 12394 failed = true 12395 } 12396 12397 if got := add_uint8_255_ssa(0); got != 255 { 12398 fmt.Printf("add_uint8 0%s255 = %d, wanted 255\n", `+`, got) 12399 failed = true 12400 } 12401 12402 if got := add_255_uint8_ssa(1); got != 0 { 12403 fmt.Printf("add_uint8 255%s1 = %d, wanted 0\n", `+`, got) 12404 failed = true 12405 } 12406 12407 if got := add_uint8_255_ssa(1); got != 0 { 12408 fmt.Printf("add_uint8 1%s255 = %d, wanted 0\n", `+`, got) 12409 failed = true 12410 } 12411 12412 if got := add_255_uint8_ssa(255); got != 254 { 12413 fmt.Printf("add_uint8 255%s255 = %d, wanted 254\n", `+`, got) 12414 failed = true 12415 } 12416 12417 if got := add_uint8_255_ssa(255); got != 254 { 12418 fmt.Printf("add_uint8 255%s255 = %d, wanted 254\n", `+`, got) 12419 failed = true 12420 } 12421 12422 if got := sub_0_uint8_ssa(0); got != 0 { 12423 fmt.Printf("sub_uint8 0%s0 = %d, wanted 0\n", `-`, got) 12424 failed = true 12425 } 12426 12427 if got := sub_uint8_0_ssa(0); got != 0 { 12428 fmt.Printf("sub_uint8 0%s0 = %d, wanted 0\n", `-`, got) 12429 failed = true 12430 } 12431 12432 if got := sub_0_uint8_ssa(1); got != 255 { 12433 fmt.Printf("sub_uint8 0%s1 = %d, wanted 255\n", `-`, got) 12434 failed = true 12435 } 12436 12437 if got := sub_uint8_0_ssa(1); got != 1 { 12438 fmt.Printf("sub_uint8 1%s0 = %d, wanted 1\n", `-`, got) 12439 failed = true 12440 } 12441 12442 if got := sub_0_uint8_ssa(255); got != 1 { 12443 fmt.Printf("sub_uint8 0%s255 = %d, wanted 1\n", `-`, got) 12444 failed = true 12445 } 12446 12447 if got := sub_uint8_0_ssa(255); got != 255 { 12448 fmt.Printf("sub_uint8 255%s0 = %d, wanted 255\n", `-`, got) 12449 failed = true 12450 } 12451 12452 if got := sub_1_uint8_ssa(0); got != 1 { 12453 fmt.Printf("sub_uint8 1%s0 = %d, wanted 1\n", `-`, got) 12454 failed = true 12455 } 12456 12457 if got := sub_uint8_1_ssa(0); got != 255 { 12458 fmt.Printf("sub_uint8 0%s1 = %d, wanted 255\n", `-`, got) 12459 failed = true 12460 } 12461 12462 if got := sub_1_uint8_ssa(1); got != 0 { 12463 fmt.Printf("sub_uint8 1%s1 = %d, wanted 0\n", `-`, got) 12464 failed = true 12465 } 12466 12467 if got := sub_uint8_1_ssa(1); got != 0 { 12468 fmt.Printf("sub_uint8 1%s1 = %d, wanted 0\n", `-`, got) 12469 failed = true 12470 } 12471 12472 if got := sub_1_uint8_ssa(255); got != 2 { 12473 fmt.Printf("sub_uint8 1%s255 = %d, wanted 2\n", `-`, got) 12474 failed = true 12475 } 12476 12477 if got := sub_uint8_1_ssa(255); got != 254 { 12478 fmt.Printf("sub_uint8 255%s1 = %d, wanted 254\n", `-`, got) 12479 failed = true 12480 } 12481 12482 if got := sub_255_uint8_ssa(0); got != 255 { 12483 fmt.Printf("sub_uint8 255%s0 = %d, wanted 255\n", `-`, got) 12484 failed = true 12485 } 12486 12487 if got := sub_uint8_255_ssa(0); got != 1 { 12488 fmt.Printf("sub_uint8 0%s255 = %d, wanted 1\n", `-`, got) 12489 failed = true 12490 } 12491 12492 if got := sub_255_uint8_ssa(1); got != 254 { 12493 fmt.Printf("sub_uint8 255%s1 = %d, wanted 254\n", `-`, got) 12494 failed = true 12495 } 12496 12497 if got := sub_uint8_255_ssa(1); got != 2 { 12498 fmt.Printf("sub_uint8 1%s255 = %d, wanted 2\n", `-`, got) 12499 failed = true 12500 } 12501 12502 if got := sub_255_uint8_ssa(255); got != 0 { 12503 fmt.Printf("sub_uint8 255%s255 = %d, wanted 0\n", `-`, got) 12504 failed = true 12505 } 12506 12507 if got := sub_uint8_255_ssa(255); got != 0 { 12508 fmt.Printf("sub_uint8 255%s255 = %d, wanted 0\n", `-`, got) 12509 failed = true 12510 } 12511 12512 if got := div_0_uint8_ssa(1); got != 0 { 12513 fmt.Printf("div_uint8 0%s1 = %d, wanted 0\n", `/`, got) 12514 failed = true 12515 } 12516 12517 if got := div_0_uint8_ssa(255); got != 0 { 12518 fmt.Printf("div_uint8 0%s255 = %d, wanted 0\n", `/`, got) 12519 failed = true 12520 } 12521 12522 if got := div_uint8_1_ssa(0); got != 0 { 12523 fmt.Printf("div_uint8 0%s1 = %d, wanted 0\n", `/`, got) 12524 failed = true 12525 } 12526 12527 if got := div_1_uint8_ssa(1); got != 1 { 12528 fmt.Printf("div_uint8 1%s1 = %d, wanted 1\n", `/`, got) 12529 failed = true 12530 } 12531 12532 if got := div_uint8_1_ssa(1); got != 1 { 12533 fmt.Printf("div_uint8 1%s1 = %d, wanted 1\n", `/`, got) 12534 failed = true 12535 } 12536 12537 if got := div_1_uint8_ssa(255); got != 0 { 12538 fmt.Printf("div_uint8 1%s255 = %d, wanted 0\n", `/`, got) 12539 failed = true 12540 } 12541 12542 if got := div_uint8_1_ssa(255); got != 255 { 12543 fmt.Printf("div_uint8 255%s1 = %d, wanted 255\n", `/`, got) 12544 failed = true 12545 } 12546 12547 if got := div_uint8_255_ssa(0); got != 0 { 12548 fmt.Printf("div_uint8 0%s255 = %d, wanted 0\n", `/`, got) 12549 failed = true 12550 } 12551 12552 if got := div_255_uint8_ssa(1); got != 255 { 12553 fmt.Printf("div_uint8 255%s1 = %d, wanted 255\n", `/`, got) 12554 failed = true 12555 } 12556 12557 if got := div_uint8_255_ssa(1); got != 0 { 12558 fmt.Printf("div_uint8 1%s255 = %d, wanted 0\n", `/`, got) 12559 failed = true 12560 } 12561 12562 if got := div_255_uint8_ssa(255); got != 1 { 12563 fmt.Printf("div_uint8 255%s255 = %d, wanted 1\n", `/`, got) 12564 failed = true 12565 } 12566 12567 if got := div_uint8_255_ssa(255); got != 1 { 12568 fmt.Printf("div_uint8 255%s255 = %d, wanted 1\n", `/`, got) 12569 failed = true 12570 } 12571 12572 if got := mul_0_uint8_ssa(0); got != 0 { 12573 fmt.Printf("mul_uint8 0%s0 = %d, wanted 0\n", `*`, got) 12574 failed = true 12575 } 12576 12577 if got := mul_uint8_0_ssa(0); got != 0 { 12578 fmt.Printf("mul_uint8 0%s0 = %d, wanted 0\n", `*`, got) 12579 failed = true 12580 } 12581 12582 if got := mul_0_uint8_ssa(1); got != 0 { 12583 fmt.Printf("mul_uint8 0%s1 = %d, wanted 0\n", `*`, got) 12584 failed = true 12585 } 12586 12587 if got := mul_uint8_0_ssa(1); got != 0 { 12588 fmt.Printf("mul_uint8 1%s0 = %d, wanted 0\n", `*`, got) 12589 failed = true 12590 } 12591 12592 if got := mul_0_uint8_ssa(255); got != 0 { 12593 fmt.Printf("mul_uint8 0%s255 = %d, wanted 0\n", `*`, got) 12594 failed = true 12595 } 12596 12597 if got := mul_uint8_0_ssa(255); got != 0 { 12598 fmt.Printf("mul_uint8 255%s0 = %d, wanted 0\n", `*`, got) 12599 failed = true 12600 } 12601 12602 if got := mul_1_uint8_ssa(0); got != 0 { 12603 fmt.Printf("mul_uint8 1%s0 = %d, wanted 0\n", `*`, got) 12604 failed = true 12605 } 12606 12607 if got := mul_uint8_1_ssa(0); got != 0 { 12608 fmt.Printf("mul_uint8 0%s1 = %d, wanted 0\n", `*`, got) 12609 failed = true 12610 } 12611 12612 if got := mul_1_uint8_ssa(1); got != 1 { 12613 fmt.Printf("mul_uint8 1%s1 = %d, wanted 1\n", `*`, got) 12614 failed = true 12615 } 12616 12617 if got := mul_uint8_1_ssa(1); got != 1 { 12618 fmt.Printf("mul_uint8 1%s1 = %d, wanted 1\n", `*`, got) 12619 failed = true 12620 } 12621 12622 if got := mul_1_uint8_ssa(255); got != 255 { 12623 fmt.Printf("mul_uint8 1%s255 = %d, wanted 255\n", `*`, got) 12624 failed = true 12625 } 12626 12627 if got := mul_uint8_1_ssa(255); got != 255 { 12628 fmt.Printf("mul_uint8 255%s1 = %d, wanted 255\n", `*`, got) 12629 failed = true 12630 } 12631 12632 if got := mul_255_uint8_ssa(0); got != 0 { 12633 fmt.Printf("mul_uint8 255%s0 = %d, wanted 0\n", `*`, got) 12634 failed = true 12635 } 12636 12637 if got := mul_uint8_255_ssa(0); got != 0 { 12638 fmt.Printf("mul_uint8 0%s255 = %d, wanted 0\n", `*`, got) 12639 failed = true 12640 } 12641 12642 if got := mul_255_uint8_ssa(1); got != 255 { 12643 fmt.Printf("mul_uint8 255%s1 = %d, wanted 255\n", `*`, got) 12644 failed = true 12645 } 12646 12647 if got := mul_uint8_255_ssa(1); got != 255 { 12648 fmt.Printf("mul_uint8 1%s255 = %d, wanted 255\n", `*`, got) 12649 failed = true 12650 } 12651 12652 if got := mul_255_uint8_ssa(255); got != 1 { 12653 fmt.Printf("mul_uint8 255%s255 = %d, wanted 1\n", `*`, got) 12654 failed = true 12655 } 12656 12657 if got := mul_uint8_255_ssa(255); got != 1 { 12658 fmt.Printf("mul_uint8 255%s255 = %d, wanted 1\n", `*`, got) 12659 failed = true 12660 } 12661 12662 if got := lsh_0_uint8_ssa(0); got != 0 { 12663 fmt.Printf("lsh_uint8 0%s0 = %d, wanted 0\n", `<<`, got) 12664 failed = true 12665 } 12666 12667 if got := lsh_uint8_0_ssa(0); got != 0 { 12668 fmt.Printf("lsh_uint8 0%s0 = %d, wanted 0\n", `<<`, got) 12669 failed = true 12670 } 12671 12672 if got := lsh_0_uint8_ssa(1); got != 0 { 12673 fmt.Printf("lsh_uint8 0%s1 = %d, wanted 0\n", `<<`, got) 12674 failed = true 12675 } 12676 12677 if got := lsh_uint8_0_ssa(1); got != 1 { 12678 fmt.Printf("lsh_uint8 1%s0 = %d, wanted 1\n", `<<`, got) 12679 failed = true 12680 } 12681 12682 if got := lsh_0_uint8_ssa(255); got != 0 { 12683 fmt.Printf("lsh_uint8 0%s255 = %d, wanted 0\n", `<<`, got) 12684 failed = true 12685 } 12686 12687 if got := lsh_uint8_0_ssa(255); got != 255 { 12688 fmt.Printf("lsh_uint8 255%s0 = %d, wanted 255\n", `<<`, got) 12689 failed = true 12690 } 12691 12692 if got := lsh_1_uint8_ssa(0); got != 1 { 12693 fmt.Printf("lsh_uint8 1%s0 = %d, wanted 1\n", `<<`, got) 12694 failed = true 12695 } 12696 12697 if got := lsh_uint8_1_ssa(0); got != 0 { 12698 fmt.Printf("lsh_uint8 0%s1 = %d, wanted 0\n", `<<`, got) 12699 failed = true 12700 } 12701 12702 if got := lsh_1_uint8_ssa(1); got != 2 { 12703 fmt.Printf("lsh_uint8 1%s1 = %d, wanted 2\n", `<<`, got) 12704 failed = true 12705 } 12706 12707 if got := lsh_uint8_1_ssa(1); got != 2 { 12708 fmt.Printf("lsh_uint8 1%s1 = %d, wanted 2\n", `<<`, got) 12709 failed = true 12710 } 12711 12712 if got := lsh_1_uint8_ssa(255); got != 0 { 12713 fmt.Printf("lsh_uint8 1%s255 = %d, wanted 0\n", `<<`, got) 12714 failed = true 12715 } 12716 12717 if got := lsh_uint8_1_ssa(255); got != 254 { 12718 fmt.Printf("lsh_uint8 255%s1 = %d, wanted 254\n", `<<`, got) 12719 failed = true 12720 } 12721 12722 if got := lsh_255_uint8_ssa(0); got != 255 { 12723 fmt.Printf("lsh_uint8 255%s0 = %d, wanted 255\n", `<<`, got) 12724 failed = true 12725 } 12726 12727 if got := lsh_uint8_255_ssa(0); got != 0 { 12728 fmt.Printf("lsh_uint8 0%s255 = %d, wanted 0\n", `<<`, got) 12729 failed = true 12730 } 12731 12732 if got := lsh_255_uint8_ssa(1); got != 254 { 12733 fmt.Printf("lsh_uint8 255%s1 = %d, wanted 254\n", `<<`, got) 12734 failed = true 12735 } 12736 12737 if got := lsh_uint8_255_ssa(1); got != 0 { 12738 fmt.Printf("lsh_uint8 1%s255 = %d, wanted 0\n", `<<`, got) 12739 failed = true 12740 } 12741 12742 if got := lsh_255_uint8_ssa(255); got != 0 { 12743 fmt.Printf("lsh_uint8 255%s255 = %d, wanted 0\n", `<<`, got) 12744 failed = true 12745 } 12746 12747 if got := lsh_uint8_255_ssa(255); got != 0 { 12748 fmt.Printf("lsh_uint8 255%s255 = %d, wanted 0\n", `<<`, got) 12749 failed = true 12750 } 12751 12752 if got := rsh_0_uint8_ssa(0); got != 0 { 12753 fmt.Printf("rsh_uint8 0%s0 = %d, wanted 0\n", `>>`, got) 12754 failed = true 12755 } 12756 12757 if got := rsh_uint8_0_ssa(0); got != 0 { 12758 fmt.Printf("rsh_uint8 0%s0 = %d, wanted 0\n", `>>`, got) 12759 failed = true 12760 } 12761 12762 if got := rsh_0_uint8_ssa(1); got != 0 { 12763 fmt.Printf("rsh_uint8 0%s1 = %d, wanted 0\n", `>>`, got) 12764 failed = true 12765 } 12766 12767 if got := rsh_uint8_0_ssa(1); got != 1 { 12768 fmt.Printf("rsh_uint8 1%s0 = %d, wanted 1\n", `>>`, got) 12769 failed = true 12770 } 12771 12772 if got := rsh_0_uint8_ssa(255); got != 0 { 12773 fmt.Printf("rsh_uint8 0%s255 = %d, wanted 0\n", `>>`, got) 12774 failed = true 12775 } 12776 12777 if got := rsh_uint8_0_ssa(255); got != 255 { 12778 fmt.Printf("rsh_uint8 255%s0 = %d, wanted 255\n", `>>`, got) 12779 failed = true 12780 } 12781 12782 if got := rsh_1_uint8_ssa(0); got != 1 { 12783 fmt.Printf("rsh_uint8 1%s0 = %d, wanted 1\n", `>>`, got) 12784 failed = true 12785 } 12786 12787 if got := rsh_uint8_1_ssa(0); got != 0 { 12788 fmt.Printf("rsh_uint8 0%s1 = %d, wanted 0\n", `>>`, got) 12789 failed = true 12790 } 12791 12792 if got := rsh_1_uint8_ssa(1); got != 0 { 12793 fmt.Printf("rsh_uint8 1%s1 = %d, wanted 0\n", `>>`, got) 12794 failed = true 12795 } 12796 12797 if got := rsh_uint8_1_ssa(1); got != 0 { 12798 fmt.Printf("rsh_uint8 1%s1 = %d, wanted 0\n", `>>`, got) 12799 failed = true 12800 } 12801 12802 if got := rsh_1_uint8_ssa(255); got != 0 { 12803 fmt.Printf("rsh_uint8 1%s255 = %d, wanted 0\n", `>>`, got) 12804 failed = true 12805 } 12806 12807 if got := rsh_uint8_1_ssa(255); got != 127 { 12808 fmt.Printf("rsh_uint8 255%s1 = %d, wanted 127\n", `>>`, got) 12809 failed = true 12810 } 12811 12812 if got := rsh_255_uint8_ssa(0); got != 255 { 12813 fmt.Printf("rsh_uint8 255%s0 = %d, wanted 255\n", `>>`, got) 12814 failed = true 12815 } 12816 12817 if got := rsh_uint8_255_ssa(0); got != 0 { 12818 fmt.Printf("rsh_uint8 0%s255 = %d, wanted 0\n", `>>`, got) 12819 failed = true 12820 } 12821 12822 if got := rsh_255_uint8_ssa(1); got != 127 { 12823 fmt.Printf("rsh_uint8 255%s1 = %d, wanted 127\n", `>>`, got) 12824 failed = true 12825 } 12826 12827 if got := rsh_uint8_255_ssa(1); got != 0 { 12828 fmt.Printf("rsh_uint8 1%s255 = %d, wanted 0\n", `>>`, got) 12829 failed = true 12830 } 12831 12832 if got := rsh_255_uint8_ssa(255); got != 0 { 12833 fmt.Printf("rsh_uint8 255%s255 = %d, wanted 0\n", `>>`, got) 12834 failed = true 12835 } 12836 12837 if got := rsh_uint8_255_ssa(255); got != 0 { 12838 fmt.Printf("rsh_uint8 255%s255 = %d, wanted 0\n", `>>`, got) 12839 failed = true 12840 } 12841 12842 if got := mod_0_uint8_ssa(1); got != 0 { 12843 fmt.Printf("mod_uint8 0%s1 = %d, wanted 0\n", `%`, got) 12844 failed = true 12845 } 12846 12847 if got := mod_0_uint8_ssa(255); got != 0 { 12848 fmt.Printf("mod_uint8 0%s255 = %d, wanted 0\n", `%`, got) 12849 failed = true 12850 } 12851 12852 if got := mod_uint8_1_ssa(0); got != 0 { 12853 fmt.Printf("mod_uint8 0%s1 = %d, wanted 0\n", `%`, got) 12854 failed = true 12855 } 12856 12857 if got := mod_1_uint8_ssa(1); got != 0 { 12858 fmt.Printf("mod_uint8 1%s1 = %d, wanted 0\n", `%`, got) 12859 failed = true 12860 } 12861 12862 if got := mod_uint8_1_ssa(1); got != 0 { 12863 fmt.Printf("mod_uint8 1%s1 = %d, wanted 0\n", `%`, got) 12864 failed = true 12865 } 12866 12867 if got := mod_1_uint8_ssa(255); got != 1 { 12868 fmt.Printf("mod_uint8 1%s255 = %d, wanted 1\n", `%`, got) 12869 failed = true 12870 } 12871 12872 if got := mod_uint8_1_ssa(255); got != 0 { 12873 fmt.Printf("mod_uint8 255%s1 = %d, wanted 0\n", `%`, got) 12874 failed = true 12875 } 12876 12877 if got := mod_uint8_255_ssa(0); got != 0 { 12878 fmt.Printf("mod_uint8 0%s255 = %d, wanted 0\n", `%`, got) 12879 failed = true 12880 } 12881 12882 if got := mod_255_uint8_ssa(1); got != 0 { 12883 fmt.Printf("mod_uint8 255%s1 = %d, wanted 0\n", `%`, got) 12884 failed = true 12885 } 12886 12887 if got := mod_uint8_255_ssa(1); got != 1 { 12888 fmt.Printf("mod_uint8 1%s255 = %d, wanted 1\n", `%`, got) 12889 failed = true 12890 } 12891 12892 if got := mod_255_uint8_ssa(255); got != 0 { 12893 fmt.Printf("mod_uint8 255%s255 = %d, wanted 0\n", `%`, got) 12894 failed = true 12895 } 12896 12897 if got := mod_uint8_255_ssa(255); got != 0 { 12898 fmt.Printf("mod_uint8 255%s255 = %d, wanted 0\n", `%`, got) 12899 failed = true 12900 } 12901 12902 if got := add_Neg128_int8_ssa(-128); got != 0 { 12903 fmt.Printf("add_int8 -128%s-128 = %d, wanted 0\n", `+`, got) 12904 failed = true 12905 } 12906 12907 if got := add_int8_Neg128_ssa(-128); got != 0 { 12908 fmt.Printf("add_int8 -128%s-128 = %d, wanted 0\n", `+`, got) 12909 failed = true 12910 } 12911 12912 if got := add_Neg128_int8_ssa(-127); got != 1 { 12913 fmt.Printf("add_int8 -128%s-127 = %d, wanted 1\n", `+`, got) 12914 failed = true 12915 } 12916 12917 if got := add_int8_Neg128_ssa(-127); got != 1 { 12918 fmt.Printf("add_int8 -127%s-128 = %d, wanted 1\n", `+`, got) 12919 failed = true 12920 } 12921 12922 if got := add_Neg128_int8_ssa(-1); got != 127 { 12923 fmt.Printf("add_int8 -128%s-1 = %d, wanted 127\n", `+`, got) 12924 failed = true 12925 } 12926 12927 if got := add_int8_Neg128_ssa(-1); got != 127 { 12928 fmt.Printf("add_int8 -1%s-128 = %d, wanted 127\n", `+`, got) 12929 failed = true 12930 } 12931 12932 if got := add_Neg128_int8_ssa(0); got != -128 { 12933 fmt.Printf("add_int8 -128%s0 = %d, wanted -128\n", `+`, got) 12934 failed = true 12935 } 12936 12937 if got := add_int8_Neg128_ssa(0); got != -128 { 12938 fmt.Printf("add_int8 0%s-128 = %d, wanted -128\n", `+`, got) 12939 failed = true 12940 } 12941 12942 if got := add_Neg128_int8_ssa(1); got != -127 { 12943 fmt.Printf("add_int8 -128%s1 = %d, wanted -127\n", `+`, got) 12944 failed = true 12945 } 12946 12947 if got := add_int8_Neg128_ssa(1); got != -127 { 12948 fmt.Printf("add_int8 1%s-128 = %d, wanted -127\n", `+`, got) 12949 failed = true 12950 } 12951 12952 if got := add_Neg128_int8_ssa(126); got != -2 { 12953 fmt.Printf("add_int8 -128%s126 = %d, wanted -2\n", `+`, got) 12954 failed = true 12955 } 12956 12957 if got := add_int8_Neg128_ssa(126); got != -2 { 12958 fmt.Printf("add_int8 126%s-128 = %d, wanted -2\n", `+`, got) 12959 failed = true 12960 } 12961 12962 if got := add_Neg128_int8_ssa(127); got != -1 { 12963 fmt.Printf("add_int8 -128%s127 = %d, wanted -1\n", `+`, got) 12964 failed = true 12965 } 12966 12967 if got := add_int8_Neg128_ssa(127); got != -1 { 12968 fmt.Printf("add_int8 127%s-128 = %d, wanted -1\n", `+`, got) 12969 failed = true 12970 } 12971 12972 if got := add_Neg127_int8_ssa(-128); got != 1 { 12973 fmt.Printf("add_int8 -127%s-128 = %d, wanted 1\n", `+`, got) 12974 failed = true 12975 } 12976 12977 if got := add_int8_Neg127_ssa(-128); got != 1 { 12978 fmt.Printf("add_int8 -128%s-127 = %d, wanted 1\n", `+`, got) 12979 failed = true 12980 } 12981 12982 if got := add_Neg127_int8_ssa(-127); got != 2 { 12983 fmt.Printf("add_int8 -127%s-127 = %d, wanted 2\n", `+`, got) 12984 failed = true 12985 } 12986 12987 if got := add_int8_Neg127_ssa(-127); got != 2 { 12988 fmt.Printf("add_int8 -127%s-127 = %d, wanted 2\n", `+`, got) 12989 failed = true 12990 } 12991 12992 if got := add_Neg127_int8_ssa(-1); got != -128 { 12993 fmt.Printf("add_int8 -127%s-1 = %d, wanted -128\n", `+`, got) 12994 failed = true 12995 } 12996 12997 if got := add_int8_Neg127_ssa(-1); got != -128 { 12998 fmt.Printf("add_int8 -1%s-127 = %d, wanted -128\n", `+`, got) 12999 failed = true 13000 } 13001 13002 if got := add_Neg127_int8_ssa(0); got != -127 { 13003 fmt.Printf("add_int8 -127%s0 = %d, wanted -127\n", `+`, got) 13004 failed = true 13005 } 13006 13007 if got := add_int8_Neg127_ssa(0); got != -127 { 13008 fmt.Printf("add_int8 0%s-127 = %d, wanted -127\n", `+`, got) 13009 failed = true 13010 } 13011 13012 if got := add_Neg127_int8_ssa(1); got != -126 { 13013 fmt.Printf("add_int8 -127%s1 = %d, wanted -126\n", `+`, got) 13014 failed = true 13015 } 13016 13017 if got := add_int8_Neg127_ssa(1); got != -126 { 13018 fmt.Printf("add_int8 1%s-127 = %d, wanted -126\n", `+`, got) 13019 failed = true 13020 } 13021 13022 if got := add_Neg127_int8_ssa(126); got != -1 { 13023 fmt.Printf("add_int8 -127%s126 = %d, wanted -1\n", `+`, got) 13024 failed = true 13025 } 13026 13027 if got := add_int8_Neg127_ssa(126); got != -1 { 13028 fmt.Printf("add_int8 126%s-127 = %d, wanted -1\n", `+`, got) 13029 failed = true 13030 } 13031 13032 if got := add_Neg127_int8_ssa(127); got != 0 { 13033 fmt.Printf("add_int8 -127%s127 = %d, wanted 0\n", `+`, got) 13034 failed = true 13035 } 13036 13037 if got := add_int8_Neg127_ssa(127); got != 0 { 13038 fmt.Printf("add_int8 127%s-127 = %d, wanted 0\n", `+`, got) 13039 failed = true 13040 } 13041 13042 if got := add_Neg1_int8_ssa(-128); got != 127 { 13043 fmt.Printf("add_int8 -1%s-128 = %d, wanted 127\n", `+`, got) 13044 failed = true 13045 } 13046 13047 if got := add_int8_Neg1_ssa(-128); got != 127 { 13048 fmt.Printf("add_int8 -128%s-1 = %d, wanted 127\n", `+`, got) 13049 failed = true 13050 } 13051 13052 if got := add_Neg1_int8_ssa(-127); got != -128 { 13053 fmt.Printf("add_int8 -1%s-127 = %d, wanted -128\n", `+`, got) 13054 failed = true 13055 } 13056 13057 if got := add_int8_Neg1_ssa(-127); got != -128 { 13058 fmt.Printf("add_int8 -127%s-1 = %d, wanted -128\n", `+`, got) 13059 failed = true 13060 } 13061 13062 if got := add_Neg1_int8_ssa(-1); got != -2 { 13063 fmt.Printf("add_int8 -1%s-1 = %d, wanted -2\n", `+`, got) 13064 failed = true 13065 } 13066 13067 if got := add_int8_Neg1_ssa(-1); got != -2 { 13068 fmt.Printf("add_int8 -1%s-1 = %d, wanted -2\n", `+`, got) 13069 failed = true 13070 } 13071 13072 if got := add_Neg1_int8_ssa(0); got != -1 { 13073 fmt.Printf("add_int8 -1%s0 = %d, wanted -1\n", `+`, got) 13074 failed = true 13075 } 13076 13077 if got := add_int8_Neg1_ssa(0); got != -1 { 13078 fmt.Printf("add_int8 0%s-1 = %d, wanted -1\n", `+`, got) 13079 failed = true 13080 } 13081 13082 if got := add_Neg1_int8_ssa(1); got != 0 { 13083 fmt.Printf("add_int8 -1%s1 = %d, wanted 0\n", `+`, got) 13084 failed = true 13085 } 13086 13087 if got := add_int8_Neg1_ssa(1); got != 0 { 13088 fmt.Printf("add_int8 1%s-1 = %d, wanted 0\n", `+`, got) 13089 failed = true 13090 } 13091 13092 if got := add_Neg1_int8_ssa(126); got != 125 { 13093 fmt.Printf("add_int8 -1%s126 = %d, wanted 125\n", `+`, got) 13094 failed = true 13095 } 13096 13097 if got := add_int8_Neg1_ssa(126); got != 125 { 13098 fmt.Printf("add_int8 126%s-1 = %d, wanted 125\n", `+`, got) 13099 failed = true 13100 } 13101 13102 if got := add_Neg1_int8_ssa(127); got != 126 { 13103 fmt.Printf("add_int8 -1%s127 = %d, wanted 126\n", `+`, got) 13104 failed = true 13105 } 13106 13107 if got := add_int8_Neg1_ssa(127); got != 126 { 13108 fmt.Printf("add_int8 127%s-1 = %d, wanted 126\n", `+`, got) 13109 failed = true 13110 } 13111 13112 if got := add_0_int8_ssa(-128); got != -128 { 13113 fmt.Printf("add_int8 0%s-128 = %d, wanted -128\n", `+`, got) 13114 failed = true 13115 } 13116 13117 if got := add_int8_0_ssa(-128); got != -128 { 13118 fmt.Printf("add_int8 -128%s0 = %d, wanted -128\n", `+`, got) 13119 failed = true 13120 } 13121 13122 if got := add_0_int8_ssa(-127); got != -127 { 13123 fmt.Printf("add_int8 0%s-127 = %d, wanted -127\n", `+`, got) 13124 failed = true 13125 } 13126 13127 if got := add_int8_0_ssa(-127); got != -127 { 13128 fmt.Printf("add_int8 -127%s0 = %d, wanted -127\n", `+`, got) 13129 failed = true 13130 } 13131 13132 if got := add_0_int8_ssa(-1); got != -1 { 13133 fmt.Printf("add_int8 0%s-1 = %d, wanted -1\n", `+`, got) 13134 failed = true 13135 } 13136 13137 if got := add_int8_0_ssa(-1); got != -1 { 13138 fmt.Printf("add_int8 -1%s0 = %d, wanted -1\n", `+`, got) 13139 failed = true 13140 } 13141 13142 if got := add_0_int8_ssa(0); got != 0 { 13143 fmt.Printf("add_int8 0%s0 = %d, wanted 0\n", `+`, got) 13144 failed = true 13145 } 13146 13147 if got := add_int8_0_ssa(0); got != 0 { 13148 fmt.Printf("add_int8 0%s0 = %d, wanted 0\n", `+`, got) 13149 failed = true 13150 } 13151 13152 if got := add_0_int8_ssa(1); got != 1 { 13153 fmt.Printf("add_int8 0%s1 = %d, wanted 1\n", `+`, got) 13154 failed = true 13155 } 13156 13157 if got := add_int8_0_ssa(1); got != 1 { 13158 fmt.Printf("add_int8 1%s0 = %d, wanted 1\n", `+`, got) 13159 failed = true 13160 } 13161 13162 if got := add_0_int8_ssa(126); got != 126 { 13163 fmt.Printf("add_int8 0%s126 = %d, wanted 126\n", `+`, got) 13164 failed = true 13165 } 13166 13167 if got := add_int8_0_ssa(126); got != 126 { 13168 fmt.Printf("add_int8 126%s0 = %d, wanted 126\n", `+`, got) 13169 failed = true 13170 } 13171 13172 if got := add_0_int8_ssa(127); got != 127 { 13173 fmt.Printf("add_int8 0%s127 = %d, wanted 127\n", `+`, got) 13174 failed = true 13175 } 13176 13177 if got := add_int8_0_ssa(127); got != 127 { 13178 fmt.Printf("add_int8 127%s0 = %d, wanted 127\n", `+`, got) 13179 failed = true 13180 } 13181 13182 if got := add_1_int8_ssa(-128); got != -127 { 13183 fmt.Printf("add_int8 1%s-128 = %d, wanted -127\n", `+`, got) 13184 failed = true 13185 } 13186 13187 if got := add_int8_1_ssa(-128); got != -127 { 13188 fmt.Printf("add_int8 -128%s1 = %d, wanted -127\n", `+`, got) 13189 failed = true 13190 } 13191 13192 if got := add_1_int8_ssa(-127); got != -126 { 13193 fmt.Printf("add_int8 1%s-127 = %d, wanted -126\n", `+`, got) 13194 failed = true 13195 } 13196 13197 if got := add_int8_1_ssa(-127); got != -126 { 13198 fmt.Printf("add_int8 -127%s1 = %d, wanted -126\n", `+`, got) 13199 failed = true 13200 } 13201 13202 if got := add_1_int8_ssa(-1); got != 0 { 13203 fmt.Printf("add_int8 1%s-1 = %d, wanted 0\n", `+`, got) 13204 failed = true 13205 } 13206 13207 if got := add_int8_1_ssa(-1); got != 0 { 13208 fmt.Printf("add_int8 -1%s1 = %d, wanted 0\n", `+`, got) 13209 failed = true 13210 } 13211 13212 if got := add_1_int8_ssa(0); got != 1 { 13213 fmt.Printf("add_int8 1%s0 = %d, wanted 1\n", `+`, got) 13214 failed = true 13215 } 13216 13217 if got := add_int8_1_ssa(0); got != 1 { 13218 fmt.Printf("add_int8 0%s1 = %d, wanted 1\n", `+`, got) 13219 failed = true 13220 } 13221 13222 if got := add_1_int8_ssa(1); got != 2 { 13223 fmt.Printf("add_int8 1%s1 = %d, wanted 2\n", `+`, got) 13224 failed = true 13225 } 13226 13227 if got := add_int8_1_ssa(1); got != 2 { 13228 fmt.Printf("add_int8 1%s1 = %d, wanted 2\n", `+`, got) 13229 failed = true 13230 } 13231 13232 if got := add_1_int8_ssa(126); got != 127 { 13233 fmt.Printf("add_int8 1%s126 = %d, wanted 127\n", `+`, got) 13234 failed = true 13235 } 13236 13237 if got := add_int8_1_ssa(126); got != 127 { 13238 fmt.Printf("add_int8 126%s1 = %d, wanted 127\n", `+`, got) 13239 failed = true 13240 } 13241 13242 if got := add_1_int8_ssa(127); got != -128 { 13243 fmt.Printf("add_int8 1%s127 = %d, wanted -128\n", `+`, got) 13244 failed = true 13245 } 13246 13247 if got := add_int8_1_ssa(127); got != -128 { 13248 fmt.Printf("add_int8 127%s1 = %d, wanted -128\n", `+`, got) 13249 failed = true 13250 } 13251 13252 if got := add_126_int8_ssa(-128); got != -2 { 13253 fmt.Printf("add_int8 126%s-128 = %d, wanted -2\n", `+`, got) 13254 failed = true 13255 } 13256 13257 if got := add_int8_126_ssa(-128); got != -2 { 13258 fmt.Printf("add_int8 -128%s126 = %d, wanted -2\n", `+`, got) 13259 failed = true 13260 } 13261 13262 if got := add_126_int8_ssa(-127); got != -1 { 13263 fmt.Printf("add_int8 126%s-127 = %d, wanted -1\n", `+`, got) 13264 failed = true 13265 } 13266 13267 if got := add_int8_126_ssa(-127); got != -1 { 13268 fmt.Printf("add_int8 -127%s126 = %d, wanted -1\n", `+`, got) 13269 failed = true 13270 } 13271 13272 if got := add_126_int8_ssa(-1); got != 125 { 13273 fmt.Printf("add_int8 126%s-1 = %d, wanted 125\n", `+`, got) 13274 failed = true 13275 } 13276 13277 if got := add_int8_126_ssa(-1); got != 125 { 13278 fmt.Printf("add_int8 -1%s126 = %d, wanted 125\n", `+`, got) 13279 failed = true 13280 } 13281 13282 if got := add_126_int8_ssa(0); got != 126 { 13283 fmt.Printf("add_int8 126%s0 = %d, wanted 126\n", `+`, got) 13284 failed = true 13285 } 13286 13287 if got := add_int8_126_ssa(0); got != 126 { 13288 fmt.Printf("add_int8 0%s126 = %d, wanted 126\n", `+`, got) 13289 failed = true 13290 } 13291 13292 if got := add_126_int8_ssa(1); got != 127 { 13293 fmt.Printf("add_int8 126%s1 = %d, wanted 127\n", `+`, got) 13294 failed = true 13295 } 13296 13297 if got := add_int8_126_ssa(1); got != 127 { 13298 fmt.Printf("add_int8 1%s126 = %d, wanted 127\n", `+`, got) 13299 failed = true 13300 } 13301 13302 if got := add_126_int8_ssa(126); got != -4 { 13303 fmt.Printf("add_int8 126%s126 = %d, wanted -4\n", `+`, got) 13304 failed = true 13305 } 13306 13307 if got := add_int8_126_ssa(126); got != -4 { 13308 fmt.Printf("add_int8 126%s126 = %d, wanted -4\n", `+`, got) 13309 failed = true 13310 } 13311 13312 if got := add_126_int8_ssa(127); got != -3 { 13313 fmt.Printf("add_int8 126%s127 = %d, wanted -3\n", `+`, got) 13314 failed = true 13315 } 13316 13317 if got := add_int8_126_ssa(127); got != -3 { 13318 fmt.Printf("add_int8 127%s126 = %d, wanted -3\n", `+`, got) 13319 failed = true 13320 } 13321 13322 if got := add_127_int8_ssa(-128); got != -1 { 13323 fmt.Printf("add_int8 127%s-128 = %d, wanted -1\n", `+`, got) 13324 failed = true 13325 } 13326 13327 if got := add_int8_127_ssa(-128); got != -1 { 13328 fmt.Printf("add_int8 -128%s127 = %d, wanted -1\n", `+`, got) 13329 failed = true 13330 } 13331 13332 if got := add_127_int8_ssa(-127); got != 0 { 13333 fmt.Printf("add_int8 127%s-127 = %d, wanted 0\n", `+`, got) 13334 failed = true 13335 } 13336 13337 if got := add_int8_127_ssa(-127); got != 0 { 13338 fmt.Printf("add_int8 -127%s127 = %d, wanted 0\n", `+`, got) 13339 failed = true 13340 } 13341 13342 if got := add_127_int8_ssa(-1); got != 126 { 13343 fmt.Printf("add_int8 127%s-1 = %d, wanted 126\n", `+`, got) 13344 failed = true 13345 } 13346 13347 if got := add_int8_127_ssa(-1); got != 126 { 13348 fmt.Printf("add_int8 -1%s127 = %d, wanted 126\n", `+`, got) 13349 failed = true 13350 } 13351 13352 if got := add_127_int8_ssa(0); got != 127 { 13353 fmt.Printf("add_int8 127%s0 = %d, wanted 127\n", `+`, got) 13354 failed = true 13355 } 13356 13357 if got := add_int8_127_ssa(0); got != 127 { 13358 fmt.Printf("add_int8 0%s127 = %d, wanted 127\n", `+`, got) 13359 failed = true 13360 } 13361 13362 if got := add_127_int8_ssa(1); got != -128 { 13363 fmt.Printf("add_int8 127%s1 = %d, wanted -128\n", `+`, got) 13364 failed = true 13365 } 13366 13367 if got := add_int8_127_ssa(1); got != -128 { 13368 fmt.Printf("add_int8 1%s127 = %d, wanted -128\n", `+`, got) 13369 failed = true 13370 } 13371 13372 if got := add_127_int8_ssa(126); got != -3 { 13373 fmt.Printf("add_int8 127%s126 = %d, wanted -3\n", `+`, got) 13374 failed = true 13375 } 13376 13377 if got := add_int8_127_ssa(126); got != -3 { 13378 fmt.Printf("add_int8 126%s127 = %d, wanted -3\n", `+`, got) 13379 failed = true 13380 } 13381 13382 if got := add_127_int8_ssa(127); got != -2 { 13383 fmt.Printf("add_int8 127%s127 = %d, wanted -2\n", `+`, got) 13384 failed = true 13385 } 13386 13387 if got := add_int8_127_ssa(127); got != -2 { 13388 fmt.Printf("add_int8 127%s127 = %d, wanted -2\n", `+`, got) 13389 failed = true 13390 } 13391 13392 if got := sub_Neg128_int8_ssa(-128); got != 0 { 13393 fmt.Printf("sub_int8 -128%s-128 = %d, wanted 0\n", `-`, got) 13394 failed = true 13395 } 13396 13397 if got := sub_int8_Neg128_ssa(-128); got != 0 { 13398 fmt.Printf("sub_int8 -128%s-128 = %d, wanted 0\n", `-`, got) 13399 failed = true 13400 } 13401 13402 if got := sub_Neg128_int8_ssa(-127); got != -1 { 13403 fmt.Printf("sub_int8 -128%s-127 = %d, wanted -1\n", `-`, got) 13404 failed = true 13405 } 13406 13407 if got := sub_int8_Neg128_ssa(-127); got != 1 { 13408 fmt.Printf("sub_int8 -127%s-128 = %d, wanted 1\n", `-`, got) 13409 failed = true 13410 } 13411 13412 if got := sub_Neg128_int8_ssa(-1); got != -127 { 13413 fmt.Printf("sub_int8 -128%s-1 = %d, wanted -127\n", `-`, got) 13414 failed = true 13415 } 13416 13417 if got := sub_int8_Neg128_ssa(-1); got != 127 { 13418 fmt.Printf("sub_int8 -1%s-128 = %d, wanted 127\n", `-`, got) 13419 failed = true 13420 } 13421 13422 if got := sub_Neg128_int8_ssa(0); got != -128 { 13423 fmt.Printf("sub_int8 -128%s0 = %d, wanted -128\n", `-`, got) 13424 failed = true 13425 } 13426 13427 if got := sub_int8_Neg128_ssa(0); got != -128 { 13428 fmt.Printf("sub_int8 0%s-128 = %d, wanted -128\n", `-`, got) 13429 failed = true 13430 } 13431 13432 if got := sub_Neg128_int8_ssa(1); got != 127 { 13433 fmt.Printf("sub_int8 -128%s1 = %d, wanted 127\n", `-`, got) 13434 failed = true 13435 } 13436 13437 if got := sub_int8_Neg128_ssa(1); got != -127 { 13438 fmt.Printf("sub_int8 1%s-128 = %d, wanted -127\n", `-`, got) 13439 failed = true 13440 } 13441 13442 if got := sub_Neg128_int8_ssa(126); got != 2 { 13443 fmt.Printf("sub_int8 -128%s126 = %d, wanted 2\n", `-`, got) 13444 failed = true 13445 } 13446 13447 if got := sub_int8_Neg128_ssa(126); got != -2 { 13448 fmt.Printf("sub_int8 126%s-128 = %d, wanted -2\n", `-`, got) 13449 failed = true 13450 } 13451 13452 if got := sub_Neg128_int8_ssa(127); got != 1 { 13453 fmt.Printf("sub_int8 -128%s127 = %d, wanted 1\n", `-`, got) 13454 failed = true 13455 } 13456 13457 if got := sub_int8_Neg128_ssa(127); got != -1 { 13458 fmt.Printf("sub_int8 127%s-128 = %d, wanted -1\n", `-`, got) 13459 failed = true 13460 } 13461 13462 if got := sub_Neg127_int8_ssa(-128); got != 1 { 13463 fmt.Printf("sub_int8 -127%s-128 = %d, wanted 1\n", `-`, got) 13464 failed = true 13465 } 13466 13467 if got := sub_int8_Neg127_ssa(-128); got != -1 { 13468 fmt.Printf("sub_int8 -128%s-127 = %d, wanted -1\n", `-`, got) 13469 failed = true 13470 } 13471 13472 if got := sub_Neg127_int8_ssa(-127); got != 0 { 13473 fmt.Printf("sub_int8 -127%s-127 = %d, wanted 0\n", `-`, got) 13474 failed = true 13475 } 13476 13477 if got := sub_int8_Neg127_ssa(-127); got != 0 { 13478 fmt.Printf("sub_int8 -127%s-127 = %d, wanted 0\n", `-`, got) 13479 failed = true 13480 } 13481 13482 if got := sub_Neg127_int8_ssa(-1); got != -126 { 13483 fmt.Printf("sub_int8 -127%s-1 = %d, wanted -126\n", `-`, got) 13484 failed = true 13485 } 13486 13487 if got := sub_int8_Neg127_ssa(-1); got != 126 { 13488 fmt.Printf("sub_int8 -1%s-127 = %d, wanted 126\n", `-`, got) 13489 failed = true 13490 } 13491 13492 if got := sub_Neg127_int8_ssa(0); got != -127 { 13493 fmt.Printf("sub_int8 -127%s0 = %d, wanted -127\n", `-`, got) 13494 failed = true 13495 } 13496 13497 if got := sub_int8_Neg127_ssa(0); got != 127 { 13498 fmt.Printf("sub_int8 0%s-127 = %d, wanted 127\n", `-`, got) 13499 failed = true 13500 } 13501 13502 if got := sub_Neg127_int8_ssa(1); got != -128 { 13503 fmt.Printf("sub_int8 -127%s1 = %d, wanted -128\n", `-`, got) 13504 failed = true 13505 } 13506 13507 if got := sub_int8_Neg127_ssa(1); got != -128 { 13508 fmt.Printf("sub_int8 1%s-127 = %d, wanted -128\n", `-`, got) 13509 failed = true 13510 } 13511 13512 if got := sub_Neg127_int8_ssa(126); got != 3 { 13513 fmt.Printf("sub_int8 -127%s126 = %d, wanted 3\n", `-`, got) 13514 failed = true 13515 } 13516 13517 if got := sub_int8_Neg127_ssa(126); got != -3 { 13518 fmt.Printf("sub_int8 126%s-127 = %d, wanted -3\n", `-`, got) 13519 failed = true 13520 } 13521 13522 if got := sub_Neg127_int8_ssa(127); got != 2 { 13523 fmt.Printf("sub_int8 -127%s127 = %d, wanted 2\n", `-`, got) 13524 failed = true 13525 } 13526 13527 if got := sub_int8_Neg127_ssa(127); got != -2 { 13528 fmt.Printf("sub_int8 127%s-127 = %d, wanted -2\n", `-`, got) 13529 failed = true 13530 } 13531 13532 if got := sub_Neg1_int8_ssa(-128); got != 127 { 13533 fmt.Printf("sub_int8 -1%s-128 = %d, wanted 127\n", `-`, got) 13534 failed = true 13535 } 13536 13537 if got := sub_int8_Neg1_ssa(-128); got != -127 { 13538 fmt.Printf("sub_int8 -128%s-1 = %d, wanted -127\n", `-`, got) 13539 failed = true 13540 } 13541 13542 if got := sub_Neg1_int8_ssa(-127); got != 126 { 13543 fmt.Printf("sub_int8 -1%s-127 = %d, wanted 126\n", `-`, got) 13544 failed = true 13545 } 13546 13547 if got := sub_int8_Neg1_ssa(-127); got != -126 { 13548 fmt.Printf("sub_int8 -127%s-1 = %d, wanted -126\n", `-`, got) 13549 failed = true 13550 } 13551 13552 if got := sub_Neg1_int8_ssa(-1); got != 0 { 13553 fmt.Printf("sub_int8 -1%s-1 = %d, wanted 0\n", `-`, got) 13554 failed = true 13555 } 13556 13557 if got := sub_int8_Neg1_ssa(-1); got != 0 { 13558 fmt.Printf("sub_int8 -1%s-1 = %d, wanted 0\n", `-`, got) 13559 failed = true 13560 } 13561 13562 if got := sub_Neg1_int8_ssa(0); got != -1 { 13563 fmt.Printf("sub_int8 -1%s0 = %d, wanted -1\n", `-`, got) 13564 failed = true 13565 } 13566 13567 if got := sub_int8_Neg1_ssa(0); got != 1 { 13568 fmt.Printf("sub_int8 0%s-1 = %d, wanted 1\n", `-`, got) 13569 failed = true 13570 } 13571 13572 if got := sub_Neg1_int8_ssa(1); got != -2 { 13573 fmt.Printf("sub_int8 -1%s1 = %d, wanted -2\n", `-`, got) 13574 failed = true 13575 } 13576 13577 if got := sub_int8_Neg1_ssa(1); got != 2 { 13578 fmt.Printf("sub_int8 1%s-1 = %d, wanted 2\n", `-`, got) 13579 failed = true 13580 } 13581 13582 if got := sub_Neg1_int8_ssa(126); got != -127 { 13583 fmt.Printf("sub_int8 -1%s126 = %d, wanted -127\n", `-`, got) 13584 failed = true 13585 } 13586 13587 if got := sub_int8_Neg1_ssa(126); got != 127 { 13588 fmt.Printf("sub_int8 126%s-1 = %d, wanted 127\n", `-`, got) 13589 failed = true 13590 } 13591 13592 if got := sub_Neg1_int8_ssa(127); got != -128 { 13593 fmt.Printf("sub_int8 -1%s127 = %d, wanted -128\n", `-`, got) 13594 failed = true 13595 } 13596 13597 if got := sub_int8_Neg1_ssa(127); got != -128 { 13598 fmt.Printf("sub_int8 127%s-1 = %d, wanted -128\n", `-`, got) 13599 failed = true 13600 } 13601 13602 if got := sub_0_int8_ssa(-128); got != -128 { 13603 fmt.Printf("sub_int8 0%s-128 = %d, wanted -128\n", `-`, got) 13604 failed = true 13605 } 13606 13607 if got := sub_int8_0_ssa(-128); got != -128 { 13608 fmt.Printf("sub_int8 -128%s0 = %d, wanted -128\n", `-`, got) 13609 failed = true 13610 } 13611 13612 if got := sub_0_int8_ssa(-127); got != 127 { 13613 fmt.Printf("sub_int8 0%s-127 = %d, wanted 127\n", `-`, got) 13614 failed = true 13615 } 13616 13617 if got := sub_int8_0_ssa(-127); got != -127 { 13618 fmt.Printf("sub_int8 -127%s0 = %d, wanted -127\n", `-`, got) 13619 failed = true 13620 } 13621 13622 if got := sub_0_int8_ssa(-1); got != 1 { 13623 fmt.Printf("sub_int8 0%s-1 = %d, wanted 1\n", `-`, got) 13624 failed = true 13625 } 13626 13627 if got := sub_int8_0_ssa(-1); got != -1 { 13628 fmt.Printf("sub_int8 -1%s0 = %d, wanted -1\n", `-`, got) 13629 failed = true 13630 } 13631 13632 if got := sub_0_int8_ssa(0); got != 0 { 13633 fmt.Printf("sub_int8 0%s0 = %d, wanted 0\n", `-`, got) 13634 failed = true 13635 } 13636 13637 if got := sub_int8_0_ssa(0); got != 0 { 13638 fmt.Printf("sub_int8 0%s0 = %d, wanted 0\n", `-`, got) 13639 failed = true 13640 } 13641 13642 if got := sub_0_int8_ssa(1); got != -1 { 13643 fmt.Printf("sub_int8 0%s1 = %d, wanted -1\n", `-`, got) 13644 failed = true 13645 } 13646 13647 if got := sub_int8_0_ssa(1); got != 1 { 13648 fmt.Printf("sub_int8 1%s0 = %d, wanted 1\n", `-`, got) 13649 failed = true 13650 } 13651 13652 if got := sub_0_int8_ssa(126); got != -126 { 13653 fmt.Printf("sub_int8 0%s126 = %d, wanted -126\n", `-`, got) 13654 failed = true 13655 } 13656 13657 if got := sub_int8_0_ssa(126); got != 126 { 13658 fmt.Printf("sub_int8 126%s0 = %d, wanted 126\n", `-`, got) 13659 failed = true 13660 } 13661 13662 if got := sub_0_int8_ssa(127); got != -127 { 13663 fmt.Printf("sub_int8 0%s127 = %d, wanted -127\n", `-`, got) 13664 failed = true 13665 } 13666 13667 if got := sub_int8_0_ssa(127); got != 127 { 13668 fmt.Printf("sub_int8 127%s0 = %d, wanted 127\n", `-`, got) 13669 failed = true 13670 } 13671 13672 if got := sub_1_int8_ssa(-128); got != -127 { 13673 fmt.Printf("sub_int8 1%s-128 = %d, wanted -127\n", `-`, got) 13674 failed = true 13675 } 13676 13677 if got := sub_int8_1_ssa(-128); got != 127 { 13678 fmt.Printf("sub_int8 -128%s1 = %d, wanted 127\n", `-`, got) 13679 failed = true 13680 } 13681 13682 if got := sub_1_int8_ssa(-127); got != -128 { 13683 fmt.Printf("sub_int8 1%s-127 = %d, wanted -128\n", `-`, got) 13684 failed = true 13685 } 13686 13687 if got := sub_int8_1_ssa(-127); got != -128 { 13688 fmt.Printf("sub_int8 -127%s1 = %d, wanted -128\n", `-`, got) 13689 failed = true 13690 } 13691 13692 if got := sub_1_int8_ssa(-1); got != 2 { 13693 fmt.Printf("sub_int8 1%s-1 = %d, wanted 2\n", `-`, got) 13694 failed = true 13695 } 13696 13697 if got := sub_int8_1_ssa(-1); got != -2 { 13698 fmt.Printf("sub_int8 -1%s1 = %d, wanted -2\n", `-`, got) 13699 failed = true 13700 } 13701 13702 if got := sub_1_int8_ssa(0); got != 1 { 13703 fmt.Printf("sub_int8 1%s0 = %d, wanted 1\n", `-`, got) 13704 failed = true 13705 } 13706 13707 if got := sub_int8_1_ssa(0); got != -1 { 13708 fmt.Printf("sub_int8 0%s1 = %d, wanted -1\n", `-`, got) 13709 failed = true 13710 } 13711 13712 if got := sub_1_int8_ssa(1); got != 0 { 13713 fmt.Printf("sub_int8 1%s1 = %d, wanted 0\n", `-`, got) 13714 failed = true 13715 } 13716 13717 if got := sub_int8_1_ssa(1); got != 0 { 13718 fmt.Printf("sub_int8 1%s1 = %d, wanted 0\n", `-`, got) 13719 failed = true 13720 } 13721 13722 if got := sub_1_int8_ssa(126); got != -125 { 13723 fmt.Printf("sub_int8 1%s126 = %d, wanted -125\n", `-`, got) 13724 failed = true 13725 } 13726 13727 if got := sub_int8_1_ssa(126); got != 125 { 13728 fmt.Printf("sub_int8 126%s1 = %d, wanted 125\n", `-`, got) 13729 failed = true 13730 } 13731 13732 if got := sub_1_int8_ssa(127); got != -126 { 13733 fmt.Printf("sub_int8 1%s127 = %d, wanted -126\n", `-`, got) 13734 failed = true 13735 } 13736 13737 if got := sub_int8_1_ssa(127); got != 126 { 13738 fmt.Printf("sub_int8 127%s1 = %d, wanted 126\n", `-`, got) 13739 failed = true 13740 } 13741 13742 if got := sub_126_int8_ssa(-128); got != -2 { 13743 fmt.Printf("sub_int8 126%s-128 = %d, wanted -2\n", `-`, got) 13744 failed = true 13745 } 13746 13747 if got := sub_int8_126_ssa(-128); got != 2 { 13748 fmt.Printf("sub_int8 -128%s126 = %d, wanted 2\n", `-`, got) 13749 failed = true 13750 } 13751 13752 if got := sub_126_int8_ssa(-127); got != -3 { 13753 fmt.Printf("sub_int8 126%s-127 = %d, wanted -3\n", `-`, got) 13754 failed = true 13755 } 13756 13757 if got := sub_int8_126_ssa(-127); got != 3 { 13758 fmt.Printf("sub_int8 -127%s126 = %d, wanted 3\n", `-`, got) 13759 failed = true 13760 } 13761 13762 if got := sub_126_int8_ssa(-1); got != 127 { 13763 fmt.Printf("sub_int8 126%s-1 = %d, wanted 127\n", `-`, got) 13764 failed = true 13765 } 13766 13767 if got := sub_int8_126_ssa(-1); got != -127 { 13768 fmt.Printf("sub_int8 -1%s126 = %d, wanted -127\n", `-`, got) 13769 failed = true 13770 } 13771 13772 if got := sub_126_int8_ssa(0); got != 126 { 13773 fmt.Printf("sub_int8 126%s0 = %d, wanted 126\n", `-`, got) 13774 failed = true 13775 } 13776 13777 if got := sub_int8_126_ssa(0); got != -126 { 13778 fmt.Printf("sub_int8 0%s126 = %d, wanted -126\n", `-`, got) 13779 failed = true 13780 } 13781 13782 if got := sub_126_int8_ssa(1); got != 125 { 13783 fmt.Printf("sub_int8 126%s1 = %d, wanted 125\n", `-`, got) 13784 failed = true 13785 } 13786 13787 if got := sub_int8_126_ssa(1); got != -125 { 13788 fmt.Printf("sub_int8 1%s126 = %d, wanted -125\n", `-`, got) 13789 failed = true 13790 } 13791 13792 if got := sub_126_int8_ssa(126); got != 0 { 13793 fmt.Printf("sub_int8 126%s126 = %d, wanted 0\n", `-`, got) 13794 failed = true 13795 } 13796 13797 if got := sub_int8_126_ssa(126); got != 0 { 13798 fmt.Printf("sub_int8 126%s126 = %d, wanted 0\n", `-`, got) 13799 failed = true 13800 } 13801 13802 if got := sub_126_int8_ssa(127); got != -1 { 13803 fmt.Printf("sub_int8 126%s127 = %d, wanted -1\n", `-`, got) 13804 failed = true 13805 } 13806 13807 if got := sub_int8_126_ssa(127); got != 1 { 13808 fmt.Printf("sub_int8 127%s126 = %d, wanted 1\n", `-`, got) 13809 failed = true 13810 } 13811 13812 if got := sub_127_int8_ssa(-128); got != -1 { 13813 fmt.Printf("sub_int8 127%s-128 = %d, wanted -1\n", `-`, got) 13814 failed = true 13815 } 13816 13817 if got := sub_int8_127_ssa(-128); got != 1 { 13818 fmt.Printf("sub_int8 -128%s127 = %d, wanted 1\n", `-`, got) 13819 failed = true 13820 } 13821 13822 if got := sub_127_int8_ssa(-127); got != -2 { 13823 fmt.Printf("sub_int8 127%s-127 = %d, wanted -2\n", `-`, got) 13824 failed = true 13825 } 13826 13827 if got := sub_int8_127_ssa(-127); got != 2 { 13828 fmt.Printf("sub_int8 -127%s127 = %d, wanted 2\n", `-`, got) 13829 failed = true 13830 } 13831 13832 if got := sub_127_int8_ssa(-1); got != -128 { 13833 fmt.Printf("sub_int8 127%s-1 = %d, wanted -128\n", `-`, got) 13834 failed = true 13835 } 13836 13837 if got := sub_int8_127_ssa(-1); got != -128 { 13838 fmt.Printf("sub_int8 -1%s127 = %d, wanted -128\n", `-`, got) 13839 failed = true 13840 } 13841 13842 if got := sub_127_int8_ssa(0); got != 127 { 13843 fmt.Printf("sub_int8 127%s0 = %d, wanted 127\n", `-`, got) 13844 failed = true 13845 } 13846 13847 if got := sub_int8_127_ssa(0); got != -127 { 13848 fmt.Printf("sub_int8 0%s127 = %d, wanted -127\n", `-`, got) 13849 failed = true 13850 } 13851 13852 if got := sub_127_int8_ssa(1); got != 126 { 13853 fmt.Printf("sub_int8 127%s1 = %d, wanted 126\n", `-`, got) 13854 failed = true 13855 } 13856 13857 if got := sub_int8_127_ssa(1); got != -126 { 13858 fmt.Printf("sub_int8 1%s127 = %d, wanted -126\n", `-`, got) 13859 failed = true 13860 } 13861 13862 if got := sub_127_int8_ssa(126); got != 1 { 13863 fmt.Printf("sub_int8 127%s126 = %d, wanted 1\n", `-`, got) 13864 failed = true 13865 } 13866 13867 if got := sub_int8_127_ssa(126); got != -1 { 13868 fmt.Printf("sub_int8 126%s127 = %d, wanted -1\n", `-`, got) 13869 failed = true 13870 } 13871 13872 if got := sub_127_int8_ssa(127); got != 0 { 13873 fmt.Printf("sub_int8 127%s127 = %d, wanted 0\n", `-`, got) 13874 failed = true 13875 } 13876 13877 if got := sub_int8_127_ssa(127); got != 0 { 13878 fmt.Printf("sub_int8 127%s127 = %d, wanted 0\n", `-`, got) 13879 failed = true 13880 } 13881 13882 if got := div_Neg128_int8_ssa(-128); got != 1 { 13883 fmt.Printf("div_int8 -128%s-128 = %d, wanted 1\n", `/`, got) 13884 failed = true 13885 } 13886 13887 if got := div_int8_Neg128_ssa(-128); got != 1 { 13888 fmt.Printf("div_int8 -128%s-128 = %d, wanted 1\n", `/`, got) 13889 failed = true 13890 } 13891 13892 if got := div_Neg128_int8_ssa(-127); got != 1 { 13893 fmt.Printf("div_int8 -128%s-127 = %d, wanted 1\n", `/`, got) 13894 failed = true 13895 } 13896 13897 if got := div_int8_Neg128_ssa(-127); got != 0 { 13898 fmt.Printf("div_int8 -127%s-128 = %d, wanted 0\n", `/`, got) 13899 failed = true 13900 } 13901 13902 if got := div_Neg128_int8_ssa(-1); got != -128 { 13903 fmt.Printf("div_int8 -128%s-1 = %d, wanted -128\n", `/`, got) 13904 failed = true 13905 } 13906 13907 if got := div_int8_Neg128_ssa(-1); got != 0 { 13908 fmt.Printf("div_int8 -1%s-128 = %d, wanted 0\n", `/`, got) 13909 failed = true 13910 } 13911 13912 if got := div_int8_Neg128_ssa(0); got != 0 { 13913 fmt.Printf("div_int8 0%s-128 = %d, wanted 0\n", `/`, got) 13914 failed = true 13915 } 13916 13917 if got := div_Neg128_int8_ssa(1); got != -128 { 13918 fmt.Printf("div_int8 -128%s1 = %d, wanted -128\n", `/`, got) 13919 failed = true 13920 } 13921 13922 if got := div_int8_Neg128_ssa(1); got != 0 { 13923 fmt.Printf("div_int8 1%s-128 = %d, wanted 0\n", `/`, got) 13924 failed = true 13925 } 13926 13927 if got := div_Neg128_int8_ssa(126); got != -1 { 13928 fmt.Printf("div_int8 -128%s126 = %d, wanted -1\n", `/`, got) 13929 failed = true 13930 } 13931 13932 if got := div_int8_Neg128_ssa(126); got != 0 { 13933 fmt.Printf("div_int8 126%s-128 = %d, wanted 0\n", `/`, got) 13934 failed = true 13935 } 13936 13937 if got := div_Neg128_int8_ssa(127); got != -1 { 13938 fmt.Printf("div_int8 -128%s127 = %d, wanted -1\n", `/`, got) 13939 failed = true 13940 } 13941 13942 if got := div_int8_Neg128_ssa(127); got != 0 { 13943 fmt.Printf("div_int8 127%s-128 = %d, wanted 0\n", `/`, got) 13944 failed = true 13945 } 13946 13947 if got := div_Neg127_int8_ssa(-128); got != 0 { 13948 fmt.Printf("div_int8 -127%s-128 = %d, wanted 0\n", `/`, got) 13949 failed = true 13950 } 13951 13952 if got := div_int8_Neg127_ssa(-128); got != 1 { 13953 fmt.Printf("div_int8 -128%s-127 = %d, wanted 1\n", `/`, got) 13954 failed = true 13955 } 13956 13957 if got := div_Neg127_int8_ssa(-127); got != 1 { 13958 fmt.Printf("div_int8 -127%s-127 = %d, wanted 1\n", `/`, got) 13959 failed = true 13960 } 13961 13962 if got := div_int8_Neg127_ssa(-127); got != 1 { 13963 fmt.Printf("div_int8 -127%s-127 = %d, wanted 1\n", `/`, got) 13964 failed = true 13965 } 13966 13967 if got := div_Neg127_int8_ssa(-1); got != 127 { 13968 fmt.Printf("div_int8 -127%s-1 = %d, wanted 127\n", `/`, got) 13969 failed = true 13970 } 13971 13972 if got := div_int8_Neg127_ssa(-1); got != 0 { 13973 fmt.Printf("div_int8 -1%s-127 = %d, wanted 0\n", `/`, got) 13974 failed = true 13975 } 13976 13977 if got := div_int8_Neg127_ssa(0); got != 0 { 13978 fmt.Printf("div_int8 0%s-127 = %d, wanted 0\n", `/`, got) 13979 failed = true 13980 } 13981 13982 if got := div_Neg127_int8_ssa(1); got != -127 { 13983 fmt.Printf("div_int8 -127%s1 = %d, wanted -127\n", `/`, got) 13984 failed = true 13985 } 13986 13987 if got := div_int8_Neg127_ssa(1); got != 0 { 13988 fmt.Printf("div_int8 1%s-127 = %d, wanted 0\n", `/`, got) 13989 failed = true 13990 } 13991 13992 if got := div_Neg127_int8_ssa(126); got != -1 { 13993 fmt.Printf("div_int8 -127%s126 = %d, wanted -1\n", `/`, got) 13994 failed = true 13995 } 13996 13997 if got := div_int8_Neg127_ssa(126); got != 0 { 13998 fmt.Printf("div_int8 126%s-127 = %d, wanted 0\n", `/`, got) 13999 failed = true 14000 } 14001 14002 if got := div_Neg127_int8_ssa(127); got != -1 { 14003 fmt.Printf("div_int8 -127%s127 = %d, wanted -1\n", `/`, got) 14004 failed = true 14005 } 14006 14007 if got := div_int8_Neg127_ssa(127); got != -1 { 14008 fmt.Printf("div_int8 127%s-127 = %d, wanted -1\n", `/`, got) 14009 failed = true 14010 } 14011 14012 if got := div_Neg1_int8_ssa(-128); got != 0 { 14013 fmt.Printf("div_int8 -1%s-128 = %d, wanted 0\n", `/`, got) 14014 failed = true 14015 } 14016 14017 if got := div_int8_Neg1_ssa(-128); got != -128 { 14018 fmt.Printf("div_int8 -128%s-1 = %d, wanted -128\n", `/`, got) 14019 failed = true 14020 } 14021 14022 if got := div_Neg1_int8_ssa(-127); got != 0 { 14023 fmt.Printf("div_int8 -1%s-127 = %d, wanted 0\n", `/`, got) 14024 failed = true 14025 } 14026 14027 if got := div_int8_Neg1_ssa(-127); got != 127 { 14028 fmt.Printf("div_int8 -127%s-1 = %d, wanted 127\n", `/`, got) 14029 failed = true 14030 } 14031 14032 if got := div_Neg1_int8_ssa(-1); got != 1 { 14033 fmt.Printf("div_int8 -1%s-1 = %d, wanted 1\n", `/`, got) 14034 failed = true 14035 } 14036 14037 if got := div_int8_Neg1_ssa(-1); got != 1 { 14038 fmt.Printf("div_int8 -1%s-1 = %d, wanted 1\n", `/`, got) 14039 failed = true 14040 } 14041 14042 if got := div_int8_Neg1_ssa(0); got != 0 { 14043 fmt.Printf("div_int8 0%s-1 = %d, wanted 0\n", `/`, got) 14044 failed = true 14045 } 14046 14047 if got := div_Neg1_int8_ssa(1); got != -1 { 14048 fmt.Printf("div_int8 -1%s1 = %d, wanted -1\n", `/`, got) 14049 failed = true 14050 } 14051 14052 if got := div_int8_Neg1_ssa(1); got != -1 { 14053 fmt.Printf("div_int8 1%s-1 = %d, wanted -1\n", `/`, got) 14054 failed = true 14055 } 14056 14057 if got := div_Neg1_int8_ssa(126); got != 0 { 14058 fmt.Printf("div_int8 -1%s126 = %d, wanted 0\n", `/`, got) 14059 failed = true 14060 } 14061 14062 if got := div_int8_Neg1_ssa(126); got != -126 { 14063 fmt.Printf("div_int8 126%s-1 = %d, wanted -126\n", `/`, got) 14064 failed = true 14065 } 14066 14067 if got := div_Neg1_int8_ssa(127); got != 0 { 14068 fmt.Printf("div_int8 -1%s127 = %d, wanted 0\n", `/`, got) 14069 failed = true 14070 } 14071 14072 if got := div_int8_Neg1_ssa(127); got != -127 { 14073 fmt.Printf("div_int8 127%s-1 = %d, wanted -127\n", `/`, got) 14074 failed = true 14075 } 14076 14077 if got := div_0_int8_ssa(-128); got != 0 { 14078 fmt.Printf("div_int8 0%s-128 = %d, wanted 0\n", `/`, got) 14079 failed = true 14080 } 14081 14082 if got := div_0_int8_ssa(-127); got != 0 { 14083 fmt.Printf("div_int8 0%s-127 = %d, wanted 0\n", `/`, got) 14084 failed = true 14085 } 14086 14087 if got := div_0_int8_ssa(-1); got != 0 { 14088 fmt.Printf("div_int8 0%s-1 = %d, wanted 0\n", `/`, got) 14089 failed = true 14090 } 14091 14092 if got := div_0_int8_ssa(1); got != 0 { 14093 fmt.Printf("div_int8 0%s1 = %d, wanted 0\n", `/`, got) 14094 failed = true 14095 } 14096 14097 if got := div_0_int8_ssa(126); got != 0 { 14098 fmt.Printf("div_int8 0%s126 = %d, wanted 0\n", `/`, got) 14099 failed = true 14100 } 14101 14102 if got := div_0_int8_ssa(127); got != 0 { 14103 fmt.Printf("div_int8 0%s127 = %d, wanted 0\n", `/`, got) 14104 failed = true 14105 } 14106 14107 if got := div_1_int8_ssa(-128); got != 0 { 14108 fmt.Printf("div_int8 1%s-128 = %d, wanted 0\n", `/`, got) 14109 failed = true 14110 } 14111 14112 if got := div_int8_1_ssa(-128); got != -128 { 14113 fmt.Printf("div_int8 -128%s1 = %d, wanted -128\n", `/`, got) 14114 failed = true 14115 } 14116 14117 if got := div_1_int8_ssa(-127); got != 0 { 14118 fmt.Printf("div_int8 1%s-127 = %d, wanted 0\n", `/`, got) 14119 failed = true 14120 } 14121 14122 if got := div_int8_1_ssa(-127); got != -127 { 14123 fmt.Printf("div_int8 -127%s1 = %d, wanted -127\n", `/`, got) 14124 failed = true 14125 } 14126 14127 if got := div_1_int8_ssa(-1); got != -1 { 14128 fmt.Printf("div_int8 1%s-1 = %d, wanted -1\n", `/`, got) 14129 failed = true 14130 } 14131 14132 if got := div_int8_1_ssa(-1); got != -1 { 14133 fmt.Printf("div_int8 -1%s1 = %d, wanted -1\n", `/`, got) 14134 failed = true 14135 } 14136 14137 if got := div_int8_1_ssa(0); got != 0 { 14138 fmt.Printf("div_int8 0%s1 = %d, wanted 0\n", `/`, got) 14139 failed = true 14140 } 14141 14142 if got := div_1_int8_ssa(1); got != 1 { 14143 fmt.Printf("div_int8 1%s1 = %d, wanted 1\n", `/`, got) 14144 failed = true 14145 } 14146 14147 if got := div_int8_1_ssa(1); got != 1 { 14148 fmt.Printf("div_int8 1%s1 = %d, wanted 1\n", `/`, got) 14149 failed = true 14150 } 14151 14152 if got := div_1_int8_ssa(126); got != 0 { 14153 fmt.Printf("div_int8 1%s126 = %d, wanted 0\n", `/`, got) 14154 failed = true 14155 } 14156 14157 if got := div_int8_1_ssa(126); got != 126 { 14158 fmt.Printf("div_int8 126%s1 = %d, wanted 126\n", `/`, got) 14159 failed = true 14160 } 14161 14162 if got := div_1_int8_ssa(127); got != 0 { 14163 fmt.Printf("div_int8 1%s127 = %d, wanted 0\n", `/`, got) 14164 failed = true 14165 } 14166 14167 if got := div_int8_1_ssa(127); got != 127 { 14168 fmt.Printf("div_int8 127%s1 = %d, wanted 127\n", `/`, got) 14169 failed = true 14170 } 14171 14172 if got := div_126_int8_ssa(-128); got != 0 { 14173 fmt.Printf("div_int8 126%s-128 = %d, wanted 0\n", `/`, got) 14174 failed = true 14175 } 14176 14177 if got := div_int8_126_ssa(-128); got != -1 { 14178 fmt.Printf("div_int8 -128%s126 = %d, wanted -1\n", `/`, got) 14179 failed = true 14180 } 14181 14182 if got := div_126_int8_ssa(-127); got != 0 { 14183 fmt.Printf("div_int8 126%s-127 = %d, wanted 0\n", `/`, got) 14184 failed = true 14185 } 14186 14187 if got := div_int8_126_ssa(-127); got != -1 { 14188 fmt.Printf("div_int8 -127%s126 = %d, wanted -1\n", `/`, got) 14189 failed = true 14190 } 14191 14192 if got := div_126_int8_ssa(-1); got != -126 { 14193 fmt.Printf("div_int8 126%s-1 = %d, wanted -126\n", `/`, got) 14194 failed = true 14195 } 14196 14197 if got := div_int8_126_ssa(-1); got != 0 { 14198 fmt.Printf("div_int8 -1%s126 = %d, wanted 0\n", `/`, got) 14199 failed = true 14200 } 14201 14202 if got := div_int8_126_ssa(0); got != 0 { 14203 fmt.Printf("div_int8 0%s126 = %d, wanted 0\n", `/`, got) 14204 failed = true 14205 } 14206 14207 if got := div_126_int8_ssa(1); got != 126 { 14208 fmt.Printf("div_int8 126%s1 = %d, wanted 126\n", `/`, got) 14209 failed = true 14210 } 14211 14212 if got := div_int8_126_ssa(1); got != 0 { 14213 fmt.Printf("div_int8 1%s126 = %d, wanted 0\n", `/`, got) 14214 failed = true 14215 } 14216 14217 if got := div_126_int8_ssa(126); got != 1 { 14218 fmt.Printf("div_int8 126%s126 = %d, wanted 1\n", `/`, got) 14219 failed = true 14220 } 14221 14222 if got := div_int8_126_ssa(126); got != 1 { 14223 fmt.Printf("div_int8 126%s126 = %d, wanted 1\n", `/`, got) 14224 failed = true 14225 } 14226 14227 if got := div_126_int8_ssa(127); got != 0 { 14228 fmt.Printf("div_int8 126%s127 = %d, wanted 0\n", `/`, got) 14229 failed = true 14230 } 14231 14232 if got := div_int8_126_ssa(127); got != 1 { 14233 fmt.Printf("div_int8 127%s126 = %d, wanted 1\n", `/`, got) 14234 failed = true 14235 } 14236 14237 if got := div_127_int8_ssa(-128); got != 0 { 14238 fmt.Printf("div_int8 127%s-128 = %d, wanted 0\n", `/`, got) 14239 failed = true 14240 } 14241 14242 if got := div_int8_127_ssa(-128); got != -1 { 14243 fmt.Printf("div_int8 -128%s127 = %d, wanted -1\n", `/`, got) 14244 failed = true 14245 } 14246 14247 if got := div_127_int8_ssa(-127); got != -1 { 14248 fmt.Printf("div_int8 127%s-127 = %d, wanted -1\n", `/`, got) 14249 failed = true 14250 } 14251 14252 if got := div_int8_127_ssa(-127); got != -1 { 14253 fmt.Printf("div_int8 -127%s127 = %d, wanted -1\n", `/`, got) 14254 failed = true 14255 } 14256 14257 if got := div_127_int8_ssa(-1); got != -127 { 14258 fmt.Printf("div_int8 127%s-1 = %d, wanted -127\n", `/`, got) 14259 failed = true 14260 } 14261 14262 if got := div_int8_127_ssa(-1); got != 0 { 14263 fmt.Printf("div_int8 -1%s127 = %d, wanted 0\n", `/`, got) 14264 failed = true 14265 } 14266 14267 if got := div_int8_127_ssa(0); got != 0 { 14268 fmt.Printf("div_int8 0%s127 = %d, wanted 0\n", `/`, got) 14269 failed = true 14270 } 14271 14272 if got := div_127_int8_ssa(1); got != 127 { 14273 fmt.Printf("div_int8 127%s1 = %d, wanted 127\n", `/`, got) 14274 failed = true 14275 } 14276 14277 if got := div_int8_127_ssa(1); got != 0 { 14278 fmt.Printf("div_int8 1%s127 = %d, wanted 0\n", `/`, got) 14279 failed = true 14280 } 14281 14282 if got := div_127_int8_ssa(126); got != 1 { 14283 fmt.Printf("div_int8 127%s126 = %d, wanted 1\n", `/`, got) 14284 failed = true 14285 } 14286 14287 if got := div_int8_127_ssa(126); got != 0 { 14288 fmt.Printf("div_int8 126%s127 = %d, wanted 0\n", `/`, got) 14289 failed = true 14290 } 14291 14292 if got := div_127_int8_ssa(127); got != 1 { 14293 fmt.Printf("div_int8 127%s127 = %d, wanted 1\n", `/`, got) 14294 failed = true 14295 } 14296 14297 if got := div_int8_127_ssa(127); got != 1 { 14298 fmt.Printf("div_int8 127%s127 = %d, wanted 1\n", `/`, got) 14299 failed = true 14300 } 14301 14302 if got := mul_Neg128_int8_ssa(-128); got != 0 { 14303 fmt.Printf("mul_int8 -128%s-128 = %d, wanted 0\n", `*`, got) 14304 failed = true 14305 } 14306 14307 if got := mul_int8_Neg128_ssa(-128); got != 0 { 14308 fmt.Printf("mul_int8 -128%s-128 = %d, wanted 0\n", `*`, got) 14309 failed = true 14310 } 14311 14312 if got := mul_Neg128_int8_ssa(-127); got != -128 { 14313 fmt.Printf("mul_int8 -128%s-127 = %d, wanted -128\n", `*`, got) 14314 failed = true 14315 } 14316 14317 if got := mul_int8_Neg128_ssa(-127); got != -128 { 14318 fmt.Printf("mul_int8 -127%s-128 = %d, wanted -128\n", `*`, got) 14319 failed = true 14320 } 14321 14322 if got := mul_Neg128_int8_ssa(-1); got != -128 { 14323 fmt.Printf("mul_int8 -128%s-1 = %d, wanted -128\n", `*`, got) 14324 failed = true 14325 } 14326 14327 if got := mul_int8_Neg128_ssa(-1); got != -128 { 14328 fmt.Printf("mul_int8 -1%s-128 = %d, wanted -128\n", `*`, got) 14329 failed = true 14330 } 14331 14332 if got := mul_Neg128_int8_ssa(0); got != 0 { 14333 fmt.Printf("mul_int8 -128%s0 = %d, wanted 0\n", `*`, got) 14334 failed = true 14335 } 14336 14337 if got := mul_int8_Neg128_ssa(0); got != 0 { 14338 fmt.Printf("mul_int8 0%s-128 = %d, wanted 0\n", `*`, got) 14339 failed = true 14340 } 14341 14342 if got := mul_Neg128_int8_ssa(1); got != -128 { 14343 fmt.Printf("mul_int8 -128%s1 = %d, wanted -128\n", `*`, got) 14344 failed = true 14345 } 14346 14347 if got := mul_int8_Neg128_ssa(1); got != -128 { 14348 fmt.Printf("mul_int8 1%s-128 = %d, wanted -128\n", `*`, got) 14349 failed = true 14350 } 14351 14352 if got := mul_Neg128_int8_ssa(126); got != 0 { 14353 fmt.Printf("mul_int8 -128%s126 = %d, wanted 0\n", `*`, got) 14354 failed = true 14355 } 14356 14357 if got := mul_int8_Neg128_ssa(126); got != 0 { 14358 fmt.Printf("mul_int8 126%s-128 = %d, wanted 0\n", `*`, got) 14359 failed = true 14360 } 14361 14362 if got := mul_Neg128_int8_ssa(127); got != -128 { 14363 fmt.Printf("mul_int8 -128%s127 = %d, wanted -128\n", `*`, got) 14364 failed = true 14365 } 14366 14367 if got := mul_int8_Neg128_ssa(127); got != -128 { 14368 fmt.Printf("mul_int8 127%s-128 = %d, wanted -128\n", `*`, got) 14369 failed = true 14370 } 14371 14372 if got := mul_Neg127_int8_ssa(-128); got != -128 { 14373 fmt.Printf("mul_int8 -127%s-128 = %d, wanted -128\n", `*`, got) 14374 failed = true 14375 } 14376 14377 if got := mul_int8_Neg127_ssa(-128); got != -128 { 14378 fmt.Printf("mul_int8 -128%s-127 = %d, wanted -128\n", `*`, got) 14379 failed = true 14380 } 14381 14382 if got := mul_Neg127_int8_ssa(-127); got != 1 { 14383 fmt.Printf("mul_int8 -127%s-127 = %d, wanted 1\n", `*`, got) 14384 failed = true 14385 } 14386 14387 if got := mul_int8_Neg127_ssa(-127); got != 1 { 14388 fmt.Printf("mul_int8 -127%s-127 = %d, wanted 1\n", `*`, got) 14389 failed = true 14390 } 14391 14392 if got := mul_Neg127_int8_ssa(-1); got != 127 { 14393 fmt.Printf("mul_int8 -127%s-1 = %d, wanted 127\n", `*`, got) 14394 failed = true 14395 } 14396 14397 if got := mul_int8_Neg127_ssa(-1); got != 127 { 14398 fmt.Printf("mul_int8 -1%s-127 = %d, wanted 127\n", `*`, got) 14399 failed = true 14400 } 14401 14402 if got := mul_Neg127_int8_ssa(0); got != 0 { 14403 fmt.Printf("mul_int8 -127%s0 = %d, wanted 0\n", `*`, got) 14404 failed = true 14405 } 14406 14407 if got := mul_int8_Neg127_ssa(0); got != 0 { 14408 fmt.Printf("mul_int8 0%s-127 = %d, wanted 0\n", `*`, got) 14409 failed = true 14410 } 14411 14412 if got := mul_Neg127_int8_ssa(1); got != -127 { 14413 fmt.Printf("mul_int8 -127%s1 = %d, wanted -127\n", `*`, got) 14414 failed = true 14415 } 14416 14417 if got := mul_int8_Neg127_ssa(1); got != -127 { 14418 fmt.Printf("mul_int8 1%s-127 = %d, wanted -127\n", `*`, got) 14419 failed = true 14420 } 14421 14422 if got := mul_Neg127_int8_ssa(126); got != 126 { 14423 fmt.Printf("mul_int8 -127%s126 = %d, wanted 126\n", `*`, got) 14424 failed = true 14425 } 14426 14427 if got := mul_int8_Neg127_ssa(126); got != 126 { 14428 fmt.Printf("mul_int8 126%s-127 = %d, wanted 126\n", `*`, got) 14429 failed = true 14430 } 14431 14432 if got := mul_Neg127_int8_ssa(127); got != -1 { 14433 fmt.Printf("mul_int8 -127%s127 = %d, wanted -1\n", `*`, got) 14434 failed = true 14435 } 14436 14437 if got := mul_int8_Neg127_ssa(127); got != -1 { 14438 fmt.Printf("mul_int8 127%s-127 = %d, wanted -1\n", `*`, got) 14439 failed = true 14440 } 14441 14442 if got := mul_Neg1_int8_ssa(-128); got != -128 { 14443 fmt.Printf("mul_int8 -1%s-128 = %d, wanted -128\n", `*`, got) 14444 failed = true 14445 } 14446 14447 if got := mul_int8_Neg1_ssa(-128); got != -128 { 14448 fmt.Printf("mul_int8 -128%s-1 = %d, wanted -128\n", `*`, got) 14449 failed = true 14450 } 14451 14452 if got := mul_Neg1_int8_ssa(-127); got != 127 { 14453 fmt.Printf("mul_int8 -1%s-127 = %d, wanted 127\n", `*`, got) 14454 failed = true 14455 } 14456 14457 if got := mul_int8_Neg1_ssa(-127); got != 127 { 14458 fmt.Printf("mul_int8 -127%s-1 = %d, wanted 127\n", `*`, got) 14459 failed = true 14460 } 14461 14462 if got := mul_Neg1_int8_ssa(-1); got != 1 { 14463 fmt.Printf("mul_int8 -1%s-1 = %d, wanted 1\n", `*`, got) 14464 failed = true 14465 } 14466 14467 if got := mul_int8_Neg1_ssa(-1); got != 1 { 14468 fmt.Printf("mul_int8 -1%s-1 = %d, wanted 1\n", `*`, got) 14469 failed = true 14470 } 14471 14472 if got := mul_Neg1_int8_ssa(0); got != 0 { 14473 fmt.Printf("mul_int8 -1%s0 = %d, wanted 0\n", `*`, got) 14474 failed = true 14475 } 14476 14477 if got := mul_int8_Neg1_ssa(0); got != 0 { 14478 fmt.Printf("mul_int8 0%s-1 = %d, wanted 0\n", `*`, got) 14479 failed = true 14480 } 14481 14482 if got := mul_Neg1_int8_ssa(1); got != -1 { 14483 fmt.Printf("mul_int8 -1%s1 = %d, wanted -1\n", `*`, got) 14484 failed = true 14485 } 14486 14487 if got := mul_int8_Neg1_ssa(1); got != -1 { 14488 fmt.Printf("mul_int8 1%s-1 = %d, wanted -1\n", `*`, got) 14489 failed = true 14490 } 14491 14492 if got := mul_Neg1_int8_ssa(126); got != -126 { 14493 fmt.Printf("mul_int8 -1%s126 = %d, wanted -126\n", `*`, got) 14494 failed = true 14495 } 14496 14497 if got := mul_int8_Neg1_ssa(126); got != -126 { 14498 fmt.Printf("mul_int8 126%s-1 = %d, wanted -126\n", `*`, got) 14499 failed = true 14500 } 14501 14502 if got := mul_Neg1_int8_ssa(127); got != -127 { 14503 fmt.Printf("mul_int8 -1%s127 = %d, wanted -127\n", `*`, got) 14504 failed = true 14505 } 14506 14507 if got := mul_int8_Neg1_ssa(127); got != -127 { 14508 fmt.Printf("mul_int8 127%s-1 = %d, wanted -127\n", `*`, got) 14509 failed = true 14510 } 14511 14512 if got := mul_0_int8_ssa(-128); got != 0 { 14513 fmt.Printf("mul_int8 0%s-128 = %d, wanted 0\n", `*`, got) 14514 failed = true 14515 } 14516 14517 if got := mul_int8_0_ssa(-128); got != 0 { 14518 fmt.Printf("mul_int8 -128%s0 = %d, wanted 0\n", `*`, got) 14519 failed = true 14520 } 14521 14522 if got := mul_0_int8_ssa(-127); got != 0 { 14523 fmt.Printf("mul_int8 0%s-127 = %d, wanted 0\n", `*`, got) 14524 failed = true 14525 } 14526 14527 if got := mul_int8_0_ssa(-127); got != 0 { 14528 fmt.Printf("mul_int8 -127%s0 = %d, wanted 0\n", `*`, got) 14529 failed = true 14530 } 14531 14532 if got := mul_0_int8_ssa(-1); got != 0 { 14533 fmt.Printf("mul_int8 0%s-1 = %d, wanted 0\n", `*`, got) 14534 failed = true 14535 } 14536 14537 if got := mul_int8_0_ssa(-1); got != 0 { 14538 fmt.Printf("mul_int8 -1%s0 = %d, wanted 0\n", `*`, got) 14539 failed = true 14540 } 14541 14542 if got := mul_0_int8_ssa(0); got != 0 { 14543 fmt.Printf("mul_int8 0%s0 = %d, wanted 0\n", `*`, got) 14544 failed = true 14545 } 14546 14547 if got := mul_int8_0_ssa(0); got != 0 { 14548 fmt.Printf("mul_int8 0%s0 = %d, wanted 0\n", `*`, got) 14549 failed = true 14550 } 14551 14552 if got := mul_0_int8_ssa(1); got != 0 { 14553 fmt.Printf("mul_int8 0%s1 = %d, wanted 0\n", `*`, got) 14554 failed = true 14555 } 14556 14557 if got := mul_int8_0_ssa(1); got != 0 { 14558 fmt.Printf("mul_int8 1%s0 = %d, wanted 0\n", `*`, got) 14559 failed = true 14560 } 14561 14562 if got := mul_0_int8_ssa(126); got != 0 { 14563 fmt.Printf("mul_int8 0%s126 = %d, wanted 0\n", `*`, got) 14564 failed = true 14565 } 14566 14567 if got := mul_int8_0_ssa(126); got != 0 { 14568 fmt.Printf("mul_int8 126%s0 = %d, wanted 0\n", `*`, got) 14569 failed = true 14570 } 14571 14572 if got := mul_0_int8_ssa(127); got != 0 { 14573 fmt.Printf("mul_int8 0%s127 = %d, wanted 0\n", `*`, got) 14574 failed = true 14575 } 14576 14577 if got := mul_int8_0_ssa(127); got != 0 { 14578 fmt.Printf("mul_int8 127%s0 = %d, wanted 0\n", `*`, got) 14579 failed = true 14580 } 14581 14582 if got := mul_1_int8_ssa(-128); got != -128 { 14583 fmt.Printf("mul_int8 1%s-128 = %d, wanted -128\n", `*`, got) 14584 failed = true 14585 } 14586 14587 if got := mul_int8_1_ssa(-128); got != -128 { 14588 fmt.Printf("mul_int8 -128%s1 = %d, wanted -128\n", `*`, got) 14589 failed = true 14590 } 14591 14592 if got := mul_1_int8_ssa(-127); got != -127 { 14593 fmt.Printf("mul_int8 1%s-127 = %d, wanted -127\n", `*`, got) 14594 failed = true 14595 } 14596 14597 if got := mul_int8_1_ssa(-127); got != -127 { 14598 fmt.Printf("mul_int8 -127%s1 = %d, wanted -127\n", `*`, got) 14599 failed = true 14600 } 14601 14602 if got := mul_1_int8_ssa(-1); got != -1 { 14603 fmt.Printf("mul_int8 1%s-1 = %d, wanted -1\n", `*`, got) 14604 failed = true 14605 } 14606 14607 if got := mul_int8_1_ssa(-1); got != -1 { 14608 fmt.Printf("mul_int8 -1%s1 = %d, wanted -1\n", `*`, got) 14609 failed = true 14610 } 14611 14612 if got := mul_1_int8_ssa(0); got != 0 { 14613 fmt.Printf("mul_int8 1%s0 = %d, wanted 0\n", `*`, got) 14614 failed = true 14615 } 14616 14617 if got := mul_int8_1_ssa(0); got != 0 { 14618 fmt.Printf("mul_int8 0%s1 = %d, wanted 0\n", `*`, got) 14619 failed = true 14620 } 14621 14622 if got := mul_1_int8_ssa(1); got != 1 { 14623 fmt.Printf("mul_int8 1%s1 = %d, wanted 1\n", `*`, got) 14624 failed = true 14625 } 14626 14627 if got := mul_int8_1_ssa(1); got != 1 { 14628 fmt.Printf("mul_int8 1%s1 = %d, wanted 1\n", `*`, got) 14629 failed = true 14630 } 14631 14632 if got := mul_1_int8_ssa(126); got != 126 { 14633 fmt.Printf("mul_int8 1%s126 = %d, wanted 126\n", `*`, got) 14634 failed = true 14635 } 14636 14637 if got := mul_int8_1_ssa(126); got != 126 { 14638 fmt.Printf("mul_int8 126%s1 = %d, wanted 126\n", `*`, got) 14639 failed = true 14640 } 14641 14642 if got := mul_1_int8_ssa(127); got != 127 { 14643 fmt.Printf("mul_int8 1%s127 = %d, wanted 127\n", `*`, got) 14644 failed = true 14645 } 14646 14647 if got := mul_int8_1_ssa(127); got != 127 { 14648 fmt.Printf("mul_int8 127%s1 = %d, wanted 127\n", `*`, got) 14649 failed = true 14650 } 14651 14652 if got := mul_126_int8_ssa(-128); got != 0 { 14653 fmt.Printf("mul_int8 126%s-128 = %d, wanted 0\n", `*`, got) 14654 failed = true 14655 } 14656 14657 if got := mul_int8_126_ssa(-128); got != 0 { 14658 fmt.Printf("mul_int8 -128%s126 = %d, wanted 0\n", `*`, got) 14659 failed = true 14660 } 14661 14662 if got := mul_126_int8_ssa(-127); got != 126 { 14663 fmt.Printf("mul_int8 126%s-127 = %d, wanted 126\n", `*`, got) 14664 failed = true 14665 } 14666 14667 if got := mul_int8_126_ssa(-127); got != 126 { 14668 fmt.Printf("mul_int8 -127%s126 = %d, wanted 126\n", `*`, got) 14669 failed = true 14670 } 14671 14672 if got := mul_126_int8_ssa(-1); got != -126 { 14673 fmt.Printf("mul_int8 126%s-1 = %d, wanted -126\n", `*`, got) 14674 failed = true 14675 } 14676 14677 if got := mul_int8_126_ssa(-1); got != -126 { 14678 fmt.Printf("mul_int8 -1%s126 = %d, wanted -126\n", `*`, got) 14679 failed = true 14680 } 14681 14682 if got := mul_126_int8_ssa(0); got != 0 { 14683 fmt.Printf("mul_int8 126%s0 = %d, wanted 0\n", `*`, got) 14684 failed = true 14685 } 14686 14687 if got := mul_int8_126_ssa(0); got != 0 { 14688 fmt.Printf("mul_int8 0%s126 = %d, wanted 0\n", `*`, got) 14689 failed = true 14690 } 14691 14692 if got := mul_126_int8_ssa(1); got != 126 { 14693 fmt.Printf("mul_int8 126%s1 = %d, wanted 126\n", `*`, got) 14694 failed = true 14695 } 14696 14697 if got := mul_int8_126_ssa(1); got != 126 { 14698 fmt.Printf("mul_int8 1%s126 = %d, wanted 126\n", `*`, got) 14699 failed = true 14700 } 14701 14702 if got := mul_126_int8_ssa(126); got != 4 { 14703 fmt.Printf("mul_int8 126%s126 = %d, wanted 4\n", `*`, got) 14704 failed = true 14705 } 14706 14707 if got := mul_int8_126_ssa(126); got != 4 { 14708 fmt.Printf("mul_int8 126%s126 = %d, wanted 4\n", `*`, got) 14709 failed = true 14710 } 14711 14712 if got := mul_126_int8_ssa(127); got != -126 { 14713 fmt.Printf("mul_int8 126%s127 = %d, wanted -126\n", `*`, got) 14714 failed = true 14715 } 14716 14717 if got := mul_int8_126_ssa(127); got != -126 { 14718 fmt.Printf("mul_int8 127%s126 = %d, wanted -126\n", `*`, got) 14719 failed = true 14720 } 14721 14722 if got := mul_127_int8_ssa(-128); got != -128 { 14723 fmt.Printf("mul_int8 127%s-128 = %d, wanted -128\n", `*`, got) 14724 failed = true 14725 } 14726 14727 if got := mul_int8_127_ssa(-128); got != -128 { 14728 fmt.Printf("mul_int8 -128%s127 = %d, wanted -128\n", `*`, got) 14729 failed = true 14730 } 14731 14732 if got := mul_127_int8_ssa(-127); got != -1 { 14733 fmt.Printf("mul_int8 127%s-127 = %d, wanted -1\n", `*`, got) 14734 failed = true 14735 } 14736 14737 if got := mul_int8_127_ssa(-127); got != -1 { 14738 fmt.Printf("mul_int8 -127%s127 = %d, wanted -1\n", `*`, got) 14739 failed = true 14740 } 14741 14742 if got := mul_127_int8_ssa(-1); got != -127 { 14743 fmt.Printf("mul_int8 127%s-1 = %d, wanted -127\n", `*`, got) 14744 failed = true 14745 } 14746 14747 if got := mul_int8_127_ssa(-1); got != -127 { 14748 fmt.Printf("mul_int8 -1%s127 = %d, wanted -127\n", `*`, got) 14749 failed = true 14750 } 14751 14752 if got := mul_127_int8_ssa(0); got != 0 { 14753 fmt.Printf("mul_int8 127%s0 = %d, wanted 0\n", `*`, got) 14754 failed = true 14755 } 14756 14757 if got := mul_int8_127_ssa(0); got != 0 { 14758 fmt.Printf("mul_int8 0%s127 = %d, wanted 0\n", `*`, got) 14759 failed = true 14760 } 14761 14762 if got := mul_127_int8_ssa(1); got != 127 { 14763 fmt.Printf("mul_int8 127%s1 = %d, wanted 127\n", `*`, got) 14764 failed = true 14765 } 14766 14767 if got := mul_int8_127_ssa(1); got != 127 { 14768 fmt.Printf("mul_int8 1%s127 = %d, wanted 127\n", `*`, got) 14769 failed = true 14770 } 14771 14772 if got := mul_127_int8_ssa(126); got != -126 { 14773 fmt.Printf("mul_int8 127%s126 = %d, wanted -126\n", `*`, got) 14774 failed = true 14775 } 14776 14777 if got := mul_int8_127_ssa(126); got != -126 { 14778 fmt.Printf("mul_int8 126%s127 = %d, wanted -126\n", `*`, got) 14779 failed = true 14780 } 14781 14782 if got := mul_127_int8_ssa(127); got != 1 { 14783 fmt.Printf("mul_int8 127%s127 = %d, wanted 1\n", `*`, got) 14784 failed = true 14785 } 14786 14787 if got := mul_int8_127_ssa(127); got != 1 { 14788 fmt.Printf("mul_int8 127%s127 = %d, wanted 1\n", `*`, got) 14789 failed = true 14790 } 14791 14792 if got := mod_Neg128_int8_ssa(-128); got != 0 { 14793 fmt.Printf("mod_int8 -128%s-128 = %d, wanted 0\n", `%`, got) 14794 failed = true 14795 } 14796 14797 if got := mod_int8_Neg128_ssa(-128); got != 0 { 14798 fmt.Printf("mod_int8 -128%s-128 = %d, wanted 0\n", `%`, got) 14799 failed = true 14800 } 14801 14802 if got := mod_Neg128_int8_ssa(-127); got != -1 { 14803 fmt.Printf("mod_int8 -128%s-127 = %d, wanted -1\n", `%`, got) 14804 failed = true 14805 } 14806 14807 if got := mod_int8_Neg128_ssa(-127); got != -127 { 14808 fmt.Printf("mod_int8 -127%s-128 = %d, wanted -127\n", `%`, got) 14809 failed = true 14810 } 14811 14812 if got := mod_Neg128_int8_ssa(-1); got != 0 { 14813 fmt.Printf("mod_int8 -128%s-1 = %d, wanted 0\n", `%`, got) 14814 failed = true 14815 } 14816 14817 if got := mod_int8_Neg128_ssa(-1); got != -1 { 14818 fmt.Printf("mod_int8 -1%s-128 = %d, wanted -1\n", `%`, got) 14819 failed = true 14820 } 14821 14822 if got := mod_int8_Neg128_ssa(0); got != 0 { 14823 fmt.Printf("mod_int8 0%s-128 = %d, wanted 0\n", `%`, got) 14824 failed = true 14825 } 14826 14827 if got := mod_Neg128_int8_ssa(1); got != 0 { 14828 fmt.Printf("mod_int8 -128%s1 = %d, wanted 0\n", `%`, got) 14829 failed = true 14830 } 14831 14832 if got := mod_int8_Neg128_ssa(1); got != 1 { 14833 fmt.Printf("mod_int8 1%s-128 = %d, wanted 1\n", `%`, got) 14834 failed = true 14835 } 14836 14837 if got := mod_Neg128_int8_ssa(126); got != -2 { 14838 fmt.Printf("mod_int8 -128%s126 = %d, wanted -2\n", `%`, got) 14839 failed = true 14840 } 14841 14842 if got := mod_int8_Neg128_ssa(126); got != 126 { 14843 fmt.Printf("mod_int8 126%s-128 = %d, wanted 126\n", `%`, got) 14844 failed = true 14845 } 14846 14847 if got := mod_Neg128_int8_ssa(127); got != -1 { 14848 fmt.Printf("mod_int8 -128%s127 = %d, wanted -1\n", `%`, got) 14849 failed = true 14850 } 14851 14852 if got := mod_int8_Neg128_ssa(127); got != 127 { 14853 fmt.Printf("mod_int8 127%s-128 = %d, wanted 127\n", `%`, got) 14854 failed = true 14855 } 14856 14857 if got := mod_Neg127_int8_ssa(-128); got != -127 { 14858 fmt.Printf("mod_int8 -127%s-128 = %d, wanted -127\n", `%`, got) 14859 failed = true 14860 } 14861 14862 if got := mod_int8_Neg127_ssa(-128); got != -1 { 14863 fmt.Printf("mod_int8 -128%s-127 = %d, wanted -1\n", `%`, got) 14864 failed = true 14865 } 14866 14867 if got := mod_Neg127_int8_ssa(-127); got != 0 { 14868 fmt.Printf("mod_int8 -127%s-127 = %d, wanted 0\n", `%`, got) 14869 failed = true 14870 } 14871 14872 if got := mod_int8_Neg127_ssa(-127); got != 0 { 14873 fmt.Printf("mod_int8 -127%s-127 = %d, wanted 0\n", `%`, got) 14874 failed = true 14875 } 14876 14877 if got := mod_Neg127_int8_ssa(-1); got != 0 { 14878 fmt.Printf("mod_int8 -127%s-1 = %d, wanted 0\n", `%`, got) 14879 failed = true 14880 } 14881 14882 if got := mod_int8_Neg127_ssa(-1); got != -1 { 14883 fmt.Printf("mod_int8 -1%s-127 = %d, wanted -1\n", `%`, got) 14884 failed = true 14885 } 14886 14887 if got := mod_int8_Neg127_ssa(0); got != 0 { 14888 fmt.Printf("mod_int8 0%s-127 = %d, wanted 0\n", `%`, got) 14889 failed = true 14890 } 14891 14892 if got := mod_Neg127_int8_ssa(1); got != 0 { 14893 fmt.Printf("mod_int8 -127%s1 = %d, wanted 0\n", `%`, got) 14894 failed = true 14895 } 14896 14897 if got := mod_int8_Neg127_ssa(1); got != 1 { 14898 fmt.Printf("mod_int8 1%s-127 = %d, wanted 1\n", `%`, got) 14899 failed = true 14900 } 14901 14902 if got := mod_Neg127_int8_ssa(126); got != -1 { 14903 fmt.Printf("mod_int8 -127%s126 = %d, wanted -1\n", `%`, got) 14904 failed = true 14905 } 14906 14907 if got := mod_int8_Neg127_ssa(126); got != 126 { 14908 fmt.Printf("mod_int8 126%s-127 = %d, wanted 126\n", `%`, got) 14909 failed = true 14910 } 14911 14912 if got := mod_Neg127_int8_ssa(127); got != 0 { 14913 fmt.Printf("mod_int8 -127%s127 = %d, wanted 0\n", `%`, got) 14914 failed = true 14915 } 14916 14917 if got := mod_int8_Neg127_ssa(127); got != 0 { 14918 fmt.Printf("mod_int8 127%s-127 = %d, wanted 0\n", `%`, got) 14919 failed = true 14920 } 14921 14922 if got := mod_Neg1_int8_ssa(-128); got != -1 { 14923 fmt.Printf("mod_int8 -1%s-128 = %d, wanted -1\n", `%`, got) 14924 failed = true 14925 } 14926 14927 if got := mod_int8_Neg1_ssa(-128); got != 0 { 14928 fmt.Printf("mod_int8 -128%s-1 = %d, wanted 0\n", `%`, got) 14929 failed = true 14930 } 14931 14932 if got := mod_Neg1_int8_ssa(-127); got != -1 { 14933 fmt.Printf("mod_int8 -1%s-127 = %d, wanted -1\n", `%`, got) 14934 failed = true 14935 } 14936 14937 if got := mod_int8_Neg1_ssa(-127); got != 0 { 14938 fmt.Printf("mod_int8 -127%s-1 = %d, wanted 0\n", `%`, got) 14939 failed = true 14940 } 14941 14942 if got := mod_Neg1_int8_ssa(-1); got != 0 { 14943 fmt.Printf("mod_int8 -1%s-1 = %d, wanted 0\n", `%`, got) 14944 failed = true 14945 } 14946 14947 if got := mod_int8_Neg1_ssa(-1); got != 0 { 14948 fmt.Printf("mod_int8 -1%s-1 = %d, wanted 0\n", `%`, got) 14949 failed = true 14950 } 14951 14952 if got := mod_int8_Neg1_ssa(0); got != 0 { 14953 fmt.Printf("mod_int8 0%s-1 = %d, wanted 0\n", `%`, got) 14954 failed = true 14955 } 14956 14957 if got := mod_Neg1_int8_ssa(1); got != 0 { 14958 fmt.Printf("mod_int8 -1%s1 = %d, wanted 0\n", `%`, got) 14959 failed = true 14960 } 14961 14962 if got := mod_int8_Neg1_ssa(1); got != 0 { 14963 fmt.Printf("mod_int8 1%s-1 = %d, wanted 0\n", `%`, got) 14964 failed = true 14965 } 14966 14967 if got := mod_Neg1_int8_ssa(126); got != -1 { 14968 fmt.Printf("mod_int8 -1%s126 = %d, wanted -1\n", `%`, got) 14969 failed = true 14970 } 14971 14972 if got := mod_int8_Neg1_ssa(126); got != 0 { 14973 fmt.Printf("mod_int8 126%s-1 = %d, wanted 0\n", `%`, got) 14974 failed = true 14975 } 14976 14977 if got := mod_Neg1_int8_ssa(127); got != -1 { 14978 fmt.Printf("mod_int8 -1%s127 = %d, wanted -1\n", `%`, got) 14979 failed = true 14980 } 14981 14982 if got := mod_int8_Neg1_ssa(127); got != 0 { 14983 fmt.Printf("mod_int8 127%s-1 = %d, wanted 0\n", `%`, got) 14984 failed = true 14985 } 14986 14987 if got := mod_0_int8_ssa(-128); got != 0 { 14988 fmt.Printf("mod_int8 0%s-128 = %d, wanted 0\n", `%`, got) 14989 failed = true 14990 } 14991 14992 if got := mod_0_int8_ssa(-127); got != 0 { 14993 fmt.Printf("mod_int8 0%s-127 = %d, wanted 0\n", `%`, got) 14994 failed = true 14995 } 14996 14997 if got := mod_0_int8_ssa(-1); got != 0 { 14998 fmt.Printf("mod_int8 0%s-1 = %d, wanted 0\n", `%`, got) 14999 failed = true 15000 } 15001 15002 if got := mod_0_int8_ssa(1); got != 0 { 15003 fmt.Printf("mod_int8 0%s1 = %d, wanted 0\n", `%`, got) 15004 failed = true 15005 } 15006 15007 if got := mod_0_int8_ssa(126); got != 0 { 15008 fmt.Printf("mod_int8 0%s126 = %d, wanted 0\n", `%`, got) 15009 failed = true 15010 } 15011 15012 if got := mod_0_int8_ssa(127); got != 0 { 15013 fmt.Printf("mod_int8 0%s127 = %d, wanted 0\n", `%`, got) 15014 failed = true 15015 } 15016 15017 if got := mod_1_int8_ssa(-128); got != 1 { 15018 fmt.Printf("mod_int8 1%s-128 = %d, wanted 1\n", `%`, got) 15019 failed = true 15020 } 15021 15022 if got := mod_int8_1_ssa(-128); got != 0 { 15023 fmt.Printf("mod_int8 -128%s1 = %d, wanted 0\n", `%`, got) 15024 failed = true 15025 } 15026 15027 if got := mod_1_int8_ssa(-127); got != 1 { 15028 fmt.Printf("mod_int8 1%s-127 = %d, wanted 1\n", `%`, got) 15029 failed = true 15030 } 15031 15032 if got := mod_int8_1_ssa(-127); got != 0 { 15033 fmt.Printf("mod_int8 -127%s1 = %d, wanted 0\n", `%`, got) 15034 failed = true 15035 } 15036 15037 if got := mod_1_int8_ssa(-1); got != 0 { 15038 fmt.Printf("mod_int8 1%s-1 = %d, wanted 0\n", `%`, got) 15039 failed = true 15040 } 15041 15042 if got := mod_int8_1_ssa(-1); got != 0 { 15043 fmt.Printf("mod_int8 -1%s1 = %d, wanted 0\n", `%`, got) 15044 failed = true 15045 } 15046 15047 if got := mod_int8_1_ssa(0); got != 0 { 15048 fmt.Printf("mod_int8 0%s1 = %d, wanted 0\n", `%`, got) 15049 failed = true 15050 } 15051 15052 if got := mod_1_int8_ssa(1); got != 0 { 15053 fmt.Printf("mod_int8 1%s1 = %d, wanted 0\n", `%`, got) 15054 failed = true 15055 } 15056 15057 if got := mod_int8_1_ssa(1); got != 0 { 15058 fmt.Printf("mod_int8 1%s1 = %d, wanted 0\n", `%`, got) 15059 failed = true 15060 } 15061 15062 if got := mod_1_int8_ssa(126); got != 1 { 15063 fmt.Printf("mod_int8 1%s126 = %d, wanted 1\n", `%`, got) 15064 failed = true 15065 } 15066 15067 if got := mod_int8_1_ssa(126); got != 0 { 15068 fmt.Printf("mod_int8 126%s1 = %d, wanted 0\n", `%`, got) 15069 failed = true 15070 } 15071 15072 if got := mod_1_int8_ssa(127); got != 1 { 15073 fmt.Printf("mod_int8 1%s127 = %d, wanted 1\n", `%`, got) 15074 failed = true 15075 } 15076 15077 if got := mod_int8_1_ssa(127); got != 0 { 15078 fmt.Printf("mod_int8 127%s1 = %d, wanted 0\n", `%`, got) 15079 failed = true 15080 } 15081 15082 if got := mod_126_int8_ssa(-128); got != 126 { 15083 fmt.Printf("mod_int8 126%s-128 = %d, wanted 126\n", `%`, got) 15084 failed = true 15085 } 15086 15087 if got := mod_int8_126_ssa(-128); got != -2 { 15088 fmt.Printf("mod_int8 -128%s126 = %d, wanted -2\n", `%`, got) 15089 failed = true 15090 } 15091 15092 if got := mod_126_int8_ssa(-127); got != 126 { 15093 fmt.Printf("mod_int8 126%s-127 = %d, wanted 126\n", `%`, got) 15094 failed = true 15095 } 15096 15097 if got := mod_int8_126_ssa(-127); got != -1 { 15098 fmt.Printf("mod_int8 -127%s126 = %d, wanted -1\n", `%`, got) 15099 failed = true 15100 } 15101 15102 if got := mod_126_int8_ssa(-1); got != 0 { 15103 fmt.Printf("mod_int8 126%s-1 = %d, wanted 0\n", `%`, got) 15104 failed = true 15105 } 15106 15107 if got := mod_int8_126_ssa(-1); got != -1 { 15108 fmt.Printf("mod_int8 -1%s126 = %d, wanted -1\n", `%`, got) 15109 failed = true 15110 } 15111 15112 if got := mod_int8_126_ssa(0); got != 0 { 15113 fmt.Printf("mod_int8 0%s126 = %d, wanted 0\n", `%`, got) 15114 failed = true 15115 } 15116 15117 if got := mod_126_int8_ssa(1); got != 0 { 15118 fmt.Printf("mod_int8 126%s1 = %d, wanted 0\n", `%`, got) 15119 failed = true 15120 } 15121 15122 if got := mod_int8_126_ssa(1); got != 1 { 15123 fmt.Printf("mod_int8 1%s126 = %d, wanted 1\n", `%`, got) 15124 failed = true 15125 } 15126 15127 if got := mod_126_int8_ssa(126); got != 0 { 15128 fmt.Printf("mod_int8 126%s126 = %d, wanted 0\n", `%`, got) 15129 failed = true 15130 } 15131 15132 if got := mod_int8_126_ssa(126); got != 0 { 15133 fmt.Printf("mod_int8 126%s126 = %d, wanted 0\n", `%`, got) 15134 failed = true 15135 } 15136 15137 if got := mod_126_int8_ssa(127); got != 126 { 15138 fmt.Printf("mod_int8 126%s127 = %d, wanted 126\n", `%`, got) 15139 failed = true 15140 } 15141 15142 if got := mod_int8_126_ssa(127); got != 1 { 15143 fmt.Printf("mod_int8 127%s126 = %d, wanted 1\n", `%`, got) 15144 failed = true 15145 } 15146 15147 if got := mod_127_int8_ssa(-128); got != 127 { 15148 fmt.Printf("mod_int8 127%s-128 = %d, wanted 127\n", `%`, got) 15149 failed = true 15150 } 15151 15152 if got := mod_int8_127_ssa(-128); got != -1 { 15153 fmt.Printf("mod_int8 -128%s127 = %d, wanted -1\n", `%`, got) 15154 failed = true 15155 } 15156 15157 if got := mod_127_int8_ssa(-127); got != 0 { 15158 fmt.Printf("mod_int8 127%s-127 = %d, wanted 0\n", `%`, got) 15159 failed = true 15160 } 15161 15162 if got := mod_int8_127_ssa(-127); got != 0 { 15163 fmt.Printf("mod_int8 -127%s127 = %d, wanted 0\n", `%`, got) 15164 failed = true 15165 } 15166 15167 if got := mod_127_int8_ssa(-1); got != 0 { 15168 fmt.Printf("mod_int8 127%s-1 = %d, wanted 0\n", `%`, got) 15169 failed = true 15170 } 15171 15172 if got := mod_int8_127_ssa(-1); got != -1 { 15173 fmt.Printf("mod_int8 -1%s127 = %d, wanted -1\n", `%`, got) 15174 failed = true 15175 } 15176 15177 if got := mod_int8_127_ssa(0); got != 0 { 15178 fmt.Printf("mod_int8 0%s127 = %d, wanted 0\n", `%`, got) 15179 failed = true 15180 } 15181 15182 if got := mod_127_int8_ssa(1); got != 0 { 15183 fmt.Printf("mod_int8 127%s1 = %d, wanted 0\n", `%`, got) 15184 failed = true 15185 } 15186 15187 if got := mod_int8_127_ssa(1); got != 1 { 15188 fmt.Printf("mod_int8 1%s127 = %d, wanted 1\n", `%`, got) 15189 failed = true 15190 } 15191 15192 if got := mod_127_int8_ssa(126); got != 1 { 15193 fmt.Printf("mod_int8 127%s126 = %d, wanted 1\n", `%`, got) 15194 failed = true 15195 } 15196 15197 if got := mod_int8_127_ssa(126); got != 126 { 15198 fmt.Printf("mod_int8 126%s127 = %d, wanted 126\n", `%`, got) 15199 failed = true 15200 } 15201 15202 if got := mod_127_int8_ssa(127); got != 0 { 15203 fmt.Printf("mod_int8 127%s127 = %d, wanted 0\n", `%`, got) 15204 failed = true 15205 } 15206 15207 if got := mod_int8_127_ssa(127); got != 0 { 15208 fmt.Printf("mod_int8 127%s127 = %d, wanted 0\n", `%`, got) 15209 failed = true 15210 } 15211 if failed { 15212 panic("tests failed") 15213 } 15214 }