decoder.isa (8829:d21889bface6) | decoder.isa (8946:fb6c89334b86) |
---|---|
1// Copyright (c) 2006-2007 The Regents of The University of Michigan 2// All rights reserved. 3// 4// Redistribution and use in source and binary forms, with or without 5// modification, are permitted provided that the following conditions are 6// met: redistributions of source code must retain the above copyright 7// notice, this list of conditions and the following disclaimer; 8// redistributions in binary form must reproduce the above copyright --- 669 unchanged lines hidden (view full) --- 678 if (Rs1 <= 0) 679 Frd = Frs2; 680 else 681 Frd = Frd; 682 }}); 683 0x47: FpUnimpl::fmovrqlez(); 684 0x51: fcmps({{ 685 uint8_t fcc; | 1// Copyright (c) 2006-2007 The Regents of The University of Michigan 2// All rights reserved. 3// 4// Redistribution and use in source and binary forms, with or without 5// modification, are permitted provided that the following conditions are 6// met: redistributions of source code must retain the above copyright 7// notice, this list of conditions and the following disclaimer; 8// redistributions in binary form must reproduce the above copyright --- 669 unchanged lines hidden (view full) --- 678 if (Rs1 <= 0) 679 Frd = Frs2; 680 else 681 Frd = Frd; 682 }}); 683 0x47: FpUnimpl::fmovrqlez(); 684 0x51: fcmps({{ 685 uint8_t fcc; |
686 if (isnan(Frs1s) || isnan(Frs2s)) | 686 if (std::isnan(Frs1s) || std::isnan(Frs2s)) |
687 fcc = 3; 688 else if (Frs1s < Frs2s) 689 fcc = 1; 690 else if (Frs1s > Frs2s) 691 fcc = 2; 692 else 693 fcc = 0; 694 uint8_t firstbit = 10; 695 if (FCMPCC) 696 firstbit = FCMPCC * 2 + 30; 697 Fsr = insertBits(Fsr, firstbit +1, firstbit, fcc); 698 }}); 699 0x52: fcmpd({{ 700 uint8_t fcc; | 687 fcc = 3; 688 else if (Frs1s < Frs2s) 689 fcc = 1; 690 else if (Frs1s > Frs2s) 691 fcc = 2; 692 else 693 fcc = 0; 694 uint8_t firstbit = 10; 695 if (FCMPCC) 696 firstbit = FCMPCC * 2 + 30; 697 Fsr = insertBits(Fsr, firstbit +1, firstbit, fcc); 698 }}); 699 0x52: fcmpd({{ 700 uint8_t fcc; |
701 if (isnan(Frs1) || isnan(Frs2)) | 701 if (std::isnan(Frs1) || std::isnan(Frs2)) |
702 fcc = 3; 703 else if (Frs1 < Frs2) 704 fcc = 1; 705 else if (Frs1 > Frs2) 706 fcc = 2; 707 else 708 fcc = 0; 709 uint8_t firstbit = 10; 710 if (FCMPCC) 711 firstbit = FCMPCC * 2 + 30; 712 Fsr = insertBits(Fsr, firstbit +1, firstbit, fcc); 713 }}); 714 0x53: FpUnimpl::fcmpq(); 715 0x55: fcmpes({{ 716 uint8_t fcc = 0; | 702 fcc = 3; 703 else if (Frs1 < Frs2) 704 fcc = 1; 705 else if (Frs1 > Frs2) 706 fcc = 2; 707 else 708 fcc = 0; 709 uint8_t firstbit = 10; 710 if (FCMPCC) 711 firstbit = FCMPCC * 2 + 30; 712 Fsr = insertBits(Fsr, firstbit +1, firstbit, fcc); 713 }}); 714 0x53: FpUnimpl::fcmpq(); 715 0x55: fcmpes({{ 716 uint8_t fcc = 0; |
717 if (isnan(Frs1s) || isnan(Frs2s)) | 717 if (std::isnan(Frs1s) || std::isnan(Frs2s)) |
718 fault = new FpExceptionIEEE754; 719 if (Frs1s < Frs2s) 720 fcc = 1; 721 else if (Frs1s > Frs2s) 722 fcc = 2; 723 uint8_t firstbit = 10; 724 if (FCMPCC) 725 firstbit = FCMPCC * 2 + 30; 726 Fsr = insertBits(Fsr, firstbit +1, firstbit, fcc); 727 }}); 728 0x56: fcmped({{ 729 uint8_t fcc = 0; | 718 fault = new FpExceptionIEEE754; 719 if (Frs1s < Frs2s) 720 fcc = 1; 721 else if (Frs1s > Frs2s) 722 fcc = 2; 723 uint8_t firstbit = 10; 724 if (FCMPCC) 725 firstbit = FCMPCC * 2 + 30; 726 Fsr = insertBits(Fsr, firstbit +1, firstbit, fcc); 727 }}); 728 0x56: fcmped({{ 729 uint8_t fcc = 0; |
730 if (isnan(Frs1) || isnan(Frs2)) | 730 if (std::isnan(Frs1) || std::isnan(Frs2)) |
731 fault = new FpExceptionIEEE754; 732 if (Frs1 < Frs2) 733 fcc = 1; 734 else if (Frs1 > Frs2) 735 fcc = 2; 736 uint8_t firstbit = 10; 737 if (FCMPCC) 738 firstbit = FCMPCC * 2 + 30; --- 712 unchanged lines hidden --- | 731 fault = new FpExceptionIEEE754; 732 if (Frs1 < Frs2) 733 fcc = 1; 734 else if (Frs1 > Frs2) 735 fcc = 2; 736 uint8_t firstbit = 10; 737 if (FCMPCC) 738 firstbit = FCMPCC * 2 + 30; --- 712 unchanged lines hidden --- |