github.com/FenixAra/go@v0.0.0-20170127160404-96ea0918e670/src/cmd/compile/internal/gc/testdata/arithConst.go (about) 1 package main 2 3 import "fmt" 4 5 //go:noinline 6 func add_uint64_0_ssa(a uint64) uint64 { 7 return a + 0 8 } 9 10 //go:noinline 11 func add_0_uint64_ssa(a uint64) uint64 { 12 return 0 + a 13 } 14 15 //go:noinline 16 func add_uint64_1_ssa(a uint64) uint64 { 17 return a + 1 18 } 19 20 //go:noinline 21 func add_1_uint64_ssa(a uint64) uint64 { 22 return 1 + a 23 } 24 25 //go:noinline 26 func add_uint64_4294967296_ssa(a uint64) uint64 { 27 return a + 4294967296 28 } 29 30 //go:noinline 31 func add_4294967296_uint64_ssa(a uint64) uint64 { 32 return 4294967296 + a 33 } 34 35 //go:noinline 36 func add_uint64_18446744073709551615_ssa(a uint64) uint64 { 37 return a + 18446744073709551615 38 } 39 40 //go:noinline 41 func add_18446744073709551615_uint64_ssa(a uint64) uint64 { 42 return 18446744073709551615 + a 43 } 44 45 //go:noinline 46 func sub_uint64_0_ssa(a uint64) uint64 { 47 return a - 0 48 } 49 50 //go:noinline 51 func sub_0_uint64_ssa(a uint64) uint64 { 52 return 0 - a 53 } 54 55 //go:noinline 56 func sub_uint64_1_ssa(a uint64) uint64 { 57 return a - 1 58 } 59 60 //go:noinline 61 func sub_1_uint64_ssa(a uint64) uint64 { 62 return 1 - a 63 } 64 65 //go:noinline 66 func sub_uint64_4294967296_ssa(a uint64) uint64 { 67 return a - 4294967296 68 } 69 70 //go:noinline 71 func sub_4294967296_uint64_ssa(a uint64) uint64 { 72 return 4294967296 - a 73 } 74 75 //go:noinline 76 func sub_uint64_18446744073709551615_ssa(a uint64) uint64 { 77 return a - 18446744073709551615 78 } 79 80 //go:noinline 81 func sub_18446744073709551615_uint64_ssa(a uint64) uint64 { 82 return 18446744073709551615 - a 83 } 84 85 //go:noinline 86 func div_0_uint64_ssa(a uint64) uint64 { 87 return 0 / a 88 } 89 90 //go:noinline 91 func div_uint64_1_ssa(a uint64) uint64 { 92 return a / 1 93 } 94 95 //go:noinline 96 func div_1_uint64_ssa(a uint64) uint64 { 97 return 1 / a 98 } 99 100 //go:noinline 101 func div_uint64_4294967296_ssa(a uint64) uint64 { 102 return a / 4294967296 103 } 104 105 //go:noinline 106 func div_4294967296_uint64_ssa(a uint64) uint64 { 107 return 4294967296 / a 108 } 109 110 //go:noinline 111 func div_uint64_18446744073709551615_ssa(a uint64) uint64 { 112 return a / 18446744073709551615 113 } 114 115 //go:noinline 116 func div_18446744073709551615_uint64_ssa(a uint64) uint64 { 117 return 18446744073709551615 / a 118 } 119 120 //go:noinline 121 func mul_uint64_0_ssa(a uint64) uint64 { 122 return a * 0 123 } 124 125 //go:noinline 126 func mul_0_uint64_ssa(a uint64) uint64 { 127 return 0 * a 128 } 129 130 //go:noinline 131 func mul_uint64_1_ssa(a uint64) uint64 { 132 return a * 1 133 } 134 135 //go:noinline 136 func mul_1_uint64_ssa(a uint64) uint64 { 137 return 1 * a 138 } 139 140 //go:noinline 141 func mul_uint64_4294967296_ssa(a uint64) uint64 { 142 return a * 4294967296 143 } 144 145 //go:noinline 146 func mul_4294967296_uint64_ssa(a uint64) uint64 { 147 return 4294967296 * a 148 } 149 150 //go:noinline 151 func mul_uint64_18446744073709551615_ssa(a uint64) uint64 { 152 return a * 18446744073709551615 153 } 154 155 //go:noinline 156 func mul_18446744073709551615_uint64_ssa(a uint64) uint64 { 157 return 18446744073709551615 * a 158 } 159 160 //go:noinline 161 func lsh_uint64_0_ssa(a uint64) uint64 { 162 return a << 0 163 } 164 165 //go:noinline 166 func lsh_0_uint64_ssa(a uint64) uint64 { 167 return 0 << a 168 } 169 170 //go:noinline 171 func lsh_uint64_1_ssa(a uint64) uint64 { 172 return a << 1 173 } 174 175 //go:noinline 176 func lsh_1_uint64_ssa(a uint64) uint64 { 177 return 1 << a 178 } 179 180 //go:noinline 181 func lsh_uint64_4294967296_ssa(a uint64) uint64 { 182 return a << uint64(4294967296) 183 } 184 185 //go:noinline 186 func lsh_4294967296_uint64_ssa(a uint64) uint64 { 187 return 4294967296 << a 188 } 189 190 //go:noinline 191 func lsh_uint64_18446744073709551615_ssa(a uint64) uint64 { 192 return a << uint64(18446744073709551615) 193 } 194 195 //go:noinline 196 func lsh_18446744073709551615_uint64_ssa(a uint64) uint64 { 197 return 18446744073709551615 << a 198 } 199 200 //go:noinline 201 func rsh_uint64_0_ssa(a uint64) uint64 { 202 return a >> 0 203 } 204 205 //go:noinline 206 func rsh_0_uint64_ssa(a uint64) uint64 { 207 return 0 >> a 208 } 209 210 //go:noinline 211 func rsh_uint64_1_ssa(a uint64) uint64 { 212 return a >> 1 213 } 214 215 //go:noinline 216 func rsh_1_uint64_ssa(a uint64) uint64 { 217 return 1 >> a 218 } 219 220 //go:noinline 221 func rsh_uint64_4294967296_ssa(a uint64) uint64 { 222 return a >> uint64(4294967296) 223 } 224 225 //go:noinline 226 func rsh_4294967296_uint64_ssa(a uint64) uint64 { 227 return 4294967296 >> a 228 } 229 230 //go:noinline 231 func rsh_uint64_18446744073709551615_ssa(a uint64) uint64 { 232 return a >> uint64(18446744073709551615) 233 } 234 235 //go:noinline 236 func rsh_18446744073709551615_uint64_ssa(a uint64) uint64 { 237 return 18446744073709551615 >> a 238 } 239 240 //go:noinline 241 func mod_0_uint64_ssa(a uint64) uint64 { 242 return 0 % a 243 } 244 245 //go:noinline 246 func mod_uint64_1_ssa(a uint64) uint64 { 247 return a % 1 248 } 249 250 //go:noinline 251 func mod_1_uint64_ssa(a uint64) uint64 { 252 return 1 % a 253 } 254 255 //go:noinline 256 func mod_uint64_4294967296_ssa(a uint64) uint64 { 257 return a % 4294967296 258 } 259 260 //go:noinline 261 func mod_4294967296_uint64_ssa(a uint64) uint64 { 262 return 4294967296 % a 263 } 264 265 //go:noinline 266 func mod_uint64_18446744073709551615_ssa(a uint64) uint64 { 267 return a % 18446744073709551615 268 } 269 270 //go:noinline 271 func mod_18446744073709551615_uint64_ssa(a uint64) uint64 { 272 return 18446744073709551615 % a 273 } 274 275 //go:noinline 276 func add_int64_Neg9223372036854775808_ssa(a int64) int64 { 277 return a + -9223372036854775808 278 } 279 280 //go:noinline 281 func add_Neg9223372036854775808_int64_ssa(a int64) int64 { 282 return -9223372036854775808 + a 283 } 284 285 //go:noinline 286 func add_int64_Neg9223372036854775807_ssa(a int64) int64 { 287 return a + -9223372036854775807 288 } 289 290 //go:noinline 291 func add_Neg9223372036854775807_int64_ssa(a int64) int64 { 292 return -9223372036854775807 + a 293 } 294 295 //go:noinline 296 func add_int64_Neg4294967296_ssa(a int64) int64 { 297 return a + -4294967296 298 } 299 300 //go:noinline 301 func add_Neg4294967296_int64_ssa(a int64) int64 { 302 return -4294967296 + a 303 } 304 305 //go:noinline 306 func add_int64_Neg1_ssa(a int64) int64 { 307 return a + -1 308 } 309 310 //go:noinline 311 func add_Neg1_int64_ssa(a int64) int64 { 312 return -1 + a 313 } 314 315 //go:noinline 316 func add_int64_0_ssa(a int64) int64 { 317 return a + 0 318 } 319 320 //go:noinline 321 func add_0_int64_ssa(a int64) int64 { 322 return 0 + a 323 } 324 325 //go:noinline 326 func add_int64_1_ssa(a int64) int64 { 327 return a + 1 328 } 329 330 //go:noinline 331 func add_1_int64_ssa(a int64) int64 { 332 return 1 + a 333 } 334 335 //go:noinline 336 func add_int64_4294967296_ssa(a int64) int64 { 337 return a + 4294967296 338 } 339 340 //go:noinline 341 func add_4294967296_int64_ssa(a int64) int64 { 342 return 4294967296 + a 343 } 344 345 //go:noinline 346 func add_int64_9223372036854775806_ssa(a int64) int64 { 347 return a + 9223372036854775806 348 } 349 350 //go:noinline 351 func add_9223372036854775806_int64_ssa(a int64) int64 { 352 return 9223372036854775806 + a 353 } 354 355 //go:noinline 356 func add_int64_9223372036854775807_ssa(a int64) int64 { 357 return a + 9223372036854775807 358 } 359 360 //go:noinline 361 func add_9223372036854775807_int64_ssa(a int64) int64 { 362 return 9223372036854775807 + a 363 } 364 365 //go:noinline 366 func sub_int64_Neg9223372036854775808_ssa(a int64) int64 { 367 return a - -9223372036854775808 368 } 369 370 //go:noinline 371 func sub_Neg9223372036854775808_int64_ssa(a int64) int64 { 372 return -9223372036854775808 - a 373 } 374 375 //go:noinline 376 func sub_int64_Neg9223372036854775807_ssa(a int64) int64 { 377 return a - -9223372036854775807 378 } 379 380 //go:noinline 381 func sub_Neg9223372036854775807_int64_ssa(a int64) int64 { 382 return -9223372036854775807 - a 383 } 384 385 //go:noinline 386 func sub_int64_Neg4294967296_ssa(a int64) int64 { 387 return a - -4294967296 388 } 389 390 //go:noinline 391 func sub_Neg4294967296_int64_ssa(a int64) int64 { 392 return -4294967296 - a 393 } 394 395 //go:noinline 396 func sub_int64_Neg1_ssa(a int64) int64 { 397 return a - -1 398 } 399 400 //go:noinline 401 func sub_Neg1_int64_ssa(a int64) int64 { 402 return -1 - a 403 } 404 405 //go:noinline 406 func sub_int64_0_ssa(a int64) int64 { 407 return a - 0 408 } 409 410 //go:noinline 411 func sub_0_int64_ssa(a int64) int64 { 412 return 0 - a 413 } 414 415 //go:noinline 416 func sub_int64_1_ssa(a int64) int64 { 417 return a - 1 418 } 419 420 //go:noinline 421 func sub_1_int64_ssa(a int64) int64 { 422 return 1 - a 423 } 424 425 //go:noinline 426 func sub_int64_4294967296_ssa(a int64) int64 { 427 return a - 4294967296 428 } 429 430 //go:noinline 431 func sub_4294967296_int64_ssa(a int64) int64 { 432 return 4294967296 - a 433 } 434 435 //go:noinline 436 func sub_int64_9223372036854775806_ssa(a int64) int64 { 437 return a - 9223372036854775806 438 } 439 440 //go:noinline 441 func sub_9223372036854775806_int64_ssa(a int64) int64 { 442 return 9223372036854775806 - a 443 } 444 445 //go:noinline 446 func sub_int64_9223372036854775807_ssa(a int64) int64 { 447 return a - 9223372036854775807 448 } 449 450 //go:noinline 451 func sub_9223372036854775807_int64_ssa(a int64) int64 { 452 return 9223372036854775807 - a 453 } 454 455 //go:noinline 456 func div_int64_Neg9223372036854775808_ssa(a int64) int64 { 457 return a / -9223372036854775808 458 } 459 460 //go:noinline 461 func div_Neg9223372036854775808_int64_ssa(a int64) int64 { 462 return -9223372036854775808 / a 463 } 464 465 //go:noinline 466 func div_int64_Neg9223372036854775807_ssa(a int64) int64 { 467 return a / -9223372036854775807 468 } 469 470 //go:noinline 471 func div_Neg9223372036854775807_int64_ssa(a int64) int64 { 472 return -9223372036854775807 / a 473 } 474 475 //go:noinline 476 func div_int64_Neg4294967296_ssa(a int64) int64 { 477 return a / -4294967296 478 } 479 480 //go:noinline 481 func div_Neg4294967296_int64_ssa(a int64) int64 { 482 return -4294967296 / a 483 } 484 485 //go:noinline 486 func div_int64_Neg1_ssa(a int64) int64 { 487 return a / -1 488 } 489 490 //go:noinline 491 func div_Neg1_int64_ssa(a int64) int64 { 492 return -1 / a 493 } 494 495 //go:noinline 496 func div_0_int64_ssa(a int64) int64 { 497 return 0 / a 498 } 499 500 //go:noinline 501 func div_int64_1_ssa(a int64) int64 { 502 return a / 1 503 } 504 505 //go:noinline 506 func div_1_int64_ssa(a int64) int64 { 507 return 1 / a 508 } 509 510 //go:noinline 511 func div_int64_4294967296_ssa(a int64) int64 { 512 return a / 4294967296 513 } 514 515 //go:noinline 516 func div_4294967296_int64_ssa(a int64) int64 { 517 return 4294967296 / a 518 } 519 520 //go:noinline 521 func div_int64_9223372036854775806_ssa(a int64) int64 { 522 return a / 9223372036854775806 523 } 524 525 //go:noinline 526 func div_9223372036854775806_int64_ssa(a int64) int64 { 527 return 9223372036854775806 / a 528 } 529 530 //go:noinline 531 func div_int64_9223372036854775807_ssa(a int64) int64 { 532 return a / 9223372036854775807 533 } 534 535 //go:noinline 536 func div_9223372036854775807_int64_ssa(a int64) int64 { 537 return 9223372036854775807 / a 538 } 539 540 //go:noinline 541 func mul_int64_Neg9223372036854775808_ssa(a int64) int64 { 542 return a * -9223372036854775808 543 } 544 545 //go:noinline 546 func mul_Neg9223372036854775808_int64_ssa(a int64) int64 { 547 return -9223372036854775808 * a 548 } 549 550 //go:noinline 551 func mul_int64_Neg9223372036854775807_ssa(a int64) int64 { 552 return a * -9223372036854775807 553 } 554 555 //go:noinline 556 func mul_Neg9223372036854775807_int64_ssa(a int64) int64 { 557 return -9223372036854775807 * a 558 } 559 560 //go:noinline 561 func mul_int64_Neg4294967296_ssa(a int64) int64 { 562 return a * -4294967296 563 } 564 565 //go:noinline 566 func mul_Neg4294967296_int64_ssa(a int64) int64 { 567 return -4294967296 * a 568 } 569 570 //go:noinline 571 func mul_int64_Neg1_ssa(a int64) int64 { 572 return a * -1 573 } 574 575 //go:noinline 576 func mul_Neg1_int64_ssa(a int64) int64 { 577 return -1 * a 578 } 579 580 //go:noinline 581 func mul_int64_0_ssa(a int64) int64 { 582 return a * 0 583 } 584 585 //go:noinline 586 func mul_0_int64_ssa(a int64) int64 { 587 return 0 * a 588 } 589 590 //go:noinline 591 func mul_int64_1_ssa(a int64) int64 { 592 return a * 1 593 } 594 595 //go:noinline 596 func mul_1_int64_ssa(a int64) int64 { 597 return 1 * a 598 } 599 600 //go:noinline 601 func mul_int64_4294967296_ssa(a int64) int64 { 602 return a * 4294967296 603 } 604 605 //go:noinline 606 func mul_4294967296_int64_ssa(a int64) int64 { 607 return 4294967296 * a 608 } 609 610 //go:noinline 611 func mul_int64_9223372036854775806_ssa(a int64) int64 { 612 return a * 9223372036854775806 613 } 614 615 //go:noinline 616 func mul_9223372036854775806_int64_ssa(a int64) int64 { 617 return 9223372036854775806 * a 618 } 619 620 //go:noinline 621 func mul_int64_9223372036854775807_ssa(a int64) int64 { 622 return a * 9223372036854775807 623 } 624 625 //go:noinline 626 func mul_9223372036854775807_int64_ssa(a int64) int64 { 627 return 9223372036854775807 * a 628 } 629 630 //go:noinline 631 func mod_int64_Neg9223372036854775808_ssa(a int64) int64 { 632 return a % -9223372036854775808 633 } 634 635 //go:noinline 636 func mod_Neg9223372036854775808_int64_ssa(a int64) int64 { 637 return -9223372036854775808 % a 638 } 639 640 //go:noinline 641 func mod_int64_Neg9223372036854775807_ssa(a int64) int64 { 642 return a % -9223372036854775807 643 } 644 645 //go:noinline 646 func mod_Neg9223372036854775807_int64_ssa(a int64) int64 { 647 return -9223372036854775807 % a 648 } 649 650 //go:noinline 651 func mod_int64_Neg4294967296_ssa(a int64) int64 { 652 return a % -4294967296 653 } 654 655 //go:noinline 656 func mod_Neg4294967296_int64_ssa(a int64) int64 { 657 return -4294967296 % a 658 } 659 660 //go:noinline 661 func mod_int64_Neg1_ssa(a int64) int64 { 662 return a % -1 663 } 664 665 //go:noinline 666 func mod_Neg1_int64_ssa(a int64) int64 { 667 return -1 % a 668 } 669 670 //go:noinline 671 func mod_0_int64_ssa(a int64) int64 { 672 return 0 % a 673 } 674 675 //go:noinline 676 func mod_int64_1_ssa(a int64) int64 { 677 return a % 1 678 } 679 680 //go:noinline 681 func mod_1_int64_ssa(a int64) int64 { 682 return 1 % a 683 } 684 685 //go:noinline 686 func mod_int64_4294967296_ssa(a int64) int64 { 687 return a % 4294967296 688 } 689 690 //go:noinline 691 func mod_4294967296_int64_ssa(a int64) int64 { 692 return 4294967296 % a 693 } 694 695 //go:noinline 696 func mod_int64_9223372036854775806_ssa(a int64) int64 { 697 return a % 9223372036854775806 698 } 699 700 //go:noinline 701 func mod_9223372036854775806_int64_ssa(a int64) int64 { 702 return 9223372036854775806 % a 703 } 704 705 //go:noinline 706 func mod_int64_9223372036854775807_ssa(a int64) int64 { 707 return a % 9223372036854775807 708 } 709 710 //go:noinline 711 func mod_9223372036854775807_int64_ssa(a int64) int64 { 712 return 9223372036854775807 % a 713 } 714 715 //go:noinline 716 func add_uint32_0_ssa(a uint32) uint32 { 717 return a + 0 718 } 719 720 //go:noinline 721 func add_0_uint32_ssa(a uint32) uint32 { 722 return 0 + a 723 } 724 725 //go:noinline 726 func add_uint32_1_ssa(a uint32) uint32 { 727 return a + 1 728 } 729 730 //go:noinline 731 func add_1_uint32_ssa(a uint32) uint32 { 732 return 1 + a 733 } 734 735 //go:noinline 736 func add_uint32_4294967295_ssa(a uint32) uint32 { 737 return a + 4294967295 738 } 739 740 //go:noinline 741 func add_4294967295_uint32_ssa(a uint32) uint32 { 742 return 4294967295 + a 743 } 744 745 //go:noinline 746 func sub_uint32_0_ssa(a uint32) uint32 { 747 return a - 0 748 } 749 750 //go:noinline 751 func sub_0_uint32_ssa(a uint32) uint32 { 752 return 0 - a 753 } 754 755 //go:noinline 756 func sub_uint32_1_ssa(a uint32) uint32 { 757 return a - 1 758 } 759 760 //go:noinline 761 func sub_1_uint32_ssa(a uint32) uint32 { 762 return 1 - a 763 } 764 765 //go:noinline 766 func sub_uint32_4294967295_ssa(a uint32) uint32 { 767 return a - 4294967295 768 } 769 770 //go:noinline 771 func sub_4294967295_uint32_ssa(a uint32) uint32 { 772 return 4294967295 - a 773 } 774 775 //go:noinline 776 func div_0_uint32_ssa(a uint32) uint32 { 777 return 0 / a 778 } 779 780 //go:noinline 781 func div_uint32_1_ssa(a uint32) uint32 { 782 return a / 1 783 } 784 785 //go:noinline 786 func div_1_uint32_ssa(a uint32) uint32 { 787 return 1 / a 788 } 789 790 //go:noinline 791 func div_uint32_4294967295_ssa(a uint32) uint32 { 792 return a / 4294967295 793 } 794 795 //go:noinline 796 func div_4294967295_uint32_ssa(a uint32) uint32 { 797 return 4294967295 / a 798 } 799 800 //go:noinline 801 func mul_uint32_0_ssa(a uint32) uint32 { 802 return a * 0 803 } 804 805 //go:noinline 806 func mul_0_uint32_ssa(a uint32) uint32 { 807 return 0 * a 808 } 809 810 //go:noinline 811 func mul_uint32_1_ssa(a uint32) uint32 { 812 return a * 1 813 } 814 815 //go:noinline 816 func mul_1_uint32_ssa(a uint32) uint32 { 817 return 1 * a 818 } 819 820 //go:noinline 821 func mul_uint32_4294967295_ssa(a uint32) uint32 { 822 return a * 4294967295 823 } 824 825 //go:noinline 826 func mul_4294967295_uint32_ssa(a uint32) uint32 { 827 return 4294967295 * a 828 } 829 830 //go:noinline 831 func lsh_uint32_0_ssa(a uint32) uint32 { 832 return a << 0 833 } 834 835 //go:noinline 836 func lsh_0_uint32_ssa(a uint32) uint32 { 837 return 0 << a 838 } 839 840 //go:noinline 841 func lsh_uint32_1_ssa(a uint32) uint32 { 842 return a << 1 843 } 844 845 //go:noinline 846 func lsh_1_uint32_ssa(a uint32) uint32 { 847 return 1 << a 848 } 849 850 //go:noinline 851 func lsh_uint32_4294967295_ssa(a uint32) uint32 { 852 return a << 4294967295 853 } 854 855 //go:noinline 856 func lsh_4294967295_uint32_ssa(a uint32) uint32 { 857 return 4294967295 << a 858 } 859 860 //go:noinline 861 func rsh_uint32_0_ssa(a uint32) uint32 { 862 return a >> 0 863 } 864 865 //go:noinline 866 func rsh_0_uint32_ssa(a uint32) uint32 { 867 return 0 >> a 868 } 869 870 //go:noinline 871 func rsh_uint32_1_ssa(a uint32) uint32 { 872 return a >> 1 873 } 874 875 //go:noinline 876 func rsh_1_uint32_ssa(a uint32) uint32 { 877 return 1 >> a 878 } 879 880 //go:noinline 881 func rsh_uint32_4294967295_ssa(a uint32) uint32 { 882 return a >> 4294967295 883 } 884 885 //go:noinline 886 func rsh_4294967295_uint32_ssa(a uint32) uint32 { 887 return 4294967295 >> a 888 } 889 890 //go:noinline 891 func mod_0_uint32_ssa(a uint32) uint32 { 892 return 0 % a 893 } 894 895 //go:noinline 896 func mod_uint32_1_ssa(a uint32) uint32 { 897 return a % 1 898 } 899 900 //go:noinline 901 func mod_1_uint32_ssa(a uint32) uint32 { 902 return 1 % a 903 } 904 905 //go:noinline 906 func mod_uint32_4294967295_ssa(a uint32) uint32 { 907 return a % 4294967295 908 } 909 910 //go:noinline 911 func mod_4294967295_uint32_ssa(a uint32) uint32 { 912 return 4294967295 % a 913 } 914 915 //go:noinline 916 func add_int32_Neg2147483648_ssa(a int32) int32 { 917 return a + -2147483648 918 } 919 920 //go:noinline 921 func add_Neg2147483648_int32_ssa(a int32) int32 { 922 return -2147483648 + a 923 } 924 925 //go:noinline 926 func add_int32_Neg2147483647_ssa(a int32) int32 { 927 return a + -2147483647 928 } 929 930 //go:noinline 931 func add_Neg2147483647_int32_ssa(a int32) int32 { 932 return -2147483647 + a 933 } 934 935 //go:noinline 936 func add_int32_Neg1_ssa(a int32) int32 { 937 return a + -1 938 } 939 940 //go:noinline 941 func add_Neg1_int32_ssa(a int32) int32 { 942 return -1 + a 943 } 944 945 //go:noinline 946 func add_int32_0_ssa(a int32) int32 { 947 return a + 0 948 } 949 950 //go:noinline 951 func add_0_int32_ssa(a int32) int32 { 952 return 0 + a 953 } 954 955 //go:noinline 956 func add_int32_1_ssa(a int32) int32 { 957 return a + 1 958 } 959 960 //go:noinline 961 func add_1_int32_ssa(a int32) int32 { 962 return 1 + a 963 } 964 965 //go:noinline 966 func add_int32_2147483647_ssa(a int32) int32 { 967 return a + 2147483647 968 } 969 970 //go:noinline 971 func add_2147483647_int32_ssa(a int32) int32 { 972 return 2147483647 + a 973 } 974 975 //go:noinline 976 func sub_int32_Neg2147483648_ssa(a int32) int32 { 977 return a - -2147483648 978 } 979 980 //go:noinline 981 func sub_Neg2147483648_int32_ssa(a int32) int32 { 982 return -2147483648 - a 983 } 984 985 //go:noinline 986 func sub_int32_Neg2147483647_ssa(a int32) int32 { 987 return a - -2147483647 988 } 989 990 //go:noinline 991 func sub_Neg2147483647_int32_ssa(a int32) int32 { 992 return -2147483647 - a 993 } 994 995 //go:noinline 996 func sub_int32_Neg1_ssa(a int32) int32 { 997 return a - -1 998 } 999 1000 //go:noinline 1001 func sub_Neg1_int32_ssa(a int32) int32 { 1002 return -1 - a 1003 } 1004 1005 //go:noinline 1006 func sub_int32_0_ssa(a int32) int32 { 1007 return a - 0 1008 } 1009 1010 //go:noinline 1011 func sub_0_int32_ssa(a int32) int32 { 1012 return 0 - a 1013 } 1014 1015 //go:noinline 1016 func sub_int32_1_ssa(a int32) int32 { 1017 return a - 1 1018 } 1019 1020 //go:noinline 1021 func sub_1_int32_ssa(a int32) int32 { 1022 return 1 - a 1023 } 1024 1025 //go:noinline 1026 func sub_int32_2147483647_ssa(a int32) int32 { 1027 return a - 2147483647 1028 } 1029 1030 //go:noinline 1031 func sub_2147483647_int32_ssa(a int32) int32 { 1032 return 2147483647 - a 1033 } 1034 1035 //go:noinline 1036 func div_int32_Neg2147483648_ssa(a int32) int32 { 1037 return a / -2147483648 1038 } 1039 1040 //go:noinline 1041 func div_Neg2147483648_int32_ssa(a int32) int32 { 1042 return -2147483648 / a 1043 } 1044 1045 //go:noinline 1046 func div_int32_Neg2147483647_ssa(a int32) int32 { 1047 return a / -2147483647 1048 } 1049 1050 //go:noinline 1051 func div_Neg2147483647_int32_ssa(a int32) int32 { 1052 return -2147483647 / a 1053 } 1054 1055 //go:noinline 1056 func div_int32_Neg1_ssa(a int32) int32 { 1057 return a / -1 1058 } 1059 1060 //go:noinline 1061 func div_Neg1_int32_ssa(a int32) int32 { 1062 return -1 / a 1063 } 1064 1065 //go:noinline 1066 func div_0_int32_ssa(a int32) int32 { 1067 return 0 / a 1068 } 1069 1070 //go:noinline 1071 func div_int32_1_ssa(a int32) int32 { 1072 return a / 1 1073 } 1074 1075 //go:noinline 1076 func div_1_int32_ssa(a int32) int32 { 1077 return 1 / a 1078 } 1079 1080 //go:noinline 1081 func div_int32_2147483647_ssa(a int32) int32 { 1082 return a / 2147483647 1083 } 1084 1085 //go:noinline 1086 func div_2147483647_int32_ssa(a int32) int32 { 1087 return 2147483647 / a 1088 } 1089 1090 //go:noinline 1091 func mul_int32_Neg2147483648_ssa(a int32) int32 { 1092 return a * -2147483648 1093 } 1094 1095 //go:noinline 1096 func mul_Neg2147483648_int32_ssa(a int32) int32 { 1097 return -2147483648 * a 1098 } 1099 1100 //go:noinline 1101 func mul_int32_Neg2147483647_ssa(a int32) int32 { 1102 return a * -2147483647 1103 } 1104 1105 //go:noinline 1106 func mul_Neg2147483647_int32_ssa(a int32) int32 { 1107 return -2147483647 * a 1108 } 1109 1110 //go:noinline 1111 func mul_int32_Neg1_ssa(a int32) int32 { 1112 return a * -1 1113 } 1114 1115 //go:noinline 1116 func mul_Neg1_int32_ssa(a int32) int32 { 1117 return -1 * a 1118 } 1119 1120 //go:noinline 1121 func mul_int32_0_ssa(a int32) int32 { 1122 return a * 0 1123 } 1124 1125 //go:noinline 1126 func mul_0_int32_ssa(a int32) int32 { 1127 return 0 * a 1128 } 1129 1130 //go:noinline 1131 func mul_int32_1_ssa(a int32) int32 { 1132 return a * 1 1133 } 1134 1135 //go:noinline 1136 func mul_1_int32_ssa(a int32) int32 { 1137 return 1 * a 1138 } 1139 1140 //go:noinline 1141 func mul_int32_2147483647_ssa(a int32) int32 { 1142 return a * 2147483647 1143 } 1144 1145 //go:noinline 1146 func mul_2147483647_int32_ssa(a int32) int32 { 1147 return 2147483647 * a 1148 } 1149 1150 //go:noinline 1151 func mod_int32_Neg2147483648_ssa(a int32) int32 { 1152 return a % -2147483648 1153 } 1154 1155 //go:noinline 1156 func mod_Neg2147483648_int32_ssa(a int32) int32 { 1157 return -2147483648 % a 1158 } 1159 1160 //go:noinline 1161 func mod_int32_Neg2147483647_ssa(a int32) int32 { 1162 return a % -2147483647 1163 } 1164 1165 //go:noinline 1166 func mod_Neg2147483647_int32_ssa(a int32) int32 { 1167 return -2147483647 % a 1168 } 1169 1170 //go:noinline 1171 func mod_int32_Neg1_ssa(a int32) int32 { 1172 return a % -1 1173 } 1174 1175 //go:noinline 1176 func mod_Neg1_int32_ssa(a int32) int32 { 1177 return -1 % a 1178 } 1179 1180 //go:noinline 1181 func mod_0_int32_ssa(a int32) int32 { 1182 return 0 % a 1183 } 1184 1185 //go:noinline 1186 func mod_int32_1_ssa(a int32) int32 { 1187 return a % 1 1188 } 1189 1190 //go:noinline 1191 func mod_1_int32_ssa(a int32) int32 { 1192 return 1 % a 1193 } 1194 1195 //go:noinline 1196 func mod_int32_2147483647_ssa(a int32) int32 { 1197 return a % 2147483647 1198 } 1199 1200 //go:noinline 1201 func mod_2147483647_int32_ssa(a int32) int32 { 1202 return 2147483647 % a 1203 } 1204 1205 //go:noinline 1206 func add_uint16_0_ssa(a uint16) uint16 { 1207 return a + 0 1208 } 1209 1210 //go:noinline 1211 func add_0_uint16_ssa(a uint16) uint16 { 1212 return 0 + a 1213 } 1214 1215 //go:noinline 1216 func add_uint16_1_ssa(a uint16) uint16 { 1217 return a + 1 1218 } 1219 1220 //go:noinline 1221 func add_1_uint16_ssa(a uint16) uint16 { 1222 return 1 + a 1223 } 1224 1225 //go:noinline 1226 func add_uint16_65535_ssa(a uint16) uint16 { 1227 return a + 65535 1228 } 1229 1230 //go:noinline 1231 func add_65535_uint16_ssa(a uint16) uint16 { 1232 return 65535 + a 1233 } 1234 1235 //go:noinline 1236 func sub_uint16_0_ssa(a uint16) uint16 { 1237 return a - 0 1238 } 1239 1240 //go:noinline 1241 func sub_0_uint16_ssa(a uint16) uint16 { 1242 return 0 - a 1243 } 1244 1245 //go:noinline 1246 func sub_uint16_1_ssa(a uint16) uint16 { 1247 return a - 1 1248 } 1249 1250 //go:noinline 1251 func sub_1_uint16_ssa(a uint16) uint16 { 1252 return 1 - a 1253 } 1254 1255 //go:noinline 1256 func sub_uint16_65535_ssa(a uint16) uint16 { 1257 return a - 65535 1258 } 1259 1260 //go:noinline 1261 func sub_65535_uint16_ssa(a uint16) uint16 { 1262 return 65535 - a 1263 } 1264 1265 //go:noinline 1266 func div_0_uint16_ssa(a uint16) uint16 { 1267 return 0 / a 1268 } 1269 1270 //go:noinline 1271 func div_uint16_1_ssa(a uint16) uint16 { 1272 return a / 1 1273 } 1274 1275 //go:noinline 1276 func div_1_uint16_ssa(a uint16) uint16 { 1277 return 1 / a 1278 } 1279 1280 //go:noinline 1281 func div_uint16_65535_ssa(a uint16) uint16 { 1282 return a / 65535 1283 } 1284 1285 //go:noinline 1286 func div_65535_uint16_ssa(a uint16) uint16 { 1287 return 65535 / a 1288 } 1289 1290 //go:noinline 1291 func mul_uint16_0_ssa(a uint16) uint16 { 1292 return a * 0 1293 } 1294 1295 //go:noinline 1296 func mul_0_uint16_ssa(a uint16) uint16 { 1297 return 0 * a 1298 } 1299 1300 //go:noinline 1301 func mul_uint16_1_ssa(a uint16) uint16 { 1302 return a * 1 1303 } 1304 1305 //go:noinline 1306 func mul_1_uint16_ssa(a uint16) uint16 { 1307 return 1 * a 1308 } 1309 1310 //go:noinline 1311 func mul_uint16_65535_ssa(a uint16) uint16 { 1312 return a * 65535 1313 } 1314 1315 //go:noinline 1316 func mul_65535_uint16_ssa(a uint16) uint16 { 1317 return 65535 * a 1318 } 1319 1320 //go:noinline 1321 func lsh_uint16_0_ssa(a uint16) uint16 { 1322 return a << 0 1323 } 1324 1325 //go:noinline 1326 func lsh_0_uint16_ssa(a uint16) uint16 { 1327 return 0 << a 1328 } 1329 1330 //go:noinline 1331 func lsh_uint16_1_ssa(a uint16) uint16 { 1332 return a << 1 1333 } 1334 1335 //go:noinline 1336 func lsh_1_uint16_ssa(a uint16) uint16 { 1337 return 1 << a 1338 } 1339 1340 //go:noinline 1341 func lsh_uint16_65535_ssa(a uint16) uint16 { 1342 return a << 65535 1343 } 1344 1345 //go:noinline 1346 func lsh_65535_uint16_ssa(a uint16) uint16 { 1347 return 65535 << a 1348 } 1349 1350 //go:noinline 1351 func rsh_uint16_0_ssa(a uint16) uint16 { 1352 return a >> 0 1353 } 1354 1355 //go:noinline 1356 func rsh_0_uint16_ssa(a uint16) uint16 { 1357 return 0 >> a 1358 } 1359 1360 //go:noinline 1361 func rsh_uint16_1_ssa(a uint16) uint16 { 1362 return a >> 1 1363 } 1364 1365 //go:noinline 1366 func rsh_1_uint16_ssa(a uint16) uint16 { 1367 return 1 >> a 1368 } 1369 1370 //go:noinline 1371 func rsh_uint16_65535_ssa(a uint16) uint16 { 1372 return a >> 65535 1373 } 1374 1375 //go:noinline 1376 func rsh_65535_uint16_ssa(a uint16) uint16 { 1377 return 65535 >> a 1378 } 1379 1380 //go:noinline 1381 func mod_0_uint16_ssa(a uint16) uint16 { 1382 return 0 % a 1383 } 1384 1385 //go:noinline 1386 func mod_uint16_1_ssa(a uint16) uint16 { 1387 return a % 1 1388 } 1389 1390 //go:noinline 1391 func mod_1_uint16_ssa(a uint16) uint16 { 1392 return 1 % a 1393 } 1394 1395 //go:noinline 1396 func mod_uint16_65535_ssa(a uint16) uint16 { 1397 return a % 65535 1398 } 1399 1400 //go:noinline 1401 func mod_65535_uint16_ssa(a uint16) uint16 { 1402 return 65535 % a 1403 } 1404 1405 //go:noinline 1406 func add_int16_Neg32768_ssa(a int16) int16 { 1407 return a + -32768 1408 } 1409 1410 //go:noinline 1411 func add_Neg32768_int16_ssa(a int16) int16 { 1412 return -32768 + a 1413 } 1414 1415 //go:noinline 1416 func add_int16_Neg32767_ssa(a int16) int16 { 1417 return a + -32767 1418 } 1419 1420 //go:noinline 1421 func add_Neg32767_int16_ssa(a int16) int16 { 1422 return -32767 + a 1423 } 1424 1425 //go:noinline 1426 func add_int16_Neg1_ssa(a int16) int16 { 1427 return a + -1 1428 } 1429 1430 //go:noinline 1431 func add_Neg1_int16_ssa(a int16) int16 { 1432 return -1 + a 1433 } 1434 1435 //go:noinline 1436 func add_int16_0_ssa(a int16) int16 { 1437 return a + 0 1438 } 1439 1440 //go:noinline 1441 func add_0_int16_ssa(a int16) int16 { 1442 return 0 + a 1443 } 1444 1445 //go:noinline 1446 func add_int16_1_ssa(a int16) int16 { 1447 return a + 1 1448 } 1449 1450 //go:noinline 1451 func add_1_int16_ssa(a int16) int16 { 1452 return 1 + a 1453 } 1454 1455 //go:noinline 1456 func add_int16_32766_ssa(a int16) int16 { 1457 return a + 32766 1458 } 1459 1460 //go:noinline 1461 func add_32766_int16_ssa(a int16) int16 { 1462 return 32766 + a 1463 } 1464 1465 //go:noinline 1466 func add_int16_32767_ssa(a int16) int16 { 1467 return a + 32767 1468 } 1469 1470 //go:noinline 1471 func add_32767_int16_ssa(a int16) int16 { 1472 return 32767 + a 1473 } 1474 1475 //go:noinline 1476 func sub_int16_Neg32768_ssa(a int16) int16 { 1477 return a - -32768 1478 } 1479 1480 //go:noinline 1481 func sub_Neg32768_int16_ssa(a int16) int16 { 1482 return -32768 - a 1483 } 1484 1485 //go:noinline 1486 func sub_int16_Neg32767_ssa(a int16) int16 { 1487 return a - -32767 1488 } 1489 1490 //go:noinline 1491 func sub_Neg32767_int16_ssa(a int16) int16 { 1492 return -32767 - a 1493 } 1494 1495 //go:noinline 1496 func sub_int16_Neg1_ssa(a int16) int16 { 1497 return a - -1 1498 } 1499 1500 //go:noinline 1501 func sub_Neg1_int16_ssa(a int16) int16 { 1502 return -1 - a 1503 } 1504 1505 //go:noinline 1506 func sub_int16_0_ssa(a int16) int16 { 1507 return a - 0 1508 } 1509 1510 //go:noinline 1511 func sub_0_int16_ssa(a int16) int16 { 1512 return 0 - a 1513 } 1514 1515 //go:noinline 1516 func sub_int16_1_ssa(a int16) int16 { 1517 return a - 1 1518 } 1519 1520 //go:noinline 1521 func sub_1_int16_ssa(a int16) int16 { 1522 return 1 - a 1523 } 1524 1525 //go:noinline 1526 func sub_int16_32766_ssa(a int16) int16 { 1527 return a - 32766 1528 } 1529 1530 //go:noinline 1531 func sub_32766_int16_ssa(a int16) int16 { 1532 return 32766 - a 1533 } 1534 1535 //go:noinline 1536 func sub_int16_32767_ssa(a int16) int16 { 1537 return a - 32767 1538 } 1539 1540 //go:noinline 1541 func sub_32767_int16_ssa(a int16) int16 { 1542 return 32767 - a 1543 } 1544 1545 //go:noinline 1546 func div_int16_Neg32768_ssa(a int16) int16 { 1547 return a / -32768 1548 } 1549 1550 //go:noinline 1551 func div_Neg32768_int16_ssa(a int16) int16 { 1552 return -32768 / a 1553 } 1554 1555 //go:noinline 1556 func div_int16_Neg32767_ssa(a int16) int16 { 1557 return a / -32767 1558 } 1559 1560 //go:noinline 1561 func div_Neg32767_int16_ssa(a int16) int16 { 1562 return -32767 / a 1563 } 1564 1565 //go:noinline 1566 func div_int16_Neg1_ssa(a int16) int16 { 1567 return a / -1 1568 } 1569 1570 //go:noinline 1571 func div_Neg1_int16_ssa(a int16) int16 { 1572 return -1 / a 1573 } 1574 1575 //go:noinline 1576 func div_0_int16_ssa(a int16) int16 { 1577 return 0 / a 1578 } 1579 1580 //go:noinline 1581 func div_int16_1_ssa(a int16) int16 { 1582 return a / 1 1583 } 1584 1585 //go:noinline 1586 func div_1_int16_ssa(a int16) int16 { 1587 return 1 / a 1588 } 1589 1590 //go:noinline 1591 func div_int16_32766_ssa(a int16) int16 { 1592 return a / 32766 1593 } 1594 1595 //go:noinline 1596 func div_32766_int16_ssa(a int16) int16 { 1597 return 32766 / a 1598 } 1599 1600 //go:noinline 1601 func div_int16_32767_ssa(a int16) int16 { 1602 return a / 32767 1603 } 1604 1605 //go:noinline 1606 func div_32767_int16_ssa(a int16) int16 { 1607 return 32767 / a 1608 } 1609 1610 //go:noinline 1611 func mul_int16_Neg32768_ssa(a int16) int16 { 1612 return a * -32768 1613 } 1614 1615 //go:noinline 1616 func mul_Neg32768_int16_ssa(a int16) int16 { 1617 return -32768 * a 1618 } 1619 1620 //go:noinline 1621 func mul_int16_Neg32767_ssa(a int16) int16 { 1622 return a * -32767 1623 } 1624 1625 //go:noinline 1626 func mul_Neg32767_int16_ssa(a int16) int16 { 1627 return -32767 * a 1628 } 1629 1630 //go:noinline 1631 func mul_int16_Neg1_ssa(a int16) int16 { 1632 return a * -1 1633 } 1634 1635 //go:noinline 1636 func mul_Neg1_int16_ssa(a int16) int16 { 1637 return -1 * a 1638 } 1639 1640 //go:noinline 1641 func mul_int16_0_ssa(a int16) int16 { 1642 return a * 0 1643 } 1644 1645 //go:noinline 1646 func mul_0_int16_ssa(a int16) int16 { 1647 return 0 * a 1648 } 1649 1650 //go:noinline 1651 func mul_int16_1_ssa(a int16) int16 { 1652 return a * 1 1653 } 1654 1655 //go:noinline 1656 func mul_1_int16_ssa(a int16) int16 { 1657 return 1 * a 1658 } 1659 1660 //go:noinline 1661 func mul_int16_32766_ssa(a int16) int16 { 1662 return a * 32766 1663 } 1664 1665 //go:noinline 1666 func mul_32766_int16_ssa(a int16) int16 { 1667 return 32766 * a 1668 } 1669 1670 //go:noinline 1671 func mul_int16_32767_ssa(a int16) int16 { 1672 return a * 32767 1673 } 1674 1675 //go:noinline 1676 func mul_32767_int16_ssa(a int16) int16 { 1677 return 32767 * a 1678 } 1679 1680 //go:noinline 1681 func mod_int16_Neg32768_ssa(a int16) int16 { 1682 return a % -32768 1683 } 1684 1685 //go:noinline 1686 func mod_Neg32768_int16_ssa(a int16) int16 { 1687 return -32768 % a 1688 } 1689 1690 //go:noinline 1691 func mod_int16_Neg32767_ssa(a int16) int16 { 1692 return a % -32767 1693 } 1694 1695 //go:noinline 1696 func mod_Neg32767_int16_ssa(a int16) int16 { 1697 return -32767 % a 1698 } 1699 1700 //go:noinline 1701 func mod_int16_Neg1_ssa(a int16) int16 { 1702 return a % -1 1703 } 1704 1705 //go:noinline 1706 func mod_Neg1_int16_ssa(a int16) int16 { 1707 return -1 % a 1708 } 1709 1710 //go:noinline 1711 func mod_0_int16_ssa(a int16) int16 { 1712 return 0 % a 1713 } 1714 1715 //go:noinline 1716 func mod_int16_1_ssa(a int16) int16 { 1717 return a % 1 1718 } 1719 1720 //go:noinline 1721 func mod_1_int16_ssa(a int16) int16 { 1722 return 1 % a 1723 } 1724 1725 //go:noinline 1726 func mod_int16_32766_ssa(a int16) int16 { 1727 return a % 32766 1728 } 1729 1730 //go:noinline 1731 func mod_32766_int16_ssa(a int16) int16 { 1732 return 32766 % a 1733 } 1734 1735 //go:noinline 1736 func mod_int16_32767_ssa(a int16) int16 { 1737 return a % 32767 1738 } 1739 1740 //go:noinline 1741 func mod_32767_int16_ssa(a int16) int16 { 1742 return 32767 % a 1743 } 1744 1745 //go:noinline 1746 func add_uint8_0_ssa(a uint8) uint8 { 1747 return a + 0 1748 } 1749 1750 //go:noinline 1751 func add_0_uint8_ssa(a uint8) uint8 { 1752 return 0 + a 1753 } 1754 1755 //go:noinline 1756 func add_uint8_1_ssa(a uint8) uint8 { 1757 return a + 1 1758 } 1759 1760 //go:noinline 1761 func add_1_uint8_ssa(a uint8) uint8 { 1762 return 1 + a 1763 } 1764 1765 //go:noinline 1766 func add_uint8_255_ssa(a uint8) uint8 { 1767 return a + 255 1768 } 1769 1770 //go:noinline 1771 func add_255_uint8_ssa(a uint8) uint8 { 1772 return 255 + a 1773 } 1774 1775 //go:noinline 1776 func sub_uint8_0_ssa(a uint8) uint8 { 1777 return a - 0 1778 } 1779 1780 //go:noinline 1781 func sub_0_uint8_ssa(a uint8) uint8 { 1782 return 0 - a 1783 } 1784 1785 //go:noinline 1786 func sub_uint8_1_ssa(a uint8) uint8 { 1787 return a - 1 1788 } 1789 1790 //go:noinline 1791 func sub_1_uint8_ssa(a uint8) uint8 { 1792 return 1 - a 1793 } 1794 1795 //go:noinline 1796 func sub_uint8_255_ssa(a uint8) uint8 { 1797 return a - 255 1798 } 1799 1800 //go:noinline 1801 func sub_255_uint8_ssa(a uint8) uint8 { 1802 return 255 - a 1803 } 1804 1805 //go:noinline 1806 func div_0_uint8_ssa(a uint8) uint8 { 1807 return 0 / a 1808 } 1809 1810 //go:noinline 1811 func div_uint8_1_ssa(a uint8) uint8 { 1812 return a / 1 1813 } 1814 1815 //go:noinline 1816 func div_1_uint8_ssa(a uint8) uint8 { 1817 return 1 / a 1818 } 1819 1820 //go:noinline 1821 func div_uint8_255_ssa(a uint8) uint8 { 1822 return a / 255 1823 } 1824 1825 //go:noinline 1826 func div_255_uint8_ssa(a uint8) uint8 { 1827 return 255 / a 1828 } 1829 1830 //go:noinline 1831 func mul_uint8_0_ssa(a uint8) uint8 { 1832 return a * 0 1833 } 1834 1835 //go:noinline 1836 func mul_0_uint8_ssa(a uint8) uint8 { 1837 return 0 * a 1838 } 1839 1840 //go:noinline 1841 func mul_uint8_1_ssa(a uint8) uint8 { 1842 return a * 1 1843 } 1844 1845 //go:noinline 1846 func mul_1_uint8_ssa(a uint8) uint8 { 1847 return 1 * a 1848 } 1849 1850 //go:noinline 1851 func mul_uint8_255_ssa(a uint8) uint8 { 1852 return a * 255 1853 } 1854 1855 //go:noinline 1856 func mul_255_uint8_ssa(a uint8) uint8 { 1857 return 255 * a 1858 } 1859 1860 //go:noinline 1861 func lsh_uint8_0_ssa(a uint8) uint8 { 1862 return a << 0 1863 } 1864 1865 //go:noinline 1866 func lsh_0_uint8_ssa(a uint8) uint8 { 1867 return 0 << a 1868 } 1869 1870 //go:noinline 1871 func lsh_uint8_1_ssa(a uint8) uint8 { 1872 return a << 1 1873 } 1874 1875 //go:noinline 1876 func lsh_1_uint8_ssa(a uint8) uint8 { 1877 return 1 << a 1878 } 1879 1880 //go:noinline 1881 func lsh_uint8_255_ssa(a uint8) uint8 { 1882 return a << 255 1883 } 1884 1885 //go:noinline 1886 func lsh_255_uint8_ssa(a uint8) uint8 { 1887 return 255 << a 1888 } 1889 1890 //go:noinline 1891 func rsh_uint8_0_ssa(a uint8) uint8 { 1892 return a >> 0 1893 } 1894 1895 //go:noinline 1896 func rsh_0_uint8_ssa(a uint8) uint8 { 1897 return 0 >> a 1898 } 1899 1900 //go:noinline 1901 func rsh_uint8_1_ssa(a uint8) uint8 { 1902 return a >> 1 1903 } 1904 1905 //go:noinline 1906 func rsh_1_uint8_ssa(a uint8) uint8 { 1907 return 1 >> a 1908 } 1909 1910 //go:noinline 1911 func rsh_uint8_255_ssa(a uint8) uint8 { 1912 return a >> 255 1913 } 1914 1915 //go:noinline 1916 func rsh_255_uint8_ssa(a uint8) uint8 { 1917 return 255 >> a 1918 } 1919 1920 //go:noinline 1921 func mod_0_uint8_ssa(a uint8) uint8 { 1922 return 0 % a 1923 } 1924 1925 //go:noinline 1926 func mod_uint8_1_ssa(a uint8) uint8 { 1927 return a % 1 1928 } 1929 1930 //go:noinline 1931 func mod_1_uint8_ssa(a uint8) uint8 { 1932 return 1 % a 1933 } 1934 1935 //go:noinline 1936 func mod_uint8_255_ssa(a uint8) uint8 { 1937 return a % 255 1938 } 1939 1940 //go:noinline 1941 func mod_255_uint8_ssa(a uint8) uint8 { 1942 return 255 % a 1943 } 1944 1945 //go:noinline 1946 func add_int8_Neg128_ssa(a int8) int8 { 1947 return a + -128 1948 } 1949 1950 //go:noinline 1951 func add_Neg128_int8_ssa(a int8) int8 { 1952 return -128 + a 1953 } 1954 1955 //go:noinline 1956 func add_int8_Neg127_ssa(a int8) int8 { 1957 return a + -127 1958 } 1959 1960 //go:noinline 1961 func add_Neg127_int8_ssa(a int8) int8 { 1962 return -127 + a 1963 } 1964 1965 //go:noinline 1966 func add_int8_Neg1_ssa(a int8) int8 { 1967 return a + -1 1968 } 1969 1970 //go:noinline 1971 func add_Neg1_int8_ssa(a int8) int8 { 1972 return -1 + a 1973 } 1974 1975 //go:noinline 1976 func add_int8_0_ssa(a int8) int8 { 1977 return a + 0 1978 } 1979 1980 //go:noinline 1981 func add_0_int8_ssa(a int8) int8 { 1982 return 0 + a 1983 } 1984 1985 //go:noinline 1986 func add_int8_1_ssa(a int8) int8 { 1987 return a + 1 1988 } 1989 1990 //go:noinline 1991 func add_1_int8_ssa(a int8) int8 { 1992 return 1 + a 1993 } 1994 1995 //go:noinline 1996 func add_int8_126_ssa(a int8) int8 { 1997 return a + 126 1998 } 1999 2000 //go:noinline 2001 func add_126_int8_ssa(a int8) int8 { 2002 return 126 + a 2003 } 2004 2005 //go:noinline 2006 func add_int8_127_ssa(a int8) int8 { 2007 return a + 127 2008 } 2009 2010 //go:noinline 2011 func add_127_int8_ssa(a int8) int8 { 2012 return 127 + a 2013 } 2014 2015 //go:noinline 2016 func sub_int8_Neg128_ssa(a int8) int8 { 2017 return a - -128 2018 } 2019 2020 //go:noinline 2021 func sub_Neg128_int8_ssa(a int8) int8 { 2022 return -128 - a 2023 } 2024 2025 //go:noinline 2026 func sub_int8_Neg127_ssa(a int8) int8 { 2027 return a - -127 2028 } 2029 2030 //go:noinline 2031 func sub_Neg127_int8_ssa(a int8) int8 { 2032 return -127 - a 2033 } 2034 2035 //go:noinline 2036 func sub_int8_Neg1_ssa(a int8) int8 { 2037 return a - -1 2038 } 2039 2040 //go:noinline 2041 func sub_Neg1_int8_ssa(a int8) int8 { 2042 return -1 - a 2043 } 2044 2045 //go:noinline 2046 func sub_int8_0_ssa(a int8) int8 { 2047 return a - 0 2048 } 2049 2050 //go:noinline 2051 func sub_0_int8_ssa(a int8) int8 { 2052 return 0 - a 2053 } 2054 2055 //go:noinline 2056 func sub_int8_1_ssa(a int8) int8 { 2057 return a - 1 2058 } 2059 2060 //go:noinline 2061 func sub_1_int8_ssa(a int8) int8 { 2062 return 1 - a 2063 } 2064 2065 //go:noinline 2066 func sub_int8_126_ssa(a int8) int8 { 2067 return a - 126 2068 } 2069 2070 //go:noinline 2071 func sub_126_int8_ssa(a int8) int8 { 2072 return 126 - a 2073 } 2074 2075 //go:noinline 2076 func sub_int8_127_ssa(a int8) int8 { 2077 return a - 127 2078 } 2079 2080 //go:noinline 2081 func sub_127_int8_ssa(a int8) int8 { 2082 return 127 - a 2083 } 2084 2085 //go:noinline 2086 func div_int8_Neg128_ssa(a int8) int8 { 2087 return a / -128 2088 } 2089 2090 //go:noinline 2091 func div_Neg128_int8_ssa(a int8) int8 { 2092 return -128 / a 2093 } 2094 2095 //go:noinline 2096 func div_int8_Neg127_ssa(a int8) int8 { 2097 return a / -127 2098 } 2099 2100 //go:noinline 2101 func div_Neg127_int8_ssa(a int8) int8 { 2102 return -127 / a 2103 } 2104 2105 //go:noinline 2106 func div_int8_Neg1_ssa(a int8) int8 { 2107 return a / -1 2108 } 2109 2110 //go:noinline 2111 func div_Neg1_int8_ssa(a int8) int8 { 2112 return -1 / a 2113 } 2114 2115 //go:noinline 2116 func div_0_int8_ssa(a int8) int8 { 2117 return 0 / a 2118 } 2119 2120 //go:noinline 2121 func div_int8_1_ssa(a int8) int8 { 2122 return a / 1 2123 } 2124 2125 //go:noinline 2126 func div_1_int8_ssa(a int8) int8 { 2127 return 1 / a 2128 } 2129 2130 //go:noinline 2131 func div_int8_126_ssa(a int8) int8 { 2132 return a / 126 2133 } 2134 2135 //go:noinline 2136 func div_126_int8_ssa(a int8) int8 { 2137 return 126 / a 2138 } 2139 2140 //go:noinline 2141 func div_int8_127_ssa(a int8) int8 { 2142 return a / 127 2143 } 2144 2145 //go:noinline 2146 func div_127_int8_ssa(a int8) int8 { 2147 return 127 / a 2148 } 2149 2150 //go:noinline 2151 func mul_int8_Neg128_ssa(a int8) int8 { 2152 return a * -128 2153 } 2154 2155 //go:noinline 2156 func mul_Neg128_int8_ssa(a int8) int8 { 2157 return -128 * a 2158 } 2159 2160 //go:noinline 2161 func mul_int8_Neg127_ssa(a int8) int8 { 2162 return a * -127 2163 } 2164 2165 //go:noinline 2166 func mul_Neg127_int8_ssa(a int8) int8 { 2167 return -127 * a 2168 } 2169 2170 //go:noinline 2171 func mul_int8_Neg1_ssa(a int8) int8 { 2172 return a * -1 2173 } 2174 2175 //go:noinline 2176 func mul_Neg1_int8_ssa(a int8) int8 { 2177 return -1 * a 2178 } 2179 2180 //go:noinline 2181 func mul_int8_0_ssa(a int8) int8 { 2182 return a * 0 2183 } 2184 2185 //go:noinline 2186 func mul_0_int8_ssa(a int8) int8 { 2187 return 0 * a 2188 } 2189 2190 //go:noinline 2191 func mul_int8_1_ssa(a int8) int8 { 2192 return a * 1 2193 } 2194 2195 //go:noinline 2196 func mul_1_int8_ssa(a int8) int8 { 2197 return 1 * a 2198 } 2199 2200 //go:noinline 2201 func mul_int8_126_ssa(a int8) int8 { 2202 return a * 126 2203 } 2204 2205 //go:noinline 2206 func mul_126_int8_ssa(a int8) int8 { 2207 return 126 * a 2208 } 2209 2210 //go:noinline 2211 func mul_int8_127_ssa(a int8) int8 { 2212 return a * 127 2213 } 2214 2215 //go:noinline 2216 func mul_127_int8_ssa(a int8) int8 { 2217 return 127 * a 2218 } 2219 2220 //go:noinline 2221 func mod_int8_Neg128_ssa(a int8) int8 { 2222 return a % -128 2223 } 2224 2225 //go:noinline 2226 func mod_Neg128_int8_ssa(a int8) int8 { 2227 return -128 % a 2228 } 2229 2230 //go:noinline 2231 func mod_int8_Neg127_ssa(a int8) int8 { 2232 return a % -127 2233 } 2234 2235 //go:noinline 2236 func mod_Neg127_int8_ssa(a int8) int8 { 2237 return -127 % a 2238 } 2239 2240 //go:noinline 2241 func mod_int8_Neg1_ssa(a int8) int8 { 2242 return a % -1 2243 } 2244 2245 //go:noinline 2246 func mod_Neg1_int8_ssa(a int8) int8 { 2247 return -1 % a 2248 } 2249 2250 //go:noinline 2251 func mod_0_int8_ssa(a int8) int8 { 2252 return 0 % a 2253 } 2254 2255 //go:noinline 2256 func mod_int8_1_ssa(a int8) int8 { 2257 return a % 1 2258 } 2259 2260 //go:noinline 2261 func mod_1_int8_ssa(a int8) int8 { 2262 return 1 % a 2263 } 2264 2265 //go:noinline 2266 func mod_int8_126_ssa(a int8) int8 { 2267 return a % 126 2268 } 2269 2270 //go:noinline 2271 func mod_126_int8_ssa(a int8) int8 { 2272 return 126 % a 2273 } 2274 2275 //go:noinline 2276 func mod_int8_127_ssa(a int8) int8 { 2277 return a % 127 2278 } 2279 2280 //go:noinline 2281 func mod_127_int8_ssa(a int8) int8 { 2282 return 127 % a 2283 } 2284 2285 var failed bool 2286 2287 func main() { 2288 2289 if got := add_0_uint64_ssa(0); got != 0 { 2290 fmt.Printf("add_uint64 0%s0 = %d, wanted 0\n", `+`, got) 2291 failed = true 2292 } 2293 2294 if got := add_uint64_0_ssa(0); got != 0 { 2295 fmt.Printf("add_uint64 0%s0 = %d, wanted 0\n", `+`, got) 2296 failed = true 2297 } 2298 2299 if got := add_0_uint64_ssa(1); got != 1 { 2300 fmt.Printf("add_uint64 0%s1 = %d, wanted 1\n", `+`, got) 2301 failed = true 2302 } 2303 2304 if got := add_uint64_0_ssa(1); got != 1 { 2305 fmt.Printf("add_uint64 1%s0 = %d, wanted 1\n", `+`, got) 2306 failed = true 2307 } 2308 2309 if got := add_0_uint64_ssa(4294967296); got != 4294967296 { 2310 fmt.Printf("add_uint64 0%s4294967296 = %d, wanted 4294967296\n", `+`, got) 2311 failed = true 2312 } 2313 2314 if got := add_uint64_0_ssa(4294967296); got != 4294967296 { 2315 fmt.Printf("add_uint64 4294967296%s0 = %d, wanted 4294967296\n", `+`, got) 2316 failed = true 2317 } 2318 2319 if got := add_0_uint64_ssa(18446744073709551615); got != 18446744073709551615 { 2320 fmt.Printf("add_uint64 0%s18446744073709551615 = %d, wanted 18446744073709551615\n", `+`, got) 2321 failed = true 2322 } 2323 2324 if got := add_uint64_0_ssa(18446744073709551615); got != 18446744073709551615 { 2325 fmt.Printf("add_uint64 18446744073709551615%s0 = %d, wanted 18446744073709551615\n", `+`, got) 2326 failed = true 2327 } 2328 2329 if got := add_1_uint64_ssa(0); got != 1 { 2330 fmt.Printf("add_uint64 1%s0 = %d, wanted 1\n", `+`, got) 2331 failed = true 2332 } 2333 2334 if got := add_uint64_1_ssa(0); got != 1 { 2335 fmt.Printf("add_uint64 0%s1 = %d, wanted 1\n", `+`, got) 2336 failed = true 2337 } 2338 2339 if got := add_1_uint64_ssa(1); got != 2 { 2340 fmt.Printf("add_uint64 1%s1 = %d, wanted 2\n", `+`, got) 2341 failed = true 2342 } 2343 2344 if got := add_uint64_1_ssa(1); got != 2 { 2345 fmt.Printf("add_uint64 1%s1 = %d, wanted 2\n", `+`, got) 2346 failed = true 2347 } 2348 2349 if got := add_1_uint64_ssa(4294967296); got != 4294967297 { 2350 fmt.Printf("add_uint64 1%s4294967296 = %d, wanted 4294967297\n", `+`, got) 2351 failed = true 2352 } 2353 2354 if got := add_uint64_1_ssa(4294967296); got != 4294967297 { 2355 fmt.Printf("add_uint64 4294967296%s1 = %d, wanted 4294967297\n", `+`, got) 2356 failed = true 2357 } 2358 2359 if got := add_1_uint64_ssa(18446744073709551615); got != 0 { 2360 fmt.Printf("add_uint64 1%s18446744073709551615 = %d, wanted 0\n", `+`, got) 2361 failed = true 2362 } 2363 2364 if got := add_uint64_1_ssa(18446744073709551615); got != 0 { 2365 fmt.Printf("add_uint64 18446744073709551615%s1 = %d, wanted 0\n", `+`, got) 2366 failed = true 2367 } 2368 2369 if got := add_4294967296_uint64_ssa(0); got != 4294967296 { 2370 fmt.Printf("add_uint64 4294967296%s0 = %d, wanted 4294967296\n", `+`, got) 2371 failed = true 2372 } 2373 2374 if got := add_uint64_4294967296_ssa(0); got != 4294967296 { 2375 fmt.Printf("add_uint64 0%s4294967296 = %d, wanted 4294967296\n", `+`, got) 2376 failed = true 2377 } 2378 2379 if got := add_4294967296_uint64_ssa(1); got != 4294967297 { 2380 fmt.Printf("add_uint64 4294967296%s1 = %d, wanted 4294967297\n", `+`, got) 2381 failed = true 2382 } 2383 2384 if got := add_uint64_4294967296_ssa(1); got != 4294967297 { 2385 fmt.Printf("add_uint64 1%s4294967296 = %d, wanted 4294967297\n", `+`, got) 2386 failed = true 2387 } 2388 2389 if got := add_4294967296_uint64_ssa(4294967296); got != 8589934592 { 2390 fmt.Printf("add_uint64 4294967296%s4294967296 = %d, wanted 8589934592\n", `+`, got) 2391 failed = true 2392 } 2393 2394 if got := add_uint64_4294967296_ssa(4294967296); got != 8589934592 { 2395 fmt.Printf("add_uint64 4294967296%s4294967296 = %d, wanted 8589934592\n", `+`, got) 2396 failed = true 2397 } 2398 2399 if got := add_4294967296_uint64_ssa(18446744073709551615); got != 4294967295 { 2400 fmt.Printf("add_uint64 4294967296%s18446744073709551615 = %d, wanted 4294967295\n", `+`, got) 2401 failed = true 2402 } 2403 2404 if got := add_uint64_4294967296_ssa(18446744073709551615); got != 4294967295 { 2405 fmt.Printf("add_uint64 18446744073709551615%s4294967296 = %d, wanted 4294967295\n", `+`, got) 2406 failed = true 2407 } 2408 2409 if got := add_18446744073709551615_uint64_ssa(0); got != 18446744073709551615 { 2410 fmt.Printf("add_uint64 18446744073709551615%s0 = %d, wanted 18446744073709551615\n", `+`, got) 2411 failed = true 2412 } 2413 2414 if got := add_uint64_18446744073709551615_ssa(0); got != 18446744073709551615 { 2415 fmt.Printf("add_uint64 0%s18446744073709551615 = %d, wanted 18446744073709551615\n", `+`, got) 2416 failed = true 2417 } 2418 2419 if got := add_18446744073709551615_uint64_ssa(1); got != 0 { 2420 fmt.Printf("add_uint64 18446744073709551615%s1 = %d, wanted 0\n", `+`, got) 2421 failed = true 2422 } 2423 2424 if got := add_uint64_18446744073709551615_ssa(1); got != 0 { 2425 fmt.Printf("add_uint64 1%s18446744073709551615 = %d, wanted 0\n", `+`, got) 2426 failed = true 2427 } 2428 2429 if got := add_18446744073709551615_uint64_ssa(4294967296); got != 4294967295 { 2430 fmt.Printf("add_uint64 18446744073709551615%s4294967296 = %d, wanted 4294967295\n", `+`, got) 2431 failed = true 2432 } 2433 2434 if got := add_uint64_18446744073709551615_ssa(4294967296); got != 4294967295 { 2435 fmt.Printf("add_uint64 4294967296%s18446744073709551615 = %d, wanted 4294967295\n", `+`, got) 2436 failed = true 2437 } 2438 2439 if got := add_18446744073709551615_uint64_ssa(18446744073709551615); got != 18446744073709551614 { 2440 fmt.Printf("add_uint64 18446744073709551615%s18446744073709551615 = %d, wanted 18446744073709551614\n", `+`, got) 2441 failed = true 2442 } 2443 2444 if got := add_uint64_18446744073709551615_ssa(18446744073709551615); got != 18446744073709551614 { 2445 fmt.Printf("add_uint64 18446744073709551615%s18446744073709551615 = %d, wanted 18446744073709551614\n", `+`, got) 2446 failed = true 2447 } 2448 2449 if got := sub_0_uint64_ssa(0); got != 0 { 2450 fmt.Printf("sub_uint64 0%s0 = %d, wanted 0\n", `-`, got) 2451 failed = true 2452 } 2453 2454 if got := sub_uint64_0_ssa(0); got != 0 { 2455 fmt.Printf("sub_uint64 0%s0 = %d, wanted 0\n", `-`, got) 2456 failed = true 2457 } 2458 2459 if got := sub_0_uint64_ssa(1); got != 18446744073709551615 { 2460 fmt.Printf("sub_uint64 0%s1 = %d, wanted 18446744073709551615\n", `-`, got) 2461 failed = true 2462 } 2463 2464 if got := sub_uint64_0_ssa(1); got != 1 { 2465 fmt.Printf("sub_uint64 1%s0 = %d, wanted 1\n", `-`, got) 2466 failed = true 2467 } 2468 2469 if got := sub_0_uint64_ssa(4294967296); got != 18446744069414584320 { 2470 fmt.Printf("sub_uint64 0%s4294967296 = %d, wanted 18446744069414584320\n", `-`, got) 2471 failed = true 2472 } 2473 2474 if got := sub_uint64_0_ssa(4294967296); got != 4294967296 { 2475 fmt.Printf("sub_uint64 4294967296%s0 = %d, wanted 4294967296\n", `-`, got) 2476 failed = true 2477 } 2478 2479 if got := sub_0_uint64_ssa(18446744073709551615); got != 1 { 2480 fmt.Printf("sub_uint64 0%s18446744073709551615 = %d, wanted 1\n", `-`, got) 2481 failed = true 2482 } 2483 2484 if got := sub_uint64_0_ssa(18446744073709551615); got != 18446744073709551615 { 2485 fmt.Printf("sub_uint64 18446744073709551615%s0 = %d, wanted 18446744073709551615\n", `-`, got) 2486 failed = true 2487 } 2488 2489 if got := sub_1_uint64_ssa(0); got != 1 { 2490 fmt.Printf("sub_uint64 1%s0 = %d, wanted 1\n", `-`, got) 2491 failed = true 2492 } 2493 2494 if got := sub_uint64_1_ssa(0); got != 18446744073709551615 { 2495 fmt.Printf("sub_uint64 0%s1 = %d, wanted 18446744073709551615\n", `-`, got) 2496 failed = true 2497 } 2498 2499 if got := sub_1_uint64_ssa(1); got != 0 { 2500 fmt.Printf("sub_uint64 1%s1 = %d, wanted 0\n", `-`, got) 2501 failed = true 2502 } 2503 2504 if got := sub_uint64_1_ssa(1); got != 0 { 2505 fmt.Printf("sub_uint64 1%s1 = %d, wanted 0\n", `-`, got) 2506 failed = true 2507 } 2508 2509 if got := sub_1_uint64_ssa(4294967296); got != 18446744069414584321 { 2510 fmt.Printf("sub_uint64 1%s4294967296 = %d, wanted 18446744069414584321\n", `-`, got) 2511 failed = true 2512 } 2513 2514 if got := sub_uint64_1_ssa(4294967296); got != 4294967295 { 2515 fmt.Printf("sub_uint64 4294967296%s1 = %d, wanted 4294967295\n", `-`, got) 2516 failed = true 2517 } 2518 2519 if got := sub_1_uint64_ssa(18446744073709551615); got != 2 { 2520 fmt.Printf("sub_uint64 1%s18446744073709551615 = %d, wanted 2\n", `-`, got) 2521 failed = true 2522 } 2523 2524 if got := sub_uint64_1_ssa(18446744073709551615); got != 18446744073709551614 { 2525 fmt.Printf("sub_uint64 18446744073709551615%s1 = %d, wanted 18446744073709551614\n", `-`, got) 2526 failed = true 2527 } 2528 2529 if got := sub_4294967296_uint64_ssa(0); got != 4294967296 { 2530 fmt.Printf("sub_uint64 4294967296%s0 = %d, wanted 4294967296\n", `-`, got) 2531 failed = true 2532 } 2533 2534 if got := sub_uint64_4294967296_ssa(0); got != 18446744069414584320 { 2535 fmt.Printf("sub_uint64 0%s4294967296 = %d, wanted 18446744069414584320\n", `-`, got) 2536 failed = true 2537 } 2538 2539 if got := sub_4294967296_uint64_ssa(1); got != 4294967295 { 2540 fmt.Printf("sub_uint64 4294967296%s1 = %d, wanted 4294967295\n", `-`, got) 2541 failed = true 2542 } 2543 2544 if got := sub_uint64_4294967296_ssa(1); got != 18446744069414584321 { 2545 fmt.Printf("sub_uint64 1%s4294967296 = %d, wanted 18446744069414584321\n", `-`, got) 2546 failed = true 2547 } 2548 2549 if got := sub_4294967296_uint64_ssa(4294967296); got != 0 { 2550 fmt.Printf("sub_uint64 4294967296%s4294967296 = %d, wanted 0\n", `-`, got) 2551 failed = true 2552 } 2553 2554 if got := sub_uint64_4294967296_ssa(4294967296); got != 0 { 2555 fmt.Printf("sub_uint64 4294967296%s4294967296 = %d, wanted 0\n", `-`, got) 2556 failed = true 2557 } 2558 2559 if got := sub_4294967296_uint64_ssa(18446744073709551615); got != 4294967297 { 2560 fmt.Printf("sub_uint64 4294967296%s18446744073709551615 = %d, wanted 4294967297\n", `-`, got) 2561 failed = true 2562 } 2563 2564 if got := sub_uint64_4294967296_ssa(18446744073709551615); got != 18446744069414584319 { 2565 fmt.Printf("sub_uint64 18446744073709551615%s4294967296 = %d, wanted 18446744069414584319\n", `-`, got) 2566 failed = true 2567 } 2568 2569 if got := sub_18446744073709551615_uint64_ssa(0); got != 18446744073709551615 { 2570 fmt.Printf("sub_uint64 18446744073709551615%s0 = %d, wanted 18446744073709551615\n", `-`, got) 2571 failed = true 2572 } 2573 2574 if got := sub_uint64_18446744073709551615_ssa(0); got != 1 { 2575 fmt.Printf("sub_uint64 0%s18446744073709551615 = %d, wanted 1\n", `-`, got) 2576 failed = true 2577 } 2578 2579 if got := sub_18446744073709551615_uint64_ssa(1); got != 18446744073709551614 { 2580 fmt.Printf("sub_uint64 18446744073709551615%s1 = %d, wanted 18446744073709551614\n", `-`, got) 2581 failed = true 2582 } 2583 2584 if got := sub_uint64_18446744073709551615_ssa(1); got != 2 { 2585 fmt.Printf("sub_uint64 1%s18446744073709551615 = %d, wanted 2\n", `-`, got) 2586 failed = true 2587 } 2588 2589 if got := sub_18446744073709551615_uint64_ssa(4294967296); got != 18446744069414584319 { 2590 fmt.Printf("sub_uint64 18446744073709551615%s4294967296 = %d, wanted 18446744069414584319\n", `-`, got) 2591 failed = true 2592 } 2593 2594 if got := sub_uint64_18446744073709551615_ssa(4294967296); got != 4294967297 { 2595 fmt.Printf("sub_uint64 4294967296%s18446744073709551615 = %d, wanted 4294967297\n", `-`, got) 2596 failed = true 2597 } 2598 2599 if got := sub_18446744073709551615_uint64_ssa(18446744073709551615); got != 0 { 2600 fmt.Printf("sub_uint64 18446744073709551615%s18446744073709551615 = %d, wanted 0\n", `-`, got) 2601 failed = true 2602 } 2603 2604 if got := sub_uint64_18446744073709551615_ssa(18446744073709551615); got != 0 { 2605 fmt.Printf("sub_uint64 18446744073709551615%s18446744073709551615 = %d, wanted 0\n", `-`, got) 2606 failed = true 2607 } 2608 2609 if got := div_0_uint64_ssa(1); got != 0 { 2610 fmt.Printf("div_uint64 0%s1 = %d, wanted 0\n", `/`, got) 2611 failed = true 2612 } 2613 2614 if got := div_0_uint64_ssa(4294967296); got != 0 { 2615 fmt.Printf("div_uint64 0%s4294967296 = %d, wanted 0\n", `/`, got) 2616 failed = true 2617 } 2618 2619 if got := div_0_uint64_ssa(18446744073709551615); got != 0 { 2620 fmt.Printf("div_uint64 0%s18446744073709551615 = %d, wanted 0\n", `/`, got) 2621 failed = true 2622 } 2623 2624 if got := div_uint64_1_ssa(0); got != 0 { 2625 fmt.Printf("div_uint64 0%s1 = %d, wanted 0\n", `/`, got) 2626 failed = true 2627 } 2628 2629 if got := div_1_uint64_ssa(1); got != 1 { 2630 fmt.Printf("div_uint64 1%s1 = %d, wanted 1\n", `/`, got) 2631 failed = true 2632 } 2633 2634 if got := div_uint64_1_ssa(1); got != 1 { 2635 fmt.Printf("div_uint64 1%s1 = %d, wanted 1\n", `/`, got) 2636 failed = true 2637 } 2638 2639 if got := div_1_uint64_ssa(4294967296); got != 0 { 2640 fmt.Printf("div_uint64 1%s4294967296 = %d, wanted 0\n", `/`, got) 2641 failed = true 2642 } 2643 2644 if got := div_uint64_1_ssa(4294967296); got != 4294967296 { 2645 fmt.Printf("div_uint64 4294967296%s1 = %d, wanted 4294967296\n", `/`, got) 2646 failed = true 2647 } 2648 2649 if got := div_1_uint64_ssa(18446744073709551615); got != 0 { 2650 fmt.Printf("div_uint64 1%s18446744073709551615 = %d, wanted 0\n", `/`, got) 2651 failed = true 2652 } 2653 2654 if got := div_uint64_1_ssa(18446744073709551615); got != 18446744073709551615 { 2655 fmt.Printf("div_uint64 18446744073709551615%s1 = %d, wanted 18446744073709551615\n", `/`, got) 2656 failed = true 2657 } 2658 2659 if got := div_uint64_4294967296_ssa(0); got != 0 { 2660 fmt.Printf("div_uint64 0%s4294967296 = %d, wanted 0\n", `/`, got) 2661 failed = true 2662 } 2663 2664 if got := div_4294967296_uint64_ssa(1); got != 4294967296 { 2665 fmt.Printf("div_uint64 4294967296%s1 = %d, wanted 4294967296\n", `/`, got) 2666 failed = true 2667 } 2668 2669 if got := div_uint64_4294967296_ssa(1); got != 0 { 2670 fmt.Printf("div_uint64 1%s4294967296 = %d, wanted 0\n", `/`, got) 2671 failed = true 2672 } 2673 2674 if got := div_4294967296_uint64_ssa(4294967296); got != 1 { 2675 fmt.Printf("div_uint64 4294967296%s4294967296 = %d, wanted 1\n", `/`, got) 2676 failed = true 2677 } 2678 2679 if got := div_uint64_4294967296_ssa(4294967296); got != 1 { 2680 fmt.Printf("div_uint64 4294967296%s4294967296 = %d, wanted 1\n", `/`, got) 2681 failed = true 2682 } 2683 2684 if got := div_4294967296_uint64_ssa(18446744073709551615); got != 0 { 2685 fmt.Printf("div_uint64 4294967296%s18446744073709551615 = %d, wanted 0\n", `/`, got) 2686 failed = true 2687 } 2688 2689 if got := div_uint64_4294967296_ssa(18446744073709551615); got != 4294967295 { 2690 fmt.Printf("div_uint64 18446744073709551615%s4294967296 = %d, wanted 4294967295\n", `/`, got) 2691 failed = true 2692 } 2693 2694 if got := div_uint64_18446744073709551615_ssa(0); got != 0 { 2695 fmt.Printf("div_uint64 0%s18446744073709551615 = %d, wanted 0\n", `/`, got) 2696 failed = true 2697 } 2698 2699 if got := div_18446744073709551615_uint64_ssa(1); got != 18446744073709551615 { 2700 fmt.Printf("div_uint64 18446744073709551615%s1 = %d, wanted 18446744073709551615\n", `/`, got) 2701 failed = true 2702 } 2703 2704 if got := div_uint64_18446744073709551615_ssa(1); got != 0 { 2705 fmt.Printf("div_uint64 1%s18446744073709551615 = %d, wanted 0\n", `/`, got) 2706 failed = true 2707 } 2708 2709 if got := div_18446744073709551615_uint64_ssa(4294967296); got != 4294967295 { 2710 fmt.Printf("div_uint64 18446744073709551615%s4294967296 = %d, wanted 4294967295\n", `/`, got) 2711 failed = true 2712 } 2713 2714 if got := div_uint64_18446744073709551615_ssa(4294967296); got != 0 { 2715 fmt.Printf("div_uint64 4294967296%s18446744073709551615 = %d, wanted 0\n", `/`, got) 2716 failed = true 2717 } 2718 2719 if got := div_18446744073709551615_uint64_ssa(18446744073709551615); got != 1 { 2720 fmt.Printf("div_uint64 18446744073709551615%s18446744073709551615 = %d, wanted 1\n", `/`, got) 2721 failed = true 2722 } 2723 2724 if got := div_uint64_18446744073709551615_ssa(18446744073709551615); got != 1 { 2725 fmt.Printf("div_uint64 18446744073709551615%s18446744073709551615 = %d, wanted 1\n", `/`, got) 2726 failed = true 2727 } 2728 2729 if got := mul_0_uint64_ssa(0); got != 0 { 2730 fmt.Printf("mul_uint64 0%s0 = %d, wanted 0\n", `*`, got) 2731 failed = true 2732 } 2733 2734 if got := mul_uint64_0_ssa(0); got != 0 { 2735 fmt.Printf("mul_uint64 0%s0 = %d, wanted 0\n", `*`, got) 2736 failed = true 2737 } 2738 2739 if got := mul_0_uint64_ssa(1); got != 0 { 2740 fmt.Printf("mul_uint64 0%s1 = %d, wanted 0\n", `*`, got) 2741 failed = true 2742 } 2743 2744 if got := mul_uint64_0_ssa(1); got != 0 { 2745 fmt.Printf("mul_uint64 1%s0 = %d, wanted 0\n", `*`, got) 2746 failed = true 2747 } 2748 2749 if got := mul_0_uint64_ssa(4294967296); got != 0 { 2750 fmt.Printf("mul_uint64 0%s4294967296 = %d, wanted 0\n", `*`, got) 2751 failed = true 2752 } 2753 2754 if got := mul_uint64_0_ssa(4294967296); got != 0 { 2755 fmt.Printf("mul_uint64 4294967296%s0 = %d, wanted 0\n", `*`, got) 2756 failed = true 2757 } 2758 2759 if got := mul_0_uint64_ssa(18446744073709551615); got != 0 { 2760 fmt.Printf("mul_uint64 0%s18446744073709551615 = %d, wanted 0\n", `*`, got) 2761 failed = true 2762 } 2763 2764 if got := mul_uint64_0_ssa(18446744073709551615); got != 0 { 2765 fmt.Printf("mul_uint64 18446744073709551615%s0 = %d, wanted 0\n", `*`, got) 2766 failed = true 2767 } 2768 2769 if got := mul_1_uint64_ssa(0); got != 0 { 2770 fmt.Printf("mul_uint64 1%s0 = %d, wanted 0\n", `*`, got) 2771 failed = true 2772 } 2773 2774 if got := mul_uint64_1_ssa(0); got != 0 { 2775 fmt.Printf("mul_uint64 0%s1 = %d, wanted 0\n", `*`, got) 2776 failed = true 2777 } 2778 2779 if got := mul_1_uint64_ssa(1); got != 1 { 2780 fmt.Printf("mul_uint64 1%s1 = %d, wanted 1\n", `*`, got) 2781 failed = true 2782 } 2783 2784 if got := mul_uint64_1_ssa(1); got != 1 { 2785 fmt.Printf("mul_uint64 1%s1 = %d, wanted 1\n", `*`, got) 2786 failed = true 2787 } 2788 2789 if got := mul_1_uint64_ssa(4294967296); got != 4294967296 { 2790 fmt.Printf("mul_uint64 1%s4294967296 = %d, wanted 4294967296\n", `*`, got) 2791 failed = true 2792 } 2793 2794 if got := mul_uint64_1_ssa(4294967296); got != 4294967296 { 2795 fmt.Printf("mul_uint64 4294967296%s1 = %d, wanted 4294967296\n", `*`, got) 2796 failed = true 2797 } 2798 2799 if got := mul_1_uint64_ssa(18446744073709551615); got != 18446744073709551615 { 2800 fmt.Printf("mul_uint64 1%s18446744073709551615 = %d, wanted 18446744073709551615\n", `*`, got) 2801 failed = true 2802 } 2803 2804 if got := mul_uint64_1_ssa(18446744073709551615); got != 18446744073709551615 { 2805 fmt.Printf("mul_uint64 18446744073709551615%s1 = %d, wanted 18446744073709551615\n", `*`, got) 2806 failed = true 2807 } 2808 2809 if got := mul_4294967296_uint64_ssa(0); got != 0 { 2810 fmt.Printf("mul_uint64 4294967296%s0 = %d, wanted 0\n", `*`, got) 2811 failed = true 2812 } 2813 2814 if got := mul_uint64_4294967296_ssa(0); got != 0 { 2815 fmt.Printf("mul_uint64 0%s4294967296 = %d, wanted 0\n", `*`, got) 2816 failed = true 2817 } 2818 2819 if got := mul_4294967296_uint64_ssa(1); got != 4294967296 { 2820 fmt.Printf("mul_uint64 4294967296%s1 = %d, wanted 4294967296\n", `*`, got) 2821 failed = true 2822 } 2823 2824 if got := mul_uint64_4294967296_ssa(1); got != 4294967296 { 2825 fmt.Printf("mul_uint64 1%s4294967296 = %d, wanted 4294967296\n", `*`, got) 2826 failed = true 2827 } 2828 2829 if got := mul_4294967296_uint64_ssa(4294967296); got != 0 { 2830 fmt.Printf("mul_uint64 4294967296%s4294967296 = %d, wanted 0\n", `*`, got) 2831 failed = true 2832 } 2833 2834 if got := mul_uint64_4294967296_ssa(4294967296); got != 0 { 2835 fmt.Printf("mul_uint64 4294967296%s4294967296 = %d, wanted 0\n", `*`, got) 2836 failed = true 2837 } 2838 2839 if got := mul_4294967296_uint64_ssa(18446744073709551615); got != 18446744069414584320 { 2840 fmt.Printf("mul_uint64 4294967296%s18446744073709551615 = %d, wanted 18446744069414584320\n", `*`, got) 2841 failed = true 2842 } 2843 2844 if got := mul_uint64_4294967296_ssa(18446744073709551615); got != 18446744069414584320 { 2845 fmt.Printf("mul_uint64 18446744073709551615%s4294967296 = %d, wanted 18446744069414584320\n", `*`, got) 2846 failed = true 2847 } 2848 2849 if got := mul_18446744073709551615_uint64_ssa(0); got != 0 { 2850 fmt.Printf("mul_uint64 18446744073709551615%s0 = %d, wanted 0\n", `*`, got) 2851 failed = true 2852 } 2853 2854 if got := mul_uint64_18446744073709551615_ssa(0); got != 0 { 2855 fmt.Printf("mul_uint64 0%s18446744073709551615 = %d, wanted 0\n", `*`, got) 2856 failed = true 2857 } 2858 2859 if got := mul_18446744073709551615_uint64_ssa(1); got != 18446744073709551615 { 2860 fmt.Printf("mul_uint64 18446744073709551615%s1 = %d, wanted 18446744073709551615\n", `*`, got) 2861 failed = true 2862 } 2863 2864 if got := mul_uint64_18446744073709551615_ssa(1); got != 18446744073709551615 { 2865 fmt.Printf("mul_uint64 1%s18446744073709551615 = %d, wanted 18446744073709551615\n", `*`, got) 2866 failed = true 2867 } 2868 2869 if got := mul_18446744073709551615_uint64_ssa(4294967296); got != 18446744069414584320 { 2870 fmt.Printf("mul_uint64 18446744073709551615%s4294967296 = %d, wanted 18446744069414584320\n", `*`, got) 2871 failed = true 2872 } 2873 2874 if got := mul_uint64_18446744073709551615_ssa(4294967296); got != 18446744069414584320 { 2875 fmt.Printf("mul_uint64 4294967296%s18446744073709551615 = %d, wanted 18446744069414584320\n", `*`, got) 2876 failed = true 2877 } 2878 2879 if got := mul_18446744073709551615_uint64_ssa(18446744073709551615); got != 1 { 2880 fmt.Printf("mul_uint64 18446744073709551615%s18446744073709551615 = %d, wanted 1\n", `*`, got) 2881 failed = true 2882 } 2883 2884 if got := mul_uint64_18446744073709551615_ssa(18446744073709551615); got != 1 { 2885 fmt.Printf("mul_uint64 18446744073709551615%s18446744073709551615 = %d, wanted 1\n", `*`, got) 2886 failed = true 2887 } 2888 2889 if got := lsh_0_uint64_ssa(0); got != 0 { 2890 fmt.Printf("lsh_uint64 0%s0 = %d, wanted 0\n", `<<`, got) 2891 failed = true 2892 } 2893 2894 if got := lsh_uint64_0_ssa(0); got != 0 { 2895 fmt.Printf("lsh_uint64 0%s0 = %d, wanted 0\n", `<<`, got) 2896 failed = true 2897 } 2898 2899 if got := lsh_0_uint64_ssa(1); got != 0 { 2900 fmt.Printf("lsh_uint64 0%s1 = %d, wanted 0\n", `<<`, got) 2901 failed = true 2902 } 2903 2904 if got := lsh_uint64_0_ssa(1); got != 1 { 2905 fmt.Printf("lsh_uint64 1%s0 = %d, wanted 1\n", `<<`, got) 2906 failed = true 2907 } 2908 2909 if got := lsh_0_uint64_ssa(4294967296); got != 0 { 2910 fmt.Printf("lsh_uint64 0%s4294967296 = %d, wanted 0\n", `<<`, got) 2911 failed = true 2912 } 2913 2914 if got := lsh_uint64_0_ssa(4294967296); got != 4294967296 { 2915 fmt.Printf("lsh_uint64 4294967296%s0 = %d, wanted 4294967296\n", `<<`, got) 2916 failed = true 2917 } 2918 2919 if got := lsh_0_uint64_ssa(18446744073709551615); got != 0 { 2920 fmt.Printf("lsh_uint64 0%s18446744073709551615 = %d, wanted 0\n", `<<`, got) 2921 failed = true 2922 } 2923 2924 if got := lsh_uint64_0_ssa(18446744073709551615); got != 18446744073709551615 { 2925 fmt.Printf("lsh_uint64 18446744073709551615%s0 = %d, wanted 18446744073709551615\n", `<<`, got) 2926 failed = true 2927 } 2928 2929 if got := lsh_1_uint64_ssa(0); got != 1 { 2930 fmt.Printf("lsh_uint64 1%s0 = %d, wanted 1\n", `<<`, got) 2931 failed = true 2932 } 2933 2934 if got := lsh_uint64_1_ssa(0); got != 0 { 2935 fmt.Printf("lsh_uint64 0%s1 = %d, wanted 0\n", `<<`, got) 2936 failed = true 2937 } 2938 2939 if got := lsh_1_uint64_ssa(1); got != 2 { 2940 fmt.Printf("lsh_uint64 1%s1 = %d, wanted 2\n", `<<`, got) 2941 failed = true 2942 } 2943 2944 if got := lsh_uint64_1_ssa(1); got != 2 { 2945 fmt.Printf("lsh_uint64 1%s1 = %d, wanted 2\n", `<<`, got) 2946 failed = true 2947 } 2948 2949 if got := lsh_1_uint64_ssa(4294967296); got != 0 { 2950 fmt.Printf("lsh_uint64 1%s4294967296 = %d, wanted 0\n", `<<`, got) 2951 failed = true 2952 } 2953 2954 if got := lsh_uint64_1_ssa(4294967296); got != 8589934592 { 2955 fmt.Printf("lsh_uint64 4294967296%s1 = %d, wanted 8589934592\n", `<<`, got) 2956 failed = true 2957 } 2958 2959 if got := lsh_1_uint64_ssa(18446744073709551615); got != 0 { 2960 fmt.Printf("lsh_uint64 1%s18446744073709551615 = %d, wanted 0\n", `<<`, got) 2961 failed = true 2962 } 2963 2964 if got := lsh_uint64_1_ssa(18446744073709551615); got != 18446744073709551614 { 2965 fmt.Printf("lsh_uint64 18446744073709551615%s1 = %d, wanted 18446744073709551614\n", `<<`, got) 2966 failed = true 2967 } 2968 2969 if got := lsh_4294967296_uint64_ssa(0); got != 4294967296 { 2970 fmt.Printf("lsh_uint64 4294967296%s0 = %d, wanted 4294967296\n", `<<`, got) 2971 failed = true 2972 } 2973 2974 if got := lsh_uint64_4294967296_ssa(0); got != 0 { 2975 fmt.Printf("lsh_uint64 0%s4294967296 = %d, wanted 0\n", `<<`, got) 2976 failed = true 2977 } 2978 2979 if got := lsh_4294967296_uint64_ssa(1); got != 8589934592 { 2980 fmt.Printf("lsh_uint64 4294967296%s1 = %d, wanted 8589934592\n", `<<`, got) 2981 failed = true 2982 } 2983 2984 if got := lsh_uint64_4294967296_ssa(1); got != 0 { 2985 fmt.Printf("lsh_uint64 1%s4294967296 = %d, wanted 0\n", `<<`, got) 2986 failed = true 2987 } 2988 2989 if got := lsh_4294967296_uint64_ssa(4294967296); got != 0 { 2990 fmt.Printf("lsh_uint64 4294967296%s4294967296 = %d, wanted 0\n", `<<`, got) 2991 failed = true 2992 } 2993 2994 if got := lsh_uint64_4294967296_ssa(4294967296); got != 0 { 2995 fmt.Printf("lsh_uint64 4294967296%s4294967296 = %d, wanted 0\n", `<<`, got) 2996 failed = true 2997 } 2998 2999 if got := lsh_4294967296_uint64_ssa(18446744073709551615); got != 0 { 3000 fmt.Printf("lsh_uint64 4294967296%s18446744073709551615 = %d, wanted 0\n", `<<`, got) 3001 failed = true 3002 } 3003 3004 if got := lsh_uint64_4294967296_ssa(18446744073709551615); got != 0 { 3005 fmt.Printf("lsh_uint64 18446744073709551615%s4294967296 = %d, wanted 0\n", `<<`, got) 3006 failed = true 3007 } 3008 3009 if got := lsh_18446744073709551615_uint64_ssa(0); got != 18446744073709551615 { 3010 fmt.Printf("lsh_uint64 18446744073709551615%s0 = %d, wanted 18446744073709551615\n", `<<`, got) 3011 failed = true 3012 } 3013 3014 if got := lsh_uint64_18446744073709551615_ssa(0); got != 0 { 3015 fmt.Printf("lsh_uint64 0%s18446744073709551615 = %d, wanted 0\n", `<<`, got) 3016 failed = true 3017 } 3018 3019 if got := lsh_18446744073709551615_uint64_ssa(1); got != 18446744073709551614 { 3020 fmt.Printf("lsh_uint64 18446744073709551615%s1 = %d, wanted 18446744073709551614\n", `<<`, got) 3021 failed = true 3022 } 3023 3024 if got := lsh_uint64_18446744073709551615_ssa(1); got != 0 { 3025 fmt.Printf("lsh_uint64 1%s18446744073709551615 = %d, wanted 0\n", `<<`, got) 3026 failed = true 3027 } 3028 3029 if got := lsh_18446744073709551615_uint64_ssa(4294967296); got != 0 { 3030 fmt.Printf("lsh_uint64 18446744073709551615%s4294967296 = %d, wanted 0\n", `<<`, got) 3031 failed = true 3032 } 3033 3034 if got := lsh_uint64_18446744073709551615_ssa(4294967296); got != 0 { 3035 fmt.Printf("lsh_uint64 4294967296%s18446744073709551615 = %d, wanted 0\n", `<<`, got) 3036 failed = true 3037 } 3038 3039 if got := lsh_18446744073709551615_uint64_ssa(18446744073709551615); got != 0 { 3040 fmt.Printf("lsh_uint64 18446744073709551615%s18446744073709551615 = %d, wanted 0\n", `<<`, got) 3041 failed = true 3042 } 3043 3044 if got := lsh_uint64_18446744073709551615_ssa(18446744073709551615); got != 0 { 3045 fmt.Printf("lsh_uint64 18446744073709551615%s18446744073709551615 = %d, wanted 0\n", `<<`, got) 3046 failed = true 3047 } 3048 3049 if got := rsh_0_uint64_ssa(0); got != 0 { 3050 fmt.Printf("rsh_uint64 0%s0 = %d, wanted 0\n", `>>`, got) 3051 failed = true 3052 } 3053 3054 if got := rsh_uint64_0_ssa(0); got != 0 { 3055 fmt.Printf("rsh_uint64 0%s0 = %d, wanted 0\n", `>>`, got) 3056 failed = true 3057 } 3058 3059 if got := rsh_0_uint64_ssa(1); got != 0 { 3060 fmt.Printf("rsh_uint64 0%s1 = %d, wanted 0\n", `>>`, got) 3061 failed = true 3062 } 3063 3064 if got := rsh_uint64_0_ssa(1); got != 1 { 3065 fmt.Printf("rsh_uint64 1%s0 = %d, wanted 1\n", `>>`, got) 3066 failed = true 3067 } 3068 3069 if got := rsh_0_uint64_ssa(4294967296); got != 0 { 3070 fmt.Printf("rsh_uint64 0%s4294967296 = %d, wanted 0\n", `>>`, got) 3071 failed = true 3072 } 3073 3074 if got := rsh_uint64_0_ssa(4294967296); got != 4294967296 { 3075 fmt.Printf("rsh_uint64 4294967296%s0 = %d, wanted 4294967296\n", `>>`, got) 3076 failed = true 3077 } 3078 3079 if got := rsh_0_uint64_ssa(18446744073709551615); got != 0 { 3080 fmt.Printf("rsh_uint64 0%s18446744073709551615 = %d, wanted 0\n", `>>`, got) 3081 failed = true 3082 } 3083 3084 if got := rsh_uint64_0_ssa(18446744073709551615); got != 18446744073709551615 { 3085 fmt.Printf("rsh_uint64 18446744073709551615%s0 = %d, wanted 18446744073709551615\n", `>>`, got) 3086 failed = true 3087 } 3088 3089 if got := rsh_1_uint64_ssa(0); got != 1 { 3090 fmt.Printf("rsh_uint64 1%s0 = %d, wanted 1\n", `>>`, got) 3091 failed = true 3092 } 3093 3094 if got := rsh_uint64_1_ssa(0); got != 0 { 3095 fmt.Printf("rsh_uint64 0%s1 = %d, wanted 0\n", `>>`, got) 3096 failed = true 3097 } 3098 3099 if got := rsh_1_uint64_ssa(1); got != 0 { 3100 fmt.Printf("rsh_uint64 1%s1 = %d, wanted 0\n", `>>`, got) 3101 failed = true 3102 } 3103 3104 if got := rsh_uint64_1_ssa(1); got != 0 { 3105 fmt.Printf("rsh_uint64 1%s1 = %d, wanted 0\n", `>>`, got) 3106 failed = true 3107 } 3108 3109 if got := rsh_1_uint64_ssa(4294967296); got != 0 { 3110 fmt.Printf("rsh_uint64 1%s4294967296 = %d, wanted 0\n", `>>`, got) 3111 failed = true 3112 } 3113 3114 if got := rsh_uint64_1_ssa(4294967296); got != 2147483648 { 3115 fmt.Printf("rsh_uint64 4294967296%s1 = %d, wanted 2147483648\n", `>>`, got) 3116 failed = true 3117 } 3118 3119 if got := rsh_1_uint64_ssa(18446744073709551615); got != 0 { 3120 fmt.Printf("rsh_uint64 1%s18446744073709551615 = %d, wanted 0\n", `>>`, got) 3121 failed = true 3122 } 3123 3124 if got := rsh_uint64_1_ssa(18446744073709551615); got != 9223372036854775807 { 3125 fmt.Printf("rsh_uint64 18446744073709551615%s1 = %d, wanted 9223372036854775807\n", `>>`, got) 3126 failed = true 3127 } 3128 3129 if got := rsh_4294967296_uint64_ssa(0); got != 4294967296 { 3130 fmt.Printf("rsh_uint64 4294967296%s0 = %d, wanted 4294967296\n", `>>`, got) 3131 failed = true 3132 } 3133 3134 if got := rsh_uint64_4294967296_ssa(0); got != 0 { 3135 fmt.Printf("rsh_uint64 0%s4294967296 = %d, wanted 0\n", `>>`, got) 3136 failed = true 3137 } 3138 3139 if got := rsh_4294967296_uint64_ssa(1); got != 2147483648 { 3140 fmt.Printf("rsh_uint64 4294967296%s1 = %d, wanted 2147483648\n", `>>`, got) 3141 failed = true 3142 } 3143 3144 if got := rsh_uint64_4294967296_ssa(1); got != 0 { 3145 fmt.Printf("rsh_uint64 1%s4294967296 = %d, wanted 0\n", `>>`, got) 3146 failed = true 3147 } 3148 3149 if got := rsh_4294967296_uint64_ssa(4294967296); got != 0 { 3150 fmt.Printf("rsh_uint64 4294967296%s4294967296 = %d, wanted 0\n", `>>`, got) 3151 failed = true 3152 } 3153 3154 if got := rsh_uint64_4294967296_ssa(4294967296); got != 0 { 3155 fmt.Printf("rsh_uint64 4294967296%s4294967296 = %d, wanted 0\n", `>>`, got) 3156 failed = true 3157 } 3158 3159 if got := rsh_4294967296_uint64_ssa(18446744073709551615); got != 0 { 3160 fmt.Printf("rsh_uint64 4294967296%s18446744073709551615 = %d, wanted 0\n", `>>`, got) 3161 failed = true 3162 } 3163 3164 if got := rsh_uint64_4294967296_ssa(18446744073709551615); got != 0 { 3165 fmt.Printf("rsh_uint64 18446744073709551615%s4294967296 = %d, wanted 0\n", `>>`, got) 3166 failed = true 3167 } 3168 3169 if got := rsh_18446744073709551615_uint64_ssa(0); got != 18446744073709551615 { 3170 fmt.Printf("rsh_uint64 18446744073709551615%s0 = %d, wanted 18446744073709551615\n", `>>`, got) 3171 failed = true 3172 } 3173 3174 if got := rsh_uint64_18446744073709551615_ssa(0); got != 0 { 3175 fmt.Printf("rsh_uint64 0%s18446744073709551615 = %d, wanted 0\n", `>>`, got) 3176 failed = true 3177 } 3178 3179 if got := rsh_18446744073709551615_uint64_ssa(1); got != 9223372036854775807 { 3180 fmt.Printf("rsh_uint64 18446744073709551615%s1 = %d, wanted 9223372036854775807\n", `>>`, got) 3181 failed = true 3182 } 3183 3184 if got := rsh_uint64_18446744073709551615_ssa(1); got != 0 { 3185 fmt.Printf("rsh_uint64 1%s18446744073709551615 = %d, wanted 0\n", `>>`, got) 3186 failed = true 3187 } 3188 3189 if got := rsh_18446744073709551615_uint64_ssa(4294967296); got != 0 { 3190 fmt.Printf("rsh_uint64 18446744073709551615%s4294967296 = %d, wanted 0\n", `>>`, got) 3191 failed = true 3192 } 3193 3194 if got := rsh_uint64_18446744073709551615_ssa(4294967296); got != 0 { 3195 fmt.Printf("rsh_uint64 4294967296%s18446744073709551615 = %d, wanted 0\n", `>>`, got) 3196 failed = true 3197 } 3198 3199 if got := rsh_18446744073709551615_uint64_ssa(18446744073709551615); got != 0 { 3200 fmt.Printf("rsh_uint64 18446744073709551615%s18446744073709551615 = %d, wanted 0\n", `>>`, got) 3201 failed = true 3202 } 3203 3204 if got := rsh_uint64_18446744073709551615_ssa(18446744073709551615); got != 0 { 3205 fmt.Printf("rsh_uint64 18446744073709551615%s18446744073709551615 = %d, wanted 0\n", `>>`, got) 3206 failed = true 3207 } 3208 3209 if got := mod_0_uint64_ssa(1); got != 0 { 3210 fmt.Printf("mod_uint64 0%s1 = %d, wanted 0\n", `%`, got) 3211 failed = true 3212 } 3213 3214 if got := mod_0_uint64_ssa(4294967296); got != 0 { 3215 fmt.Printf("mod_uint64 0%s4294967296 = %d, wanted 0\n", `%`, got) 3216 failed = true 3217 } 3218 3219 if got := mod_0_uint64_ssa(18446744073709551615); got != 0 { 3220 fmt.Printf("mod_uint64 0%s18446744073709551615 = %d, wanted 0\n", `%`, got) 3221 failed = true 3222 } 3223 3224 if got := mod_uint64_1_ssa(0); got != 0 { 3225 fmt.Printf("mod_uint64 0%s1 = %d, wanted 0\n", `%`, got) 3226 failed = true 3227 } 3228 3229 if got := mod_1_uint64_ssa(1); got != 0 { 3230 fmt.Printf("mod_uint64 1%s1 = %d, wanted 0\n", `%`, got) 3231 failed = true 3232 } 3233 3234 if got := mod_uint64_1_ssa(1); got != 0 { 3235 fmt.Printf("mod_uint64 1%s1 = %d, wanted 0\n", `%`, got) 3236 failed = true 3237 } 3238 3239 if got := mod_1_uint64_ssa(4294967296); got != 1 { 3240 fmt.Printf("mod_uint64 1%s4294967296 = %d, wanted 1\n", `%`, got) 3241 failed = true 3242 } 3243 3244 if got := mod_uint64_1_ssa(4294967296); got != 0 { 3245 fmt.Printf("mod_uint64 4294967296%s1 = %d, wanted 0\n", `%`, got) 3246 failed = true 3247 } 3248 3249 if got := mod_1_uint64_ssa(18446744073709551615); got != 1 { 3250 fmt.Printf("mod_uint64 1%s18446744073709551615 = %d, wanted 1\n", `%`, got) 3251 failed = true 3252 } 3253 3254 if got := mod_uint64_1_ssa(18446744073709551615); got != 0 { 3255 fmt.Printf("mod_uint64 18446744073709551615%s1 = %d, wanted 0\n", `%`, got) 3256 failed = true 3257 } 3258 3259 if got := mod_uint64_4294967296_ssa(0); got != 0 { 3260 fmt.Printf("mod_uint64 0%s4294967296 = %d, wanted 0\n", `%`, got) 3261 failed = true 3262 } 3263 3264 if got := mod_4294967296_uint64_ssa(1); got != 0 { 3265 fmt.Printf("mod_uint64 4294967296%s1 = %d, wanted 0\n", `%`, got) 3266 failed = true 3267 } 3268 3269 if got := mod_uint64_4294967296_ssa(1); got != 1 { 3270 fmt.Printf("mod_uint64 1%s4294967296 = %d, wanted 1\n", `%`, got) 3271 failed = true 3272 } 3273 3274 if got := mod_4294967296_uint64_ssa(4294967296); got != 0 { 3275 fmt.Printf("mod_uint64 4294967296%s4294967296 = %d, wanted 0\n", `%`, got) 3276 failed = true 3277 } 3278 3279 if got := mod_uint64_4294967296_ssa(4294967296); got != 0 { 3280 fmt.Printf("mod_uint64 4294967296%s4294967296 = %d, wanted 0\n", `%`, got) 3281 failed = true 3282 } 3283 3284 if got := mod_4294967296_uint64_ssa(18446744073709551615); got != 4294967296 { 3285 fmt.Printf("mod_uint64 4294967296%s18446744073709551615 = %d, wanted 4294967296\n", `%`, got) 3286 failed = true 3287 } 3288 3289 if got := mod_uint64_4294967296_ssa(18446744073709551615); got != 4294967295 { 3290 fmt.Printf("mod_uint64 18446744073709551615%s4294967296 = %d, wanted 4294967295\n", `%`, got) 3291 failed = true 3292 } 3293 3294 if got := mod_uint64_18446744073709551615_ssa(0); got != 0 { 3295 fmt.Printf("mod_uint64 0%s18446744073709551615 = %d, wanted 0\n", `%`, got) 3296 failed = true 3297 } 3298 3299 if got := mod_18446744073709551615_uint64_ssa(1); got != 0 { 3300 fmt.Printf("mod_uint64 18446744073709551615%s1 = %d, wanted 0\n", `%`, got) 3301 failed = true 3302 } 3303 3304 if got := mod_uint64_18446744073709551615_ssa(1); got != 1 { 3305 fmt.Printf("mod_uint64 1%s18446744073709551615 = %d, wanted 1\n", `%`, got) 3306 failed = true 3307 } 3308 3309 if got := mod_18446744073709551615_uint64_ssa(4294967296); got != 4294967295 { 3310 fmt.Printf("mod_uint64 18446744073709551615%s4294967296 = %d, wanted 4294967295\n", `%`, got) 3311 failed = true 3312 } 3313 3314 if got := mod_uint64_18446744073709551615_ssa(4294967296); got != 4294967296 { 3315 fmt.Printf("mod_uint64 4294967296%s18446744073709551615 = %d, wanted 4294967296\n", `%`, got) 3316 failed = true 3317 } 3318 3319 if got := mod_18446744073709551615_uint64_ssa(18446744073709551615); got != 0 { 3320 fmt.Printf("mod_uint64 18446744073709551615%s18446744073709551615 = %d, wanted 0\n", `%`, got) 3321 failed = true 3322 } 3323 3324 if got := mod_uint64_18446744073709551615_ssa(18446744073709551615); got != 0 { 3325 fmt.Printf("mod_uint64 18446744073709551615%s18446744073709551615 = %d, wanted 0\n", `%`, got) 3326 failed = true 3327 } 3328 3329 if got := add_Neg9223372036854775808_int64_ssa(-9223372036854775808); got != 0 { 3330 fmt.Printf("add_int64 -9223372036854775808%s-9223372036854775808 = %d, wanted 0\n", `+`, got) 3331 failed = true 3332 } 3333 3334 if got := add_int64_Neg9223372036854775808_ssa(-9223372036854775808); got != 0 { 3335 fmt.Printf("add_int64 -9223372036854775808%s-9223372036854775808 = %d, wanted 0\n", `+`, got) 3336 failed = true 3337 } 3338 3339 if got := add_Neg9223372036854775808_int64_ssa(-9223372036854775807); got != 1 { 3340 fmt.Printf("add_int64 -9223372036854775808%s-9223372036854775807 = %d, wanted 1\n", `+`, got) 3341 failed = true 3342 } 3343 3344 if got := add_int64_Neg9223372036854775808_ssa(-9223372036854775807); got != 1 { 3345 fmt.Printf("add_int64 -9223372036854775807%s-9223372036854775808 = %d, wanted 1\n", `+`, got) 3346 failed = true 3347 } 3348 3349 if got := add_Neg9223372036854775808_int64_ssa(-4294967296); got != 9223372032559808512 { 3350 fmt.Printf("add_int64 -9223372036854775808%s-4294967296 = %d, wanted 9223372032559808512\n", `+`, got) 3351 failed = true 3352 } 3353 3354 if got := add_int64_Neg9223372036854775808_ssa(-4294967296); got != 9223372032559808512 { 3355 fmt.Printf("add_int64 -4294967296%s-9223372036854775808 = %d, wanted 9223372032559808512\n", `+`, got) 3356 failed = true 3357 } 3358 3359 if got := add_Neg9223372036854775808_int64_ssa(-1); got != 9223372036854775807 { 3360 fmt.Printf("add_int64 -9223372036854775808%s-1 = %d, wanted 9223372036854775807\n", `+`, got) 3361 failed = true 3362 } 3363 3364 if got := add_int64_Neg9223372036854775808_ssa(-1); got != 9223372036854775807 { 3365 fmt.Printf("add_int64 -1%s-9223372036854775808 = %d, wanted 9223372036854775807\n", `+`, got) 3366 failed = true 3367 } 3368 3369 if got := add_Neg9223372036854775808_int64_ssa(0); got != -9223372036854775808 { 3370 fmt.Printf("add_int64 -9223372036854775808%s0 = %d, wanted -9223372036854775808\n", `+`, got) 3371 failed = true 3372 } 3373 3374 if got := add_int64_Neg9223372036854775808_ssa(0); got != -9223372036854775808 { 3375 fmt.Printf("add_int64 0%s-9223372036854775808 = %d, wanted -9223372036854775808\n", `+`, got) 3376 failed = true 3377 } 3378 3379 if got := add_Neg9223372036854775808_int64_ssa(1); got != -9223372036854775807 { 3380 fmt.Printf("add_int64 -9223372036854775808%s1 = %d, wanted -9223372036854775807\n", `+`, got) 3381 failed = true 3382 } 3383 3384 if got := add_int64_Neg9223372036854775808_ssa(1); got != -9223372036854775807 { 3385 fmt.Printf("add_int64 1%s-9223372036854775808 = %d, wanted -9223372036854775807\n", `+`, got) 3386 failed = true 3387 } 3388 3389 if got := add_Neg9223372036854775808_int64_ssa(4294967296); got != -9223372032559808512 { 3390 fmt.Printf("add_int64 -9223372036854775808%s4294967296 = %d, wanted -9223372032559808512\n", `+`, got) 3391 failed = true 3392 } 3393 3394 if got := add_int64_Neg9223372036854775808_ssa(4294967296); got != -9223372032559808512 { 3395 fmt.Printf("add_int64 4294967296%s-9223372036854775808 = %d, wanted -9223372032559808512\n", `+`, got) 3396 failed = true 3397 } 3398 3399 if got := add_Neg9223372036854775808_int64_ssa(9223372036854775806); got != -2 { 3400 fmt.Printf("add_int64 -9223372036854775808%s9223372036854775806 = %d, wanted -2\n", `+`, got) 3401 failed = true 3402 } 3403 3404 if got := add_int64_Neg9223372036854775808_ssa(9223372036854775806); got != -2 { 3405 fmt.Printf("add_int64 9223372036854775806%s-9223372036854775808 = %d, wanted -2\n", `+`, got) 3406 failed = true 3407 } 3408 3409 if got := add_Neg9223372036854775808_int64_ssa(9223372036854775807); got != -1 { 3410 fmt.Printf("add_int64 -9223372036854775808%s9223372036854775807 = %d, wanted -1\n", `+`, got) 3411 failed = true 3412 } 3413 3414 if got := add_int64_Neg9223372036854775808_ssa(9223372036854775807); got != -1 { 3415 fmt.Printf("add_int64 9223372036854775807%s-9223372036854775808 = %d, wanted -1\n", `+`, got) 3416 failed = true 3417 } 3418 3419 if got := add_Neg9223372036854775807_int64_ssa(-9223372036854775808); got != 1 { 3420 fmt.Printf("add_int64 -9223372036854775807%s-9223372036854775808 = %d, wanted 1\n", `+`, got) 3421 failed = true 3422 } 3423 3424 if got := add_int64_Neg9223372036854775807_ssa(-9223372036854775808); got != 1 { 3425 fmt.Printf("add_int64 -9223372036854775808%s-9223372036854775807 = %d, wanted 1\n", `+`, got) 3426 failed = true 3427 } 3428 3429 if got := add_Neg9223372036854775807_int64_ssa(-9223372036854775807); got != 2 { 3430 fmt.Printf("add_int64 -9223372036854775807%s-9223372036854775807 = %d, wanted 2\n", `+`, got) 3431 failed = true 3432 } 3433 3434 if got := add_int64_Neg9223372036854775807_ssa(-9223372036854775807); got != 2 { 3435 fmt.Printf("add_int64 -9223372036854775807%s-9223372036854775807 = %d, wanted 2\n", `+`, got) 3436 failed = true 3437 } 3438 3439 if got := add_Neg9223372036854775807_int64_ssa(-4294967296); got != 9223372032559808513 { 3440 fmt.Printf("add_int64 -9223372036854775807%s-4294967296 = %d, wanted 9223372032559808513\n", `+`, got) 3441 failed = true 3442 } 3443 3444 if got := add_int64_Neg9223372036854775807_ssa(-4294967296); got != 9223372032559808513 { 3445 fmt.Printf("add_int64 -4294967296%s-9223372036854775807 = %d, wanted 9223372032559808513\n", `+`, got) 3446 failed = true 3447 } 3448 3449 if got := add_Neg9223372036854775807_int64_ssa(-1); got != -9223372036854775808 { 3450 fmt.Printf("add_int64 -9223372036854775807%s-1 = %d, wanted -9223372036854775808\n", `+`, got) 3451 failed = true 3452 } 3453 3454 if got := add_int64_Neg9223372036854775807_ssa(-1); got != -9223372036854775808 { 3455 fmt.Printf("add_int64 -1%s-9223372036854775807 = %d, wanted -9223372036854775808\n", `+`, got) 3456 failed = true 3457 } 3458 3459 if got := add_Neg9223372036854775807_int64_ssa(0); got != -9223372036854775807 { 3460 fmt.Printf("add_int64 -9223372036854775807%s0 = %d, wanted -9223372036854775807\n", `+`, got) 3461 failed = true 3462 } 3463 3464 if got := add_int64_Neg9223372036854775807_ssa(0); got != -9223372036854775807 { 3465 fmt.Printf("add_int64 0%s-9223372036854775807 = %d, wanted -9223372036854775807\n", `+`, got) 3466 failed = true 3467 } 3468 3469 if got := add_Neg9223372036854775807_int64_ssa(1); got != -9223372036854775806 { 3470 fmt.Printf("add_int64 -9223372036854775807%s1 = %d, wanted -9223372036854775806\n", `+`, got) 3471 failed = true 3472 } 3473 3474 if got := add_int64_Neg9223372036854775807_ssa(1); got != -9223372036854775806 { 3475 fmt.Printf("add_int64 1%s-9223372036854775807 = %d, wanted -9223372036854775806\n", `+`, got) 3476 failed = true 3477 } 3478 3479 if got := add_Neg9223372036854775807_int64_ssa(4294967296); got != -9223372032559808511 { 3480 fmt.Printf("add_int64 -9223372036854775807%s4294967296 = %d, wanted -9223372032559808511\n", `+`, got) 3481 failed = true 3482 } 3483 3484 if got := add_int64_Neg9223372036854775807_ssa(4294967296); got != -9223372032559808511 { 3485 fmt.Printf("add_int64 4294967296%s-9223372036854775807 = %d, wanted -9223372032559808511\n", `+`, got) 3486 failed = true 3487 } 3488 3489 if got := add_Neg9223372036854775807_int64_ssa(9223372036854775806); got != -1 { 3490 fmt.Printf("add_int64 -9223372036854775807%s9223372036854775806 = %d, wanted -1\n", `+`, got) 3491 failed = true 3492 } 3493 3494 if got := add_int64_Neg9223372036854775807_ssa(9223372036854775806); got != -1 { 3495 fmt.Printf("add_int64 9223372036854775806%s-9223372036854775807 = %d, wanted -1\n", `+`, got) 3496 failed = true 3497 } 3498 3499 if got := add_Neg9223372036854775807_int64_ssa(9223372036854775807); got != 0 { 3500 fmt.Printf("add_int64 -9223372036854775807%s9223372036854775807 = %d, wanted 0\n", `+`, got) 3501 failed = true 3502 } 3503 3504 if got := add_int64_Neg9223372036854775807_ssa(9223372036854775807); got != 0 { 3505 fmt.Printf("add_int64 9223372036854775807%s-9223372036854775807 = %d, wanted 0\n", `+`, got) 3506 failed = true 3507 } 3508 3509 if got := add_Neg4294967296_int64_ssa(-9223372036854775808); got != 9223372032559808512 { 3510 fmt.Printf("add_int64 -4294967296%s-9223372036854775808 = %d, wanted 9223372032559808512\n", `+`, got) 3511 failed = true 3512 } 3513 3514 if got := add_int64_Neg4294967296_ssa(-9223372036854775808); got != 9223372032559808512 { 3515 fmt.Printf("add_int64 -9223372036854775808%s-4294967296 = %d, wanted 9223372032559808512\n", `+`, got) 3516 failed = true 3517 } 3518 3519 if got := add_Neg4294967296_int64_ssa(-9223372036854775807); got != 9223372032559808513 { 3520 fmt.Printf("add_int64 -4294967296%s-9223372036854775807 = %d, wanted 9223372032559808513\n", `+`, got) 3521 failed = true 3522 } 3523 3524 if got := add_int64_Neg4294967296_ssa(-9223372036854775807); got != 9223372032559808513 { 3525 fmt.Printf("add_int64 -9223372036854775807%s-4294967296 = %d, wanted 9223372032559808513\n", `+`, got) 3526 failed = true 3527 } 3528 3529 if got := add_Neg4294967296_int64_ssa(-4294967296); got != -8589934592 { 3530 fmt.Printf("add_int64 -4294967296%s-4294967296 = %d, wanted -8589934592\n", `+`, got) 3531 failed = true 3532 } 3533 3534 if got := add_int64_Neg4294967296_ssa(-4294967296); got != -8589934592 { 3535 fmt.Printf("add_int64 -4294967296%s-4294967296 = %d, wanted -8589934592\n", `+`, got) 3536 failed = true 3537 } 3538 3539 if got := add_Neg4294967296_int64_ssa(-1); got != -4294967297 { 3540 fmt.Printf("add_int64 -4294967296%s-1 = %d, wanted -4294967297\n", `+`, got) 3541 failed = true 3542 } 3543 3544 if got := add_int64_Neg4294967296_ssa(-1); got != -4294967297 { 3545 fmt.Printf("add_int64 -1%s-4294967296 = %d, wanted -4294967297\n", `+`, got) 3546 failed = true 3547 } 3548 3549 if got := add_Neg4294967296_int64_ssa(0); got != -4294967296 { 3550 fmt.Printf("add_int64 -4294967296%s0 = %d, wanted -4294967296\n", `+`, got) 3551 failed = true 3552 } 3553 3554 if got := add_int64_Neg4294967296_ssa(0); got != -4294967296 { 3555 fmt.Printf("add_int64 0%s-4294967296 = %d, wanted -4294967296\n", `+`, got) 3556 failed = true 3557 } 3558 3559 if got := add_Neg4294967296_int64_ssa(1); got != -4294967295 { 3560 fmt.Printf("add_int64 -4294967296%s1 = %d, wanted -4294967295\n", `+`, got) 3561 failed = true 3562 } 3563 3564 if got := add_int64_Neg4294967296_ssa(1); got != -4294967295 { 3565 fmt.Printf("add_int64 1%s-4294967296 = %d, wanted -4294967295\n", `+`, got) 3566 failed = true 3567 } 3568 3569 if got := add_Neg4294967296_int64_ssa(4294967296); got != 0 { 3570 fmt.Printf("add_int64 -4294967296%s4294967296 = %d, wanted 0\n", `+`, got) 3571 failed = true 3572 } 3573 3574 if got := add_int64_Neg4294967296_ssa(4294967296); got != 0 { 3575 fmt.Printf("add_int64 4294967296%s-4294967296 = %d, wanted 0\n", `+`, got) 3576 failed = true 3577 } 3578 3579 if got := add_Neg4294967296_int64_ssa(9223372036854775806); got != 9223372032559808510 { 3580 fmt.Printf("add_int64 -4294967296%s9223372036854775806 = %d, wanted 9223372032559808510\n", `+`, got) 3581 failed = true 3582 } 3583 3584 if got := add_int64_Neg4294967296_ssa(9223372036854775806); got != 9223372032559808510 { 3585 fmt.Printf("add_int64 9223372036854775806%s-4294967296 = %d, wanted 9223372032559808510\n", `+`, got) 3586 failed = true 3587 } 3588 3589 if got := add_Neg4294967296_int64_ssa(9223372036854775807); got != 9223372032559808511 { 3590 fmt.Printf("add_int64 -4294967296%s9223372036854775807 = %d, wanted 9223372032559808511\n", `+`, got) 3591 failed = true 3592 } 3593 3594 if got := add_int64_Neg4294967296_ssa(9223372036854775807); got != 9223372032559808511 { 3595 fmt.Printf("add_int64 9223372036854775807%s-4294967296 = %d, wanted 9223372032559808511\n", `+`, got) 3596 failed = true 3597 } 3598 3599 if got := add_Neg1_int64_ssa(-9223372036854775808); got != 9223372036854775807 { 3600 fmt.Printf("add_int64 -1%s-9223372036854775808 = %d, wanted 9223372036854775807\n", `+`, got) 3601 failed = true 3602 } 3603 3604 if got := add_int64_Neg1_ssa(-9223372036854775808); got != 9223372036854775807 { 3605 fmt.Printf("add_int64 -9223372036854775808%s-1 = %d, wanted 9223372036854775807\n", `+`, got) 3606 failed = true 3607 } 3608 3609 if got := add_Neg1_int64_ssa(-9223372036854775807); got != -9223372036854775808 { 3610 fmt.Printf("add_int64 -1%s-9223372036854775807 = %d, wanted -9223372036854775808\n", `+`, got) 3611 failed = true 3612 } 3613 3614 if got := add_int64_Neg1_ssa(-9223372036854775807); got != -9223372036854775808 { 3615 fmt.Printf("add_int64 -9223372036854775807%s-1 = %d, wanted -9223372036854775808\n", `+`, got) 3616 failed = true 3617 } 3618 3619 if got := add_Neg1_int64_ssa(-4294967296); got != -4294967297 { 3620 fmt.Printf("add_int64 -1%s-4294967296 = %d, wanted -4294967297\n", `+`, got) 3621 failed = true 3622 } 3623 3624 if got := add_int64_Neg1_ssa(-4294967296); got != -4294967297 { 3625 fmt.Printf("add_int64 -4294967296%s-1 = %d, wanted -4294967297\n", `+`, got) 3626 failed = true 3627 } 3628 3629 if got := add_Neg1_int64_ssa(-1); got != -2 { 3630 fmt.Printf("add_int64 -1%s-1 = %d, wanted -2\n", `+`, got) 3631 failed = true 3632 } 3633 3634 if got := add_int64_Neg1_ssa(-1); got != -2 { 3635 fmt.Printf("add_int64 -1%s-1 = %d, wanted -2\n", `+`, got) 3636 failed = true 3637 } 3638 3639 if got := add_Neg1_int64_ssa(0); got != -1 { 3640 fmt.Printf("add_int64 -1%s0 = %d, wanted -1\n", `+`, got) 3641 failed = true 3642 } 3643 3644 if got := add_int64_Neg1_ssa(0); got != -1 { 3645 fmt.Printf("add_int64 0%s-1 = %d, wanted -1\n", `+`, got) 3646 failed = true 3647 } 3648 3649 if got := add_Neg1_int64_ssa(1); got != 0 { 3650 fmt.Printf("add_int64 -1%s1 = %d, wanted 0\n", `+`, got) 3651 failed = true 3652 } 3653 3654 if got := add_int64_Neg1_ssa(1); got != 0 { 3655 fmt.Printf("add_int64 1%s-1 = %d, wanted 0\n", `+`, got) 3656 failed = true 3657 } 3658 3659 if got := add_Neg1_int64_ssa(4294967296); got != 4294967295 { 3660 fmt.Printf("add_int64 -1%s4294967296 = %d, wanted 4294967295\n", `+`, got) 3661 failed = true 3662 } 3663 3664 if got := add_int64_Neg1_ssa(4294967296); got != 4294967295 { 3665 fmt.Printf("add_int64 4294967296%s-1 = %d, wanted 4294967295\n", `+`, got) 3666 failed = true 3667 } 3668 3669 if got := add_Neg1_int64_ssa(9223372036854775806); got != 9223372036854775805 { 3670 fmt.Printf("add_int64 -1%s9223372036854775806 = %d, wanted 9223372036854775805\n", `+`, got) 3671 failed = true 3672 } 3673 3674 if got := add_int64_Neg1_ssa(9223372036854775806); got != 9223372036854775805 { 3675 fmt.Printf("add_int64 9223372036854775806%s-1 = %d, wanted 9223372036854775805\n", `+`, got) 3676 failed = true 3677 } 3678 3679 if got := add_Neg1_int64_ssa(9223372036854775807); got != 9223372036854775806 { 3680 fmt.Printf("add_int64 -1%s9223372036854775807 = %d, wanted 9223372036854775806\n", `+`, got) 3681 failed = true 3682 } 3683 3684 if got := add_int64_Neg1_ssa(9223372036854775807); got != 9223372036854775806 { 3685 fmt.Printf("add_int64 9223372036854775807%s-1 = %d, wanted 9223372036854775806\n", `+`, got) 3686 failed = true 3687 } 3688 3689 if got := add_0_int64_ssa(-9223372036854775808); got != -9223372036854775808 { 3690 fmt.Printf("add_int64 0%s-9223372036854775808 = %d, wanted -9223372036854775808\n", `+`, got) 3691 failed = true 3692 } 3693 3694 if got := add_int64_0_ssa(-9223372036854775808); got != -9223372036854775808 { 3695 fmt.Printf("add_int64 -9223372036854775808%s0 = %d, wanted -9223372036854775808\n", `+`, got) 3696 failed = true 3697 } 3698 3699 if got := add_0_int64_ssa(-9223372036854775807); got != -9223372036854775807 { 3700 fmt.Printf("add_int64 0%s-9223372036854775807 = %d, wanted -9223372036854775807\n", `+`, got) 3701 failed = true 3702 } 3703 3704 if got := add_int64_0_ssa(-9223372036854775807); got != -9223372036854775807 { 3705 fmt.Printf("add_int64 -9223372036854775807%s0 = %d, wanted -9223372036854775807\n", `+`, got) 3706 failed = true 3707 } 3708 3709 if got := add_0_int64_ssa(-4294967296); got != -4294967296 { 3710 fmt.Printf("add_int64 0%s-4294967296 = %d, wanted -4294967296\n", `+`, got) 3711 failed = true 3712 } 3713 3714 if got := add_int64_0_ssa(-4294967296); got != -4294967296 { 3715 fmt.Printf("add_int64 -4294967296%s0 = %d, wanted -4294967296\n", `+`, got) 3716 failed = true 3717 } 3718 3719 if got := add_0_int64_ssa(-1); got != -1 { 3720 fmt.Printf("add_int64 0%s-1 = %d, wanted -1\n", `+`, got) 3721 failed = true 3722 } 3723 3724 if got := add_int64_0_ssa(-1); got != -1 { 3725 fmt.Printf("add_int64 -1%s0 = %d, wanted -1\n", `+`, got) 3726 failed = true 3727 } 3728 3729 if got := add_0_int64_ssa(0); got != 0 { 3730 fmt.Printf("add_int64 0%s0 = %d, wanted 0\n", `+`, got) 3731 failed = true 3732 } 3733 3734 if got := add_int64_0_ssa(0); got != 0 { 3735 fmt.Printf("add_int64 0%s0 = %d, wanted 0\n", `+`, got) 3736 failed = true 3737 } 3738 3739 if got := add_0_int64_ssa(1); got != 1 { 3740 fmt.Printf("add_int64 0%s1 = %d, wanted 1\n", `+`, got) 3741 failed = true 3742 } 3743 3744 if got := add_int64_0_ssa(1); got != 1 { 3745 fmt.Printf("add_int64 1%s0 = %d, wanted 1\n", `+`, got) 3746 failed = true 3747 } 3748 3749 if got := add_0_int64_ssa(4294967296); got != 4294967296 { 3750 fmt.Printf("add_int64 0%s4294967296 = %d, wanted 4294967296\n", `+`, got) 3751 failed = true 3752 } 3753 3754 if got := add_int64_0_ssa(4294967296); got != 4294967296 { 3755 fmt.Printf("add_int64 4294967296%s0 = %d, wanted 4294967296\n", `+`, got) 3756 failed = true 3757 } 3758 3759 if got := add_0_int64_ssa(9223372036854775806); got != 9223372036854775806 { 3760 fmt.Printf("add_int64 0%s9223372036854775806 = %d, wanted 9223372036854775806\n", `+`, got) 3761 failed = true 3762 } 3763 3764 if got := add_int64_0_ssa(9223372036854775806); got != 9223372036854775806 { 3765 fmt.Printf("add_int64 9223372036854775806%s0 = %d, wanted 9223372036854775806\n", `+`, got) 3766 failed = true 3767 } 3768 3769 if got := add_0_int64_ssa(9223372036854775807); got != 9223372036854775807 { 3770 fmt.Printf("add_int64 0%s9223372036854775807 = %d, wanted 9223372036854775807\n", `+`, got) 3771 failed = true 3772 } 3773 3774 if got := add_int64_0_ssa(9223372036854775807); got != 9223372036854775807 { 3775 fmt.Printf("add_int64 9223372036854775807%s0 = %d, wanted 9223372036854775807\n", `+`, got) 3776 failed = true 3777 } 3778 3779 if got := add_1_int64_ssa(-9223372036854775808); got != -9223372036854775807 { 3780 fmt.Printf("add_int64 1%s-9223372036854775808 = %d, wanted -9223372036854775807\n", `+`, got) 3781 failed = true 3782 } 3783 3784 if got := add_int64_1_ssa(-9223372036854775808); got != -9223372036854775807 { 3785 fmt.Printf("add_int64 -9223372036854775808%s1 = %d, wanted -9223372036854775807\n", `+`, got) 3786 failed = true 3787 } 3788 3789 if got := add_1_int64_ssa(-9223372036854775807); got != -9223372036854775806 { 3790 fmt.Printf("add_int64 1%s-9223372036854775807 = %d, wanted -9223372036854775806\n", `+`, got) 3791 failed = true 3792 } 3793 3794 if got := add_int64_1_ssa(-9223372036854775807); got != -9223372036854775806 { 3795 fmt.Printf("add_int64 -9223372036854775807%s1 = %d, wanted -9223372036854775806\n", `+`, got) 3796 failed = true 3797 } 3798 3799 if got := add_1_int64_ssa(-4294967296); got != -4294967295 { 3800 fmt.Printf("add_int64 1%s-4294967296 = %d, wanted -4294967295\n", `+`, got) 3801 failed = true 3802 } 3803 3804 if got := add_int64_1_ssa(-4294967296); got != -4294967295 { 3805 fmt.Printf("add_int64 -4294967296%s1 = %d, wanted -4294967295\n", `+`, got) 3806 failed = true 3807 } 3808 3809 if got := add_1_int64_ssa(-1); got != 0 { 3810 fmt.Printf("add_int64 1%s-1 = %d, wanted 0\n", `+`, got) 3811 failed = true 3812 } 3813 3814 if got := add_int64_1_ssa(-1); got != 0 { 3815 fmt.Printf("add_int64 -1%s1 = %d, wanted 0\n", `+`, got) 3816 failed = true 3817 } 3818 3819 if got := add_1_int64_ssa(0); got != 1 { 3820 fmt.Printf("add_int64 1%s0 = %d, wanted 1\n", `+`, got) 3821 failed = true 3822 } 3823 3824 if got := add_int64_1_ssa(0); got != 1 { 3825 fmt.Printf("add_int64 0%s1 = %d, wanted 1\n", `+`, got) 3826 failed = true 3827 } 3828 3829 if got := add_1_int64_ssa(1); got != 2 { 3830 fmt.Printf("add_int64 1%s1 = %d, wanted 2\n", `+`, got) 3831 failed = true 3832 } 3833 3834 if got := add_int64_1_ssa(1); got != 2 { 3835 fmt.Printf("add_int64 1%s1 = %d, wanted 2\n", `+`, got) 3836 failed = true 3837 } 3838 3839 if got := add_1_int64_ssa(4294967296); got != 4294967297 { 3840 fmt.Printf("add_int64 1%s4294967296 = %d, wanted 4294967297\n", `+`, got) 3841 failed = true 3842 } 3843 3844 if got := add_int64_1_ssa(4294967296); got != 4294967297 { 3845 fmt.Printf("add_int64 4294967296%s1 = %d, wanted 4294967297\n", `+`, got) 3846 failed = true 3847 } 3848 3849 if got := add_1_int64_ssa(9223372036854775806); got != 9223372036854775807 { 3850 fmt.Printf("add_int64 1%s9223372036854775806 = %d, wanted 9223372036854775807\n", `+`, got) 3851 failed = true 3852 } 3853 3854 if got := add_int64_1_ssa(9223372036854775806); got != 9223372036854775807 { 3855 fmt.Printf("add_int64 9223372036854775806%s1 = %d, wanted 9223372036854775807\n", `+`, got) 3856 failed = true 3857 } 3858 3859 if got := add_1_int64_ssa(9223372036854775807); got != -9223372036854775808 { 3860 fmt.Printf("add_int64 1%s9223372036854775807 = %d, wanted -9223372036854775808\n", `+`, got) 3861 failed = true 3862 } 3863 3864 if got := add_int64_1_ssa(9223372036854775807); got != -9223372036854775808 { 3865 fmt.Printf("add_int64 9223372036854775807%s1 = %d, wanted -9223372036854775808\n", `+`, got) 3866 failed = true 3867 } 3868 3869 if got := add_4294967296_int64_ssa(-9223372036854775808); got != -9223372032559808512 { 3870 fmt.Printf("add_int64 4294967296%s-9223372036854775808 = %d, wanted -9223372032559808512\n", `+`, got) 3871 failed = true 3872 } 3873 3874 if got := add_int64_4294967296_ssa(-9223372036854775808); got != -9223372032559808512 { 3875 fmt.Printf("add_int64 -9223372036854775808%s4294967296 = %d, wanted -9223372032559808512\n", `+`, got) 3876 failed = true 3877 } 3878 3879 if got := add_4294967296_int64_ssa(-9223372036854775807); got != -9223372032559808511 { 3880 fmt.Printf("add_int64 4294967296%s-9223372036854775807 = %d, wanted -9223372032559808511\n", `+`, got) 3881 failed = true 3882 } 3883 3884 if got := add_int64_4294967296_ssa(-9223372036854775807); got != -9223372032559808511 { 3885 fmt.Printf("add_int64 -9223372036854775807%s4294967296 = %d, wanted -9223372032559808511\n", `+`, got) 3886 failed = true 3887 } 3888 3889 if got := add_4294967296_int64_ssa(-4294967296); got != 0 { 3890 fmt.Printf("add_int64 4294967296%s-4294967296 = %d, wanted 0\n", `+`, got) 3891 failed = true 3892 } 3893 3894 if got := add_int64_4294967296_ssa(-4294967296); got != 0 { 3895 fmt.Printf("add_int64 -4294967296%s4294967296 = %d, wanted 0\n", `+`, got) 3896 failed = true 3897 } 3898 3899 if got := add_4294967296_int64_ssa(-1); got != 4294967295 { 3900 fmt.Printf("add_int64 4294967296%s-1 = %d, wanted 4294967295\n", `+`, got) 3901 failed = true 3902 } 3903 3904 if got := add_int64_4294967296_ssa(-1); got != 4294967295 { 3905 fmt.Printf("add_int64 -1%s4294967296 = %d, wanted 4294967295\n", `+`, got) 3906 failed = true 3907 } 3908 3909 if got := add_4294967296_int64_ssa(0); got != 4294967296 { 3910 fmt.Printf("add_int64 4294967296%s0 = %d, wanted 4294967296\n", `+`, got) 3911 failed = true 3912 } 3913 3914 if got := add_int64_4294967296_ssa(0); got != 4294967296 { 3915 fmt.Printf("add_int64 0%s4294967296 = %d, wanted 4294967296\n", `+`, got) 3916 failed = true 3917 } 3918 3919 if got := add_4294967296_int64_ssa(1); got != 4294967297 { 3920 fmt.Printf("add_int64 4294967296%s1 = %d, wanted 4294967297\n", `+`, got) 3921 failed = true 3922 } 3923 3924 if got := add_int64_4294967296_ssa(1); got != 4294967297 { 3925 fmt.Printf("add_int64 1%s4294967296 = %d, wanted 4294967297\n", `+`, got) 3926 failed = true 3927 } 3928 3929 if got := add_4294967296_int64_ssa(4294967296); got != 8589934592 { 3930 fmt.Printf("add_int64 4294967296%s4294967296 = %d, wanted 8589934592\n", `+`, got) 3931 failed = true 3932 } 3933 3934 if got := add_int64_4294967296_ssa(4294967296); got != 8589934592 { 3935 fmt.Printf("add_int64 4294967296%s4294967296 = %d, wanted 8589934592\n", `+`, got) 3936 failed = true 3937 } 3938 3939 if got := add_4294967296_int64_ssa(9223372036854775806); got != -9223372032559808514 { 3940 fmt.Printf("add_int64 4294967296%s9223372036854775806 = %d, wanted -9223372032559808514\n", `+`, got) 3941 failed = true 3942 } 3943 3944 if got := add_int64_4294967296_ssa(9223372036854775806); got != -9223372032559808514 { 3945 fmt.Printf("add_int64 9223372036854775806%s4294967296 = %d, wanted -9223372032559808514\n", `+`, got) 3946 failed = true 3947 } 3948 3949 if got := add_4294967296_int64_ssa(9223372036854775807); got != -9223372032559808513 { 3950 fmt.Printf("add_int64 4294967296%s9223372036854775807 = %d, wanted -9223372032559808513\n", `+`, got) 3951 failed = true 3952 } 3953 3954 if got := add_int64_4294967296_ssa(9223372036854775807); got != -9223372032559808513 { 3955 fmt.Printf("add_int64 9223372036854775807%s4294967296 = %d, wanted -9223372032559808513\n", `+`, got) 3956 failed = true 3957 } 3958 3959 if got := add_9223372036854775806_int64_ssa(-9223372036854775808); got != -2 { 3960 fmt.Printf("add_int64 9223372036854775806%s-9223372036854775808 = %d, wanted -2\n", `+`, got) 3961 failed = true 3962 } 3963 3964 if got := add_int64_9223372036854775806_ssa(-9223372036854775808); got != -2 { 3965 fmt.Printf("add_int64 -9223372036854775808%s9223372036854775806 = %d, wanted -2\n", `+`, got) 3966 failed = true 3967 } 3968 3969 if got := add_9223372036854775806_int64_ssa(-9223372036854775807); got != -1 { 3970 fmt.Printf("add_int64 9223372036854775806%s-9223372036854775807 = %d, wanted -1\n", `+`, got) 3971 failed = true 3972 } 3973 3974 if got := add_int64_9223372036854775806_ssa(-9223372036854775807); got != -1 { 3975 fmt.Printf("add_int64 -9223372036854775807%s9223372036854775806 = %d, wanted -1\n", `+`, got) 3976 failed = true 3977 } 3978 3979 if got := add_9223372036854775806_int64_ssa(-4294967296); got != 9223372032559808510 { 3980 fmt.Printf("add_int64 9223372036854775806%s-4294967296 = %d, wanted 9223372032559808510\n", `+`, got) 3981 failed = true 3982 } 3983 3984 if got := add_int64_9223372036854775806_ssa(-4294967296); got != 9223372032559808510 { 3985 fmt.Printf("add_int64 -4294967296%s9223372036854775806 = %d, wanted 9223372032559808510\n", `+`, got) 3986 failed = true 3987 } 3988 3989 if got := add_9223372036854775806_int64_ssa(-1); got != 9223372036854775805 { 3990 fmt.Printf("add_int64 9223372036854775806%s-1 = %d, wanted 9223372036854775805\n", `+`, got) 3991 failed = true 3992 } 3993 3994 if got := add_int64_9223372036854775806_ssa(-1); got != 9223372036854775805 { 3995 fmt.Printf("add_int64 -1%s9223372036854775806 = %d, wanted 9223372036854775805\n", `+`, got) 3996 failed = true 3997 } 3998 3999 if got := add_9223372036854775806_int64_ssa(0); got != 9223372036854775806 { 4000 fmt.Printf("add_int64 9223372036854775806%s0 = %d, wanted 9223372036854775806\n", `+`, got) 4001 failed = true 4002 } 4003 4004 if got := add_int64_9223372036854775806_ssa(0); got != 9223372036854775806 { 4005 fmt.Printf("add_int64 0%s9223372036854775806 = %d, wanted 9223372036854775806\n", `+`, got) 4006 failed = true 4007 } 4008 4009 if got := add_9223372036854775806_int64_ssa(1); got != 9223372036854775807 { 4010 fmt.Printf("add_int64 9223372036854775806%s1 = %d, wanted 9223372036854775807\n", `+`, got) 4011 failed = true 4012 } 4013 4014 if got := add_int64_9223372036854775806_ssa(1); got != 9223372036854775807 { 4015 fmt.Printf("add_int64 1%s9223372036854775806 = %d, wanted 9223372036854775807\n", `+`, got) 4016 failed = true 4017 } 4018 4019 if got := add_9223372036854775806_int64_ssa(4294967296); got != -9223372032559808514 { 4020 fmt.Printf("add_int64 9223372036854775806%s4294967296 = %d, wanted -9223372032559808514\n", `+`, got) 4021 failed = true 4022 } 4023 4024 if got := add_int64_9223372036854775806_ssa(4294967296); got != -9223372032559808514 { 4025 fmt.Printf("add_int64 4294967296%s9223372036854775806 = %d, wanted -9223372032559808514\n", `+`, got) 4026 failed = true 4027 } 4028 4029 if got := add_9223372036854775806_int64_ssa(9223372036854775806); got != -4 { 4030 fmt.Printf("add_int64 9223372036854775806%s9223372036854775806 = %d, wanted -4\n", `+`, got) 4031 failed = true 4032 } 4033 4034 if got := add_int64_9223372036854775806_ssa(9223372036854775806); got != -4 { 4035 fmt.Printf("add_int64 9223372036854775806%s9223372036854775806 = %d, wanted -4\n", `+`, got) 4036 failed = true 4037 } 4038 4039 if got := add_9223372036854775806_int64_ssa(9223372036854775807); got != -3 { 4040 fmt.Printf("add_int64 9223372036854775806%s9223372036854775807 = %d, wanted -3\n", `+`, got) 4041 failed = true 4042 } 4043 4044 if got := add_int64_9223372036854775806_ssa(9223372036854775807); got != -3 { 4045 fmt.Printf("add_int64 9223372036854775807%s9223372036854775806 = %d, wanted -3\n", `+`, got) 4046 failed = true 4047 } 4048 4049 if got := add_9223372036854775807_int64_ssa(-9223372036854775808); got != -1 { 4050 fmt.Printf("add_int64 9223372036854775807%s-9223372036854775808 = %d, wanted -1\n", `+`, got) 4051 failed = true 4052 } 4053 4054 if got := add_int64_9223372036854775807_ssa(-9223372036854775808); got != -1 { 4055 fmt.Printf("add_int64 -9223372036854775808%s9223372036854775807 = %d, wanted -1\n", `+`, got) 4056 failed = true 4057 } 4058 4059 if got := add_9223372036854775807_int64_ssa(-9223372036854775807); got != 0 { 4060 fmt.Printf("add_int64 9223372036854775807%s-9223372036854775807 = %d, wanted 0\n", `+`, got) 4061 failed = true 4062 } 4063 4064 if got := add_int64_9223372036854775807_ssa(-9223372036854775807); got != 0 { 4065 fmt.Printf("add_int64 -9223372036854775807%s9223372036854775807 = %d, wanted 0\n", `+`, got) 4066 failed = true 4067 } 4068 4069 if got := add_9223372036854775807_int64_ssa(-4294967296); got != 9223372032559808511 { 4070 fmt.Printf("add_int64 9223372036854775807%s-4294967296 = %d, wanted 9223372032559808511\n", `+`, got) 4071 failed = true 4072 } 4073 4074 if got := add_int64_9223372036854775807_ssa(-4294967296); got != 9223372032559808511 { 4075 fmt.Printf("add_int64 -4294967296%s9223372036854775807 = %d, wanted 9223372032559808511\n", `+`, got) 4076 failed = true 4077 } 4078 4079 if got := add_9223372036854775807_int64_ssa(-1); got != 9223372036854775806 { 4080 fmt.Printf("add_int64 9223372036854775807%s-1 = %d, wanted 9223372036854775806\n", `+`, got) 4081 failed = true 4082 } 4083 4084 if got := add_int64_9223372036854775807_ssa(-1); got != 9223372036854775806 { 4085 fmt.Printf("add_int64 -1%s9223372036854775807 = %d, wanted 9223372036854775806\n", `+`, got) 4086 failed = true 4087 } 4088 4089 if got := add_9223372036854775807_int64_ssa(0); got != 9223372036854775807 { 4090 fmt.Printf("add_int64 9223372036854775807%s0 = %d, wanted 9223372036854775807\n", `+`, got) 4091 failed = true 4092 } 4093 4094 if got := add_int64_9223372036854775807_ssa(0); got != 9223372036854775807 { 4095 fmt.Printf("add_int64 0%s9223372036854775807 = %d, wanted 9223372036854775807\n", `+`, got) 4096 failed = true 4097 } 4098 4099 if got := add_9223372036854775807_int64_ssa(1); got != -9223372036854775808 { 4100 fmt.Printf("add_int64 9223372036854775807%s1 = %d, wanted -9223372036854775808\n", `+`, got) 4101 failed = true 4102 } 4103 4104 if got := add_int64_9223372036854775807_ssa(1); got != -9223372036854775808 { 4105 fmt.Printf("add_int64 1%s9223372036854775807 = %d, wanted -9223372036854775808\n", `+`, got) 4106 failed = true 4107 } 4108 4109 if got := add_9223372036854775807_int64_ssa(4294967296); got != -9223372032559808513 { 4110 fmt.Printf("add_int64 9223372036854775807%s4294967296 = %d, wanted -9223372032559808513\n", `+`, got) 4111 failed = true 4112 } 4113 4114 if got := add_int64_9223372036854775807_ssa(4294967296); got != -9223372032559808513 { 4115 fmt.Printf("add_int64 4294967296%s9223372036854775807 = %d, wanted -9223372032559808513\n", `+`, got) 4116 failed = true 4117 } 4118 4119 if got := add_9223372036854775807_int64_ssa(9223372036854775806); got != -3 { 4120 fmt.Printf("add_int64 9223372036854775807%s9223372036854775806 = %d, wanted -3\n", `+`, got) 4121 failed = true 4122 } 4123 4124 if got := add_int64_9223372036854775807_ssa(9223372036854775806); got != -3 { 4125 fmt.Printf("add_int64 9223372036854775806%s9223372036854775807 = %d, wanted -3\n", `+`, got) 4126 failed = true 4127 } 4128 4129 if got := add_9223372036854775807_int64_ssa(9223372036854775807); got != -2 { 4130 fmt.Printf("add_int64 9223372036854775807%s9223372036854775807 = %d, wanted -2\n", `+`, got) 4131 failed = true 4132 } 4133 4134 if got := add_int64_9223372036854775807_ssa(9223372036854775807); got != -2 { 4135 fmt.Printf("add_int64 9223372036854775807%s9223372036854775807 = %d, wanted -2\n", `+`, got) 4136 failed = true 4137 } 4138 4139 if got := sub_Neg9223372036854775808_int64_ssa(-9223372036854775808); got != 0 { 4140 fmt.Printf("sub_int64 -9223372036854775808%s-9223372036854775808 = %d, wanted 0\n", `-`, got) 4141 failed = true 4142 } 4143 4144 if got := sub_int64_Neg9223372036854775808_ssa(-9223372036854775808); got != 0 { 4145 fmt.Printf("sub_int64 -9223372036854775808%s-9223372036854775808 = %d, wanted 0\n", `-`, got) 4146 failed = true 4147 } 4148 4149 if got := sub_Neg9223372036854775808_int64_ssa(-9223372036854775807); got != -1 { 4150 fmt.Printf("sub_int64 -9223372036854775808%s-9223372036854775807 = %d, wanted -1\n", `-`, got) 4151 failed = true 4152 } 4153 4154 if got := sub_int64_Neg9223372036854775808_ssa(-9223372036854775807); got != 1 { 4155 fmt.Printf("sub_int64 -9223372036854775807%s-9223372036854775808 = %d, wanted 1\n", `-`, got) 4156 failed = true 4157 } 4158 4159 if got := sub_Neg9223372036854775808_int64_ssa(-4294967296); got != -9223372032559808512 { 4160 fmt.Printf("sub_int64 -9223372036854775808%s-4294967296 = %d, wanted -9223372032559808512\n", `-`, got) 4161 failed = true 4162 } 4163 4164 if got := sub_int64_Neg9223372036854775808_ssa(-4294967296); got != 9223372032559808512 { 4165 fmt.Printf("sub_int64 -4294967296%s-9223372036854775808 = %d, wanted 9223372032559808512\n", `-`, got) 4166 failed = true 4167 } 4168 4169 if got := sub_Neg9223372036854775808_int64_ssa(-1); got != -9223372036854775807 { 4170 fmt.Printf("sub_int64 -9223372036854775808%s-1 = %d, wanted -9223372036854775807\n", `-`, got) 4171 failed = true 4172 } 4173 4174 if got := sub_int64_Neg9223372036854775808_ssa(-1); got != 9223372036854775807 { 4175 fmt.Printf("sub_int64 -1%s-9223372036854775808 = %d, wanted 9223372036854775807\n", `-`, got) 4176 failed = true 4177 } 4178 4179 if got := sub_Neg9223372036854775808_int64_ssa(0); got != -9223372036854775808 { 4180 fmt.Printf("sub_int64 -9223372036854775808%s0 = %d, wanted -9223372036854775808\n", `-`, got) 4181 failed = true 4182 } 4183 4184 if got := sub_int64_Neg9223372036854775808_ssa(0); got != -9223372036854775808 { 4185 fmt.Printf("sub_int64 0%s-9223372036854775808 = %d, wanted -9223372036854775808\n", `-`, got) 4186 failed = true 4187 } 4188 4189 if got := sub_Neg9223372036854775808_int64_ssa(1); got != 9223372036854775807 { 4190 fmt.Printf("sub_int64 -9223372036854775808%s1 = %d, wanted 9223372036854775807\n", `-`, got) 4191 failed = true 4192 } 4193 4194 if got := sub_int64_Neg9223372036854775808_ssa(1); got != -9223372036854775807 { 4195 fmt.Printf("sub_int64 1%s-9223372036854775808 = %d, wanted -9223372036854775807\n", `-`, got) 4196 failed = true 4197 } 4198 4199 if got := sub_Neg9223372036854775808_int64_ssa(4294967296); got != 9223372032559808512 { 4200 fmt.Printf("sub_int64 -9223372036854775808%s4294967296 = %d, wanted 9223372032559808512\n", `-`, got) 4201 failed = true 4202 } 4203 4204 if got := sub_int64_Neg9223372036854775808_ssa(4294967296); got != -9223372032559808512 { 4205 fmt.Printf("sub_int64 4294967296%s-9223372036854775808 = %d, wanted -9223372032559808512\n", `-`, got) 4206 failed = true 4207 } 4208 4209 if got := sub_Neg9223372036854775808_int64_ssa(9223372036854775806); got != 2 { 4210 fmt.Printf("sub_int64 -9223372036854775808%s9223372036854775806 = %d, wanted 2\n", `-`, got) 4211 failed = true 4212 } 4213 4214 if got := sub_int64_Neg9223372036854775808_ssa(9223372036854775806); got != -2 { 4215 fmt.Printf("sub_int64 9223372036854775806%s-9223372036854775808 = %d, wanted -2\n", `-`, got) 4216 failed = true 4217 } 4218 4219 if got := sub_Neg9223372036854775808_int64_ssa(9223372036854775807); got != 1 { 4220 fmt.Printf("sub_int64 -9223372036854775808%s9223372036854775807 = %d, wanted 1\n", `-`, got) 4221 failed = true 4222 } 4223 4224 if got := sub_int64_Neg9223372036854775808_ssa(9223372036854775807); got != -1 { 4225 fmt.Printf("sub_int64 9223372036854775807%s-9223372036854775808 = %d, wanted -1\n", `-`, got) 4226 failed = true 4227 } 4228 4229 if got := sub_Neg9223372036854775807_int64_ssa(-9223372036854775808); got != 1 { 4230 fmt.Printf("sub_int64 -9223372036854775807%s-9223372036854775808 = %d, wanted 1\n", `-`, got) 4231 failed = true 4232 } 4233 4234 if got := sub_int64_Neg9223372036854775807_ssa(-9223372036854775808); got != -1 { 4235 fmt.Printf("sub_int64 -9223372036854775808%s-9223372036854775807 = %d, wanted -1\n", `-`, got) 4236 failed = true 4237 } 4238 4239 if got := sub_Neg9223372036854775807_int64_ssa(-9223372036854775807); got != 0 { 4240 fmt.Printf("sub_int64 -9223372036854775807%s-9223372036854775807 = %d, wanted 0\n", `-`, got) 4241 failed = true 4242 } 4243 4244 if got := sub_int64_Neg9223372036854775807_ssa(-9223372036854775807); got != 0 { 4245 fmt.Printf("sub_int64 -9223372036854775807%s-9223372036854775807 = %d, wanted 0\n", `-`, got) 4246 failed = true 4247 } 4248 4249 if got := sub_Neg9223372036854775807_int64_ssa(-4294967296); got != -9223372032559808511 { 4250 fmt.Printf("sub_int64 -9223372036854775807%s-4294967296 = %d, wanted -9223372032559808511\n", `-`, got) 4251 failed = true 4252 } 4253 4254 if got := sub_int64_Neg9223372036854775807_ssa(-4294967296); got != 9223372032559808511 { 4255 fmt.Printf("sub_int64 -4294967296%s-9223372036854775807 = %d, wanted 9223372032559808511\n", `-`, got) 4256 failed = true 4257 } 4258 4259 if got := sub_Neg9223372036854775807_int64_ssa(-1); got != -9223372036854775806 { 4260 fmt.Printf("sub_int64 -9223372036854775807%s-1 = %d, wanted -9223372036854775806\n", `-`, got) 4261 failed = true 4262 } 4263 4264 if got := sub_int64_Neg9223372036854775807_ssa(-1); got != 9223372036854775806 { 4265 fmt.Printf("sub_int64 -1%s-9223372036854775807 = %d, wanted 9223372036854775806\n", `-`, got) 4266 failed = true 4267 } 4268 4269 if got := sub_Neg9223372036854775807_int64_ssa(0); got != -9223372036854775807 { 4270 fmt.Printf("sub_int64 -9223372036854775807%s0 = %d, wanted -9223372036854775807\n", `-`, got) 4271 failed = true 4272 } 4273 4274 if got := sub_int64_Neg9223372036854775807_ssa(0); got != 9223372036854775807 { 4275 fmt.Printf("sub_int64 0%s-9223372036854775807 = %d, wanted 9223372036854775807\n", `-`, got) 4276 failed = true 4277 } 4278 4279 if got := sub_Neg9223372036854775807_int64_ssa(1); got != -9223372036854775808 { 4280 fmt.Printf("sub_int64 -9223372036854775807%s1 = %d, wanted -9223372036854775808\n", `-`, got) 4281 failed = true 4282 } 4283 4284 if got := sub_int64_Neg9223372036854775807_ssa(1); got != -9223372036854775808 { 4285 fmt.Printf("sub_int64 1%s-9223372036854775807 = %d, wanted -9223372036854775808\n", `-`, got) 4286 failed = true 4287 } 4288 4289 if got := sub_Neg9223372036854775807_int64_ssa(4294967296); got != 9223372032559808513 { 4290 fmt.Printf("sub_int64 -9223372036854775807%s4294967296 = %d, wanted 9223372032559808513\n", `-`, got) 4291 failed = true 4292 } 4293 4294 if got := sub_int64_Neg9223372036854775807_ssa(4294967296); got != -9223372032559808513 { 4295 fmt.Printf("sub_int64 4294967296%s-9223372036854775807 = %d, wanted -9223372032559808513\n", `-`, got) 4296 failed = true 4297 } 4298 4299 if got := sub_Neg9223372036854775807_int64_ssa(9223372036854775806); got != 3 { 4300 fmt.Printf("sub_int64 -9223372036854775807%s9223372036854775806 = %d, wanted 3\n", `-`, got) 4301 failed = true 4302 } 4303 4304 if got := sub_int64_Neg9223372036854775807_ssa(9223372036854775806); got != -3 { 4305 fmt.Printf("sub_int64 9223372036854775806%s-9223372036854775807 = %d, wanted -3\n", `-`, got) 4306 failed = true 4307 } 4308 4309 if got := sub_Neg9223372036854775807_int64_ssa(9223372036854775807); got != 2 { 4310 fmt.Printf("sub_int64 -9223372036854775807%s9223372036854775807 = %d, wanted 2\n", `-`, got) 4311 failed = true 4312 } 4313 4314 if got := sub_int64_Neg9223372036854775807_ssa(9223372036854775807); got != -2 { 4315 fmt.Printf("sub_int64 9223372036854775807%s-9223372036854775807 = %d, wanted -2\n", `-`, got) 4316 failed = true 4317 } 4318 4319 if got := sub_Neg4294967296_int64_ssa(-9223372036854775808); got != 9223372032559808512 { 4320 fmt.Printf("sub_int64 -4294967296%s-9223372036854775808 = %d, wanted 9223372032559808512\n", `-`, got) 4321 failed = true 4322 } 4323 4324 if got := sub_int64_Neg4294967296_ssa(-9223372036854775808); got != -9223372032559808512 { 4325 fmt.Printf("sub_int64 -9223372036854775808%s-4294967296 = %d, wanted -9223372032559808512\n", `-`, got) 4326 failed = true 4327 } 4328 4329 if got := sub_Neg4294967296_int64_ssa(-9223372036854775807); got != 9223372032559808511 { 4330 fmt.Printf("sub_int64 -4294967296%s-9223372036854775807 = %d, wanted 9223372032559808511\n", `-`, got) 4331 failed = true 4332 } 4333 4334 if got := sub_int64_Neg4294967296_ssa(-9223372036854775807); got != -9223372032559808511 { 4335 fmt.Printf("sub_int64 -9223372036854775807%s-4294967296 = %d, wanted -9223372032559808511\n", `-`, got) 4336 failed = true 4337 } 4338 4339 if got := sub_Neg4294967296_int64_ssa(-4294967296); got != 0 { 4340 fmt.Printf("sub_int64 -4294967296%s-4294967296 = %d, wanted 0\n", `-`, got) 4341 failed = true 4342 } 4343 4344 if got := sub_int64_Neg4294967296_ssa(-4294967296); got != 0 { 4345 fmt.Printf("sub_int64 -4294967296%s-4294967296 = %d, wanted 0\n", `-`, got) 4346 failed = true 4347 } 4348 4349 if got := sub_Neg4294967296_int64_ssa(-1); got != -4294967295 { 4350 fmt.Printf("sub_int64 -4294967296%s-1 = %d, wanted -4294967295\n", `-`, got) 4351 failed = true 4352 } 4353 4354 if got := sub_int64_Neg4294967296_ssa(-1); got != 4294967295 { 4355 fmt.Printf("sub_int64 -1%s-4294967296 = %d, wanted 4294967295\n", `-`, got) 4356 failed = true 4357 } 4358 4359 if got := sub_Neg4294967296_int64_ssa(0); got != -4294967296 { 4360 fmt.Printf("sub_int64 -4294967296%s0 = %d, wanted -4294967296\n", `-`, got) 4361 failed = true 4362 } 4363 4364 if got := sub_int64_Neg4294967296_ssa(0); got != 4294967296 { 4365 fmt.Printf("sub_int64 0%s-4294967296 = %d, wanted 4294967296\n", `-`, got) 4366 failed = true 4367 } 4368 4369 if got := sub_Neg4294967296_int64_ssa(1); got != -4294967297 { 4370 fmt.Printf("sub_int64 -4294967296%s1 = %d, wanted -4294967297\n", `-`, got) 4371 failed = true 4372 } 4373 4374 if got := sub_int64_Neg4294967296_ssa(1); got != 4294967297 { 4375 fmt.Printf("sub_int64 1%s-4294967296 = %d, wanted 4294967297\n", `-`, got) 4376 failed = true 4377 } 4378 4379 if got := sub_Neg4294967296_int64_ssa(4294967296); got != -8589934592 { 4380 fmt.Printf("sub_int64 -4294967296%s4294967296 = %d, wanted -8589934592\n", `-`, got) 4381 failed = true 4382 } 4383 4384 if got := sub_int64_Neg4294967296_ssa(4294967296); got != 8589934592 { 4385 fmt.Printf("sub_int64 4294967296%s-4294967296 = %d, wanted 8589934592\n", `-`, got) 4386 failed = true 4387 } 4388 4389 if got := sub_Neg4294967296_int64_ssa(9223372036854775806); got != 9223372032559808514 { 4390 fmt.Printf("sub_int64 -4294967296%s9223372036854775806 = %d, wanted 9223372032559808514\n", `-`, got) 4391 failed = true 4392 } 4393 4394 if got := sub_int64_Neg4294967296_ssa(9223372036854775806); got != -9223372032559808514 { 4395 fmt.Printf("sub_int64 9223372036854775806%s-4294967296 = %d, wanted -9223372032559808514\n", `-`, got) 4396 failed = true 4397 } 4398 4399 if got := sub_Neg4294967296_int64_ssa(9223372036854775807); got != 9223372032559808513 { 4400 fmt.Printf("sub_int64 -4294967296%s9223372036854775807 = %d, wanted 9223372032559808513\n", `-`, got) 4401 failed = true 4402 } 4403 4404 if got := sub_int64_Neg4294967296_ssa(9223372036854775807); got != -9223372032559808513 { 4405 fmt.Printf("sub_int64 9223372036854775807%s-4294967296 = %d, wanted -9223372032559808513\n", `-`, got) 4406 failed = true 4407 } 4408 4409 if got := sub_Neg1_int64_ssa(-9223372036854775808); got != 9223372036854775807 { 4410 fmt.Printf("sub_int64 -1%s-9223372036854775808 = %d, wanted 9223372036854775807\n", `-`, got) 4411 failed = true 4412 } 4413 4414 if got := sub_int64_Neg1_ssa(-9223372036854775808); got != -9223372036854775807 { 4415 fmt.Printf("sub_int64 -9223372036854775808%s-1 = %d, wanted -9223372036854775807\n", `-`, got) 4416 failed = true 4417 } 4418 4419 if got := sub_Neg1_int64_ssa(-9223372036854775807); got != 9223372036854775806 { 4420 fmt.Printf("sub_int64 -1%s-9223372036854775807 = %d, wanted 9223372036854775806\n", `-`, got) 4421 failed = true 4422 } 4423 4424 if got := sub_int64_Neg1_ssa(-9223372036854775807); got != -9223372036854775806 { 4425 fmt.Printf("sub_int64 -9223372036854775807%s-1 = %d, wanted -9223372036854775806\n", `-`, got) 4426 failed = true 4427 } 4428 4429 if got := sub_Neg1_int64_ssa(-4294967296); got != 4294967295 { 4430 fmt.Printf("sub_int64 -1%s-4294967296 = %d, wanted 4294967295\n", `-`, got) 4431 failed = true 4432 } 4433 4434 if got := sub_int64_Neg1_ssa(-4294967296); got != -4294967295 { 4435 fmt.Printf("sub_int64 -4294967296%s-1 = %d, wanted -4294967295\n", `-`, got) 4436 failed = true 4437 } 4438 4439 if got := sub_Neg1_int64_ssa(-1); got != 0 { 4440 fmt.Printf("sub_int64 -1%s-1 = %d, wanted 0\n", `-`, got) 4441 failed = true 4442 } 4443 4444 if got := sub_int64_Neg1_ssa(-1); got != 0 { 4445 fmt.Printf("sub_int64 -1%s-1 = %d, wanted 0\n", `-`, got) 4446 failed = true 4447 } 4448 4449 if got := sub_Neg1_int64_ssa(0); got != -1 { 4450 fmt.Printf("sub_int64 -1%s0 = %d, wanted -1\n", `-`, got) 4451 failed = true 4452 } 4453 4454 if got := sub_int64_Neg1_ssa(0); got != 1 { 4455 fmt.Printf("sub_int64 0%s-1 = %d, wanted 1\n", `-`, got) 4456 failed = true 4457 } 4458 4459 if got := sub_Neg1_int64_ssa(1); got != -2 { 4460 fmt.Printf("sub_int64 -1%s1 = %d, wanted -2\n", `-`, got) 4461 failed = true 4462 } 4463 4464 if got := sub_int64_Neg1_ssa(1); got != 2 { 4465 fmt.Printf("sub_int64 1%s-1 = %d, wanted 2\n", `-`, got) 4466 failed = true 4467 } 4468 4469 if got := sub_Neg1_int64_ssa(4294967296); got != -4294967297 { 4470 fmt.Printf("sub_int64 -1%s4294967296 = %d, wanted -4294967297\n", `-`, got) 4471 failed = true 4472 } 4473 4474 if got := sub_int64_Neg1_ssa(4294967296); got != 4294967297 { 4475 fmt.Printf("sub_int64 4294967296%s-1 = %d, wanted 4294967297\n", `-`, got) 4476 failed = true 4477 } 4478 4479 if got := sub_Neg1_int64_ssa(9223372036854775806); got != -9223372036854775807 { 4480 fmt.Printf("sub_int64 -1%s9223372036854775806 = %d, wanted -9223372036854775807\n", `-`, got) 4481 failed = true 4482 } 4483 4484 if got := sub_int64_Neg1_ssa(9223372036854775806); got != 9223372036854775807 { 4485 fmt.Printf("sub_int64 9223372036854775806%s-1 = %d, wanted 9223372036854775807\n", `-`, got) 4486 failed = true 4487 } 4488 4489 if got := sub_Neg1_int64_ssa(9223372036854775807); got != -9223372036854775808 { 4490 fmt.Printf("sub_int64 -1%s9223372036854775807 = %d, wanted -9223372036854775808\n", `-`, got) 4491 failed = true 4492 } 4493 4494 if got := sub_int64_Neg1_ssa(9223372036854775807); got != -9223372036854775808 { 4495 fmt.Printf("sub_int64 9223372036854775807%s-1 = %d, wanted -9223372036854775808\n", `-`, got) 4496 failed = true 4497 } 4498 4499 if got := sub_0_int64_ssa(-9223372036854775808); got != -9223372036854775808 { 4500 fmt.Printf("sub_int64 0%s-9223372036854775808 = %d, wanted -9223372036854775808\n", `-`, got) 4501 failed = true 4502 } 4503 4504 if got := sub_int64_0_ssa(-9223372036854775808); got != -9223372036854775808 { 4505 fmt.Printf("sub_int64 -9223372036854775808%s0 = %d, wanted -9223372036854775808\n", `-`, got) 4506 failed = true 4507 } 4508 4509 if got := sub_0_int64_ssa(-9223372036854775807); got != 9223372036854775807 { 4510 fmt.Printf("sub_int64 0%s-9223372036854775807 = %d, wanted 9223372036854775807\n", `-`, got) 4511 failed = true 4512 } 4513 4514 if got := sub_int64_0_ssa(-9223372036854775807); got != -9223372036854775807 { 4515 fmt.Printf("sub_int64 -9223372036854775807%s0 = %d, wanted -9223372036854775807\n", `-`, got) 4516 failed = true 4517 } 4518 4519 if got := sub_0_int64_ssa(-4294967296); got != 4294967296 { 4520 fmt.Printf("sub_int64 0%s-4294967296 = %d, wanted 4294967296\n", `-`, got) 4521 failed = true 4522 } 4523 4524 if got := sub_int64_0_ssa(-4294967296); got != -4294967296 { 4525 fmt.Printf("sub_int64 -4294967296%s0 = %d, wanted -4294967296\n", `-`, got) 4526 failed = true 4527 } 4528 4529 if got := sub_0_int64_ssa(-1); got != 1 { 4530 fmt.Printf("sub_int64 0%s-1 = %d, wanted 1\n", `-`, got) 4531 failed = true 4532 } 4533 4534 if got := sub_int64_0_ssa(-1); got != -1 { 4535 fmt.Printf("sub_int64 -1%s0 = %d, wanted -1\n", `-`, got) 4536 failed = true 4537 } 4538 4539 if got := sub_0_int64_ssa(0); got != 0 { 4540 fmt.Printf("sub_int64 0%s0 = %d, wanted 0\n", `-`, got) 4541 failed = true 4542 } 4543 4544 if got := sub_int64_0_ssa(0); got != 0 { 4545 fmt.Printf("sub_int64 0%s0 = %d, wanted 0\n", `-`, got) 4546 failed = true 4547 } 4548 4549 if got := sub_0_int64_ssa(1); got != -1 { 4550 fmt.Printf("sub_int64 0%s1 = %d, wanted -1\n", `-`, got) 4551 failed = true 4552 } 4553 4554 if got := sub_int64_0_ssa(1); got != 1 { 4555 fmt.Printf("sub_int64 1%s0 = %d, wanted 1\n", `-`, got) 4556 failed = true 4557 } 4558 4559 if got := sub_0_int64_ssa(4294967296); got != -4294967296 { 4560 fmt.Printf("sub_int64 0%s4294967296 = %d, wanted -4294967296\n", `-`, got) 4561 failed = true 4562 } 4563 4564 if got := sub_int64_0_ssa(4294967296); got != 4294967296 { 4565 fmt.Printf("sub_int64 4294967296%s0 = %d, wanted 4294967296\n", `-`, got) 4566 failed = true 4567 } 4568 4569 if got := sub_0_int64_ssa(9223372036854775806); got != -9223372036854775806 { 4570 fmt.Printf("sub_int64 0%s9223372036854775806 = %d, wanted -9223372036854775806\n", `-`, got) 4571 failed = true 4572 } 4573 4574 if got := sub_int64_0_ssa(9223372036854775806); got != 9223372036854775806 { 4575 fmt.Printf("sub_int64 9223372036854775806%s0 = %d, wanted 9223372036854775806\n", `-`, got) 4576 failed = true 4577 } 4578 4579 if got := sub_0_int64_ssa(9223372036854775807); got != -9223372036854775807 { 4580 fmt.Printf("sub_int64 0%s9223372036854775807 = %d, wanted -9223372036854775807\n", `-`, got) 4581 failed = true 4582 } 4583 4584 if got := sub_int64_0_ssa(9223372036854775807); got != 9223372036854775807 { 4585 fmt.Printf("sub_int64 9223372036854775807%s0 = %d, wanted 9223372036854775807\n", `-`, got) 4586 failed = true 4587 } 4588 4589 if got := sub_1_int64_ssa(-9223372036854775808); got != -9223372036854775807 { 4590 fmt.Printf("sub_int64 1%s-9223372036854775808 = %d, wanted -9223372036854775807\n", `-`, got) 4591 failed = true 4592 } 4593 4594 if got := sub_int64_1_ssa(-9223372036854775808); got != 9223372036854775807 { 4595 fmt.Printf("sub_int64 -9223372036854775808%s1 = %d, wanted 9223372036854775807\n", `-`, got) 4596 failed = true 4597 } 4598 4599 if got := sub_1_int64_ssa(-9223372036854775807); got != -9223372036854775808 { 4600 fmt.Printf("sub_int64 1%s-9223372036854775807 = %d, wanted -9223372036854775808\n", `-`, got) 4601 failed = true 4602 } 4603 4604 if got := sub_int64_1_ssa(-9223372036854775807); got != -9223372036854775808 { 4605 fmt.Printf("sub_int64 -9223372036854775807%s1 = %d, wanted -9223372036854775808\n", `-`, got) 4606 failed = true 4607 } 4608 4609 if got := sub_1_int64_ssa(-4294967296); got != 4294967297 { 4610 fmt.Printf("sub_int64 1%s-4294967296 = %d, wanted 4294967297\n", `-`, got) 4611 failed = true 4612 } 4613 4614 if got := sub_int64_1_ssa(-4294967296); got != -4294967297 { 4615 fmt.Printf("sub_int64 -4294967296%s1 = %d, wanted -4294967297\n", `-`, got) 4616 failed = true 4617 } 4618 4619 if got := sub_1_int64_ssa(-1); got != 2 { 4620 fmt.Printf("sub_int64 1%s-1 = %d, wanted 2\n", `-`, got) 4621 failed = true 4622 } 4623 4624 if got := sub_int64_1_ssa(-1); got != -2 { 4625 fmt.Printf("sub_int64 -1%s1 = %d, wanted -2\n", `-`, got) 4626 failed = true 4627 } 4628 4629 if got := sub_1_int64_ssa(0); got != 1 { 4630 fmt.Printf("sub_int64 1%s0 = %d, wanted 1\n", `-`, got) 4631 failed = true 4632 } 4633 4634 if got := sub_int64_1_ssa(0); got != -1 { 4635 fmt.Printf("sub_int64 0%s1 = %d, wanted -1\n", `-`, got) 4636 failed = true 4637 } 4638 4639 if got := sub_1_int64_ssa(1); got != 0 { 4640 fmt.Printf("sub_int64 1%s1 = %d, wanted 0\n", `-`, got) 4641 failed = true 4642 } 4643 4644 if got := sub_int64_1_ssa(1); got != 0 { 4645 fmt.Printf("sub_int64 1%s1 = %d, wanted 0\n", `-`, got) 4646 failed = true 4647 } 4648 4649 if got := sub_1_int64_ssa(4294967296); got != -4294967295 { 4650 fmt.Printf("sub_int64 1%s4294967296 = %d, wanted -4294967295\n", `-`, got) 4651 failed = true 4652 } 4653 4654 if got := sub_int64_1_ssa(4294967296); got != 4294967295 { 4655 fmt.Printf("sub_int64 4294967296%s1 = %d, wanted 4294967295\n", `-`, got) 4656 failed = true 4657 } 4658 4659 if got := sub_1_int64_ssa(9223372036854775806); got != -9223372036854775805 { 4660 fmt.Printf("sub_int64 1%s9223372036854775806 = %d, wanted -9223372036854775805\n", `-`, got) 4661 failed = true 4662 } 4663 4664 if got := sub_int64_1_ssa(9223372036854775806); got != 9223372036854775805 { 4665 fmt.Printf("sub_int64 9223372036854775806%s1 = %d, wanted 9223372036854775805\n", `-`, got) 4666 failed = true 4667 } 4668 4669 if got := sub_1_int64_ssa(9223372036854775807); got != -9223372036854775806 { 4670 fmt.Printf("sub_int64 1%s9223372036854775807 = %d, wanted -9223372036854775806\n", `-`, got) 4671 failed = true 4672 } 4673 4674 if got := sub_int64_1_ssa(9223372036854775807); got != 9223372036854775806 { 4675 fmt.Printf("sub_int64 9223372036854775807%s1 = %d, wanted 9223372036854775806\n", `-`, got) 4676 failed = true 4677 } 4678 4679 if got := sub_4294967296_int64_ssa(-9223372036854775808); got != -9223372032559808512 { 4680 fmt.Printf("sub_int64 4294967296%s-9223372036854775808 = %d, wanted -9223372032559808512\n", `-`, got) 4681 failed = true 4682 } 4683 4684 if got := sub_int64_4294967296_ssa(-9223372036854775808); got != 9223372032559808512 { 4685 fmt.Printf("sub_int64 -9223372036854775808%s4294967296 = %d, wanted 9223372032559808512\n", `-`, got) 4686 failed = true 4687 } 4688 4689 if got := sub_4294967296_int64_ssa(-9223372036854775807); got != -9223372032559808513 { 4690 fmt.Printf("sub_int64 4294967296%s-9223372036854775807 = %d, wanted -9223372032559808513\n", `-`, got) 4691 failed = true 4692 } 4693 4694 if got := sub_int64_4294967296_ssa(-9223372036854775807); got != 9223372032559808513 { 4695 fmt.Printf("sub_int64 -9223372036854775807%s4294967296 = %d, wanted 9223372032559808513\n", `-`, got) 4696 failed = true 4697 } 4698 4699 if got := sub_4294967296_int64_ssa(-4294967296); got != 8589934592 { 4700 fmt.Printf("sub_int64 4294967296%s-4294967296 = %d, wanted 8589934592\n", `-`, got) 4701 failed = true 4702 } 4703 4704 if got := sub_int64_4294967296_ssa(-4294967296); got != -8589934592 { 4705 fmt.Printf("sub_int64 -4294967296%s4294967296 = %d, wanted -8589934592\n", `-`, got) 4706 failed = true 4707 } 4708 4709 if got := sub_4294967296_int64_ssa(-1); got != 4294967297 { 4710 fmt.Printf("sub_int64 4294967296%s-1 = %d, wanted 4294967297\n", `-`, got) 4711 failed = true 4712 } 4713 4714 if got := sub_int64_4294967296_ssa(-1); got != -4294967297 { 4715 fmt.Printf("sub_int64 -1%s4294967296 = %d, wanted -4294967297\n", `-`, got) 4716 failed = true 4717 } 4718 4719 if got := sub_4294967296_int64_ssa(0); got != 4294967296 { 4720 fmt.Printf("sub_int64 4294967296%s0 = %d, wanted 4294967296\n", `-`, got) 4721 failed = true 4722 } 4723 4724 if got := sub_int64_4294967296_ssa(0); got != -4294967296 { 4725 fmt.Printf("sub_int64 0%s4294967296 = %d, wanted -4294967296\n", `-`, got) 4726 failed = true 4727 } 4728 4729 if got := sub_4294967296_int64_ssa(1); got != 4294967295 { 4730 fmt.Printf("sub_int64 4294967296%s1 = %d, wanted 4294967295\n", `-`, got) 4731 failed = true 4732 } 4733 4734 if got := sub_int64_4294967296_ssa(1); got != -4294967295 { 4735 fmt.Printf("sub_int64 1%s4294967296 = %d, wanted -4294967295\n", `-`, got) 4736 failed = true 4737 } 4738 4739 if got := sub_4294967296_int64_ssa(4294967296); got != 0 { 4740 fmt.Printf("sub_int64 4294967296%s4294967296 = %d, wanted 0\n", `-`, got) 4741 failed = true 4742 } 4743 4744 if got := sub_int64_4294967296_ssa(4294967296); got != 0 { 4745 fmt.Printf("sub_int64 4294967296%s4294967296 = %d, wanted 0\n", `-`, got) 4746 failed = true 4747 } 4748 4749 if got := sub_4294967296_int64_ssa(9223372036854775806); got != -9223372032559808510 { 4750 fmt.Printf("sub_int64 4294967296%s9223372036854775806 = %d, wanted -9223372032559808510\n", `-`, got) 4751 failed = true 4752 } 4753 4754 if got := sub_int64_4294967296_ssa(9223372036854775806); got != 9223372032559808510 { 4755 fmt.Printf("sub_int64 9223372036854775806%s4294967296 = %d, wanted 9223372032559808510\n", `-`, got) 4756 failed = true 4757 } 4758 4759 if got := sub_4294967296_int64_ssa(9223372036854775807); got != -9223372032559808511 { 4760 fmt.Printf("sub_int64 4294967296%s9223372036854775807 = %d, wanted -9223372032559808511\n", `-`, got) 4761 failed = true 4762 } 4763 4764 if got := sub_int64_4294967296_ssa(9223372036854775807); got != 9223372032559808511 { 4765 fmt.Printf("sub_int64 9223372036854775807%s4294967296 = %d, wanted 9223372032559808511\n", `-`, got) 4766 failed = true 4767 } 4768 4769 if got := sub_9223372036854775806_int64_ssa(-9223372036854775808); got != -2 { 4770 fmt.Printf("sub_int64 9223372036854775806%s-9223372036854775808 = %d, wanted -2\n", `-`, got) 4771 failed = true 4772 } 4773 4774 if got := sub_int64_9223372036854775806_ssa(-9223372036854775808); got != 2 { 4775 fmt.Printf("sub_int64 -9223372036854775808%s9223372036854775806 = %d, wanted 2\n", `-`, got) 4776 failed = true 4777 } 4778 4779 if got := sub_9223372036854775806_int64_ssa(-9223372036854775807); got != -3 { 4780 fmt.Printf("sub_int64 9223372036854775806%s-9223372036854775807 = %d, wanted -3\n", `-`, got) 4781 failed = true 4782 } 4783 4784 if got := sub_int64_9223372036854775806_ssa(-9223372036854775807); got != 3 { 4785 fmt.Printf("sub_int64 -9223372036854775807%s9223372036854775806 = %d, wanted 3\n", `-`, got) 4786 failed = true 4787 } 4788 4789 if got := sub_9223372036854775806_int64_ssa(-4294967296); got != -9223372032559808514 { 4790 fmt.Printf("sub_int64 9223372036854775806%s-4294967296 = %d, wanted -9223372032559808514\n", `-`, got) 4791 failed = true 4792 } 4793 4794 if got := sub_int64_9223372036854775806_ssa(-4294967296); got != 9223372032559808514 { 4795 fmt.Printf("sub_int64 -4294967296%s9223372036854775806 = %d, wanted 9223372032559808514\n", `-`, got) 4796 failed = true 4797 } 4798 4799 if got := sub_9223372036854775806_int64_ssa(-1); got != 9223372036854775807 { 4800 fmt.Printf("sub_int64 9223372036854775806%s-1 = %d, wanted 9223372036854775807\n", `-`, got) 4801 failed = true 4802 } 4803 4804 if got := sub_int64_9223372036854775806_ssa(-1); got != -9223372036854775807 { 4805 fmt.Printf("sub_int64 -1%s9223372036854775806 = %d, wanted -9223372036854775807\n", `-`, got) 4806 failed = true 4807 } 4808 4809 if got := sub_9223372036854775806_int64_ssa(0); got != 9223372036854775806 { 4810 fmt.Printf("sub_int64 9223372036854775806%s0 = %d, wanted 9223372036854775806\n", `-`, got) 4811 failed = true 4812 } 4813 4814 if got := sub_int64_9223372036854775806_ssa(0); got != -9223372036854775806 { 4815 fmt.Printf("sub_int64 0%s9223372036854775806 = %d, wanted -9223372036854775806\n", `-`, got) 4816 failed = true 4817 } 4818 4819 if got := sub_9223372036854775806_int64_ssa(1); got != 9223372036854775805 { 4820 fmt.Printf("sub_int64 9223372036854775806%s1 = %d, wanted 9223372036854775805\n", `-`, got) 4821 failed = true 4822 } 4823 4824 if got := sub_int64_9223372036854775806_ssa(1); got != -9223372036854775805 { 4825 fmt.Printf("sub_int64 1%s9223372036854775806 = %d, wanted -9223372036854775805\n", `-`, got) 4826 failed = true 4827 } 4828 4829 if got := sub_9223372036854775806_int64_ssa(4294967296); got != 9223372032559808510 { 4830 fmt.Printf("sub_int64 9223372036854775806%s4294967296 = %d, wanted 9223372032559808510\n", `-`, got) 4831 failed = true 4832 } 4833 4834 if got := sub_int64_9223372036854775806_ssa(4294967296); got != -9223372032559808510 { 4835 fmt.Printf("sub_int64 4294967296%s9223372036854775806 = %d, wanted -9223372032559808510\n", `-`, got) 4836 failed = true 4837 } 4838 4839 if got := sub_9223372036854775806_int64_ssa(9223372036854775806); got != 0 { 4840 fmt.Printf("sub_int64 9223372036854775806%s9223372036854775806 = %d, wanted 0\n", `-`, got) 4841 failed = true 4842 } 4843 4844 if got := sub_int64_9223372036854775806_ssa(9223372036854775806); got != 0 { 4845 fmt.Printf("sub_int64 9223372036854775806%s9223372036854775806 = %d, wanted 0\n", `-`, got) 4846 failed = true 4847 } 4848 4849 if got := sub_9223372036854775806_int64_ssa(9223372036854775807); got != -1 { 4850 fmt.Printf("sub_int64 9223372036854775806%s9223372036854775807 = %d, wanted -1\n", `-`, got) 4851 failed = true 4852 } 4853 4854 if got := sub_int64_9223372036854775806_ssa(9223372036854775807); got != 1 { 4855 fmt.Printf("sub_int64 9223372036854775807%s9223372036854775806 = %d, wanted 1\n", `-`, got) 4856 failed = true 4857 } 4858 4859 if got := sub_9223372036854775807_int64_ssa(-9223372036854775808); got != -1 { 4860 fmt.Printf("sub_int64 9223372036854775807%s-9223372036854775808 = %d, wanted -1\n", `-`, got) 4861 failed = true 4862 } 4863 4864 if got := sub_int64_9223372036854775807_ssa(-9223372036854775808); got != 1 { 4865 fmt.Printf("sub_int64 -9223372036854775808%s9223372036854775807 = %d, wanted 1\n", `-`, got) 4866 failed = true 4867 } 4868 4869 if got := sub_9223372036854775807_int64_ssa(-9223372036854775807); got != -2 { 4870 fmt.Printf("sub_int64 9223372036854775807%s-9223372036854775807 = %d, wanted -2\n", `-`, got) 4871 failed = true 4872 } 4873 4874 if got := sub_int64_9223372036854775807_ssa(-9223372036854775807); got != 2 { 4875 fmt.Printf("sub_int64 -9223372036854775807%s9223372036854775807 = %d, wanted 2\n", `-`, got) 4876 failed = true 4877 } 4878 4879 if got := sub_9223372036854775807_int64_ssa(-4294967296); got != -9223372032559808513 { 4880 fmt.Printf("sub_int64 9223372036854775807%s-4294967296 = %d, wanted -9223372032559808513\n", `-`, got) 4881 failed = true 4882 } 4883 4884 if got := sub_int64_9223372036854775807_ssa(-4294967296); got != 9223372032559808513 { 4885 fmt.Printf("sub_int64 -4294967296%s9223372036854775807 = %d, wanted 9223372032559808513\n", `-`, got) 4886 failed = true 4887 } 4888 4889 if got := sub_9223372036854775807_int64_ssa(-1); got != -9223372036854775808 { 4890 fmt.Printf("sub_int64 9223372036854775807%s-1 = %d, wanted -9223372036854775808\n", `-`, got) 4891 failed = true 4892 } 4893 4894 if got := sub_int64_9223372036854775807_ssa(-1); got != -9223372036854775808 { 4895 fmt.Printf("sub_int64 -1%s9223372036854775807 = %d, wanted -9223372036854775808\n", `-`, got) 4896 failed = true 4897 } 4898 4899 if got := sub_9223372036854775807_int64_ssa(0); got != 9223372036854775807 { 4900 fmt.Printf("sub_int64 9223372036854775807%s0 = %d, wanted 9223372036854775807\n", `-`, got) 4901 failed = true 4902 } 4903 4904 if got := sub_int64_9223372036854775807_ssa(0); got != -9223372036854775807 { 4905 fmt.Printf("sub_int64 0%s9223372036854775807 = %d, wanted -9223372036854775807\n", `-`, got) 4906 failed = true 4907 } 4908 4909 if got := sub_9223372036854775807_int64_ssa(1); got != 9223372036854775806 { 4910 fmt.Printf("sub_int64 9223372036854775807%s1 = %d, wanted 9223372036854775806\n", `-`, got) 4911 failed = true 4912 } 4913 4914 if got := sub_int64_9223372036854775807_ssa(1); got != -9223372036854775806 { 4915 fmt.Printf("sub_int64 1%s9223372036854775807 = %d, wanted -9223372036854775806\n", `-`, got) 4916 failed = true 4917 } 4918 4919 if got := sub_9223372036854775807_int64_ssa(4294967296); got != 9223372032559808511 { 4920 fmt.Printf("sub_int64 9223372036854775807%s4294967296 = %d, wanted 9223372032559808511\n", `-`, got) 4921 failed = true 4922 } 4923 4924 if got := sub_int64_9223372036854775807_ssa(4294967296); got != -9223372032559808511 { 4925 fmt.Printf("sub_int64 4294967296%s9223372036854775807 = %d, wanted -9223372032559808511\n", `-`, got) 4926 failed = true 4927 } 4928 4929 if got := sub_9223372036854775807_int64_ssa(9223372036854775806); got != 1 { 4930 fmt.Printf("sub_int64 9223372036854775807%s9223372036854775806 = %d, wanted 1\n", `-`, got) 4931 failed = true 4932 } 4933 4934 if got := sub_int64_9223372036854775807_ssa(9223372036854775806); got != -1 { 4935 fmt.Printf("sub_int64 9223372036854775806%s9223372036854775807 = %d, wanted -1\n", `-`, got) 4936 failed = true 4937 } 4938 4939 if got := sub_9223372036854775807_int64_ssa(9223372036854775807); got != 0 { 4940 fmt.Printf("sub_int64 9223372036854775807%s9223372036854775807 = %d, wanted 0\n", `-`, got) 4941 failed = true 4942 } 4943 4944 if got := sub_int64_9223372036854775807_ssa(9223372036854775807); got != 0 { 4945 fmt.Printf("sub_int64 9223372036854775807%s9223372036854775807 = %d, wanted 0\n", `-`, got) 4946 failed = true 4947 } 4948 4949 if got := div_Neg9223372036854775808_int64_ssa(-9223372036854775808); got != 1 { 4950 fmt.Printf("div_int64 -9223372036854775808%s-9223372036854775808 = %d, wanted 1\n", `/`, got) 4951 failed = true 4952 } 4953 4954 if got := div_int64_Neg9223372036854775808_ssa(-9223372036854775808); got != 1 { 4955 fmt.Printf("div_int64 -9223372036854775808%s-9223372036854775808 = %d, wanted 1\n", `/`, got) 4956 failed = true 4957 } 4958 4959 if got := div_Neg9223372036854775808_int64_ssa(-9223372036854775807); got != 1 { 4960 fmt.Printf("div_int64 -9223372036854775808%s-9223372036854775807 = %d, wanted 1\n", `/`, got) 4961 failed = true 4962 } 4963 4964 if got := div_int64_Neg9223372036854775808_ssa(-9223372036854775807); got != 0 { 4965 fmt.Printf("div_int64 -9223372036854775807%s-9223372036854775808 = %d, wanted 0\n", `/`, got) 4966 failed = true 4967 } 4968 4969 if got := div_Neg9223372036854775808_int64_ssa(-4294967296); got != 2147483648 { 4970 fmt.Printf("div_int64 -9223372036854775808%s-4294967296 = %d, wanted 2147483648\n", `/`, got) 4971 failed = true 4972 } 4973 4974 if got := div_int64_Neg9223372036854775808_ssa(-4294967296); got != 0 { 4975 fmt.Printf("div_int64 -4294967296%s-9223372036854775808 = %d, wanted 0\n", `/`, got) 4976 failed = true 4977 } 4978 4979 if got := div_Neg9223372036854775808_int64_ssa(-1); got != -9223372036854775808 { 4980 fmt.Printf("div_int64 -9223372036854775808%s-1 = %d, wanted -9223372036854775808\n", `/`, got) 4981 failed = true 4982 } 4983 4984 if got := div_int64_Neg9223372036854775808_ssa(-1); got != 0 { 4985 fmt.Printf("div_int64 -1%s-9223372036854775808 = %d, wanted 0\n", `/`, got) 4986 failed = true 4987 } 4988 4989 if got := div_int64_Neg9223372036854775808_ssa(0); got != 0 { 4990 fmt.Printf("div_int64 0%s-9223372036854775808 = %d, wanted 0\n", `/`, got) 4991 failed = true 4992 } 4993 4994 if got := div_Neg9223372036854775808_int64_ssa(1); got != -9223372036854775808 { 4995 fmt.Printf("div_int64 -9223372036854775808%s1 = %d, wanted -9223372036854775808\n", `/`, got) 4996 failed = true 4997 } 4998 4999 if got := div_int64_Neg9223372036854775808_ssa(1); got != 0 { 5000 fmt.Printf("div_int64 1%s-9223372036854775808 = %d, wanted 0\n", `/`, got) 5001 failed = true 5002 } 5003 5004 if got := div_Neg9223372036854775808_int64_ssa(4294967296); got != -2147483648 { 5005 fmt.Printf("div_int64 -9223372036854775808%s4294967296 = %d, wanted -2147483648\n", `/`, got) 5006 failed = true 5007 } 5008 5009 if got := div_int64_Neg9223372036854775808_ssa(4294967296); got != 0 { 5010 fmt.Printf("div_int64 4294967296%s-9223372036854775808 = %d, wanted 0\n", `/`, got) 5011 failed = true 5012 } 5013 5014 if got := div_Neg9223372036854775808_int64_ssa(9223372036854775806); got != -1 { 5015 fmt.Printf("div_int64 -9223372036854775808%s9223372036854775806 = %d, wanted -1\n", `/`, got) 5016 failed = true 5017 } 5018 5019 if got := div_int64_Neg9223372036854775808_ssa(9223372036854775806); got != 0 { 5020 fmt.Printf("div_int64 9223372036854775806%s-9223372036854775808 = %d, wanted 0\n", `/`, got) 5021 failed = true 5022 } 5023 5024 if got := div_Neg9223372036854775808_int64_ssa(9223372036854775807); got != -1 { 5025 fmt.Printf("div_int64 -9223372036854775808%s9223372036854775807 = %d, wanted -1\n", `/`, got) 5026 failed = true 5027 } 5028 5029 if got := div_int64_Neg9223372036854775808_ssa(9223372036854775807); got != 0 { 5030 fmt.Printf("div_int64 9223372036854775807%s-9223372036854775808 = %d, wanted 0\n", `/`, got) 5031 failed = true 5032 } 5033 5034 if got := div_Neg9223372036854775807_int64_ssa(-9223372036854775808); got != 0 { 5035 fmt.Printf("div_int64 -9223372036854775807%s-9223372036854775808 = %d, wanted 0\n", `/`, got) 5036 failed = true 5037 } 5038 5039 if got := div_int64_Neg9223372036854775807_ssa(-9223372036854775808); got != 1 { 5040 fmt.Printf("div_int64 -9223372036854775808%s-9223372036854775807 = %d, wanted 1\n", `/`, got) 5041 failed = true 5042 } 5043 5044 if got := div_Neg9223372036854775807_int64_ssa(-9223372036854775807); got != 1 { 5045 fmt.Printf("div_int64 -9223372036854775807%s-9223372036854775807 = %d, wanted 1\n", `/`, got) 5046 failed = true 5047 } 5048 5049 if got := div_int64_Neg9223372036854775807_ssa(-9223372036854775807); got != 1 { 5050 fmt.Printf("div_int64 -9223372036854775807%s-9223372036854775807 = %d, wanted 1\n", `/`, got) 5051 failed = true 5052 } 5053 5054 if got := div_Neg9223372036854775807_int64_ssa(-4294967296); got != 2147483647 { 5055 fmt.Printf("div_int64 -9223372036854775807%s-4294967296 = %d, wanted 2147483647\n", `/`, got) 5056 failed = true 5057 } 5058 5059 if got := div_int64_Neg9223372036854775807_ssa(-4294967296); got != 0 { 5060 fmt.Printf("div_int64 -4294967296%s-9223372036854775807 = %d, wanted 0\n", `/`, got) 5061 failed = true 5062 } 5063 5064 if got := div_Neg9223372036854775807_int64_ssa(-1); got != 9223372036854775807 { 5065 fmt.Printf("div_int64 -9223372036854775807%s-1 = %d, wanted 9223372036854775807\n", `/`, got) 5066 failed = true 5067 } 5068 5069 if got := div_int64_Neg9223372036854775807_ssa(-1); got != 0 { 5070 fmt.Printf("div_int64 -1%s-9223372036854775807 = %d, wanted 0\n", `/`, got) 5071 failed = true 5072 } 5073 5074 if got := div_int64_Neg9223372036854775807_ssa(0); got != 0 { 5075 fmt.Printf("div_int64 0%s-9223372036854775807 = %d, wanted 0\n", `/`, got) 5076 failed = true 5077 } 5078 5079 if got := div_Neg9223372036854775807_int64_ssa(1); got != -9223372036854775807 { 5080 fmt.Printf("div_int64 -9223372036854775807%s1 = %d, wanted -9223372036854775807\n", `/`, got) 5081 failed = true 5082 } 5083 5084 if got := div_int64_Neg9223372036854775807_ssa(1); got != 0 { 5085 fmt.Printf("div_int64 1%s-9223372036854775807 = %d, wanted 0\n", `/`, got) 5086 failed = true 5087 } 5088 5089 if got := div_Neg9223372036854775807_int64_ssa(4294967296); got != -2147483647 { 5090 fmt.Printf("div_int64 -9223372036854775807%s4294967296 = %d, wanted -2147483647\n", `/`, got) 5091 failed = true 5092 } 5093 5094 if got := div_int64_Neg9223372036854775807_ssa(4294967296); got != 0 { 5095 fmt.Printf("div_int64 4294967296%s-9223372036854775807 = %d, wanted 0\n", `/`, got) 5096 failed = true 5097 } 5098 5099 if got := div_Neg9223372036854775807_int64_ssa(9223372036854775806); got != -1 { 5100 fmt.Printf("div_int64 -9223372036854775807%s9223372036854775806 = %d, wanted -1\n", `/`, got) 5101 failed = true 5102 } 5103 5104 if got := div_int64_Neg9223372036854775807_ssa(9223372036854775806); got != 0 { 5105 fmt.Printf("div_int64 9223372036854775806%s-9223372036854775807 = %d, wanted 0\n", `/`, got) 5106 failed = true 5107 } 5108 5109 if got := div_Neg9223372036854775807_int64_ssa(9223372036854775807); got != -1 { 5110 fmt.Printf("div_int64 -9223372036854775807%s9223372036854775807 = %d, wanted -1\n", `/`, got) 5111 failed = true 5112 } 5113 5114 if got := div_int64_Neg9223372036854775807_ssa(9223372036854775807); got != -1 { 5115 fmt.Printf("div_int64 9223372036854775807%s-9223372036854775807 = %d, wanted -1\n", `/`, got) 5116 failed = true 5117 } 5118 5119 if got := div_Neg4294967296_int64_ssa(-9223372036854775808); got != 0 { 5120 fmt.Printf("div_int64 -4294967296%s-9223372036854775808 = %d, wanted 0\n", `/`, got) 5121 failed = true 5122 } 5123 5124 if got := div_int64_Neg4294967296_ssa(-9223372036854775808); got != 2147483648 { 5125 fmt.Printf("div_int64 -9223372036854775808%s-4294967296 = %d, wanted 2147483648\n", `/`, got) 5126 failed = true 5127 } 5128 5129 if got := div_Neg4294967296_int64_ssa(-9223372036854775807); got != 0 { 5130 fmt.Printf("div_int64 -4294967296%s-9223372036854775807 = %d, wanted 0\n", `/`, got) 5131 failed = true 5132 } 5133 5134 if got := div_int64_Neg4294967296_ssa(-9223372036854775807); got != 2147483647 { 5135 fmt.Printf("div_int64 -9223372036854775807%s-4294967296 = %d, wanted 2147483647\n", `/`, got) 5136 failed = true 5137 } 5138 5139 if got := div_Neg4294967296_int64_ssa(-4294967296); got != 1 { 5140 fmt.Printf("div_int64 -4294967296%s-4294967296 = %d, wanted 1\n", `/`, got) 5141 failed = true 5142 } 5143 5144 if got := div_int64_Neg4294967296_ssa(-4294967296); got != 1 { 5145 fmt.Printf("div_int64 -4294967296%s-4294967296 = %d, wanted 1\n", `/`, got) 5146 failed = true 5147 } 5148 5149 if got := div_Neg4294967296_int64_ssa(-1); got != 4294967296 { 5150 fmt.Printf("div_int64 -4294967296%s-1 = %d, wanted 4294967296\n", `/`, got) 5151 failed = true 5152 } 5153 5154 if got := div_int64_Neg4294967296_ssa(-1); got != 0 { 5155 fmt.Printf("div_int64 -1%s-4294967296 = %d, wanted 0\n", `/`, got) 5156 failed = true 5157 } 5158 5159 if got := div_int64_Neg4294967296_ssa(0); got != 0 { 5160 fmt.Printf("div_int64 0%s-4294967296 = %d, wanted 0\n", `/`, got) 5161 failed = true 5162 } 5163 5164 if got := div_Neg4294967296_int64_ssa(1); got != -4294967296 { 5165 fmt.Printf("div_int64 -4294967296%s1 = %d, wanted -4294967296\n", `/`, got) 5166 failed = true 5167 } 5168 5169 if got := div_int64_Neg4294967296_ssa(1); got != 0 { 5170 fmt.Printf("div_int64 1%s-4294967296 = %d, wanted 0\n", `/`, got) 5171 failed = true 5172 } 5173 5174 if got := div_Neg4294967296_int64_ssa(4294967296); got != -1 { 5175 fmt.Printf("div_int64 -4294967296%s4294967296 = %d, wanted -1\n", `/`, got) 5176 failed = true 5177 } 5178 5179 if got := div_int64_Neg4294967296_ssa(4294967296); got != -1 { 5180 fmt.Printf("div_int64 4294967296%s-4294967296 = %d, wanted -1\n", `/`, got) 5181 failed = true 5182 } 5183 5184 if got := div_Neg4294967296_int64_ssa(9223372036854775806); got != 0 { 5185 fmt.Printf("div_int64 -4294967296%s9223372036854775806 = %d, wanted 0\n", `/`, got) 5186 failed = true 5187 } 5188 5189 if got := div_int64_Neg4294967296_ssa(9223372036854775806); got != -2147483647 { 5190 fmt.Printf("div_int64 9223372036854775806%s-4294967296 = %d, wanted -2147483647\n", `/`, got) 5191 failed = true 5192 } 5193 5194 if got := div_Neg4294967296_int64_ssa(9223372036854775807); got != 0 { 5195 fmt.Printf("div_int64 -4294967296%s9223372036854775807 = %d, wanted 0\n", `/`, got) 5196 failed = true 5197 } 5198 5199 if got := div_int64_Neg4294967296_ssa(9223372036854775807); got != -2147483647 { 5200 fmt.Printf("div_int64 9223372036854775807%s-4294967296 = %d, wanted -2147483647\n", `/`, got) 5201 failed = true 5202 } 5203 5204 if got := div_Neg1_int64_ssa(-9223372036854775808); got != 0 { 5205 fmt.Printf("div_int64 -1%s-9223372036854775808 = %d, wanted 0\n", `/`, got) 5206 failed = true 5207 } 5208 5209 if got := div_int64_Neg1_ssa(-9223372036854775808); got != -9223372036854775808 { 5210 fmt.Printf("div_int64 -9223372036854775808%s-1 = %d, wanted -9223372036854775808\n", `/`, got) 5211 failed = true 5212 } 5213 5214 if got := div_Neg1_int64_ssa(-9223372036854775807); got != 0 { 5215 fmt.Printf("div_int64 -1%s-9223372036854775807 = %d, wanted 0\n", `/`, got) 5216 failed = true 5217 } 5218 5219 if got := div_int64_Neg1_ssa(-9223372036854775807); got != 9223372036854775807 { 5220 fmt.Printf("div_int64 -9223372036854775807%s-1 = %d, wanted 9223372036854775807\n", `/`, got) 5221 failed = true 5222 } 5223 5224 if got := div_Neg1_int64_ssa(-4294967296); got != 0 { 5225 fmt.Printf("div_int64 -1%s-4294967296 = %d, wanted 0\n", `/`, got) 5226 failed = true 5227 } 5228 5229 if got := div_int64_Neg1_ssa(-4294967296); got != 4294967296 { 5230 fmt.Printf("div_int64 -4294967296%s-1 = %d, wanted 4294967296\n", `/`, got) 5231 failed = true 5232 } 5233 5234 if got := div_Neg1_int64_ssa(-1); got != 1 { 5235 fmt.Printf("div_int64 -1%s-1 = %d, wanted 1\n", `/`, got) 5236 failed = true 5237 } 5238 5239 if got := div_int64_Neg1_ssa(-1); got != 1 { 5240 fmt.Printf("div_int64 -1%s-1 = %d, wanted 1\n", `/`, got) 5241 failed = true 5242 } 5243 5244 if got := div_int64_Neg1_ssa(0); got != 0 { 5245 fmt.Printf("div_int64 0%s-1 = %d, wanted 0\n", `/`, got) 5246 failed = true 5247 } 5248 5249 if got := div_Neg1_int64_ssa(1); got != -1 { 5250 fmt.Printf("div_int64 -1%s1 = %d, wanted -1\n", `/`, got) 5251 failed = true 5252 } 5253 5254 if got := div_int64_Neg1_ssa(1); got != -1 { 5255 fmt.Printf("div_int64 1%s-1 = %d, wanted -1\n", `/`, got) 5256 failed = true 5257 } 5258 5259 if got := div_Neg1_int64_ssa(4294967296); got != 0 { 5260 fmt.Printf("div_int64 -1%s4294967296 = %d, wanted 0\n", `/`, got) 5261 failed = true 5262 } 5263 5264 if got := div_int64_Neg1_ssa(4294967296); got != -4294967296 { 5265 fmt.Printf("div_int64 4294967296%s-1 = %d, wanted -4294967296\n", `/`, got) 5266 failed = true 5267 } 5268 5269 if got := div_Neg1_int64_ssa(9223372036854775806); got != 0 { 5270 fmt.Printf("div_int64 -1%s9223372036854775806 = %d, wanted 0\n", `/`, got) 5271 failed = true 5272 } 5273 5274 if got := div_int64_Neg1_ssa(9223372036854775806); got != -9223372036854775806 { 5275 fmt.Printf("div_int64 9223372036854775806%s-1 = %d, wanted -9223372036854775806\n", `/`, got) 5276 failed = true 5277 } 5278 5279 if got := div_Neg1_int64_ssa(9223372036854775807); got != 0 { 5280 fmt.Printf("div_int64 -1%s9223372036854775807 = %d, wanted 0\n", `/`, got) 5281 failed = true 5282 } 5283 5284 if got := div_int64_Neg1_ssa(9223372036854775807); got != -9223372036854775807 { 5285 fmt.Printf("div_int64 9223372036854775807%s-1 = %d, wanted -9223372036854775807\n", `/`, got) 5286 failed = true 5287 } 5288 5289 if got := div_0_int64_ssa(-9223372036854775808); got != 0 { 5290 fmt.Printf("div_int64 0%s-9223372036854775808 = %d, wanted 0\n", `/`, got) 5291 failed = true 5292 } 5293 5294 if got := div_0_int64_ssa(-9223372036854775807); got != 0 { 5295 fmt.Printf("div_int64 0%s-9223372036854775807 = %d, wanted 0\n", `/`, got) 5296 failed = true 5297 } 5298 5299 if got := div_0_int64_ssa(-4294967296); got != 0 { 5300 fmt.Printf("div_int64 0%s-4294967296 = %d, wanted 0\n", `/`, got) 5301 failed = true 5302 } 5303 5304 if got := div_0_int64_ssa(-1); got != 0 { 5305 fmt.Printf("div_int64 0%s-1 = %d, wanted 0\n", `/`, got) 5306 failed = true 5307 } 5308 5309 if got := div_0_int64_ssa(1); got != 0 { 5310 fmt.Printf("div_int64 0%s1 = %d, wanted 0\n", `/`, got) 5311 failed = true 5312 } 5313 5314 if got := div_0_int64_ssa(4294967296); got != 0 { 5315 fmt.Printf("div_int64 0%s4294967296 = %d, wanted 0\n", `/`, got) 5316 failed = true 5317 } 5318 5319 if got := div_0_int64_ssa(9223372036854775806); got != 0 { 5320 fmt.Printf("div_int64 0%s9223372036854775806 = %d, wanted 0\n", `/`, got) 5321 failed = true 5322 } 5323 5324 if got := div_0_int64_ssa(9223372036854775807); got != 0 { 5325 fmt.Printf("div_int64 0%s9223372036854775807 = %d, wanted 0\n", `/`, got) 5326 failed = true 5327 } 5328 5329 if got := div_1_int64_ssa(-9223372036854775808); got != 0 { 5330 fmt.Printf("div_int64 1%s-9223372036854775808 = %d, wanted 0\n", `/`, got) 5331 failed = true 5332 } 5333 5334 if got := div_int64_1_ssa(-9223372036854775808); got != -9223372036854775808 { 5335 fmt.Printf("div_int64 -9223372036854775808%s1 = %d, wanted -9223372036854775808\n", `/`, got) 5336 failed = true 5337 } 5338 5339 if got := div_1_int64_ssa(-9223372036854775807); got != 0 { 5340 fmt.Printf("div_int64 1%s-9223372036854775807 = %d, wanted 0\n", `/`, got) 5341 failed = true 5342 } 5343 5344 if got := div_int64_1_ssa(-9223372036854775807); got != -9223372036854775807 { 5345 fmt.Printf("div_int64 -9223372036854775807%s1 = %d, wanted -9223372036854775807\n", `/`, got) 5346 failed = true 5347 } 5348 5349 if got := div_1_int64_ssa(-4294967296); got != 0 { 5350 fmt.Printf("div_int64 1%s-4294967296 = %d, wanted 0\n", `/`, got) 5351 failed = true 5352 } 5353 5354 if got := div_int64_1_ssa(-4294967296); got != -4294967296 { 5355 fmt.Printf("div_int64 -4294967296%s1 = %d, wanted -4294967296\n", `/`, got) 5356 failed = true 5357 } 5358 5359 if got := div_1_int64_ssa(-1); got != -1 { 5360 fmt.Printf("div_int64 1%s-1 = %d, wanted -1\n", `/`, got) 5361 failed = true 5362 } 5363 5364 if got := div_int64_1_ssa(-1); got != -1 { 5365 fmt.Printf("div_int64 -1%s1 = %d, wanted -1\n", `/`, got) 5366 failed = true 5367 } 5368 5369 if got := div_int64_1_ssa(0); got != 0 { 5370 fmt.Printf("div_int64 0%s1 = %d, wanted 0\n", `/`, got) 5371 failed = true 5372 } 5373 5374 if got := div_1_int64_ssa(1); got != 1 { 5375 fmt.Printf("div_int64 1%s1 = %d, wanted 1\n", `/`, got) 5376 failed = true 5377 } 5378 5379 if got := div_int64_1_ssa(1); got != 1 { 5380 fmt.Printf("div_int64 1%s1 = %d, wanted 1\n", `/`, got) 5381 failed = true 5382 } 5383 5384 if got := div_1_int64_ssa(4294967296); got != 0 { 5385 fmt.Printf("div_int64 1%s4294967296 = %d, wanted 0\n", `/`, got) 5386 failed = true 5387 } 5388 5389 if got := div_int64_1_ssa(4294967296); got != 4294967296 { 5390 fmt.Printf("div_int64 4294967296%s1 = %d, wanted 4294967296\n", `/`, got) 5391 failed = true 5392 } 5393 5394 if got := div_1_int64_ssa(9223372036854775806); got != 0 { 5395 fmt.Printf("div_int64 1%s9223372036854775806 = %d, wanted 0\n", `/`, got) 5396 failed = true 5397 } 5398 5399 if got := div_int64_1_ssa(9223372036854775806); got != 9223372036854775806 { 5400 fmt.Printf("div_int64 9223372036854775806%s1 = %d, wanted 9223372036854775806\n", `/`, got) 5401 failed = true 5402 } 5403 5404 if got := div_1_int64_ssa(9223372036854775807); got != 0 { 5405 fmt.Printf("div_int64 1%s9223372036854775807 = %d, wanted 0\n", `/`, got) 5406 failed = true 5407 } 5408 5409 if got := div_int64_1_ssa(9223372036854775807); got != 9223372036854775807 { 5410 fmt.Printf("div_int64 9223372036854775807%s1 = %d, wanted 9223372036854775807\n", `/`, got) 5411 failed = true 5412 } 5413 5414 if got := div_4294967296_int64_ssa(-9223372036854775808); got != 0 { 5415 fmt.Printf("div_int64 4294967296%s-9223372036854775808 = %d, wanted 0\n", `/`, got) 5416 failed = true 5417 } 5418 5419 if got := div_int64_4294967296_ssa(-9223372036854775808); got != -2147483648 { 5420 fmt.Printf("div_int64 -9223372036854775808%s4294967296 = %d, wanted -2147483648\n", `/`, got) 5421 failed = true 5422 } 5423 5424 if got := div_4294967296_int64_ssa(-9223372036854775807); got != 0 { 5425 fmt.Printf("div_int64 4294967296%s-9223372036854775807 = %d, wanted 0\n", `/`, got) 5426 failed = true 5427 } 5428 5429 if got := div_int64_4294967296_ssa(-9223372036854775807); got != -2147483647 { 5430 fmt.Printf("div_int64 -9223372036854775807%s4294967296 = %d, wanted -2147483647\n", `/`, got) 5431 failed = true 5432 } 5433 5434 if got := div_4294967296_int64_ssa(-4294967296); got != -1 { 5435 fmt.Printf("div_int64 4294967296%s-4294967296 = %d, wanted -1\n", `/`, got) 5436 failed = true 5437 } 5438 5439 if got := div_int64_4294967296_ssa(-4294967296); got != -1 { 5440 fmt.Printf("div_int64 -4294967296%s4294967296 = %d, wanted -1\n", `/`, got) 5441 failed = true 5442 } 5443 5444 if got := div_4294967296_int64_ssa(-1); got != -4294967296 { 5445 fmt.Printf("div_int64 4294967296%s-1 = %d, wanted -4294967296\n", `/`, got) 5446 failed = true 5447 } 5448 5449 if got := div_int64_4294967296_ssa(-1); got != 0 { 5450 fmt.Printf("div_int64 -1%s4294967296 = %d, wanted 0\n", `/`, got) 5451 failed = true 5452 } 5453 5454 if got := div_int64_4294967296_ssa(0); got != 0 { 5455 fmt.Printf("div_int64 0%s4294967296 = %d, wanted 0\n", `/`, got) 5456 failed = true 5457 } 5458 5459 if got := div_4294967296_int64_ssa(1); got != 4294967296 { 5460 fmt.Printf("div_int64 4294967296%s1 = %d, wanted 4294967296\n", `/`, got) 5461 failed = true 5462 } 5463 5464 if got := div_int64_4294967296_ssa(1); got != 0 { 5465 fmt.Printf("div_int64 1%s4294967296 = %d, wanted 0\n", `/`, got) 5466 failed = true 5467 } 5468 5469 if got := div_4294967296_int64_ssa(4294967296); got != 1 { 5470 fmt.Printf("div_int64 4294967296%s4294967296 = %d, wanted 1\n", `/`, got) 5471 failed = true 5472 } 5473 5474 if got := div_int64_4294967296_ssa(4294967296); got != 1 { 5475 fmt.Printf("div_int64 4294967296%s4294967296 = %d, wanted 1\n", `/`, got) 5476 failed = true 5477 } 5478 5479 if got := div_4294967296_int64_ssa(9223372036854775806); got != 0 { 5480 fmt.Printf("div_int64 4294967296%s9223372036854775806 = %d, wanted 0\n", `/`, got) 5481 failed = true 5482 } 5483 5484 if got := div_int64_4294967296_ssa(9223372036854775806); got != 2147483647 { 5485 fmt.Printf("div_int64 9223372036854775806%s4294967296 = %d, wanted 2147483647\n", `/`, got) 5486 failed = true 5487 } 5488 5489 if got := div_4294967296_int64_ssa(9223372036854775807); got != 0 { 5490 fmt.Printf("div_int64 4294967296%s9223372036854775807 = %d, wanted 0\n", `/`, got) 5491 failed = true 5492 } 5493 5494 if got := div_int64_4294967296_ssa(9223372036854775807); got != 2147483647 { 5495 fmt.Printf("div_int64 9223372036854775807%s4294967296 = %d, wanted 2147483647\n", `/`, got) 5496 failed = true 5497 } 5498 5499 if got := div_9223372036854775806_int64_ssa(-9223372036854775808); got != 0 { 5500 fmt.Printf("div_int64 9223372036854775806%s-9223372036854775808 = %d, wanted 0\n", `/`, got) 5501 failed = true 5502 } 5503 5504 if got := div_int64_9223372036854775806_ssa(-9223372036854775808); got != -1 { 5505 fmt.Printf("div_int64 -9223372036854775808%s9223372036854775806 = %d, wanted -1\n", `/`, got) 5506 failed = true 5507 } 5508 5509 if got := div_9223372036854775806_int64_ssa(-9223372036854775807); got != 0 { 5510 fmt.Printf("div_int64 9223372036854775806%s-9223372036854775807 = %d, wanted 0\n", `/`, got) 5511 failed = true 5512 } 5513 5514 if got := div_int64_9223372036854775806_ssa(-9223372036854775807); got != -1 { 5515 fmt.Printf("div_int64 -9223372036854775807%s9223372036854775806 = %d, wanted -1\n", `/`, got) 5516 failed = true 5517 } 5518 5519 if got := div_9223372036854775806_int64_ssa(-4294967296); got != -2147483647 { 5520 fmt.Printf("div_int64 9223372036854775806%s-4294967296 = %d, wanted -2147483647\n", `/`, got) 5521 failed = true 5522 } 5523 5524 if got := div_int64_9223372036854775806_ssa(-4294967296); got != 0 { 5525 fmt.Printf("div_int64 -4294967296%s9223372036854775806 = %d, wanted 0\n", `/`, got) 5526 failed = true 5527 } 5528 5529 if got := div_9223372036854775806_int64_ssa(-1); got != -9223372036854775806 { 5530 fmt.Printf("div_int64 9223372036854775806%s-1 = %d, wanted -9223372036854775806\n", `/`, got) 5531 failed = true 5532 } 5533 5534 if got := div_int64_9223372036854775806_ssa(-1); got != 0 { 5535 fmt.Printf("div_int64 -1%s9223372036854775806 = %d, wanted 0\n", `/`, got) 5536 failed = true 5537 } 5538 5539 if got := div_int64_9223372036854775806_ssa(0); got != 0 { 5540 fmt.Printf("div_int64 0%s9223372036854775806 = %d, wanted 0\n", `/`, got) 5541 failed = true 5542 } 5543 5544 if got := div_9223372036854775806_int64_ssa(1); got != 9223372036854775806 { 5545 fmt.Printf("div_int64 9223372036854775806%s1 = %d, wanted 9223372036854775806\n", `/`, got) 5546 failed = true 5547 } 5548 5549 if got := div_int64_9223372036854775806_ssa(1); got != 0 { 5550 fmt.Printf("div_int64 1%s9223372036854775806 = %d, wanted 0\n", `/`, got) 5551 failed = true 5552 } 5553 5554 if got := div_9223372036854775806_int64_ssa(4294967296); got != 2147483647 { 5555 fmt.Printf("div_int64 9223372036854775806%s4294967296 = %d, wanted 2147483647\n", `/`, got) 5556 failed = true 5557 } 5558 5559 if got := div_int64_9223372036854775806_ssa(4294967296); got != 0 { 5560 fmt.Printf("div_int64 4294967296%s9223372036854775806 = %d, wanted 0\n", `/`, got) 5561 failed = true 5562 } 5563 5564 if got := div_9223372036854775806_int64_ssa(9223372036854775806); got != 1 { 5565 fmt.Printf("div_int64 9223372036854775806%s9223372036854775806 = %d, wanted 1\n", `/`, got) 5566 failed = true 5567 } 5568 5569 if got := div_int64_9223372036854775806_ssa(9223372036854775806); got != 1 { 5570 fmt.Printf("div_int64 9223372036854775806%s9223372036854775806 = %d, wanted 1\n", `/`, got) 5571 failed = true 5572 } 5573 5574 if got := div_9223372036854775806_int64_ssa(9223372036854775807); got != 0 { 5575 fmt.Printf("div_int64 9223372036854775806%s9223372036854775807 = %d, wanted 0\n", `/`, got) 5576 failed = true 5577 } 5578 5579 if got := div_int64_9223372036854775806_ssa(9223372036854775807); got != 1 { 5580 fmt.Printf("div_int64 9223372036854775807%s9223372036854775806 = %d, wanted 1\n", `/`, got) 5581 failed = true 5582 } 5583 5584 if got := div_9223372036854775807_int64_ssa(-9223372036854775808); got != 0 { 5585 fmt.Printf("div_int64 9223372036854775807%s-9223372036854775808 = %d, wanted 0\n", `/`, got) 5586 failed = true 5587 } 5588 5589 if got := div_int64_9223372036854775807_ssa(-9223372036854775808); got != -1 { 5590 fmt.Printf("div_int64 -9223372036854775808%s9223372036854775807 = %d, wanted -1\n", `/`, got) 5591 failed = true 5592 } 5593 5594 if got := div_9223372036854775807_int64_ssa(-9223372036854775807); got != -1 { 5595 fmt.Printf("div_int64 9223372036854775807%s-9223372036854775807 = %d, wanted -1\n", `/`, got) 5596 failed = true 5597 } 5598 5599 if got := div_int64_9223372036854775807_ssa(-9223372036854775807); got != -1 { 5600 fmt.Printf("div_int64 -9223372036854775807%s9223372036854775807 = %d, wanted -1\n", `/`, got) 5601 failed = true 5602 } 5603 5604 if got := div_9223372036854775807_int64_ssa(-4294967296); got != -2147483647 { 5605 fmt.Printf("div_int64 9223372036854775807%s-4294967296 = %d, wanted -2147483647\n", `/`, got) 5606 failed = true 5607 } 5608 5609 if got := div_int64_9223372036854775807_ssa(-4294967296); got != 0 { 5610 fmt.Printf("div_int64 -4294967296%s9223372036854775807 = %d, wanted 0\n", `/`, got) 5611 failed = true 5612 } 5613 5614 if got := div_9223372036854775807_int64_ssa(-1); got != -9223372036854775807 { 5615 fmt.Printf("div_int64 9223372036854775807%s-1 = %d, wanted -9223372036854775807\n", `/`, got) 5616 failed = true 5617 } 5618 5619 if got := div_int64_9223372036854775807_ssa(-1); got != 0 { 5620 fmt.Printf("div_int64 -1%s9223372036854775807 = %d, wanted 0\n", `/`, got) 5621 failed = true 5622 } 5623 5624 if got := div_int64_9223372036854775807_ssa(0); got != 0 { 5625 fmt.Printf("div_int64 0%s9223372036854775807 = %d, wanted 0\n", `/`, got) 5626 failed = true 5627 } 5628 5629 if got := div_9223372036854775807_int64_ssa(1); got != 9223372036854775807 { 5630 fmt.Printf("div_int64 9223372036854775807%s1 = %d, wanted 9223372036854775807\n", `/`, got) 5631 failed = true 5632 } 5633 5634 if got := div_int64_9223372036854775807_ssa(1); got != 0 { 5635 fmt.Printf("div_int64 1%s9223372036854775807 = %d, wanted 0\n", `/`, got) 5636 failed = true 5637 } 5638 5639 if got := div_9223372036854775807_int64_ssa(4294967296); got != 2147483647 { 5640 fmt.Printf("div_int64 9223372036854775807%s4294967296 = %d, wanted 2147483647\n", `/`, got) 5641 failed = true 5642 } 5643 5644 if got := div_int64_9223372036854775807_ssa(4294967296); got != 0 { 5645 fmt.Printf("div_int64 4294967296%s9223372036854775807 = %d, wanted 0\n", `/`, got) 5646 failed = true 5647 } 5648 5649 if got := div_9223372036854775807_int64_ssa(9223372036854775806); got != 1 { 5650 fmt.Printf("div_int64 9223372036854775807%s9223372036854775806 = %d, wanted 1\n", `/`, got) 5651 failed = true 5652 } 5653 5654 if got := div_int64_9223372036854775807_ssa(9223372036854775806); got != 0 { 5655 fmt.Printf("div_int64 9223372036854775806%s9223372036854775807 = %d, wanted 0\n", `/`, got) 5656 failed = true 5657 } 5658 5659 if got := div_9223372036854775807_int64_ssa(9223372036854775807); got != 1 { 5660 fmt.Printf("div_int64 9223372036854775807%s9223372036854775807 = %d, wanted 1\n", `/`, got) 5661 failed = true 5662 } 5663 5664 if got := div_int64_9223372036854775807_ssa(9223372036854775807); got != 1 { 5665 fmt.Printf("div_int64 9223372036854775807%s9223372036854775807 = %d, wanted 1\n", `/`, got) 5666 failed = true 5667 } 5668 5669 if got := mul_Neg9223372036854775808_int64_ssa(-9223372036854775808); got != 0 { 5670 fmt.Printf("mul_int64 -9223372036854775808%s-9223372036854775808 = %d, wanted 0\n", `*`, got) 5671 failed = true 5672 } 5673 5674 if got := mul_int64_Neg9223372036854775808_ssa(-9223372036854775808); got != 0 { 5675 fmt.Printf("mul_int64 -9223372036854775808%s-9223372036854775808 = %d, wanted 0\n", `*`, got) 5676 failed = true 5677 } 5678 5679 if got := mul_Neg9223372036854775808_int64_ssa(-9223372036854775807); got != -9223372036854775808 { 5680 fmt.Printf("mul_int64 -9223372036854775808%s-9223372036854775807 = %d, wanted -9223372036854775808\n", `*`, got) 5681 failed = true 5682 } 5683 5684 if got := mul_int64_Neg9223372036854775808_ssa(-9223372036854775807); got != -9223372036854775808 { 5685 fmt.Printf("mul_int64 -9223372036854775807%s-9223372036854775808 = %d, wanted -9223372036854775808\n", `*`, got) 5686 failed = true 5687 } 5688 5689 if got := mul_Neg9223372036854775808_int64_ssa(-4294967296); got != 0 { 5690 fmt.Printf("mul_int64 -9223372036854775808%s-4294967296 = %d, wanted 0\n", `*`, got) 5691 failed = true 5692 } 5693 5694 if got := mul_int64_Neg9223372036854775808_ssa(-4294967296); got != 0 { 5695 fmt.Printf("mul_int64 -4294967296%s-9223372036854775808 = %d, wanted 0\n", `*`, got) 5696 failed = true 5697 } 5698 5699 if got := mul_Neg9223372036854775808_int64_ssa(-1); got != -9223372036854775808 { 5700 fmt.Printf("mul_int64 -9223372036854775808%s-1 = %d, wanted -9223372036854775808\n", `*`, got) 5701 failed = true 5702 } 5703 5704 if got := mul_int64_Neg9223372036854775808_ssa(-1); got != -9223372036854775808 { 5705 fmt.Printf("mul_int64 -1%s-9223372036854775808 = %d, wanted -9223372036854775808\n", `*`, got) 5706 failed = true 5707 } 5708 5709 if got := mul_Neg9223372036854775808_int64_ssa(0); got != 0 { 5710 fmt.Printf("mul_int64 -9223372036854775808%s0 = %d, wanted 0\n", `*`, got) 5711 failed = true 5712 } 5713 5714 if got := mul_int64_Neg9223372036854775808_ssa(0); got != 0 { 5715 fmt.Printf("mul_int64 0%s-9223372036854775808 = %d, wanted 0\n", `*`, got) 5716 failed = true 5717 } 5718 5719 if got := mul_Neg9223372036854775808_int64_ssa(1); got != -9223372036854775808 { 5720 fmt.Printf("mul_int64 -9223372036854775808%s1 = %d, wanted -9223372036854775808\n", `*`, got) 5721 failed = true 5722 } 5723 5724 if got := mul_int64_Neg9223372036854775808_ssa(1); got != -9223372036854775808 { 5725 fmt.Printf("mul_int64 1%s-9223372036854775808 = %d, wanted -9223372036854775808\n", `*`, got) 5726 failed = true 5727 } 5728 5729 if got := mul_Neg9223372036854775808_int64_ssa(4294967296); got != 0 { 5730 fmt.Printf("mul_int64 -9223372036854775808%s4294967296 = %d, wanted 0\n", `*`, got) 5731 failed = true 5732 } 5733 5734 if got := mul_int64_Neg9223372036854775808_ssa(4294967296); got != 0 { 5735 fmt.Printf("mul_int64 4294967296%s-9223372036854775808 = %d, wanted 0\n", `*`, got) 5736 failed = true 5737 } 5738 5739 if got := mul_Neg9223372036854775808_int64_ssa(9223372036854775806); got != 0 { 5740 fmt.Printf("mul_int64 -9223372036854775808%s9223372036854775806 = %d, wanted 0\n", `*`, got) 5741 failed = true 5742 } 5743 5744 if got := mul_int64_Neg9223372036854775808_ssa(9223372036854775806); got != 0 { 5745 fmt.Printf("mul_int64 9223372036854775806%s-9223372036854775808 = %d, wanted 0\n", `*`, got) 5746 failed = true 5747 } 5748 5749 if got := mul_Neg9223372036854775808_int64_ssa(9223372036854775807); got != -9223372036854775808 { 5750 fmt.Printf("mul_int64 -9223372036854775808%s9223372036854775807 = %d, wanted -9223372036854775808\n", `*`, got) 5751 failed = true 5752 } 5753 5754 if got := mul_int64_Neg9223372036854775808_ssa(9223372036854775807); got != -9223372036854775808 { 5755 fmt.Printf("mul_int64 9223372036854775807%s-9223372036854775808 = %d, wanted -9223372036854775808\n", `*`, got) 5756 failed = true 5757 } 5758 5759 if got := mul_Neg9223372036854775807_int64_ssa(-9223372036854775808); got != -9223372036854775808 { 5760 fmt.Printf("mul_int64 -9223372036854775807%s-9223372036854775808 = %d, wanted -9223372036854775808\n", `*`, got) 5761 failed = true 5762 } 5763 5764 if got := mul_int64_Neg9223372036854775807_ssa(-9223372036854775808); got != -9223372036854775808 { 5765 fmt.Printf("mul_int64 -9223372036854775808%s-9223372036854775807 = %d, wanted -9223372036854775808\n", `*`, got) 5766 failed = true 5767 } 5768 5769 if got := mul_Neg9223372036854775807_int64_ssa(-9223372036854775807); got != 1 { 5770 fmt.Printf("mul_int64 -9223372036854775807%s-9223372036854775807 = %d, wanted 1\n", `*`, got) 5771 failed = true 5772 } 5773 5774 if got := mul_int64_Neg9223372036854775807_ssa(-9223372036854775807); got != 1 { 5775 fmt.Printf("mul_int64 -9223372036854775807%s-9223372036854775807 = %d, wanted 1\n", `*`, got) 5776 failed = true 5777 } 5778 5779 if got := mul_Neg9223372036854775807_int64_ssa(-4294967296); got != -4294967296 { 5780 fmt.Printf("mul_int64 -9223372036854775807%s-4294967296 = %d, wanted -4294967296\n", `*`, got) 5781 failed = true 5782 } 5783 5784 if got := mul_int64_Neg9223372036854775807_ssa(-4294967296); got != -4294967296 { 5785 fmt.Printf("mul_int64 -4294967296%s-9223372036854775807 = %d, wanted -4294967296\n", `*`, got) 5786 failed = true 5787 } 5788 5789 if got := mul_Neg9223372036854775807_int64_ssa(-1); got != 9223372036854775807 { 5790 fmt.Printf("mul_int64 -9223372036854775807%s-1 = %d, wanted 9223372036854775807\n", `*`, got) 5791 failed = true 5792 } 5793 5794 if got := mul_int64_Neg9223372036854775807_ssa(-1); got != 9223372036854775807 { 5795 fmt.Printf("mul_int64 -1%s-9223372036854775807 = %d, wanted 9223372036854775807\n", `*`, got) 5796 failed = true 5797 } 5798 5799 if got := mul_Neg9223372036854775807_int64_ssa(0); got != 0 { 5800 fmt.Printf("mul_int64 -9223372036854775807%s0 = %d, wanted 0\n", `*`, got) 5801 failed = true 5802 } 5803 5804 if got := mul_int64_Neg9223372036854775807_ssa(0); got != 0 { 5805 fmt.Printf("mul_int64 0%s-9223372036854775807 = %d, wanted 0\n", `*`, got) 5806 failed = true 5807 } 5808 5809 if got := mul_Neg9223372036854775807_int64_ssa(1); got != -9223372036854775807 { 5810 fmt.Printf("mul_int64 -9223372036854775807%s1 = %d, wanted -9223372036854775807\n", `*`, got) 5811 failed = true 5812 } 5813 5814 if got := mul_int64_Neg9223372036854775807_ssa(1); got != -9223372036854775807 { 5815 fmt.Printf("mul_int64 1%s-9223372036854775807 = %d, wanted -9223372036854775807\n", `*`, got) 5816 failed = true 5817 } 5818 5819 if got := mul_Neg9223372036854775807_int64_ssa(4294967296); got != 4294967296 { 5820 fmt.Printf("mul_int64 -9223372036854775807%s4294967296 = %d, wanted 4294967296\n", `*`, got) 5821 failed = true 5822 } 5823 5824 if got := mul_int64_Neg9223372036854775807_ssa(4294967296); got != 4294967296 { 5825 fmt.Printf("mul_int64 4294967296%s-9223372036854775807 = %d, wanted 4294967296\n", `*`, got) 5826 failed = true 5827 } 5828 5829 if got := mul_Neg9223372036854775807_int64_ssa(9223372036854775806); got != 9223372036854775806 { 5830 fmt.Printf("mul_int64 -9223372036854775807%s9223372036854775806 = %d, wanted 9223372036854775806\n", `*`, got) 5831 failed = true 5832 } 5833 5834 if got := mul_int64_Neg9223372036854775807_ssa(9223372036854775806); got != 9223372036854775806 { 5835 fmt.Printf("mul_int64 9223372036854775806%s-9223372036854775807 = %d, wanted 9223372036854775806\n", `*`, got) 5836 failed = true 5837 } 5838 5839 if got := mul_Neg9223372036854775807_int64_ssa(9223372036854775807); got != -1 { 5840 fmt.Printf("mul_int64 -9223372036854775807%s9223372036854775807 = %d, wanted -1\n", `*`, got) 5841 failed = true 5842 } 5843 5844 if got := mul_int64_Neg9223372036854775807_ssa(9223372036854775807); got != -1 { 5845 fmt.Printf("mul_int64 9223372036854775807%s-9223372036854775807 = %d, wanted -1\n", `*`, got) 5846 failed = true 5847 } 5848 5849 if got := mul_Neg4294967296_int64_ssa(-9223372036854775808); got != 0 { 5850 fmt.Printf("mul_int64 -4294967296%s-9223372036854775808 = %d, wanted 0\n", `*`, got) 5851 failed = true 5852 } 5853 5854 if got := mul_int64_Neg4294967296_ssa(-9223372036854775808); got != 0 { 5855 fmt.Printf("mul_int64 -9223372036854775808%s-4294967296 = %d, wanted 0\n", `*`, got) 5856 failed = true 5857 } 5858 5859 if got := mul_Neg4294967296_int64_ssa(-9223372036854775807); got != -4294967296 { 5860 fmt.Printf("mul_int64 -4294967296%s-9223372036854775807 = %d, wanted -4294967296\n", `*`, got) 5861 failed = true 5862 } 5863 5864 if got := mul_int64_Neg4294967296_ssa(-9223372036854775807); got != -4294967296 { 5865 fmt.Printf("mul_int64 -9223372036854775807%s-4294967296 = %d, wanted -4294967296\n", `*`, got) 5866 failed = true 5867 } 5868 5869 if got := mul_Neg4294967296_int64_ssa(-4294967296); got != 0 { 5870 fmt.Printf("mul_int64 -4294967296%s-4294967296 = %d, wanted 0\n", `*`, got) 5871 failed = true 5872 } 5873 5874 if got := mul_int64_Neg4294967296_ssa(-4294967296); got != 0 { 5875 fmt.Printf("mul_int64 -4294967296%s-4294967296 = %d, wanted 0\n", `*`, got) 5876 failed = true 5877 } 5878 5879 if got := mul_Neg4294967296_int64_ssa(-1); got != 4294967296 { 5880 fmt.Printf("mul_int64 -4294967296%s-1 = %d, wanted 4294967296\n", `*`, got) 5881 failed = true 5882 } 5883 5884 if got := mul_int64_Neg4294967296_ssa(-1); got != 4294967296 { 5885 fmt.Printf("mul_int64 -1%s-4294967296 = %d, wanted 4294967296\n", `*`, got) 5886 failed = true 5887 } 5888 5889 if got := mul_Neg4294967296_int64_ssa(0); got != 0 { 5890 fmt.Printf("mul_int64 -4294967296%s0 = %d, wanted 0\n", `*`, got) 5891 failed = true 5892 } 5893 5894 if got := mul_int64_Neg4294967296_ssa(0); got != 0 { 5895 fmt.Printf("mul_int64 0%s-4294967296 = %d, wanted 0\n", `*`, got) 5896 failed = true 5897 } 5898 5899 if got := mul_Neg4294967296_int64_ssa(1); got != -4294967296 { 5900 fmt.Printf("mul_int64 -4294967296%s1 = %d, wanted -4294967296\n", `*`, got) 5901 failed = true 5902 } 5903 5904 if got := mul_int64_Neg4294967296_ssa(1); got != -4294967296 { 5905 fmt.Printf("mul_int64 1%s-4294967296 = %d, wanted -4294967296\n", `*`, got) 5906 failed = true 5907 } 5908 5909 if got := mul_Neg4294967296_int64_ssa(4294967296); got != 0 { 5910 fmt.Printf("mul_int64 -4294967296%s4294967296 = %d, wanted 0\n", `*`, got) 5911 failed = true 5912 } 5913 5914 if got := mul_int64_Neg4294967296_ssa(4294967296); got != 0 { 5915 fmt.Printf("mul_int64 4294967296%s-4294967296 = %d, wanted 0\n", `*`, got) 5916 failed = true 5917 } 5918 5919 if got := mul_Neg4294967296_int64_ssa(9223372036854775806); got != 8589934592 { 5920 fmt.Printf("mul_int64 -4294967296%s9223372036854775806 = %d, wanted 8589934592\n", `*`, got) 5921 failed = true 5922 } 5923 5924 if got := mul_int64_Neg4294967296_ssa(9223372036854775806); got != 8589934592 { 5925 fmt.Printf("mul_int64 9223372036854775806%s-4294967296 = %d, wanted 8589934592\n", `*`, got) 5926 failed = true 5927 } 5928 5929 if got := mul_Neg4294967296_int64_ssa(9223372036854775807); got != 4294967296 { 5930 fmt.Printf("mul_int64 -4294967296%s9223372036854775807 = %d, wanted 4294967296\n", `*`, got) 5931 failed = true 5932 } 5933 5934 if got := mul_int64_Neg4294967296_ssa(9223372036854775807); got != 4294967296 { 5935 fmt.Printf("mul_int64 9223372036854775807%s-4294967296 = %d, wanted 4294967296\n", `*`, got) 5936 failed = true 5937 } 5938 5939 if got := mul_Neg1_int64_ssa(-9223372036854775808); got != -9223372036854775808 { 5940 fmt.Printf("mul_int64 -1%s-9223372036854775808 = %d, wanted -9223372036854775808\n", `*`, got) 5941 failed = true 5942 } 5943 5944 if got := mul_int64_Neg1_ssa(-9223372036854775808); got != -9223372036854775808 { 5945 fmt.Printf("mul_int64 -9223372036854775808%s-1 = %d, wanted -9223372036854775808\n", `*`, got) 5946 failed = true 5947 } 5948 5949 if got := mul_Neg1_int64_ssa(-9223372036854775807); got != 9223372036854775807 { 5950 fmt.Printf("mul_int64 -1%s-9223372036854775807 = %d, wanted 9223372036854775807\n", `*`, got) 5951 failed = true 5952 } 5953 5954 if got := mul_int64_Neg1_ssa(-9223372036854775807); got != 9223372036854775807 { 5955 fmt.Printf("mul_int64 -9223372036854775807%s-1 = %d, wanted 9223372036854775807\n", `*`, got) 5956 failed = true 5957 } 5958 5959 if got := mul_Neg1_int64_ssa(-4294967296); got != 4294967296 { 5960 fmt.Printf("mul_int64 -1%s-4294967296 = %d, wanted 4294967296\n", `*`, got) 5961 failed = true 5962 } 5963 5964 if got := mul_int64_Neg1_ssa(-4294967296); got != 4294967296 { 5965 fmt.Printf("mul_int64 -4294967296%s-1 = %d, wanted 4294967296\n", `*`, got) 5966 failed = true 5967 } 5968 5969 if got := mul_Neg1_int64_ssa(-1); got != 1 { 5970 fmt.Printf("mul_int64 -1%s-1 = %d, wanted 1\n", `*`, got) 5971 failed = true 5972 } 5973 5974 if got := mul_int64_Neg1_ssa(-1); got != 1 { 5975 fmt.Printf("mul_int64 -1%s-1 = %d, wanted 1\n", `*`, got) 5976 failed = true 5977 } 5978 5979 if got := mul_Neg1_int64_ssa(0); got != 0 { 5980 fmt.Printf("mul_int64 -1%s0 = %d, wanted 0\n", `*`, got) 5981 failed = true 5982 } 5983 5984 if got := mul_int64_Neg1_ssa(0); got != 0 { 5985 fmt.Printf("mul_int64 0%s-1 = %d, wanted 0\n", `*`, got) 5986 failed = true 5987 } 5988 5989 if got := mul_Neg1_int64_ssa(1); got != -1 { 5990 fmt.Printf("mul_int64 -1%s1 = %d, wanted -1\n", `*`, got) 5991 failed = true 5992 } 5993 5994 if got := mul_int64_Neg1_ssa(1); got != -1 { 5995 fmt.Printf("mul_int64 1%s-1 = %d, wanted -1\n", `*`, got) 5996 failed = true 5997 } 5998 5999 if got := mul_Neg1_int64_ssa(4294967296); got != -4294967296 { 6000 fmt.Printf("mul_int64 -1%s4294967296 = %d, wanted -4294967296\n", `*`, got) 6001 failed = true 6002 } 6003 6004 if got := mul_int64_Neg1_ssa(4294967296); got != -4294967296 { 6005 fmt.Printf("mul_int64 4294967296%s-1 = %d, wanted -4294967296\n", `*`, got) 6006 failed = true 6007 } 6008 6009 if got := mul_Neg1_int64_ssa(9223372036854775806); got != -9223372036854775806 { 6010 fmt.Printf("mul_int64 -1%s9223372036854775806 = %d, wanted -9223372036854775806\n", `*`, got) 6011 failed = true 6012 } 6013 6014 if got := mul_int64_Neg1_ssa(9223372036854775806); got != -9223372036854775806 { 6015 fmt.Printf("mul_int64 9223372036854775806%s-1 = %d, wanted -9223372036854775806\n", `*`, got) 6016 failed = true 6017 } 6018 6019 if got := mul_Neg1_int64_ssa(9223372036854775807); got != -9223372036854775807 { 6020 fmt.Printf("mul_int64 -1%s9223372036854775807 = %d, wanted -9223372036854775807\n", `*`, got) 6021 failed = true 6022 } 6023 6024 if got := mul_int64_Neg1_ssa(9223372036854775807); got != -9223372036854775807 { 6025 fmt.Printf("mul_int64 9223372036854775807%s-1 = %d, wanted -9223372036854775807\n", `*`, got) 6026 failed = true 6027 } 6028 6029 if got := mul_0_int64_ssa(-9223372036854775808); got != 0 { 6030 fmt.Printf("mul_int64 0%s-9223372036854775808 = %d, wanted 0\n", `*`, got) 6031 failed = true 6032 } 6033 6034 if got := mul_int64_0_ssa(-9223372036854775808); got != 0 { 6035 fmt.Printf("mul_int64 -9223372036854775808%s0 = %d, wanted 0\n", `*`, got) 6036 failed = true 6037 } 6038 6039 if got := mul_0_int64_ssa(-9223372036854775807); got != 0 { 6040 fmt.Printf("mul_int64 0%s-9223372036854775807 = %d, wanted 0\n", `*`, got) 6041 failed = true 6042 } 6043 6044 if got := mul_int64_0_ssa(-9223372036854775807); got != 0 { 6045 fmt.Printf("mul_int64 -9223372036854775807%s0 = %d, wanted 0\n", `*`, got) 6046 failed = true 6047 } 6048 6049 if got := mul_0_int64_ssa(-4294967296); got != 0 { 6050 fmt.Printf("mul_int64 0%s-4294967296 = %d, wanted 0\n", `*`, got) 6051 failed = true 6052 } 6053 6054 if got := mul_int64_0_ssa(-4294967296); got != 0 { 6055 fmt.Printf("mul_int64 -4294967296%s0 = %d, wanted 0\n", `*`, got) 6056 failed = true 6057 } 6058 6059 if got := mul_0_int64_ssa(-1); got != 0 { 6060 fmt.Printf("mul_int64 0%s-1 = %d, wanted 0\n", `*`, got) 6061 failed = true 6062 } 6063 6064 if got := mul_int64_0_ssa(-1); got != 0 { 6065 fmt.Printf("mul_int64 -1%s0 = %d, wanted 0\n", `*`, got) 6066 failed = true 6067 } 6068 6069 if got := mul_0_int64_ssa(0); got != 0 { 6070 fmt.Printf("mul_int64 0%s0 = %d, wanted 0\n", `*`, got) 6071 failed = true 6072 } 6073 6074 if got := mul_int64_0_ssa(0); got != 0 { 6075 fmt.Printf("mul_int64 0%s0 = %d, wanted 0\n", `*`, got) 6076 failed = true 6077 } 6078 6079 if got := mul_0_int64_ssa(1); got != 0 { 6080 fmt.Printf("mul_int64 0%s1 = %d, wanted 0\n", `*`, got) 6081 failed = true 6082 } 6083 6084 if got := mul_int64_0_ssa(1); got != 0 { 6085 fmt.Printf("mul_int64 1%s0 = %d, wanted 0\n", `*`, got) 6086 failed = true 6087 } 6088 6089 if got := mul_0_int64_ssa(4294967296); got != 0 { 6090 fmt.Printf("mul_int64 0%s4294967296 = %d, wanted 0\n", `*`, got) 6091 failed = true 6092 } 6093 6094 if got := mul_int64_0_ssa(4294967296); got != 0 { 6095 fmt.Printf("mul_int64 4294967296%s0 = %d, wanted 0\n", `*`, got) 6096 failed = true 6097 } 6098 6099 if got := mul_0_int64_ssa(9223372036854775806); got != 0 { 6100 fmt.Printf("mul_int64 0%s9223372036854775806 = %d, wanted 0\n", `*`, got) 6101 failed = true 6102 } 6103 6104 if got := mul_int64_0_ssa(9223372036854775806); got != 0 { 6105 fmt.Printf("mul_int64 9223372036854775806%s0 = %d, wanted 0\n", `*`, got) 6106 failed = true 6107 } 6108 6109 if got := mul_0_int64_ssa(9223372036854775807); got != 0 { 6110 fmt.Printf("mul_int64 0%s9223372036854775807 = %d, wanted 0\n", `*`, got) 6111 failed = true 6112 } 6113 6114 if got := mul_int64_0_ssa(9223372036854775807); got != 0 { 6115 fmt.Printf("mul_int64 9223372036854775807%s0 = %d, wanted 0\n", `*`, got) 6116 failed = true 6117 } 6118 6119 if got := mul_1_int64_ssa(-9223372036854775808); got != -9223372036854775808 { 6120 fmt.Printf("mul_int64 1%s-9223372036854775808 = %d, wanted -9223372036854775808\n", `*`, got) 6121 failed = true 6122 } 6123 6124 if got := mul_int64_1_ssa(-9223372036854775808); got != -9223372036854775808 { 6125 fmt.Printf("mul_int64 -9223372036854775808%s1 = %d, wanted -9223372036854775808\n", `*`, got) 6126 failed = true 6127 } 6128 6129 if got := mul_1_int64_ssa(-9223372036854775807); got != -9223372036854775807 { 6130 fmt.Printf("mul_int64 1%s-9223372036854775807 = %d, wanted -9223372036854775807\n", `*`, got) 6131 failed = true 6132 } 6133 6134 if got := mul_int64_1_ssa(-9223372036854775807); got != -9223372036854775807 { 6135 fmt.Printf("mul_int64 -9223372036854775807%s1 = %d, wanted -9223372036854775807\n", `*`, got) 6136 failed = true 6137 } 6138 6139 if got := mul_1_int64_ssa(-4294967296); got != -4294967296 { 6140 fmt.Printf("mul_int64 1%s-4294967296 = %d, wanted -4294967296\n", `*`, got) 6141 failed = true 6142 } 6143 6144 if got := mul_int64_1_ssa(-4294967296); got != -4294967296 { 6145 fmt.Printf("mul_int64 -4294967296%s1 = %d, wanted -4294967296\n", `*`, got) 6146 failed = true 6147 } 6148 6149 if got := mul_1_int64_ssa(-1); got != -1 { 6150 fmt.Printf("mul_int64 1%s-1 = %d, wanted -1\n", `*`, got) 6151 failed = true 6152 } 6153 6154 if got := mul_int64_1_ssa(-1); got != -1 { 6155 fmt.Printf("mul_int64 -1%s1 = %d, wanted -1\n", `*`, got) 6156 failed = true 6157 } 6158 6159 if got := mul_1_int64_ssa(0); got != 0 { 6160 fmt.Printf("mul_int64 1%s0 = %d, wanted 0\n", `*`, got) 6161 failed = true 6162 } 6163 6164 if got := mul_int64_1_ssa(0); got != 0 { 6165 fmt.Printf("mul_int64 0%s1 = %d, wanted 0\n", `*`, got) 6166 failed = true 6167 } 6168 6169 if got := mul_1_int64_ssa(1); got != 1 { 6170 fmt.Printf("mul_int64 1%s1 = %d, wanted 1\n", `*`, got) 6171 failed = true 6172 } 6173 6174 if got := mul_int64_1_ssa(1); got != 1 { 6175 fmt.Printf("mul_int64 1%s1 = %d, wanted 1\n", `*`, got) 6176 failed = true 6177 } 6178 6179 if got := mul_1_int64_ssa(4294967296); got != 4294967296 { 6180 fmt.Printf("mul_int64 1%s4294967296 = %d, wanted 4294967296\n", `*`, got) 6181 failed = true 6182 } 6183 6184 if got := mul_int64_1_ssa(4294967296); got != 4294967296 { 6185 fmt.Printf("mul_int64 4294967296%s1 = %d, wanted 4294967296\n", `*`, got) 6186 failed = true 6187 } 6188 6189 if got := mul_1_int64_ssa(9223372036854775806); got != 9223372036854775806 { 6190 fmt.Printf("mul_int64 1%s9223372036854775806 = %d, wanted 9223372036854775806\n", `*`, got) 6191 failed = true 6192 } 6193 6194 if got := mul_int64_1_ssa(9223372036854775806); got != 9223372036854775806 { 6195 fmt.Printf("mul_int64 9223372036854775806%s1 = %d, wanted 9223372036854775806\n", `*`, got) 6196 failed = true 6197 } 6198 6199 if got := mul_1_int64_ssa(9223372036854775807); got != 9223372036854775807 { 6200 fmt.Printf("mul_int64 1%s9223372036854775807 = %d, wanted 9223372036854775807\n", `*`, got) 6201 failed = true 6202 } 6203 6204 if got := mul_int64_1_ssa(9223372036854775807); got != 9223372036854775807 { 6205 fmt.Printf("mul_int64 9223372036854775807%s1 = %d, wanted 9223372036854775807\n", `*`, got) 6206 failed = true 6207 } 6208 6209 if got := mul_4294967296_int64_ssa(-9223372036854775808); got != 0 { 6210 fmt.Printf("mul_int64 4294967296%s-9223372036854775808 = %d, wanted 0\n", `*`, got) 6211 failed = true 6212 } 6213 6214 if got := mul_int64_4294967296_ssa(-9223372036854775808); got != 0 { 6215 fmt.Printf("mul_int64 -9223372036854775808%s4294967296 = %d, wanted 0\n", `*`, got) 6216 failed = true 6217 } 6218 6219 if got := mul_4294967296_int64_ssa(-9223372036854775807); got != 4294967296 { 6220 fmt.Printf("mul_int64 4294967296%s-9223372036854775807 = %d, wanted 4294967296\n", `*`, got) 6221 failed = true 6222 } 6223 6224 if got := mul_int64_4294967296_ssa(-9223372036854775807); got != 4294967296 { 6225 fmt.Printf("mul_int64 -9223372036854775807%s4294967296 = %d, wanted 4294967296\n", `*`, got) 6226 failed = true 6227 } 6228 6229 if got := mul_4294967296_int64_ssa(-4294967296); got != 0 { 6230 fmt.Printf("mul_int64 4294967296%s-4294967296 = %d, wanted 0\n", `*`, got) 6231 failed = true 6232 } 6233 6234 if got := mul_int64_4294967296_ssa(-4294967296); got != 0 { 6235 fmt.Printf("mul_int64 -4294967296%s4294967296 = %d, wanted 0\n", `*`, got) 6236 failed = true 6237 } 6238 6239 if got := mul_4294967296_int64_ssa(-1); got != -4294967296 { 6240 fmt.Printf("mul_int64 4294967296%s-1 = %d, wanted -4294967296\n", `*`, got) 6241 failed = true 6242 } 6243 6244 if got := mul_int64_4294967296_ssa(-1); got != -4294967296 { 6245 fmt.Printf("mul_int64 -1%s4294967296 = %d, wanted -4294967296\n", `*`, got) 6246 failed = true 6247 } 6248 6249 if got := mul_4294967296_int64_ssa(0); got != 0 { 6250 fmt.Printf("mul_int64 4294967296%s0 = %d, wanted 0\n", `*`, got) 6251 failed = true 6252 } 6253 6254 if got := mul_int64_4294967296_ssa(0); got != 0 { 6255 fmt.Printf("mul_int64 0%s4294967296 = %d, wanted 0\n", `*`, got) 6256 failed = true 6257 } 6258 6259 if got := mul_4294967296_int64_ssa(1); got != 4294967296 { 6260 fmt.Printf("mul_int64 4294967296%s1 = %d, wanted 4294967296\n", `*`, got) 6261 failed = true 6262 } 6263 6264 if got := mul_int64_4294967296_ssa(1); got != 4294967296 { 6265 fmt.Printf("mul_int64 1%s4294967296 = %d, wanted 4294967296\n", `*`, got) 6266 failed = true 6267 } 6268 6269 if got := mul_4294967296_int64_ssa(4294967296); got != 0 { 6270 fmt.Printf("mul_int64 4294967296%s4294967296 = %d, wanted 0\n", `*`, got) 6271 failed = true 6272 } 6273 6274 if got := mul_int64_4294967296_ssa(4294967296); got != 0 { 6275 fmt.Printf("mul_int64 4294967296%s4294967296 = %d, wanted 0\n", `*`, got) 6276 failed = true 6277 } 6278 6279 if got := mul_4294967296_int64_ssa(9223372036854775806); got != -8589934592 { 6280 fmt.Printf("mul_int64 4294967296%s9223372036854775806 = %d, wanted -8589934592\n", `*`, got) 6281 failed = true 6282 } 6283 6284 if got := mul_int64_4294967296_ssa(9223372036854775806); got != -8589934592 { 6285 fmt.Printf("mul_int64 9223372036854775806%s4294967296 = %d, wanted -8589934592\n", `*`, got) 6286 failed = true 6287 } 6288 6289 if got := mul_4294967296_int64_ssa(9223372036854775807); got != -4294967296 { 6290 fmt.Printf("mul_int64 4294967296%s9223372036854775807 = %d, wanted -4294967296\n", `*`, got) 6291 failed = true 6292 } 6293 6294 if got := mul_int64_4294967296_ssa(9223372036854775807); got != -4294967296 { 6295 fmt.Printf("mul_int64 9223372036854775807%s4294967296 = %d, wanted -4294967296\n", `*`, got) 6296 failed = true 6297 } 6298 6299 if got := mul_9223372036854775806_int64_ssa(-9223372036854775808); got != 0 { 6300 fmt.Printf("mul_int64 9223372036854775806%s-9223372036854775808 = %d, wanted 0\n", `*`, got) 6301 failed = true 6302 } 6303 6304 if got := mul_int64_9223372036854775806_ssa(-9223372036854775808); got != 0 { 6305 fmt.Printf("mul_int64 -9223372036854775808%s9223372036854775806 = %d, wanted 0\n", `*`, got) 6306 failed = true 6307 } 6308 6309 if got := mul_9223372036854775806_int64_ssa(-9223372036854775807); got != 9223372036854775806 { 6310 fmt.Printf("mul_int64 9223372036854775806%s-9223372036854775807 = %d, wanted 9223372036854775806\n", `*`, got) 6311 failed = true 6312 } 6313 6314 if got := mul_int64_9223372036854775806_ssa(-9223372036854775807); got != 9223372036854775806 { 6315 fmt.Printf("mul_int64 -9223372036854775807%s9223372036854775806 = %d, wanted 9223372036854775806\n", `*`, got) 6316 failed = true 6317 } 6318 6319 if got := mul_9223372036854775806_int64_ssa(-4294967296); got != 8589934592 { 6320 fmt.Printf("mul_int64 9223372036854775806%s-4294967296 = %d, wanted 8589934592\n", `*`, got) 6321 failed = true 6322 } 6323 6324 if got := mul_int64_9223372036854775806_ssa(-4294967296); got != 8589934592 { 6325 fmt.Printf("mul_int64 -4294967296%s9223372036854775806 = %d, wanted 8589934592\n", `*`, got) 6326 failed = true 6327 } 6328 6329 if got := mul_9223372036854775806_int64_ssa(-1); got != -9223372036854775806 { 6330 fmt.Printf("mul_int64 9223372036854775806%s-1 = %d, wanted -9223372036854775806\n", `*`, got) 6331 failed = true 6332 } 6333 6334 if got := mul_int64_9223372036854775806_ssa(-1); got != -9223372036854775806 { 6335 fmt.Printf("mul_int64 -1%s9223372036854775806 = %d, wanted -9223372036854775806\n", `*`, got) 6336 failed = true 6337 } 6338 6339 if got := mul_9223372036854775806_int64_ssa(0); got != 0 { 6340 fmt.Printf("mul_int64 9223372036854775806%s0 = %d, wanted 0\n", `*`, got) 6341 failed = true 6342 } 6343 6344 if got := mul_int64_9223372036854775806_ssa(0); got != 0 { 6345 fmt.Printf("mul_int64 0%s9223372036854775806 = %d, wanted 0\n", `*`, got) 6346 failed = true 6347 } 6348 6349 if got := mul_9223372036854775806_int64_ssa(1); got != 9223372036854775806 { 6350 fmt.Printf("mul_int64 9223372036854775806%s1 = %d, wanted 9223372036854775806\n", `*`, got) 6351 failed = true 6352 } 6353 6354 if got := mul_int64_9223372036854775806_ssa(1); got != 9223372036854775806 { 6355 fmt.Printf("mul_int64 1%s9223372036854775806 = %d, wanted 9223372036854775806\n", `*`, got) 6356 failed = true 6357 } 6358 6359 if got := mul_9223372036854775806_int64_ssa(4294967296); got != -8589934592 { 6360 fmt.Printf("mul_int64 9223372036854775806%s4294967296 = %d, wanted -8589934592\n", `*`, got) 6361 failed = true 6362 } 6363 6364 if got := mul_int64_9223372036854775806_ssa(4294967296); got != -8589934592 { 6365 fmt.Printf("mul_int64 4294967296%s9223372036854775806 = %d, wanted -8589934592\n", `*`, got) 6366 failed = true 6367 } 6368 6369 if got := mul_9223372036854775806_int64_ssa(9223372036854775806); got != 4 { 6370 fmt.Printf("mul_int64 9223372036854775806%s9223372036854775806 = %d, wanted 4\n", `*`, got) 6371 failed = true 6372 } 6373 6374 if got := mul_int64_9223372036854775806_ssa(9223372036854775806); got != 4 { 6375 fmt.Printf("mul_int64 9223372036854775806%s9223372036854775806 = %d, wanted 4\n", `*`, got) 6376 failed = true 6377 } 6378 6379 if got := mul_9223372036854775806_int64_ssa(9223372036854775807); got != -9223372036854775806 { 6380 fmt.Printf("mul_int64 9223372036854775806%s9223372036854775807 = %d, wanted -9223372036854775806\n", `*`, got) 6381 failed = true 6382 } 6383 6384 if got := mul_int64_9223372036854775806_ssa(9223372036854775807); got != -9223372036854775806 { 6385 fmt.Printf("mul_int64 9223372036854775807%s9223372036854775806 = %d, wanted -9223372036854775806\n", `*`, got) 6386 failed = true 6387 } 6388 6389 if got := mul_9223372036854775807_int64_ssa(-9223372036854775808); got != -9223372036854775808 { 6390 fmt.Printf("mul_int64 9223372036854775807%s-9223372036854775808 = %d, wanted -9223372036854775808\n", `*`, got) 6391 failed = true 6392 } 6393 6394 if got := mul_int64_9223372036854775807_ssa(-9223372036854775808); got != -9223372036854775808 { 6395 fmt.Printf("mul_int64 -9223372036854775808%s9223372036854775807 = %d, wanted -9223372036854775808\n", `*`, got) 6396 failed = true 6397 } 6398 6399 if got := mul_9223372036854775807_int64_ssa(-9223372036854775807); got != -1 { 6400 fmt.Printf("mul_int64 9223372036854775807%s-9223372036854775807 = %d, wanted -1\n", `*`, got) 6401 failed = true 6402 } 6403 6404 if got := mul_int64_9223372036854775807_ssa(-9223372036854775807); got != -1 { 6405 fmt.Printf("mul_int64 -9223372036854775807%s9223372036854775807 = %d, wanted -1\n", `*`, got) 6406 failed = true 6407 } 6408 6409 if got := mul_9223372036854775807_int64_ssa(-4294967296); got != 4294967296 { 6410 fmt.Printf("mul_int64 9223372036854775807%s-4294967296 = %d, wanted 4294967296\n", `*`, got) 6411 failed = true 6412 } 6413 6414 if got := mul_int64_9223372036854775807_ssa(-4294967296); got != 4294967296 { 6415 fmt.Printf("mul_int64 -4294967296%s9223372036854775807 = %d, wanted 4294967296\n", `*`, got) 6416 failed = true 6417 } 6418 6419 if got := mul_9223372036854775807_int64_ssa(-1); got != -9223372036854775807 { 6420 fmt.Printf("mul_int64 9223372036854775807%s-1 = %d, wanted -9223372036854775807\n", `*`, got) 6421 failed = true 6422 } 6423 6424 if got := mul_int64_9223372036854775807_ssa(-1); got != -9223372036854775807 { 6425 fmt.Printf("mul_int64 -1%s9223372036854775807 = %d, wanted -9223372036854775807\n", `*`, got) 6426 failed = true 6427 } 6428 6429 if got := mul_9223372036854775807_int64_ssa(0); got != 0 { 6430 fmt.Printf("mul_int64 9223372036854775807%s0 = %d, wanted 0\n", `*`, got) 6431 failed = true 6432 } 6433 6434 if got := mul_int64_9223372036854775807_ssa(0); got != 0 { 6435 fmt.Printf("mul_int64 0%s9223372036854775807 = %d, wanted 0\n", `*`, got) 6436 failed = true 6437 } 6438 6439 if got := mul_9223372036854775807_int64_ssa(1); got != 9223372036854775807 { 6440 fmt.Printf("mul_int64 9223372036854775807%s1 = %d, wanted 9223372036854775807\n", `*`, got) 6441 failed = true 6442 } 6443 6444 if got := mul_int64_9223372036854775807_ssa(1); got != 9223372036854775807 { 6445 fmt.Printf("mul_int64 1%s9223372036854775807 = %d, wanted 9223372036854775807\n", `*`, got) 6446 failed = true 6447 } 6448 6449 if got := mul_9223372036854775807_int64_ssa(4294967296); got != -4294967296 { 6450 fmt.Printf("mul_int64 9223372036854775807%s4294967296 = %d, wanted -4294967296\n", `*`, got) 6451 failed = true 6452 } 6453 6454 if got := mul_int64_9223372036854775807_ssa(4294967296); got != -4294967296 { 6455 fmt.Printf("mul_int64 4294967296%s9223372036854775807 = %d, wanted -4294967296\n", `*`, got) 6456 failed = true 6457 } 6458 6459 if got := mul_9223372036854775807_int64_ssa(9223372036854775806); got != -9223372036854775806 { 6460 fmt.Printf("mul_int64 9223372036854775807%s9223372036854775806 = %d, wanted -9223372036854775806\n", `*`, got) 6461 failed = true 6462 } 6463 6464 if got := mul_int64_9223372036854775807_ssa(9223372036854775806); got != -9223372036854775806 { 6465 fmt.Printf("mul_int64 9223372036854775806%s9223372036854775807 = %d, wanted -9223372036854775806\n", `*`, got) 6466 failed = true 6467 } 6468 6469 if got := mul_9223372036854775807_int64_ssa(9223372036854775807); got != 1 { 6470 fmt.Printf("mul_int64 9223372036854775807%s9223372036854775807 = %d, wanted 1\n", `*`, got) 6471 failed = true 6472 } 6473 6474 if got := mul_int64_9223372036854775807_ssa(9223372036854775807); got != 1 { 6475 fmt.Printf("mul_int64 9223372036854775807%s9223372036854775807 = %d, wanted 1\n", `*`, got) 6476 failed = true 6477 } 6478 6479 if got := mod_Neg9223372036854775808_int64_ssa(-9223372036854775808); got != 0 { 6480 fmt.Printf("mod_int64 -9223372036854775808%s-9223372036854775808 = %d, wanted 0\n", `%`, got) 6481 failed = true 6482 } 6483 6484 if got := mod_int64_Neg9223372036854775808_ssa(-9223372036854775808); got != 0 { 6485 fmt.Printf("mod_int64 -9223372036854775808%s-9223372036854775808 = %d, wanted 0\n", `%`, got) 6486 failed = true 6487 } 6488 6489 if got := mod_Neg9223372036854775808_int64_ssa(-9223372036854775807); got != -1 { 6490 fmt.Printf("mod_int64 -9223372036854775808%s-9223372036854775807 = %d, wanted -1\n", `%`, got) 6491 failed = true 6492 } 6493 6494 if got := mod_int64_Neg9223372036854775808_ssa(-9223372036854775807); got != -9223372036854775807 { 6495 fmt.Printf("mod_int64 -9223372036854775807%s-9223372036854775808 = %d, wanted -9223372036854775807\n", `%`, got) 6496 failed = true 6497 } 6498 6499 if got := mod_Neg9223372036854775808_int64_ssa(-4294967296); got != 0 { 6500 fmt.Printf("mod_int64 -9223372036854775808%s-4294967296 = %d, wanted 0\n", `%`, got) 6501 failed = true 6502 } 6503 6504 if got := mod_int64_Neg9223372036854775808_ssa(-4294967296); got != -4294967296 { 6505 fmt.Printf("mod_int64 -4294967296%s-9223372036854775808 = %d, wanted -4294967296\n", `%`, got) 6506 failed = true 6507 } 6508 6509 if got := mod_Neg9223372036854775808_int64_ssa(-1); got != 0 { 6510 fmt.Printf("mod_int64 -9223372036854775808%s-1 = %d, wanted 0\n", `%`, got) 6511 failed = true 6512 } 6513 6514 if got := mod_int64_Neg9223372036854775808_ssa(-1); got != -1 { 6515 fmt.Printf("mod_int64 -1%s-9223372036854775808 = %d, wanted -1\n", `%`, got) 6516 failed = true 6517 } 6518 6519 if got := mod_int64_Neg9223372036854775808_ssa(0); got != 0 { 6520 fmt.Printf("mod_int64 0%s-9223372036854775808 = %d, wanted 0\n", `%`, got) 6521 failed = true 6522 } 6523 6524 if got := mod_Neg9223372036854775808_int64_ssa(1); got != 0 { 6525 fmt.Printf("mod_int64 -9223372036854775808%s1 = %d, wanted 0\n", `%`, got) 6526 failed = true 6527 } 6528 6529 if got := mod_int64_Neg9223372036854775808_ssa(1); got != 1 { 6530 fmt.Printf("mod_int64 1%s-9223372036854775808 = %d, wanted 1\n", `%`, got) 6531 failed = true 6532 } 6533 6534 if got := mod_Neg9223372036854775808_int64_ssa(4294967296); got != 0 { 6535 fmt.Printf("mod_int64 -9223372036854775808%s4294967296 = %d, wanted 0\n", `%`, got) 6536 failed = true 6537 } 6538 6539 if got := mod_int64_Neg9223372036854775808_ssa(4294967296); got != 4294967296 { 6540 fmt.Printf("mod_int64 4294967296%s-9223372036854775808 = %d, wanted 4294967296\n", `%`, got) 6541 failed = true 6542 } 6543 6544 if got := mod_Neg9223372036854775808_int64_ssa(9223372036854775806); got != -2 { 6545 fmt.Printf("mod_int64 -9223372036854775808%s9223372036854775806 = %d, wanted -2\n", `%`, got) 6546 failed = true 6547 } 6548 6549 if got := mod_int64_Neg9223372036854775808_ssa(9223372036854775806); got != 9223372036854775806 { 6550 fmt.Printf("mod_int64 9223372036854775806%s-9223372036854775808 = %d, wanted 9223372036854775806\n", `%`, got) 6551 failed = true 6552 } 6553 6554 if got := mod_Neg9223372036854775808_int64_ssa(9223372036854775807); got != -1 { 6555 fmt.Printf("mod_int64 -9223372036854775808%s9223372036854775807 = %d, wanted -1\n", `%`, got) 6556 failed = true 6557 } 6558 6559 if got := mod_int64_Neg9223372036854775808_ssa(9223372036854775807); got != 9223372036854775807 { 6560 fmt.Printf("mod_int64 9223372036854775807%s-9223372036854775808 = %d, wanted 9223372036854775807\n", `%`, got) 6561 failed = true 6562 } 6563 6564 if got := mod_Neg9223372036854775807_int64_ssa(-9223372036854775808); got != -9223372036854775807 { 6565 fmt.Printf("mod_int64 -9223372036854775807%s-9223372036854775808 = %d, wanted -9223372036854775807\n", `%`, got) 6566 failed = true 6567 } 6568 6569 if got := mod_int64_Neg9223372036854775807_ssa(-9223372036854775808); got != -1 { 6570 fmt.Printf("mod_int64 -9223372036854775808%s-9223372036854775807 = %d, wanted -1\n", `%`, got) 6571 failed = true 6572 } 6573 6574 if got := mod_Neg9223372036854775807_int64_ssa(-9223372036854775807); got != 0 { 6575 fmt.Printf("mod_int64 -9223372036854775807%s-9223372036854775807 = %d, wanted 0\n", `%`, got) 6576 failed = true 6577 } 6578 6579 if got := mod_int64_Neg9223372036854775807_ssa(-9223372036854775807); got != 0 { 6580 fmt.Printf("mod_int64 -9223372036854775807%s-9223372036854775807 = %d, wanted 0\n", `%`, got) 6581 failed = true 6582 } 6583 6584 if got := mod_Neg9223372036854775807_int64_ssa(-4294967296); got != -4294967295 { 6585 fmt.Printf("mod_int64 -9223372036854775807%s-4294967296 = %d, wanted -4294967295\n", `%`, got) 6586 failed = true 6587 } 6588 6589 if got := mod_int64_Neg9223372036854775807_ssa(-4294967296); got != -4294967296 { 6590 fmt.Printf("mod_int64 -4294967296%s-9223372036854775807 = %d, wanted -4294967296\n", `%`, got) 6591 failed = true 6592 } 6593 6594 if got := mod_Neg9223372036854775807_int64_ssa(-1); got != 0 { 6595 fmt.Printf("mod_int64 -9223372036854775807%s-1 = %d, wanted 0\n", `%`, got) 6596 failed = true 6597 } 6598 6599 if got := mod_int64_Neg9223372036854775807_ssa(-1); got != -1 { 6600 fmt.Printf("mod_int64 -1%s-9223372036854775807 = %d, wanted -1\n", `%`, got) 6601 failed = true 6602 } 6603 6604 if got := mod_int64_Neg9223372036854775807_ssa(0); got != 0 { 6605 fmt.Printf("mod_int64 0%s-9223372036854775807 = %d, wanted 0\n", `%`, got) 6606 failed = true 6607 } 6608 6609 if got := mod_Neg9223372036854775807_int64_ssa(1); got != 0 { 6610 fmt.Printf("mod_int64 -9223372036854775807%s1 = %d, wanted 0\n", `%`, got) 6611 failed = true 6612 } 6613 6614 if got := mod_int64_Neg9223372036854775807_ssa(1); got != 1 { 6615 fmt.Printf("mod_int64 1%s-9223372036854775807 = %d, wanted 1\n", `%`, got) 6616 failed = true 6617 } 6618 6619 if got := mod_Neg9223372036854775807_int64_ssa(4294967296); got != -4294967295 { 6620 fmt.Printf("mod_int64 -9223372036854775807%s4294967296 = %d, wanted -4294967295\n", `%`, got) 6621 failed = true 6622 } 6623 6624 if got := mod_int64_Neg9223372036854775807_ssa(4294967296); got != 4294967296 { 6625 fmt.Printf("mod_int64 4294967296%s-9223372036854775807 = %d, wanted 4294967296\n", `%`, got) 6626 failed = true 6627 } 6628 6629 if got := mod_Neg9223372036854775807_int64_ssa(9223372036854775806); got != -1 { 6630 fmt.Printf("mod_int64 -9223372036854775807%s9223372036854775806 = %d, wanted -1\n", `%`, got) 6631 failed = true 6632 } 6633 6634 if got := mod_int64_Neg9223372036854775807_ssa(9223372036854775806); got != 9223372036854775806 { 6635 fmt.Printf("mod_int64 9223372036854775806%s-9223372036854775807 = %d, wanted 9223372036854775806\n", `%`, got) 6636 failed = true 6637 } 6638 6639 if got := mod_Neg9223372036854775807_int64_ssa(9223372036854775807); got != 0 { 6640 fmt.Printf("mod_int64 -9223372036854775807%s9223372036854775807 = %d, wanted 0\n", `%`, got) 6641 failed = true 6642 } 6643 6644 if got := mod_int64_Neg9223372036854775807_ssa(9223372036854775807); got != 0 { 6645 fmt.Printf("mod_int64 9223372036854775807%s-9223372036854775807 = %d, wanted 0\n", `%`, got) 6646 failed = true 6647 } 6648 6649 if got := mod_Neg4294967296_int64_ssa(-9223372036854775808); got != -4294967296 { 6650 fmt.Printf("mod_int64 -4294967296%s-9223372036854775808 = %d, wanted -4294967296\n", `%`, got) 6651 failed = true 6652 } 6653 6654 if got := mod_int64_Neg4294967296_ssa(-9223372036854775808); got != 0 { 6655 fmt.Printf("mod_int64 -9223372036854775808%s-4294967296 = %d, wanted 0\n", `%`, got) 6656 failed = true 6657 } 6658 6659 if got := mod_Neg4294967296_int64_ssa(-9223372036854775807); got != -4294967296 { 6660 fmt.Printf("mod_int64 -4294967296%s-9223372036854775807 = %d, wanted -4294967296\n", `%`, got) 6661 failed = true 6662 } 6663 6664 if got := mod_int64_Neg4294967296_ssa(-9223372036854775807); got != -4294967295 { 6665 fmt.Printf("mod_int64 -9223372036854775807%s-4294967296 = %d, wanted -4294967295\n", `%`, got) 6666 failed = true 6667 } 6668 6669 if got := mod_Neg4294967296_int64_ssa(-4294967296); got != 0 { 6670 fmt.Printf("mod_int64 -4294967296%s-4294967296 = %d, wanted 0\n", `%`, got) 6671 failed = true 6672 } 6673 6674 if got := mod_int64_Neg4294967296_ssa(-4294967296); got != 0 { 6675 fmt.Printf("mod_int64 -4294967296%s-4294967296 = %d, wanted 0\n", `%`, got) 6676 failed = true 6677 } 6678 6679 if got := mod_Neg4294967296_int64_ssa(-1); got != 0 { 6680 fmt.Printf("mod_int64 -4294967296%s-1 = %d, wanted 0\n", `%`, got) 6681 failed = true 6682 } 6683 6684 if got := mod_int64_Neg4294967296_ssa(-1); got != -1 { 6685 fmt.Printf("mod_int64 -1%s-4294967296 = %d, wanted -1\n", `%`, got) 6686 failed = true 6687 } 6688 6689 if got := mod_int64_Neg4294967296_ssa(0); got != 0 { 6690 fmt.Printf("mod_int64 0%s-4294967296 = %d, wanted 0\n", `%`, got) 6691 failed = true 6692 } 6693 6694 if got := mod_Neg4294967296_int64_ssa(1); got != 0 { 6695 fmt.Printf("mod_int64 -4294967296%s1 = %d, wanted 0\n", `%`, got) 6696 failed = true 6697 } 6698 6699 if got := mod_int64_Neg4294967296_ssa(1); got != 1 { 6700 fmt.Printf("mod_int64 1%s-4294967296 = %d, wanted 1\n", `%`, got) 6701 failed = true 6702 } 6703 6704 if got := mod_Neg4294967296_int64_ssa(4294967296); got != 0 { 6705 fmt.Printf("mod_int64 -4294967296%s4294967296 = %d, wanted 0\n", `%`, got) 6706 failed = true 6707 } 6708 6709 if got := mod_int64_Neg4294967296_ssa(4294967296); got != 0 { 6710 fmt.Printf("mod_int64 4294967296%s-4294967296 = %d, wanted 0\n", `%`, got) 6711 failed = true 6712 } 6713 6714 if got := mod_Neg4294967296_int64_ssa(9223372036854775806); got != -4294967296 { 6715 fmt.Printf("mod_int64 -4294967296%s9223372036854775806 = %d, wanted -4294967296\n", `%`, got) 6716 failed = true 6717 } 6718 6719 if got := mod_int64_Neg4294967296_ssa(9223372036854775806); got != 4294967294 { 6720 fmt.Printf("mod_int64 9223372036854775806%s-4294967296 = %d, wanted 4294967294\n", `%`, got) 6721 failed = true 6722 } 6723 6724 if got := mod_Neg4294967296_int64_ssa(9223372036854775807); got != -4294967296 { 6725 fmt.Printf("mod_int64 -4294967296%s9223372036854775807 = %d, wanted -4294967296\n", `%`, got) 6726 failed = true 6727 } 6728 6729 if got := mod_int64_Neg4294967296_ssa(9223372036854775807); got != 4294967295 { 6730 fmt.Printf("mod_int64 9223372036854775807%s-4294967296 = %d, wanted 4294967295\n", `%`, got) 6731 failed = true 6732 } 6733 6734 if got := mod_Neg1_int64_ssa(-9223372036854775808); got != -1 { 6735 fmt.Printf("mod_int64 -1%s-9223372036854775808 = %d, wanted -1\n", `%`, got) 6736 failed = true 6737 } 6738 6739 if got := mod_int64_Neg1_ssa(-9223372036854775808); got != 0 { 6740 fmt.Printf("mod_int64 -9223372036854775808%s-1 = %d, wanted 0\n", `%`, got) 6741 failed = true 6742 } 6743 6744 if got := mod_Neg1_int64_ssa(-9223372036854775807); got != -1 { 6745 fmt.Printf("mod_int64 -1%s-9223372036854775807 = %d, wanted -1\n", `%`, got) 6746 failed = true 6747 } 6748 6749 if got := mod_int64_Neg1_ssa(-9223372036854775807); got != 0 { 6750 fmt.Printf("mod_int64 -9223372036854775807%s-1 = %d, wanted 0\n", `%`, got) 6751 failed = true 6752 } 6753 6754 if got := mod_Neg1_int64_ssa(-4294967296); got != -1 { 6755 fmt.Printf("mod_int64 -1%s-4294967296 = %d, wanted -1\n", `%`, got) 6756 failed = true 6757 } 6758 6759 if got := mod_int64_Neg1_ssa(-4294967296); got != 0 { 6760 fmt.Printf("mod_int64 -4294967296%s-1 = %d, wanted 0\n", `%`, got) 6761 failed = true 6762 } 6763 6764 if got := mod_Neg1_int64_ssa(-1); got != 0 { 6765 fmt.Printf("mod_int64 -1%s-1 = %d, wanted 0\n", `%`, got) 6766 failed = true 6767 } 6768 6769 if got := mod_int64_Neg1_ssa(-1); got != 0 { 6770 fmt.Printf("mod_int64 -1%s-1 = %d, wanted 0\n", `%`, got) 6771 failed = true 6772 } 6773 6774 if got := mod_int64_Neg1_ssa(0); got != 0 { 6775 fmt.Printf("mod_int64 0%s-1 = %d, wanted 0\n", `%`, got) 6776 failed = true 6777 } 6778 6779 if got := mod_Neg1_int64_ssa(1); got != 0 { 6780 fmt.Printf("mod_int64 -1%s1 = %d, wanted 0\n", `%`, got) 6781 failed = true 6782 } 6783 6784 if got := mod_int64_Neg1_ssa(1); got != 0 { 6785 fmt.Printf("mod_int64 1%s-1 = %d, wanted 0\n", `%`, got) 6786 failed = true 6787 } 6788 6789 if got := mod_Neg1_int64_ssa(4294967296); got != -1 { 6790 fmt.Printf("mod_int64 -1%s4294967296 = %d, wanted -1\n", `%`, got) 6791 failed = true 6792 } 6793 6794 if got := mod_int64_Neg1_ssa(4294967296); got != 0 { 6795 fmt.Printf("mod_int64 4294967296%s-1 = %d, wanted 0\n", `%`, got) 6796 failed = true 6797 } 6798 6799 if got := mod_Neg1_int64_ssa(9223372036854775806); got != -1 { 6800 fmt.Printf("mod_int64 -1%s9223372036854775806 = %d, wanted -1\n", `%`, got) 6801 failed = true 6802 } 6803 6804 if got := mod_int64_Neg1_ssa(9223372036854775806); got != 0 { 6805 fmt.Printf("mod_int64 9223372036854775806%s-1 = %d, wanted 0\n", `%`, got) 6806 failed = true 6807 } 6808 6809 if got := mod_Neg1_int64_ssa(9223372036854775807); got != -1 { 6810 fmt.Printf("mod_int64 -1%s9223372036854775807 = %d, wanted -1\n", `%`, got) 6811 failed = true 6812 } 6813 6814 if got := mod_int64_Neg1_ssa(9223372036854775807); got != 0 { 6815 fmt.Printf("mod_int64 9223372036854775807%s-1 = %d, wanted 0\n", `%`, got) 6816 failed = true 6817 } 6818 6819 if got := mod_0_int64_ssa(-9223372036854775808); got != 0 { 6820 fmt.Printf("mod_int64 0%s-9223372036854775808 = %d, wanted 0\n", `%`, got) 6821 failed = true 6822 } 6823 6824 if got := mod_0_int64_ssa(-9223372036854775807); got != 0 { 6825 fmt.Printf("mod_int64 0%s-9223372036854775807 = %d, wanted 0\n", `%`, got) 6826 failed = true 6827 } 6828 6829 if got := mod_0_int64_ssa(-4294967296); got != 0 { 6830 fmt.Printf("mod_int64 0%s-4294967296 = %d, wanted 0\n", `%`, got) 6831 failed = true 6832 } 6833 6834 if got := mod_0_int64_ssa(-1); got != 0 { 6835 fmt.Printf("mod_int64 0%s-1 = %d, wanted 0\n", `%`, got) 6836 failed = true 6837 } 6838 6839 if got := mod_0_int64_ssa(1); got != 0 { 6840 fmt.Printf("mod_int64 0%s1 = %d, wanted 0\n", `%`, got) 6841 failed = true 6842 } 6843 6844 if got := mod_0_int64_ssa(4294967296); got != 0 { 6845 fmt.Printf("mod_int64 0%s4294967296 = %d, wanted 0\n", `%`, got) 6846 failed = true 6847 } 6848 6849 if got := mod_0_int64_ssa(9223372036854775806); got != 0 { 6850 fmt.Printf("mod_int64 0%s9223372036854775806 = %d, wanted 0\n", `%`, got) 6851 failed = true 6852 } 6853 6854 if got := mod_0_int64_ssa(9223372036854775807); got != 0 { 6855 fmt.Printf("mod_int64 0%s9223372036854775807 = %d, wanted 0\n", `%`, got) 6856 failed = true 6857 } 6858 6859 if got := mod_1_int64_ssa(-9223372036854775808); got != 1 { 6860 fmt.Printf("mod_int64 1%s-9223372036854775808 = %d, wanted 1\n", `%`, got) 6861 failed = true 6862 } 6863 6864 if got := mod_int64_1_ssa(-9223372036854775808); got != 0 { 6865 fmt.Printf("mod_int64 -9223372036854775808%s1 = %d, wanted 0\n", `%`, got) 6866 failed = true 6867 } 6868 6869 if got := mod_1_int64_ssa(-9223372036854775807); got != 1 { 6870 fmt.Printf("mod_int64 1%s-9223372036854775807 = %d, wanted 1\n", `%`, got) 6871 failed = true 6872 } 6873 6874 if got := mod_int64_1_ssa(-9223372036854775807); got != 0 { 6875 fmt.Printf("mod_int64 -9223372036854775807%s1 = %d, wanted 0\n", `%`, got) 6876 failed = true 6877 } 6878 6879 if got := mod_1_int64_ssa(-4294967296); got != 1 { 6880 fmt.Printf("mod_int64 1%s-4294967296 = %d, wanted 1\n", `%`, got) 6881 failed = true 6882 } 6883 6884 if got := mod_int64_1_ssa(-4294967296); got != 0 { 6885 fmt.Printf("mod_int64 -4294967296%s1 = %d, wanted 0\n", `%`, got) 6886 failed = true 6887 } 6888 6889 if got := mod_1_int64_ssa(-1); got != 0 { 6890 fmt.Printf("mod_int64 1%s-1 = %d, wanted 0\n", `%`, got) 6891 failed = true 6892 } 6893 6894 if got := mod_int64_1_ssa(-1); got != 0 { 6895 fmt.Printf("mod_int64 -1%s1 = %d, wanted 0\n", `%`, got) 6896 failed = true 6897 } 6898 6899 if got := mod_int64_1_ssa(0); got != 0 { 6900 fmt.Printf("mod_int64 0%s1 = %d, wanted 0\n", `%`, got) 6901 failed = true 6902 } 6903 6904 if got := mod_1_int64_ssa(1); got != 0 { 6905 fmt.Printf("mod_int64 1%s1 = %d, wanted 0\n", `%`, got) 6906 failed = true 6907 } 6908 6909 if got := mod_int64_1_ssa(1); got != 0 { 6910 fmt.Printf("mod_int64 1%s1 = %d, wanted 0\n", `%`, got) 6911 failed = true 6912 } 6913 6914 if got := mod_1_int64_ssa(4294967296); got != 1 { 6915 fmt.Printf("mod_int64 1%s4294967296 = %d, wanted 1\n", `%`, got) 6916 failed = true 6917 } 6918 6919 if got := mod_int64_1_ssa(4294967296); got != 0 { 6920 fmt.Printf("mod_int64 4294967296%s1 = %d, wanted 0\n", `%`, got) 6921 failed = true 6922 } 6923 6924 if got := mod_1_int64_ssa(9223372036854775806); got != 1 { 6925 fmt.Printf("mod_int64 1%s9223372036854775806 = %d, wanted 1\n", `%`, got) 6926 failed = true 6927 } 6928 6929 if got := mod_int64_1_ssa(9223372036854775806); got != 0 { 6930 fmt.Printf("mod_int64 9223372036854775806%s1 = %d, wanted 0\n", `%`, got) 6931 failed = true 6932 } 6933 6934 if got := mod_1_int64_ssa(9223372036854775807); got != 1 { 6935 fmt.Printf("mod_int64 1%s9223372036854775807 = %d, wanted 1\n", `%`, got) 6936 failed = true 6937 } 6938 6939 if got := mod_int64_1_ssa(9223372036854775807); got != 0 { 6940 fmt.Printf("mod_int64 9223372036854775807%s1 = %d, wanted 0\n", `%`, got) 6941 failed = true 6942 } 6943 6944 if got := mod_4294967296_int64_ssa(-9223372036854775808); got != 4294967296 { 6945 fmt.Printf("mod_int64 4294967296%s-9223372036854775808 = %d, wanted 4294967296\n", `%`, got) 6946 failed = true 6947 } 6948 6949 if got := mod_int64_4294967296_ssa(-9223372036854775808); got != 0 { 6950 fmt.Printf("mod_int64 -9223372036854775808%s4294967296 = %d, wanted 0\n", `%`, got) 6951 failed = true 6952 } 6953 6954 if got := mod_4294967296_int64_ssa(-9223372036854775807); got != 4294967296 { 6955 fmt.Printf("mod_int64 4294967296%s-9223372036854775807 = %d, wanted 4294967296\n", `%`, got) 6956 failed = true 6957 } 6958 6959 if got := mod_int64_4294967296_ssa(-9223372036854775807); got != -4294967295 { 6960 fmt.Printf("mod_int64 -9223372036854775807%s4294967296 = %d, wanted -4294967295\n", `%`, got) 6961 failed = true 6962 } 6963 6964 if got := mod_4294967296_int64_ssa(-4294967296); got != 0 { 6965 fmt.Printf("mod_int64 4294967296%s-4294967296 = %d, wanted 0\n", `%`, got) 6966 failed = true 6967 } 6968 6969 if got := mod_int64_4294967296_ssa(-4294967296); got != 0 { 6970 fmt.Printf("mod_int64 -4294967296%s4294967296 = %d, wanted 0\n", `%`, got) 6971 failed = true 6972 } 6973 6974 if got := mod_4294967296_int64_ssa(-1); got != 0 { 6975 fmt.Printf("mod_int64 4294967296%s-1 = %d, wanted 0\n", `%`, got) 6976 failed = true 6977 } 6978 6979 if got := mod_int64_4294967296_ssa(-1); got != -1 { 6980 fmt.Printf("mod_int64 -1%s4294967296 = %d, wanted -1\n", `%`, got) 6981 failed = true 6982 } 6983 6984 if got := mod_int64_4294967296_ssa(0); got != 0 { 6985 fmt.Printf("mod_int64 0%s4294967296 = %d, wanted 0\n", `%`, got) 6986 failed = true 6987 } 6988 6989 if got := mod_4294967296_int64_ssa(1); got != 0 { 6990 fmt.Printf("mod_int64 4294967296%s1 = %d, wanted 0\n", `%`, got) 6991 failed = true 6992 } 6993 6994 if got := mod_int64_4294967296_ssa(1); got != 1 { 6995 fmt.Printf("mod_int64 1%s4294967296 = %d, wanted 1\n", `%`, got) 6996 failed = true 6997 } 6998 6999 if got := mod_4294967296_int64_ssa(4294967296); got != 0 { 7000 fmt.Printf("mod_int64 4294967296%s4294967296 = %d, wanted 0\n", `%`, got) 7001 failed = true 7002 } 7003 7004 if got := mod_int64_4294967296_ssa(4294967296); got != 0 { 7005 fmt.Printf("mod_int64 4294967296%s4294967296 = %d, wanted 0\n", `%`, got) 7006 failed = true 7007 } 7008 7009 if got := mod_4294967296_int64_ssa(9223372036854775806); got != 4294967296 { 7010 fmt.Printf("mod_int64 4294967296%s9223372036854775806 = %d, wanted 4294967296\n", `%`, got) 7011 failed = true 7012 } 7013 7014 if got := mod_int64_4294967296_ssa(9223372036854775806); got != 4294967294 { 7015 fmt.Printf("mod_int64 9223372036854775806%s4294967296 = %d, wanted 4294967294\n", `%`, got) 7016 failed = true 7017 } 7018 7019 if got := mod_4294967296_int64_ssa(9223372036854775807); got != 4294967296 { 7020 fmt.Printf("mod_int64 4294967296%s9223372036854775807 = %d, wanted 4294967296\n", `%`, got) 7021 failed = true 7022 } 7023 7024 if got := mod_int64_4294967296_ssa(9223372036854775807); got != 4294967295 { 7025 fmt.Printf("mod_int64 9223372036854775807%s4294967296 = %d, wanted 4294967295\n", `%`, got) 7026 failed = true 7027 } 7028 7029 if got := mod_9223372036854775806_int64_ssa(-9223372036854775808); got != 9223372036854775806 { 7030 fmt.Printf("mod_int64 9223372036854775806%s-9223372036854775808 = %d, wanted 9223372036854775806\n", `%`, got) 7031 failed = true 7032 } 7033 7034 if got := mod_int64_9223372036854775806_ssa(-9223372036854775808); got != -2 { 7035 fmt.Printf("mod_int64 -9223372036854775808%s9223372036854775806 = %d, wanted -2\n", `%`, got) 7036 failed = true 7037 } 7038 7039 if got := mod_9223372036854775806_int64_ssa(-9223372036854775807); got != 9223372036854775806 { 7040 fmt.Printf("mod_int64 9223372036854775806%s-9223372036854775807 = %d, wanted 9223372036854775806\n", `%`, got) 7041 failed = true 7042 } 7043 7044 if got := mod_int64_9223372036854775806_ssa(-9223372036854775807); got != -1 { 7045 fmt.Printf("mod_int64 -9223372036854775807%s9223372036854775806 = %d, wanted -1\n", `%`, got) 7046 failed = true 7047 } 7048 7049 if got := mod_9223372036854775806_int64_ssa(-4294967296); got != 4294967294 { 7050 fmt.Printf("mod_int64 9223372036854775806%s-4294967296 = %d, wanted 4294967294\n", `%`, got) 7051 failed = true 7052 } 7053 7054 if got := mod_int64_9223372036854775806_ssa(-4294967296); got != -4294967296 { 7055 fmt.Printf("mod_int64 -4294967296%s9223372036854775806 = %d, wanted -4294967296\n", `%`, got) 7056 failed = true 7057 } 7058 7059 if got := mod_9223372036854775806_int64_ssa(-1); got != 0 { 7060 fmt.Printf("mod_int64 9223372036854775806%s-1 = %d, wanted 0\n", `%`, got) 7061 failed = true 7062 } 7063 7064 if got := mod_int64_9223372036854775806_ssa(-1); got != -1 { 7065 fmt.Printf("mod_int64 -1%s9223372036854775806 = %d, wanted -1\n", `%`, got) 7066 failed = true 7067 } 7068 7069 if got := mod_int64_9223372036854775806_ssa(0); got != 0 { 7070 fmt.Printf("mod_int64 0%s9223372036854775806 = %d, wanted 0\n", `%`, got) 7071 failed = true 7072 } 7073 7074 if got := mod_9223372036854775806_int64_ssa(1); got != 0 { 7075 fmt.Printf("mod_int64 9223372036854775806%s1 = %d, wanted 0\n", `%`, got) 7076 failed = true 7077 } 7078 7079 if got := mod_int64_9223372036854775806_ssa(1); got != 1 { 7080 fmt.Printf("mod_int64 1%s9223372036854775806 = %d, wanted 1\n", `%`, got) 7081 failed = true 7082 } 7083 7084 if got := mod_9223372036854775806_int64_ssa(4294967296); got != 4294967294 { 7085 fmt.Printf("mod_int64 9223372036854775806%s4294967296 = %d, wanted 4294967294\n", `%`, got) 7086 failed = true 7087 } 7088 7089 if got := mod_int64_9223372036854775806_ssa(4294967296); got != 4294967296 { 7090 fmt.Printf("mod_int64 4294967296%s9223372036854775806 = %d, wanted 4294967296\n", `%`, got) 7091 failed = true 7092 } 7093 7094 if got := mod_9223372036854775806_int64_ssa(9223372036854775806); got != 0 { 7095 fmt.Printf("mod_int64 9223372036854775806%s9223372036854775806 = %d, wanted 0\n", `%`, got) 7096 failed = true 7097 } 7098 7099 if got := mod_int64_9223372036854775806_ssa(9223372036854775806); got != 0 { 7100 fmt.Printf("mod_int64 9223372036854775806%s9223372036854775806 = %d, wanted 0\n", `%`, got) 7101 failed = true 7102 } 7103 7104 if got := mod_9223372036854775806_int64_ssa(9223372036854775807); got != 9223372036854775806 { 7105 fmt.Printf("mod_int64 9223372036854775806%s9223372036854775807 = %d, wanted 9223372036854775806\n", `%`, got) 7106 failed = true 7107 } 7108 7109 if got := mod_int64_9223372036854775806_ssa(9223372036854775807); got != 1 { 7110 fmt.Printf("mod_int64 9223372036854775807%s9223372036854775806 = %d, wanted 1\n", `%`, got) 7111 failed = true 7112 } 7113 7114 if got := mod_9223372036854775807_int64_ssa(-9223372036854775808); got != 9223372036854775807 { 7115 fmt.Printf("mod_int64 9223372036854775807%s-9223372036854775808 = %d, wanted 9223372036854775807\n", `%`, got) 7116 failed = true 7117 } 7118 7119 if got := mod_int64_9223372036854775807_ssa(-9223372036854775808); got != -1 { 7120 fmt.Printf("mod_int64 -9223372036854775808%s9223372036854775807 = %d, wanted -1\n", `%`, got) 7121 failed = true 7122 } 7123 7124 if got := mod_9223372036854775807_int64_ssa(-9223372036854775807); got != 0 { 7125 fmt.Printf("mod_int64 9223372036854775807%s-9223372036854775807 = %d, wanted 0\n", `%`, got) 7126 failed = true 7127 } 7128 7129 if got := mod_int64_9223372036854775807_ssa(-9223372036854775807); got != 0 { 7130 fmt.Printf("mod_int64 -9223372036854775807%s9223372036854775807 = %d, wanted 0\n", `%`, got) 7131 failed = true 7132 } 7133 7134 if got := mod_9223372036854775807_int64_ssa(-4294967296); got != 4294967295 { 7135 fmt.Printf("mod_int64 9223372036854775807%s-4294967296 = %d, wanted 4294967295\n", `%`, got) 7136 failed = true 7137 } 7138 7139 if got := mod_int64_9223372036854775807_ssa(-4294967296); got != -4294967296 { 7140 fmt.Printf("mod_int64 -4294967296%s9223372036854775807 = %d, wanted -4294967296\n", `%`, got) 7141 failed = true 7142 } 7143 7144 if got := mod_9223372036854775807_int64_ssa(-1); got != 0 { 7145 fmt.Printf("mod_int64 9223372036854775807%s-1 = %d, wanted 0\n", `%`, got) 7146 failed = true 7147 } 7148 7149 if got := mod_int64_9223372036854775807_ssa(-1); got != -1 { 7150 fmt.Printf("mod_int64 -1%s9223372036854775807 = %d, wanted -1\n", `%`, got) 7151 failed = true 7152 } 7153 7154 if got := mod_int64_9223372036854775807_ssa(0); got != 0 { 7155 fmt.Printf("mod_int64 0%s9223372036854775807 = %d, wanted 0\n", `%`, got) 7156 failed = true 7157 } 7158 7159 if got := mod_9223372036854775807_int64_ssa(1); got != 0 { 7160 fmt.Printf("mod_int64 9223372036854775807%s1 = %d, wanted 0\n", `%`, got) 7161 failed = true 7162 } 7163 7164 if got := mod_int64_9223372036854775807_ssa(1); got != 1 { 7165 fmt.Printf("mod_int64 1%s9223372036854775807 = %d, wanted 1\n", `%`, got) 7166 failed = true 7167 } 7168 7169 if got := mod_9223372036854775807_int64_ssa(4294967296); got != 4294967295 { 7170 fmt.Printf("mod_int64 9223372036854775807%s4294967296 = %d, wanted 4294967295\n", `%`, got) 7171 failed = true 7172 } 7173 7174 if got := mod_int64_9223372036854775807_ssa(4294967296); got != 4294967296 { 7175 fmt.Printf("mod_int64 4294967296%s9223372036854775807 = %d, wanted 4294967296\n", `%`, got) 7176 failed = true 7177 } 7178 7179 if got := mod_9223372036854775807_int64_ssa(9223372036854775806); got != 1 { 7180 fmt.Printf("mod_int64 9223372036854775807%s9223372036854775806 = %d, wanted 1\n", `%`, got) 7181 failed = true 7182 } 7183 7184 if got := mod_int64_9223372036854775807_ssa(9223372036854775806); got != 9223372036854775806 { 7185 fmt.Printf("mod_int64 9223372036854775806%s9223372036854775807 = %d, wanted 9223372036854775806\n", `%`, got) 7186 failed = true 7187 } 7188 7189 if got := mod_9223372036854775807_int64_ssa(9223372036854775807); got != 0 { 7190 fmt.Printf("mod_int64 9223372036854775807%s9223372036854775807 = %d, wanted 0\n", `%`, got) 7191 failed = true 7192 } 7193 7194 if got := mod_int64_9223372036854775807_ssa(9223372036854775807); got != 0 { 7195 fmt.Printf("mod_int64 9223372036854775807%s9223372036854775807 = %d, wanted 0\n", `%`, got) 7196 failed = true 7197 } 7198 7199 if got := add_0_uint32_ssa(0); got != 0 { 7200 fmt.Printf("add_uint32 0%s0 = %d, wanted 0\n", `+`, got) 7201 failed = true 7202 } 7203 7204 if got := add_uint32_0_ssa(0); got != 0 { 7205 fmt.Printf("add_uint32 0%s0 = %d, wanted 0\n", `+`, got) 7206 failed = true 7207 } 7208 7209 if got := add_0_uint32_ssa(1); got != 1 { 7210 fmt.Printf("add_uint32 0%s1 = %d, wanted 1\n", `+`, got) 7211 failed = true 7212 } 7213 7214 if got := add_uint32_0_ssa(1); got != 1 { 7215 fmt.Printf("add_uint32 1%s0 = %d, wanted 1\n", `+`, got) 7216 failed = true 7217 } 7218 7219 if got := add_0_uint32_ssa(4294967295); got != 4294967295 { 7220 fmt.Printf("add_uint32 0%s4294967295 = %d, wanted 4294967295\n", `+`, got) 7221 failed = true 7222 } 7223 7224 if got := add_uint32_0_ssa(4294967295); got != 4294967295 { 7225 fmt.Printf("add_uint32 4294967295%s0 = %d, wanted 4294967295\n", `+`, got) 7226 failed = true 7227 } 7228 7229 if got := add_1_uint32_ssa(0); got != 1 { 7230 fmt.Printf("add_uint32 1%s0 = %d, wanted 1\n", `+`, got) 7231 failed = true 7232 } 7233 7234 if got := add_uint32_1_ssa(0); got != 1 { 7235 fmt.Printf("add_uint32 0%s1 = %d, wanted 1\n", `+`, got) 7236 failed = true 7237 } 7238 7239 if got := add_1_uint32_ssa(1); got != 2 { 7240 fmt.Printf("add_uint32 1%s1 = %d, wanted 2\n", `+`, got) 7241 failed = true 7242 } 7243 7244 if got := add_uint32_1_ssa(1); got != 2 { 7245 fmt.Printf("add_uint32 1%s1 = %d, wanted 2\n", `+`, got) 7246 failed = true 7247 } 7248 7249 if got := add_1_uint32_ssa(4294967295); got != 0 { 7250 fmt.Printf("add_uint32 1%s4294967295 = %d, wanted 0\n", `+`, got) 7251 failed = true 7252 } 7253 7254 if got := add_uint32_1_ssa(4294967295); got != 0 { 7255 fmt.Printf("add_uint32 4294967295%s1 = %d, wanted 0\n", `+`, got) 7256 failed = true 7257 } 7258 7259 if got := add_4294967295_uint32_ssa(0); got != 4294967295 { 7260 fmt.Printf("add_uint32 4294967295%s0 = %d, wanted 4294967295\n", `+`, got) 7261 failed = true 7262 } 7263 7264 if got := add_uint32_4294967295_ssa(0); got != 4294967295 { 7265 fmt.Printf("add_uint32 0%s4294967295 = %d, wanted 4294967295\n", `+`, got) 7266 failed = true 7267 } 7268 7269 if got := add_4294967295_uint32_ssa(1); got != 0 { 7270 fmt.Printf("add_uint32 4294967295%s1 = %d, wanted 0\n", `+`, got) 7271 failed = true 7272 } 7273 7274 if got := add_uint32_4294967295_ssa(1); got != 0 { 7275 fmt.Printf("add_uint32 1%s4294967295 = %d, wanted 0\n", `+`, got) 7276 failed = true 7277 } 7278 7279 if got := add_4294967295_uint32_ssa(4294967295); got != 4294967294 { 7280 fmt.Printf("add_uint32 4294967295%s4294967295 = %d, wanted 4294967294\n", `+`, got) 7281 failed = true 7282 } 7283 7284 if got := add_uint32_4294967295_ssa(4294967295); got != 4294967294 { 7285 fmt.Printf("add_uint32 4294967295%s4294967295 = %d, wanted 4294967294\n", `+`, got) 7286 failed = true 7287 } 7288 7289 if got := sub_0_uint32_ssa(0); got != 0 { 7290 fmt.Printf("sub_uint32 0%s0 = %d, wanted 0\n", `-`, got) 7291 failed = true 7292 } 7293 7294 if got := sub_uint32_0_ssa(0); got != 0 { 7295 fmt.Printf("sub_uint32 0%s0 = %d, wanted 0\n", `-`, got) 7296 failed = true 7297 } 7298 7299 if got := sub_0_uint32_ssa(1); got != 4294967295 { 7300 fmt.Printf("sub_uint32 0%s1 = %d, wanted 4294967295\n", `-`, got) 7301 failed = true 7302 } 7303 7304 if got := sub_uint32_0_ssa(1); got != 1 { 7305 fmt.Printf("sub_uint32 1%s0 = %d, wanted 1\n", `-`, got) 7306 failed = true 7307 } 7308 7309 if got := sub_0_uint32_ssa(4294967295); got != 1 { 7310 fmt.Printf("sub_uint32 0%s4294967295 = %d, wanted 1\n", `-`, got) 7311 failed = true 7312 } 7313 7314 if got := sub_uint32_0_ssa(4294967295); got != 4294967295 { 7315 fmt.Printf("sub_uint32 4294967295%s0 = %d, wanted 4294967295\n", `-`, got) 7316 failed = true 7317 } 7318 7319 if got := sub_1_uint32_ssa(0); got != 1 { 7320 fmt.Printf("sub_uint32 1%s0 = %d, wanted 1\n", `-`, got) 7321 failed = true 7322 } 7323 7324 if got := sub_uint32_1_ssa(0); got != 4294967295 { 7325 fmt.Printf("sub_uint32 0%s1 = %d, wanted 4294967295\n", `-`, got) 7326 failed = true 7327 } 7328 7329 if got := sub_1_uint32_ssa(1); got != 0 { 7330 fmt.Printf("sub_uint32 1%s1 = %d, wanted 0\n", `-`, got) 7331 failed = true 7332 } 7333 7334 if got := sub_uint32_1_ssa(1); got != 0 { 7335 fmt.Printf("sub_uint32 1%s1 = %d, wanted 0\n", `-`, got) 7336 failed = true 7337 } 7338 7339 if got := sub_1_uint32_ssa(4294967295); got != 2 { 7340 fmt.Printf("sub_uint32 1%s4294967295 = %d, wanted 2\n", `-`, got) 7341 failed = true 7342 } 7343 7344 if got := sub_uint32_1_ssa(4294967295); got != 4294967294 { 7345 fmt.Printf("sub_uint32 4294967295%s1 = %d, wanted 4294967294\n", `-`, got) 7346 failed = true 7347 } 7348 7349 if got := sub_4294967295_uint32_ssa(0); got != 4294967295 { 7350 fmt.Printf("sub_uint32 4294967295%s0 = %d, wanted 4294967295\n", `-`, got) 7351 failed = true 7352 } 7353 7354 if got := sub_uint32_4294967295_ssa(0); got != 1 { 7355 fmt.Printf("sub_uint32 0%s4294967295 = %d, wanted 1\n", `-`, got) 7356 failed = true 7357 } 7358 7359 if got := sub_4294967295_uint32_ssa(1); got != 4294967294 { 7360 fmt.Printf("sub_uint32 4294967295%s1 = %d, wanted 4294967294\n", `-`, got) 7361 failed = true 7362 } 7363 7364 if got := sub_uint32_4294967295_ssa(1); got != 2 { 7365 fmt.Printf("sub_uint32 1%s4294967295 = %d, wanted 2\n", `-`, got) 7366 failed = true 7367 } 7368 7369 if got := sub_4294967295_uint32_ssa(4294967295); got != 0 { 7370 fmt.Printf("sub_uint32 4294967295%s4294967295 = %d, wanted 0\n", `-`, got) 7371 failed = true 7372 } 7373 7374 if got := sub_uint32_4294967295_ssa(4294967295); got != 0 { 7375 fmt.Printf("sub_uint32 4294967295%s4294967295 = %d, wanted 0\n", `-`, got) 7376 failed = true 7377 } 7378 7379 if got := div_0_uint32_ssa(1); got != 0 { 7380 fmt.Printf("div_uint32 0%s1 = %d, wanted 0\n", `/`, got) 7381 failed = true 7382 } 7383 7384 if got := div_0_uint32_ssa(4294967295); got != 0 { 7385 fmt.Printf("div_uint32 0%s4294967295 = %d, wanted 0\n", `/`, got) 7386 failed = true 7387 } 7388 7389 if got := div_uint32_1_ssa(0); got != 0 { 7390 fmt.Printf("div_uint32 0%s1 = %d, wanted 0\n", `/`, got) 7391 failed = true 7392 } 7393 7394 if got := div_1_uint32_ssa(1); got != 1 { 7395 fmt.Printf("div_uint32 1%s1 = %d, wanted 1\n", `/`, got) 7396 failed = true 7397 } 7398 7399 if got := div_uint32_1_ssa(1); got != 1 { 7400 fmt.Printf("div_uint32 1%s1 = %d, wanted 1\n", `/`, got) 7401 failed = true 7402 } 7403 7404 if got := div_1_uint32_ssa(4294967295); got != 0 { 7405 fmt.Printf("div_uint32 1%s4294967295 = %d, wanted 0\n", `/`, got) 7406 failed = true 7407 } 7408 7409 if got := div_uint32_1_ssa(4294967295); got != 4294967295 { 7410 fmt.Printf("div_uint32 4294967295%s1 = %d, wanted 4294967295\n", `/`, got) 7411 failed = true 7412 } 7413 7414 if got := div_uint32_4294967295_ssa(0); got != 0 { 7415 fmt.Printf("div_uint32 0%s4294967295 = %d, wanted 0\n", `/`, got) 7416 failed = true 7417 } 7418 7419 if got := div_4294967295_uint32_ssa(1); got != 4294967295 { 7420 fmt.Printf("div_uint32 4294967295%s1 = %d, wanted 4294967295\n", `/`, got) 7421 failed = true 7422 } 7423 7424 if got := div_uint32_4294967295_ssa(1); got != 0 { 7425 fmt.Printf("div_uint32 1%s4294967295 = %d, wanted 0\n", `/`, got) 7426 failed = true 7427 } 7428 7429 if got := div_4294967295_uint32_ssa(4294967295); got != 1 { 7430 fmt.Printf("div_uint32 4294967295%s4294967295 = %d, wanted 1\n", `/`, got) 7431 failed = true 7432 } 7433 7434 if got := div_uint32_4294967295_ssa(4294967295); got != 1 { 7435 fmt.Printf("div_uint32 4294967295%s4294967295 = %d, wanted 1\n", `/`, got) 7436 failed = true 7437 } 7438 7439 if got := mul_0_uint32_ssa(0); got != 0 { 7440 fmt.Printf("mul_uint32 0%s0 = %d, wanted 0\n", `*`, got) 7441 failed = true 7442 } 7443 7444 if got := mul_uint32_0_ssa(0); got != 0 { 7445 fmt.Printf("mul_uint32 0%s0 = %d, wanted 0\n", `*`, got) 7446 failed = true 7447 } 7448 7449 if got := mul_0_uint32_ssa(1); got != 0 { 7450 fmt.Printf("mul_uint32 0%s1 = %d, wanted 0\n", `*`, got) 7451 failed = true 7452 } 7453 7454 if got := mul_uint32_0_ssa(1); got != 0 { 7455 fmt.Printf("mul_uint32 1%s0 = %d, wanted 0\n", `*`, got) 7456 failed = true 7457 } 7458 7459 if got := mul_0_uint32_ssa(4294967295); got != 0 { 7460 fmt.Printf("mul_uint32 0%s4294967295 = %d, wanted 0\n", `*`, got) 7461 failed = true 7462 } 7463 7464 if got := mul_uint32_0_ssa(4294967295); got != 0 { 7465 fmt.Printf("mul_uint32 4294967295%s0 = %d, wanted 0\n", `*`, got) 7466 failed = true 7467 } 7468 7469 if got := mul_1_uint32_ssa(0); got != 0 { 7470 fmt.Printf("mul_uint32 1%s0 = %d, wanted 0\n", `*`, got) 7471 failed = true 7472 } 7473 7474 if got := mul_uint32_1_ssa(0); got != 0 { 7475 fmt.Printf("mul_uint32 0%s1 = %d, wanted 0\n", `*`, got) 7476 failed = true 7477 } 7478 7479 if got := mul_1_uint32_ssa(1); got != 1 { 7480 fmt.Printf("mul_uint32 1%s1 = %d, wanted 1\n", `*`, got) 7481 failed = true 7482 } 7483 7484 if got := mul_uint32_1_ssa(1); got != 1 { 7485 fmt.Printf("mul_uint32 1%s1 = %d, wanted 1\n", `*`, got) 7486 failed = true 7487 } 7488 7489 if got := mul_1_uint32_ssa(4294967295); got != 4294967295 { 7490 fmt.Printf("mul_uint32 1%s4294967295 = %d, wanted 4294967295\n", `*`, got) 7491 failed = true 7492 } 7493 7494 if got := mul_uint32_1_ssa(4294967295); got != 4294967295 { 7495 fmt.Printf("mul_uint32 4294967295%s1 = %d, wanted 4294967295\n", `*`, got) 7496 failed = true 7497 } 7498 7499 if got := mul_4294967295_uint32_ssa(0); got != 0 { 7500 fmt.Printf("mul_uint32 4294967295%s0 = %d, wanted 0\n", `*`, got) 7501 failed = true 7502 } 7503 7504 if got := mul_uint32_4294967295_ssa(0); got != 0 { 7505 fmt.Printf("mul_uint32 0%s4294967295 = %d, wanted 0\n", `*`, got) 7506 failed = true 7507 } 7508 7509 if got := mul_4294967295_uint32_ssa(1); got != 4294967295 { 7510 fmt.Printf("mul_uint32 4294967295%s1 = %d, wanted 4294967295\n", `*`, got) 7511 failed = true 7512 } 7513 7514 if got := mul_uint32_4294967295_ssa(1); got != 4294967295 { 7515 fmt.Printf("mul_uint32 1%s4294967295 = %d, wanted 4294967295\n", `*`, got) 7516 failed = true 7517 } 7518 7519 if got := mul_4294967295_uint32_ssa(4294967295); got != 1 { 7520 fmt.Printf("mul_uint32 4294967295%s4294967295 = %d, wanted 1\n", `*`, got) 7521 failed = true 7522 } 7523 7524 if got := mul_uint32_4294967295_ssa(4294967295); got != 1 { 7525 fmt.Printf("mul_uint32 4294967295%s4294967295 = %d, wanted 1\n", `*`, got) 7526 failed = true 7527 } 7528 7529 if got := lsh_0_uint32_ssa(0); got != 0 { 7530 fmt.Printf("lsh_uint32 0%s0 = %d, wanted 0\n", `<<`, got) 7531 failed = true 7532 } 7533 7534 if got := lsh_uint32_0_ssa(0); got != 0 { 7535 fmt.Printf("lsh_uint32 0%s0 = %d, wanted 0\n", `<<`, got) 7536 failed = true 7537 } 7538 7539 if got := lsh_0_uint32_ssa(1); got != 0 { 7540 fmt.Printf("lsh_uint32 0%s1 = %d, wanted 0\n", `<<`, got) 7541 failed = true 7542 } 7543 7544 if got := lsh_uint32_0_ssa(1); got != 1 { 7545 fmt.Printf("lsh_uint32 1%s0 = %d, wanted 1\n", `<<`, got) 7546 failed = true 7547 } 7548 7549 if got := lsh_0_uint32_ssa(4294967295); got != 0 { 7550 fmt.Printf("lsh_uint32 0%s4294967295 = %d, wanted 0\n", `<<`, got) 7551 failed = true 7552 } 7553 7554 if got := lsh_uint32_0_ssa(4294967295); got != 4294967295 { 7555 fmt.Printf("lsh_uint32 4294967295%s0 = %d, wanted 4294967295\n", `<<`, got) 7556 failed = true 7557 } 7558 7559 if got := lsh_1_uint32_ssa(0); got != 1 { 7560 fmt.Printf("lsh_uint32 1%s0 = %d, wanted 1\n", `<<`, got) 7561 failed = true 7562 } 7563 7564 if got := lsh_uint32_1_ssa(0); got != 0 { 7565 fmt.Printf("lsh_uint32 0%s1 = %d, wanted 0\n", `<<`, got) 7566 failed = true 7567 } 7568 7569 if got := lsh_1_uint32_ssa(1); got != 2 { 7570 fmt.Printf("lsh_uint32 1%s1 = %d, wanted 2\n", `<<`, got) 7571 failed = true 7572 } 7573 7574 if got := lsh_uint32_1_ssa(1); got != 2 { 7575 fmt.Printf("lsh_uint32 1%s1 = %d, wanted 2\n", `<<`, got) 7576 failed = true 7577 } 7578 7579 if got := lsh_1_uint32_ssa(4294967295); got != 0 { 7580 fmt.Printf("lsh_uint32 1%s4294967295 = %d, wanted 0\n", `<<`, got) 7581 failed = true 7582 } 7583 7584 if got := lsh_uint32_1_ssa(4294967295); got != 4294967294 { 7585 fmt.Printf("lsh_uint32 4294967295%s1 = %d, wanted 4294967294\n", `<<`, got) 7586 failed = true 7587 } 7588 7589 if got := lsh_4294967295_uint32_ssa(0); got != 4294967295 { 7590 fmt.Printf("lsh_uint32 4294967295%s0 = %d, wanted 4294967295\n", `<<`, got) 7591 failed = true 7592 } 7593 7594 if got := lsh_uint32_4294967295_ssa(0); got != 0 { 7595 fmt.Printf("lsh_uint32 0%s4294967295 = %d, wanted 0\n", `<<`, got) 7596 failed = true 7597 } 7598 7599 if got := lsh_4294967295_uint32_ssa(1); got != 4294967294 { 7600 fmt.Printf("lsh_uint32 4294967295%s1 = %d, wanted 4294967294\n", `<<`, got) 7601 failed = true 7602 } 7603 7604 if got := lsh_uint32_4294967295_ssa(1); got != 0 { 7605 fmt.Printf("lsh_uint32 1%s4294967295 = %d, wanted 0\n", `<<`, got) 7606 failed = true 7607 } 7608 7609 if got := lsh_4294967295_uint32_ssa(4294967295); got != 0 { 7610 fmt.Printf("lsh_uint32 4294967295%s4294967295 = %d, wanted 0\n", `<<`, got) 7611 failed = true 7612 } 7613 7614 if got := lsh_uint32_4294967295_ssa(4294967295); got != 0 { 7615 fmt.Printf("lsh_uint32 4294967295%s4294967295 = %d, wanted 0\n", `<<`, got) 7616 failed = true 7617 } 7618 7619 if got := rsh_0_uint32_ssa(0); got != 0 { 7620 fmt.Printf("rsh_uint32 0%s0 = %d, wanted 0\n", `>>`, got) 7621 failed = true 7622 } 7623 7624 if got := rsh_uint32_0_ssa(0); got != 0 { 7625 fmt.Printf("rsh_uint32 0%s0 = %d, wanted 0\n", `>>`, got) 7626 failed = true 7627 } 7628 7629 if got := rsh_0_uint32_ssa(1); got != 0 { 7630 fmt.Printf("rsh_uint32 0%s1 = %d, wanted 0\n", `>>`, got) 7631 failed = true 7632 } 7633 7634 if got := rsh_uint32_0_ssa(1); got != 1 { 7635 fmt.Printf("rsh_uint32 1%s0 = %d, wanted 1\n", `>>`, got) 7636 failed = true 7637 } 7638 7639 if got := rsh_0_uint32_ssa(4294967295); got != 0 { 7640 fmt.Printf("rsh_uint32 0%s4294967295 = %d, wanted 0\n", `>>`, got) 7641 failed = true 7642 } 7643 7644 if got := rsh_uint32_0_ssa(4294967295); got != 4294967295 { 7645 fmt.Printf("rsh_uint32 4294967295%s0 = %d, wanted 4294967295\n", `>>`, got) 7646 failed = true 7647 } 7648 7649 if got := rsh_1_uint32_ssa(0); got != 1 { 7650 fmt.Printf("rsh_uint32 1%s0 = %d, wanted 1\n", `>>`, got) 7651 failed = true 7652 } 7653 7654 if got := rsh_uint32_1_ssa(0); got != 0 { 7655 fmt.Printf("rsh_uint32 0%s1 = %d, wanted 0\n", `>>`, got) 7656 failed = true 7657 } 7658 7659 if got := rsh_1_uint32_ssa(1); got != 0 { 7660 fmt.Printf("rsh_uint32 1%s1 = %d, wanted 0\n", `>>`, got) 7661 failed = true 7662 } 7663 7664 if got := rsh_uint32_1_ssa(1); got != 0 { 7665 fmt.Printf("rsh_uint32 1%s1 = %d, wanted 0\n", `>>`, got) 7666 failed = true 7667 } 7668 7669 if got := rsh_1_uint32_ssa(4294967295); got != 0 { 7670 fmt.Printf("rsh_uint32 1%s4294967295 = %d, wanted 0\n", `>>`, got) 7671 failed = true 7672 } 7673 7674 if got := rsh_uint32_1_ssa(4294967295); got != 2147483647 { 7675 fmt.Printf("rsh_uint32 4294967295%s1 = %d, wanted 2147483647\n", `>>`, got) 7676 failed = true 7677 } 7678 7679 if got := rsh_4294967295_uint32_ssa(0); got != 4294967295 { 7680 fmt.Printf("rsh_uint32 4294967295%s0 = %d, wanted 4294967295\n", `>>`, got) 7681 failed = true 7682 } 7683 7684 if got := rsh_uint32_4294967295_ssa(0); got != 0 { 7685 fmt.Printf("rsh_uint32 0%s4294967295 = %d, wanted 0\n", `>>`, got) 7686 failed = true 7687 } 7688 7689 if got := rsh_4294967295_uint32_ssa(1); got != 2147483647 { 7690 fmt.Printf("rsh_uint32 4294967295%s1 = %d, wanted 2147483647\n", `>>`, got) 7691 failed = true 7692 } 7693 7694 if got := rsh_uint32_4294967295_ssa(1); got != 0 { 7695 fmt.Printf("rsh_uint32 1%s4294967295 = %d, wanted 0\n", `>>`, got) 7696 failed = true 7697 } 7698 7699 if got := rsh_4294967295_uint32_ssa(4294967295); got != 0 { 7700 fmt.Printf("rsh_uint32 4294967295%s4294967295 = %d, wanted 0\n", `>>`, got) 7701 failed = true 7702 } 7703 7704 if got := rsh_uint32_4294967295_ssa(4294967295); got != 0 { 7705 fmt.Printf("rsh_uint32 4294967295%s4294967295 = %d, wanted 0\n", `>>`, got) 7706 failed = true 7707 } 7708 7709 if got := mod_0_uint32_ssa(1); got != 0 { 7710 fmt.Printf("mod_uint32 0%s1 = %d, wanted 0\n", `%`, got) 7711 failed = true 7712 } 7713 7714 if got := mod_0_uint32_ssa(4294967295); got != 0 { 7715 fmt.Printf("mod_uint32 0%s4294967295 = %d, wanted 0\n", `%`, got) 7716 failed = true 7717 } 7718 7719 if got := mod_uint32_1_ssa(0); got != 0 { 7720 fmt.Printf("mod_uint32 0%s1 = %d, wanted 0\n", `%`, got) 7721 failed = true 7722 } 7723 7724 if got := mod_1_uint32_ssa(1); got != 0 { 7725 fmt.Printf("mod_uint32 1%s1 = %d, wanted 0\n", `%`, got) 7726 failed = true 7727 } 7728 7729 if got := mod_uint32_1_ssa(1); got != 0 { 7730 fmt.Printf("mod_uint32 1%s1 = %d, wanted 0\n", `%`, got) 7731 failed = true 7732 } 7733 7734 if got := mod_1_uint32_ssa(4294967295); got != 1 { 7735 fmt.Printf("mod_uint32 1%s4294967295 = %d, wanted 1\n", `%`, got) 7736 failed = true 7737 } 7738 7739 if got := mod_uint32_1_ssa(4294967295); got != 0 { 7740 fmt.Printf("mod_uint32 4294967295%s1 = %d, wanted 0\n", `%`, got) 7741 failed = true 7742 } 7743 7744 if got := mod_uint32_4294967295_ssa(0); got != 0 { 7745 fmt.Printf("mod_uint32 0%s4294967295 = %d, wanted 0\n", `%`, got) 7746 failed = true 7747 } 7748 7749 if got := mod_4294967295_uint32_ssa(1); got != 0 { 7750 fmt.Printf("mod_uint32 4294967295%s1 = %d, wanted 0\n", `%`, got) 7751 failed = true 7752 } 7753 7754 if got := mod_uint32_4294967295_ssa(1); got != 1 { 7755 fmt.Printf("mod_uint32 1%s4294967295 = %d, wanted 1\n", `%`, got) 7756 failed = true 7757 } 7758 7759 if got := mod_4294967295_uint32_ssa(4294967295); got != 0 { 7760 fmt.Printf("mod_uint32 4294967295%s4294967295 = %d, wanted 0\n", `%`, got) 7761 failed = true 7762 } 7763 7764 if got := mod_uint32_4294967295_ssa(4294967295); got != 0 { 7765 fmt.Printf("mod_uint32 4294967295%s4294967295 = %d, wanted 0\n", `%`, got) 7766 failed = true 7767 } 7768 7769 if got := add_Neg2147483648_int32_ssa(-2147483648); got != 0 { 7770 fmt.Printf("add_int32 -2147483648%s-2147483648 = %d, wanted 0\n", `+`, got) 7771 failed = true 7772 } 7773 7774 if got := add_int32_Neg2147483648_ssa(-2147483648); got != 0 { 7775 fmt.Printf("add_int32 -2147483648%s-2147483648 = %d, wanted 0\n", `+`, got) 7776 failed = true 7777 } 7778 7779 if got := add_Neg2147483648_int32_ssa(-2147483647); got != 1 { 7780 fmt.Printf("add_int32 -2147483648%s-2147483647 = %d, wanted 1\n", `+`, got) 7781 failed = true 7782 } 7783 7784 if got := add_int32_Neg2147483648_ssa(-2147483647); got != 1 { 7785 fmt.Printf("add_int32 -2147483647%s-2147483648 = %d, wanted 1\n", `+`, got) 7786 failed = true 7787 } 7788 7789 if got := add_Neg2147483648_int32_ssa(-1); got != 2147483647 { 7790 fmt.Printf("add_int32 -2147483648%s-1 = %d, wanted 2147483647\n", `+`, got) 7791 failed = true 7792 } 7793 7794 if got := add_int32_Neg2147483648_ssa(-1); got != 2147483647 { 7795 fmt.Printf("add_int32 -1%s-2147483648 = %d, wanted 2147483647\n", `+`, got) 7796 failed = true 7797 } 7798 7799 if got := add_Neg2147483648_int32_ssa(0); got != -2147483648 { 7800 fmt.Printf("add_int32 -2147483648%s0 = %d, wanted -2147483648\n", `+`, got) 7801 failed = true 7802 } 7803 7804 if got := add_int32_Neg2147483648_ssa(0); got != -2147483648 { 7805 fmt.Printf("add_int32 0%s-2147483648 = %d, wanted -2147483648\n", `+`, got) 7806 failed = true 7807 } 7808 7809 if got := add_Neg2147483648_int32_ssa(1); got != -2147483647 { 7810 fmt.Printf("add_int32 -2147483648%s1 = %d, wanted -2147483647\n", `+`, got) 7811 failed = true 7812 } 7813 7814 if got := add_int32_Neg2147483648_ssa(1); got != -2147483647 { 7815 fmt.Printf("add_int32 1%s-2147483648 = %d, wanted -2147483647\n", `+`, got) 7816 failed = true 7817 } 7818 7819 if got := add_Neg2147483648_int32_ssa(2147483647); got != -1 { 7820 fmt.Printf("add_int32 -2147483648%s2147483647 = %d, wanted -1\n", `+`, got) 7821 failed = true 7822 } 7823 7824 if got := add_int32_Neg2147483648_ssa(2147483647); got != -1 { 7825 fmt.Printf("add_int32 2147483647%s-2147483648 = %d, wanted -1\n", `+`, got) 7826 failed = true 7827 } 7828 7829 if got := add_Neg2147483647_int32_ssa(-2147483648); got != 1 { 7830 fmt.Printf("add_int32 -2147483647%s-2147483648 = %d, wanted 1\n", `+`, got) 7831 failed = true 7832 } 7833 7834 if got := add_int32_Neg2147483647_ssa(-2147483648); got != 1 { 7835 fmt.Printf("add_int32 -2147483648%s-2147483647 = %d, wanted 1\n", `+`, got) 7836 failed = true 7837 } 7838 7839 if got := add_Neg2147483647_int32_ssa(-2147483647); got != 2 { 7840 fmt.Printf("add_int32 -2147483647%s-2147483647 = %d, wanted 2\n", `+`, got) 7841 failed = true 7842 } 7843 7844 if got := add_int32_Neg2147483647_ssa(-2147483647); got != 2 { 7845 fmt.Printf("add_int32 -2147483647%s-2147483647 = %d, wanted 2\n", `+`, got) 7846 failed = true 7847 } 7848 7849 if got := add_Neg2147483647_int32_ssa(-1); got != -2147483648 { 7850 fmt.Printf("add_int32 -2147483647%s-1 = %d, wanted -2147483648\n", `+`, got) 7851 failed = true 7852 } 7853 7854 if got := add_int32_Neg2147483647_ssa(-1); got != -2147483648 { 7855 fmt.Printf("add_int32 -1%s-2147483647 = %d, wanted -2147483648\n", `+`, got) 7856 failed = true 7857 } 7858 7859 if got := add_Neg2147483647_int32_ssa(0); got != -2147483647 { 7860 fmt.Printf("add_int32 -2147483647%s0 = %d, wanted -2147483647\n", `+`, got) 7861 failed = true 7862 } 7863 7864 if got := add_int32_Neg2147483647_ssa(0); got != -2147483647 { 7865 fmt.Printf("add_int32 0%s-2147483647 = %d, wanted -2147483647\n", `+`, got) 7866 failed = true 7867 } 7868 7869 if got := add_Neg2147483647_int32_ssa(1); got != -2147483646 { 7870 fmt.Printf("add_int32 -2147483647%s1 = %d, wanted -2147483646\n", `+`, got) 7871 failed = true 7872 } 7873 7874 if got := add_int32_Neg2147483647_ssa(1); got != -2147483646 { 7875 fmt.Printf("add_int32 1%s-2147483647 = %d, wanted -2147483646\n", `+`, got) 7876 failed = true 7877 } 7878 7879 if got := add_Neg2147483647_int32_ssa(2147483647); got != 0 { 7880 fmt.Printf("add_int32 -2147483647%s2147483647 = %d, wanted 0\n", `+`, got) 7881 failed = true 7882 } 7883 7884 if got := add_int32_Neg2147483647_ssa(2147483647); got != 0 { 7885 fmt.Printf("add_int32 2147483647%s-2147483647 = %d, wanted 0\n", `+`, got) 7886 failed = true 7887 } 7888 7889 if got := add_Neg1_int32_ssa(-2147483648); got != 2147483647 { 7890 fmt.Printf("add_int32 -1%s-2147483648 = %d, wanted 2147483647\n", `+`, got) 7891 failed = true 7892 } 7893 7894 if got := add_int32_Neg1_ssa(-2147483648); got != 2147483647 { 7895 fmt.Printf("add_int32 -2147483648%s-1 = %d, wanted 2147483647\n", `+`, got) 7896 failed = true 7897 } 7898 7899 if got := add_Neg1_int32_ssa(-2147483647); got != -2147483648 { 7900 fmt.Printf("add_int32 -1%s-2147483647 = %d, wanted -2147483648\n", `+`, got) 7901 failed = true 7902 } 7903 7904 if got := add_int32_Neg1_ssa(-2147483647); got != -2147483648 { 7905 fmt.Printf("add_int32 -2147483647%s-1 = %d, wanted -2147483648\n", `+`, got) 7906 failed = true 7907 } 7908 7909 if got := add_Neg1_int32_ssa(-1); got != -2 { 7910 fmt.Printf("add_int32 -1%s-1 = %d, wanted -2\n", `+`, got) 7911 failed = true 7912 } 7913 7914 if got := add_int32_Neg1_ssa(-1); got != -2 { 7915 fmt.Printf("add_int32 -1%s-1 = %d, wanted -2\n", `+`, got) 7916 failed = true 7917 } 7918 7919 if got := add_Neg1_int32_ssa(0); got != -1 { 7920 fmt.Printf("add_int32 -1%s0 = %d, wanted -1\n", `+`, got) 7921 failed = true 7922 } 7923 7924 if got := add_int32_Neg1_ssa(0); got != -1 { 7925 fmt.Printf("add_int32 0%s-1 = %d, wanted -1\n", `+`, got) 7926 failed = true 7927 } 7928 7929 if got := add_Neg1_int32_ssa(1); got != 0 { 7930 fmt.Printf("add_int32 -1%s1 = %d, wanted 0\n", `+`, got) 7931 failed = true 7932 } 7933 7934 if got := add_int32_Neg1_ssa(1); got != 0 { 7935 fmt.Printf("add_int32 1%s-1 = %d, wanted 0\n", `+`, got) 7936 failed = true 7937 } 7938 7939 if got := add_Neg1_int32_ssa(2147483647); got != 2147483646 { 7940 fmt.Printf("add_int32 -1%s2147483647 = %d, wanted 2147483646\n", `+`, got) 7941 failed = true 7942 } 7943 7944 if got := add_int32_Neg1_ssa(2147483647); got != 2147483646 { 7945 fmt.Printf("add_int32 2147483647%s-1 = %d, wanted 2147483646\n", `+`, got) 7946 failed = true 7947 } 7948 7949 if got := add_0_int32_ssa(-2147483648); got != -2147483648 { 7950 fmt.Printf("add_int32 0%s-2147483648 = %d, wanted -2147483648\n", `+`, got) 7951 failed = true 7952 } 7953 7954 if got := add_int32_0_ssa(-2147483648); got != -2147483648 { 7955 fmt.Printf("add_int32 -2147483648%s0 = %d, wanted -2147483648\n", `+`, got) 7956 failed = true 7957 } 7958 7959 if got := add_0_int32_ssa(-2147483647); got != -2147483647 { 7960 fmt.Printf("add_int32 0%s-2147483647 = %d, wanted -2147483647\n", `+`, got) 7961 failed = true 7962 } 7963 7964 if got := add_int32_0_ssa(-2147483647); got != -2147483647 { 7965 fmt.Printf("add_int32 -2147483647%s0 = %d, wanted -2147483647\n", `+`, got) 7966 failed = true 7967 } 7968 7969 if got := add_0_int32_ssa(-1); got != -1 { 7970 fmt.Printf("add_int32 0%s-1 = %d, wanted -1\n", `+`, got) 7971 failed = true 7972 } 7973 7974 if got := add_int32_0_ssa(-1); got != -1 { 7975 fmt.Printf("add_int32 -1%s0 = %d, wanted -1\n", `+`, got) 7976 failed = true 7977 } 7978 7979 if got := add_0_int32_ssa(0); got != 0 { 7980 fmt.Printf("add_int32 0%s0 = %d, wanted 0\n", `+`, got) 7981 failed = true 7982 } 7983 7984 if got := add_int32_0_ssa(0); got != 0 { 7985 fmt.Printf("add_int32 0%s0 = %d, wanted 0\n", `+`, got) 7986 failed = true 7987 } 7988 7989 if got := add_0_int32_ssa(1); got != 1 { 7990 fmt.Printf("add_int32 0%s1 = %d, wanted 1\n", `+`, got) 7991 failed = true 7992 } 7993 7994 if got := add_int32_0_ssa(1); got != 1 { 7995 fmt.Printf("add_int32 1%s0 = %d, wanted 1\n", `+`, got) 7996 failed = true 7997 } 7998 7999 if got := add_0_int32_ssa(2147483647); got != 2147483647 { 8000 fmt.Printf("add_int32 0%s2147483647 = %d, wanted 2147483647\n", `+`, got) 8001 failed = true 8002 } 8003 8004 if got := add_int32_0_ssa(2147483647); got != 2147483647 { 8005 fmt.Printf("add_int32 2147483647%s0 = %d, wanted 2147483647\n", `+`, got) 8006 failed = true 8007 } 8008 8009 if got := add_1_int32_ssa(-2147483648); got != -2147483647 { 8010 fmt.Printf("add_int32 1%s-2147483648 = %d, wanted -2147483647\n", `+`, got) 8011 failed = true 8012 } 8013 8014 if got := add_int32_1_ssa(-2147483648); got != -2147483647 { 8015 fmt.Printf("add_int32 -2147483648%s1 = %d, wanted -2147483647\n", `+`, got) 8016 failed = true 8017 } 8018 8019 if got := add_1_int32_ssa(-2147483647); got != -2147483646 { 8020 fmt.Printf("add_int32 1%s-2147483647 = %d, wanted -2147483646\n", `+`, got) 8021 failed = true 8022 } 8023 8024 if got := add_int32_1_ssa(-2147483647); got != -2147483646 { 8025 fmt.Printf("add_int32 -2147483647%s1 = %d, wanted -2147483646\n", `+`, got) 8026 failed = true 8027 } 8028 8029 if got := add_1_int32_ssa(-1); got != 0 { 8030 fmt.Printf("add_int32 1%s-1 = %d, wanted 0\n", `+`, got) 8031 failed = true 8032 } 8033 8034 if got := add_int32_1_ssa(-1); got != 0 { 8035 fmt.Printf("add_int32 -1%s1 = %d, wanted 0\n", `+`, got) 8036 failed = true 8037 } 8038 8039 if got := add_1_int32_ssa(0); got != 1 { 8040 fmt.Printf("add_int32 1%s0 = %d, wanted 1\n", `+`, got) 8041 failed = true 8042 } 8043 8044 if got := add_int32_1_ssa(0); got != 1 { 8045 fmt.Printf("add_int32 0%s1 = %d, wanted 1\n", `+`, got) 8046 failed = true 8047 } 8048 8049 if got := add_1_int32_ssa(1); got != 2 { 8050 fmt.Printf("add_int32 1%s1 = %d, wanted 2\n", `+`, got) 8051 failed = true 8052 } 8053 8054 if got := add_int32_1_ssa(1); got != 2 { 8055 fmt.Printf("add_int32 1%s1 = %d, wanted 2\n", `+`, got) 8056 failed = true 8057 } 8058 8059 if got := add_1_int32_ssa(2147483647); got != -2147483648 { 8060 fmt.Printf("add_int32 1%s2147483647 = %d, wanted -2147483648\n", `+`, got) 8061 failed = true 8062 } 8063 8064 if got := add_int32_1_ssa(2147483647); got != -2147483648 { 8065 fmt.Printf("add_int32 2147483647%s1 = %d, wanted -2147483648\n", `+`, got) 8066 failed = true 8067 } 8068 8069 if got := add_2147483647_int32_ssa(-2147483648); got != -1 { 8070 fmt.Printf("add_int32 2147483647%s-2147483648 = %d, wanted -1\n", `+`, got) 8071 failed = true 8072 } 8073 8074 if got := add_int32_2147483647_ssa(-2147483648); got != -1 { 8075 fmt.Printf("add_int32 -2147483648%s2147483647 = %d, wanted -1\n", `+`, got) 8076 failed = true 8077 } 8078 8079 if got := add_2147483647_int32_ssa(-2147483647); got != 0 { 8080 fmt.Printf("add_int32 2147483647%s-2147483647 = %d, wanted 0\n", `+`, got) 8081 failed = true 8082 } 8083 8084 if got := add_int32_2147483647_ssa(-2147483647); got != 0 { 8085 fmt.Printf("add_int32 -2147483647%s2147483647 = %d, wanted 0\n", `+`, got) 8086 failed = true 8087 } 8088 8089 if got := add_2147483647_int32_ssa(-1); got != 2147483646 { 8090 fmt.Printf("add_int32 2147483647%s-1 = %d, wanted 2147483646\n", `+`, got) 8091 failed = true 8092 } 8093 8094 if got := add_int32_2147483647_ssa(-1); got != 2147483646 { 8095 fmt.Printf("add_int32 -1%s2147483647 = %d, wanted 2147483646\n", `+`, got) 8096 failed = true 8097 } 8098 8099 if got := add_2147483647_int32_ssa(0); got != 2147483647 { 8100 fmt.Printf("add_int32 2147483647%s0 = %d, wanted 2147483647\n", `+`, got) 8101 failed = true 8102 } 8103 8104 if got := add_int32_2147483647_ssa(0); got != 2147483647 { 8105 fmt.Printf("add_int32 0%s2147483647 = %d, wanted 2147483647\n", `+`, got) 8106 failed = true 8107 } 8108 8109 if got := add_2147483647_int32_ssa(1); got != -2147483648 { 8110 fmt.Printf("add_int32 2147483647%s1 = %d, wanted -2147483648\n", `+`, got) 8111 failed = true 8112 } 8113 8114 if got := add_int32_2147483647_ssa(1); got != -2147483648 { 8115 fmt.Printf("add_int32 1%s2147483647 = %d, wanted -2147483648\n", `+`, got) 8116 failed = true 8117 } 8118 8119 if got := add_2147483647_int32_ssa(2147483647); got != -2 { 8120 fmt.Printf("add_int32 2147483647%s2147483647 = %d, wanted -2\n", `+`, got) 8121 failed = true 8122 } 8123 8124 if got := add_int32_2147483647_ssa(2147483647); got != -2 { 8125 fmt.Printf("add_int32 2147483647%s2147483647 = %d, wanted -2\n", `+`, got) 8126 failed = true 8127 } 8128 8129 if got := sub_Neg2147483648_int32_ssa(-2147483648); got != 0 { 8130 fmt.Printf("sub_int32 -2147483648%s-2147483648 = %d, wanted 0\n", `-`, got) 8131 failed = true 8132 } 8133 8134 if got := sub_int32_Neg2147483648_ssa(-2147483648); got != 0 { 8135 fmt.Printf("sub_int32 -2147483648%s-2147483648 = %d, wanted 0\n", `-`, got) 8136 failed = true 8137 } 8138 8139 if got := sub_Neg2147483648_int32_ssa(-2147483647); got != -1 { 8140 fmt.Printf("sub_int32 -2147483648%s-2147483647 = %d, wanted -1\n", `-`, got) 8141 failed = true 8142 } 8143 8144 if got := sub_int32_Neg2147483648_ssa(-2147483647); got != 1 { 8145 fmt.Printf("sub_int32 -2147483647%s-2147483648 = %d, wanted 1\n", `-`, got) 8146 failed = true 8147 } 8148 8149 if got := sub_Neg2147483648_int32_ssa(-1); got != -2147483647 { 8150 fmt.Printf("sub_int32 -2147483648%s-1 = %d, wanted -2147483647\n", `-`, got) 8151 failed = true 8152 } 8153 8154 if got := sub_int32_Neg2147483648_ssa(-1); got != 2147483647 { 8155 fmt.Printf("sub_int32 -1%s-2147483648 = %d, wanted 2147483647\n", `-`, got) 8156 failed = true 8157 } 8158 8159 if got := sub_Neg2147483648_int32_ssa(0); got != -2147483648 { 8160 fmt.Printf("sub_int32 -2147483648%s0 = %d, wanted -2147483648\n", `-`, got) 8161 failed = true 8162 } 8163 8164 if got := sub_int32_Neg2147483648_ssa(0); got != -2147483648 { 8165 fmt.Printf("sub_int32 0%s-2147483648 = %d, wanted -2147483648\n", `-`, got) 8166 failed = true 8167 } 8168 8169 if got := sub_Neg2147483648_int32_ssa(1); got != 2147483647 { 8170 fmt.Printf("sub_int32 -2147483648%s1 = %d, wanted 2147483647\n", `-`, got) 8171 failed = true 8172 } 8173 8174 if got := sub_int32_Neg2147483648_ssa(1); got != -2147483647 { 8175 fmt.Printf("sub_int32 1%s-2147483648 = %d, wanted -2147483647\n", `-`, got) 8176 failed = true 8177 } 8178 8179 if got := sub_Neg2147483648_int32_ssa(2147483647); got != 1 { 8180 fmt.Printf("sub_int32 -2147483648%s2147483647 = %d, wanted 1\n", `-`, got) 8181 failed = true 8182 } 8183 8184 if got := sub_int32_Neg2147483648_ssa(2147483647); got != -1 { 8185 fmt.Printf("sub_int32 2147483647%s-2147483648 = %d, wanted -1\n", `-`, got) 8186 failed = true 8187 } 8188 8189 if got := sub_Neg2147483647_int32_ssa(-2147483648); got != 1 { 8190 fmt.Printf("sub_int32 -2147483647%s-2147483648 = %d, wanted 1\n", `-`, got) 8191 failed = true 8192 } 8193 8194 if got := sub_int32_Neg2147483647_ssa(-2147483648); got != -1 { 8195 fmt.Printf("sub_int32 -2147483648%s-2147483647 = %d, wanted -1\n", `-`, got) 8196 failed = true 8197 } 8198 8199 if got := sub_Neg2147483647_int32_ssa(-2147483647); got != 0 { 8200 fmt.Printf("sub_int32 -2147483647%s-2147483647 = %d, wanted 0\n", `-`, got) 8201 failed = true 8202 } 8203 8204 if got := sub_int32_Neg2147483647_ssa(-2147483647); got != 0 { 8205 fmt.Printf("sub_int32 -2147483647%s-2147483647 = %d, wanted 0\n", `-`, got) 8206 failed = true 8207 } 8208 8209 if got := sub_Neg2147483647_int32_ssa(-1); got != -2147483646 { 8210 fmt.Printf("sub_int32 -2147483647%s-1 = %d, wanted -2147483646\n", `-`, got) 8211 failed = true 8212 } 8213 8214 if got := sub_int32_Neg2147483647_ssa(-1); got != 2147483646 { 8215 fmt.Printf("sub_int32 -1%s-2147483647 = %d, wanted 2147483646\n", `-`, got) 8216 failed = true 8217 } 8218 8219 if got := sub_Neg2147483647_int32_ssa(0); got != -2147483647 { 8220 fmt.Printf("sub_int32 -2147483647%s0 = %d, wanted -2147483647\n", `-`, got) 8221 failed = true 8222 } 8223 8224 if got := sub_int32_Neg2147483647_ssa(0); got != 2147483647 { 8225 fmt.Printf("sub_int32 0%s-2147483647 = %d, wanted 2147483647\n", `-`, got) 8226 failed = true 8227 } 8228 8229 if got := sub_Neg2147483647_int32_ssa(1); got != -2147483648 { 8230 fmt.Printf("sub_int32 -2147483647%s1 = %d, wanted -2147483648\n", `-`, got) 8231 failed = true 8232 } 8233 8234 if got := sub_int32_Neg2147483647_ssa(1); got != -2147483648 { 8235 fmt.Printf("sub_int32 1%s-2147483647 = %d, wanted -2147483648\n", `-`, got) 8236 failed = true 8237 } 8238 8239 if got := sub_Neg2147483647_int32_ssa(2147483647); got != 2 { 8240 fmt.Printf("sub_int32 -2147483647%s2147483647 = %d, wanted 2\n", `-`, got) 8241 failed = true 8242 } 8243 8244 if got := sub_int32_Neg2147483647_ssa(2147483647); got != -2 { 8245 fmt.Printf("sub_int32 2147483647%s-2147483647 = %d, wanted -2\n", `-`, got) 8246 failed = true 8247 } 8248 8249 if got := sub_Neg1_int32_ssa(-2147483648); got != 2147483647 { 8250 fmt.Printf("sub_int32 -1%s-2147483648 = %d, wanted 2147483647\n", `-`, got) 8251 failed = true 8252 } 8253 8254 if got := sub_int32_Neg1_ssa(-2147483648); got != -2147483647 { 8255 fmt.Printf("sub_int32 -2147483648%s-1 = %d, wanted -2147483647\n", `-`, got) 8256 failed = true 8257 } 8258 8259 if got := sub_Neg1_int32_ssa(-2147483647); got != 2147483646 { 8260 fmt.Printf("sub_int32 -1%s-2147483647 = %d, wanted 2147483646\n", `-`, got) 8261 failed = true 8262 } 8263 8264 if got := sub_int32_Neg1_ssa(-2147483647); got != -2147483646 { 8265 fmt.Printf("sub_int32 -2147483647%s-1 = %d, wanted -2147483646\n", `-`, got) 8266 failed = true 8267 } 8268 8269 if got := sub_Neg1_int32_ssa(-1); got != 0 { 8270 fmt.Printf("sub_int32 -1%s-1 = %d, wanted 0\n", `-`, got) 8271 failed = true 8272 } 8273 8274 if got := sub_int32_Neg1_ssa(-1); got != 0 { 8275 fmt.Printf("sub_int32 -1%s-1 = %d, wanted 0\n", `-`, got) 8276 failed = true 8277 } 8278 8279 if got := sub_Neg1_int32_ssa(0); got != -1 { 8280 fmt.Printf("sub_int32 -1%s0 = %d, wanted -1\n", `-`, got) 8281 failed = true 8282 } 8283 8284 if got := sub_int32_Neg1_ssa(0); got != 1 { 8285 fmt.Printf("sub_int32 0%s-1 = %d, wanted 1\n", `-`, got) 8286 failed = true 8287 } 8288 8289 if got := sub_Neg1_int32_ssa(1); got != -2 { 8290 fmt.Printf("sub_int32 -1%s1 = %d, wanted -2\n", `-`, got) 8291 failed = true 8292 } 8293 8294 if got := sub_int32_Neg1_ssa(1); got != 2 { 8295 fmt.Printf("sub_int32 1%s-1 = %d, wanted 2\n", `-`, got) 8296 failed = true 8297 } 8298 8299 if got := sub_Neg1_int32_ssa(2147483647); got != -2147483648 { 8300 fmt.Printf("sub_int32 -1%s2147483647 = %d, wanted -2147483648\n", `-`, got) 8301 failed = true 8302 } 8303 8304 if got := sub_int32_Neg1_ssa(2147483647); got != -2147483648 { 8305 fmt.Printf("sub_int32 2147483647%s-1 = %d, wanted -2147483648\n", `-`, got) 8306 failed = true 8307 } 8308 8309 if got := sub_0_int32_ssa(-2147483648); got != -2147483648 { 8310 fmt.Printf("sub_int32 0%s-2147483648 = %d, wanted -2147483648\n", `-`, got) 8311 failed = true 8312 } 8313 8314 if got := sub_int32_0_ssa(-2147483648); got != -2147483648 { 8315 fmt.Printf("sub_int32 -2147483648%s0 = %d, wanted -2147483648\n", `-`, got) 8316 failed = true 8317 } 8318 8319 if got := sub_0_int32_ssa(-2147483647); got != 2147483647 { 8320 fmt.Printf("sub_int32 0%s-2147483647 = %d, wanted 2147483647\n", `-`, got) 8321 failed = true 8322 } 8323 8324 if got := sub_int32_0_ssa(-2147483647); got != -2147483647 { 8325 fmt.Printf("sub_int32 -2147483647%s0 = %d, wanted -2147483647\n", `-`, got) 8326 failed = true 8327 } 8328 8329 if got := sub_0_int32_ssa(-1); got != 1 { 8330 fmt.Printf("sub_int32 0%s-1 = %d, wanted 1\n", `-`, got) 8331 failed = true 8332 } 8333 8334 if got := sub_int32_0_ssa(-1); got != -1 { 8335 fmt.Printf("sub_int32 -1%s0 = %d, wanted -1\n", `-`, got) 8336 failed = true 8337 } 8338 8339 if got := sub_0_int32_ssa(0); got != 0 { 8340 fmt.Printf("sub_int32 0%s0 = %d, wanted 0\n", `-`, got) 8341 failed = true 8342 } 8343 8344 if got := sub_int32_0_ssa(0); got != 0 { 8345 fmt.Printf("sub_int32 0%s0 = %d, wanted 0\n", `-`, got) 8346 failed = true 8347 } 8348 8349 if got := sub_0_int32_ssa(1); got != -1 { 8350 fmt.Printf("sub_int32 0%s1 = %d, wanted -1\n", `-`, got) 8351 failed = true 8352 } 8353 8354 if got := sub_int32_0_ssa(1); got != 1 { 8355 fmt.Printf("sub_int32 1%s0 = %d, wanted 1\n", `-`, got) 8356 failed = true 8357 } 8358 8359 if got := sub_0_int32_ssa(2147483647); got != -2147483647 { 8360 fmt.Printf("sub_int32 0%s2147483647 = %d, wanted -2147483647\n", `-`, got) 8361 failed = true 8362 } 8363 8364 if got := sub_int32_0_ssa(2147483647); got != 2147483647 { 8365 fmt.Printf("sub_int32 2147483647%s0 = %d, wanted 2147483647\n", `-`, got) 8366 failed = true 8367 } 8368 8369 if got := sub_1_int32_ssa(-2147483648); got != -2147483647 { 8370 fmt.Printf("sub_int32 1%s-2147483648 = %d, wanted -2147483647\n", `-`, got) 8371 failed = true 8372 } 8373 8374 if got := sub_int32_1_ssa(-2147483648); got != 2147483647 { 8375 fmt.Printf("sub_int32 -2147483648%s1 = %d, wanted 2147483647\n", `-`, got) 8376 failed = true 8377 } 8378 8379 if got := sub_1_int32_ssa(-2147483647); got != -2147483648 { 8380 fmt.Printf("sub_int32 1%s-2147483647 = %d, wanted -2147483648\n", `-`, got) 8381 failed = true 8382 } 8383 8384 if got := sub_int32_1_ssa(-2147483647); got != -2147483648 { 8385 fmt.Printf("sub_int32 -2147483647%s1 = %d, wanted -2147483648\n", `-`, got) 8386 failed = true 8387 } 8388 8389 if got := sub_1_int32_ssa(-1); got != 2 { 8390 fmt.Printf("sub_int32 1%s-1 = %d, wanted 2\n", `-`, got) 8391 failed = true 8392 } 8393 8394 if got := sub_int32_1_ssa(-1); got != -2 { 8395 fmt.Printf("sub_int32 -1%s1 = %d, wanted -2\n", `-`, got) 8396 failed = true 8397 } 8398 8399 if got := sub_1_int32_ssa(0); got != 1 { 8400 fmt.Printf("sub_int32 1%s0 = %d, wanted 1\n", `-`, got) 8401 failed = true 8402 } 8403 8404 if got := sub_int32_1_ssa(0); got != -1 { 8405 fmt.Printf("sub_int32 0%s1 = %d, wanted -1\n", `-`, got) 8406 failed = true 8407 } 8408 8409 if got := sub_1_int32_ssa(1); got != 0 { 8410 fmt.Printf("sub_int32 1%s1 = %d, wanted 0\n", `-`, got) 8411 failed = true 8412 } 8413 8414 if got := sub_int32_1_ssa(1); got != 0 { 8415 fmt.Printf("sub_int32 1%s1 = %d, wanted 0\n", `-`, got) 8416 failed = true 8417 } 8418 8419 if got := sub_1_int32_ssa(2147483647); got != -2147483646 { 8420 fmt.Printf("sub_int32 1%s2147483647 = %d, wanted -2147483646\n", `-`, got) 8421 failed = true 8422 } 8423 8424 if got := sub_int32_1_ssa(2147483647); got != 2147483646 { 8425 fmt.Printf("sub_int32 2147483647%s1 = %d, wanted 2147483646\n", `-`, got) 8426 failed = true 8427 } 8428 8429 if got := sub_2147483647_int32_ssa(-2147483648); got != -1 { 8430 fmt.Printf("sub_int32 2147483647%s-2147483648 = %d, wanted -1\n", `-`, got) 8431 failed = true 8432 } 8433 8434 if got := sub_int32_2147483647_ssa(-2147483648); got != 1 { 8435 fmt.Printf("sub_int32 -2147483648%s2147483647 = %d, wanted 1\n", `-`, got) 8436 failed = true 8437 } 8438 8439 if got := sub_2147483647_int32_ssa(-2147483647); got != -2 { 8440 fmt.Printf("sub_int32 2147483647%s-2147483647 = %d, wanted -2\n", `-`, got) 8441 failed = true 8442 } 8443 8444 if got := sub_int32_2147483647_ssa(-2147483647); got != 2 { 8445 fmt.Printf("sub_int32 -2147483647%s2147483647 = %d, wanted 2\n", `-`, got) 8446 failed = true 8447 } 8448 8449 if got := sub_2147483647_int32_ssa(-1); got != -2147483648 { 8450 fmt.Printf("sub_int32 2147483647%s-1 = %d, wanted -2147483648\n", `-`, got) 8451 failed = true 8452 } 8453 8454 if got := sub_int32_2147483647_ssa(-1); got != -2147483648 { 8455 fmt.Printf("sub_int32 -1%s2147483647 = %d, wanted -2147483648\n", `-`, got) 8456 failed = true 8457 } 8458 8459 if got := sub_2147483647_int32_ssa(0); got != 2147483647 { 8460 fmt.Printf("sub_int32 2147483647%s0 = %d, wanted 2147483647\n", `-`, got) 8461 failed = true 8462 } 8463 8464 if got := sub_int32_2147483647_ssa(0); got != -2147483647 { 8465 fmt.Printf("sub_int32 0%s2147483647 = %d, wanted -2147483647\n", `-`, got) 8466 failed = true 8467 } 8468 8469 if got := sub_2147483647_int32_ssa(1); got != 2147483646 { 8470 fmt.Printf("sub_int32 2147483647%s1 = %d, wanted 2147483646\n", `-`, got) 8471 failed = true 8472 } 8473 8474 if got := sub_int32_2147483647_ssa(1); got != -2147483646 { 8475 fmt.Printf("sub_int32 1%s2147483647 = %d, wanted -2147483646\n", `-`, got) 8476 failed = true 8477 } 8478 8479 if got := sub_2147483647_int32_ssa(2147483647); got != 0 { 8480 fmt.Printf("sub_int32 2147483647%s2147483647 = %d, wanted 0\n", `-`, got) 8481 failed = true 8482 } 8483 8484 if got := sub_int32_2147483647_ssa(2147483647); got != 0 { 8485 fmt.Printf("sub_int32 2147483647%s2147483647 = %d, wanted 0\n", `-`, got) 8486 failed = true 8487 } 8488 8489 if got := div_Neg2147483648_int32_ssa(-2147483648); got != 1 { 8490 fmt.Printf("div_int32 -2147483648%s-2147483648 = %d, wanted 1\n", `/`, got) 8491 failed = true 8492 } 8493 8494 if got := div_int32_Neg2147483648_ssa(-2147483648); got != 1 { 8495 fmt.Printf("div_int32 -2147483648%s-2147483648 = %d, wanted 1\n", `/`, got) 8496 failed = true 8497 } 8498 8499 if got := div_Neg2147483648_int32_ssa(-2147483647); got != 1 { 8500 fmt.Printf("div_int32 -2147483648%s-2147483647 = %d, wanted 1\n", `/`, got) 8501 failed = true 8502 } 8503 8504 if got := div_int32_Neg2147483648_ssa(-2147483647); got != 0 { 8505 fmt.Printf("div_int32 -2147483647%s-2147483648 = %d, wanted 0\n", `/`, got) 8506 failed = true 8507 } 8508 8509 if got := div_Neg2147483648_int32_ssa(-1); got != -2147483648 { 8510 fmt.Printf("div_int32 -2147483648%s-1 = %d, wanted -2147483648\n", `/`, got) 8511 failed = true 8512 } 8513 8514 if got := div_int32_Neg2147483648_ssa(-1); got != 0 { 8515 fmt.Printf("div_int32 -1%s-2147483648 = %d, wanted 0\n", `/`, got) 8516 failed = true 8517 } 8518 8519 if got := div_int32_Neg2147483648_ssa(0); got != 0 { 8520 fmt.Printf("div_int32 0%s-2147483648 = %d, wanted 0\n", `/`, got) 8521 failed = true 8522 } 8523 8524 if got := div_Neg2147483648_int32_ssa(1); got != -2147483648 { 8525 fmt.Printf("div_int32 -2147483648%s1 = %d, wanted -2147483648\n", `/`, got) 8526 failed = true 8527 } 8528 8529 if got := div_int32_Neg2147483648_ssa(1); got != 0 { 8530 fmt.Printf("div_int32 1%s-2147483648 = %d, wanted 0\n", `/`, got) 8531 failed = true 8532 } 8533 8534 if got := div_Neg2147483648_int32_ssa(2147483647); got != -1 { 8535 fmt.Printf("div_int32 -2147483648%s2147483647 = %d, wanted -1\n", `/`, got) 8536 failed = true 8537 } 8538 8539 if got := div_int32_Neg2147483648_ssa(2147483647); got != 0 { 8540 fmt.Printf("div_int32 2147483647%s-2147483648 = %d, wanted 0\n", `/`, got) 8541 failed = true 8542 } 8543 8544 if got := div_Neg2147483647_int32_ssa(-2147483648); got != 0 { 8545 fmt.Printf("div_int32 -2147483647%s-2147483648 = %d, wanted 0\n", `/`, got) 8546 failed = true 8547 } 8548 8549 if got := div_int32_Neg2147483647_ssa(-2147483648); got != 1 { 8550 fmt.Printf("div_int32 -2147483648%s-2147483647 = %d, wanted 1\n", `/`, got) 8551 failed = true 8552 } 8553 8554 if got := div_Neg2147483647_int32_ssa(-2147483647); got != 1 { 8555 fmt.Printf("div_int32 -2147483647%s-2147483647 = %d, wanted 1\n", `/`, got) 8556 failed = true 8557 } 8558 8559 if got := div_int32_Neg2147483647_ssa(-2147483647); got != 1 { 8560 fmt.Printf("div_int32 -2147483647%s-2147483647 = %d, wanted 1\n", `/`, got) 8561 failed = true 8562 } 8563 8564 if got := div_Neg2147483647_int32_ssa(-1); got != 2147483647 { 8565 fmt.Printf("div_int32 -2147483647%s-1 = %d, wanted 2147483647\n", `/`, got) 8566 failed = true 8567 } 8568 8569 if got := div_int32_Neg2147483647_ssa(-1); got != 0 { 8570 fmt.Printf("div_int32 -1%s-2147483647 = %d, wanted 0\n", `/`, got) 8571 failed = true 8572 } 8573 8574 if got := div_int32_Neg2147483647_ssa(0); got != 0 { 8575 fmt.Printf("div_int32 0%s-2147483647 = %d, wanted 0\n", `/`, got) 8576 failed = true 8577 } 8578 8579 if got := div_Neg2147483647_int32_ssa(1); got != -2147483647 { 8580 fmt.Printf("div_int32 -2147483647%s1 = %d, wanted -2147483647\n", `/`, got) 8581 failed = true 8582 } 8583 8584 if got := div_int32_Neg2147483647_ssa(1); got != 0 { 8585 fmt.Printf("div_int32 1%s-2147483647 = %d, wanted 0\n", `/`, got) 8586 failed = true 8587 } 8588 8589 if got := div_Neg2147483647_int32_ssa(2147483647); got != -1 { 8590 fmt.Printf("div_int32 -2147483647%s2147483647 = %d, wanted -1\n", `/`, got) 8591 failed = true 8592 } 8593 8594 if got := div_int32_Neg2147483647_ssa(2147483647); got != -1 { 8595 fmt.Printf("div_int32 2147483647%s-2147483647 = %d, wanted -1\n", `/`, got) 8596 failed = true 8597 } 8598 8599 if got := div_Neg1_int32_ssa(-2147483648); got != 0 { 8600 fmt.Printf("div_int32 -1%s-2147483648 = %d, wanted 0\n", `/`, got) 8601 failed = true 8602 } 8603 8604 if got := div_int32_Neg1_ssa(-2147483648); got != -2147483648 { 8605 fmt.Printf("div_int32 -2147483648%s-1 = %d, wanted -2147483648\n", `/`, got) 8606 failed = true 8607 } 8608 8609 if got := div_Neg1_int32_ssa(-2147483647); got != 0 { 8610 fmt.Printf("div_int32 -1%s-2147483647 = %d, wanted 0\n", `/`, got) 8611 failed = true 8612 } 8613 8614 if got := div_int32_Neg1_ssa(-2147483647); got != 2147483647 { 8615 fmt.Printf("div_int32 -2147483647%s-1 = %d, wanted 2147483647\n", `/`, got) 8616 failed = true 8617 } 8618 8619 if got := div_Neg1_int32_ssa(-1); got != 1 { 8620 fmt.Printf("div_int32 -1%s-1 = %d, wanted 1\n", `/`, got) 8621 failed = true 8622 } 8623 8624 if got := div_int32_Neg1_ssa(-1); got != 1 { 8625 fmt.Printf("div_int32 -1%s-1 = %d, wanted 1\n", `/`, got) 8626 failed = true 8627 } 8628 8629 if got := div_int32_Neg1_ssa(0); got != 0 { 8630 fmt.Printf("div_int32 0%s-1 = %d, wanted 0\n", `/`, got) 8631 failed = true 8632 } 8633 8634 if got := div_Neg1_int32_ssa(1); got != -1 { 8635 fmt.Printf("div_int32 -1%s1 = %d, wanted -1\n", `/`, got) 8636 failed = true 8637 } 8638 8639 if got := div_int32_Neg1_ssa(1); got != -1 { 8640 fmt.Printf("div_int32 1%s-1 = %d, wanted -1\n", `/`, got) 8641 failed = true 8642 } 8643 8644 if got := div_Neg1_int32_ssa(2147483647); got != 0 { 8645 fmt.Printf("div_int32 -1%s2147483647 = %d, wanted 0\n", `/`, got) 8646 failed = true 8647 } 8648 8649 if got := div_int32_Neg1_ssa(2147483647); got != -2147483647 { 8650 fmt.Printf("div_int32 2147483647%s-1 = %d, wanted -2147483647\n", `/`, got) 8651 failed = true 8652 } 8653 8654 if got := div_0_int32_ssa(-2147483648); got != 0 { 8655 fmt.Printf("div_int32 0%s-2147483648 = %d, wanted 0\n", `/`, got) 8656 failed = true 8657 } 8658 8659 if got := div_0_int32_ssa(-2147483647); got != 0 { 8660 fmt.Printf("div_int32 0%s-2147483647 = %d, wanted 0\n", `/`, got) 8661 failed = true 8662 } 8663 8664 if got := div_0_int32_ssa(-1); got != 0 { 8665 fmt.Printf("div_int32 0%s-1 = %d, wanted 0\n", `/`, got) 8666 failed = true 8667 } 8668 8669 if got := div_0_int32_ssa(1); got != 0 { 8670 fmt.Printf("div_int32 0%s1 = %d, wanted 0\n", `/`, got) 8671 failed = true 8672 } 8673 8674 if got := div_0_int32_ssa(2147483647); got != 0 { 8675 fmt.Printf("div_int32 0%s2147483647 = %d, wanted 0\n", `/`, got) 8676 failed = true 8677 } 8678 8679 if got := div_1_int32_ssa(-2147483648); got != 0 { 8680 fmt.Printf("div_int32 1%s-2147483648 = %d, wanted 0\n", `/`, got) 8681 failed = true 8682 } 8683 8684 if got := div_int32_1_ssa(-2147483648); got != -2147483648 { 8685 fmt.Printf("div_int32 -2147483648%s1 = %d, wanted -2147483648\n", `/`, got) 8686 failed = true 8687 } 8688 8689 if got := div_1_int32_ssa(-2147483647); got != 0 { 8690 fmt.Printf("div_int32 1%s-2147483647 = %d, wanted 0\n", `/`, got) 8691 failed = true 8692 } 8693 8694 if got := div_int32_1_ssa(-2147483647); got != -2147483647 { 8695 fmt.Printf("div_int32 -2147483647%s1 = %d, wanted -2147483647\n", `/`, got) 8696 failed = true 8697 } 8698 8699 if got := div_1_int32_ssa(-1); got != -1 { 8700 fmt.Printf("div_int32 1%s-1 = %d, wanted -1\n", `/`, got) 8701 failed = true 8702 } 8703 8704 if got := div_int32_1_ssa(-1); got != -1 { 8705 fmt.Printf("div_int32 -1%s1 = %d, wanted -1\n", `/`, got) 8706 failed = true 8707 } 8708 8709 if got := div_int32_1_ssa(0); got != 0 { 8710 fmt.Printf("div_int32 0%s1 = %d, wanted 0\n", `/`, got) 8711 failed = true 8712 } 8713 8714 if got := div_1_int32_ssa(1); got != 1 { 8715 fmt.Printf("div_int32 1%s1 = %d, wanted 1\n", `/`, got) 8716 failed = true 8717 } 8718 8719 if got := div_int32_1_ssa(1); got != 1 { 8720 fmt.Printf("div_int32 1%s1 = %d, wanted 1\n", `/`, got) 8721 failed = true 8722 } 8723 8724 if got := div_1_int32_ssa(2147483647); got != 0 { 8725 fmt.Printf("div_int32 1%s2147483647 = %d, wanted 0\n", `/`, got) 8726 failed = true 8727 } 8728 8729 if got := div_int32_1_ssa(2147483647); got != 2147483647 { 8730 fmt.Printf("div_int32 2147483647%s1 = %d, wanted 2147483647\n", `/`, got) 8731 failed = true 8732 } 8733 8734 if got := div_2147483647_int32_ssa(-2147483648); got != 0 { 8735 fmt.Printf("div_int32 2147483647%s-2147483648 = %d, wanted 0\n", `/`, got) 8736 failed = true 8737 } 8738 8739 if got := div_int32_2147483647_ssa(-2147483648); got != -1 { 8740 fmt.Printf("div_int32 -2147483648%s2147483647 = %d, wanted -1\n", `/`, got) 8741 failed = true 8742 } 8743 8744 if got := div_2147483647_int32_ssa(-2147483647); got != -1 { 8745 fmt.Printf("div_int32 2147483647%s-2147483647 = %d, wanted -1\n", `/`, got) 8746 failed = true 8747 } 8748 8749 if got := div_int32_2147483647_ssa(-2147483647); got != -1 { 8750 fmt.Printf("div_int32 -2147483647%s2147483647 = %d, wanted -1\n", `/`, got) 8751 failed = true 8752 } 8753 8754 if got := div_2147483647_int32_ssa(-1); got != -2147483647 { 8755 fmt.Printf("div_int32 2147483647%s-1 = %d, wanted -2147483647\n", `/`, got) 8756 failed = true 8757 } 8758 8759 if got := div_int32_2147483647_ssa(-1); got != 0 { 8760 fmt.Printf("div_int32 -1%s2147483647 = %d, wanted 0\n", `/`, got) 8761 failed = true 8762 } 8763 8764 if got := div_int32_2147483647_ssa(0); got != 0 { 8765 fmt.Printf("div_int32 0%s2147483647 = %d, wanted 0\n", `/`, got) 8766 failed = true 8767 } 8768 8769 if got := div_2147483647_int32_ssa(1); got != 2147483647 { 8770 fmt.Printf("div_int32 2147483647%s1 = %d, wanted 2147483647\n", `/`, got) 8771 failed = true 8772 } 8773 8774 if got := div_int32_2147483647_ssa(1); got != 0 { 8775 fmt.Printf("div_int32 1%s2147483647 = %d, wanted 0\n", `/`, got) 8776 failed = true 8777 } 8778 8779 if got := div_2147483647_int32_ssa(2147483647); got != 1 { 8780 fmt.Printf("div_int32 2147483647%s2147483647 = %d, wanted 1\n", `/`, got) 8781 failed = true 8782 } 8783 8784 if got := div_int32_2147483647_ssa(2147483647); got != 1 { 8785 fmt.Printf("div_int32 2147483647%s2147483647 = %d, wanted 1\n", `/`, got) 8786 failed = true 8787 } 8788 8789 if got := mul_Neg2147483648_int32_ssa(-2147483648); got != 0 { 8790 fmt.Printf("mul_int32 -2147483648%s-2147483648 = %d, wanted 0\n", `*`, got) 8791 failed = true 8792 } 8793 8794 if got := mul_int32_Neg2147483648_ssa(-2147483648); got != 0 { 8795 fmt.Printf("mul_int32 -2147483648%s-2147483648 = %d, wanted 0\n", `*`, got) 8796 failed = true 8797 } 8798 8799 if got := mul_Neg2147483648_int32_ssa(-2147483647); got != -2147483648 { 8800 fmt.Printf("mul_int32 -2147483648%s-2147483647 = %d, wanted -2147483648\n", `*`, got) 8801 failed = true 8802 } 8803 8804 if got := mul_int32_Neg2147483648_ssa(-2147483647); got != -2147483648 { 8805 fmt.Printf("mul_int32 -2147483647%s-2147483648 = %d, wanted -2147483648\n", `*`, got) 8806 failed = true 8807 } 8808 8809 if got := mul_Neg2147483648_int32_ssa(-1); got != -2147483648 { 8810 fmt.Printf("mul_int32 -2147483648%s-1 = %d, wanted -2147483648\n", `*`, got) 8811 failed = true 8812 } 8813 8814 if got := mul_int32_Neg2147483648_ssa(-1); got != -2147483648 { 8815 fmt.Printf("mul_int32 -1%s-2147483648 = %d, wanted -2147483648\n", `*`, got) 8816 failed = true 8817 } 8818 8819 if got := mul_Neg2147483648_int32_ssa(0); got != 0 { 8820 fmt.Printf("mul_int32 -2147483648%s0 = %d, wanted 0\n", `*`, got) 8821 failed = true 8822 } 8823 8824 if got := mul_int32_Neg2147483648_ssa(0); got != 0 { 8825 fmt.Printf("mul_int32 0%s-2147483648 = %d, wanted 0\n", `*`, got) 8826 failed = true 8827 } 8828 8829 if got := mul_Neg2147483648_int32_ssa(1); got != -2147483648 { 8830 fmt.Printf("mul_int32 -2147483648%s1 = %d, wanted -2147483648\n", `*`, got) 8831 failed = true 8832 } 8833 8834 if got := mul_int32_Neg2147483648_ssa(1); got != -2147483648 { 8835 fmt.Printf("mul_int32 1%s-2147483648 = %d, wanted -2147483648\n", `*`, got) 8836 failed = true 8837 } 8838 8839 if got := mul_Neg2147483648_int32_ssa(2147483647); got != -2147483648 { 8840 fmt.Printf("mul_int32 -2147483648%s2147483647 = %d, wanted -2147483648\n", `*`, got) 8841 failed = true 8842 } 8843 8844 if got := mul_int32_Neg2147483648_ssa(2147483647); got != -2147483648 { 8845 fmt.Printf("mul_int32 2147483647%s-2147483648 = %d, wanted -2147483648\n", `*`, got) 8846 failed = true 8847 } 8848 8849 if got := mul_Neg2147483647_int32_ssa(-2147483648); got != -2147483648 { 8850 fmt.Printf("mul_int32 -2147483647%s-2147483648 = %d, wanted -2147483648\n", `*`, got) 8851 failed = true 8852 } 8853 8854 if got := mul_int32_Neg2147483647_ssa(-2147483648); got != -2147483648 { 8855 fmt.Printf("mul_int32 -2147483648%s-2147483647 = %d, wanted -2147483648\n", `*`, got) 8856 failed = true 8857 } 8858 8859 if got := mul_Neg2147483647_int32_ssa(-2147483647); got != 1 { 8860 fmt.Printf("mul_int32 -2147483647%s-2147483647 = %d, wanted 1\n", `*`, got) 8861 failed = true 8862 } 8863 8864 if got := mul_int32_Neg2147483647_ssa(-2147483647); got != 1 { 8865 fmt.Printf("mul_int32 -2147483647%s-2147483647 = %d, wanted 1\n", `*`, got) 8866 failed = true 8867 } 8868 8869 if got := mul_Neg2147483647_int32_ssa(-1); got != 2147483647 { 8870 fmt.Printf("mul_int32 -2147483647%s-1 = %d, wanted 2147483647\n", `*`, got) 8871 failed = true 8872 } 8873 8874 if got := mul_int32_Neg2147483647_ssa(-1); got != 2147483647 { 8875 fmt.Printf("mul_int32 -1%s-2147483647 = %d, wanted 2147483647\n", `*`, got) 8876 failed = true 8877 } 8878 8879 if got := mul_Neg2147483647_int32_ssa(0); got != 0 { 8880 fmt.Printf("mul_int32 -2147483647%s0 = %d, wanted 0\n", `*`, got) 8881 failed = true 8882 } 8883 8884 if got := mul_int32_Neg2147483647_ssa(0); got != 0 { 8885 fmt.Printf("mul_int32 0%s-2147483647 = %d, wanted 0\n", `*`, got) 8886 failed = true 8887 } 8888 8889 if got := mul_Neg2147483647_int32_ssa(1); got != -2147483647 { 8890 fmt.Printf("mul_int32 -2147483647%s1 = %d, wanted -2147483647\n", `*`, got) 8891 failed = true 8892 } 8893 8894 if got := mul_int32_Neg2147483647_ssa(1); got != -2147483647 { 8895 fmt.Printf("mul_int32 1%s-2147483647 = %d, wanted -2147483647\n", `*`, got) 8896 failed = true 8897 } 8898 8899 if got := mul_Neg2147483647_int32_ssa(2147483647); got != -1 { 8900 fmt.Printf("mul_int32 -2147483647%s2147483647 = %d, wanted -1\n", `*`, got) 8901 failed = true 8902 } 8903 8904 if got := mul_int32_Neg2147483647_ssa(2147483647); got != -1 { 8905 fmt.Printf("mul_int32 2147483647%s-2147483647 = %d, wanted -1\n", `*`, got) 8906 failed = true 8907 } 8908 8909 if got := mul_Neg1_int32_ssa(-2147483648); got != -2147483648 { 8910 fmt.Printf("mul_int32 -1%s-2147483648 = %d, wanted -2147483648\n", `*`, got) 8911 failed = true 8912 } 8913 8914 if got := mul_int32_Neg1_ssa(-2147483648); got != -2147483648 { 8915 fmt.Printf("mul_int32 -2147483648%s-1 = %d, wanted -2147483648\n", `*`, got) 8916 failed = true 8917 } 8918 8919 if got := mul_Neg1_int32_ssa(-2147483647); got != 2147483647 { 8920 fmt.Printf("mul_int32 -1%s-2147483647 = %d, wanted 2147483647\n", `*`, got) 8921 failed = true 8922 } 8923 8924 if got := mul_int32_Neg1_ssa(-2147483647); got != 2147483647 { 8925 fmt.Printf("mul_int32 -2147483647%s-1 = %d, wanted 2147483647\n", `*`, got) 8926 failed = true 8927 } 8928 8929 if got := mul_Neg1_int32_ssa(-1); got != 1 { 8930 fmt.Printf("mul_int32 -1%s-1 = %d, wanted 1\n", `*`, got) 8931 failed = true 8932 } 8933 8934 if got := mul_int32_Neg1_ssa(-1); got != 1 { 8935 fmt.Printf("mul_int32 -1%s-1 = %d, wanted 1\n", `*`, got) 8936 failed = true 8937 } 8938 8939 if got := mul_Neg1_int32_ssa(0); got != 0 { 8940 fmt.Printf("mul_int32 -1%s0 = %d, wanted 0\n", `*`, got) 8941 failed = true 8942 } 8943 8944 if got := mul_int32_Neg1_ssa(0); got != 0 { 8945 fmt.Printf("mul_int32 0%s-1 = %d, wanted 0\n", `*`, got) 8946 failed = true 8947 } 8948 8949 if got := mul_Neg1_int32_ssa(1); got != -1 { 8950 fmt.Printf("mul_int32 -1%s1 = %d, wanted -1\n", `*`, got) 8951 failed = true 8952 } 8953 8954 if got := mul_int32_Neg1_ssa(1); got != -1 { 8955 fmt.Printf("mul_int32 1%s-1 = %d, wanted -1\n", `*`, got) 8956 failed = true 8957 } 8958 8959 if got := mul_Neg1_int32_ssa(2147483647); got != -2147483647 { 8960 fmt.Printf("mul_int32 -1%s2147483647 = %d, wanted -2147483647\n", `*`, got) 8961 failed = true 8962 } 8963 8964 if got := mul_int32_Neg1_ssa(2147483647); got != -2147483647 { 8965 fmt.Printf("mul_int32 2147483647%s-1 = %d, wanted -2147483647\n", `*`, got) 8966 failed = true 8967 } 8968 8969 if got := mul_0_int32_ssa(-2147483648); got != 0 { 8970 fmt.Printf("mul_int32 0%s-2147483648 = %d, wanted 0\n", `*`, got) 8971 failed = true 8972 } 8973 8974 if got := mul_int32_0_ssa(-2147483648); got != 0 { 8975 fmt.Printf("mul_int32 -2147483648%s0 = %d, wanted 0\n", `*`, got) 8976 failed = true 8977 } 8978 8979 if got := mul_0_int32_ssa(-2147483647); got != 0 { 8980 fmt.Printf("mul_int32 0%s-2147483647 = %d, wanted 0\n", `*`, got) 8981 failed = true 8982 } 8983 8984 if got := mul_int32_0_ssa(-2147483647); got != 0 { 8985 fmt.Printf("mul_int32 -2147483647%s0 = %d, wanted 0\n", `*`, got) 8986 failed = true 8987 } 8988 8989 if got := mul_0_int32_ssa(-1); got != 0 { 8990 fmt.Printf("mul_int32 0%s-1 = %d, wanted 0\n", `*`, got) 8991 failed = true 8992 } 8993 8994 if got := mul_int32_0_ssa(-1); got != 0 { 8995 fmt.Printf("mul_int32 -1%s0 = %d, wanted 0\n", `*`, got) 8996 failed = true 8997 } 8998 8999 if got := mul_0_int32_ssa(0); got != 0 { 9000 fmt.Printf("mul_int32 0%s0 = %d, wanted 0\n", `*`, got) 9001 failed = true 9002 } 9003 9004 if got := mul_int32_0_ssa(0); got != 0 { 9005 fmt.Printf("mul_int32 0%s0 = %d, wanted 0\n", `*`, got) 9006 failed = true 9007 } 9008 9009 if got := mul_0_int32_ssa(1); got != 0 { 9010 fmt.Printf("mul_int32 0%s1 = %d, wanted 0\n", `*`, got) 9011 failed = true 9012 } 9013 9014 if got := mul_int32_0_ssa(1); got != 0 { 9015 fmt.Printf("mul_int32 1%s0 = %d, wanted 0\n", `*`, got) 9016 failed = true 9017 } 9018 9019 if got := mul_0_int32_ssa(2147483647); got != 0 { 9020 fmt.Printf("mul_int32 0%s2147483647 = %d, wanted 0\n", `*`, got) 9021 failed = true 9022 } 9023 9024 if got := mul_int32_0_ssa(2147483647); got != 0 { 9025 fmt.Printf("mul_int32 2147483647%s0 = %d, wanted 0\n", `*`, got) 9026 failed = true 9027 } 9028 9029 if got := mul_1_int32_ssa(-2147483648); got != -2147483648 { 9030 fmt.Printf("mul_int32 1%s-2147483648 = %d, wanted -2147483648\n", `*`, got) 9031 failed = true 9032 } 9033 9034 if got := mul_int32_1_ssa(-2147483648); got != -2147483648 { 9035 fmt.Printf("mul_int32 -2147483648%s1 = %d, wanted -2147483648\n", `*`, got) 9036 failed = true 9037 } 9038 9039 if got := mul_1_int32_ssa(-2147483647); got != -2147483647 { 9040 fmt.Printf("mul_int32 1%s-2147483647 = %d, wanted -2147483647\n", `*`, got) 9041 failed = true 9042 } 9043 9044 if got := mul_int32_1_ssa(-2147483647); got != -2147483647 { 9045 fmt.Printf("mul_int32 -2147483647%s1 = %d, wanted -2147483647\n", `*`, got) 9046 failed = true 9047 } 9048 9049 if got := mul_1_int32_ssa(-1); got != -1 { 9050 fmt.Printf("mul_int32 1%s-1 = %d, wanted -1\n", `*`, got) 9051 failed = true 9052 } 9053 9054 if got := mul_int32_1_ssa(-1); got != -1 { 9055 fmt.Printf("mul_int32 -1%s1 = %d, wanted -1\n", `*`, got) 9056 failed = true 9057 } 9058 9059 if got := mul_1_int32_ssa(0); got != 0 { 9060 fmt.Printf("mul_int32 1%s0 = %d, wanted 0\n", `*`, got) 9061 failed = true 9062 } 9063 9064 if got := mul_int32_1_ssa(0); got != 0 { 9065 fmt.Printf("mul_int32 0%s1 = %d, wanted 0\n", `*`, got) 9066 failed = true 9067 } 9068 9069 if got := mul_1_int32_ssa(1); got != 1 { 9070 fmt.Printf("mul_int32 1%s1 = %d, wanted 1\n", `*`, got) 9071 failed = true 9072 } 9073 9074 if got := mul_int32_1_ssa(1); got != 1 { 9075 fmt.Printf("mul_int32 1%s1 = %d, wanted 1\n", `*`, got) 9076 failed = true 9077 } 9078 9079 if got := mul_1_int32_ssa(2147483647); got != 2147483647 { 9080 fmt.Printf("mul_int32 1%s2147483647 = %d, wanted 2147483647\n", `*`, got) 9081 failed = true 9082 } 9083 9084 if got := mul_int32_1_ssa(2147483647); got != 2147483647 { 9085 fmt.Printf("mul_int32 2147483647%s1 = %d, wanted 2147483647\n", `*`, got) 9086 failed = true 9087 } 9088 9089 if got := mul_2147483647_int32_ssa(-2147483648); got != -2147483648 { 9090 fmt.Printf("mul_int32 2147483647%s-2147483648 = %d, wanted -2147483648\n", `*`, got) 9091 failed = true 9092 } 9093 9094 if got := mul_int32_2147483647_ssa(-2147483648); got != -2147483648 { 9095 fmt.Printf("mul_int32 -2147483648%s2147483647 = %d, wanted -2147483648\n", `*`, got) 9096 failed = true 9097 } 9098 9099 if got := mul_2147483647_int32_ssa(-2147483647); got != -1 { 9100 fmt.Printf("mul_int32 2147483647%s-2147483647 = %d, wanted -1\n", `*`, got) 9101 failed = true 9102 } 9103 9104 if got := mul_int32_2147483647_ssa(-2147483647); got != -1 { 9105 fmt.Printf("mul_int32 -2147483647%s2147483647 = %d, wanted -1\n", `*`, got) 9106 failed = true 9107 } 9108 9109 if got := mul_2147483647_int32_ssa(-1); got != -2147483647 { 9110 fmt.Printf("mul_int32 2147483647%s-1 = %d, wanted -2147483647\n", `*`, got) 9111 failed = true 9112 } 9113 9114 if got := mul_int32_2147483647_ssa(-1); got != -2147483647 { 9115 fmt.Printf("mul_int32 -1%s2147483647 = %d, wanted -2147483647\n", `*`, got) 9116 failed = true 9117 } 9118 9119 if got := mul_2147483647_int32_ssa(0); got != 0 { 9120 fmt.Printf("mul_int32 2147483647%s0 = %d, wanted 0\n", `*`, got) 9121 failed = true 9122 } 9123 9124 if got := mul_int32_2147483647_ssa(0); got != 0 { 9125 fmt.Printf("mul_int32 0%s2147483647 = %d, wanted 0\n", `*`, got) 9126 failed = true 9127 } 9128 9129 if got := mul_2147483647_int32_ssa(1); got != 2147483647 { 9130 fmt.Printf("mul_int32 2147483647%s1 = %d, wanted 2147483647\n", `*`, got) 9131 failed = true 9132 } 9133 9134 if got := mul_int32_2147483647_ssa(1); got != 2147483647 { 9135 fmt.Printf("mul_int32 1%s2147483647 = %d, wanted 2147483647\n", `*`, got) 9136 failed = true 9137 } 9138 9139 if got := mul_2147483647_int32_ssa(2147483647); got != 1 { 9140 fmt.Printf("mul_int32 2147483647%s2147483647 = %d, wanted 1\n", `*`, got) 9141 failed = true 9142 } 9143 9144 if got := mul_int32_2147483647_ssa(2147483647); got != 1 { 9145 fmt.Printf("mul_int32 2147483647%s2147483647 = %d, wanted 1\n", `*`, got) 9146 failed = true 9147 } 9148 9149 if got := mod_Neg2147483648_int32_ssa(-2147483648); got != 0 { 9150 fmt.Printf("mod_int32 -2147483648%s-2147483648 = %d, wanted 0\n", `%`, got) 9151 failed = true 9152 } 9153 9154 if got := mod_int32_Neg2147483648_ssa(-2147483648); got != 0 { 9155 fmt.Printf("mod_int32 -2147483648%s-2147483648 = %d, wanted 0\n", `%`, got) 9156 failed = true 9157 } 9158 9159 if got := mod_Neg2147483648_int32_ssa(-2147483647); got != -1 { 9160 fmt.Printf("mod_int32 -2147483648%s-2147483647 = %d, wanted -1\n", `%`, got) 9161 failed = true 9162 } 9163 9164 if got := mod_int32_Neg2147483648_ssa(-2147483647); got != -2147483647 { 9165 fmt.Printf("mod_int32 -2147483647%s-2147483648 = %d, wanted -2147483647\n", `%`, got) 9166 failed = true 9167 } 9168 9169 if got := mod_Neg2147483648_int32_ssa(-1); got != 0 { 9170 fmt.Printf("mod_int32 -2147483648%s-1 = %d, wanted 0\n", `%`, got) 9171 failed = true 9172 } 9173 9174 if got := mod_int32_Neg2147483648_ssa(-1); got != -1 { 9175 fmt.Printf("mod_int32 -1%s-2147483648 = %d, wanted -1\n", `%`, got) 9176 failed = true 9177 } 9178 9179 if got := mod_int32_Neg2147483648_ssa(0); got != 0 { 9180 fmt.Printf("mod_int32 0%s-2147483648 = %d, wanted 0\n", `%`, got) 9181 failed = true 9182 } 9183 9184 if got := mod_Neg2147483648_int32_ssa(1); got != 0 { 9185 fmt.Printf("mod_int32 -2147483648%s1 = %d, wanted 0\n", `%`, got) 9186 failed = true 9187 } 9188 9189 if got := mod_int32_Neg2147483648_ssa(1); got != 1 { 9190 fmt.Printf("mod_int32 1%s-2147483648 = %d, wanted 1\n", `%`, got) 9191 failed = true 9192 } 9193 9194 if got := mod_Neg2147483648_int32_ssa(2147483647); got != -1 { 9195 fmt.Printf("mod_int32 -2147483648%s2147483647 = %d, wanted -1\n", `%`, got) 9196 failed = true 9197 } 9198 9199 if got := mod_int32_Neg2147483648_ssa(2147483647); got != 2147483647 { 9200 fmt.Printf("mod_int32 2147483647%s-2147483648 = %d, wanted 2147483647\n", `%`, got) 9201 failed = true 9202 } 9203 9204 if got := mod_Neg2147483647_int32_ssa(-2147483648); got != -2147483647 { 9205 fmt.Printf("mod_int32 -2147483647%s-2147483648 = %d, wanted -2147483647\n", `%`, got) 9206 failed = true 9207 } 9208 9209 if got := mod_int32_Neg2147483647_ssa(-2147483648); got != -1 { 9210 fmt.Printf("mod_int32 -2147483648%s-2147483647 = %d, wanted -1\n", `%`, got) 9211 failed = true 9212 } 9213 9214 if got := mod_Neg2147483647_int32_ssa(-2147483647); got != 0 { 9215 fmt.Printf("mod_int32 -2147483647%s-2147483647 = %d, wanted 0\n", `%`, got) 9216 failed = true 9217 } 9218 9219 if got := mod_int32_Neg2147483647_ssa(-2147483647); got != 0 { 9220 fmt.Printf("mod_int32 -2147483647%s-2147483647 = %d, wanted 0\n", `%`, got) 9221 failed = true 9222 } 9223 9224 if got := mod_Neg2147483647_int32_ssa(-1); got != 0 { 9225 fmt.Printf("mod_int32 -2147483647%s-1 = %d, wanted 0\n", `%`, got) 9226 failed = true 9227 } 9228 9229 if got := mod_int32_Neg2147483647_ssa(-1); got != -1 { 9230 fmt.Printf("mod_int32 -1%s-2147483647 = %d, wanted -1\n", `%`, got) 9231 failed = true 9232 } 9233 9234 if got := mod_int32_Neg2147483647_ssa(0); got != 0 { 9235 fmt.Printf("mod_int32 0%s-2147483647 = %d, wanted 0\n", `%`, got) 9236 failed = true 9237 } 9238 9239 if got := mod_Neg2147483647_int32_ssa(1); got != 0 { 9240 fmt.Printf("mod_int32 -2147483647%s1 = %d, wanted 0\n", `%`, got) 9241 failed = true 9242 } 9243 9244 if got := mod_int32_Neg2147483647_ssa(1); got != 1 { 9245 fmt.Printf("mod_int32 1%s-2147483647 = %d, wanted 1\n", `%`, got) 9246 failed = true 9247 } 9248 9249 if got := mod_Neg2147483647_int32_ssa(2147483647); got != 0 { 9250 fmt.Printf("mod_int32 -2147483647%s2147483647 = %d, wanted 0\n", `%`, got) 9251 failed = true 9252 } 9253 9254 if got := mod_int32_Neg2147483647_ssa(2147483647); got != 0 { 9255 fmt.Printf("mod_int32 2147483647%s-2147483647 = %d, wanted 0\n", `%`, got) 9256 failed = true 9257 } 9258 9259 if got := mod_Neg1_int32_ssa(-2147483648); got != -1 { 9260 fmt.Printf("mod_int32 -1%s-2147483648 = %d, wanted -1\n", `%`, got) 9261 failed = true 9262 } 9263 9264 if got := mod_int32_Neg1_ssa(-2147483648); got != 0 { 9265 fmt.Printf("mod_int32 -2147483648%s-1 = %d, wanted 0\n", `%`, got) 9266 failed = true 9267 } 9268 9269 if got := mod_Neg1_int32_ssa(-2147483647); got != -1 { 9270 fmt.Printf("mod_int32 -1%s-2147483647 = %d, wanted -1\n", `%`, got) 9271 failed = true 9272 } 9273 9274 if got := mod_int32_Neg1_ssa(-2147483647); got != 0 { 9275 fmt.Printf("mod_int32 -2147483647%s-1 = %d, wanted 0\n", `%`, got) 9276 failed = true 9277 } 9278 9279 if got := mod_Neg1_int32_ssa(-1); got != 0 { 9280 fmt.Printf("mod_int32 -1%s-1 = %d, wanted 0\n", `%`, got) 9281 failed = true 9282 } 9283 9284 if got := mod_int32_Neg1_ssa(-1); got != 0 { 9285 fmt.Printf("mod_int32 -1%s-1 = %d, wanted 0\n", `%`, got) 9286 failed = true 9287 } 9288 9289 if got := mod_int32_Neg1_ssa(0); got != 0 { 9290 fmt.Printf("mod_int32 0%s-1 = %d, wanted 0\n", `%`, got) 9291 failed = true 9292 } 9293 9294 if got := mod_Neg1_int32_ssa(1); got != 0 { 9295 fmt.Printf("mod_int32 -1%s1 = %d, wanted 0\n", `%`, got) 9296 failed = true 9297 } 9298 9299 if got := mod_int32_Neg1_ssa(1); got != 0 { 9300 fmt.Printf("mod_int32 1%s-1 = %d, wanted 0\n", `%`, got) 9301 failed = true 9302 } 9303 9304 if got := mod_Neg1_int32_ssa(2147483647); got != -1 { 9305 fmt.Printf("mod_int32 -1%s2147483647 = %d, wanted -1\n", `%`, got) 9306 failed = true 9307 } 9308 9309 if got := mod_int32_Neg1_ssa(2147483647); got != 0 { 9310 fmt.Printf("mod_int32 2147483647%s-1 = %d, wanted 0\n", `%`, got) 9311 failed = true 9312 } 9313 9314 if got := mod_0_int32_ssa(-2147483648); got != 0 { 9315 fmt.Printf("mod_int32 0%s-2147483648 = %d, wanted 0\n", `%`, got) 9316 failed = true 9317 } 9318 9319 if got := mod_0_int32_ssa(-2147483647); got != 0 { 9320 fmt.Printf("mod_int32 0%s-2147483647 = %d, wanted 0\n", `%`, got) 9321 failed = true 9322 } 9323 9324 if got := mod_0_int32_ssa(-1); got != 0 { 9325 fmt.Printf("mod_int32 0%s-1 = %d, wanted 0\n", `%`, got) 9326 failed = true 9327 } 9328 9329 if got := mod_0_int32_ssa(1); got != 0 { 9330 fmt.Printf("mod_int32 0%s1 = %d, wanted 0\n", `%`, got) 9331 failed = true 9332 } 9333 9334 if got := mod_0_int32_ssa(2147483647); got != 0 { 9335 fmt.Printf("mod_int32 0%s2147483647 = %d, wanted 0\n", `%`, got) 9336 failed = true 9337 } 9338 9339 if got := mod_1_int32_ssa(-2147483648); got != 1 { 9340 fmt.Printf("mod_int32 1%s-2147483648 = %d, wanted 1\n", `%`, got) 9341 failed = true 9342 } 9343 9344 if got := mod_int32_1_ssa(-2147483648); got != 0 { 9345 fmt.Printf("mod_int32 -2147483648%s1 = %d, wanted 0\n", `%`, got) 9346 failed = true 9347 } 9348 9349 if got := mod_1_int32_ssa(-2147483647); got != 1 { 9350 fmt.Printf("mod_int32 1%s-2147483647 = %d, wanted 1\n", `%`, got) 9351 failed = true 9352 } 9353 9354 if got := mod_int32_1_ssa(-2147483647); got != 0 { 9355 fmt.Printf("mod_int32 -2147483647%s1 = %d, wanted 0\n", `%`, got) 9356 failed = true 9357 } 9358 9359 if got := mod_1_int32_ssa(-1); got != 0 { 9360 fmt.Printf("mod_int32 1%s-1 = %d, wanted 0\n", `%`, got) 9361 failed = true 9362 } 9363 9364 if got := mod_int32_1_ssa(-1); got != 0 { 9365 fmt.Printf("mod_int32 -1%s1 = %d, wanted 0\n", `%`, got) 9366 failed = true 9367 } 9368 9369 if got := mod_int32_1_ssa(0); got != 0 { 9370 fmt.Printf("mod_int32 0%s1 = %d, wanted 0\n", `%`, got) 9371 failed = true 9372 } 9373 9374 if got := mod_1_int32_ssa(1); got != 0 { 9375 fmt.Printf("mod_int32 1%s1 = %d, wanted 0\n", `%`, got) 9376 failed = true 9377 } 9378 9379 if got := mod_int32_1_ssa(1); got != 0 { 9380 fmt.Printf("mod_int32 1%s1 = %d, wanted 0\n", `%`, got) 9381 failed = true 9382 } 9383 9384 if got := mod_1_int32_ssa(2147483647); got != 1 { 9385 fmt.Printf("mod_int32 1%s2147483647 = %d, wanted 1\n", `%`, got) 9386 failed = true 9387 } 9388 9389 if got := mod_int32_1_ssa(2147483647); got != 0 { 9390 fmt.Printf("mod_int32 2147483647%s1 = %d, wanted 0\n", `%`, got) 9391 failed = true 9392 } 9393 9394 if got := mod_2147483647_int32_ssa(-2147483648); got != 2147483647 { 9395 fmt.Printf("mod_int32 2147483647%s-2147483648 = %d, wanted 2147483647\n", `%`, got) 9396 failed = true 9397 } 9398 9399 if got := mod_int32_2147483647_ssa(-2147483648); got != -1 { 9400 fmt.Printf("mod_int32 -2147483648%s2147483647 = %d, wanted -1\n", `%`, got) 9401 failed = true 9402 } 9403 9404 if got := mod_2147483647_int32_ssa(-2147483647); got != 0 { 9405 fmt.Printf("mod_int32 2147483647%s-2147483647 = %d, wanted 0\n", `%`, got) 9406 failed = true 9407 } 9408 9409 if got := mod_int32_2147483647_ssa(-2147483647); got != 0 { 9410 fmt.Printf("mod_int32 -2147483647%s2147483647 = %d, wanted 0\n", `%`, got) 9411 failed = true 9412 } 9413 9414 if got := mod_2147483647_int32_ssa(-1); got != 0 { 9415 fmt.Printf("mod_int32 2147483647%s-1 = %d, wanted 0\n", `%`, got) 9416 failed = true 9417 } 9418 9419 if got := mod_int32_2147483647_ssa(-1); got != -1 { 9420 fmt.Printf("mod_int32 -1%s2147483647 = %d, wanted -1\n", `%`, got) 9421 failed = true 9422 } 9423 9424 if got := mod_int32_2147483647_ssa(0); got != 0 { 9425 fmt.Printf("mod_int32 0%s2147483647 = %d, wanted 0\n", `%`, got) 9426 failed = true 9427 } 9428 9429 if got := mod_2147483647_int32_ssa(1); got != 0 { 9430 fmt.Printf("mod_int32 2147483647%s1 = %d, wanted 0\n", `%`, got) 9431 failed = true 9432 } 9433 9434 if got := mod_int32_2147483647_ssa(1); got != 1 { 9435 fmt.Printf("mod_int32 1%s2147483647 = %d, wanted 1\n", `%`, got) 9436 failed = true 9437 } 9438 9439 if got := mod_2147483647_int32_ssa(2147483647); got != 0 { 9440 fmt.Printf("mod_int32 2147483647%s2147483647 = %d, wanted 0\n", `%`, got) 9441 failed = true 9442 } 9443 9444 if got := mod_int32_2147483647_ssa(2147483647); got != 0 { 9445 fmt.Printf("mod_int32 2147483647%s2147483647 = %d, wanted 0\n", `%`, got) 9446 failed = true 9447 } 9448 9449 if got := add_0_uint16_ssa(0); got != 0 { 9450 fmt.Printf("add_uint16 0%s0 = %d, wanted 0\n", `+`, got) 9451 failed = true 9452 } 9453 9454 if got := add_uint16_0_ssa(0); got != 0 { 9455 fmt.Printf("add_uint16 0%s0 = %d, wanted 0\n", `+`, got) 9456 failed = true 9457 } 9458 9459 if got := add_0_uint16_ssa(1); got != 1 { 9460 fmt.Printf("add_uint16 0%s1 = %d, wanted 1\n", `+`, got) 9461 failed = true 9462 } 9463 9464 if got := add_uint16_0_ssa(1); got != 1 { 9465 fmt.Printf("add_uint16 1%s0 = %d, wanted 1\n", `+`, got) 9466 failed = true 9467 } 9468 9469 if got := add_0_uint16_ssa(65535); got != 65535 { 9470 fmt.Printf("add_uint16 0%s65535 = %d, wanted 65535\n", `+`, got) 9471 failed = true 9472 } 9473 9474 if got := add_uint16_0_ssa(65535); got != 65535 { 9475 fmt.Printf("add_uint16 65535%s0 = %d, wanted 65535\n", `+`, got) 9476 failed = true 9477 } 9478 9479 if got := add_1_uint16_ssa(0); got != 1 { 9480 fmt.Printf("add_uint16 1%s0 = %d, wanted 1\n", `+`, got) 9481 failed = true 9482 } 9483 9484 if got := add_uint16_1_ssa(0); got != 1 { 9485 fmt.Printf("add_uint16 0%s1 = %d, wanted 1\n", `+`, got) 9486 failed = true 9487 } 9488 9489 if got := add_1_uint16_ssa(1); got != 2 { 9490 fmt.Printf("add_uint16 1%s1 = %d, wanted 2\n", `+`, got) 9491 failed = true 9492 } 9493 9494 if got := add_uint16_1_ssa(1); got != 2 { 9495 fmt.Printf("add_uint16 1%s1 = %d, wanted 2\n", `+`, got) 9496 failed = true 9497 } 9498 9499 if got := add_1_uint16_ssa(65535); got != 0 { 9500 fmt.Printf("add_uint16 1%s65535 = %d, wanted 0\n", `+`, got) 9501 failed = true 9502 } 9503 9504 if got := add_uint16_1_ssa(65535); got != 0 { 9505 fmt.Printf("add_uint16 65535%s1 = %d, wanted 0\n", `+`, got) 9506 failed = true 9507 } 9508 9509 if got := add_65535_uint16_ssa(0); got != 65535 { 9510 fmt.Printf("add_uint16 65535%s0 = %d, wanted 65535\n", `+`, got) 9511 failed = true 9512 } 9513 9514 if got := add_uint16_65535_ssa(0); got != 65535 { 9515 fmt.Printf("add_uint16 0%s65535 = %d, wanted 65535\n", `+`, got) 9516 failed = true 9517 } 9518 9519 if got := add_65535_uint16_ssa(1); got != 0 { 9520 fmt.Printf("add_uint16 65535%s1 = %d, wanted 0\n", `+`, got) 9521 failed = true 9522 } 9523 9524 if got := add_uint16_65535_ssa(1); got != 0 { 9525 fmt.Printf("add_uint16 1%s65535 = %d, wanted 0\n", `+`, got) 9526 failed = true 9527 } 9528 9529 if got := add_65535_uint16_ssa(65535); got != 65534 { 9530 fmt.Printf("add_uint16 65535%s65535 = %d, wanted 65534\n", `+`, got) 9531 failed = true 9532 } 9533 9534 if got := add_uint16_65535_ssa(65535); got != 65534 { 9535 fmt.Printf("add_uint16 65535%s65535 = %d, wanted 65534\n", `+`, got) 9536 failed = true 9537 } 9538 9539 if got := sub_0_uint16_ssa(0); got != 0 { 9540 fmt.Printf("sub_uint16 0%s0 = %d, wanted 0\n", `-`, got) 9541 failed = true 9542 } 9543 9544 if got := sub_uint16_0_ssa(0); got != 0 { 9545 fmt.Printf("sub_uint16 0%s0 = %d, wanted 0\n", `-`, got) 9546 failed = true 9547 } 9548 9549 if got := sub_0_uint16_ssa(1); got != 65535 { 9550 fmt.Printf("sub_uint16 0%s1 = %d, wanted 65535\n", `-`, got) 9551 failed = true 9552 } 9553 9554 if got := sub_uint16_0_ssa(1); got != 1 { 9555 fmt.Printf("sub_uint16 1%s0 = %d, wanted 1\n", `-`, got) 9556 failed = true 9557 } 9558 9559 if got := sub_0_uint16_ssa(65535); got != 1 { 9560 fmt.Printf("sub_uint16 0%s65535 = %d, wanted 1\n", `-`, got) 9561 failed = true 9562 } 9563 9564 if got := sub_uint16_0_ssa(65535); got != 65535 { 9565 fmt.Printf("sub_uint16 65535%s0 = %d, wanted 65535\n", `-`, got) 9566 failed = true 9567 } 9568 9569 if got := sub_1_uint16_ssa(0); got != 1 { 9570 fmt.Printf("sub_uint16 1%s0 = %d, wanted 1\n", `-`, got) 9571 failed = true 9572 } 9573 9574 if got := sub_uint16_1_ssa(0); got != 65535 { 9575 fmt.Printf("sub_uint16 0%s1 = %d, wanted 65535\n", `-`, got) 9576 failed = true 9577 } 9578 9579 if got := sub_1_uint16_ssa(1); got != 0 { 9580 fmt.Printf("sub_uint16 1%s1 = %d, wanted 0\n", `-`, got) 9581 failed = true 9582 } 9583 9584 if got := sub_uint16_1_ssa(1); got != 0 { 9585 fmt.Printf("sub_uint16 1%s1 = %d, wanted 0\n", `-`, got) 9586 failed = true 9587 } 9588 9589 if got := sub_1_uint16_ssa(65535); got != 2 { 9590 fmt.Printf("sub_uint16 1%s65535 = %d, wanted 2\n", `-`, got) 9591 failed = true 9592 } 9593 9594 if got := sub_uint16_1_ssa(65535); got != 65534 { 9595 fmt.Printf("sub_uint16 65535%s1 = %d, wanted 65534\n", `-`, got) 9596 failed = true 9597 } 9598 9599 if got := sub_65535_uint16_ssa(0); got != 65535 { 9600 fmt.Printf("sub_uint16 65535%s0 = %d, wanted 65535\n", `-`, got) 9601 failed = true 9602 } 9603 9604 if got := sub_uint16_65535_ssa(0); got != 1 { 9605 fmt.Printf("sub_uint16 0%s65535 = %d, wanted 1\n", `-`, got) 9606 failed = true 9607 } 9608 9609 if got := sub_65535_uint16_ssa(1); got != 65534 { 9610 fmt.Printf("sub_uint16 65535%s1 = %d, wanted 65534\n", `-`, got) 9611 failed = true 9612 } 9613 9614 if got := sub_uint16_65535_ssa(1); got != 2 { 9615 fmt.Printf("sub_uint16 1%s65535 = %d, wanted 2\n", `-`, got) 9616 failed = true 9617 } 9618 9619 if got := sub_65535_uint16_ssa(65535); got != 0 { 9620 fmt.Printf("sub_uint16 65535%s65535 = %d, wanted 0\n", `-`, got) 9621 failed = true 9622 } 9623 9624 if got := sub_uint16_65535_ssa(65535); got != 0 { 9625 fmt.Printf("sub_uint16 65535%s65535 = %d, wanted 0\n", `-`, got) 9626 failed = true 9627 } 9628 9629 if got := div_0_uint16_ssa(1); got != 0 { 9630 fmt.Printf("div_uint16 0%s1 = %d, wanted 0\n", `/`, got) 9631 failed = true 9632 } 9633 9634 if got := div_0_uint16_ssa(65535); got != 0 { 9635 fmt.Printf("div_uint16 0%s65535 = %d, wanted 0\n", `/`, got) 9636 failed = true 9637 } 9638 9639 if got := div_uint16_1_ssa(0); got != 0 { 9640 fmt.Printf("div_uint16 0%s1 = %d, wanted 0\n", `/`, got) 9641 failed = true 9642 } 9643 9644 if got := div_1_uint16_ssa(1); got != 1 { 9645 fmt.Printf("div_uint16 1%s1 = %d, wanted 1\n", `/`, got) 9646 failed = true 9647 } 9648 9649 if got := div_uint16_1_ssa(1); got != 1 { 9650 fmt.Printf("div_uint16 1%s1 = %d, wanted 1\n", `/`, got) 9651 failed = true 9652 } 9653 9654 if got := div_1_uint16_ssa(65535); got != 0 { 9655 fmt.Printf("div_uint16 1%s65535 = %d, wanted 0\n", `/`, got) 9656 failed = true 9657 } 9658 9659 if got := div_uint16_1_ssa(65535); got != 65535 { 9660 fmt.Printf("div_uint16 65535%s1 = %d, wanted 65535\n", `/`, got) 9661 failed = true 9662 } 9663 9664 if got := div_uint16_65535_ssa(0); got != 0 { 9665 fmt.Printf("div_uint16 0%s65535 = %d, wanted 0\n", `/`, got) 9666 failed = true 9667 } 9668 9669 if got := div_65535_uint16_ssa(1); got != 65535 { 9670 fmt.Printf("div_uint16 65535%s1 = %d, wanted 65535\n", `/`, got) 9671 failed = true 9672 } 9673 9674 if got := div_uint16_65535_ssa(1); got != 0 { 9675 fmt.Printf("div_uint16 1%s65535 = %d, wanted 0\n", `/`, got) 9676 failed = true 9677 } 9678 9679 if got := div_65535_uint16_ssa(65535); got != 1 { 9680 fmt.Printf("div_uint16 65535%s65535 = %d, wanted 1\n", `/`, got) 9681 failed = true 9682 } 9683 9684 if got := div_uint16_65535_ssa(65535); got != 1 { 9685 fmt.Printf("div_uint16 65535%s65535 = %d, wanted 1\n", `/`, got) 9686 failed = true 9687 } 9688 9689 if got := mul_0_uint16_ssa(0); got != 0 { 9690 fmt.Printf("mul_uint16 0%s0 = %d, wanted 0\n", `*`, got) 9691 failed = true 9692 } 9693 9694 if got := mul_uint16_0_ssa(0); got != 0 { 9695 fmt.Printf("mul_uint16 0%s0 = %d, wanted 0\n", `*`, got) 9696 failed = true 9697 } 9698 9699 if got := mul_0_uint16_ssa(1); got != 0 { 9700 fmt.Printf("mul_uint16 0%s1 = %d, wanted 0\n", `*`, got) 9701 failed = true 9702 } 9703 9704 if got := mul_uint16_0_ssa(1); got != 0 { 9705 fmt.Printf("mul_uint16 1%s0 = %d, wanted 0\n", `*`, got) 9706 failed = true 9707 } 9708 9709 if got := mul_0_uint16_ssa(65535); got != 0 { 9710 fmt.Printf("mul_uint16 0%s65535 = %d, wanted 0\n", `*`, got) 9711 failed = true 9712 } 9713 9714 if got := mul_uint16_0_ssa(65535); got != 0 { 9715 fmt.Printf("mul_uint16 65535%s0 = %d, wanted 0\n", `*`, got) 9716 failed = true 9717 } 9718 9719 if got := mul_1_uint16_ssa(0); got != 0 { 9720 fmt.Printf("mul_uint16 1%s0 = %d, wanted 0\n", `*`, got) 9721 failed = true 9722 } 9723 9724 if got := mul_uint16_1_ssa(0); got != 0 { 9725 fmt.Printf("mul_uint16 0%s1 = %d, wanted 0\n", `*`, got) 9726 failed = true 9727 } 9728 9729 if got := mul_1_uint16_ssa(1); got != 1 { 9730 fmt.Printf("mul_uint16 1%s1 = %d, wanted 1\n", `*`, got) 9731 failed = true 9732 } 9733 9734 if got := mul_uint16_1_ssa(1); got != 1 { 9735 fmt.Printf("mul_uint16 1%s1 = %d, wanted 1\n", `*`, got) 9736 failed = true 9737 } 9738 9739 if got := mul_1_uint16_ssa(65535); got != 65535 { 9740 fmt.Printf("mul_uint16 1%s65535 = %d, wanted 65535\n", `*`, got) 9741 failed = true 9742 } 9743 9744 if got := mul_uint16_1_ssa(65535); got != 65535 { 9745 fmt.Printf("mul_uint16 65535%s1 = %d, wanted 65535\n", `*`, got) 9746 failed = true 9747 } 9748 9749 if got := mul_65535_uint16_ssa(0); got != 0 { 9750 fmt.Printf("mul_uint16 65535%s0 = %d, wanted 0\n", `*`, got) 9751 failed = true 9752 } 9753 9754 if got := mul_uint16_65535_ssa(0); got != 0 { 9755 fmt.Printf("mul_uint16 0%s65535 = %d, wanted 0\n", `*`, got) 9756 failed = true 9757 } 9758 9759 if got := mul_65535_uint16_ssa(1); got != 65535 { 9760 fmt.Printf("mul_uint16 65535%s1 = %d, wanted 65535\n", `*`, got) 9761 failed = true 9762 } 9763 9764 if got := mul_uint16_65535_ssa(1); got != 65535 { 9765 fmt.Printf("mul_uint16 1%s65535 = %d, wanted 65535\n", `*`, got) 9766 failed = true 9767 } 9768 9769 if got := mul_65535_uint16_ssa(65535); got != 1 { 9770 fmt.Printf("mul_uint16 65535%s65535 = %d, wanted 1\n", `*`, got) 9771 failed = true 9772 } 9773 9774 if got := mul_uint16_65535_ssa(65535); got != 1 { 9775 fmt.Printf("mul_uint16 65535%s65535 = %d, wanted 1\n", `*`, got) 9776 failed = true 9777 } 9778 9779 if got := lsh_0_uint16_ssa(0); got != 0 { 9780 fmt.Printf("lsh_uint16 0%s0 = %d, wanted 0\n", `<<`, got) 9781 failed = true 9782 } 9783 9784 if got := lsh_uint16_0_ssa(0); got != 0 { 9785 fmt.Printf("lsh_uint16 0%s0 = %d, wanted 0\n", `<<`, got) 9786 failed = true 9787 } 9788 9789 if got := lsh_0_uint16_ssa(1); got != 0 { 9790 fmt.Printf("lsh_uint16 0%s1 = %d, wanted 0\n", `<<`, got) 9791 failed = true 9792 } 9793 9794 if got := lsh_uint16_0_ssa(1); got != 1 { 9795 fmt.Printf("lsh_uint16 1%s0 = %d, wanted 1\n", `<<`, got) 9796 failed = true 9797 } 9798 9799 if got := lsh_0_uint16_ssa(65535); got != 0 { 9800 fmt.Printf("lsh_uint16 0%s65535 = %d, wanted 0\n", `<<`, got) 9801 failed = true 9802 } 9803 9804 if got := lsh_uint16_0_ssa(65535); got != 65535 { 9805 fmt.Printf("lsh_uint16 65535%s0 = %d, wanted 65535\n", `<<`, got) 9806 failed = true 9807 } 9808 9809 if got := lsh_1_uint16_ssa(0); got != 1 { 9810 fmt.Printf("lsh_uint16 1%s0 = %d, wanted 1\n", `<<`, got) 9811 failed = true 9812 } 9813 9814 if got := lsh_uint16_1_ssa(0); got != 0 { 9815 fmt.Printf("lsh_uint16 0%s1 = %d, wanted 0\n", `<<`, got) 9816 failed = true 9817 } 9818 9819 if got := lsh_1_uint16_ssa(1); got != 2 { 9820 fmt.Printf("lsh_uint16 1%s1 = %d, wanted 2\n", `<<`, got) 9821 failed = true 9822 } 9823 9824 if got := lsh_uint16_1_ssa(1); got != 2 { 9825 fmt.Printf("lsh_uint16 1%s1 = %d, wanted 2\n", `<<`, got) 9826 failed = true 9827 } 9828 9829 if got := lsh_1_uint16_ssa(65535); got != 0 { 9830 fmt.Printf("lsh_uint16 1%s65535 = %d, wanted 0\n", `<<`, got) 9831 failed = true 9832 } 9833 9834 if got := lsh_uint16_1_ssa(65535); got != 65534 { 9835 fmt.Printf("lsh_uint16 65535%s1 = %d, wanted 65534\n", `<<`, got) 9836 failed = true 9837 } 9838 9839 if got := lsh_65535_uint16_ssa(0); got != 65535 { 9840 fmt.Printf("lsh_uint16 65535%s0 = %d, wanted 65535\n", `<<`, got) 9841 failed = true 9842 } 9843 9844 if got := lsh_uint16_65535_ssa(0); got != 0 { 9845 fmt.Printf("lsh_uint16 0%s65535 = %d, wanted 0\n", `<<`, got) 9846 failed = true 9847 } 9848 9849 if got := lsh_65535_uint16_ssa(1); got != 65534 { 9850 fmt.Printf("lsh_uint16 65535%s1 = %d, wanted 65534\n", `<<`, got) 9851 failed = true 9852 } 9853 9854 if got := lsh_uint16_65535_ssa(1); got != 0 { 9855 fmt.Printf("lsh_uint16 1%s65535 = %d, wanted 0\n", `<<`, got) 9856 failed = true 9857 } 9858 9859 if got := lsh_65535_uint16_ssa(65535); got != 0 { 9860 fmt.Printf("lsh_uint16 65535%s65535 = %d, wanted 0\n", `<<`, got) 9861 failed = true 9862 } 9863 9864 if got := lsh_uint16_65535_ssa(65535); got != 0 { 9865 fmt.Printf("lsh_uint16 65535%s65535 = %d, wanted 0\n", `<<`, got) 9866 failed = true 9867 } 9868 9869 if got := rsh_0_uint16_ssa(0); got != 0 { 9870 fmt.Printf("rsh_uint16 0%s0 = %d, wanted 0\n", `>>`, got) 9871 failed = true 9872 } 9873 9874 if got := rsh_uint16_0_ssa(0); got != 0 { 9875 fmt.Printf("rsh_uint16 0%s0 = %d, wanted 0\n", `>>`, got) 9876 failed = true 9877 } 9878 9879 if got := rsh_0_uint16_ssa(1); got != 0 { 9880 fmt.Printf("rsh_uint16 0%s1 = %d, wanted 0\n", `>>`, got) 9881 failed = true 9882 } 9883 9884 if got := rsh_uint16_0_ssa(1); got != 1 { 9885 fmt.Printf("rsh_uint16 1%s0 = %d, wanted 1\n", `>>`, got) 9886 failed = true 9887 } 9888 9889 if got := rsh_0_uint16_ssa(65535); got != 0 { 9890 fmt.Printf("rsh_uint16 0%s65535 = %d, wanted 0\n", `>>`, got) 9891 failed = true 9892 } 9893 9894 if got := rsh_uint16_0_ssa(65535); got != 65535 { 9895 fmt.Printf("rsh_uint16 65535%s0 = %d, wanted 65535\n", `>>`, got) 9896 failed = true 9897 } 9898 9899 if got := rsh_1_uint16_ssa(0); got != 1 { 9900 fmt.Printf("rsh_uint16 1%s0 = %d, wanted 1\n", `>>`, got) 9901 failed = true 9902 } 9903 9904 if got := rsh_uint16_1_ssa(0); got != 0 { 9905 fmt.Printf("rsh_uint16 0%s1 = %d, wanted 0\n", `>>`, got) 9906 failed = true 9907 } 9908 9909 if got := rsh_1_uint16_ssa(1); got != 0 { 9910 fmt.Printf("rsh_uint16 1%s1 = %d, wanted 0\n", `>>`, got) 9911 failed = true 9912 } 9913 9914 if got := rsh_uint16_1_ssa(1); got != 0 { 9915 fmt.Printf("rsh_uint16 1%s1 = %d, wanted 0\n", `>>`, got) 9916 failed = true 9917 } 9918 9919 if got := rsh_1_uint16_ssa(65535); got != 0 { 9920 fmt.Printf("rsh_uint16 1%s65535 = %d, wanted 0\n", `>>`, got) 9921 failed = true 9922 } 9923 9924 if got := rsh_uint16_1_ssa(65535); got != 32767 { 9925 fmt.Printf("rsh_uint16 65535%s1 = %d, wanted 32767\n", `>>`, got) 9926 failed = true 9927 } 9928 9929 if got := rsh_65535_uint16_ssa(0); got != 65535 { 9930 fmt.Printf("rsh_uint16 65535%s0 = %d, wanted 65535\n", `>>`, got) 9931 failed = true 9932 } 9933 9934 if got := rsh_uint16_65535_ssa(0); got != 0 { 9935 fmt.Printf("rsh_uint16 0%s65535 = %d, wanted 0\n", `>>`, got) 9936 failed = true 9937 } 9938 9939 if got := rsh_65535_uint16_ssa(1); got != 32767 { 9940 fmt.Printf("rsh_uint16 65535%s1 = %d, wanted 32767\n", `>>`, got) 9941 failed = true 9942 } 9943 9944 if got := rsh_uint16_65535_ssa(1); got != 0 { 9945 fmt.Printf("rsh_uint16 1%s65535 = %d, wanted 0\n", `>>`, got) 9946 failed = true 9947 } 9948 9949 if got := rsh_65535_uint16_ssa(65535); got != 0 { 9950 fmt.Printf("rsh_uint16 65535%s65535 = %d, wanted 0\n", `>>`, got) 9951 failed = true 9952 } 9953 9954 if got := rsh_uint16_65535_ssa(65535); got != 0 { 9955 fmt.Printf("rsh_uint16 65535%s65535 = %d, wanted 0\n", `>>`, got) 9956 failed = true 9957 } 9958 9959 if got := mod_0_uint16_ssa(1); got != 0 { 9960 fmt.Printf("mod_uint16 0%s1 = %d, wanted 0\n", `%`, got) 9961 failed = true 9962 } 9963 9964 if got := mod_0_uint16_ssa(65535); got != 0 { 9965 fmt.Printf("mod_uint16 0%s65535 = %d, wanted 0\n", `%`, got) 9966 failed = true 9967 } 9968 9969 if got := mod_uint16_1_ssa(0); got != 0 { 9970 fmt.Printf("mod_uint16 0%s1 = %d, wanted 0\n", `%`, got) 9971 failed = true 9972 } 9973 9974 if got := mod_1_uint16_ssa(1); got != 0 { 9975 fmt.Printf("mod_uint16 1%s1 = %d, wanted 0\n", `%`, got) 9976 failed = true 9977 } 9978 9979 if got := mod_uint16_1_ssa(1); got != 0 { 9980 fmt.Printf("mod_uint16 1%s1 = %d, wanted 0\n", `%`, got) 9981 failed = true 9982 } 9983 9984 if got := mod_1_uint16_ssa(65535); got != 1 { 9985 fmt.Printf("mod_uint16 1%s65535 = %d, wanted 1\n", `%`, got) 9986 failed = true 9987 } 9988 9989 if got := mod_uint16_1_ssa(65535); got != 0 { 9990 fmt.Printf("mod_uint16 65535%s1 = %d, wanted 0\n", `%`, got) 9991 failed = true 9992 } 9993 9994 if got := mod_uint16_65535_ssa(0); got != 0 { 9995 fmt.Printf("mod_uint16 0%s65535 = %d, wanted 0\n", `%`, got) 9996 failed = true 9997 } 9998 9999 if got := mod_65535_uint16_ssa(1); got != 0 { 10000 fmt.Printf("mod_uint16 65535%s1 = %d, wanted 0\n", `%`, got) 10001 failed = true 10002 } 10003 10004 if got := mod_uint16_65535_ssa(1); got != 1 { 10005 fmt.Printf("mod_uint16 1%s65535 = %d, wanted 1\n", `%`, got) 10006 failed = true 10007 } 10008 10009 if got := mod_65535_uint16_ssa(65535); got != 0 { 10010 fmt.Printf("mod_uint16 65535%s65535 = %d, wanted 0\n", `%`, got) 10011 failed = true 10012 } 10013 10014 if got := mod_uint16_65535_ssa(65535); got != 0 { 10015 fmt.Printf("mod_uint16 65535%s65535 = %d, wanted 0\n", `%`, got) 10016 failed = true 10017 } 10018 10019 if got := add_Neg32768_int16_ssa(-32768); got != 0 { 10020 fmt.Printf("add_int16 -32768%s-32768 = %d, wanted 0\n", `+`, got) 10021 failed = true 10022 } 10023 10024 if got := add_int16_Neg32768_ssa(-32768); got != 0 { 10025 fmt.Printf("add_int16 -32768%s-32768 = %d, wanted 0\n", `+`, got) 10026 failed = true 10027 } 10028 10029 if got := add_Neg32768_int16_ssa(-32767); got != 1 { 10030 fmt.Printf("add_int16 -32768%s-32767 = %d, wanted 1\n", `+`, got) 10031 failed = true 10032 } 10033 10034 if got := add_int16_Neg32768_ssa(-32767); got != 1 { 10035 fmt.Printf("add_int16 -32767%s-32768 = %d, wanted 1\n", `+`, got) 10036 failed = true 10037 } 10038 10039 if got := add_Neg32768_int16_ssa(-1); got != 32767 { 10040 fmt.Printf("add_int16 -32768%s-1 = %d, wanted 32767\n", `+`, got) 10041 failed = true 10042 } 10043 10044 if got := add_int16_Neg32768_ssa(-1); got != 32767 { 10045 fmt.Printf("add_int16 -1%s-32768 = %d, wanted 32767\n", `+`, got) 10046 failed = true 10047 } 10048 10049 if got := add_Neg32768_int16_ssa(0); got != -32768 { 10050 fmt.Printf("add_int16 -32768%s0 = %d, wanted -32768\n", `+`, got) 10051 failed = true 10052 } 10053 10054 if got := add_int16_Neg32768_ssa(0); got != -32768 { 10055 fmt.Printf("add_int16 0%s-32768 = %d, wanted -32768\n", `+`, got) 10056 failed = true 10057 } 10058 10059 if got := add_Neg32768_int16_ssa(1); got != -32767 { 10060 fmt.Printf("add_int16 -32768%s1 = %d, wanted -32767\n", `+`, got) 10061 failed = true 10062 } 10063 10064 if got := add_int16_Neg32768_ssa(1); got != -32767 { 10065 fmt.Printf("add_int16 1%s-32768 = %d, wanted -32767\n", `+`, got) 10066 failed = true 10067 } 10068 10069 if got := add_Neg32768_int16_ssa(32766); got != -2 { 10070 fmt.Printf("add_int16 -32768%s32766 = %d, wanted -2\n", `+`, got) 10071 failed = true 10072 } 10073 10074 if got := add_int16_Neg32768_ssa(32766); got != -2 { 10075 fmt.Printf("add_int16 32766%s-32768 = %d, wanted -2\n", `+`, got) 10076 failed = true 10077 } 10078 10079 if got := add_Neg32768_int16_ssa(32767); got != -1 { 10080 fmt.Printf("add_int16 -32768%s32767 = %d, wanted -1\n", `+`, got) 10081 failed = true 10082 } 10083 10084 if got := add_int16_Neg32768_ssa(32767); got != -1 { 10085 fmt.Printf("add_int16 32767%s-32768 = %d, wanted -1\n", `+`, got) 10086 failed = true 10087 } 10088 10089 if got := add_Neg32767_int16_ssa(-32768); got != 1 { 10090 fmt.Printf("add_int16 -32767%s-32768 = %d, wanted 1\n", `+`, got) 10091 failed = true 10092 } 10093 10094 if got := add_int16_Neg32767_ssa(-32768); got != 1 { 10095 fmt.Printf("add_int16 -32768%s-32767 = %d, wanted 1\n", `+`, got) 10096 failed = true 10097 } 10098 10099 if got := add_Neg32767_int16_ssa(-32767); got != 2 { 10100 fmt.Printf("add_int16 -32767%s-32767 = %d, wanted 2\n", `+`, got) 10101 failed = true 10102 } 10103 10104 if got := add_int16_Neg32767_ssa(-32767); got != 2 { 10105 fmt.Printf("add_int16 -32767%s-32767 = %d, wanted 2\n", `+`, got) 10106 failed = true 10107 } 10108 10109 if got := add_Neg32767_int16_ssa(-1); got != -32768 { 10110 fmt.Printf("add_int16 -32767%s-1 = %d, wanted -32768\n", `+`, got) 10111 failed = true 10112 } 10113 10114 if got := add_int16_Neg32767_ssa(-1); got != -32768 { 10115 fmt.Printf("add_int16 -1%s-32767 = %d, wanted -32768\n", `+`, got) 10116 failed = true 10117 } 10118 10119 if got := add_Neg32767_int16_ssa(0); got != -32767 { 10120 fmt.Printf("add_int16 -32767%s0 = %d, wanted -32767\n", `+`, got) 10121 failed = true 10122 } 10123 10124 if got := add_int16_Neg32767_ssa(0); got != -32767 { 10125 fmt.Printf("add_int16 0%s-32767 = %d, wanted -32767\n", `+`, got) 10126 failed = true 10127 } 10128 10129 if got := add_Neg32767_int16_ssa(1); got != -32766 { 10130 fmt.Printf("add_int16 -32767%s1 = %d, wanted -32766\n", `+`, got) 10131 failed = true 10132 } 10133 10134 if got := add_int16_Neg32767_ssa(1); got != -32766 { 10135 fmt.Printf("add_int16 1%s-32767 = %d, wanted -32766\n", `+`, got) 10136 failed = true 10137 } 10138 10139 if got := add_Neg32767_int16_ssa(32766); got != -1 { 10140 fmt.Printf("add_int16 -32767%s32766 = %d, wanted -1\n", `+`, got) 10141 failed = true 10142 } 10143 10144 if got := add_int16_Neg32767_ssa(32766); got != -1 { 10145 fmt.Printf("add_int16 32766%s-32767 = %d, wanted -1\n", `+`, got) 10146 failed = true 10147 } 10148 10149 if got := add_Neg32767_int16_ssa(32767); got != 0 { 10150 fmt.Printf("add_int16 -32767%s32767 = %d, wanted 0\n", `+`, got) 10151 failed = true 10152 } 10153 10154 if got := add_int16_Neg32767_ssa(32767); got != 0 { 10155 fmt.Printf("add_int16 32767%s-32767 = %d, wanted 0\n", `+`, got) 10156 failed = true 10157 } 10158 10159 if got := add_Neg1_int16_ssa(-32768); got != 32767 { 10160 fmt.Printf("add_int16 -1%s-32768 = %d, wanted 32767\n", `+`, got) 10161 failed = true 10162 } 10163 10164 if got := add_int16_Neg1_ssa(-32768); got != 32767 { 10165 fmt.Printf("add_int16 -32768%s-1 = %d, wanted 32767\n", `+`, got) 10166 failed = true 10167 } 10168 10169 if got := add_Neg1_int16_ssa(-32767); got != -32768 { 10170 fmt.Printf("add_int16 -1%s-32767 = %d, wanted -32768\n", `+`, got) 10171 failed = true 10172 } 10173 10174 if got := add_int16_Neg1_ssa(-32767); got != -32768 { 10175 fmt.Printf("add_int16 -32767%s-1 = %d, wanted -32768\n", `+`, got) 10176 failed = true 10177 } 10178 10179 if got := add_Neg1_int16_ssa(-1); got != -2 { 10180 fmt.Printf("add_int16 -1%s-1 = %d, wanted -2\n", `+`, got) 10181 failed = true 10182 } 10183 10184 if got := add_int16_Neg1_ssa(-1); got != -2 { 10185 fmt.Printf("add_int16 -1%s-1 = %d, wanted -2\n", `+`, got) 10186 failed = true 10187 } 10188 10189 if got := add_Neg1_int16_ssa(0); got != -1 { 10190 fmt.Printf("add_int16 -1%s0 = %d, wanted -1\n", `+`, got) 10191 failed = true 10192 } 10193 10194 if got := add_int16_Neg1_ssa(0); got != -1 { 10195 fmt.Printf("add_int16 0%s-1 = %d, wanted -1\n", `+`, got) 10196 failed = true 10197 } 10198 10199 if got := add_Neg1_int16_ssa(1); got != 0 { 10200 fmt.Printf("add_int16 -1%s1 = %d, wanted 0\n", `+`, got) 10201 failed = true 10202 } 10203 10204 if got := add_int16_Neg1_ssa(1); got != 0 { 10205 fmt.Printf("add_int16 1%s-1 = %d, wanted 0\n", `+`, got) 10206 failed = true 10207 } 10208 10209 if got := add_Neg1_int16_ssa(32766); got != 32765 { 10210 fmt.Printf("add_int16 -1%s32766 = %d, wanted 32765\n", `+`, got) 10211 failed = true 10212 } 10213 10214 if got := add_int16_Neg1_ssa(32766); got != 32765 { 10215 fmt.Printf("add_int16 32766%s-1 = %d, wanted 32765\n", `+`, got) 10216 failed = true 10217 } 10218 10219 if got := add_Neg1_int16_ssa(32767); got != 32766 { 10220 fmt.Printf("add_int16 -1%s32767 = %d, wanted 32766\n", `+`, got) 10221 failed = true 10222 } 10223 10224 if got := add_int16_Neg1_ssa(32767); got != 32766 { 10225 fmt.Printf("add_int16 32767%s-1 = %d, wanted 32766\n", `+`, got) 10226 failed = true 10227 } 10228 10229 if got := add_0_int16_ssa(-32768); got != -32768 { 10230 fmt.Printf("add_int16 0%s-32768 = %d, wanted -32768\n", `+`, got) 10231 failed = true 10232 } 10233 10234 if got := add_int16_0_ssa(-32768); got != -32768 { 10235 fmt.Printf("add_int16 -32768%s0 = %d, wanted -32768\n", `+`, got) 10236 failed = true 10237 } 10238 10239 if got := add_0_int16_ssa(-32767); got != -32767 { 10240 fmt.Printf("add_int16 0%s-32767 = %d, wanted -32767\n", `+`, got) 10241 failed = true 10242 } 10243 10244 if got := add_int16_0_ssa(-32767); got != -32767 { 10245 fmt.Printf("add_int16 -32767%s0 = %d, wanted -32767\n", `+`, got) 10246 failed = true 10247 } 10248 10249 if got := add_0_int16_ssa(-1); got != -1 { 10250 fmt.Printf("add_int16 0%s-1 = %d, wanted -1\n", `+`, got) 10251 failed = true 10252 } 10253 10254 if got := add_int16_0_ssa(-1); got != -1 { 10255 fmt.Printf("add_int16 -1%s0 = %d, wanted -1\n", `+`, got) 10256 failed = true 10257 } 10258 10259 if got := add_0_int16_ssa(0); got != 0 { 10260 fmt.Printf("add_int16 0%s0 = %d, wanted 0\n", `+`, got) 10261 failed = true 10262 } 10263 10264 if got := add_int16_0_ssa(0); got != 0 { 10265 fmt.Printf("add_int16 0%s0 = %d, wanted 0\n", `+`, got) 10266 failed = true 10267 } 10268 10269 if got := add_0_int16_ssa(1); got != 1 { 10270 fmt.Printf("add_int16 0%s1 = %d, wanted 1\n", `+`, got) 10271 failed = true 10272 } 10273 10274 if got := add_int16_0_ssa(1); got != 1 { 10275 fmt.Printf("add_int16 1%s0 = %d, wanted 1\n", `+`, got) 10276 failed = true 10277 } 10278 10279 if got := add_0_int16_ssa(32766); got != 32766 { 10280 fmt.Printf("add_int16 0%s32766 = %d, wanted 32766\n", `+`, got) 10281 failed = true 10282 } 10283 10284 if got := add_int16_0_ssa(32766); got != 32766 { 10285 fmt.Printf("add_int16 32766%s0 = %d, wanted 32766\n", `+`, got) 10286 failed = true 10287 } 10288 10289 if got := add_0_int16_ssa(32767); got != 32767 { 10290 fmt.Printf("add_int16 0%s32767 = %d, wanted 32767\n", `+`, got) 10291 failed = true 10292 } 10293 10294 if got := add_int16_0_ssa(32767); got != 32767 { 10295 fmt.Printf("add_int16 32767%s0 = %d, wanted 32767\n", `+`, got) 10296 failed = true 10297 } 10298 10299 if got := add_1_int16_ssa(-32768); got != -32767 { 10300 fmt.Printf("add_int16 1%s-32768 = %d, wanted -32767\n", `+`, got) 10301 failed = true 10302 } 10303 10304 if got := add_int16_1_ssa(-32768); got != -32767 { 10305 fmt.Printf("add_int16 -32768%s1 = %d, wanted -32767\n", `+`, got) 10306 failed = true 10307 } 10308 10309 if got := add_1_int16_ssa(-32767); got != -32766 { 10310 fmt.Printf("add_int16 1%s-32767 = %d, wanted -32766\n", `+`, got) 10311 failed = true 10312 } 10313 10314 if got := add_int16_1_ssa(-32767); got != -32766 { 10315 fmt.Printf("add_int16 -32767%s1 = %d, wanted -32766\n", `+`, got) 10316 failed = true 10317 } 10318 10319 if got := add_1_int16_ssa(-1); got != 0 { 10320 fmt.Printf("add_int16 1%s-1 = %d, wanted 0\n", `+`, got) 10321 failed = true 10322 } 10323 10324 if got := add_int16_1_ssa(-1); got != 0 { 10325 fmt.Printf("add_int16 -1%s1 = %d, wanted 0\n", `+`, got) 10326 failed = true 10327 } 10328 10329 if got := add_1_int16_ssa(0); got != 1 { 10330 fmt.Printf("add_int16 1%s0 = %d, wanted 1\n", `+`, got) 10331 failed = true 10332 } 10333 10334 if got := add_int16_1_ssa(0); got != 1 { 10335 fmt.Printf("add_int16 0%s1 = %d, wanted 1\n", `+`, got) 10336 failed = true 10337 } 10338 10339 if got := add_1_int16_ssa(1); got != 2 { 10340 fmt.Printf("add_int16 1%s1 = %d, wanted 2\n", `+`, got) 10341 failed = true 10342 } 10343 10344 if got := add_int16_1_ssa(1); got != 2 { 10345 fmt.Printf("add_int16 1%s1 = %d, wanted 2\n", `+`, got) 10346 failed = true 10347 } 10348 10349 if got := add_1_int16_ssa(32766); got != 32767 { 10350 fmt.Printf("add_int16 1%s32766 = %d, wanted 32767\n", `+`, got) 10351 failed = true 10352 } 10353 10354 if got := add_int16_1_ssa(32766); got != 32767 { 10355 fmt.Printf("add_int16 32766%s1 = %d, wanted 32767\n", `+`, got) 10356 failed = true 10357 } 10358 10359 if got := add_1_int16_ssa(32767); got != -32768 { 10360 fmt.Printf("add_int16 1%s32767 = %d, wanted -32768\n", `+`, got) 10361 failed = true 10362 } 10363 10364 if got := add_int16_1_ssa(32767); got != -32768 { 10365 fmt.Printf("add_int16 32767%s1 = %d, wanted -32768\n", `+`, got) 10366 failed = true 10367 } 10368 10369 if got := add_32766_int16_ssa(-32768); got != -2 { 10370 fmt.Printf("add_int16 32766%s-32768 = %d, wanted -2\n", `+`, got) 10371 failed = true 10372 } 10373 10374 if got := add_int16_32766_ssa(-32768); got != -2 { 10375 fmt.Printf("add_int16 -32768%s32766 = %d, wanted -2\n", `+`, got) 10376 failed = true 10377 } 10378 10379 if got := add_32766_int16_ssa(-32767); got != -1 { 10380 fmt.Printf("add_int16 32766%s-32767 = %d, wanted -1\n", `+`, got) 10381 failed = true 10382 } 10383 10384 if got := add_int16_32766_ssa(-32767); got != -1 { 10385 fmt.Printf("add_int16 -32767%s32766 = %d, wanted -1\n", `+`, got) 10386 failed = true 10387 } 10388 10389 if got := add_32766_int16_ssa(-1); got != 32765 { 10390 fmt.Printf("add_int16 32766%s-1 = %d, wanted 32765\n", `+`, got) 10391 failed = true 10392 } 10393 10394 if got := add_int16_32766_ssa(-1); got != 32765 { 10395 fmt.Printf("add_int16 -1%s32766 = %d, wanted 32765\n", `+`, got) 10396 failed = true 10397 } 10398 10399 if got := add_32766_int16_ssa(0); got != 32766 { 10400 fmt.Printf("add_int16 32766%s0 = %d, wanted 32766\n", `+`, got) 10401 failed = true 10402 } 10403 10404 if got := add_int16_32766_ssa(0); got != 32766 { 10405 fmt.Printf("add_int16 0%s32766 = %d, wanted 32766\n", `+`, got) 10406 failed = true 10407 } 10408 10409 if got := add_32766_int16_ssa(1); got != 32767 { 10410 fmt.Printf("add_int16 32766%s1 = %d, wanted 32767\n", `+`, got) 10411 failed = true 10412 } 10413 10414 if got := add_int16_32766_ssa(1); got != 32767 { 10415 fmt.Printf("add_int16 1%s32766 = %d, wanted 32767\n", `+`, got) 10416 failed = true 10417 } 10418 10419 if got := add_32766_int16_ssa(32766); got != -4 { 10420 fmt.Printf("add_int16 32766%s32766 = %d, wanted -4\n", `+`, got) 10421 failed = true 10422 } 10423 10424 if got := add_int16_32766_ssa(32766); got != -4 { 10425 fmt.Printf("add_int16 32766%s32766 = %d, wanted -4\n", `+`, got) 10426 failed = true 10427 } 10428 10429 if got := add_32766_int16_ssa(32767); got != -3 { 10430 fmt.Printf("add_int16 32766%s32767 = %d, wanted -3\n", `+`, got) 10431 failed = true 10432 } 10433 10434 if got := add_int16_32766_ssa(32767); got != -3 { 10435 fmt.Printf("add_int16 32767%s32766 = %d, wanted -3\n", `+`, got) 10436 failed = true 10437 } 10438 10439 if got := add_32767_int16_ssa(-32768); got != -1 { 10440 fmt.Printf("add_int16 32767%s-32768 = %d, wanted -1\n", `+`, got) 10441 failed = true 10442 } 10443 10444 if got := add_int16_32767_ssa(-32768); got != -1 { 10445 fmt.Printf("add_int16 -32768%s32767 = %d, wanted -1\n", `+`, got) 10446 failed = true 10447 } 10448 10449 if got := add_32767_int16_ssa(-32767); got != 0 { 10450 fmt.Printf("add_int16 32767%s-32767 = %d, wanted 0\n", `+`, got) 10451 failed = true 10452 } 10453 10454 if got := add_int16_32767_ssa(-32767); got != 0 { 10455 fmt.Printf("add_int16 -32767%s32767 = %d, wanted 0\n", `+`, got) 10456 failed = true 10457 } 10458 10459 if got := add_32767_int16_ssa(-1); got != 32766 { 10460 fmt.Printf("add_int16 32767%s-1 = %d, wanted 32766\n", `+`, got) 10461 failed = true 10462 } 10463 10464 if got := add_int16_32767_ssa(-1); got != 32766 { 10465 fmt.Printf("add_int16 -1%s32767 = %d, wanted 32766\n", `+`, got) 10466 failed = true 10467 } 10468 10469 if got := add_32767_int16_ssa(0); got != 32767 { 10470 fmt.Printf("add_int16 32767%s0 = %d, wanted 32767\n", `+`, got) 10471 failed = true 10472 } 10473 10474 if got := add_int16_32767_ssa(0); got != 32767 { 10475 fmt.Printf("add_int16 0%s32767 = %d, wanted 32767\n", `+`, got) 10476 failed = true 10477 } 10478 10479 if got := add_32767_int16_ssa(1); got != -32768 { 10480 fmt.Printf("add_int16 32767%s1 = %d, wanted -32768\n", `+`, got) 10481 failed = true 10482 } 10483 10484 if got := add_int16_32767_ssa(1); got != -32768 { 10485 fmt.Printf("add_int16 1%s32767 = %d, wanted -32768\n", `+`, got) 10486 failed = true 10487 } 10488 10489 if got := add_32767_int16_ssa(32766); got != -3 { 10490 fmt.Printf("add_int16 32767%s32766 = %d, wanted -3\n", `+`, got) 10491 failed = true 10492 } 10493 10494 if got := add_int16_32767_ssa(32766); got != -3 { 10495 fmt.Printf("add_int16 32766%s32767 = %d, wanted -3\n", `+`, got) 10496 failed = true 10497 } 10498 10499 if got := add_32767_int16_ssa(32767); got != -2 { 10500 fmt.Printf("add_int16 32767%s32767 = %d, wanted -2\n", `+`, got) 10501 failed = true 10502 } 10503 10504 if got := add_int16_32767_ssa(32767); got != -2 { 10505 fmt.Printf("add_int16 32767%s32767 = %d, wanted -2\n", `+`, got) 10506 failed = true 10507 } 10508 10509 if got := sub_Neg32768_int16_ssa(-32768); got != 0 { 10510 fmt.Printf("sub_int16 -32768%s-32768 = %d, wanted 0\n", `-`, got) 10511 failed = true 10512 } 10513 10514 if got := sub_int16_Neg32768_ssa(-32768); got != 0 { 10515 fmt.Printf("sub_int16 -32768%s-32768 = %d, wanted 0\n", `-`, got) 10516 failed = true 10517 } 10518 10519 if got := sub_Neg32768_int16_ssa(-32767); got != -1 { 10520 fmt.Printf("sub_int16 -32768%s-32767 = %d, wanted -1\n", `-`, got) 10521 failed = true 10522 } 10523 10524 if got := sub_int16_Neg32768_ssa(-32767); got != 1 { 10525 fmt.Printf("sub_int16 -32767%s-32768 = %d, wanted 1\n", `-`, got) 10526 failed = true 10527 } 10528 10529 if got := sub_Neg32768_int16_ssa(-1); got != -32767 { 10530 fmt.Printf("sub_int16 -32768%s-1 = %d, wanted -32767\n", `-`, got) 10531 failed = true 10532 } 10533 10534 if got := sub_int16_Neg32768_ssa(-1); got != 32767 { 10535 fmt.Printf("sub_int16 -1%s-32768 = %d, wanted 32767\n", `-`, got) 10536 failed = true 10537 } 10538 10539 if got := sub_Neg32768_int16_ssa(0); got != -32768 { 10540 fmt.Printf("sub_int16 -32768%s0 = %d, wanted -32768\n", `-`, got) 10541 failed = true 10542 } 10543 10544 if got := sub_int16_Neg32768_ssa(0); got != -32768 { 10545 fmt.Printf("sub_int16 0%s-32768 = %d, wanted -32768\n", `-`, got) 10546 failed = true 10547 } 10548 10549 if got := sub_Neg32768_int16_ssa(1); got != 32767 { 10550 fmt.Printf("sub_int16 -32768%s1 = %d, wanted 32767\n", `-`, got) 10551 failed = true 10552 } 10553 10554 if got := sub_int16_Neg32768_ssa(1); got != -32767 { 10555 fmt.Printf("sub_int16 1%s-32768 = %d, wanted -32767\n", `-`, got) 10556 failed = true 10557 } 10558 10559 if got := sub_Neg32768_int16_ssa(32766); got != 2 { 10560 fmt.Printf("sub_int16 -32768%s32766 = %d, wanted 2\n", `-`, got) 10561 failed = true 10562 } 10563 10564 if got := sub_int16_Neg32768_ssa(32766); got != -2 { 10565 fmt.Printf("sub_int16 32766%s-32768 = %d, wanted -2\n", `-`, got) 10566 failed = true 10567 } 10568 10569 if got := sub_Neg32768_int16_ssa(32767); got != 1 { 10570 fmt.Printf("sub_int16 -32768%s32767 = %d, wanted 1\n", `-`, got) 10571 failed = true 10572 } 10573 10574 if got := sub_int16_Neg32768_ssa(32767); got != -1 { 10575 fmt.Printf("sub_int16 32767%s-32768 = %d, wanted -1\n", `-`, got) 10576 failed = true 10577 } 10578 10579 if got := sub_Neg32767_int16_ssa(-32768); got != 1 { 10580 fmt.Printf("sub_int16 -32767%s-32768 = %d, wanted 1\n", `-`, got) 10581 failed = true 10582 } 10583 10584 if got := sub_int16_Neg32767_ssa(-32768); got != -1 { 10585 fmt.Printf("sub_int16 -32768%s-32767 = %d, wanted -1\n", `-`, got) 10586 failed = true 10587 } 10588 10589 if got := sub_Neg32767_int16_ssa(-32767); got != 0 { 10590 fmt.Printf("sub_int16 -32767%s-32767 = %d, wanted 0\n", `-`, got) 10591 failed = true 10592 } 10593 10594 if got := sub_int16_Neg32767_ssa(-32767); got != 0 { 10595 fmt.Printf("sub_int16 -32767%s-32767 = %d, wanted 0\n", `-`, got) 10596 failed = true 10597 } 10598 10599 if got := sub_Neg32767_int16_ssa(-1); got != -32766 { 10600 fmt.Printf("sub_int16 -32767%s-1 = %d, wanted -32766\n", `-`, got) 10601 failed = true 10602 } 10603 10604 if got := sub_int16_Neg32767_ssa(-1); got != 32766 { 10605 fmt.Printf("sub_int16 -1%s-32767 = %d, wanted 32766\n", `-`, got) 10606 failed = true 10607 } 10608 10609 if got := sub_Neg32767_int16_ssa(0); got != -32767 { 10610 fmt.Printf("sub_int16 -32767%s0 = %d, wanted -32767\n", `-`, got) 10611 failed = true 10612 } 10613 10614 if got := sub_int16_Neg32767_ssa(0); got != 32767 { 10615 fmt.Printf("sub_int16 0%s-32767 = %d, wanted 32767\n", `-`, got) 10616 failed = true 10617 } 10618 10619 if got := sub_Neg32767_int16_ssa(1); got != -32768 { 10620 fmt.Printf("sub_int16 -32767%s1 = %d, wanted -32768\n", `-`, got) 10621 failed = true 10622 } 10623 10624 if got := sub_int16_Neg32767_ssa(1); got != -32768 { 10625 fmt.Printf("sub_int16 1%s-32767 = %d, wanted -32768\n", `-`, got) 10626 failed = true 10627 } 10628 10629 if got := sub_Neg32767_int16_ssa(32766); got != 3 { 10630 fmt.Printf("sub_int16 -32767%s32766 = %d, wanted 3\n", `-`, got) 10631 failed = true 10632 } 10633 10634 if got := sub_int16_Neg32767_ssa(32766); got != -3 { 10635 fmt.Printf("sub_int16 32766%s-32767 = %d, wanted -3\n", `-`, got) 10636 failed = true 10637 } 10638 10639 if got := sub_Neg32767_int16_ssa(32767); got != 2 { 10640 fmt.Printf("sub_int16 -32767%s32767 = %d, wanted 2\n", `-`, got) 10641 failed = true 10642 } 10643 10644 if got := sub_int16_Neg32767_ssa(32767); got != -2 { 10645 fmt.Printf("sub_int16 32767%s-32767 = %d, wanted -2\n", `-`, got) 10646 failed = true 10647 } 10648 10649 if got := sub_Neg1_int16_ssa(-32768); got != 32767 { 10650 fmt.Printf("sub_int16 -1%s-32768 = %d, wanted 32767\n", `-`, got) 10651 failed = true 10652 } 10653 10654 if got := sub_int16_Neg1_ssa(-32768); got != -32767 { 10655 fmt.Printf("sub_int16 -32768%s-1 = %d, wanted -32767\n", `-`, got) 10656 failed = true 10657 } 10658 10659 if got := sub_Neg1_int16_ssa(-32767); got != 32766 { 10660 fmt.Printf("sub_int16 -1%s-32767 = %d, wanted 32766\n", `-`, got) 10661 failed = true 10662 } 10663 10664 if got := sub_int16_Neg1_ssa(-32767); got != -32766 { 10665 fmt.Printf("sub_int16 -32767%s-1 = %d, wanted -32766\n", `-`, got) 10666 failed = true 10667 } 10668 10669 if got := sub_Neg1_int16_ssa(-1); got != 0 { 10670 fmt.Printf("sub_int16 -1%s-1 = %d, wanted 0\n", `-`, got) 10671 failed = true 10672 } 10673 10674 if got := sub_int16_Neg1_ssa(-1); got != 0 { 10675 fmt.Printf("sub_int16 -1%s-1 = %d, wanted 0\n", `-`, got) 10676 failed = true 10677 } 10678 10679 if got := sub_Neg1_int16_ssa(0); got != -1 { 10680 fmt.Printf("sub_int16 -1%s0 = %d, wanted -1\n", `-`, got) 10681 failed = true 10682 } 10683 10684 if got := sub_int16_Neg1_ssa(0); got != 1 { 10685 fmt.Printf("sub_int16 0%s-1 = %d, wanted 1\n", `-`, got) 10686 failed = true 10687 } 10688 10689 if got := sub_Neg1_int16_ssa(1); got != -2 { 10690 fmt.Printf("sub_int16 -1%s1 = %d, wanted -2\n", `-`, got) 10691 failed = true 10692 } 10693 10694 if got := sub_int16_Neg1_ssa(1); got != 2 { 10695 fmt.Printf("sub_int16 1%s-1 = %d, wanted 2\n", `-`, got) 10696 failed = true 10697 } 10698 10699 if got := sub_Neg1_int16_ssa(32766); got != -32767 { 10700 fmt.Printf("sub_int16 -1%s32766 = %d, wanted -32767\n", `-`, got) 10701 failed = true 10702 } 10703 10704 if got := sub_int16_Neg1_ssa(32766); got != 32767 { 10705 fmt.Printf("sub_int16 32766%s-1 = %d, wanted 32767\n", `-`, got) 10706 failed = true 10707 } 10708 10709 if got := sub_Neg1_int16_ssa(32767); got != -32768 { 10710 fmt.Printf("sub_int16 -1%s32767 = %d, wanted -32768\n", `-`, got) 10711 failed = true 10712 } 10713 10714 if got := sub_int16_Neg1_ssa(32767); got != -32768 { 10715 fmt.Printf("sub_int16 32767%s-1 = %d, wanted -32768\n", `-`, got) 10716 failed = true 10717 } 10718 10719 if got := sub_0_int16_ssa(-32768); got != -32768 { 10720 fmt.Printf("sub_int16 0%s-32768 = %d, wanted -32768\n", `-`, got) 10721 failed = true 10722 } 10723 10724 if got := sub_int16_0_ssa(-32768); got != -32768 { 10725 fmt.Printf("sub_int16 -32768%s0 = %d, wanted -32768\n", `-`, got) 10726 failed = true 10727 } 10728 10729 if got := sub_0_int16_ssa(-32767); got != 32767 { 10730 fmt.Printf("sub_int16 0%s-32767 = %d, wanted 32767\n", `-`, got) 10731 failed = true 10732 } 10733 10734 if got := sub_int16_0_ssa(-32767); got != -32767 { 10735 fmt.Printf("sub_int16 -32767%s0 = %d, wanted -32767\n", `-`, got) 10736 failed = true 10737 } 10738 10739 if got := sub_0_int16_ssa(-1); got != 1 { 10740 fmt.Printf("sub_int16 0%s-1 = %d, wanted 1\n", `-`, got) 10741 failed = true 10742 } 10743 10744 if got := sub_int16_0_ssa(-1); got != -1 { 10745 fmt.Printf("sub_int16 -1%s0 = %d, wanted -1\n", `-`, got) 10746 failed = true 10747 } 10748 10749 if got := sub_0_int16_ssa(0); got != 0 { 10750 fmt.Printf("sub_int16 0%s0 = %d, wanted 0\n", `-`, got) 10751 failed = true 10752 } 10753 10754 if got := sub_int16_0_ssa(0); got != 0 { 10755 fmt.Printf("sub_int16 0%s0 = %d, wanted 0\n", `-`, got) 10756 failed = true 10757 } 10758 10759 if got := sub_0_int16_ssa(1); got != -1 { 10760 fmt.Printf("sub_int16 0%s1 = %d, wanted -1\n", `-`, got) 10761 failed = true 10762 } 10763 10764 if got := sub_int16_0_ssa(1); got != 1 { 10765 fmt.Printf("sub_int16 1%s0 = %d, wanted 1\n", `-`, got) 10766 failed = true 10767 } 10768 10769 if got := sub_0_int16_ssa(32766); got != -32766 { 10770 fmt.Printf("sub_int16 0%s32766 = %d, wanted -32766\n", `-`, got) 10771 failed = true 10772 } 10773 10774 if got := sub_int16_0_ssa(32766); got != 32766 { 10775 fmt.Printf("sub_int16 32766%s0 = %d, wanted 32766\n", `-`, got) 10776 failed = true 10777 } 10778 10779 if got := sub_0_int16_ssa(32767); got != -32767 { 10780 fmt.Printf("sub_int16 0%s32767 = %d, wanted -32767\n", `-`, got) 10781 failed = true 10782 } 10783 10784 if got := sub_int16_0_ssa(32767); got != 32767 { 10785 fmt.Printf("sub_int16 32767%s0 = %d, wanted 32767\n", `-`, got) 10786 failed = true 10787 } 10788 10789 if got := sub_1_int16_ssa(-32768); got != -32767 { 10790 fmt.Printf("sub_int16 1%s-32768 = %d, wanted -32767\n", `-`, got) 10791 failed = true 10792 } 10793 10794 if got := sub_int16_1_ssa(-32768); got != 32767 { 10795 fmt.Printf("sub_int16 -32768%s1 = %d, wanted 32767\n", `-`, got) 10796 failed = true 10797 } 10798 10799 if got := sub_1_int16_ssa(-32767); got != -32768 { 10800 fmt.Printf("sub_int16 1%s-32767 = %d, wanted -32768\n", `-`, got) 10801 failed = true 10802 } 10803 10804 if got := sub_int16_1_ssa(-32767); got != -32768 { 10805 fmt.Printf("sub_int16 -32767%s1 = %d, wanted -32768\n", `-`, got) 10806 failed = true 10807 } 10808 10809 if got := sub_1_int16_ssa(-1); got != 2 { 10810 fmt.Printf("sub_int16 1%s-1 = %d, wanted 2\n", `-`, got) 10811 failed = true 10812 } 10813 10814 if got := sub_int16_1_ssa(-1); got != -2 { 10815 fmt.Printf("sub_int16 -1%s1 = %d, wanted -2\n", `-`, got) 10816 failed = true 10817 } 10818 10819 if got := sub_1_int16_ssa(0); got != 1 { 10820 fmt.Printf("sub_int16 1%s0 = %d, wanted 1\n", `-`, got) 10821 failed = true 10822 } 10823 10824 if got := sub_int16_1_ssa(0); got != -1 { 10825 fmt.Printf("sub_int16 0%s1 = %d, wanted -1\n", `-`, got) 10826 failed = true 10827 } 10828 10829 if got := sub_1_int16_ssa(1); got != 0 { 10830 fmt.Printf("sub_int16 1%s1 = %d, wanted 0\n", `-`, got) 10831 failed = true 10832 } 10833 10834 if got := sub_int16_1_ssa(1); got != 0 { 10835 fmt.Printf("sub_int16 1%s1 = %d, wanted 0\n", `-`, got) 10836 failed = true 10837 } 10838 10839 if got := sub_1_int16_ssa(32766); got != -32765 { 10840 fmt.Printf("sub_int16 1%s32766 = %d, wanted -32765\n", `-`, got) 10841 failed = true 10842 } 10843 10844 if got := sub_int16_1_ssa(32766); got != 32765 { 10845 fmt.Printf("sub_int16 32766%s1 = %d, wanted 32765\n", `-`, got) 10846 failed = true 10847 } 10848 10849 if got := sub_1_int16_ssa(32767); got != -32766 { 10850 fmt.Printf("sub_int16 1%s32767 = %d, wanted -32766\n", `-`, got) 10851 failed = true 10852 } 10853 10854 if got := sub_int16_1_ssa(32767); got != 32766 { 10855 fmt.Printf("sub_int16 32767%s1 = %d, wanted 32766\n", `-`, got) 10856 failed = true 10857 } 10858 10859 if got := sub_32766_int16_ssa(-32768); got != -2 { 10860 fmt.Printf("sub_int16 32766%s-32768 = %d, wanted -2\n", `-`, got) 10861 failed = true 10862 } 10863 10864 if got := sub_int16_32766_ssa(-32768); got != 2 { 10865 fmt.Printf("sub_int16 -32768%s32766 = %d, wanted 2\n", `-`, got) 10866 failed = true 10867 } 10868 10869 if got := sub_32766_int16_ssa(-32767); got != -3 { 10870 fmt.Printf("sub_int16 32766%s-32767 = %d, wanted -3\n", `-`, got) 10871 failed = true 10872 } 10873 10874 if got := sub_int16_32766_ssa(-32767); got != 3 { 10875 fmt.Printf("sub_int16 -32767%s32766 = %d, wanted 3\n", `-`, got) 10876 failed = true 10877 } 10878 10879 if got := sub_32766_int16_ssa(-1); got != 32767 { 10880 fmt.Printf("sub_int16 32766%s-1 = %d, wanted 32767\n", `-`, got) 10881 failed = true 10882 } 10883 10884 if got := sub_int16_32766_ssa(-1); got != -32767 { 10885 fmt.Printf("sub_int16 -1%s32766 = %d, wanted -32767\n", `-`, got) 10886 failed = true 10887 } 10888 10889 if got := sub_32766_int16_ssa(0); got != 32766 { 10890 fmt.Printf("sub_int16 32766%s0 = %d, wanted 32766\n", `-`, got) 10891 failed = true 10892 } 10893 10894 if got := sub_int16_32766_ssa(0); got != -32766 { 10895 fmt.Printf("sub_int16 0%s32766 = %d, wanted -32766\n", `-`, got) 10896 failed = true 10897 } 10898 10899 if got := sub_32766_int16_ssa(1); got != 32765 { 10900 fmt.Printf("sub_int16 32766%s1 = %d, wanted 32765\n", `-`, got) 10901 failed = true 10902 } 10903 10904 if got := sub_int16_32766_ssa(1); got != -32765 { 10905 fmt.Printf("sub_int16 1%s32766 = %d, wanted -32765\n", `-`, got) 10906 failed = true 10907 } 10908 10909 if got := sub_32766_int16_ssa(32766); got != 0 { 10910 fmt.Printf("sub_int16 32766%s32766 = %d, wanted 0\n", `-`, got) 10911 failed = true 10912 } 10913 10914 if got := sub_int16_32766_ssa(32766); got != 0 { 10915 fmt.Printf("sub_int16 32766%s32766 = %d, wanted 0\n", `-`, got) 10916 failed = true 10917 } 10918 10919 if got := sub_32766_int16_ssa(32767); got != -1 { 10920 fmt.Printf("sub_int16 32766%s32767 = %d, wanted -1\n", `-`, got) 10921 failed = true 10922 } 10923 10924 if got := sub_int16_32766_ssa(32767); got != 1 { 10925 fmt.Printf("sub_int16 32767%s32766 = %d, wanted 1\n", `-`, got) 10926 failed = true 10927 } 10928 10929 if got := sub_32767_int16_ssa(-32768); got != -1 { 10930 fmt.Printf("sub_int16 32767%s-32768 = %d, wanted -1\n", `-`, got) 10931 failed = true 10932 } 10933 10934 if got := sub_int16_32767_ssa(-32768); got != 1 { 10935 fmt.Printf("sub_int16 -32768%s32767 = %d, wanted 1\n", `-`, got) 10936 failed = true 10937 } 10938 10939 if got := sub_32767_int16_ssa(-32767); got != -2 { 10940 fmt.Printf("sub_int16 32767%s-32767 = %d, wanted -2\n", `-`, got) 10941 failed = true 10942 } 10943 10944 if got := sub_int16_32767_ssa(-32767); got != 2 { 10945 fmt.Printf("sub_int16 -32767%s32767 = %d, wanted 2\n", `-`, got) 10946 failed = true 10947 } 10948 10949 if got := sub_32767_int16_ssa(-1); got != -32768 { 10950 fmt.Printf("sub_int16 32767%s-1 = %d, wanted -32768\n", `-`, got) 10951 failed = true 10952 } 10953 10954 if got := sub_int16_32767_ssa(-1); got != -32768 { 10955 fmt.Printf("sub_int16 -1%s32767 = %d, wanted -32768\n", `-`, got) 10956 failed = true 10957 } 10958 10959 if got := sub_32767_int16_ssa(0); got != 32767 { 10960 fmt.Printf("sub_int16 32767%s0 = %d, wanted 32767\n", `-`, got) 10961 failed = true 10962 } 10963 10964 if got := sub_int16_32767_ssa(0); got != -32767 { 10965 fmt.Printf("sub_int16 0%s32767 = %d, wanted -32767\n", `-`, got) 10966 failed = true 10967 } 10968 10969 if got := sub_32767_int16_ssa(1); got != 32766 { 10970 fmt.Printf("sub_int16 32767%s1 = %d, wanted 32766\n", `-`, got) 10971 failed = true 10972 } 10973 10974 if got := sub_int16_32767_ssa(1); got != -32766 { 10975 fmt.Printf("sub_int16 1%s32767 = %d, wanted -32766\n", `-`, got) 10976 failed = true 10977 } 10978 10979 if got := sub_32767_int16_ssa(32766); got != 1 { 10980 fmt.Printf("sub_int16 32767%s32766 = %d, wanted 1\n", `-`, got) 10981 failed = true 10982 } 10983 10984 if got := sub_int16_32767_ssa(32766); got != -1 { 10985 fmt.Printf("sub_int16 32766%s32767 = %d, wanted -1\n", `-`, got) 10986 failed = true 10987 } 10988 10989 if got := sub_32767_int16_ssa(32767); got != 0 { 10990 fmt.Printf("sub_int16 32767%s32767 = %d, wanted 0\n", `-`, got) 10991 failed = true 10992 } 10993 10994 if got := sub_int16_32767_ssa(32767); got != 0 { 10995 fmt.Printf("sub_int16 32767%s32767 = %d, wanted 0\n", `-`, got) 10996 failed = true 10997 } 10998 10999 if got := div_Neg32768_int16_ssa(-32768); got != 1 { 11000 fmt.Printf("div_int16 -32768%s-32768 = %d, wanted 1\n", `/`, got) 11001 failed = true 11002 } 11003 11004 if got := div_int16_Neg32768_ssa(-32768); got != 1 { 11005 fmt.Printf("div_int16 -32768%s-32768 = %d, wanted 1\n", `/`, got) 11006 failed = true 11007 } 11008 11009 if got := div_Neg32768_int16_ssa(-32767); got != 1 { 11010 fmt.Printf("div_int16 -32768%s-32767 = %d, wanted 1\n", `/`, got) 11011 failed = true 11012 } 11013 11014 if got := div_int16_Neg32768_ssa(-32767); got != 0 { 11015 fmt.Printf("div_int16 -32767%s-32768 = %d, wanted 0\n", `/`, got) 11016 failed = true 11017 } 11018 11019 if got := div_Neg32768_int16_ssa(-1); got != -32768 { 11020 fmt.Printf("div_int16 -32768%s-1 = %d, wanted -32768\n", `/`, got) 11021 failed = true 11022 } 11023 11024 if got := div_int16_Neg32768_ssa(-1); got != 0 { 11025 fmt.Printf("div_int16 -1%s-32768 = %d, wanted 0\n", `/`, got) 11026 failed = true 11027 } 11028 11029 if got := div_int16_Neg32768_ssa(0); got != 0 { 11030 fmt.Printf("div_int16 0%s-32768 = %d, wanted 0\n", `/`, got) 11031 failed = true 11032 } 11033 11034 if got := div_Neg32768_int16_ssa(1); got != -32768 { 11035 fmt.Printf("div_int16 -32768%s1 = %d, wanted -32768\n", `/`, got) 11036 failed = true 11037 } 11038 11039 if got := div_int16_Neg32768_ssa(1); got != 0 { 11040 fmt.Printf("div_int16 1%s-32768 = %d, wanted 0\n", `/`, got) 11041 failed = true 11042 } 11043 11044 if got := div_Neg32768_int16_ssa(32766); got != -1 { 11045 fmt.Printf("div_int16 -32768%s32766 = %d, wanted -1\n", `/`, got) 11046 failed = true 11047 } 11048 11049 if got := div_int16_Neg32768_ssa(32766); got != 0 { 11050 fmt.Printf("div_int16 32766%s-32768 = %d, wanted 0\n", `/`, got) 11051 failed = true 11052 } 11053 11054 if got := div_Neg32768_int16_ssa(32767); got != -1 { 11055 fmt.Printf("div_int16 -32768%s32767 = %d, wanted -1\n", `/`, got) 11056 failed = true 11057 } 11058 11059 if got := div_int16_Neg32768_ssa(32767); got != 0 { 11060 fmt.Printf("div_int16 32767%s-32768 = %d, wanted 0\n", `/`, got) 11061 failed = true 11062 } 11063 11064 if got := div_Neg32767_int16_ssa(-32768); got != 0 { 11065 fmt.Printf("div_int16 -32767%s-32768 = %d, wanted 0\n", `/`, got) 11066 failed = true 11067 } 11068 11069 if got := div_int16_Neg32767_ssa(-32768); got != 1 { 11070 fmt.Printf("div_int16 -32768%s-32767 = %d, wanted 1\n", `/`, got) 11071 failed = true 11072 } 11073 11074 if got := div_Neg32767_int16_ssa(-32767); got != 1 { 11075 fmt.Printf("div_int16 -32767%s-32767 = %d, wanted 1\n", `/`, got) 11076 failed = true 11077 } 11078 11079 if got := div_int16_Neg32767_ssa(-32767); got != 1 { 11080 fmt.Printf("div_int16 -32767%s-32767 = %d, wanted 1\n", `/`, got) 11081 failed = true 11082 } 11083 11084 if got := div_Neg32767_int16_ssa(-1); got != 32767 { 11085 fmt.Printf("div_int16 -32767%s-1 = %d, wanted 32767\n", `/`, got) 11086 failed = true 11087 } 11088 11089 if got := div_int16_Neg32767_ssa(-1); got != 0 { 11090 fmt.Printf("div_int16 -1%s-32767 = %d, wanted 0\n", `/`, got) 11091 failed = true 11092 } 11093 11094 if got := div_int16_Neg32767_ssa(0); got != 0 { 11095 fmt.Printf("div_int16 0%s-32767 = %d, wanted 0\n", `/`, got) 11096 failed = true 11097 } 11098 11099 if got := div_Neg32767_int16_ssa(1); got != -32767 { 11100 fmt.Printf("div_int16 -32767%s1 = %d, wanted -32767\n", `/`, got) 11101 failed = true 11102 } 11103 11104 if got := div_int16_Neg32767_ssa(1); got != 0 { 11105 fmt.Printf("div_int16 1%s-32767 = %d, wanted 0\n", `/`, got) 11106 failed = true 11107 } 11108 11109 if got := div_Neg32767_int16_ssa(32766); got != -1 { 11110 fmt.Printf("div_int16 -32767%s32766 = %d, wanted -1\n", `/`, got) 11111 failed = true 11112 } 11113 11114 if got := div_int16_Neg32767_ssa(32766); got != 0 { 11115 fmt.Printf("div_int16 32766%s-32767 = %d, wanted 0\n", `/`, got) 11116 failed = true 11117 } 11118 11119 if got := div_Neg32767_int16_ssa(32767); got != -1 { 11120 fmt.Printf("div_int16 -32767%s32767 = %d, wanted -1\n", `/`, got) 11121 failed = true 11122 } 11123 11124 if got := div_int16_Neg32767_ssa(32767); got != -1 { 11125 fmt.Printf("div_int16 32767%s-32767 = %d, wanted -1\n", `/`, got) 11126 failed = true 11127 } 11128 11129 if got := div_Neg1_int16_ssa(-32768); got != 0 { 11130 fmt.Printf("div_int16 -1%s-32768 = %d, wanted 0\n", `/`, got) 11131 failed = true 11132 } 11133 11134 if got := div_int16_Neg1_ssa(-32768); got != -32768 { 11135 fmt.Printf("div_int16 -32768%s-1 = %d, wanted -32768\n", `/`, got) 11136 failed = true 11137 } 11138 11139 if got := div_Neg1_int16_ssa(-32767); got != 0 { 11140 fmt.Printf("div_int16 -1%s-32767 = %d, wanted 0\n", `/`, got) 11141 failed = true 11142 } 11143 11144 if got := div_int16_Neg1_ssa(-32767); got != 32767 { 11145 fmt.Printf("div_int16 -32767%s-1 = %d, wanted 32767\n", `/`, got) 11146 failed = true 11147 } 11148 11149 if got := div_Neg1_int16_ssa(-1); got != 1 { 11150 fmt.Printf("div_int16 -1%s-1 = %d, wanted 1\n", `/`, got) 11151 failed = true 11152 } 11153 11154 if got := div_int16_Neg1_ssa(-1); got != 1 { 11155 fmt.Printf("div_int16 -1%s-1 = %d, wanted 1\n", `/`, got) 11156 failed = true 11157 } 11158 11159 if got := div_int16_Neg1_ssa(0); got != 0 { 11160 fmt.Printf("div_int16 0%s-1 = %d, wanted 0\n", `/`, got) 11161 failed = true 11162 } 11163 11164 if got := div_Neg1_int16_ssa(1); got != -1 { 11165 fmt.Printf("div_int16 -1%s1 = %d, wanted -1\n", `/`, got) 11166 failed = true 11167 } 11168 11169 if got := div_int16_Neg1_ssa(1); got != -1 { 11170 fmt.Printf("div_int16 1%s-1 = %d, wanted -1\n", `/`, got) 11171 failed = true 11172 } 11173 11174 if got := div_Neg1_int16_ssa(32766); got != 0 { 11175 fmt.Printf("div_int16 -1%s32766 = %d, wanted 0\n", `/`, got) 11176 failed = true 11177 } 11178 11179 if got := div_int16_Neg1_ssa(32766); got != -32766 { 11180 fmt.Printf("div_int16 32766%s-1 = %d, wanted -32766\n", `/`, got) 11181 failed = true 11182 } 11183 11184 if got := div_Neg1_int16_ssa(32767); got != 0 { 11185 fmt.Printf("div_int16 -1%s32767 = %d, wanted 0\n", `/`, got) 11186 failed = true 11187 } 11188 11189 if got := div_int16_Neg1_ssa(32767); got != -32767 { 11190 fmt.Printf("div_int16 32767%s-1 = %d, wanted -32767\n", `/`, got) 11191 failed = true 11192 } 11193 11194 if got := div_0_int16_ssa(-32768); got != 0 { 11195 fmt.Printf("div_int16 0%s-32768 = %d, wanted 0\n", `/`, got) 11196 failed = true 11197 } 11198 11199 if got := div_0_int16_ssa(-32767); got != 0 { 11200 fmt.Printf("div_int16 0%s-32767 = %d, wanted 0\n", `/`, got) 11201 failed = true 11202 } 11203 11204 if got := div_0_int16_ssa(-1); got != 0 { 11205 fmt.Printf("div_int16 0%s-1 = %d, wanted 0\n", `/`, got) 11206 failed = true 11207 } 11208 11209 if got := div_0_int16_ssa(1); got != 0 { 11210 fmt.Printf("div_int16 0%s1 = %d, wanted 0\n", `/`, got) 11211 failed = true 11212 } 11213 11214 if got := div_0_int16_ssa(32766); got != 0 { 11215 fmt.Printf("div_int16 0%s32766 = %d, wanted 0\n", `/`, got) 11216 failed = true 11217 } 11218 11219 if got := div_0_int16_ssa(32767); got != 0 { 11220 fmt.Printf("div_int16 0%s32767 = %d, wanted 0\n", `/`, got) 11221 failed = true 11222 } 11223 11224 if got := div_1_int16_ssa(-32768); got != 0 { 11225 fmt.Printf("div_int16 1%s-32768 = %d, wanted 0\n", `/`, got) 11226 failed = true 11227 } 11228 11229 if got := div_int16_1_ssa(-32768); got != -32768 { 11230 fmt.Printf("div_int16 -32768%s1 = %d, wanted -32768\n", `/`, got) 11231 failed = true 11232 } 11233 11234 if got := div_1_int16_ssa(-32767); got != 0 { 11235 fmt.Printf("div_int16 1%s-32767 = %d, wanted 0\n", `/`, got) 11236 failed = true 11237 } 11238 11239 if got := div_int16_1_ssa(-32767); got != -32767 { 11240 fmt.Printf("div_int16 -32767%s1 = %d, wanted -32767\n", `/`, got) 11241 failed = true 11242 } 11243 11244 if got := div_1_int16_ssa(-1); got != -1 { 11245 fmt.Printf("div_int16 1%s-1 = %d, wanted -1\n", `/`, got) 11246 failed = true 11247 } 11248 11249 if got := div_int16_1_ssa(-1); got != -1 { 11250 fmt.Printf("div_int16 -1%s1 = %d, wanted -1\n", `/`, got) 11251 failed = true 11252 } 11253 11254 if got := div_int16_1_ssa(0); got != 0 { 11255 fmt.Printf("div_int16 0%s1 = %d, wanted 0\n", `/`, got) 11256 failed = true 11257 } 11258 11259 if got := div_1_int16_ssa(1); got != 1 { 11260 fmt.Printf("div_int16 1%s1 = %d, wanted 1\n", `/`, got) 11261 failed = true 11262 } 11263 11264 if got := div_int16_1_ssa(1); got != 1 { 11265 fmt.Printf("div_int16 1%s1 = %d, wanted 1\n", `/`, got) 11266 failed = true 11267 } 11268 11269 if got := div_1_int16_ssa(32766); got != 0 { 11270 fmt.Printf("div_int16 1%s32766 = %d, wanted 0\n", `/`, got) 11271 failed = true 11272 } 11273 11274 if got := div_int16_1_ssa(32766); got != 32766 { 11275 fmt.Printf("div_int16 32766%s1 = %d, wanted 32766\n", `/`, got) 11276 failed = true 11277 } 11278 11279 if got := div_1_int16_ssa(32767); got != 0 { 11280 fmt.Printf("div_int16 1%s32767 = %d, wanted 0\n", `/`, got) 11281 failed = true 11282 } 11283 11284 if got := div_int16_1_ssa(32767); got != 32767 { 11285 fmt.Printf("div_int16 32767%s1 = %d, wanted 32767\n", `/`, got) 11286 failed = true 11287 } 11288 11289 if got := div_32766_int16_ssa(-32768); got != 0 { 11290 fmt.Printf("div_int16 32766%s-32768 = %d, wanted 0\n", `/`, got) 11291 failed = true 11292 } 11293 11294 if got := div_int16_32766_ssa(-32768); got != -1 { 11295 fmt.Printf("div_int16 -32768%s32766 = %d, wanted -1\n", `/`, got) 11296 failed = true 11297 } 11298 11299 if got := div_32766_int16_ssa(-32767); got != 0 { 11300 fmt.Printf("div_int16 32766%s-32767 = %d, wanted 0\n", `/`, got) 11301 failed = true 11302 } 11303 11304 if got := div_int16_32766_ssa(-32767); got != -1 { 11305 fmt.Printf("div_int16 -32767%s32766 = %d, wanted -1\n", `/`, got) 11306 failed = true 11307 } 11308 11309 if got := div_32766_int16_ssa(-1); got != -32766 { 11310 fmt.Printf("div_int16 32766%s-1 = %d, wanted -32766\n", `/`, got) 11311 failed = true 11312 } 11313 11314 if got := div_int16_32766_ssa(-1); got != 0 { 11315 fmt.Printf("div_int16 -1%s32766 = %d, wanted 0\n", `/`, got) 11316 failed = true 11317 } 11318 11319 if got := div_int16_32766_ssa(0); got != 0 { 11320 fmt.Printf("div_int16 0%s32766 = %d, wanted 0\n", `/`, got) 11321 failed = true 11322 } 11323 11324 if got := div_32766_int16_ssa(1); got != 32766 { 11325 fmt.Printf("div_int16 32766%s1 = %d, wanted 32766\n", `/`, got) 11326 failed = true 11327 } 11328 11329 if got := div_int16_32766_ssa(1); got != 0 { 11330 fmt.Printf("div_int16 1%s32766 = %d, wanted 0\n", `/`, got) 11331 failed = true 11332 } 11333 11334 if got := div_32766_int16_ssa(32766); got != 1 { 11335 fmt.Printf("div_int16 32766%s32766 = %d, wanted 1\n", `/`, got) 11336 failed = true 11337 } 11338 11339 if got := div_int16_32766_ssa(32766); got != 1 { 11340 fmt.Printf("div_int16 32766%s32766 = %d, wanted 1\n", `/`, got) 11341 failed = true 11342 } 11343 11344 if got := div_32766_int16_ssa(32767); got != 0 { 11345 fmt.Printf("div_int16 32766%s32767 = %d, wanted 0\n", `/`, got) 11346 failed = true 11347 } 11348 11349 if got := div_int16_32766_ssa(32767); got != 1 { 11350 fmt.Printf("div_int16 32767%s32766 = %d, wanted 1\n", `/`, got) 11351 failed = true 11352 } 11353 11354 if got := div_32767_int16_ssa(-32768); got != 0 { 11355 fmt.Printf("div_int16 32767%s-32768 = %d, wanted 0\n", `/`, got) 11356 failed = true 11357 } 11358 11359 if got := div_int16_32767_ssa(-32768); got != -1 { 11360 fmt.Printf("div_int16 -32768%s32767 = %d, wanted -1\n", `/`, got) 11361 failed = true 11362 } 11363 11364 if got := div_32767_int16_ssa(-32767); got != -1 { 11365 fmt.Printf("div_int16 32767%s-32767 = %d, wanted -1\n", `/`, got) 11366 failed = true 11367 } 11368 11369 if got := div_int16_32767_ssa(-32767); got != -1 { 11370 fmt.Printf("div_int16 -32767%s32767 = %d, wanted -1\n", `/`, got) 11371 failed = true 11372 } 11373 11374 if got := div_32767_int16_ssa(-1); got != -32767 { 11375 fmt.Printf("div_int16 32767%s-1 = %d, wanted -32767\n", `/`, got) 11376 failed = true 11377 } 11378 11379 if got := div_int16_32767_ssa(-1); got != 0 { 11380 fmt.Printf("div_int16 -1%s32767 = %d, wanted 0\n", `/`, got) 11381 failed = true 11382 } 11383 11384 if got := div_int16_32767_ssa(0); got != 0 { 11385 fmt.Printf("div_int16 0%s32767 = %d, wanted 0\n", `/`, got) 11386 failed = true 11387 } 11388 11389 if got := div_32767_int16_ssa(1); got != 32767 { 11390 fmt.Printf("div_int16 32767%s1 = %d, wanted 32767\n", `/`, got) 11391 failed = true 11392 } 11393 11394 if got := div_int16_32767_ssa(1); got != 0 { 11395 fmt.Printf("div_int16 1%s32767 = %d, wanted 0\n", `/`, got) 11396 failed = true 11397 } 11398 11399 if got := div_32767_int16_ssa(32766); got != 1 { 11400 fmt.Printf("div_int16 32767%s32766 = %d, wanted 1\n", `/`, got) 11401 failed = true 11402 } 11403 11404 if got := div_int16_32767_ssa(32766); got != 0 { 11405 fmt.Printf("div_int16 32766%s32767 = %d, wanted 0\n", `/`, got) 11406 failed = true 11407 } 11408 11409 if got := div_32767_int16_ssa(32767); got != 1 { 11410 fmt.Printf("div_int16 32767%s32767 = %d, wanted 1\n", `/`, got) 11411 failed = true 11412 } 11413 11414 if got := div_int16_32767_ssa(32767); got != 1 { 11415 fmt.Printf("div_int16 32767%s32767 = %d, wanted 1\n", `/`, got) 11416 failed = true 11417 } 11418 11419 if got := mul_Neg32768_int16_ssa(-32768); got != 0 { 11420 fmt.Printf("mul_int16 -32768%s-32768 = %d, wanted 0\n", `*`, got) 11421 failed = true 11422 } 11423 11424 if got := mul_int16_Neg32768_ssa(-32768); got != 0 { 11425 fmt.Printf("mul_int16 -32768%s-32768 = %d, wanted 0\n", `*`, got) 11426 failed = true 11427 } 11428 11429 if got := mul_Neg32768_int16_ssa(-32767); got != -32768 { 11430 fmt.Printf("mul_int16 -32768%s-32767 = %d, wanted -32768\n", `*`, got) 11431 failed = true 11432 } 11433 11434 if got := mul_int16_Neg32768_ssa(-32767); got != -32768 { 11435 fmt.Printf("mul_int16 -32767%s-32768 = %d, wanted -32768\n", `*`, got) 11436 failed = true 11437 } 11438 11439 if got := mul_Neg32768_int16_ssa(-1); got != -32768 { 11440 fmt.Printf("mul_int16 -32768%s-1 = %d, wanted -32768\n", `*`, got) 11441 failed = true 11442 } 11443 11444 if got := mul_int16_Neg32768_ssa(-1); got != -32768 { 11445 fmt.Printf("mul_int16 -1%s-32768 = %d, wanted -32768\n", `*`, got) 11446 failed = true 11447 } 11448 11449 if got := mul_Neg32768_int16_ssa(0); got != 0 { 11450 fmt.Printf("mul_int16 -32768%s0 = %d, wanted 0\n", `*`, got) 11451 failed = true 11452 } 11453 11454 if got := mul_int16_Neg32768_ssa(0); got != 0 { 11455 fmt.Printf("mul_int16 0%s-32768 = %d, wanted 0\n", `*`, got) 11456 failed = true 11457 } 11458 11459 if got := mul_Neg32768_int16_ssa(1); got != -32768 { 11460 fmt.Printf("mul_int16 -32768%s1 = %d, wanted -32768\n", `*`, got) 11461 failed = true 11462 } 11463 11464 if got := mul_int16_Neg32768_ssa(1); got != -32768 { 11465 fmt.Printf("mul_int16 1%s-32768 = %d, wanted -32768\n", `*`, got) 11466 failed = true 11467 } 11468 11469 if got := mul_Neg32768_int16_ssa(32766); got != 0 { 11470 fmt.Printf("mul_int16 -32768%s32766 = %d, wanted 0\n", `*`, got) 11471 failed = true 11472 } 11473 11474 if got := mul_int16_Neg32768_ssa(32766); got != 0 { 11475 fmt.Printf("mul_int16 32766%s-32768 = %d, wanted 0\n", `*`, got) 11476 failed = true 11477 } 11478 11479 if got := mul_Neg32768_int16_ssa(32767); got != -32768 { 11480 fmt.Printf("mul_int16 -32768%s32767 = %d, wanted -32768\n", `*`, got) 11481 failed = true 11482 } 11483 11484 if got := mul_int16_Neg32768_ssa(32767); got != -32768 { 11485 fmt.Printf("mul_int16 32767%s-32768 = %d, wanted -32768\n", `*`, got) 11486 failed = true 11487 } 11488 11489 if got := mul_Neg32767_int16_ssa(-32768); got != -32768 { 11490 fmt.Printf("mul_int16 -32767%s-32768 = %d, wanted -32768\n", `*`, got) 11491 failed = true 11492 } 11493 11494 if got := mul_int16_Neg32767_ssa(-32768); got != -32768 { 11495 fmt.Printf("mul_int16 -32768%s-32767 = %d, wanted -32768\n", `*`, got) 11496 failed = true 11497 } 11498 11499 if got := mul_Neg32767_int16_ssa(-32767); got != 1 { 11500 fmt.Printf("mul_int16 -32767%s-32767 = %d, wanted 1\n", `*`, got) 11501 failed = true 11502 } 11503 11504 if got := mul_int16_Neg32767_ssa(-32767); got != 1 { 11505 fmt.Printf("mul_int16 -32767%s-32767 = %d, wanted 1\n", `*`, got) 11506 failed = true 11507 } 11508 11509 if got := mul_Neg32767_int16_ssa(-1); got != 32767 { 11510 fmt.Printf("mul_int16 -32767%s-1 = %d, wanted 32767\n", `*`, got) 11511 failed = true 11512 } 11513 11514 if got := mul_int16_Neg32767_ssa(-1); got != 32767 { 11515 fmt.Printf("mul_int16 -1%s-32767 = %d, wanted 32767\n", `*`, got) 11516 failed = true 11517 } 11518 11519 if got := mul_Neg32767_int16_ssa(0); got != 0 { 11520 fmt.Printf("mul_int16 -32767%s0 = %d, wanted 0\n", `*`, got) 11521 failed = true 11522 } 11523 11524 if got := mul_int16_Neg32767_ssa(0); got != 0 { 11525 fmt.Printf("mul_int16 0%s-32767 = %d, wanted 0\n", `*`, got) 11526 failed = true 11527 } 11528 11529 if got := mul_Neg32767_int16_ssa(1); got != -32767 { 11530 fmt.Printf("mul_int16 -32767%s1 = %d, wanted -32767\n", `*`, got) 11531 failed = true 11532 } 11533 11534 if got := mul_int16_Neg32767_ssa(1); got != -32767 { 11535 fmt.Printf("mul_int16 1%s-32767 = %d, wanted -32767\n", `*`, got) 11536 failed = true 11537 } 11538 11539 if got := mul_Neg32767_int16_ssa(32766); got != 32766 { 11540 fmt.Printf("mul_int16 -32767%s32766 = %d, wanted 32766\n", `*`, got) 11541 failed = true 11542 } 11543 11544 if got := mul_int16_Neg32767_ssa(32766); got != 32766 { 11545 fmt.Printf("mul_int16 32766%s-32767 = %d, wanted 32766\n", `*`, got) 11546 failed = true 11547 } 11548 11549 if got := mul_Neg32767_int16_ssa(32767); got != -1 { 11550 fmt.Printf("mul_int16 -32767%s32767 = %d, wanted -1\n", `*`, got) 11551 failed = true 11552 } 11553 11554 if got := mul_int16_Neg32767_ssa(32767); got != -1 { 11555 fmt.Printf("mul_int16 32767%s-32767 = %d, wanted -1\n", `*`, got) 11556 failed = true 11557 } 11558 11559 if got := mul_Neg1_int16_ssa(-32768); got != -32768 { 11560 fmt.Printf("mul_int16 -1%s-32768 = %d, wanted -32768\n", `*`, got) 11561 failed = true 11562 } 11563 11564 if got := mul_int16_Neg1_ssa(-32768); got != -32768 { 11565 fmt.Printf("mul_int16 -32768%s-1 = %d, wanted -32768\n", `*`, got) 11566 failed = true 11567 } 11568 11569 if got := mul_Neg1_int16_ssa(-32767); got != 32767 { 11570 fmt.Printf("mul_int16 -1%s-32767 = %d, wanted 32767\n", `*`, got) 11571 failed = true 11572 } 11573 11574 if got := mul_int16_Neg1_ssa(-32767); got != 32767 { 11575 fmt.Printf("mul_int16 -32767%s-1 = %d, wanted 32767\n", `*`, got) 11576 failed = true 11577 } 11578 11579 if got := mul_Neg1_int16_ssa(-1); got != 1 { 11580 fmt.Printf("mul_int16 -1%s-1 = %d, wanted 1\n", `*`, got) 11581 failed = true 11582 } 11583 11584 if got := mul_int16_Neg1_ssa(-1); got != 1 { 11585 fmt.Printf("mul_int16 -1%s-1 = %d, wanted 1\n", `*`, got) 11586 failed = true 11587 } 11588 11589 if got := mul_Neg1_int16_ssa(0); got != 0 { 11590 fmt.Printf("mul_int16 -1%s0 = %d, wanted 0\n", `*`, got) 11591 failed = true 11592 } 11593 11594 if got := mul_int16_Neg1_ssa(0); got != 0 { 11595 fmt.Printf("mul_int16 0%s-1 = %d, wanted 0\n", `*`, got) 11596 failed = true 11597 } 11598 11599 if got := mul_Neg1_int16_ssa(1); got != -1 { 11600 fmt.Printf("mul_int16 -1%s1 = %d, wanted -1\n", `*`, got) 11601 failed = true 11602 } 11603 11604 if got := mul_int16_Neg1_ssa(1); got != -1 { 11605 fmt.Printf("mul_int16 1%s-1 = %d, wanted -1\n", `*`, got) 11606 failed = true 11607 } 11608 11609 if got := mul_Neg1_int16_ssa(32766); got != -32766 { 11610 fmt.Printf("mul_int16 -1%s32766 = %d, wanted -32766\n", `*`, got) 11611 failed = true 11612 } 11613 11614 if got := mul_int16_Neg1_ssa(32766); got != -32766 { 11615 fmt.Printf("mul_int16 32766%s-1 = %d, wanted -32766\n", `*`, got) 11616 failed = true 11617 } 11618 11619 if got := mul_Neg1_int16_ssa(32767); got != -32767 { 11620 fmt.Printf("mul_int16 -1%s32767 = %d, wanted -32767\n", `*`, got) 11621 failed = true 11622 } 11623 11624 if got := mul_int16_Neg1_ssa(32767); got != -32767 { 11625 fmt.Printf("mul_int16 32767%s-1 = %d, wanted -32767\n", `*`, got) 11626 failed = true 11627 } 11628 11629 if got := mul_0_int16_ssa(-32768); got != 0 { 11630 fmt.Printf("mul_int16 0%s-32768 = %d, wanted 0\n", `*`, got) 11631 failed = true 11632 } 11633 11634 if got := mul_int16_0_ssa(-32768); got != 0 { 11635 fmt.Printf("mul_int16 -32768%s0 = %d, wanted 0\n", `*`, got) 11636 failed = true 11637 } 11638 11639 if got := mul_0_int16_ssa(-32767); got != 0 { 11640 fmt.Printf("mul_int16 0%s-32767 = %d, wanted 0\n", `*`, got) 11641 failed = true 11642 } 11643 11644 if got := mul_int16_0_ssa(-32767); got != 0 { 11645 fmt.Printf("mul_int16 -32767%s0 = %d, wanted 0\n", `*`, got) 11646 failed = true 11647 } 11648 11649 if got := mul_0_int16_ssa(-1); got != 0 { 11650 fmt.Printf("mul_int16 0%s-1 = %d, wanted 0\n", `*`, got) 11651 failed = true 11652 } 11653 11654 if got := mul_int16_0_ssa(-1); got != 0 { 11655 fmt.Printf("mul_int16 -1%s0 = %d, wanted 0\n", `*`, got) 11656 failed = true 11657 } 11658 11659 if got := mul_0_int16_ssa(0); got != 0 { 11660 fmt.Printf("mul_int16 0%s0 = %d, wanted 0\n", `*`, got) 11661 failed = true 11662 } 11663 11664 if got := mul_int16_0_ssa(0); got != 0 { 11665 fmt.Printf("mul_int16 0%s0 = %d, wanted 0\n", `*`, got) 11666 failed = true 11667 } 11668 11669 if got := mul_0_int16_ssa(1); got != 0 { 11670 fmt.Printf("mul_int16 0%s1 = %d, wanted 0\n", `*`, got) 11671 failed = true 11672 } 11673 11674 if got := mul_int16_0_ssa(1); got != 0 { 11675 fmt.Printf("mul_int16 1%s0 = %d, wanted 0\n", `*`, got) 11676 failed = true 11677 } 11678 11679 if got := mul_0_int16_ssa(32766); got != 0 { 11680 fmt.Printf("mul_int16 0%s32766 = %d, wanted 0\n", `*`, got) 11681 failed = true 11682 } 11683 11684 if got := mul_int16_0_ssa(32766); got != 0 { 11685 fmt.Printf("mul_int16 32766%s0 = %d, wanted 0\n", `*`, got) 11686 failed = true 11687 } 11688 11689 if got := mul_0_int16_ssa(32767); got != 0 { 11690 fmt.Printf("mul_int16 0%s32767 = %d, wanted 0\n", `*`, got) 11691 failed = true 11692 } 11693 11694 if got := mul_int16_0_ssa(32767); got != 0 { 11695 fmt.Printf("mul_int16 32767%s0 = %d, wanted 0\n", `*`, got) 11696 failed = true 11697 } 11698 11699 if got := mul_1_int16_ssa(-32768); got != -32768 { 11700 fmt.Printf("mul_int16 1%s-32768 = %d, wanted -32768\n", `*`, got) 11701 failed = true 11702 } 11703 11704 if got := mul_int16_1_ssa(-32768); got != -32768 { 11705 fmt.Printf("mul_int16 -32768%s1 = %d, wanted -32768\n", `*`, got) 11706 failed = true 11707 } 11708 11709 if got := mul_1_int16_ssa(-32767); got != -32767 { 11710 fmt.Printf("mul_int16 1%s-32767 = %d, wanted -32767\n", `*`, got) 11711 failed = true 11712 } 11713 11714 if got := mul_int16_1_ssa(-32767); got != -32767 { 11715 fmt.Printf("mul_int16 -32767%s1 = %d, wanted -32767\n", `*`, got) 11716 failed = true 11717 } 11718 11719 if got := mul_1_int16_ssa(-1); got != -1 { 11720 fmt.Printf("mul_int16 1%s-1 = %d, wanted -1\n", `*`, got) 11721 failed = true 11722 } 11723 11724 if got := mul_int16_1_ssa(-1); got != -1 { 11725 fmt.Printf("mul_int16 -1%s1 = %d, wanted -1\n", `*`, got) 11726 failed = true 11727 } 11728 11729 if got := mul_1_int16_ssa(0); got != 0 { 11730 fmt.Printf("mul_int16 1%s0 = %d, wanted 0\n", `*`, got) 11731 failed = true 11732 } 11733 11734 if got := mul_int16_1_ssa(0); got != 0 { 11735 fmt.Printf("mul_int16 0%s1 = %d, wanted 0\n", `*`, got) 11736 failed = true 11737 } 11738 11739 if got := mul_1_int16_ssa(1); got != 1 { 11740 fmt.Printf("mul_int16 1%s1 = %d, wanted 1\n", `*`, got) 11741 failed = true 11742 } 11743 11744 if got := mul_int16_1_ssa(1); got != 1 { 11745 fmt.Printf("mul_int16 1%s1 = %d, wanted 1\n", `*`, got) 11746 failed = true 11747 } 11748 11749 if got := mul_1_int16_ssa(32766); got != 32766 { 11750 fmt.Printf("mul_int16 1%s32766 = %d, wanted 32766\n", `*`, got) 11751 failed = true 11752 } 11753 11754 if got := mul_int16_1_ssa(32766); got != 32766 { 11755 fmt.Printf("mul_int16 32766%s1 = %d, wanted 32766\n", `*`, got) 11756 failed = true 11757 } 11758 11759 if got := mul_1_int16_ssa(32767); got != 32767 { 11760 fmt.Printf("mul_int16 1%s32767 = %d, wanted 32767\n", `*`, got) 11761 failed = true 11762 } 11763 11764 if got := mul_int16_1_ssa(32767); got != 32767 { 11765 fmt.Printf("mul_int16 32767%s1 = %d, wanted 32767\n", `*`, got) 11766 failed = true 11767 } 11768 11769 if got := mul_32766_int16_ssa(-32768); got != 0 { 11770 fmt.Printf("mul_int16 32766%s-32768 = %d, wanted 0\n", `*`, got) 11771 failed = true 11772 } 11773 11774 if got := mul_int16_32766_ssa(-32768); got != 0 { 11775 fmt.Printf("mul_int16 -32768%s32766 = %d, wanted 0\n", `*`, got) 11776 failed = true 11777 } 11778 11779 if got := mul_32766_int16_ssa(-32767); got != 32766 { 11780 fmt.Printf("mul_int16 32766%s-32767 = %d, wanted 32766\n", `*`, got) 11781 failed = true 11782 } 11783 11784 if got := mul_int16_32766_ssa(-32767); got != 32766 { 11785 fmt.Printf("mul_int16 -32767%s32766 = %d, wanted 32766\n", `*`, got) 11786 failed = true 11787 } 11788 11789 if got := mul_32766_int16_ssa(-1); got != -32766 { 11790 fmt.Printf("mul_int16 32766%s-1 = %d, wanted -32766\n", `*`, got) 11791 failed = true 11792 } 11793 11794 if got := mul_int16_32766_ssa(-1); got != -32766 { 11795 fmt.Printf("mul_int16 -1%s32766 = %d, wanted -32766\n", `*`, got) 11796 failed = true 11797 } 11798 11799 if got := mul_32766_int16_ssa(0); got != 0 { 11800 fmt.Printf("mul_int16 32766%s0 = %d, wanted 0\n", `*`, got) 11801 failed = true 11802 } 11803 11804 if got := mul_int16_32766_ssa(0); got != 0 { 11805 fmt.Printf("mul_int16 0%s32766 = %d, wanted 0\n", `*`, got) 11806 failed = true 11807 } 11808 11809 if got := mul_32766_int16_ssa(1); got != 32766 { 11810 fmt.Printf("mul_int16 32766%s1 = %d, wanted 32766\n", `*`, got) 11811 failed = true 11812 } 11813 11814 if got := mul_int16_32766_ssa(1); got != 32766 { 11815 fmt.Printf("mul_int16 1%s32766 = %d, wanted 32766\n", `*`, got) 11816 failed = true 11817 } 11818 11819 if got := mul_32766_int16_ssa(32766); got != 4 { 11820 fmt.Printf("mul_int16 32766%s32766 = %d, wanted 4\n", `*`, got) 11821 failed = true 11822 } 11823 11824 if got := mul_int16_32766_ssa(32766); got != 4 { 11825 fmt.Printf("mul_int16 32766%s32766 = %d, wanted 4\n", `*`, got) 11826 failed = true 11827 } 11828 11829 if got := mul_32766_int16_ssa(32767); got != -32766 { 11830 fmt.Printf("mul_int16 32766%s32767 = %d, wanted -32766\n", `*`, got) 11831 failed = true 11832 } 11833 11834 if got := mul_int16_32766_ssa(32767); got != -32766 { 11835 fmt.Printf("mul_int16 32767%s32766 = %d, wanted -32766\n", `*`, got) 11836 failed = true 11837 } 11838 11839 if got := mul_32767_int16_ssa(-32768); got != -32768 { 11840 fmt.Printf("mul_int16 32767%s-32768 = %d, wanted -32768\n", `*`, got) 11841 failed = true 11842 } 11843 11844 if got := mul_int16_32767_ssa(-32768); got != -32768 { 11845 fmt.Printf("mul_int16 -32768%s32767 = %d, wanted -32768\n", `*`, got) 11846 failed = true 11847 } 11848 11849 if got := mul_32767_int16_ssa(-32767); got != -1 { 11850 fmt.Printf("mul_int16 32767%s-32767 = %d, wanted -1\n", `*`, got) 11851 failed = true 11852 } 11853 11854 if got := mul_int16_32767_ssa(-32767); got != -1 { 11855 fmt.Printf("mul_int16 -32767%s32767 = %d, wanted -1\n", `*`, got) 11856 failed = true 11857 } 11858 11859 if got := mul_32767_int16_ssa(-1); got != -32767 { 11860 fmt.Printf("mul_int16 32767%s-1 = %d, wanted -32767\n", `*`, got) 11861 failed = true 11862 } 11863 11864 if got := mul_int16_32767_ssa(-1); got != -32767 { 11865 fmt.Printf("mul_int16 -1%s32767 = %d, wanted -32767\n", `*`, got) 11866 failed = true 11867 } 11868 11869 if got := mul_32767_int16_ssa(0); got != 0 { 11870 fmt.Printf("mul_int16 32767%s0 = %d, wanted 0\n", `*`, got) 11871 failed = true 11872 } 11873 11874 if got := mul_int16_32767_ssa(0); got != 0 { 11875 fmt.Printf("mul_int16 0%s32767 = %d, wanted 0\n", `*`, got) 11876 failed = true 11877 } 11878 11879 if got := mul_32767_int16_ssa(1); got != 32767 { 11880 fmt.Printf("mul_int16 32767%s1 = %d, wanted 32767\n", `*`, got) 11881 failed = true 11882 } 11883 11884 if got := mul_int16_32767_ssa(1); got != 32767 { 11885 fmt.Printf("mul_int16 1%s32767 = %d, wanted 32767\n", `*`, got) 11886 failed = true 11887 } 11888 11889 if got := mul_32767_int16_ssa(32766); got != -32766 { 11890 fmt.Printf("mul_int16 32767%s32766 = %d, wanted -32766\n", `*`, got) 11891 failed = true 11892 } 11893 11894 if got := mul_int16_32767_ssa(32766); got != -32766 { 11895 fmt.Printf("mul_int16 32766%s32767 = %d, wanted -32766\n", `*`, got) 11896 failed = true 11897 } 11898 11899 if got := mul_32767_int16_ssa(32767); got != 1 { 11900 fmt.Printf("mul_int16 32767%s32767 = %d, wanted 1\n", `*`, got) 11901 failed = true 11902 } 11903 11904 if got := mul_int16_32767_ssa(32767); got != 1 { 11905 fmt.Printf("mul_int16 32767%s32767 = %d, wanted 1\n", `*`, got) 11906 failed = true 11907 } 11908 11909 if got := mod_Neg32768_int16_ssa(-32768); got != 0 { 11910 fmt.Printf("mod_int16 -32768%s-32768 = %d, wanted 0\n", `%`, got) 11911 failed = true 11912 } 11913 11914 if got := mod_int16_Neg32768_ssa(-32768); got != 0 { 11915 fmt.Printf("mod_int16 -32768%s-32768 = %d, wanted 0\n", `%`, got) 11916 failed = true 11917 } 11918 11919 if got := mod_Neg32768_int16_ssa(-32767); got != -1 { 11920 fmt.Printf("mod_int16 -32768%s-32767 = %d, wanted -1\n", `%`, got) 11921 failed = true 11922 } 11923 11924 if got := mod_int16_Neg32768_ssa(-32767); got != -32767 { 11925 fmt.Printf("mod_int16 -32767%s-32768 = %d, wanted -32767\n", `%`, got) 11926 failed = true 11927 } 11928 11929 if got := mod_Neg32768_int16_ssa(-1); got != 0 { 11930 fmt.Printf("mod_int16 -32768%s-1 = %d, wanted 0\n", `%`, got) 11931 failed = true 11932 } 11933 11934 if got := mod_int16_Neg32768_ssa(-1); got != -1 { 11935 fmt.Printf("mod_int16 -1%s-32768 = %d, wanted -1\n", `%`, got) 11936 failed = true 11937 } 11938 11939 if got := mod_int16_Neg32768_ssa(0); got != 0 { 11940 fmt.Printf("mod_int16 0%s-32768 = %d, wanted 0\n", `%`, got) 11941 failed = true 11942 } 11943 11944 if got := mod_Neg32768_int16_ssa(1); got != 0 { 11945 fmt.Printf("mod_int16 -32768%s1 = %d, wanted 0\n", `%`, got) 11946 failed = true 11947 } 11948 11949 if got := mod_int16_Neg32768_ssa(1); got != 1 { 11950 fmt.Printf("mod_int16 1%s-32768 = %d, wanted 1\n", `%`, got) 11951 failed = true 11952 } 11953 11954 if got := mod_Neg32768_int16_ssa(32766); got != -2 { 11955 fmt.Printf("mod_int16 -32768%s32766 = %d, wanted -2\n", `%`, got) 11956 failed = true 11957 } 11958 11959 if got := mod_int16_Neg32768_ssa(32766); got != 32766 { 11960 fmt.Printf("mod_int16 32766%s-32768 = %d, wanted 32766\n", `%`, got) 11961 failed = true 11962 } 11963 11964 if got := mod_Neg32768_int16_ssa(32767); got != -1 { 11965 fmt.Printf("mod_int16 -32768%s32767 = %d, wanted -1\n", `%`, got) 11966 failed = true 11967 } 11968 11969 if got := mod_int16_Neg32768_ssa(32767); got != 32767 { 11970 fmt.Printf("mod_int16 32767%s-32768 = %d, wanted 32767\n", `%`, got) 11971 failed = true 11972 } 11973 11974 if got := mod_Neg32767_int16_ssa(-32768); got != -32767 { 11975 fmt.Printf("mod_int16 -32767%s-32768 = %d, wanted -32767\n", `%`, got) 11976 failed = true 11977 } 11978 11979 if got := mod_int16_Neg32767_ssa(-32768); got != -1 { 11980 fmt.Printf("mod_int16 -32768%s-32767 = %d, wanted -1\n", `%`, got) 11981 failed = true 11982 } 11983 11984 if got := mod_Neg32767_int16_ssa(-32767); got != 0 { 11985 fmt.Printf("mod_int16 -32767%s-32767 = %d, wanted 0\n", `%`, got) 11986 failed = true 11987 } 11988 11989 if got := mod_int16_Neg32767_ssa(-32767); got != 0 { 11990 fmt.Printf("mod_int16 -32767%s-32767 = %d, wanted 0\n", `%`, got) 11991 failed = true 11992 } 11993 11994 if got := mod_Neg32767_int16_ssa(-1); got != 0 { 11995 fmt.Printf("mod_int16 -32767%s-1 = %d, wanted 0\n", `%`, got) 11996 failed = true 11997 } 11998 11999 if got := mod_int16_Neg32767_ssa(-1); got != -1 { 12000 fmt.Printf("mod_int16 -1%s-32767 = %d, wanted -1\n", `%`, got) 12001 failed = true 12002 } 12003 12004 if got := mod_int16_Neg32767_ssa(0); got != 0 { 12005 fmt.Printf("mod_int16 0%s-32767 = %d, wanted 0\n", `%`, got) 12006 failed = true 12007 } 12008 12009 if got := mod_Neg32767_int16_ssa(1); got != 0 { 12010 fmt.Printf("mod_int16 -32767%s1 = %d, wanted 0\n", `%`, got) 12011 failed = true 12012 } 12013 12014 if got := mod_int16_Neg32767_ssa(1); got != 1 { 12015 fmt.Printf("mod_int16 1%s-32767 = %d, wanted 1\n", `%`, got) 12016 failed = true 12017 } 12018 12019 if got := mod_Neg32767_int16_ssa(32766); got != -1 { 12020 fmt.Printf("mod_int16 -32767%s32766 = %d, wanted -1\n", `%`, got) 12021 failed = true 12022 } 12023 12024 if got := mod_int16_Neg32767_ssa(32766); got != 32766 { 12025 fmt.Printf("mod_int16 32766%s-32767 = %d, wanted 32766\n", `%`, got) 12026 failed = true 12027 } 12028 12029 if got := mod_Neg32767_int16_ssa(32767); got != 0 { 12030 fmt.Printf("mod_int16 -32767%s32767 = %d, wanted 0\n", `%`, got) 12031 failed = true 12032 } 12033 12034 if got := mod_int16_Neg32767_ssa(32767); got != 0 { 12035 fmt.Printf("mod_int16 32767%s-32767 = %d, wanted 0\n", `%`, got) 12036 failed = true 12037 } 12038 12039 if got := mod_Neg1_int16_ssa(-32768); got != -1 { 12040 fmt.Printf("mod_int16 -1%s-32768 = %d, wanted -1\n", `%`, got) 12041 failed = true 12042 } 12043 12044 if got := mod_int16_Neg1_ssa(-32768); got != 0 { 12045 fmt.Printf("mod_int16 -32768%s-1 = %d, wanted 0\n", `%`, got) 12046 failed = true 12047 } 12048 12049 if got := mod_Neg1_int16_ssa(-32767); got != -1 { 12050 fmt.Printf("mod_int16 -1%s-32767 = %d, wanted -1\n", `%`, got) 12051 failed = true 12052 } 12053 12054 if got := mod_int16_Neg1_ssa(-32767); got != 0 { 12055 fmt.Printf("mod_int16 -32767%s-1 = %d, wanted 0\n", `%`, got) 12056 failed = true 12057 } 12058 12059 if got := mod_Neg1_int16_ssa(-1); got != 0 { 12060 fmt.Printf("mod_int16 -1%s-1 = %d, wanted 0\n", `%`, got) 12061 failed = true 12062 } 12063 12064 if got := mod_int16_Neg1_ssa(-1); got != 0 { 12065 fmt.Printf("mod_int16 -1%s-1 = %d, wanted 0\n", `%`, got) 12066 failed = true 12067 } 12068 12069 if got := mod_int16_Neg1_ssa(0); got != 0 { 12070 fmt.Printf("mod_int16 0%s-1 = %d, wanted 0\n", `%`, got) 12071 failed = true 12072 } 12073 12074 if got := mod_Neg1_int16_ssa(1); got != 0 { 12075 fmt.Printf("mod_int16 -1%s1 = %d, wanted 0\n", `%`, got) 12076 failed = true 12077 } 12078 12079 if got := mod_int16_Neg1_ssa(1); got != 0 { 12080 fmt.Printf("mod_int16 1%s-1 = %d, wanted 0\n", `%`, got) 12081 failed = true 12082 } 12083 12084 if got := mod_Neg1_int16_ssa(32766); got != -1 { 12085 fmt.Printf("mod_int16 -1%s32766 = %d, wanted -1\n", `%`, got) 12086 failed = true 12087 } 12088 12089 if got := mod_int16_Neg1_ssa(32766); got != 0 { 12090 fmt.Printf("mod_int16 32766%s-1 = %d, wanted 0\n", `%`, got) 12091 failed = true 12092 } 12093 12094 if got := mod_Neg1_int16_ssa(32767); got != -1 { 12095 fmt.Printf("mod_int16 -1%s32767 = %d, wanted -1\n", `%`, got) 12096 failed = true 12097 } 12098 12099 if got := mod_int16_Neg1_ssa(32767); got != 0 { 12100 fmt.Printf("mod_int16 32767%s-1 = %d, wanted 0\n", `%`, got) 12101 failed = true 12102 } 12103 12104 if got := mod_0_int16_ssa(-32768); got != 0 { 12105 fmt.Printf("mod_int16 0%s-32768 = %d, wanted 0\n", `%`, got) 12106 failed = true 12107 } 12108 12109 if got := mod_0_int16_ssa(-32767); got != 0 { 12110 fmt.Printf("mod_int16 0%s-32767 = %d, wanted 0\n", `%`, got) 12111 failed = true 12112 } 12113 12114 if got := mod_0_int16_ssa(-1); got != 0 { 12115 fmt.Printf("mod_int16 0%s-1 = %d, wanted 0\n", `%`, got) 12116 failed = true 12117 } 12118 12119 if got := mod_0_int16_ssa(1); got != 0 { 12120 fmt.Printf("mod_int16 0%s1 = %d, wanted 0\n", `%`, got) 12121 failed = true 12122 } 12123 12124 if got := mod_0_int16_ssa(32766); got != 0 { 12125 fmt.Printf("mod_int16 0%s32766 = %d, wanted 0\n", `%`, got) 12126 failed = true 12127 } 12128 12129 if got := mod_0_int16_ssa(32767); got != 0 { 12130 fmt.Printf("mod_int16 0%s32767 = %d, wanted 0\n", `%`, got) 12131 failed = true 12132 } 12133 12134 if got := mod_1_int16_ssa(-32768); got != 1 { 12135 fmt.Printf("mod_int16 1%s-32768 = %d, wanted 1\n", `%`, got) 12136 failed = true 12137 } 12138 12139 if got := mod_int16_1_ssa(-32768); got != 0 { 12140 fmt.Printf("mod_int16 -32768%s1 = %d, wanted 0\n", `%`, got) 12141 failed = true 12142 } 12143 12144 if got := mod_1_int16_ssa(-32767); got != 1 { 12145 fmt.Printf("mod_int16 1%s-32767 = %d, wanted 1\n", `%`, got) 12146 failed = true 12147 } 12148 12149 if got := mod_int16_1_ssa(-32767); got != 0 { 12150 fmt.Printf("mod_int16 -32767%s1 = %d, wanted 0\n", `%`, got) 12151 failed = true 12152 } 12153 12154 if got := mod_1_int16_ssa(-1); got != 0 { 12155 fmt.Printf("mod_int16 1%s-1 = %d, wanted 0\n", `%`, got) 12156 failed = true 12157 } 12158 12159 if got := mod_int16_1_ssa(-1); got != 0 { 12160 fmt.Printf("mod_int16 -1%s1 = %d, wanted 0\n", `%`, got) 12161 failed = true 12162 } 12163 12164 if got := mod_int16_1_ssa(0); got != 0 { 12165 fmt.Printf("mod_int16 0%s1 = %d, wanted 0\n", `%`, got) 12166 failed = true 12167 } 12168 12169 if got := mod_1_int16_ssa(1); got != 0 { 12170 fmt.Printf("mod_int16 1%s1 = %d, wanted 0\n", `%`, got) 12171 failed = true 12172 } 12173 12174 if got := mod_int16_1_ssa(1); got != 0 { 12175 fmt.Printf("mod_int16 1%s1 = %d, wanted 0\n", `%`, got) 12176 failed = true 12177 } 12178 12179 if got := mod_1_int16_ssa(32766); got != 1 { 12180 fmt.Printf("mod_int16 1%s32766 = %d, wanted 1\n", `%`, got) 12181 failed = true 12182 } 12183 12184 if got := mod_int16_1_ssa(32766); got != 0 { 12185 fmt.Printf("mod_int16 32766%s1 = %d, wanted 0\n", `%`, got) 12186 failed = true 12187 } 12188 12189 if got := mod_1_int16_ssa(32767); got != 1 { 12190 fmt.Printf("mod_int16 1%s32767 = %d, wanted 1\n", `%`, got) 12191 failed = true 12192 } 12193 12194 if got := mod_int16_1_ssa(32767); got != 0 { 12195 fmt.Printf("mod_int16 32767%s1 = %d, wanted 0\n", `%`, got) 12196 failed = true 12197 } 12198 12199 if got := mod_32766_int16_ssa(-32768); got != 32766 { 12200 fmt.Printf("mod_int16 32766%s-32768 = %d, wanted 32766\n", `%`, got) 12201 failed = true 12202 } 12203 12204 if got := mod_int16_32766_ssa(-32768); got != -2 { 12205 fmt.Printf("mod_int16 -32768%s32766 = %d, wanted -2\n", `%`, got) 12206 failed = true 12207 } 12208 12209 if got := mod_32766_int16_ssa(-32767); got != 32766 { 12210 fmt.Printf("mod_int16 32766%s-32767 = %d, wanted 32766\n", `%`, got) 12211 failed = true 12212 } 12213 12214 if got := mod_int16_32766_ssa(-32767); got != -1 { 12215 fmt.Printf("mod_int16 -32767%s32766 = %d, wanted -1\n", `%`, got) 12216 failed = true 12217 } 12218 12219 if got := mod_32766_int16_ssa(-1); got != 0 { 12220 fmt.Printf("mod_int16 32766%s-1 = %d, wanted 0\n", `%`, got) 12221 failed = true 12222 } 12223 12224 if got := mod_int16_32766_ssa(-1); got != -1 { 12225 fmt.Printf("mod_int16 -1%s32766 = %d, wanted -1\n", `%`, got) 12226 failed = true 12227 } 12228 12229 if got := mod_int16_32766_ssa(0); got != 0 { 12230 fmt.Printf("mod_int16 0%s32766 = %d, wanted 0\n", `%`, got) 12231 failed = true 12232 } 12233 12234 if got := mod_32766_int16_ssa(1); got != 0 { 12235 fmt.Printf("mod_int16 32766%s1 = %d, wanted 0\n", `%`, got) 12236 failed = true 12237 } 12238 12239 if got := mod_int16_32766_ssa(1); got != 1 { 12240 fmt.Printf("mod_int16 1%s32766 = %d, wanted 1\n", `%`, got) 12241 failed = true 12242 } 12243 12244 if got := mod_32766_int16_ssa(32766); got != 0 { 12245 fmt.Printf("mod_int16 32766%s32766 = %d, wanted 0\n", `%`, got) 12246 failed = true 12247 } 12248 12249 if got := mod_int16_32766_ssa(32766); got != 0 { 12250 fmt.Printf("mod_int16 32766%s32766 = %d, wanted 0\n", `%`, got) 12251 failed = true 12252 } 12253 12254 if got := mod_32766_int16_ssa(32767); got != 32766 { 12255 fmt.Printf("mod_int16 32766%s32767 = %d, wanted 32766\n", `%`, got) 12256 failed = true 12257 } 12258 12259 if got := mod_int16_32766_ssa(32767); got != 1 { 12260 fmt.Printf("mod_int16 32767%s32766 = %d, wanted 1\n", `%`, got) 12261 failed = true 12262 } 12263 12264 if got := mod_32767_int16_ssa(-32768); got != 32767 { 12265 fmt.Printf("mod_int16 32767%s-32768 = %d, wanted 32767\n", `%`, got) 12266 failed = true 12267 } 12268 12269 if got := mod_int16_32767_ssa(-32768); got != -1 { 12270 fmt.Printf("mod_int16 -32768%s32767 = %d, wanted -1\n", `%`, got) 12271 failed = true 12272 } 12273 12274 if got := mod_32767_int16_ssa(-32767); got != 0 { 12275 fmt.Printf("mod_int16 32767%s-32767 = %d, wanted 0\n", `%`, got) 12276 failed = true 12277 } 12278 12279 if got := mod_int16_32767_ssa(-32767); got != 0 { 12280 fmt.Printf("mod_int16 -32767%s32767 = %d, wanted 0\n", `%`, got) 12281 failed = true 12282 } 12283 12284 if got := mod_32767_int16_ssa(-1); got != 0 { 12285 fmt.Printf("mod_int16 32767%s-1 = %d, wanted 0\n", `%`, got) 12286 failed = true 12287 } 12288 12289 if got := mod_int16_32767_ssa(-1); got != -1 { 12290 fmt.Printf("mod_int16 -1%s32767 = %d, wanted -1\n", `%`, got) 12291 failed = true 12292 } 12293 12294 if got := mod_int16_32767_ssa(0); got != 0 { 12295 fmt.Printf("mod_int16 0%s32767 = %d, wanted 0\n", `%`, got) 12296 failed = true 12297 } 12298 12299 if got := mod_32767_int16_ssa(1); got != 0 { 12300 fmt.Printf("mod_int16 32767%s1 = %d, wanted 0\n", `%`, got) 12301 failed = true 12302 } 12303 12304 if got := mod_int16_32767_ssa(1); got != 1 { 12305 fmt.Printf("mod_int16 1%s32767 = %d, wanted 1\n", `%`, got) 12306 failed = true 12307 } 12308 12309 if got := mod_32767_int16_ssa(32766); got != 1 { 12310 fmt.Printf("mod_int16 32767%s32766 = %d, wanted 1\n", `%`, got) 12311 failed = true 12312 } 12313 12314 if got := mod_int16_32767_ssa(32766); got != 32766 { 12315 fmt.Printf("mod_int16 32766%s32767 = %d, wanted 32766\n", `%`, got) 12316 failed = true 12317 } 12318 12319 if got := mod_32767_int16_ssa(32767); got != 0 { 12320 fmt.Printf("mod_int16 32767%s32767 = %d, wanted 0\n", `%`, got) 12321 failed = true 12322 } 12323 12324 if got := mod_int16_32767_ssa(32767); got != 0 { 12325 fmt.Printf("mod_int16 32767%s32767 = %d, wanted 0\n", `%`, got) 12326 failed = true 12327 } 12328 12329 if got := add_0_uint8_ssa(0); got != 0 { 12330 fmt.Printf("add_uint8 0%s0 = %d, wanted 0\n", `+`, got) 12331 failed = true 12332 } 12333 12334 if got := add_uint8_0_ssa(0); got != 0 { 12335 fmt.Printf("add_uint8 0%s0 = %d, wanted 0\n", `+`, got) 12336 failed = true 12337 } 12338 12339 if got := add_0_uint8_ssa(1); got != 1 { 12340 fmt.Printf("add_uint8 0%s1 = %d, wanted 1\n", `+`, got) 12341 failed = true 12342 } 12343 12344 if got := add_uint8_0_ssa(1); got != 1 { 12345 fmt.Printf("add_uint8 1%s0 = %d, wanted 1\n", `+`, got) 12346 failed = true 12347 } 12348 12349 if got := add_0_uint8_ssa(255); got != 255 { 12350 fmt.Printf("add_uint8 0%s255 = %d, wanted 255\n", `+`, got) 12351 failed = true 12352 } 12353 12354 if got := add_uint8_0_ssa(255); got != 255 { 12355 fmt.Printf("add_uint8 255%s0 = %d, wanted 255\n", `+`, got) 12356 failed = true 12357 } 12358 12359 if got := add_1_uint8_ssa(0); got != 1 { 12360 fmt.Printf("add_uint8 1%s0 = %d, wanted 1\n", `+`, got) 12361 failed = true 12362 } 12363 12364 if got := add_uint8_1_ssa(0); got != 1 { 12365 fmt.Printf("add_uint8 0%s1 = %d, wanted 1\n", `+`, got) 12366 failed = true 12367 } 12368 12369 if got := add_1_uint8_ssa(1); got != 2 { 12370 fmt.Printf("add_uint8 1%s1 = %d, wanted 2\n", `+`, got) 12371 failed = true 12372 } 12373 12374 if got := add_uint8_1_ssa(1); got != 2 { 12375 fmt.Printf("add_uint8 1%s1 = %d, wanted 2\n", `+`, got) 12376 failed = true 12377 } 12378 12379 if got := add_1_uint8_ssa(255); got != 0 { 12380 fmt.Printf("add_uint8 1%s255 = %d, wanted 0\n", `+`, got) 12381 failed = true 12382 } 12383 12384 if got := add_uint8_1_ssa(255); got != 0 { 12385 fmt.Printf("add_uint8 255%s1 = %d, wanted 0\n", `+`, got) 12386 failed = true 12387 } 12388 12389 if got := add_255_uint8_ssa(0); got != 255 { 12390 fmt.Printf("add_uint8 255%s0 = %d, wanted 255\n", `+`, got) 12391 failed = true 12392 } 12393 12394 if got := add_uint8_255_ssa(0); got != 255 { 12395 fmt.Printf("add_uint8 0%s255 = %d, wanted 255\n", `+`, got) 12396 failed = true 12397 } 12398 12399 if got := add_255_uint8_ssa(1); got != 0 { 12400 fmt.Printf("add_uint8 255%s1 = %d, wanted 0\n", `+`, got) 12401 failed = true 12402 } 12403 12404 if got := add_uint8_255_ssa(1); got != 0 { 12405 fmt.Printf("add_uint8 1%s255 = %d, wanted 0\n", `+`, got) 12406 failed = true 12407 } 12408 12409 if got := add_255_uint8_ssa(255); got != 254 { 12410 fmt.Printf("add_uint8 255%s255 = %d, wanted 254\n", `+`, got) 12411 failed = true 12412 } 12413 12414 if got := add_uint8_255_ssa(255); got != 254 { 12415 fmt.Printf("add_uint8 255%s255 = %d, wanted 254\n", `+`, got) 12416 failed = true 12417 } 12418 12419 if got := sub_0_uint8_ssa(0); got != 0 { 12420 fmt.Printf("sub_uint8 0%s0 = %d, wanted 0\n", `-`, got) 12421 failed = true 12422 } 12423 12424 if got := sub_uint8_0_ssa(0); got != 0 { 12425 fmt.Printf("sub_uint8 0%s0 = %d, wanted 0\n", `-`, got) 12426 failed = true 12427 } 12428 12429 if got := sub_0_uint8_ssa(1); got != 255 { 12430 fmt.Printf("sub_uint8 0%s1 = %d, wanted 255\n", `-`, got) 12431 failed = true 12432 } 12433 12434 if got := sub_uint8_0_ssa(1); got != 1 { 12435 fmt.Printf("sub_uint8 1%s0 = %d, wanted 1\n", `-`, got) 12436 failed = true 12437 } 12438 12439 if got := sub_0_uint8_ssa(255); got != 1 { 12440 fmt.Printf("sub_uint8 0%s255 = %d, wanted 1\n", `-`, got) 12441 failed = true 12442 } 12443 12444 if got := sub_uint8_0_ssa(255); got != 255 { 12445 fmt.Printf("sub_uint8 255%s0 = %d, wanted 255\n", `-`, got) 12446 failed = true 12447 } 12448 12449 if got := sub_1_uint8_ssa(0); got != 1 { 12450 fmt.Printf("sub_uint8 1%s0 = %d, wanted 1\n", `-`, got) 12451 failed = true 12452 } 12453 12454 if got := sub_uint8_1_ssa(0); got != 255 { 12455 fmt.Printf("sub_uint8 0%s1 = %d, wanted 255\n", `-`, got) 12456 failed = true 12457 } 12458 12459 if got := sub_1_uint8_ssa(1); got != 0 { 12460 fmt.Printf("sub_uint8 1%s1 = %d, wanted 0\n", `-`, got) 12461 failed = true 12462 } 12463 12464 if got := sub_uint8_1_ssa(1); got != 0 { 12465 fmt.Printf("sub_uint8 1%s1 = %d, wanted 0\n", `-`, got) 12466 failed = true 12467 } 12468 12469 if got := sub_1_uint8_ssa(255); got != 2 { 12470 fmt.Printf("sub_uint8 1%s255 = %d, wanted 2\n", `-`, got) 12471 failed = true 12472 } 12473 12474 if got := sub_uint8_1_ssa(255); got != 254 { 12475 fmt.Printf("sub_uint8 255%s1 = %d, wanted 254\n", `-`, got) 12476 failed = true 12477 } 12478 12479 if got := sub_255_uint8_ssa(0); got != 255 { 12480 fmt.Printf("sub_uint8 255%s0 = %d, wanted 255\n", `-`, got) 12481 failed = true 12482 } 12483 12484 if got := sub_uint8_255_ssa(0); got != 1 { 12485 fmt.Printf("sub_uint8 0%s255 = %d, wanted 1\n", `-`, got) 12486 failed = true 12487 } 12488 12489 if got := sub_255_uint8_ssa(1); got != 254 { 12490 fmt.Printf("sub_uint8 255%s1 = %d, wanted 254\n", `-`, got) 12491 failed = true 12492 } 12493 12494 if got := sub_uint8_255_ssa(1); got != 2 { 12495 fmt.Printf("sub_uint8 1%s255 = %d, wanted 2\n", `-`, got) 12496 failed = true 12497 } 12498 12499 if got := sub_255_uint8_ssa(255); got != 0 { 12500 fmt.Printf("sub_uint8 255%s255 = %d, wanted 0\n", `-`, got) 12501 failed = true 12502 } 12503 12504 if got := sub_uint8_255_ssa(255); got != 0 { 12505 fmt.Printf("sub_uint8 255%s255 = %d, wanted 0\n", `-`, got) 12506 failed = true 12507 } 12508 12509 if got := div_0_uint8_ssa(1); got != 0 { 12510 fmt.Printf("div_uint8 0%s1 = %d, wanted 0\n", `/`, got) 12511 failed = true 12512 } 12513 12514 if got := div_0_uint8_ssa(255); got != 0 { 12515 fmt.Printf("div_uint8 0%s255 = %d, wanted 0\n", `/`, got) 12516 failed = true 12517 } 12518 12519 if got := div_uint8_1_ssa(0); got != 0 { 12520 fmt.Printf("div_uint8 0%s1 = %d, wanted 0\n", `/`, got) 12521 failed = true 12522 } 12523 12524 if got := div_1_uint8_ssa(1); got != 1 { 12525 fmt.Printf("div_uint8 1%s1 = %d, wanted 1\n", `/`, got) 12526 failed = true 12527 } 12528 12529 if got := div_uint8_1_ssa(1); got != 1 { 12530 fmt.Printf("div_uint8 1%s1 = %d, wanted 1\n", `/`, got) 12531 failed = true 12532 } 12533 12534 if got := div_1_uint8_ssa(255); got != 0 { 12535 fmt.Printf("div_uint8 1%s255 = %d, wanted 0\n", `/`, got) 12536 failed = true 12537 } 12538 12539 if got := div_uint8_1_ssa(255); got != 255 { 12540 fmt.Printf("div_uint8 255%s1 = %d, wanted 255\n", `/`, got) 12541 failed = true 12542 } 12543 12544 if got := div_uint8_255_ssa(0); got != 0 { 12545 fmt.Printf("div_uint8 0%s255 = %d, wanted 0\n", `/`, got) 12546 failed = true 12547 } 12548 12549 if got := div_255_uint8_ssa(1); got != 255 { 12550 fmt.Printf("div_uint8 255%s1 = %d, wanted 255\n", `/`, got) 12551 failed = true 12552 } 12553 12554 if got := div_uint8_255_ssa(1); got != 0 { 12555 fmt.Printf("div_uint8 1%s255 = %d, wanted 0\n", `/`, got) 12556 failed = true 12557 } 12558 12559 if got := div_255_uint8_ssa(255); got != 1 { 12560 fmt.Printf("div_uint8 255%s255 = %d, wanted 1\n", `/`, got) 12561 failed = true 12562 } 12563 12564 if got := div_uint8_255_ssa(255); got != 1 { 12565 fmt.Printf("div_uint8 255%s255 = %d, wanted 1\n", `/`, got) 12566 failed = true 12567 } 12568 12569 if got := mul_0_uint8_ssa(0); got != 0 { 12570 fmt.Printf("mul_uint8 0%s0 = %d, wanted 0\n", `*`, got) 12571 failed = true 12572 } 12573 12574 if got := mul_uint8_0_ssa(0); got != 0 { 12575 fmt.Printf("mul_uint8 0%s0 = %d, wanted 0\n", `*`, got) 12576 failed = true 12577 } 12578 12579 if got := mul_0_uint8_ssa(1); got != 0 { 12580 fmt.Printf("mul_uint8 0%s1 = %d, wanted 0\n", `*`, got) 12581 failed = true 12582 } 12583 12584 if got := mul_uint8_0_ssa(1); got != 0 { 12585 fmt.Printf("mul_uint8 1%s0 = %d, wanted 0\n", `*`, got) 12586 failed = true 12587 } 12588 12589 if got := mul_0_uint8_ssa(255); got != 0 { 12590 fmt.Printf("mul_uint8 0%s255 = %d, wanted 0\n", `*`, got) 12591 failed = true 12592 } 12593 12594 if got := mul_uint8_0_ssa(255); got != 0 { 12595 fmt.Printf("mul_uint8 255%s0 = %d, wanted 0\n", `*`, got) 12596 failed = true 12597 } 12598 12599 if got := mul_1_uint8_ssa(0); got != 0 { 12600 fmt.Printf("mul_uint8 1%s0 = %d, wanted 0\n", `*`, got) 12601 failed = true 12602 } 12603 12604 if got := mul_uint8_1_ssa(0); got != 0 { 12605 fmt.Printf("mul_uint8 0%s1 = %d, wanted 0\n", `*`, got) 12606 failed = true 12607 } 12608 12609 if got := mul_1_uint8_ssa(1); got != 1 { 12610 fmt.Printf("mul_uint8 1%s1 = %d, wanted 1\n", `*`, got) 12611 failed = true 12612 } 12613 12614 if got := mul_uint8_1_ssa(1); got != 1 { 12615 fmt.Printf("mul_uint8 1%s1 = %d, wanted 1\n", `*`, got) 12616 failed = true 12617 } 12618 12619 if got := mul_1_uint8_ssa(255); got != 255 { 12620 fmt.Printf("mul_uint8 1%s255 = %d, wanted 255\n", `*`, got) 12621 failed = true 12622 } 12623 12624 if got := mul_uint8_1_ssa(255); got != 255 { 12625 fmt.Printf("mul_uint8 255%s1 = %d, wanted 255\n", `*`, got) 12626 failed = true 12627 } 12628 12629 if got := mul_255_uint8_ssa(0); got != 0 { 12630 fmt.Printf("mul_uint8 255%s0 = %d, wanted 0\n", `*`, got) 12631 failed = true 12632 } 12633 12634 if got := mul_uint8_255_ssa(0); got != 0 { 12635 fmt.Printf("mul_uint8 0%s255 = %d, wanted 0\n", `*`, got) 12636 failed = true 12637 } 12638 12639 if got := mul_255_uint8_ssa(1); got != 255 { 12640 fmt.Printf("mul_uint8 255%s1 = %d, wanted 255\n", `*`, got) 12641 failed = true 12642 } 12643 12644 if got := mul_uint8_255_ssa(1); got != 255 { 12645 fmt.Printf("mul_uint8 1%s255 = %d, wanted 255\n", `*`, got) 12646 failed = true 12647 } 12648 12649 if got := mul_255_uint8_ssa(255); got != 1 { 12650 fmt.Printf("mul_uint8 255%s255 = %d, wanted 1\n", `*`, got) 12651 failed = true 12652 } 12653 12654 if got := mul_uint8_255_ssa(255); got != 1 { 12655 fmt.Printf("mul_uint8 255%s255 = %d, wanted 1\n", `*`, got) 12656 failed = true 12657 } 12658 12659 if got := lsh_0_uint8_ssa(0); got != 0 { 12660 fmt.Printf("lsh_uint8 0%s0 = %d, wanted 0\n", `<<`, got) 12661 failed = true 12662 } 12663 12664 if got := lsh_uint8_0_ssa(0); got != 0 { 12665 fmt.Printf("lsh_uint8 0%s0 = %d, wanted 0\n", `<<`, got) 12666 failed = true 12667 } 12668 12669 if got := lsh_0_uint8_ssa(1); got != 0 { 12670 fmt.Printf("lsh_uint8 0%s1 = %d, wanted 0\n", `<<`, got) 12671 failed = true 12672 } 12673 12674 if got := lsh_uint8_0_ssa(1); got != 1 { 12675 fmt.Printf("lsh_uint8 1%s0 = %d, wanted 1\n", `<<`, got) 12676 failed = true 12677 } 12678 12679 if got := lsh_0_uint8_ssa(255); got != 0 { 12680 fmt.Printf("lsh_uint8 0%s255 = %d, wanted 0\n", `<<`, got) 12681 failed = true 12682 } 12683 12684 if got := lsh_uint8_0_ssa(255); got != 255 { 12685 fmt.Printf("lsh_uint8 255%s0 = %d, wanted 255\n", `<<`, got) 12686 failed = true 12687 } 12688 12689 if got := lsh_1_uint8_ssa(0); got != 1 { 12690 fmt.Printf("lsh_uint8 1%s0 = %d, wanted 1\n", `<<`, got) 12691 failed = true 12692 } 12693 12694 if got := lsh_uint8_1_ssa(0); got != 0 { 12695 fmt.Printf("lsh_uint8 0%s1 = %d, wanted 0\n", `<<`, got) 12696 failed = true 12697 } 12698 12699 if got := lsh_1_uint8_ssa(1); got != 2 { 12700 fmt.Printf("lsh_uint8 1%s1 = %d, wanted 2\n", `<<`, got) 12701 failed = true 12702 } 12703 12704 if got := lsh_uint8_1_ssa(1); got != 2 { 12705 fmt.Printf("lsh_uint8 1%s1 = %d, wanted 2\n", `<<`, got) 12706 failed = true 12707 } 12708 12709 if got := lsh_1_uint8_ssa(255); got != 0 { 12710 fmt.Printf("lsh_uint8 1%s255 = %d, wanted 0\n", `<<`, got) 12711 failed = true 12712 } 12713 12714 if got := lsh_uint8_1_ssa(255); got != 254 { 12715 fmt.Printf("lsh_uint8 255%s1 = %d, wanted 254\n", `<<`, got) 12716 failed = true 12717 } 12718 12719 if got := lsh_255_uint8_ssa(0); got != 255 { 12720 fmt.Printf("lsh_uint8 255%s0 = %d, wanted 255\n", `<<`, got) 12721 failed = true 12722 } 12723 12724 if got := lsh_uint8_255_ssa(0); got != 0 { 12725 fmt.Printf("lsh_uint8 0%s255 = %d, wanted 0\n", `<<`, got) 12726 failed = true 12727 } 12728 12729 if got := lsh_255_uint8_ssa(1); got != 254 { 12730 fmt.Printf("lsh_uint8 255%s1 = %d, wanted 254\n", `<<`, got) 12731 failed = true 12732 } 12733 12734 if got := lsh_uint8_255_ssa(1); got != 0 { 12735 fmt.Printf("lsh_uint8 1%s255 = %d, wanted 0\n", `<<`, got) 12736 failed = true 12737 } 12738 12739 if got := lsh_255_uint8_ssa(255); got != 0 { 12740 fmt.Printf("lsh_uint8 255%s255 = %d, wanted 0\n", `<<`, got) 12741 failed = true 12742 } 12743 12744 if got := lsh_uint8_255_ssa(255); got != 0 { 12745 fmt.Printf("lsh_uint8 255%s255 = %d, wanted 0\n", `<<`, got) 12746 failed = true 12747 } 12748 12749 if got := rsh_0_uint8_ssa(0); got != 0 { 12750 fmt.Printf("rsh_uint8 0%s0 = %d, wanted 0\n", `>>`, got) 12751 failed = true 12752 } 12753 12754 if got := rsh_uint8_0_ssa(0); got != 0 { 12755 fmt.Printf("rsh_uint8 0%s0 = %d, wanted 0\n", `>>`, got) 12756 failed = true 12757 } 12758 12759 if got := rsh_0_uint8_ssa(1); got != 0 { 12760 fmt.Printf("rsh_uint8 0%s1 = %d, wanted 0\n", `>>`, got) 12761 failed = true 12762 } 12763 12764 if got := rsh_uint8_0_ssa(1); got != 1 { 12765 fmt.Printf("rsh_uint8 1%s0 = %d, wanted 1\n", `>>`, got) 12766 failed = true 12767 } 12768 12769 if got := rsh_0_uint8_ssa(255); got != 0 { 12770 fmt.Printf("rsh_uint8 0%s255 = %d, wanted 0\n", `>>`, got) 12771 failed = true 12772 } 12773 12774 if got := rsh_uint8_0_ssa(255); got != 255 { 12775 fmt.Printf("rsh_uint8 255%s0 = %d, wanted 255\n", `>>`, got) 12776 failed = true 12777 } 12778 12779 if got := rsh_1_uint8_ssa(0); got != 1 { 12780 fmt.Printf("rsh_uint8 1%s0 = %d, wanted 1\n", `>>`, got) 12781 failed = true 12782 } 12783 12784 if got := rsh_uint8_1_ssa(0); got != 0 { 12785 fmt.Printf("rsh_uint8 0%s1 = %d, wanted 0\n", `>>`, got) 12786 failed = true 12787 } 12788 12789 if got := rsh_1_uint8_ssa(1); got != 0 { 12790 fmt.Printf("rsh_uint8 1%s1 = %d, wanted 0\n", `>>`, got) 12791 failed = true 12792 } 12793 12794 if got := rsh_uint8_1_ssa(1); got != 0 { 12795 fmt.Printf("rsh_uint8 1%s1 = %d, wanted 0\n", `>>`, got) 12796 failed = true 12797 } 12798 12799 if got := rsh_1_uint8_ssa(255); got != 0 { 12800 fmt.Printf("rsh_uint8 1%s255 = %d, wanted 0\n", `>>`, got) 12801 failed = true 12802 } 12803 12804 if got := rsh_uint8_1_ssa(255); got != 127 { 12805 fmt.Printf("rsh_uint8 255%s1 = %d, wanted 127\n", `>>`, got) 12806 failed = true 12807 } 12808 12809 if got := rsh_255_uint8_ssa(0); got != 255 { 12810 fmt.Printf("rsh_uint8 255%s0 = %d, wanted 255\n", `>>`, got) 12811 failed = true 12812 } 12813 12814 if got := rsh_uint8_255_ssa(0); got != 0 { 12815 fmt.Printf("rsh_uint8 0%s255 = %d, wanted 0\n", `>>`, got) 12816 failed = true 12817 } 12818 12819 if got := rsh_255_uint8_ssa(1); got != 127 { 12820 fmt.Printf("rsh_uint8 255%s1 = %d, wanted 127\n", `>>`, got) 12821 failed = true 12822 } 12823 12824 if got := rsh_uint8_255_ssa(1); got != 0 { 12825 fmt.Printf("rsh_uint8 1%s255 = %d, wanted 0\n", `>>`, got) 12826 failed = true 12827 } 12828 12829 if got := rsh_255_uint8_ssa(255); got != 0 { 12830 fmt.Printf("rsh_uint8 255%s255 = %d, wanted 0\n", `>>`, got) 12831 failed = true 12832 } 12833 12834 if got := rsh_uint8_255_ssa(255); got != 0 { 12835 fmt.Printf("rsh_uint8 255%s255 = %d, wanted 0\n", `>>`, got) 12836 failed = true 12837 } 12838 12839 if got := mod_0_uint8_ssa(1); got != 0 { 12840 fmt.Printf("mod_uint8 0%s1 = %d, wanted 0\n", `%`, got) 12841 failed = true 12842 } 12843 12844 if got := mod_0_uint8_ssa(255); got != 0 { 12845 fmt.Printf("mod_uint8 0%s255 = %d, wanted 0\n", `%`, got) 12846 failed = true 12847 } 12848 12849 if got := mod_uint8_1_ssa(0); got != 0 { 12850 fmt.Printf("mod_uint8 0%s1 = %d, wanted 0\n", `%`, got) 12851 failed = true 12852 } 12853 12854 if got := mod_1_uint8_ssa(1); got != 0 { 12855 fmt.Printf("mod_uint8 1%s1 = %d, wanted 0\n", `%`, got) 12856 failed = true 12857 } 12858 12859 if got := mod_uint8_1_ssa(1); got != 0 { 12860 fmt.Printf("mod_uint8 1%s1 = %d, wanted 0\n", `%`, got) 12861 failed = true 12862 } 12863 12864 if got := mod_1_uint8_ssa(255); got != 1 { 12865 fmt.Printf("mod_uint8 1%s255 = %d, wanted 1\n", `%`, got) 12866 failed = true 12867 } 12868 12869 if got := mod_uint8_1_ssa(255); got != 0 { 12870 fmt.Printf("mod_uint8 255%s1 = %d, wanted 0\n", `%`, got) 12871 failed = true 12872 } 12873 12874 if got := mod_uint8_255_ssa(0); got != 0 { 12875 fmt.Printf("mod_uint8 0%s255 = %d, wanted 0\n", `%`, got) 12876 failed = true 12877 } 12878 12879 if got := mod_255_uint8_ssa(1); got != 0 { 12880 fmt.Printf("mod_uint8 255%s1 = %d, wanted 0\n", `%`, got) 12881 failed = true 12882 } 12883 12884 if got := mod_uint8_255_ssa(1); got != 1 { 12885 fmt.Printf("mod_uint8 1%s255 = %d, wanted 1\n", `%`, got) 12886 failed = true 12887 } 12888 12889 if got := mod_255_uint8_ssa(255); got != 0 { 12890 fmt.Printf("mod_uint8 255%s255 = %d, wanted 0\n", `%`, got) 12891 failed = true 12892 } 12893 12894 if got := mod_uint8_255_ssa(255); got != 0 { 12895 fmt.Printf("mod_uint8 255%s255 = %d, wanted 0\n", `%`, got) 12896 failed = true 12897 } 12898 12899 if got := add_Neg128_int8_ssa(-128); got != 0 { 12900 fmt.Printf("add_int8 -128%s-128 = %d, wanted 0\n", `+`, got) 12901 failed = true 12902 } 12903 12904 if got := add_int8_Neg128_ssa(-128); got != 0 { 12905 fmt.Printf("add_int8 -128%s-128 = %d, wanted 0\n", `+`, got) 12906 failed = true 12907 } 12908 12909 if got := add_Neg128_int8_ssa(-127); got != 1 { 12910 fmt.Printf("add_int8 -128%s-127 = %d, wanted 1\n", `+`, got) 12911 failed = true 12912 } 12913 12914 if got := add_int8_Neg128_ssa(-127); got != 1 { 12915 fmt.Printf("add_int8 -127%s-128 = %d, wanted 1\n", `+`, got) 12916 failed = true 12917 } 12918 12919 if got := add_Neg128_int8_ssa(-1); got != 127 { 12920 fmt.Printf("add_int8 -128%s-1 = %d, wanted 127\n", `+`, got) 12921 failed = true 12922 } 12923 12924 if got := add_int8_Neg128_ssa(-1); got != 127 { 12925 fmt.Printf("add_int8 -1%s-128 = %d, wanted 127\n", `+`, got) 12926 failed = true 12927 } 12928 12929 if got := add_Neg128_int8_ssa(0); got != -128 { 12930 fmt.Printf("add_int8 -128%s0 = %d, wanted -128\n", `+`, got) 12931 failed = true 12932 } 12933 12934 if got := add_int8_Neg128_ssa(0); got != -128 { 12935 fmt.Printf("add_int8 0%s-128 = %d, wanted -128\n", `+`, got) 12936 failed = true 12937 } 12938 12939 if got := add_Neg128_int8_ssa(1); got != -127 { 12940 fmt.Printf("add_int8 -128%s1 = %d, wanted -127\n", `+`, got) 12941 failed = true 12942 } 12943 12944 if got := add_int8_Neg128_ssa(1); got != -127 { 12945 fmt.Printf("add_int8 1%s-128 = %d, wanted -127\n", `+`, got) 12946 failed = true 12947 } 12948 12949 if got := add_Neg128_int8_ssa(126); got != -2 { 12950 fmt.Printf("add_int8 -128%s126 = %d, wanted -2\n", `+`, got) 12951 failed = true 12952 } 12953 12954 if got := add_int8_Neg128_ssa(126); got != -2 { 12955 fmt.Printf("add_int8 126%s-128 = %d, wanted -2\n", `+`, got) 12956 failed = true 12957 } 12958 12959 if got := add_Neg128_int8_ssa(127); got != -1 { 12960 fmt.Printf("add_int8 -128%s127 = %d, wanted -1\n", `+`, got) 12961 failed = true 12962 } 12963 12964 if got := add_int8_Neg128_ssa(127); got != -1 { 12965 fmt.Printf("add_int8 127%s-128 = %d, wanted -1\n", `+`, got) 12966 failed = true 12967 } 12968 12969 if got := add_Neg127_int8_ssa(-128); got != 1 { 12970 fmt.Printf("add_int8 -127%s-128 = %d, wanted 1\n", `+`, got) 12971 failed = true 12972 } 12973 12974 if got := add_int8_Neg127_ssa(-128); got != 1 { 12975 fmt.Printf("add_int8 -128%s-127 = %d, wanted 1\n", `+`, got) 12976 failed = true 12977 } 12978 12979 if got := add_Neg127_int8_ssa(-127); got != 2 { 12980 fmt.Printf("add_int8 -127%s-127 = %d, wanted 2\n", `+`, got) 12981 failed = true 12982 } 12983 12984 if got := add_int8_Neg127_ssa(-127); got != 2 { 12985 fmt.Printf("add_int8 -127%s-127 = %d, wanted 2\n", `+`, got) 12986 failed = true 12987 } 12988 12989 if got := add_Neg127_int8_ssa(-1); got != -128 { 12990 fmt.Printf("add_int8 -127%s-1 = %d, wanted -128\n", `+`, got) 12991 failed = true 12992 } 12993 12994 if got := add_int8_Neg127_ssa(-1); got != -128 { 12995 fmt.Printf("add_int8 -1%s-127 = %d, wanted -128\n", `+`, got) 12996 failed = true 12997 } 12998 12999 if got := add_Neg127_int8_ssa(0); got != -127 { 13000 fmt.Printf("add_int8 -127%s0 = %d, wanted -127\n", `+`, got) 13001 failed = true 13002 } 13003 13004 if got := add_int8_Neg127_ssa(0); got != -127 { 13005 fmt.Printf("add_int8 0%s-127 = %d, wanted -127\n", `+`, got) 13006 failed = true 13007 } 13008 13009 if got := add_Neg127_int8_ssa(1); got != -126 { 13010 fmt.Printf("add_int8 -127%s1 = %d, wanted -126\n", `+`, got) 13011 failed = true 13012 } 13013 13014 if got := add_int8_Neg127_ssa(1); got != -126 { 13015 fmt.Printf("add_int8 1%s-127 = %d, wanted -126\n", `+`, got) 13016 failed = true 13017 } 13018 13019 if got := add_Neg127_int8_ssa(126); got != -1 { 13020 fmt.Printf("add_int8 -127%s126 = %d, wanted -1\n", `+`, got) 13021 failed = true 13022 } 13023 13024 if got := add_int8_Neg127_ssa(126); got != -1 { 13025 fmt.Printf("add_int8 126%s-127 = %d, wanted -1\n", `+`, got) 13026 failed = true 13027 } 13028 13029 if got := add_Neg127_int8_ssa(127); got != 0 { 13030 fmt.Printf("add_int8 -127%s127 = %d, wanted 0\n", `+`, got) 13031 failed = true 13032 } 13033 13034 if got := add_int8_Neg127_ssa(127); got != 0 { 13035 fmt.Printf("add_int8 127%s-127 = %d, wanted 0\n", `+`, got) 13036 failed = true 13037 } 13038 13039 if got := add_Neg1_int8_ssa(-128); got != 127 { 13040 fmt.Printf("add_int8 -1%s-128 = %d, wanted 127\n", `+`, got) 13041 failed = true 13042 } 13043 13044 if got := add_int8_Neg1_ssa(-128); got != 127 { 13045 fmt.Printf("add_int8 -128%s-1 = %d, wanted 127\n", `+`, got) 13046 failed = true 13047 } 13048 13049 if got := add_Neg1_int8_ssa(-127); got != -128 { 13050 fmt.Printf("add_int8 -1%s-127 = %d, wanted -128\n", `+`, got) 13051 failed = true 13052 } 13053 13054 if got := add_int8_Neg1_ssa(-127); got != -128 { 13055 fmt.Printf("add_int8 -127%s-1 = %d, wanted -128\n", `+`, got) 13056 failed = true 13057 } 13058 13059 if got := add_Neg1_int8_ssa(-1); got != -2 { 13060 fmt.Printf("add_int8 -1%s-1 = %d, wanted -2\n", `+`, got) 13061 failed = true 13062 } 13063 13064 if got := add_int8_Neg1_ssa(-1); got != -2 { 13065 fmt.Printf("add_int8 -1%s-1 = %d, wanted -2\n", `+`, got) 13066 failed = true 13067 } 13068 13069 if got := add_Neg1_int8_ssa(0); got != -1 { 13070 fmt.Printf("add_int8 -1%s0 = %d, wanted -1\n", `+`, got) 13071 failed = true 13072 } 13073 13074 if got := add_int8_Neg1_ssa(0); got != -1 { 13075 fmt.Printf("add_int8 0%s-1 = %d, wanted -1\n", `+`, got) 13076 failed = true 13077 } 13078 13079 if got := add_Neg1_int8_ssa(1); got != 0 { 13080 fmt.Printf("add_int8 -1%s1 = %d, wanted 0\n", `+`, got) 13081 failed = true 13082 } 13083 13084 if got := add_int8_Neg1_ssa(1); got != 0 { 13085 fmt.Printf("add_int8 1%s-1 = %d, wanted 0\n", `+`, got) 13086 failed = true 13087 } 13088 13089 if got := add_Neg1_int8_ssa(126); got != 125 { 13090 fmt.Printf("add_int8 -1%s126 = %d, wanted 125\n", `+`, got) 13091 failed = true 13092 } 13093 13094 if got := add_int8_Neg1_ssa(126); got != 125 { 13095 fmt.Printf("add_int8 126%s-1 = %d, wanted 125\n", `+`, got) 13096 failed = true 13097 } 13098 13099 if got := add_Neg1_int8_ssa(127); got != 126 { 13100 fmt.Printf("add_int8 -1%s127 = %d, wanted 126\n", `+`, got) 13101 failed = true 13102 } 13103 13104 if got := add_int8_Neg1_ssa(127); got != 126 { 13105 fmt.Printf("add_int8 127%s-1 = %d, wanted 126\n", `+`, got) 13106 failed = true 13107 } 13108 13109 if got := add_0_int8_ssa(-128); got != -128 { 13110 fmt.Printf("add_int8 0%s-128 = %d, wanted -128\n", `+`, got) 13111 failed = true 13112 } 13113 13114 if got := add_int8_0_ssa(-128); got != -128 { 13115 fmt.Printf("add_int8 -128%s0 = %d, wanted -128\n", `+`, got) 13116 failed = true 13117 } 13118 13119 if got := add_0_int8_ssa(-127); got != -127 { 13120 fmt.Printf("add_int8 0%s-127 = %d, wanted -127\n", `+`, got) 13121 failed = true 13122 } 13123 13124 if got := add_int8_0_ssa(-127); got != -127 { 13125 fmt.Printf("add_int8 -127%s0 = %d, wanted -127\n", `+`, got) 13126 failed = true 13127 } 13128 13129 if got := add_0_int8_ssa(-1); got != -1 { 13130 fmt.Printf("add_int8 0%s-1 = %d, wanted -1\n", `+`, got) 13131 failed = true 13132 } 13133 13134 if got := add_int8_0_ssa(-1); got != -1 { 13135 fmt.Printf("add_int8 -1%s0 = %d, wanted -1\n", `+`, got) 13136 failed = true 13137 } 13138 13139 if got := add_0_int8_ssa(0); got != 0 { 13140 fmt.Printf("add_int8 0%s0 = %d, wanted 0\n", `+`, got) 13141 failed = true 13142 } 13143 13144 if got := add_int8_0_ssa(0); got != 0 { 13145 fmt.Printf("add_int8 0%s0 = %d, wanted 0\n", `+`, got) 13146 failed = true 13147 } 13148 13149 if got := add_0_int8_ssa(1); got != 1 { 13150 fmt.Printf("add_int8 0%s1 = %d, wanted 1\n", `+`, got) 13151 failed = true 13152 } 13153 13154 if got := add_int8_0_ssa(1); got != 1 { 13155 fmt.Printf("add_int8 1%s0 = %d, wanted 1\n", `+`, got) 13156 failed = true 13157 } 13158 13159 if got := add_0_int8_ssa(126); got != 126 { 13160 fmt.Printf("add_int8 0%s126 = %d, wanted 126\n", `+`, got) 13161 failed = true 13162 } 13163 13164 if got := add_int8_0_ssa(126); got != 126 { 13165 fmt.Printf("add_int8 126%s0 = %d, wanted 126\n", `+`, got) 13166 failed = true 13167 } 13168 13169 if got := add_0_int8_ssa(127); got != 127 { 13170 fmt.Printf("add_int8 0%s127 = %d, wanted 127\n", `+`, got) 13171 failed = true 13172 } 13173 13174 if got := add_int8_0_ssa(127); got != 127 { 13175 fmt.Printf("add_int8 127%s0 = %d, wanted 127\n", `+`, got) 13176 failed = true 13177 } 13178 13179 if got := add_1_int8_ssa(-128); got != -127 { 13180 fmt.Printf("add_int8 1%s-128 = %d, wanted -127\n", `+`, got) 13181 failed = true 13182 } 13183 13184 if got := add_int8_1_ssa(-128); got != -127 { 13185 fmt.Printf("add_int8 -128%s1 = %d, wanted -127\n", `+`, got) 13186 failed = true 13187 } 13188 13189 if got := add_1_int8_ssa(-127); got != -126 { 13190 fmt.Printf("add_int8 1%s-127 = %d, wanted -126\n", `+`, got) 13191 failed = true 13192 } 13193 13194 if got := add_int8_1_ssa(-127); got != -126 { 13195 fmt.Printf("add_int8 -127%s1 = %d, wanted -126\n", `+`, got) 13196 failed = true 13197 } 13198 13199 if got := add_1_int8_ssa(-1); got != 0 { 13200 fmt.Printf("add_int8 1%s-1 = %d, wanted 0\n", `+`, got) 13201 failed = true 13202 } 13203 13204 if got := add_int8_1_ssa(-1); got != 0 { 13205 fmt.Printf("add_int8 -1%s1 = %d, wanted 0\n", `+`, got) 13206 failed = true 13207 } 13208 13209 if got := add_1_int8_ssa(0); got != 1 { 13210 fmt.Printf("add_int8 1%s0 = %d, wanted 1\n", `+`, got) 13211 failed = true 13212 } 13213 13214 if got := add_int8_1_ssa(0); got != 1 { 13215 fmt.Printf("add_int8 0%s1 = %d, wanted 1\n", `+`, got) 13216 failed = true 13217 } 13218 13219 if got := add_1_int8_ssa(1); got != 2 { 13220 fmt.Printf("add_int8 1%s1 = %d, wanted 2\n", `+`, got) 13221 failed = true 13222 } 13223 13224 if got := add_int8_1_ssa(1); got != 2 { 13225 fmt.Printf("add_int8 1%s1 = %d, wanted 2\n", `+`, got) 13226 failed = true 13227 } 13228 13229 if got := add_1_int8_ssa(126); got != 127 { 13230 fmt.Printf("add_int8 1%s126 = %d, wanted 127\n", `+`, got) 13231 failed = true 13232 } 13233 13234 if got := add_int8_1_ssa(126); got != 127 { 13235 fmt.Printf("add_int8 126%s1 = %d, wanted 127\n", `+`, got) 13236 failed = true 13237 } 13238 13239 if got := add_1_int8_ssa(127); got != -128 { 13240 fmt.Printf("add_int8 1%s127 = %d, wanted -128\n", `+`, got) 13241 failed = true 13242 } 13243 13244 if got := add_int8_1_ssa(127); got != -128 { 13245 fmt.Printf("add_int8 127%s1 = %d, wanted -128\n", `+`, got) 13246 failed = true 13247 } 13248 13249 if got := add_126_int8_ssa(-128); got != -2 { 13250 fmt.Printf("add_int8 126%s-128 = %d, wanted -2\n", `+`, got) 13251 failed = true 13252 } 13253 13254 if got := add_int8_126_ssa(-128); got != -2 { 13255 fmt.Printf("add_int8 -128%s126 = %d, wanted -2\n", `+`, got) 13256 failed = true 13257 } 13258 13259 if got := add_126_int8_ssa(-127); got != -1 { 13260 fmt.Printf("add_int8 126%s-127 = %d, wanted -1\n", `+`, got) 13261 failed = true 13262 } 13263 13264 if got := add_int8_126_ssa(-127); got != -1 { 13265 fmt.Printf("add_int8 -127%s126 = %d, wanted -1\n", `+`, got) 13266 failed = true 13267 } 13268 13269 if got := add_126_int8_ssa(-1); got != 125 { 13270 fmt.Printf("add_int8 126%s-1 = %d, wanted 125\n", `+`, got) 13271 failed = true 13272 } 13273 13274 if got := add_int8_126_ssa(-1); got != 125 { 13275 fmt.Printf("add_int8 -1%s126 = %d, wanted 125\n", `+`, got) 13276 failed = true 13277 } 13278 13279 if got := add_126_int8_ssa(0); got != 126 { 13280 fmt.Printf("add_int8 126%s0 = %d, wanted 126\n", `+`, got) 13281 failed = true 13282 } 13283 13284 if got := add_int8_126_ssa(0); got != 126 { 13285 fmt.Printf("add_int8 0%s126 = %d, wanted 126\n", `+`, got) 13286 failed = true 13287 } 13288 13289 if got := add_126_int8_ssa(1); got != 127 { 13290 fmt.Printf("add_int8 126%s1 = %d, wanted 127\n", `+`, got) 13291 failed = true 13292 } 13293 13294 if got := add_int8_126_ssa(1); got != 127 { 13295 fmt.Printf("add_int8 1%s126 = %d, wanted 127\n", `+`, got) 13296 failed = true 13297 } 13298 13299 if got := add_126_int8_ssa(126); got != -4 { 13300 fmt.Printf("add_int8 126%s126 = %d, wanted -4\n", `+`, got) 13301 failed = true 13302 } 13303 13304 if got := add_int8_126_ssa(126); got != -4 { 13305 fmt.Printf("add_int8 126%s126 = %d, wanted -4\n", `+`, got) 13306 failed = true 13307 } 13308 13309 if got := add_126_int8_ssa(127); got != -3 { 13310 fmt.Printf("add_int8 126%s127 = %d, wanted -3\n", `+`, got) 13311 failed = true 13312 } 13313 13314 if got := add_int8_126_ssa(127); got != -3 { 13315 fmt.Printf("add_int8 127%s126 = %d, wanted -3\n", `+`, got) 13316 failed = true 13317 } 13318 13319 if got := add_127_int8_ssa(-128); got != -1 { 13320 fmt.Printf("add_int8 127%s-128 = %d, wanted -1\n", `+`, got) 13321 failed = true 13322 } 13323 13324 if got := add_int8_127_ssa(-128); got != -1 { 13325 fmt.Printf("add_int8 -128%s127 = %d, wanted -1\n", `+`, got) 13326 failed = true 13327 } 13328 13329 if got := add_127_int8_ssa(-127); got != 0 { 13330 fmt.Printf("add_int8 127%s-127 = %d, wanted 0\n", `+`, got) 13331 failed = true 13332 } 13333 13334 if got := add_int8_127_ssa(-127); got != 0 { 13335 fmt.Printf("add_int8 -127%s127 = %d, wanted 0\n", `+`, got) 13336 failed = true 13337 } 13338 13339 if got := add_127_int8_ssa(-1); got != 126 { 13340 fmt.Printf("add_int8 127%s-1 = %d, wanted 126\n", `+`, got) 13341 failed = true 13342 } 13343 13344 if got := add_int8_127_ssa(-1); got != 126 { 13345 fmt.Printf("add_int8 -1%s127 = %d, wanted 126\n", `+`, got) 13346 failed = true 13347 } 13348 13349 if got := add_127_int8_ssa(0); got != 127 { 13350 fmt.Printf("add_int8 127%s0 = %d, wanted 127\n", `+`, got) 13351 failed = true 13352 } 13353 13354 if got := add_int8_127_ssa(0); got != 127 { 13355 fmt.Printf("add_int8 0%s127 = %d, wanted 127\n", `+`, got) 13356 failed = true 13357 } 13358 13359 if got := add_127_int8_ssa(1); got != -128 { 13360 fmt.Printf("add_int8 127%s1 = %d, wanted -128\n", `+`, got) 13361 failed = true 13362 } 13363 13364 if got := add_int8_127_ssa(1); got != -128 { 13365 fmt.Printf("add_int8 1%s127 = %d, wanted -128\n", `+`, got) 13366 failed = true 13367 } 13368 13369 if got := add_127_int8_ssa(126); got != -3 { 13370 fmt.Printf("add_int8 127%s126 = %d, wanted -3\n", `+`, got) 13371 failed = true 13372 } 13373 13374 if got := add_int8_127_ssa(126); got != -3 { 13375 fmt.Printf("add_int8 126%s127 = %d, wanted -3\n", `+`, got) 13376 failed = true 13377 } 13378 13379 if got := add_127_int8_ssa(127); got != -2 { 13380 fmt.Printf("add_int8 127%s127 = %d, wanted -2\n", `+`, got) 13381 failed = true 13382 } 13383 13384 if got := add_int8_127_ssa(127); got != -2 { 13385 fmt.Printf("add_int8 127%s127 = %d, wanted -2\n", `+`, got) 13386 failed = true 13387 } 13388 13389 if got := sub_Neg128_int8_ssa(-128); got != 0 { 13390 fmt.Printf("sub_int8 -128%s-128 = %d, wanted 0\n", `-`, got) 13391 failed = true 13392 } 13393 13394 if got := sub_int8_Neg128_ssa(-128); got != 0 { 13395 fmt.Printf("sub_int8 -128%s-128 = %d, wanted 0\n", `-`, got) 13396 failed = true 13397 } 13398 13399 if got := sub_Neg128_int8_ssa(-127); got != -1 { 13400 fmt.Printf("sub_int8 -128%s-127 = %d, wanted -1\n", `-`, got) 13401 failed = true 13402 } 13403 13404 if got := sub_int8_Neg128_ssa(-127); got != 1 { 13405 fmt.Printf("sub_int8 -127%s-128 = %d, wanted 1\n", `-`, got) 13406 failed = true 13407 } 13408 13409 if got := sub_Neg128_int8_ssa(-1); got != -127 { 13410 fmt.Printf("sub_int8 -128%s-1 = %d, wanted -127\n", `-`, got) 13411 failed = true 13412 } 13413 13414 if got := sub_int8_Neg128_ssa(-1); got != 127 { 13415 fmt.Printf("sub_int8 -1%s-128 = %d, wanted 127\n", `-`, got) 13416 failed = true 13417 } 13418 13419 if got := sub_Neg128_int8_ssa(0); got != -128 { 13420 fmt.Printf("sub_int8 -128%s0 = %d, wanted -128\n", `-`, got) 13421 failed = true 13422 } 13423 13424 if got := sub_int8_Neg128_ssa(0); got != -128 { 13425 fmt.Printf("sub_int8 0%s-128 = %d, wanted -128\n", `-`, got) 13426 failed = true 13427 } 13428 13429 if got := sub_Neg128_int8_ssa(1); got != 127 { 13430 fmt.Printf("sub_int8 -128%s1 = %d, wanted 127\n", `-`, got) 13431 failed = true 13432 } 13433 13434 if got := sub_int8_Neg128_ssa(1); got != -127 { 13435 fmt.Printf("sub_int8 1%s-128 = %d, wanted -127\n", `-`, got) 13436 failed = true 13437 } 13438 13439 if got := sub_Neg128_int8_ssa(126); got != 2 { 13440 fmt.Printf("sub_int8 -128%s126 = %d, wanted 2\n", `-`, got) 13441 failed = true 13442 } 13443 13444 if got := sub_int8_Neg128_ssa(126); got != -2 { 13445 fmt.Printf("sub_int8 126%s-128 = %d, wanted -2\n", `-`, got) 13446 failed = true 13447 } 13448 13449 if got := sub_Neg128_int8_ssa(127); got != 1 { 13450 fmt.Printf("sub_int8 -128%s127 = %d, wanted 1\n", `-`, got) 13451 failed = true 13452 } 13453 13454 if got := sub_int8_Neg128_ssa(127); got != -1 { 13455 fmt.Printf("sub_int8 127%s-128 = %d, wanted -1\n", `-`, got) 13456 failed = true 13457 } 13458 13459 if got := sub_Neg127_int8_ssa(-128); got != 1 { 13460 fmt.Printf("sub_int8 -127%s-128 = %d, wanted 1\n", `-`, got) 13461 failed = true 13462 } 13463 13464 if got := sub_int8_Neg127_ssa(-128); got != -1 { 13465 fmt.Printf("sub_int8 -128%s-127 = %d, wanted -1\n", `-`, got) 13466 failed = true 13467 } 13468 13469 if got := sub_Neg127_int8_ssa(-127); got != 0 { 13470 fmt.Printf("sub_int8 -127%s-127 = %d, wanted 0\n", `-`, got) 13471 failed = true 13472 } 13473 13474 if got := sub_int8_Neg127_ssa(-127); got != 0 { 13475 fmt.Printf("sub_int8 -127%s-127 = %d, wanted 0\n", `-`, got) 13476 failed = true 13477 } 13478 13479 if got := sub_Neg127_int8_ssa(-1); got != -126 { 13480 fmt.Printf("sub_int8 -127%s-1 = %d, wanted -126\n", `-`, got) 13481 failed = true 13482 } 13483 13484 if got := sub_int8_Neg127_ssa(-1); got != 126 { 13485 fmt.Printf("sub_int8 -1%s-127 = %d, wanted 126\n", `-`, got) 13486 failed = true 13487 } 13488 13489 if got := sub_Neg127_int8_ssa(0); got != -127 { 13490 fmt.Printf("sub_int8 -127%s0 = %d, wanted -127\n", `-`, got) 13491 failed = true 13492 } 13493 13494 if got := sub_int8_Neg127_ssa(0); got != 127 { 13495 fmt.Printf("sub_int8 0%s-127 = %d, wanted 127\n", `-`, got) 13496 failed = true 13497 } 13498 13499 if got := sub_Neg127_int8_ssa(1); got != -128 { 13500 fmt.Printf("sub_int8 -127%s1 = %d, wanted -128\n", `-`, got) 13501 failed = true 13502 } 13503 13504 if got := sub_int8_Neg127_ssa(1); got != -128 { 13505 fmt.Printf("sub_int8 1%s-127 = %d, wanted -128\n", `-`, got) 13506 failed = true 13507 } 13508 13509 if got := sub_Neg127_int8_ssa(126); got != 3 { 13510 fmt.Printf("sub_int8 -127%s126 = %d, wanted 3\n", `-`, got) 13511 failed = true 13512 } 13513 13514 if got := sub_int8_Neg127_ssa(126); got != -3 { 13515 fmt.Printf("sub_int8 126%s-127 = %d, wanted -3\n", `-`, got) 13516 failed = true 13517 } 13518 13519 if got := sub_Neg127_int8_ssa(127); got != 2 { 13520 fmt.Printf("sub_int8 -127%s127 = %d, wanted 2\n", `-`, got) 13521 failed = true 13522 } 13523 13524 if got := sub_int8_Neg127_ssa(127); got != -2 { 13525 fmt.Printf("sub_int8 127%s-127 = %d, wanted -2\n", `-`, got) 13526 failed = true 13527 } 13528 13529 if got := sub_Neg1_int8_ssa(-128); got != 127 { 13530 fmt.Printf("sub_int8 -1%s-128 = %d, wanted 127\n", `-`, got) 13531 failed = true 13532 } 13533 13534 if got := sub_int8_Neg1_ssa(-128); got != -127 { 13535 fmt.Printf("sub_int8 -128%s-1 = %d, wanted -127\n", `-`, got) 13536 failed = true 13537 } 13538 13539 if got := sub_Neg1_int8_ssa(-127); got != 126 { 13540 fmt.Printf("sub_int8 -1%s-127 = %d, wanted 126\n", `-`, got) 13541 failed = true 13542 } 13543 13544 if got := sub_int8_Neg1_ssa(-127); got != -126 { 13545 fmt.Printf("sub_int8 -127%s-1 = %d, wanted -126\n", `-`, got) 13546 failed = true 13547 } 13548 13549 if got := sub_Neg1_int8_ssa(-1); got != 0 { 13550 fmt.Printf("sub_int8 -1%s-1 = %d, wanted 0\n", `-`, got) 13551 failed = true 13552 } 13553 13554 if got := sub_int8_Neg1_ssa(-1); got != 0 { 13555 fmt.Printf("sub_int8 -1%s-1 = %d, wanted 0\n", `-`, got) 13556 failed = true 13557 } 13558 13559 if got := sub_Neg1_int8_ssa(0); got != -1 { 13560 fmt.Printf("sub_int8 -1%s0 = %d, wanted -1\n", `-`, got) 13561 failed = true 13562 } 13563 13564 if got := sub_int8_Neg1_ssa(0); got != 1 { 13565 fmt.Printf("sub_int8 0%s-1 = %d, wanted 1\n", `-`, got) 13566 failed = true 13567 } 13568 13569 if got := sub_Neg1_int8_ssa(1); got != -2 { 13570 fmt.Printf("sub_int8 -1%s1 = %d, wanted -2\n", `-`, got) 13571 failed = true 13572 } 13573 13574 if got := sub_int8_Neg1_ssa(1); got != 2 { 13575 fmt.Printf("sub_int8 1%s-1 = %d, wanted 2\n", `-`, got) 13576 failed = true 13577 } 13578 13579 if got := sub_Neg1_int8_ssa(126); got != -127 { 13580 fmt.Printf("sub_int8 -1%s126 = %d, wanted -127\n", `-`, got) 13581 failed = true 13582 } 13583 13584 if got := sub_int8_Neg1_ssa(126); got != 127 { 13585 fmt.Printf("sub_int8 126%s-1 = %d, wanted 127\n", `-`, got) 13586 failed = true 13587 } 13588 13589 if got := sub_Neg1_int8_ssa(127); got != -128 { 13590 fmt.Printf("sub_int8 -1%s127 = %d, wanted -128\n", `-`, got) 13591 failed = true 13592 } 13593 13594 if got := sub_int8_Neg1_ssa(127); got != -128 { 13595 fmt.Printf("sub_int8 127%s-1 = %d, wanted -128\n", `-`, got) 13596 failed = true 13597 } 13598 13599 if got := sub_0_int8_ssa(-128); got != -128 { 13600 fmt.Printf("sub_int8 0%s-128 = %d, wanted -128\n", `-`, got) 13601 failed = true 13602 } 13603 13604 if got := sub_int8_0_ssa(-128); got != -128 { 13605 fmt.Printf("sub_int8 -128%s0 = %d, wanted -128\n", `-`, got) 13606 failed = true 13607 } 13608 13609 if got := sub_0_int8_ssa(-127); got != 127 { 13610 fmt.Printf("sub_int8 0%s-127 = %d, wanted 127\n", `-`, got) 13611 failed = true 13612 } 13613 13614 if got := sub_int8_0_ssa(-127); got != -127 { 13615 fmt.Printf("sub_int8 -127%s0 = %d, wanted -127\n", `-`, got) 13616 failed = true 13617 } 13618 13619 if got := sub_0_int8_ssa(-1); got != 1 { 13620 fmt.Printf("sub_int8 0%s-1 = %d, wanted 1\n", `-`, got) 13621 failed = true 13622 } 13623 13624 if got := sub_int8_0_ssa(-1); got != -1 { 13625 fmt.Printf("sub_int8 -1%s0 = %d, wanted -1\n", `-`, got) 13626 failed = true 13627 } 13628 13629 if got := sub_0_int8_ssa(0); got != 0 { 13630 fmt.Printf("sub_int8 0%s0 = %d, wanted 0\n", `-`, got) 13631 failed = true 13632 } 13633 13634 if got := sub_int8_0_ssa(0); got != 0 { 13635 fmt.Printf("sub_int8 0%s0 = %d, wanted 0\n", `-`, got) 13636 failed = true 13637 } 13638 13639 if got := sub_0_int8_ssa(1); got != -1 { 13640 fmt.Printf("sub_int8 0%s1 = %d, wanted -1\n", `-`, got) 13641 failed = true 13642 } 13643 13644 if got := sub_int8_0_ssa(1); got != 1 { 13645 fmt.Printf("sub_int8 1%s0 = %d, wanted 1\n", `-`, got) 13646 failed = true 13647 } 13648 13649 if got := sub_0_int8_ssa(126); got != -126 { 13650 fmt.Printf("sub_int8 0%s126 = %d, wanted -126\n", `-`, got) 13651 failed = true 13652 } 13653 13654 if got := sub_int8_0_ssa(126); got != 126 { 13655 fmt.Printf("sub_int8 126%s0 = %d, wanted 126\n", `-`, got) 13656 failed = true 13657 } 13658 13659 if got := sub_0_int8_ssa(127); got != -127 { 13660 fmt.Printf("sub_int8 0%s127 = %d, wanted -127\n", `-`, got) 13661 failed = true 13662 } 13663 13664 if got := sub_int8_0_ssa(127); got != 127 { 13665 fmt.Printf("sub_int8 127%s0 = %d, wanted 127\n", `-`, got) 13666 failed = true 13667 } 13668 13669 if got := sub_1_int8_ssa(-128); got != -127 { 13670 fmt.Printf("sub_int8 1%s-128 = %d, wanted -127\n", `-`, got) 13671 failed = true 13672 } 13673 13674 if got := sub_int8_1_ssa(-128); got != 127 { 13675 fmt.Printf("sub_int8 -128%s1 = %d, wanted 127\n", `-`, got) 13676 failed = true 13677 } 13678 13679 if got := sub_1_int8_ssa(-127); got != -128 { 13680 fmt.Printf("sub_int8 1%s-127 = %d, wanted -128\n", `-`, got) 13681 failed = true 13682 } 13683 13684 if got := sub_int8_1_ssa(-127); got != -128 { 13685 fmt.Printf("sub_int8 -127%s1 = %d, wanted -128\n", `-`, got) 13686 failed = true 13687 } 13688 13689 if got := sub_1_int8_ssa(-1); got != 2 { 13690 fmt.Printf("sub_int8 1%s-1 = %d, wanted 2\n", `-`, got) 13691 failed = true 13692 } 13693 13694 if got := sub_int8_1_ssa(-1); got != -2 { 13695 fmt.Printf("sub_int8 -1%s1 = %d, wanted -2\n", `-`, got) 13696 failed = true 13697 } 13698 13699 if got := sub_1_int8_ssa(0); got != 1 { 13700 fmt.Printf("sub_int8 1%s0 = %d, wanted 1\n", `-`, got) 13701 failed = true 13702 } 13703 13704 if got := sub_int8_1_ssa(0); got != -1 { 13705 fmt.Printf("sub_int8 0%s1 = %d, wanted -1\n", `-`, got) 13706 failed = true 13707 } 13708 13709 if got := sub_1_int8_ssa(1); got != 0 { 13710 fmt.Printf("sub_int8 1%s1 = %d, wanted 0\n", `-`, got) 13711 failed = true 13712 } 13713 13714 if got := sub_int8_1_ssa(1); got != 0 { 13715 fmt.Printf("sub_int8 1%s1 = %d, wanted 0\n", `-`, got) 13716 failed = true 13717 } 13718 13719 if got := sub_1_int8_ssa(126); got != -125 { 13720 fmt.Printf("sub_int8 1%s126 = %d, wanted -125\n", `-`, got) 13721 failed = true 13722 } 13723 13724 if got := sub_int8_1_ssa(126); got != 125 { 13725 fmt.Printf("sub_int8 126%s1 = %d, wanted 125\n", `-`, got) 13726 failed = true 13727 } 13728 13729 if got := sub_1_int8_ssa(127); got != -126 { 13730 fmt.Printf("sub_int8 1%s127 = %d, wanted -126\n", `-`, got) 13731 failed = true 13732 } 13733 13734 if got := sub_int8_1_ssa(127); got != 126 { 13735 fmt.Printf("sub_int8 127%s1 = %d, wanted 126\n", `-`, got) 13736 failed = true 13737 } 13738 13739 if got := sub_126_int8_ssa(-128); got != -2 { 13740 fmt.Printf("sub_int8 126%s-128 = %d, wanted -2\n", `-`, got) 13741 failed = true 13742 } 13743 13744 if got := sub_int8_126_ssa(-128); got != 2 { 13745 fmt.Printf("sub_int8 -128%s126 = %d, wanted 2\n", `-`, got) 13746 failed = true 13747 } 13748 13749 if got := sub_126_int8_ssa(-127); got != -3 { 13750 fmt.Printf("sub_int8 126%s-127 = %d, wanted -3\n", `-`, got) 13751 failed = true 13752 } 13753 13754 if got := sub_int8_126_ssa(-127); got != 3 { 13755 fmt.Printf("sub_int8 -127%s126 = %d, wanted 3\n", `-`, got) 13756 failed = true 13757 } 13758 13759 if got := sub_126_int8_ssa(-1); got != 127 { 13760 fmt.Printf("sub_int8 126%s-1 = %d, wanted 127\n", `-`, got) 13761 failed = true 13762 } 13763 13764 if got := sub_int8_126_ssa(-1); got != -127 { 13765 fmt.Printf("sub_int8 -1%s126 = %d, wanted -127\n", `-`, got) 13766 failed = true 13767 } 13768 13769 if got := sub_126_int8_ssa(0); got != 126 { 13770 fmt.Printf("sub_int8 126%s0 = %d, wanted 126\n", `-`, got) 13771 failed = true 13772 } 13773 13774 if got := sub_int8_126_ssa(0); got != -126 { 13775 fmt.Printf("sub_int8 0%s126 = %d, wanted -126\n", `-`, got) 13776 failed = true 13777 } 13778 13779 if got := sub_126_int8_ssa(1); got != 125 { 13780 fmt.Printf("sub_int8 126%s1 = %d, wanted 125\n", `-`, got) 13781 failed = true 13782 } 13783 13784 if got := sub_int8_126_ssa(1); got != -125 { 13785 fmt.Printf("sub_int8 1%s126 = %d, wanted -125\n", `-`, got) 13786 failed = true 13787 } 13788 13789 if got := sub_126_int8_ssa(126); got != 0 { 13790 fmt.Printf("sub_int8 126%s126 = %d, wanted 0\n", `-`, got) 13791 failed = true 13792 } 13793 13794 if got := sub_int8_126_ssa(126); got != 0 { 13795 fmt.Printf("sub_int8 126%s126 = %d, wanted 0\n", `-`, got) 13796 failed = true 13797 } 13798 13799 if got := sub_126_int8_ssa(127); got != -1 { 13800 fmt.Printf("sub_int8 126%s127 = %d, wanted -1\n", `-`, got) 13801 failed = true 13802 } 13803 13804 if got := sub_int8_126_ssa(127); got != 1 { 13805 fmt.Printf("sub_int8 127%s126 = %d, wanted 1\n", `-`, got) 13806 failed = true 13807 } 13808 13809 if got := sub_127_int8_ssa(-128); got != -1 { 13810 fmt.Printf("sub_int8 127%s-128 = %d, wanted -1\n", `-`, got) 13811 failed = true 13812 } 13813 13814 if got := sub_int8_127_ssa(-128); got != 1 { 13815 fmt.Printf("sub_int8 -128%s127 = %d, wanted 1\n", `-`, got) 13816 failed = true 13817 } 13818 13819 if got := sub_127_int8_ssa(-127); got != -2 { 13820 fmt.Printf("sub_int8 127%s-127 = %d, wanted -2\n", `-`, got) 13821 failed = true 13822 } 13823 13824 if got := sub_int8_127_ssa(-127); got != 2 { 13825 fmt.Printf("sub_int8 -127%s127 = %d, wanted 2\n", `-`, got) 13826 failed = true 13827 } 13828 13829 if got := sub_127_int8_ssa(-1); got != -128 { 13830 fmt.Printf("sub_int8 127%s-1 = %d, wanted -128\n", `-`, got) 13831 failed = true 13832 } 13833 13834 if got := sub_int8_127_ssa(-1); got != -128 { 13835 fmt.Printf("sub_int8 -1%s127 = %d, wanted -128\n", `-`, got) 13836 failed = true 13837 } 13838 13839 if got := sub_127_int8_ssa(0); got != 127 { 13840 fmt.Printf("sub_int8 127%s0 = %d, wanted 127\n", `-`, got) 13841 failed = true 13842 } 13843 13844 if got := sub_int8_127_ssa(0); got != -127 { 13845 fmt.Printf("sub_int8 0%s127 = %d, wanted -127\n", `-`, got) 13846 failed = true 13847 } 13848 13849 if got := sub_127_int8_ssa(1); got != 126 { 13850 fmt.Printf("sub_int8 127%s1 = %d, wanted 126\n", `-`, got) 13851 failed = true 13852 } 13853 13854 if got := sub_int8_127_ssa(1); got != -126 { 13855 fmt.Printf("sub_int8 1%s127 = %d, wanted -126\n", `-`, got) 13856 failed = true 13857 } 13858 13859 if got := sub_127_int8_ssa(126); got != 1 { 13860 fmt.Printf("sub_int8 127%s126 = %d, wanted 1\n", `-`, got) 13861 failed = true 13862 } 13863 13864 if got := sub_int8_127_ssa(126); got != -1 { 13865 fmt.Printf("sub_int8 126%s127 = %d, wanted -1\n", `-`, got) 13866 failed = true 13867 } 13868 13869 if got := sub_127_int8_ssa(127); got != 0 { 13870 fmt.Printf("sub_int8 127%s127 = %d, wanted 0\n", `-`, got) 13871 failed = true 13872 } 13873 13874 if got := sub_int8_127_ssa(127); got != 0 { 13875 fmt.Printf("sub_int8 127%s127 = %d, wanted 0\n", `-`, got) 13876 failed = true 13877 } 13878 13879 if got := div_Neg128_int8_ssa(-128); got != 1 { 13880 fmt.Printf("div_int8 -128%s-128 = %d, wanted 1\n", `/`, got) 13881 failed = true 13882 } 13883 13884 if got := div_int8_Neg128_ssa(-128); got != 1 { 13885 fmt.Printf("div_int8 -128%s-128 = %d, wanted 1\n", `/`, got) 13886 failed = true 13887 } 13888 13889 if got := div_Neg128_int8_ssa(-127); got != 1 { 13890 fmt.Printf("div_int8 -128%s-127 = %d, wanted 1\n", `/`, got) 13891 failed = true 13892 } 13893 13894 if got := div_int8_Neg128_ssa(-127); got != 0 { 13895 fmt.Printf("div_int8 -127%s-128 = %d, wanted 0\n", `/`, got) 13896 failed = true 13897 } 13898 13899 if got := div_Neg128_int8_ssa(-1); got != -128 { 13900 fmt.Printf("div_int8 -128%s-1 = %d, wanted -128\n", `/`, got) 13901 failed = true 13902 } 13903 13904 if got := div_int8_Neg128_ssa(-1); got != 0 { 13905 fmt.Printf("div_int8 -1%s-128 = %d, wanted 0\n", `/`, got) 13906 failed = true 13907 } 13908 13909 if got := div_int8_Neg128_ssa(0); got != 0 { 13910 fmt.Printf("div_int8 0%s-128 = %d, wanted 0\n", `/`, got) 13911 failed = true 13912 } 13913 13914 if got := div_Neg128_int8_ssa(1); got != -128 { 13915 fmt.Printf("div_int8 -128%s1 = %d, wanted -128\n", `/`, got) 13916 failed = true 13917 } 13918 13919 if got := div_int8_Neg128_ssa(1); got != 0 { 13920 fmt.Printf("div_int8 1%s-128 = %d, wanted 0\n", `/`, got) 13921 failed = true 13922 } 13923 13924 if got := div_Neg128_int8_ssa(126); got != -1 { 13925 fmt.Printf("div_int8 -128%s126 = %d, wanted -1\n", `/`, got) 13926 failed = true 13927 } 13928 13929 if got := div_int8_Neg128_ssa(126); got != 0 { 13930 fmt.Printf("div_int8 126%s-128 = %d, wanted 0\n", `/`, got) 13931 failed = true 13932 } 13933 13934 if got := div_Neg128_int8_ssa(127); got != -1 { 13935 fmt.Printf("div_int8 -128%s127 = %d, wanted -1\n", `/`, got) 13936 failed = true 13937 } 13938 13939 if got := div_int8_Neg128_ssa(127); got != 0 { 13940 fmt.Printf("div_int8 127%s-128 = %d, wanted 0\n", `/`, got) 13941 failed = true 13942 } 13943 13944 if got := div_Neg127_int8_ssa(-128); got != 0 { 13945 fmt.Printf("div_int8 -127%s-128 = %d, wanted 0\n", `/`, got) 13946 failed = true 13947 } 13948 13949 if got := div_int8_Neg127_ssa(-128); got != 1 { 13950 fmt.Printf("div_int8 -128%s-127 = %d, wanted 1\n", `/`, got) 13951 failed = true 13952 } 13953 13954 if got := div_Neg127_int8_ssa(-127); got != 1 { 13955 fmt.Printf("div_int8 -127%s-127 = %d, wanted 1\n", `/`, got) 13956 failed = true 13957 } 13958 13959 if got := div_int8_Neg127_ssa(-127); got != 1 { 13960 fmt.Printf("div_int8 -127%s-127 = %d, wanted 1\n", `/`, got) 13961 failed = true 13962 } 13963 13964 if got := div_Neg127_int8_ssa(-1); got != 127 { 13965 fmt.Printf("div_int8 -127%s-1 = %d, wanted 127\n", `/`, got) 13966 failed = true 13967 } 13968 13969 if got := div_int8_Neg127_ssa(-1); got != 0 { 13970 fmt.Printf("div_int8 -1%s-127 = %d, wanted 0\n", `/`, got) 13971 failed = true 13972 } 13973 13974 if got := div_int8_Neg127_ssa(0); got != 0 { 13975 fmt.Printf("div_int8 0%s-127 = %d, wanted 0\n", `/`, got) 13976 failed = true 13977 } 13978 13979 if got := div_Neg127_int8_ssa(1); got != -127 { 13980 fmt.Printf("div_int8 -127%s1 = %d, wanted -127\n", `/`, got) 13981 failed = true 13982 } 13983 13984 if got := div_int8_Neg127_ssa(1); got != 0 { 13985 fmt.Printf("div_int8 1%s-127 = %d, wanted 0\n", `/`, got) 13986 failed = true 13987 } 13988 13989 if got := div_Neg127_int8_ssa(126); got != -1 { 13990 fmt.Printf("div_int8 -127%s126 = %d, wanted -1\n", `/`, got) 13991 failed = true 13992 } 13993 13994 if got := div_int8_Neg127_ssa(126); got != 0 { 13995 fmt.Printf("div_int8 126%s-127 = %d, wanted 0\n", `/`, got) 13996 failed = true 13997 } 13998 13999 if got := div_Neg127_int8_ssa(127); got != -1 { 14000 fmt.Printf("div_int8 -127%s127 = %d, wanted -1\n", `/`, got) 14001 failed = true 14002 } 14003 14004 if got := div_int8_Neg127_ssa(127); got != -1 { 14005 fmt.Printf("div_int8 127%s-127 = %d, wanted -1\n", `/`, got) 14006 failed = true 14007 } 14008 14009 if got := div_Neg1_int8_ssa(-128); got != 0 { 14010 fmt.Printf("div_int8 -1%s-128 = %d, wanted 0\n", `/`, got) 14011 failed = true 14012 } 14013 14014 if got := div_int8_Neg1_ssa(-128); got != -128 { 14015 fmt.Printf("div_int8 -128%s-1 = %d, wanted -128\n", `/`, got) 14016 failed = true 14017 } 14018 14019 if got := div_Neg1_int8_ssa(-127); got != 0 { 14020 fmt.Printf("div_int8 -1%s-127 = %d, wanted 0\n", `/`, got) 14021 failed = true 14022 } 14023 14024 if got := div_int8_Neg1_ssa(-127); got != 127 { 14025 fmt.Printf("div_int8 -127%s-1 = %d, wanted 127\n", `/`, got) 14026 failed = true 14027 } 14028 14029 if got := div_Neg1_int8_ssa(-1); got != 1 { 14030 fmt.Printf("div_int8 -1%s-1 = %d, wanted 1\n", `/`, got) 14031 failed = true 14032 } 14033 14034 if got := div_int8_Neg1_ssa(-1); got != 1 { 14035 fmt.Printf("div_int8 -1%s-1 = %d, wanted 1\n", `/`, got) 14036 failed = true 14037 } 14038 14039 if got := div_int8_Neg1_ssa(0); got != 0 { 14040 fmt.Printf("div_int8 0%s-1 = %d, wanted 0\n", `/`, got) 14041 failed = true 14042 } 14043 14044 if got := div_Neg1_int8_ssa(1); got != -1 { 14045 fmt.Printf("div_int8 -1%s1 = %d, wanted -1\n", `/`, got) 14046 failed = true 14047 } 14048 14049 if got := div_int8_Neg1_ssa(1); got != -1 { 14050 fmt.Printf("div_int8 1%s-1 = %d, wanted -1\n", `/`, got) 14051 failed = true 14052 } 14053 14054 if got := div_Neg1_int8_ssa(126); got != 0 { 14055 fmt.Printf("div_int8 -1%s126 = %d, wanted 0\n", `/`, got) 14056 failed = true 14057 } 14058 14059 if got := div_int8_Neg1_ssa(126); got != -126 { 14060 fmt.Printf("div_int8 126%s-1 = %d, wanted -126\n", `/`, got) 14061 failed = true 14062 } 14063 14064 if got := div_Neg1_int8_ssa(127); got != 0 { 14065 fmt.Printf("div_int8 -1%s127 = %d, wanted 0\n", `/`, got) 14066 failed = true 14067 } 14068 14069 if got := div_int8_Neg1_ssa(127); got != -127 { 14070 fmt.Printf("div_int8 127%s-1 = %d, wanted -127\n", `/`, got) 14071 failed = true 14072 } 14073 14074 if got := div_0_int8_ssa(-128); got != 0 { 14075 fmt.Printf("div_int8 0%s-128 = %d, wanted 0\n", `/`, got) 14076 failed = true 14077 } 14078 14079 if got := div_0_int8_ssa(-127); got != 0 { 14080 fmt.Printf("div_int8 0%s-127 = %d, wanted 0\n", `/`, got) 14081 failed = true 14082 } 14083 14084 if got := div_0_int8_ssa(-1); got != 0 { 14085 fmt.Printf("div_int8 0%s-1 = %d, wanted 0\n", `/`, got) 14086 failed = true 14087 } 14088 14089 if got := div_0_int8_ssa(1); got != 0 { 14090 fmt.Printf("div_int8 0%s1 = %d, wanted 0\n", `/`, got) 14091 failed = true 14092 } 14093 14094 if got := div_0_int8_ssa(126); got != 0 { 14095 fmt.Printf("div_int8 0%s126 = %d, wanted 0\n", `/`, got) 14096 failed = true 14097 } 14098 14099 if got := div_0_int8_ssa(127); got != 0 { 14100 fmt.Printf("div_int8 0%s127 = %d, wanted 0\n", `/`, got) 14101 failed = true 14102 } 14103 14104 if got := div_1_int8_ssa(-128); got != 0 { 14105 fmt.Printf("div_int8 1%s-128 = %d, wanted 0\n", `/`, got) 14106 failed = true 14107 } 14108 14109 if got := div_int8_1_ssa(-128); got != -128 { 14110 fmt.Printf("div_int8 -128%s1 = %d, wanted -128\n", `/`, got) 14111 failed = true 14112 } 14113 14114 if got := div_1_int8_ssa(-127); got != 0 { 14115 fmt.Printf("div_int8 1%s-127 = %d, wanted 0\n", `/`, got) 14116 failed = true 14117 } 14118 14119 if got := div_int8_1_ssa(-127); got != -127 { 14120 fmt.Printf("div_int8 -127%s1 = %d, wanted -127\n", `/`, got) 14121 failed = true 14122 } 14123 14124 if got := div_1_int8_ssa(-1); got != -1 { 14125 fmt.Printf("div_int8 1%s-1 = %d, wanted -1\n", `/`, got) 14126 failed = true 14127 } 14128 14129 if got := div_int8_1_ssa(-1); got != -1 { 14130 fmt.Printf("div_int8 -1%s1 = %d, wanted -1\n", `/`, got) 14131 failed = true 14132 } 14133 14134 if got := div_int8_1_ssa(0); got != 0 { 14135 fmt.Printf("div_int8 0%s1 = %d, wanted 0\n", `/`, got) 14136 failed = true 14137 } 14138 14139 if got := div_1_int8_ssa(1); got != 1 { 14140 fmt.Printf("div_int8 1%s1 = %d, wanted 1\n", `/`, got) 14141 failed = true 14142 } 14143 14144 if got := div_int8_1_ssa(1); got != 1 { 14145 fmt.Printf("div_int8 1%s1 = %d, wanted 1\n", `/`, got) 14146 failed = true 14147 } 14148 14149 if got := div_1_int8_ssa(126); got != 0 { 14150 fmt.Printf("div_int8 1%s126 = %d, wanted 0\n", `/`, got) 14151 failed = true 14152 } 14153 14154 if got := div_int8_1_ssa(126); got != 126 { 14155 fmt.Printf("div_int8 126%s1 = %d, wanted 126\n", `/`, got) 14156 failed = true 14157 } 14158 14159 if got := div_1_int8_ssa(127); got != 0 { 14160 fmt.Printf("div_int8 1%s127 = %d, wanted 0\n", `/`, got) 14161 failed = true 14162 } 14163 14164 if got := div_int8_1_ssa(127); got != 127 { 14165 fmt.Printf("div_int8 127%s1 = %d, wanted 127\n", `/`, got) 14166 failed = true 14167 } 14168 14169 if got := div_126_int8_ssa(-128); got != 0 { 14170 fmt.Printf("div_int8 126%s-128 = %d, wanted 0\n", `/`, got) 14171 failed = true 14172 } 14173 14174 if got := div_int8_126_ssa(-128); got != -1 { 14175 fmt.Printf("div_int8 -128%s126 = %d, wanted -1\n", `/`, got) 14176 failed = true 14177 } 14178 14179 if got := div_126_int8_ssa(-127); got != 0 { 14180 fmt.Printf("div_int8 126%s-127 = %d, wanted 0\n", `/`, got) 14181 failed = true 14182 } 14183 14184 if got := div_int8_126_ssa(-127); got != -1 { 14185 fmt.Printf("div_int8 -127%s126 = %d, wanted -1\n", `/`, got) 14186 failed = true 14187 } 14188 14189 if got := div_126_int8_ssa(-1); got != -126 { 14190 fmt.Printf("div_int8 126%s-1 = %d, wanted -126\n", `/`, got) 14191 failed = true 14192 } 14193 14194 if got := div_int8_126_ssa(-1); got != 0 { 14195 fmt.Printf("div_int8 -1%s126 = %d, wanted 0\n", `/`, got) 14196 failed = true 14197 } 14198 14199 if got := div_int8_126_ssa(0); got != 0 { 14200 fmt.Printf("div_int8 0%s126 = %d, wanted 0\n", `/`, got) 14201 failed = true 14202 } 14203 14204 if got := div_126_int8_ssa(1); got != 126 { 14205 fmt.Printf("div_int8 126%s1 = %d, wanted 126\n", `/`, got) 14206 failed = true 14207 } 14208 14209 if got := div_int8_126_ssa(1); got != 0 { 14210 fmt.Printf("div_int8 1%s126 = %d, wanted 0\n", `/`, got) 14211 failed = true 14212 } 14213 14214 if got := div_126_int8_ssa(126); got != 1 { 14215 fmt.Printf("div_int8 126%s126 = %d, wanted 1\n", `/`, got) 14216 failed = true 14217 } 14218 14219 if got := div_int8_126_ssa(126); got != 1 { 14220 fmt.Printf("div_int8 126%s126 = %d, wanted 1\n", `/`, got) 14221 failed = true 14222 } 14223 14224 if got := div_126_int8_ssa(127); got != 0 { 14225 fmt.Printf("div_int8 126%s127 = %d, wanted 0\n", `/`, got) 14226 failed = true 14227 } 14228 14229 if got := div_int8_126_ssa(127); got != 1 { 14230 fmt.Printf("div_int8 127%s126 = %d, wanted 1\n", `/`, got) 14231 failed = true 14232 } 14233 14234 if got := div_127_int8_ssa(-128); got != 0 { 14235 fmt.Printf("div_int8 127%s-128 = %d, wanted 0\n", `/`, got) 14236 failed = true 14237 } 14238 14239 if got := div_int8_127_ssa(-128); got != -1 { 14240 fmt.Printf("div_int8 -128%s127 = %d, wanted -1\n", `/`, got) 14241 failed = true 14242 } 14243 14244 if got := div_127_int8_ssa(-127); got != -1 { 14245 fmt.Printf("div_int8 127%s-127 = %d, wanted -1\n", `/`, got) 14246 failed = true 14247 } 14248 14249 if got := div_int8_127_ssa(-127); got != -1 { 14250 fmt.Printf("div_int8 -127%s127 = %d, wanted -1\n", `/`, got) 14251 failed = true 14252 } 14253 14254 if got := div_127_int8_ssa(-1); got != -127 { 14255 fmt.Printf("div_int8 127%s-1 = %d, wanted -127\n", `/`, got) 14256 failed = true 14257 } 14258 14259 if got := div_int8_127_ssa(-1); got != 0 { 14260 fmt.Printf("div_int8 -1%s127 = %d, wanted 0\n", `/`, got) 14261 failed = true 14262 } 14263 14264 if got := div_int8_127_ssa(0); got != 0 { 14265 fmt.Printf("div_int8 0%s127 = %d, wanted 0\n", `/`, got) 14266 failed = true 14267 } 14268 14269 if got := div_127_int8_ssa(1); got != 127 { 14270 fmt.Printf("div_int8 127%s1 = %d, wanted 127\n", `/`, got) 14271 failed = true 14272 } 14273 14274 if got := div_int8_127_ssa(1); got != 0 { 14275 fmt.Printf("div_int8 1%s127 = %d, wanted 0\n", `/`, got) 14276 failed = true 14277 } 14278 14279 if got := div_127_int8_ssa(126); got != 1 { 14280 fmt.Printf("div_int8 127%s126 = %d, wanted 1\n", `/`, got) 14281 failed = true 14282 } 14283 14284 if got := div_int8_127_ssa(126); got != 0 { 14285 fmt.Printf("div_int8 126%s127 = %d, wanted 0\n", `/`, got) 14286 failed = true 14287 } 14288 14289 if got := div_127_int8_ssa(127); got != 1 { 14290 fmt.Printf("div_int8 127%s127 = %d, wanted 1\n", `/`, got) 14291 failed = true 14292 } 14293 14294 if got := div_int8_127_ssa(127); got != 1 { 14295 fmt.Printf("div_int8 127%s127 = %d, wanted 1\n", `/`, got) 14296 failed = true 14297 } 14298 14299 if got := mul_Neg128_int8_ssa(-128); got != 0 { 14300 fmt.Printf("mul_int8 -128%s-128 = %d, wanted 0\n", `*`, got) 14301 failed = true 14302 } 14303 14304 if got := mul_int8_Neg128_ssa(-128); got != 0 { 14305 fmt.Printf("mul_int8 -128%s-128 = %d, wanted 0\n", `*`, got) 14306 failed = true 14307 } 14308 14309 if got := mul_Neg128_int8_ssa(-127); got != -128 { 14310 fmt.Printf("mul_int8 -128%s-127 = %d, wanted -128\n", `*`, got) 14311 failed = true 14312 } 14313 14314 if got := mul_int8_Neg128_ssa(-127); got != -128 { 14315 fmt.Printf("mul_int8 -127%s-128 = %d, wanted -128\n", `*`, got) 14316 failed = true 14317 } 14318 14319 if got := mul_Neg128_int8_ssa(-1); got != -128 { 14320 fmt.Printf("mul_int8 -128%s-1 = %d, wanted -128\n", `*`, got) 14321 failed = true 14322 } 14323 14324 if got := mul_int8_Neg128_ssa(-1); got != -128 { 14325 fmt.Printf("mul_int8 -1%s-128 = %d, wanted -128\n", `*`, got) 14326 failed = true 14327 } 14328 14329 if got := mul_Neg128_int8_ssa(0); got != 0 { 14330 fmt.Printf("mul_int8 -128%s0 = %d, wanted 0\n", `*`, got) 14331 failed = true 14332 } 14333 14334 if got := mul_int8_Neg128_ssa(0); got != 0 { 14335 fmt.Printf("mul_int8 0%s-128 = %d, wanted 0\n", `*`, got) 14336 failed = true 14337 } 14338 14339 if got := mul_Neg128_int8_ssa(1); got != -128 { 14340 fmt.Printf("mul_int8 -128%s1 = %d, wanted -128\n", `*`, got) 14341 failed = true 14342 } 14343 14344 if got := mul_int8_Neg128_ssa(1); got != -128 { 14345 fmt.Printf("mul_int8 1%s-128 = %d, wanted -128\n", `*`, got) 14346 failed = true 14347 } 14348 14349 if got := mul_Neg128_int8_ssa(126); got != 0 { 14350 fmt.Printf("mul_int8 -128%s126 = %d, wanted 0\n", `*`, got) 14351 failed = true 14352 } 14353 14354 if got := mul_int8_Neg128_ssa(126); got != 0 { 14355 fmt.Printf("mul_int8 126%s-128 = %d, wanted 0\n", `*`, got) 14356 failed = true 14357 } 14358 14359 if got := mul_Neg128_int8_ssa(127); got != -128 { 14360 fmt.Printf("mul_int8 -128%s127 = %d, wanted -128\n", `*`, got) 14361 failed = true 14362 } 14363 14364 if got := mul_int8_Neg128_ssa(127); got != -128 { 14365 fmt.Printf("mul_int8 127%s-128 = %d, wanted -128\n", `*`, got) 14366 failed = true 14367 } 14368 14369 if got := mul_Neg127_int8_ssa(-128); got != -128 { 14370 fmt.Printf("mul_int8 -127%s-128 = %d, wanted -128\n", `*`, got) 14371 failed = true 14372 } 14373 14374 if got := mul_int8_Neg127_ssa(-128); got != -128 { 14375 fmt.Printf("mul_int8 -128%s-127 = %d, wanted -128\n", `*`, got) 14376 failed = true 14377 } 14378 14379 if got := mul_Neg127_int8_ssa(-127); got != 1 { 14380 fmt.Printf("mul_int8 -127%s-127 = %d, wanted 1\n", `*`, got) 14381 failed = true 14382 } 14383 14384 if got := mul_int8_Neg127_ssa(-127); got != 1 { 14385 fmt.Printf("mul_int8 -127%s-127 = %d, wanted 1\n", `*`, got) 14386 failed = true 14387 } 14388 14389 if got := mul_Neg127_int8_ssa(-1); got != 127 { 14390 fmt.Printf("mul_int8 -127%s-1 = %d, wanted 127\n", `*`, got) 14391 failed = true 14392 } 14393 14394 if got := mul_int8_Neg127_ssa(-1); got != 127 { 14395 fmt.Printf("mul_int8 -1%s-127 = %d, wanted 127\n", `*`, got) 14396 failed = true 14397 } 14398 14399 if got := mul_Neg127_int8_ssa(0); got != 0 { 14400 fmt.Printf("mul_int8 -127%s0 = %d, wanted 0\n", `*`, got) 14401 failed = true 14402 } 14403 14404 if got := mul_int8_Neg127_ssa(0); got != 0 { 14405 fmt.Printf("mul_int8 0%s-127 = %d, wanted 0\n", `*`, got) 14406 failed = true 14407 } 14408 14409 if got := mul_Neg127_int8_ssa(1); got != -127 { 14410 fmt.Printf("mul_int8 -127%s1 = %d, wanted -127\n", `*`, got) 14411 failed = true 14412 } 14413 14414 if got := mul_int8_Neg127_ssa(1); got != -127 { 14415 fmt.Printf("mul_int8 1%s-127 = %d, wanted -127\n", `*`, got) 14416 failed = true 14417 } 14418 14419 if got := mul_Neg127_int8_ssa(126); got != 126 { 14420 fmt.Printf("mul_int8 -127%s126 = %d, wanted 126\n", `*`, got) 14421 failed = true 14422 } 14423 14424 if got := mul_int8_Neg127_ssa(126); got != 126 { 14425 fmt.Printf("mul_int8 126%s-127 = %d, wanted 126\n", `*`, got) 14426 failed = true 14427 } 14428 14429 if got := mul_Neg127_int8_ssa(127); got != -1 { 14430 fmt.Printf("mul_int8 -127%s127 = %d, wanted -1\n", `*`, got) 14431 failed = true 14432 } 14433 14434 if got := mul_int8_Neg127_ssa(127); got != -1 { 14435 fmt.Printf("mul_int8 127%s-127 = %d, wanted -1\n", `*`, got) 14436 failed = true 14437 } 14438 14439 if got := mul_Neg1_int8_ssa(-128); got != -128 { 14440 fmt.Printf("mul_int8 -1%s-128 = %d, wanted -128\n", `*`, got) 14441 failed = true 14442 } 14443 14444 if got := mul_int8_Neg1_ssa(-128); got != -128 { 14445 fmt.Printf("mul_int8 -128%s-1 = %d, wanted -128\n", `*`, got) 14446 failed = true 14447 } 14448 14449 if got := mul_Neg1_int8_ssa(-127); got != 127 { 14450 fmt.Printf("mul_int8 -1%s-127 = %d, wanted 127\n", `*`, got) 14451 failed = true 14452 } 14453 14454 if got := mul_int8_Neg1_ssa(-127); got != 127 { 14455 fmt.Printf("mul_int8 -127%s-1 = %d, wanted 127\n", `*`, got) 14456 failed = true 14457 } 14458 14459 if got := mul_Neg1_int8_ssa(-1); got != 1 { 14460 fmt.Printf("mul_int8 -1%s-1 = %d, wanted 1\n", `*`, got) 14461 failed = true 14462 } 14463 14464 if got := mul_int8_Neg1_ssa(-1); got != 1 { 14465 fmt.Printf("mul_int8 -1%s-1 = %d, wanted 1\n", `*`, got) 14466 failed = true 14467 } 14468 14469 if got := mul_Neg1_int8_ssa(0); got != 0 { 14470 fmt.Printf("mul_int8 -1%s0 = %d, wanted 0\n", `*`, got) 14471 failed = true 14472 } 14473 14474 if got := mul_int8_Neg1_ssa(0); got != 0 { 14475 fmt.Printf("mul_int8 0%s-1 = %d, wanted 0\n", `*`, got) 14476 failed = true 14477 } 14478 14479 if got := mul_Neg1_int8_ssa(1); got != -1 { 14480 fmt.Printf("mul_int8 -1%s1 = %d, wanted -1\n", `*`, got) 14481 failed = true 14482 } 14483 14484 if got := mul_int8_Neg1_ssa(1); got != -1 { 14485 fmt.Printf("mul_int8 1%s-1 = %d, wanted -1\n", `*`, got) 14486 failed = true 14487 } 14488 14489 if got := mul_Neg1_int8_ssa(126); got != -126 { 14490 fmt.Printf("mul_int8 -1%s126 = %d, wanted -126\n", `*`, got) 14491 failed = true 14492 } 14493 14494 if got := mul_int8_Neg1_ssa(126); got != -126 { 14495 fmt.Printf("mul_int8 126%s-1 = %d, wanted -126\n", `*`, got) 14496 failed = true 14497 } 14498 14499 if got := mul_Neg1_int8_ssa(127); got != -127 { 14500 fmt.Printf("mul_int8 -1%s127 = %d, wanted -127\n", `*`, got) 14501 failed = true 14502 } 14503 14504 if got := mul_int8_Neg1_ssa(127); got != -127 { 14505 fmt.Printf("mul_int8 127%s-1 = %d, wanted -127\n", `*`, got) 14506 failed = true 14507 } 14508 14509 if got := mul_0_int8_ssa(-128); got != 0 { 14510 fmt.Printf("mul_int8 0%s-128 = %d, wanted 0\n", `*`, got) 14511 failed = true 14512 } 14513 14514 if got := mul_int8_0_ssa(-128); got != 0 { 14515 fmt.Printf("mul_int8 -128%s0 = %d, wanted 0\n", `*`, got) 14516 failed = true 14517 } 14518 14519 if got := mul_0_int8_ssa(-127); got != 0 { 14520 fmt.Printf("mul_int8 0%s-127 = %d, wanted 0\n", `*`, got) 14521 failed = true 14522 } 14523 14524 if got := mul_int8_0_ssa(-127); got != 0 { 14525 fmt.Printf("mul_int8 -127%s0 = %d, wanted 0\n", `*`, got) 14526 failed = true 14527 } 14528 14529 if got := mul_0_int8_ssa(-1); got != 0 { 14530 fmt.Printf("mul_int8 0%s-1 = %d, wanted 0\n", `*`, got) 14531 failed = true 14532 } 14533 14534 if got := mul_int8_0_ssa(-1); got != 0 { 14535 fmt.Printf("mul_int8 -1%s0 = %d, wanted 0\n", `*`, got) 14536 failed = true 14537 } 14538 14539 if got := mul_0_int8_ssa(0); got != 0 { 14540 fmt.Printf("mul_int8 0%s0 = %d, wanted 0\n", `*`, got) 14541 failed = true 14542 } 14543 14544 if got := mul_int8_0_ssa(0); got != 0 { 14545 fmt.Printf("mul_int8 0%s0 = %d, wanted 0\n", `*`, got) 14546 failed = true 14547 } 14548 14549 if got := mul_0_int8_ssa(1); got != 0 { 14550 fmt.Printf("mul_int8 0%s1 = %d, wanted 0\n", `*`, got) 14551 failed = true 14552 } 14553 14554 if got := mul_int8_0_ssa(1); got != 0 { 14555 fmt.Printf("mul_int8 1%s0 = %d, wanted 0\n", `*`, got) 14556 failed = true 14557 } 14558 14559 if got := mul_0_int8_ssa(126); got != 0 { 14560 fmt.Printf("mul_int8 0%s126 = %d, wanted 0\n", `*`, got) 14561 failed = true 14562 } 14563 14564 if got := mul_int8_0_ssa(126); got != 0 { 14565 fmt.Printf("mul_int8 126%s0 = %d, wanted 0\n", `*`, got) 14566 failed = true 14567 } 14568 14569 if got := mul_0_int8_ssa(127); got != 0 { 14570 fmt.Printf("mul_int8 0%s127 = %d, wanted 0\n", `*`, got) 14571 failed = true 14572 } 14573 14574 if got := mul_int8_0_ssa(127); got != 0 { 14575 fmt.Printf("mul_int8 127%s0 = %d, wanted 0\n", `*`, got) 14576 failed = true 14577 } 14578 14579 if got := mul_1_int8_ssa(-128); got != -128 { 14580 fmt.Printf("mul_int8 1%s-128 = %d, wanted -128\n", `*`, got) 14581 failed = true 14582 } 14583 14584 if got := mul_int8_1_ssa(-128); got != -128 { 14585 fmt.Printf("mul_int8 -128%s1 = %d, wanted -128\n", `*`, got) 14586 failed = true 14587 } 14588 14589 if got := mul_1_int8_ssa(-127); got != -127 { 14590 fmt.Printf("mul_int8 1%s-127 = %d, wanted -127\n", `*`, got) 14591 failed = true 14592 } 14593 14594 if got := mul_int8_1_ssa(-127); got != -127 { 14595 fmt.Printf("mul_int8 -127%s1 = %d, wanted -127\n", `*`, got) 14596 failed = true 14597 } 14598 14599 if got := mul_1_int8_ssa(-1); got != -1 { 14600 fmt.Printf("mul_int8 1%s-1 = %d, wanted -1\n", `*`, got) 14601 failed = true 14602 } 14603 14604 if got := mul_int8_1_ssa(-1); got != -1 { 14605 fmt.Printf("mul_int8 -1%s1 = %d, wanted -1\n", `*`, got) 14606 failed = true 14607 } 14608 14609 if got := mul_1_int8_ssa(0); got != 0 { 14610 fmt.Printf("mul_int8 1%s0 = %d, wanted 0\n", `*`, got) 14611 failed = true 14612 } 14613 14614 if got := mul_int8_1_ssa(0); got != 0 { 14615 fmt.Printf("mul_int8 0%s1 = %d, wanted 0\n", `*`, got) 14616 failed = true 14617 } 14618 14619 if got := mul_1_int8_ssa(1); got != 1 { 14620 fmt.Printf("mul_int8 1%s1 = %d, wanted 1\n", `*`, got) 14621 failed = true 14622 } 14623 14624 if got := mul_int8_1_ssa(1); got != 1 { 14625 fmt.Printf("mul_int8 1%s1 = %d, wanted 1\n", `*`, got) 14626 failed = true 14627 } 14628 14629 if got := mul_1_int8_ssa(126); got != 126 { 14630 fmt.Printf("mul_int8 1%s126 = %d, wanted 126\n", `*`, got) 14631 failed = true 14632 } 14633 14634 if got := mul_int8_1_ssa(126); got != 126 { 14635 fmt.Printf("mul_int8 126%s1 = %d, wanted 126\n", `*`, got) 14636 failed = true 14637 } 14638 14639 if got := mul_1_int8_ssa(127); got != 127 { 14640 fmt.Printf("mul_int8 1%s127 = %d, wanted 127\n", `*`, got) 14641 failed = true 14642 } 14643 14644 if got := mul_int8_1_ssa(127); got != 127 { 14645 fmt.Printf("mul_int8 127%s1 = %d, wanted 127\n", `*`, got) 14646 failed = true 14647 } 14648 14649 if got := mul_126_int8_ssa(-128); got != 0 { 14650 fmt.Printf("mul_int8 126%s-128 = %d, wanted 0\n", `*`, got) 14651 failed = true 14652 } 14653 14654 if got := mul_int8_126_ssa(-128); got != 0 { 14655 fmt.Printf("mul_int8 -128%s126 = %d, wanted 0\n", `*`, got) 14656 failed = true 14657 } 14658 14659 if got := mul_126_int8_ssa(-127); got != 126 { 14660 fmt.Printf("mul_int8 126%s-127 = %d, wanted 126\n", `*`, got) 14661 failed = true 14662 } 14663 14664 if got := mul_int8_126_ssa(-127); got != 126 { 14665 fmt.Printf("mul_int8 -127%s126 = %d, wanted 126\n", `*`, got) 14666 failed = true 14667 } 14668 14669 if got := mul_126_int8_ssa(-1); got != -126 { 14670 fmt.Printf("mul_int8 126%s-1 = %d, wanted -126\n", `*`, got) 14671 failed = true 14672 } 14673 14674 if got := mul_int8_126_ssa(-1); got != -126 { 14675 fmt.Printf("mul_int8 -1%s126 = %d, wanted -126\n", `*`, got) 14676 failed = true 14677 } 14678 14679 if got := mul_126_int8_ssa(0); got != 0 { 14680 fmt.Printf("mul_int8 126%s0 = %d, wanted 0\n", `*`, got) 14681 failed = true 14682 } 14683 14684 if got := mul_int8_126_ssa(0); got != 0 { 14685 fmt.Printf("mul_int8 0%s126 = %d, wanted 0\n", `*`, got) 14686 failed = true 14687 } 14688 14689 if got := mul_126_int8_ssa(1); got != 126 { 14690 fmt.Printf("mul_int8 126%s1 = %d, wanted 126\n", `*`, got) 14691 failed = true 14692 } 14693 14694 if got := mul_int8_126_ssa(1); got != 126 { 14695 fmt.Printf("mul_int8 1%s126 = %d, wanted 126\n", `*`, got) 14696 failed = true 14697 } 14698 14699 if got := mul_126_int8_ssa(126); got != 4 { 14700 fmt.Printf("mul_int8 126%s126 = %d, wanted 4\n", `*`, got) 14701 failed = true 14702 } 14703 14704 if got := mul_int8_126_ssa(126); got != 4 { 14705 fmt.Printf("mul_int8 126%s126 = %d, wanted 4\n", `*`, got) 14706 failed = true 14707 } 14708 14709 if got := mul_126_int8_ssa(127); got != -126 { 14710 fmt.Printf("mul_int8 126%s127 = %d, wanted -126\n", `*`, got) 14711 failed = true 14712 } 14713 14714 if got := mul_int8_126_ssa(127); got != -126 { 14715 fmt.Printf("mul_int8 127%s126 = %d, wanted -126\n", `*`, got) 14716 failed = true 14717 } 14718 14719 if got := mul_127_int8_ssa(-128); got != -128 { 14720 fmt.Printf("mul_int8 127%s-128 = %d, wanted -128\n", `*`, got) 14721 failed = true 14722 } 14723 14724 if got := mul_int8_127_ssa(-128); got != -128 { 14725 fmt.Printf("mul_int8 -128%s127 = %d, wanted -128\n", `*`, got) 14726 failed = true 14727 } 14728 14729 if got := mul_127_int8_ssa(-127); got != -1 { 14730 fmt.Printf("mul_int8 127%s-127 = %d, wanted -1\n", `*`, got) 14731 failed = true 14732 } 14733 14734 if got := mul_int8_127_ssa(-127); got != -1 { 14735 fmt.Printf("mul_int8 -127%s127 = %d, wanted -1\n", `*`, got) 14736 failed = true 14737 } 14738 14739 if got := mul_127_int8_ssa(-1); got != -127 { 14740 fmt.Printf("mul_int8 127%s-1 = %d, wanted -127\n", `*`, got) 14741 failed = true 14742 } 14743 14744 if got := mul_int8_127_ssa(-1); got != -127 { 14745 fmt.Printf("mul_int8 -1%s127 = %d, wanted -127\n", `*`, got) 14746 failed = true 14747 } 14748 14749 if got := mul_127_int8_ssa(0); got != 0 { 14750 fmt.Printf("mul_int8 127%s0 = %d, wanted 0\n", `*`, got) 14751 failed = true 14752 } 14753 14754 if got := mul_int8_127_ssa(0); got != 0 { 14755 fmt.Printf("mul_int8 0%s127 = %d, wanted 0\n", `*`, got) 14756 failed = true 14757 } 14758 14759 if got := mul_127_int8_ssa(1); got != 127 { 14760 fmt.Printf("mul_int8 127%s1 = %d, wanted 127\n", `*`, got) 14761 failed = true 14762 } 14763 14764 if got := mul_int8_127_ssa(1); got != 127 { 14765 fmt.Printf("mul_int8 1%s127 = %d, wanted 127\n", `*`, got) 14766 failed = true 14767 } 14768 14769 if got := mul_127_int8_ssa(126); got != -126 { 14770 fmt.Printf("mul_int8 127%s126 = %d, wanted -126\n", `*`, got) 14771 failed = true 14772 } 14773 14774 if got := mul_int8_127_ssa(126); got != -126 { 14775 fmt.Printf("mul_int8 126%s127 = %d, wanted -126\n", `*`, got) 14776 failed = true 14777 } 14778 14779 if got := mul_127_int8_ssa(127); got != 1 { 14780 fmt.Printf("mul_int8 127%s127 = %d, wanted 1\n", `*`, got) 14781 failed = true 14782 } 14783 14784 if got := mul_int8_127_ssa(127); got != 1 { 14785 fmt.Printf("mul_int8 127%s127 = %d, wanted 1\n", `*`, got) 14786 failed = true 14787 } 14788 14789 if got := mod_Neg128_int8_ssa(-128); got != 0 { 14790 fmt.Printf("mod_int8 -128%s-128 = %d, wanted 0\n", `%`, got) 14791 failed = true 14792 } 14793 14794 if got := mod_int8_Neg128_ssa(-128); got != 0 { 14795 fmt.Printf("mod_int8 -128%s-128 = %d, wanted 0\n", `%`, got) 14796 failed = true 14797 } 14798 14799 if got := mod_Neg128_int8_ssa(-127); got != -1 { 14800 fmt.Printf("mod_int8 -128%s-127 = %d, wanted -1\n", `%`, got) 14801 failed = true 14802 } 14803 14804 if got := mod_int8_Neg128_ssa(-127); got != -127 { 14805 fmt.Printf("mod_int8 -127%s-128 = %d, wanted -127\n", `%`, got) 14806 failed = true 14807 } 14808 14809 if got := mod_Neg128_int8_ssa(-1); got != 0 { 14810 fmt.Printf("mod_int8 -128%s-1 = %d, wanted 0\n", `%`, got) 14811 failed = true 14812 } 14813 14814 if got := mod_int8_Neg128_ssa(-1); got != -1 { 14815 fmt.Printf("mod_int8 -1%s-128 = %d, wanted -1\n", `%`, got) 14816 failed = true 14817 } 14818 14819 if got := mod_int8_Neg128_ssa(0); got != 0 { 14820 fmt.Printf("mod_int8 0%s-128 = %d, wanted 0\n", `%`, got) 14821 failed = true 14822 } 14823 14824 if got := mod_Neg128_int8_ssa(1); got != 0 { 14825 fmt.Printf("mod_int8 -128%s1 = %d, wanted 0\n", `%`, got) 14826 failed = true 14827 } 14828 14829 if got := mod_int8_Neg128_ssa(1); got != 1 { 14830 fmt.Printf("mod_int8 1%s-128 = %d, wanted 1\n", `%`, got) 14831 failed = true 14832 } 14833 14834 if got := mod_Neg128_int8_ssa(126); got != -2 { 14835 fmt.Printf("mod_int8 -128%s126 = %d, wanted -2\n", `%`, got) 14836 failed = true 14837 } 14838 14839 if got := mod_int8_Neg128_ssa(126); got != 126 { 14840 fmt.Printf("mod_int8 126%s-128 = %d, wanted 126\n", `%`, got) 14841 failed = true 14842 } 14843 14844 if got := mod_Neg128_int8_ssa(127); got != -1 { 14845 fmt.Printf("mod_int8 -128%s127 = %d, wanted -1\n", `%`, got) 14846 failed = true 14847 } 14848 14849 if got := mod_int8_Neg128_ssa(127); got != 127 { 14850 fmt.Printf("mod_int8 127%s-128 = %d, wanted 127\n", `%`, got) 14851 failed = true 14852 } 14853 14854 if got := mod_Neg127_int8_ssa(-128); got != -127 { 14855 fmt.Printf("mod_int8 -127%s-128 = %d, wanted -127\n", `%`, got) 14856 failed = true 14857 } 14858 14859 if got := mod_int8_Neg127_ssa(-128); got != -1 { 14860 fmt.Printf("mod_int8 -128%s-127 = %d, wanted -1\n", `%`, got) 14861 failed = true 14862 } 14863 14864 if got := mod_Neg127_int8_ssa(-127); got != 0 { 14865 fmt.Printf("mod_int8 -127%s-127 = %d, wanted 0\n", `%`, got) 14866 failed = true 14867 } 14868 14869 if got := mod_int8_Neg127_ssa(-127); got != 0 { 14870 fmt.Printf("mod_int8 -127%s-127 = %d, wanted 0\n", `%`, got) 14871 failed = true 14872 } 14873 14874 if got := mod_Neg127_int8_ssa(-1); got != 0 { 14875 fmt.Printf("mod_int8 -127%s-1 = %d, wanted 0\n", `%`, got) 14876 failed = true 14877 } 14878 14879 if got := mod_int8_Neg127_ssa(-1); got != -1 { 14880 fmt.Printf("mod_int8 -1%s-127 = %d, wanted -1\n", `%`, got) 14881 failed = true 14882 } 14883 14884 if got := mod_int8_Neg127_ssa(0); got != 0 { 14885 fmt.Printf("mod_int8 0%s-127 = %d, wanted 0\n", `%`, got) 14886 failed = true 14887 } 14888 14889 if got := mod_Neg127_int8_ssa(1); got != 0 { 14890 fmt.Printf("mod_int8 -127%s1 = %d, wanted 0\n", `%`, got) 14891 failed = true 14892 } 14893 14894 if got := mod_int8_Neg127_ssa(1); got != 1 { 14895 fmt.Printf("mod_int8 1%s-127 = %d, wanted 1\n", `%`, got) 14896 failed = true 14897 } 14898 14899 if got := mod_Neg127_int8_ssa(126); got != -1 { 14900 fmt.Printf("mod_int8 -127%s126 = %d, wanted -1\n", `%`, got) 14901 failed = true 14902 } 14903 14904 if got := mod_int8_Neg127_ssa(126); got != 126 { 14905 fmt.Printf("mod_int8 126%s-127 = %d, wanted 126\n", `%`, got) 14906 failed = true 14907 } 14908 14909 if got := mod_Neg127_int8_ssa(127); got != 0 { 14910 fmt.Printf("mod_int8 -127%s127 = %d, wanted 0\n", `%`, got) 14911 failed = true 14912 } 14913 14914 if got := mod_int8_Neg127_ssa(127); got != 0 { 14915 fmt.Printf("mod_int8 127%s-127 = %d, wanted 0\n", `%`, got) 14916 failed = true 14917 } 14918 14919 if got := mod_Neg1_int8_ssa(-128); got != -1 { 14920 fmt.Printf("mod_int8 -1%s-128 = %d, wanted -1\n", `%`, got) 14921 failed = true 14922 } 14923 14924 if got := mod_int8_Neg1_ssa(-128); got != 0 { 14925 fmt.Printf("mod_int8 -128%s-1 = %d, wanted 0\n", `%`, got) 14926 failed = true 14927 } 14928 14929 if got := mod_Neg1_int8_ssa(-127); got != -1 { 14930 fmt.Printf("mod_int8 -1%s-127 = %d, wanted -1\n", `%`, got) 14931 failed = true 14932 } 14933 14934 if got := mod_int8_Neg1_ssa(-127); got != 0 { 14935 fmt.Printf("mod_int8 -127%s-1 = %d, wanted 0\n", `%`, got) 14936 failed = true 14937 } 14938 14939 if got := mod_Neg1_int8_ssa(-1); got != 0 { 14940 fmt.Printf("mod_int8 -1%s-1 = %d, wanted 0\n", `%`, got) 14941 failed = true 14942 } 14943 14944 if got := mod_int8_Neg1_ssa(-1); got != 0 { 14945 fmt.Printf("mod_int8 -1%s-1 = %d, wanted 0\n", `%`, got) 14946 failed = true 14947 } 14948 14949 if got := mod_int8_Neg1_ssa(0); got != 0 { 14950 fmt.Printf("mod_int8 0%s-1 = %d, wanted 0\n", `%`, got) 14951 failed = true 14952 } 14953 14954 if got := mod_Neg1_int8_ssa(1); got != 0 { 14955 fmt.Printf("mod_int8 -1%s1 = %d, wanted 0\n", `%`, got) 14956 failed = true 14957 } 14958 14959 if got := mod_int8_Neg1_ssa(1); got != 0 { 14960 fmt.Printf("mod_int8 1%s-1 = %d, wanted 0\n", `%`, got) 14961 failed = true 14962 } 14963 14964 if got := mod_Neg1_int8_ssa(126); got != -1 { 14965 fmt.Printf("mod_int8 -1%s126 = %d, wanted -1\n", `%`, got) 14966 failed = true 14967 } 14968 14969 if got := mod_int8_Neg1_ssa(126); got != 0 { 14970 fmt.Printf("mod_int8 126%s-1 = %d, wanted 0\n", `%`, got) 14971 failed = true 14972 } 14973 14974 if got := mod_Neg1_int8_ssa(127); got != -1 { 14975 fmt.Printf("mod_int8 -1%s127 = %d, wanted -1\n", `%`, got) 14976 failed = true 14977 } 14978 14979 if got := mod_int8_Neg1_ssa(127); got != 0 { 14980 fmt.Printf("mod_int8 127%s-1 = %d, wanted 0\n", `%`, got) 14981 failed = true 14982 } 14983 14984 if got := mod_0_int8_ssa(-128); got != 0 { 14985 fmt.Printf("mod_int8 0%s-128 = %d, wanted 0\n", `%`, got) 14986 failed = true 14987 } 14988 14989 if got := mod_0_int8_ssa(-127); got != 0 { 14990 fmt.Printf("mod_int8 0%s-127 = %d, wanted 0\n", `%`, got) 14991 failed = true 14992 } 14993 14994 if got := mod_0_int8_ssa(-1); got != 0 { 14995 fmt.Printf("mod_int8 0%s-1 = %d, wanted 0\n", `%`, got) 14996 failed = true 14997 } 14998 14999 if got := mod_0_int8_ssa(1); got != 0 { 15000 fmt.Printf("mod_int8 0%s1 = %d, wanted 0\n", `%`, got) 15001 failed = true 15002 } 15003 15004 if got := mod_0_int8_ssa(126); got != 0 { 15005 fmt.Printf("mod_int8 0%s126 = %d, wanted 0\n", `%`, got) 15006 failed = true 15007 } 15008 15009 if got := mod_0_int8_ssa(127); got != 0 { 15010 fmt.Printf("mod_int8 0%s127 = %d, wanted 0\n", `%`, got) 15011 failed = true 15012 } 15013 15014 if got := mod_1_int8_ssa(-128); got != 1 { 15015 fmt.Printf("mod_int8 1%s-128 = %d, wanted 1\n", `%`, got) 15016 failed = true 15017 } 15018 15019 if got := mod_int8_1_ssa(-128); got != 0 { 15020 fmt.Printf("mod_int8 -128%s1 = %d, wanted 0\n", `%`, got) 15021 failed = true 15022 } 15023 15024 if got := mod_1_int8_ssa(-127); got != 1 { 15025 fmt.Printf("mod_int8 1%s-127 = %d, wanted 1\n", `%`, got) 15026 failed = true 15027 } 15028 15029 if got := mod_int8_1_ssa(-127); got != 0 { 15030 fmt.Printf("mod_int8 -127%s1 = %d, wanted 0\n", `%`, got) 15031 failed = true 15032 } 15033 15034 if got := mod_1_int8_ssa(-1); got != 0 { 15035 fmt.Printf("mod_int8 1%s-1 = %d, wanted 0\n", `%`, got) 15036 failed = true 15037 } 15038 15039 if got := mod_int8_1_ssa(-1); got != 0 { 15040 fmt.Printf("mod_int8 -1%s1 = %d, wanted 0\n", `%`, got) 15041 failed = true 15042 } 15043 15044 if got := mod_int8_1_ssa(0); got != 0 { 15045 fmt.Printf("mod_int8 0%s1 = %d, wanted 0\n", `%`, got) 15046 failed = true 15047 } 15048 15049 if got := mod_1_int8_ssa(1); got != 0 { 15050 fmt.Printf("mod_int8 1%s1 = %d, wanted 0\n", `%`, got) 15051 failed = true 15052 } 15053 15054 if got := mod_int8_1_ssa(1); got != 0 { 15055 fmt.Printf("mod_int8 1%s1 = %d, wanted 0\n", `%`, got) 15056 failed = true 15057 } 15058 15059 if got := mod_1_int8_ssa(126); got != 1 { 15060 fmt.Printf("mod_int8 1%s126 = %d, wanted 1\n", `%`, got) 15061 failed = true 15062 } 15063 15064 if got := mod_int8_1_ssa(126); got != 0 { 15065 fmt.Printf("mod_int8 126%s1 = %d, wanted 0\n", `%`, got) 15066 failed = true 15067 } 15068 15069 if got := mod_1_int8_ssa(127); got != 1 { 15070 fmt.Printf("mod_int8 1%s127 = %d, wanted 1\n", `%`, got) 15071 failed = true 15072 } 15073 15074 if got := mod_int8_1_ssa(127); got != 0 { 15075 fmt.Printf("mod_int8 127%s1 = %d, wanted 0\n", `%`, got) 15076 failed = true 15077 } 15078 15079 if got := mod_126_int8_ssa(-128); got != 126 { 15080 fmt.Printf("mod_int8 126%s-128 = %d, wanted 126\n", `%`, got) 15081 failed = true 15082 } 15083 15084 if got := mod_int8_126_ssa(-128); got != -2 { 15085 fmt.Printf("mod_int8 -128%s126 = %d, wanted -2\n", `%`, got) 15086 failed = true 15087 } 15088 15089 if got := mod_126_int8_ssa(-127); got != 126 { 15090 fmt.Printf("mod_int8 126%s-127 = %d, wanted 126\n", `%`, got) 15091 failed = true 15092 } 15093 15094 if got := mod_int8_126_ssa(-127); got != -1 { 15095 fmt.Printf("mod_int8 -127%s126 = %d, wanted -1\n", `%`, got) 15096 failed = true 15097 } 15098 15099 if got := mod_126_int8_ssa(-1); got != 0 { 15100 fmt.Printf("mod_int8 126%s-1 = %d, wanted 0\n", `%`, got) 15101 failed = true 15102 } 15103 15104 if got := mod_int8_126_ssa(-1); got != -1 { 15105 fmt.Printf("mod_int8 -1%s126 = %d, wanted -1\n", `%`, got) 15106 failed = true 15107 } 15108 15109 if got := mod_int8_126_ssa(0); got != 0 { 15110 fmt.Printf("mod_int8 0%s126 = %d, wanted 0\n", `%`, got) 15111 failed = true 15112 } 15113 15114 if got := mod_126_int8_ssa(1); got != 0 { 15115 fmt.Printf("mod_int8 126%s1 = %d, wanted 0\n", `%`, got) 15116 failed = true 15117 } 15118 15119 if got := mod_int8_126_ssa(1); got != 1 { 15120 fmt.Printf("mod_int8 1%s126 = %d, wanted 1\n", `%`, got) 15121 failed = true 15122 } 15123 15124 if got := mod_126_int8_ssa(126); got != 0 { 15125 fmt.Printf("mod_int8 126%s126 = %d, wanted 0\n", `%`, got) 15126 failed = true 15127 } 15128 15129 if got := mod_int8_126_ssa(126); got != 0 { 15130 fmt.Printf("mod_int8 126%s126 = %d, wanted 0\n", `%`, got) 15131 failed = true 15132 } 15133 15134 if got := mod_126_int8_ssa(127); got != 126 { 15135 fmt.Printf("mod_int8 126%s127 = %d, wanted 126\n", `%`, got) 15136 failed = true 15137 } 15138 15139 if got := mod_int8_126_ssa(127); got != 1 { 15140 fmt.Printf("mod_int8 127%s126 = %d, wanted 1\n", `%`, got) 15141 failed = true 15142 } 15143 15144 if got := mod_127_int8_ssa(-128); got != 127 { 15145 fmt.Printf("mod_int8 127%s-128 = %d, wanted 127\n", `%`, got) 15146 failed = true 15147 } 15148 15149 if got := mod_int8_127_ssa(-128); got != -1 { 15150 fmt.Printf("mod_int8 -128%s127 = %d, wanted -1\n", `%`, got) 15151 failed = true 15152 } 15153 15154 if got := mod_127_int8_ssa(-127); got != 0 { 15155 fmt.Printf("mod_int8 127%s-127 = %d, wanted 0\n", `%`, got) 15156 failed = true 15157 } 15158 15159 if got := mod_int8_127_ssa(-127); got != 0 { 15160 fmt.Printf("mod_int8 -127%s127 = %d, wanted 0\n", `%`, got) 15161 failed = true 15162 } 15163 15164 if got := mod_127_int8_ssa(-1); got != 0 { 15165 fmt.Printf("mod_int8 127%s-1 = %d, wanted 0\n", `%`, got) 15166 failed = true 15167 } 15168 15169 if got := mod_int8_127_ssa(-1); got != -1 { 15170 fmt.Printf("mod_int8 -1%s127 = %d, wanted -1\n", `%`, got) 15171 failed = true 15172 } 15173 15174 if got := mod_int8_127_ssa(0); got != 0 { 15175 fmt.Printf("mod_int8 0%s127 = %d, wanted 0\n", `%`, got) 15176 failed = true 15177 } 15178 15179 if got := mod_127_int8_ssa(1); got != 0 { 15180 fmt.Printf("mod_int8 127%s1 = %d, wanted 0\n", `%`, got) 15181 failed = true 15182 } 15183 15184 if got := mod_int8_127_ssa(1); got != 1 { 15185 fmt.Printf("mod_int8 1%s127 = %d, wanted 1\n", `%`, got) 15186 failed = true 15187 } 15188 15189 if got := mod_127_int8_ssa(126); got != 1 { 15190 fmt.Printf("mod_int8 127%s126 = %d, wanted 1\n", `%`, got) 15191 failed = true 15192 } 15193 15194 if got := mod_int8_127_ssa(126); got != 126 { 15195 fmt.Printf("mod_int8 126%s127 = %d, wanted 126\n", `%`, got) 15196 failed = true 15197 } 15198 15199 if got := mod_127_int8_ssa(127); got != 0 { 15200 fmt.Printf("mod_int8 127%s127 = %d, wanted 0\n", `%`, got) 15201 failed = true 15202 } 15203 15204 if got := mod_int8_127_ssa(127); got != 0 { 15205 fmt.Printf("mod_int8 127%s127 = %d, wanted 0\n", `%`, got) 15206 failed = true 15207 } 15208 if failed { 15209 panic("tests failed") 15210 } 15211 }