decoder.isa (10474:799c8ee4ecba) decoder.isa (11294:a368064a2ab5)
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

--- 655 unchanged lines hidden (view full) ---

664 0x42: fmovd_fcc1({{
665 if (passesFpCondition(Fsr<33:32>, COND4))
666 Frd = Frs2;
667 else
668 Frd = Frd;
669 }});
670 0x43: FpUnimpl::fmovq_fcc1();
671 0x45: fmovrslez({{
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

--- 655 unchanged lines hidden (view full) ---

664 0x42: fmovd_fcc1({{
665 if (passesFpCondition(Fsr<33:32>, COND4))
666 Frd = Frs2;
667 else
668 Frd = Frd;
669 }});
670 0x43: FpUnimpl::fmovq_fcc1();
671 0x45: fmovrslez({{
672 if (Rs1 <= 0)
672 if ((int64_t)Rs1 <= 0)
673 Frds = Frs2s;
674 else
675 Frds = Frds;
676 }});
677 0x46: fmovrdlez({{
673 Frds = Frs2s;
674 else
675 Frds = Frds;
676 }});
677 0x46: fmovrdlez({{
678 if (Rs1 <= 0)
678 if ((int64_t)Rs1 <= 0)
679 Frd = Frs2;
680 else
681 Frd = Frd;
682 }});
683 0x47: FpUnimpl::fmovrqlez();
684 0x51: fcmps({{
685 uint8_t fcc;
686 if (std::isnan(Frs1s) || std::isnan(Frs2s))

--- 48 unchanged lines hidden (view full) ---

735 fcc = 2;
736 uint8_t firstbit = 10;
737 if (FCMPCC)
738 firstbit = FCMPCC * 2 + 30;
739 Fsr = insertBits(Fsr, firstbit +1, firstbit, fcc);
740 }});
741 0x57: FpUnimpl::fcmpeq();
742 0x65: fmovrslz({{
679 Frd = Frs2;
680 else
681 Frd = Frd;
682 }});
683 0x47: FpUnimpl::fmovrqlez();
684 0x51: fcmps({{
685 uint8_t fcc;
686 if (std::isnan(Frs1s) || std::isnan(Frs2s))

--- 48 unchanged lines hidden (view full) ---

735 fcc = 2;
736 uint8_t firstbit = 10;
737 if (FCMPCC)
738 firstbit = FCMPCC * 2 + 30;
739 Fsr = insertBits(Fsr, firstbit +1, firstbit, fcc);
740 }});
741 0x57: FpUnimpl::fcmpeq();
742 0x65: fmovrslz({{
743 if (Rs1 < 0)
743 if ((int64_t)Rs1 < 0)
744 Frds = Frs2s;
745 else
746 Frds = Frds;
747 }});
748 0x66: fmovrdlz({{
744 Frds = Frs2s;
745 else
746 Frds = Frds;
747 }});
748 0x66: fmovrdlz({{
749 if (Rs1 < 0)
749 if ((int64_t)Rs1 < 0)
750 Frd = Frs2;
751 else
752 Frd = Frd;
753 }});
754 0x67: FpUnimpl::fmovrqlz();
755 0x81: fmovs_fcc2({{
756 if (passesFpCondition(Fsr<35:34>, COND4))
757 Frds = Frs2s;

--- 29 unchanged lines hidden (view full) ---

787 0xC2: fmovd_fcc3({{
788 if (passesFpCondition(Fsr<37:36>, COND4))
789 Frd = Frs2;
790 else
791 Frd = Frd;
792 }});
793 0xC3: FpUnimpl::fmovq_fcc3();
794 0xC5: fmovrsgz({{
750 Frd = Frs2;
751 else
752 Frd = Frd;
753 }});
754 0x67: FpUnimpl::fmovrqlz();
755 0x81: fmovs_fcc2({{
756 if (passesFpCondition(Fsr<35:34>, COND4))
757 Frds = Frs2s;

--- 29 unchanged lines hidden (view full) ---

787 0xC2: fmovd_fcc3({{
788 if (passesFpCondition(Fsr<37:36>, COND4))
789 Frd = Frs2;
790 else
791 Frd = Frd;
792 }});
793 0xC3: FpUnimpl::fmovq_fcc3();
794 0xC5: fmovrsgz({{
795 if (Rs1 > 0)
795 if ((int64_t)Rs1 > 0)
796 Frds = Frs2s;
797 else
798 Frds = Frds;
799 }});
800 0xC6: fmovrdgz({{
796 Frds = Frs2s;
797 else
798 Frds = Frds;
799 }});
800 0xC6: fmovrdgz({{
801 if (Rs1 > 0)
801 if ((int64_t)Rs1 > 0)
802 Frd = Frs2;
803 else
804 Frd = Frd;
805 }});
806 0xC7: FpUnimpl::fmovrqgz();
807 0xE5: fmovrsgez({{
802 Frd = Frs2;
803 else
804 Frd = Frd;
805 }});
806 0xC7: FpUnimpl::fmovrqgz();
807 0xE5: fmovrsgez({{
808 if (Rs1 >= 0)
808 if ((int64_t)Rs1 >= 0)
809 Frds = Frs2s;
810 else
811 Frds = Frds;
812 }});
813 0xE6: fmovrdgez({{
809 Frds = Frs2s;
810 else
811 Frds = Frds;
812 }});
813 0xE6: fmovrdgez({{
814 if (Rs1 >= 0)
814 if ((int64_t)Rs1 >= 0)
815 Frd = Frs2;
816 else
817 Frd = Frd;
818 }});
819 0xE7: FpUnimpl::fmovrqgez();
820 0x101: fmovs_icc({{
821 if (passesCondition(Ccr<3:0>, COND4))
822 Frds = Frs2s;

--- 628 unchanged lines hidden ---
815 Frd = Frs2;
816 else
817 Frd = Frd;
818 }});
819 0xE7: FpUnimpl::fmovrqgez();
820 0x101: fmovs_icc({{
821 if (passesCondition(Ccr<3:0>, COND4))
822 Frds = Frs2s;

--- 628 unchanged lines hidden ---