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 598 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
609 EVALUATE(SLDA); | 609 EVALUATE(SLDA); |
610 EVALUATE(STM); | 610 EVALUATE(STM); |
611 EVALUATE(TM); | 611 EVALUATE(TM); |
612 EVALUATE(MVI); | 612 EVALUATE(MVI); |
613 EVALUATE(TS); | 613 EVALUATE(TS); |
614 EVALUATE(NI); | 614 EVALUATE(NI); |
615 EVALUATE(CLI); | 615 EVALUATE(CLI); |
616 EVALUATE(OI); | 616 EVALUATE(OI); |
617 EVALUATE(XI); | 617 EVALUATE(XI); |
618 EVALUATE(LM); | 618 EVALUATE(LM); |
| 619 EVALUATE(CS); |
619 EVALUATE(MVCLE); | 620 EVALUATE(MVCLE); |
620 EVALUATE(CLCLE); | 621 EVALUATE(CLCLE); |
621 EVALUATE(MC); | 622 EVALUATE(MC); |
622 EVALUATE(CDS); | 623 EVALUATE(CDS); |
623 EVALUATE(STCM); | 624 EVALUATE(STCM); |
624 EVALUATE(ICM); | 625 EVALUATE(ICM); |
625 EVALUATE(BPRP); | 626 EVALUATE(BPRP); |
626 EVALUATE(BPP); | 627 EVALUATE(BPP); |
627 EVALUATE(TRTR); | 628 EVALUATE(TRTR); |
628 EVALUATE(MVN); | 629 EVALUATE(MVN); |
(...skipping 507 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1136 EVALUATE(CHSI); | 1137 EVALUATE(CHSI); |
1137 EVALUATE(CLFHSI); | 1138 EVALUATE(CLFHSI); |
1138 EVALUATE(TBEGIN); | 1139 EVALUATE(TBEGIN); |
1139 EVALUATE(TBEGINC); | 1140 EVALUATE(TBEGINC); |
1140 EVALUATE(LMG); | 1141 EVALUATE(LMG); |
1141 EVALUATE(SRAG); | 1142 EVALUATE(SRAG); |
1142 EVALUATE(SLAG); | 1143 EVALUATE(SLAG); |
1143 EVALUATE(SRLG); | 1144 EVALUATE(SRLG); |
1144 EVALUATE(SLLG); | 1145 EVALUATE(SLLG); |
1145 EVALUATE(CSY); | 1146 EVALUATE(CSY); |
| 1147 EVALUATE(CSG); |
1146 EVALUATE(RLLG); | 1148 EVALUATE(RLLG); |
1147 EVALUATE(RLL); | 1149 EVALUATE(RLL); |
1148 EVALUATE(STMG); | 1150 EVALUATE(STMG); |
1149 EVALUATE(STMH); | 1151 EVALUATE(STMH); |
1150 EVALUATE(STCMH); | 1152 EVALUATE(STCMH); |
1151 EVALUATE(STCMY); | 1153 EVALUATE(STCMY); |
1152 EVALUATE(CDSY); | 1154 EVALUATE(CDSY); |
1153 EVALUATE(CDSG); | 1155 EVALUATE(CDSG); |
1154 EVALUATE(BXHG); | 1156 EVALUATE(BXHG); |
1155 EVALUATE(BXLEG); | 1157 EVALUATE(BXLEG); |
(...skipping 137 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1293 static inline void UnregisterCTryCatch(v8::internal::Isolate* isolate) { | 1295 static inline void UnregisterCTryCatch(v8::internal::Isolate* isolate) { |
1294 Simulator::current(isolate)->PopAddress(); | 1296 Simulator::current(isolate)->PopAddress(); |
1295 } | 1297 } |
1296 }; | 1298 }; |
1297 | 1299 |
1298 } // namespace internal | 1300 } // namespace internal |
1299 } // namespace v8 | 1301 } // namespace v8 |
1300 | 1302 |
1301 #endif // !defined(USE_SIMULATOR) | 1303 #endif // !defined(USE_SIMULATOR) |
1302 #endif // V8_S390_SIMULATOR_S390_H_ | 1304 #endif // V8_S390_SIMULATOR_S390_H_ |
OLD | NEW |