1// Copyright (c) 2011-2019 ARM Limited
2// All rights reserved
3//
4// The license below extends only to copyright in the software and shall
5// not be construed as granting a license to any other intellectual
6// property including but not limited to intellectual property relating
7// to a hardware implementation of the functionality of the software
8// licensed hereunder. You may use the software subject to the license

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

647 return new SWPA64(machInst, rt, rnsp, rs);
648 else
649 return new LDADDA64(machInst, rt, rnsp, rs);
650 case 0xf:
651 if (o3 == 1)
652 return new SWPLA64(machInst, rt, rnsp, rs);
653 else
654 return new LDADDLA64(machInst, rt, rnsp, rs);
655 default:
656 M5_UNREACHABLE;
657 }
658 case 0x1:
659 switch(size_ar){
660 case 0x0:
661 if (A_rt == 0x1f)
662 return new STCLRB(machInst, rt, rnsp, rs);
663 else
664 return new LDCLRB(machInst, rt, rnsp, rs);

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

708 if (A_rt == 0x1f)
709 return new STCLRL64(machInst, rt, rnsp, rs);
710 else
711 return new LDCLRL64(machInst, rt, rnsp, rs);
712 case 0xe:
713 return new LDCLRA64(machInst, rt, rnsp, rs);
714 case 0xf:
715 return new LDCLRLA64(machInst, rt, rnsp, rs);
716 default:
717 M5_UNREACHABLE;
718 }
719 case 0x2:
720 switch(size_ar){
721 case 0x0:
722 if (A_rt == 0x1f)
723 return new STEORB(machInst, rt, rnsp, rs);
724 else
725 return new LDEORB(machInst, rt, rnsp, rs);

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

769 if (A_rt == 0x1f)
770 return new STEORL64(machInst, rt, rnsp, rs);
771 else
772 return new LDEORL64(machInst, rt, rnsp, rs);
773 case 0xe:
774 return new LDEORA64(machInst, rt, rnsp, rs);
775 case 0xf:
776 return new LDEORLA64(machInst, rt, rnsp, rs);
777 default:
778 M5_UNREACHABLE;
779 }
780 case 0x3:
781 switch(size_ar){
782 case 0x0:
783 if (A_rt == 0x1f)
784 return new STSETB(machInst, rt, rnsp, rs);
785 else
786 return new LDSETB(machInst, rt, rnsp, rs);

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

830 if (A_rt == 0x1f)
831 return new STSETL64(machInst, rt, rnsp, rs);
832 else
833 return new LDSETL64(machInst, rt, rnsp, rs);
834 case 0xe:
835 return new LDSETA64(machInst, rt, rnsp, rs);
836 case 0xf:
837 return new LDSETLA64(machInst, rt, rnsp, rs);
838 default:
839 M5_UNREACHABLE;
840 }
841 case 0x4:
842 switch(size_ar){
843 case 0x0:
844 if (A_rt == 0x1f)
845 return new STSMAXB(machInst, rt, rnsp, rs);
846 else
847 return new LDSMAXB(machInst, rt, rnsp, rs);

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

891 if (A_rt == 0x1f)
892 return new STSMAXL64(machInst, rt, rnsp, rs);
893 else
894 return new LDSMAXL64(machInst, rt, rnsp, rs);
895 case 0xe:
896 return new LDSMAXA64(machInst, rt, rnsp, rs);
897 case 0xf:
898 return new LDSMAXLA64(machInst, rt, rnsp, rs);
899 default:
900 M5_UNREACHABLE;
901 }
902 case 0x5:
903 switch(size_ar){
904 case 0x0:
905 if (A_rt == 0x1f)
906 return new STSMINB(machInst, rt, rnsp, rs);
907 else
908 return new LDSMINB(machInst, rt, rnsp, rs);

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

952 if (A_rt == 0x1f)
953 return new STSMINL64(machInst, rt, rnsp, rs);
954 else
955 return new LDSMINL64(machInst, rt, rnsp, rs);
956 case 0xe:
957 return new LDSMINA64(machInst, rt, rnsp, rs);
958 case 0xf:
959 return new LDSMINLA64(machInst, rt, rnsp, rs);
960 default:
961 M5_UNREACHABLE;
962 }
963 case 0x6:
964 switch(size_ar){
965 case 0x0:
966 if (A_rt == 0x1f)
967 return new STUMAXB(machInst, rt, rnsp, rs);
968 else
969 return new LDUMAXB(machInst, rt, rnsp, rs);

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

1013 if (A_rt == 0x1f)
1014 return new STUMAXL64(machInst, rt, rnsp, rs);
1015 else
1016 return new LDUMAXL64(machInst, rt, rnsp, rs);
1017 case 0xe:
1018 return new LDUMAXA64(machInst, rt, rnsp, rs);
1019 case 0xf:
1020 return new LDUMAXLA64(machInst, rt, rnsp, rs);
1021 default:
1022 M5_UNREACHABLE;
1023 }
1024 case 0x7:
1025 switch(size_ar){
1026 case 0x0:
1027 if (A_rt == 0x1f)
1028 return new STUMINB(machInst, rt, rnsp, rs);
1029 else
1030 return new LDUMINB(machInst, rt, rnsp, rs);

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

1074 if (A_rt == 0x1f)
1075 return new STUMINL64(machInst, rt, rnsp, rs);
1076 else
1077 return new LDUMINL64(machInst, rt, rnsp, rs);
1078 case 0xe:
1079 return new LDUMINA64(machInst, rt, rnsp, rs);
1080 case 0xf:
1081 return new LDUMINLA64(machInst, rt, rnsp, rs);
1082 default:
1083 M5_UNREACHABLE;
1084 }
1085 default:
1086 return new Unknown64(machInst);
1087 }
1088 }
1089}
1090}};
1091

--- 1841 unchanged lines hidden ---