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

Side by Side Diff: src/s390/disasm-s390.cc

Issue 1837263003: S390: Fix SQEBR sim to treat operands as float32 (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 8 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 unified diff | Download patch
« no previous file with comments | « no previous file | src/s390/simulator-s390.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 // A Disassembler object is used to disassemble a block of code instruction by 5 // A Disassembler object is used to disassemble a block of code instruction by
6 // instruction. The default implementation of the NameConverter object can be 6 // instruction. The default implementation of the NameConverter object can be
7 // overriden to modify register names or to do symbol lookup on addresses. 7 // overriden to modify register names or to do symbol lookup on addresses.
8 // 8 //
9 // The example below will disassemble a block of code and print it to stdout. 9 // The example below will disassemble a block of code and print it to stdout.
10 // 10 //
(...skipping 949 matching lines...) Expand 10 before | Expand all | Expand 10 after
960 break; 960 break;
961 case CDBR: 961 case CDBR:
962 Format(instr, "cdbr\t'f5,'f6"); 962 Format(instr, "cdbr\t'f5,'f6");
963 break; 963 break;
964 case CEBR: 964 case CEBR:
965 Format(instr, "cebr\t'f5,'f6"); 965 Format(instr, "cebr\t'f5,'f6");
966 break; 966 break;
967 case SQDBR: 967 case SQDBR:
968 Format(instr, "sqdbr\t'f5,'f6"); 968 Format(instr, "sqdbr\t'f5,'f6");
969 break; 969 break;
970 case SQEBR:
971 Format(instr, "sqebr\t'f5,'f6");
972 break;
970 case LCDBR: 973 case LCDBR:
971 Format(instr, "lcdbr\t'f5,'f6"); 974 Format(instr, "lcdbr\t'f5,'f6");
972 break; 975 break;
973 case STH: 976 case STH:
974 Format(instr, "sth\t'r1,'d1('r2d,'r3)"); 977 Format(instr, "sth\t'r1,'d1('r2d,'r3)");
975 break; 978 break;
976 case SRDA: 979 case SRDA:
977 Format(instr, "srda\t'r1,'d1('r3)"); 980 Format(instr, "srda\t'r1,'d1('r3)");
978 break; 981 break;
979 case SRDL: 982 case SRDL:
(...skipping 419 matching lines...) Expand 10 before | Expand all | Expand 10 after
1399 byte* prev_pc = pc; 1402 byte* prev_pc = pc;
1400 pc += d.InstructionDecode(buffer, pc); 1403 pc += d.InstructionDecode(buffer, pc);
1401 v8::internal::PrintF(f, "%p %08x %s\n", prev_pc, 1404 v8::internal::PrintF(f, "%p %08x %s\n", prev_pc,
1402 *reinterpret_cast<int32_t*>(prev_pc), buffer.start()); 1405 *reinterpret_cast<int32_t*>(prev_pc), buffer.start());
1403 } 1406 }
1404 } 1407 }
1405 1408
1406 } // namespace disasm 1409 } // namespace disasm
1407 1410
1408 #endif // V8_TARGET_ARCH_S390 1411 #endif // V8_TARGET_ARCH_S390
OLDNEW
« no previous file with comments | « no previous file | src/s390/simulator-s390.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698