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

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

Issue 1438013003: [turbofan] Implemented the RoundUint64ToFloat32 TurboFan operator for x64, arm64, (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Reformated the test Created 5 years, 1 month 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 | « src/ppc/assembler-ppc.cc ('k') | src/ppc/macro-assembler-ppc.h » ('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 871 matching lines...) Expand 10 before | Expand all | Expand 10 after
882 } 882 }
883 } 883 }
884 884
885 885
886 void Decoder::DecodeExt3(Instruction* instr) { 886 void Decoder::DecodeExt3(Instruction* instr) {
887 switch (instr->Bits(10, 1) << 1) { 887 switch (instr->Bits(10, 1) << 1) {
888 case FCFID: { 888 case FCFID: {
889 Format(instr, "fcfids'. 'Dt, 'Db"); 889 Format(instr, "fcfids'. 'Dt, 'Db");
890 break; 890 break;
891 } 891 }
892 case FCFIDU: {
893 Format(instr, "fcfidus'.'Dt, 'Db");
894 break;
895 }
892 default: { 896 default: {
893 Unknown(instr); // not used by V8 897 Unknown(instr); // not used by V8
894 } 898 }
895 } 899 }
896 } 900 }
897 901
898 902
899 void Decoder::DecodeExt4(Instruction* instr) { 903 void Decoder::DecodeExt4(Instruction* instr) {
900 switch (instr->Bits(5, 1) << 1) { 904 switch (instr->Bits(5, 1) << 1) {
901 case FDIV: { 905 case FDIV: {
(...skipping 531 matching lines...) Expand 10 before | Expand all | Expand 10 after
1433 pc += d.InstructionDecode(buffer, pc); 1437 pc += d.InstructionDecode(buffer, pc);
1434 v8::internal::PrintF(f, "%p %08x %s\n", prev_pc, 1438 v8::internal::PrintF(f, "%p %08x %s\n", prev_pc,
1435 *reinterpret_cast<int32_t*>(prev_pc), buffer.start()); 1439 *reinterpret_cast<int32_t*>(prev_pc), buffer.start());
1436 } 1440 }
1437 } 1441 }
1438 1442
1439 1443
1440 } // namespace disasm 1444 } // namespace disasm
1441 1445
1442 #endif // V8_TARGET_ARCH_PPC 1446 #endif // V8_TARGET_ARCH_PPC
OLDNEW
« no previous file with comments | « src/ppc/assembler-ppc.cc ('k') | src/ppc/macro-assembler-ppc.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698