OLD | NEW |
1 // Copyright 2014 the V8 project authors. All rights reserved. | 1 // Copyright 2014 the V8 project authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 // Declares a Simulator for S390 instructions if we are not generating a native | 5 // Declares a Simulator for S390 instructions if we are not generating a native |
6 // S390 binary. This Simulator allows us to run and debug S390 code generation | 6 // S390 binary. This Simulator allows us to run and debug S390 code generation |
7 // on regular desktop machines. | 7 // on regular desktop machines. |
8 // V8 calls into generated code by "calling" the CALL_GENERATED_CODE macro, | 8 // V8 calls into generated code by "calling" the CALL_GENERATED_CODE macro, |
9 // which will start execution in the Simulator or forwards to the real entry | 9 // which will start execution in the Simulator or forwards to the real entry |
10 // on a S390 hardware platform. | 10 // on a S390 hardware platform. |
(...skipping 740 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
751 EVALUATE(SAL); | 751 EVALUATE(SAL); |
752 EVALUATE(RSCH); | 752 EVALUATE(RSCH); |
753 EVALUATE(STCRW); | 753 EVALUATE(STCRW); |
754 EVALUATE(STCPS); | 754 EVALUATE(STCPS); |
755 EVALUATE(RCHP); | 755 EVALUATE(RCHP); |
756 EVALUATE(SCHM); | 756 EVALUATE(SCHM); |
757 EVALUATE(CKSM); | 757 EVALUATE(CKSM); |
758 EVALUATE(SAR); | 758 EVALUATE(SAR); |
759 EVALUATE(EAR); | 759 EVALUATE(EAR); |
760 EVALUATE(MSR); | 760 EVALUATE(MSR); |
| 761 EVALUATE(MSRKC); |
761 EVALUATE(MVST); | 762 EVALUATE(MVST); |
762 EVALUATE(CUSE); | 763 EVALUATE(CUSE); |
763 EVALUATE(SRST); | 764 EVALUATE(SRST); |
764 EVALUATE(XSCH); | 765 EVALUATE(XSCH); |
765 EVALUATE(STCKE); | 766 EVALUATE(STCKE); |
766 EVALUATE(STCKF); | 767 EVALUATE(STCKF); |
767 EVALUATE(SRNM); | 768 EVALUATE(SRNM); |
768 EVALUATE(STFPC); | 769 EVALUATE(STFPC); |
769 EVALUATE(LFPC); | 770 EVALUATE(LFPC); |
770 EVALUATE(TRE); | 771 EVALUATE(TRE); |
(...skipping 153 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
924 EVALUATE(LTGR); | 925 EVALUATE(LTGR); |
925 EVALUATE(LCGR); | 926 EVALUATE(LCGR); |
926 EVALUATE(LGR); | 927 EVALUATE(LGR); |
927 EVALUATE(LGBR); | 928 EVALUATE(LGBR); |
928 EVALUATE(LGHR); | 929 EVALUATE(LGHR); |
929 EVALUATE(AGR); | 930 EVALUATE(AGR); |
930 EVALUATE(SGR); | 931 EVALUATE(SGR); |
931 EVALUATE(ALGR); | 932 EVALUATE(ALGR); |
932 EVALUATE(SLGR); | 933 EVALUATE(SLGR); |
933 EVALUATE(MSGR); | 934 EVALUATE(MSGR); |
| 935 EVALUATE(MSGRKC); |
934 EVALUATE(DSGR); | 936 EVALUATE(DSGR); |
935 EVALUATE(LRVGR); | 937 EVALUATE(LRVGR); |
936 EVALUATE(LPGFR); | 938 EVALUATE(LPGFR); |
937 EVALUATE(LNGFR); | 939 EVALUATE(LNGFR); |
938 EVALUATE(LTGFR); | 940 EVALUATE(LTGFR); |
939 EVALUATE(LCGFR); | 941 EVALUATE(LCGFR); |
940 EVALUATE(LGFR); | 942 EVALUATE(LGFR); |
941 EVALUATE(LLGFR); | 943 EVALUATE(LLGFR); |
942 EVALUATE(LLGTR); | 944 EVALUATE(LLGTR); |
943 EVALUATE(AGFR); | 945 EVALUATE(AGFR); |
(...skipping 346 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1290 static inline void UnregisterCTryCatch(v8::internal::Isolate* isolate) { | 1292 static inline void UnregisterCTryCatch(v8::internal::Isolate* isolate) { |
1291 Simulator::current(isolate)->PopAddress(); | 1293 Simulator::current(isolate)->PopAddress(); |
1292 } | 1294 } |
1293 }; | 1295 }; |
1294 | 1296 |
1295 } // namespace internal | 1297 } // namespace internal |
1296 } // namespace v8 | 1298 } // namespace v8 |
1297 | 1299 |
1298 #endif // !defined(USE_SIMULATOR) | 1300 #endif // !defined(USE_SIMULATOR) |
1299 #endif // V8_S390_SIMULATOR_S390_H_ | 1301 #endif // V8_S390_SIMULATOR_S390_H_ |
OLD | NEW |