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

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

Issue 2220313002: S390: Decouple Add/Sub/Neg to 32/64 Bit Op (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fix Neg32 to use lcr 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/assembler-s390.cc ('k') | src/s390/macro-assembler-s390.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/s390/disasm-s390.cc
diff --git a/src/s390/disasm-s390.cc b/src/s390/disasm-s390.cc
index c8d52f1b230442040f65b30b106093ab9c717bf3..86810927a3a0284cc643f97235cda1e5041836ee 100644
--- a/src/s390/disasm-s390.cc
+++ b/src/s390/disasm-s390.cc
@@ -820,6 +820,12 @@ bool Decoder::DecodeFourByte(Instruction* instr) {
case LLGHR:
Format(instr, "llghr\t'r5,'r6");
break;
+ case LOCR:
+ Format(instr, "locr\t'm1,'r5,'r6");
+ break;
+ case LOCGR:
+ Format(instr, "locgr\t'm1,'r5,'r6");
+ break;
case LNGR:
Format(instr, "lngr\t'r5,'r6");
break;
@@ -1130,6 +1136,12 @@ bool Decoder::DecodeSixByte(Instruction* instr) {
case RISBGN:
Format(instr, "risbgn\t'r1,'r2,'i9,'ia,'ib");
break;
+ case LOCG:
+ Format(instr, "locg\t'm2,'r1,'d2('r3)");
+ break;
+ case LOC:
+ Format(instr, "loc\t'm2,'r1,'d2('r3)");
+ break;
case LMY:
Format(instr, "lmy\t'r1,'r2,'d2('r3)");
break;
« no previous file with comments | « src/s390/assembler-s390.cc ('k') | src/s390/macro-assembler-s390.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698