Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1066)

Unified Diff: src/s390/simulator-s390.cc

Issue 2244373002: s390: Allow larger Operands/Displacements/Offsets in s390 (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/s390/disasm-s390.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/s390/simulator-s390.cc
diff --git a/src/s390/simulator-s390.cc b/src/s390/simulator-s390.cc
index de2165ebac0d041efc7baac7403cf2fe8f53bc9e..3d11bacfdcc064897be0f0fb45265c8341249378 100644
--- a/src/s390/simulator-s390.cc
+++ b/src/s390/simulator-s390.cc
@@ -7837,9 +7837,10 @@ EVALUATE(LARL) {
}
EVALUATE(LGFI) {
- UNIMPLEMENTED();
- USE(instr);
- return 0;
+ DCHECK_OPCODE(LGFI);
+ DECODE_RIL_A_INSTRUCTION(r1, imm);
+ set_register(r1, static_cast<int64_t>(static_cast<int32_t>(imm)));
+ return length;
}
EVALUATE(BRASL) {
@@ -10499,7 +10500,7 @@ EVALUATE(POPCNT_Z) {
}
EVALUATE(LOCGR) {
- DCHECK_OPCODE(LOCR);
+ DCHECK_OPCODE(LOCGR);
DECODE_RRF_C_INSTRUCTION(r1, r2, m3);
if (TestConditionCode(m3)) {
set_register(r1, get_register(r2));
« no previous file with comments | « src/s390/disasm-s390.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698