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

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

Issue 3408011: Add missing x87 instructions fisttp and fst to the disassembler. (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 10 years, 3 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2007-2008 the V8 project authors. All rights reserved. 1 // Copyright 2007-2008 the V8 project authors. All rights reserved.
2 // Redistribution and use in source and binary forms, with or without 2 // Redistribution and use in source and binary forms, with or without
3 // modification, are permitted provided that the following conditions are 3 // modification, are permitted provided that the following conditions are
4 // met: 4 // met:
5 // 5 //
6 // * Redistributions of source code must retain the above copyright 6 // * Redistributions of source code must retain the above copyright
7 // notice, this list of conditions and the following disclaimer. 7 // notice, this list of conditions and the following disclaimer.
8 // * Redistributions in binary form must reproduce the above 8 // * Redistributions in binary form must reproduce the above
9 // copyright notice, this list of conditions and the following 9 // copyright notice, this list of conditions and the following
10 // disclaimer in the documentation and/or other materials provided 10 // disclaimer in the documentation and/or other materials provided
(...skipping 667 matching lines...) Expand 10 before | Expand all | Expand 10 after
678 case 0: mnem = "fild_s"; break; 678 case 0: mnem = "fild_s"; break;
679 case 1: mnem = "fisttp_s"; break; 679 case 1: mnem = "fisttp_s"; break;
680 case 2: mnem = "fist_s"; break; 680 case 2: mnem = "fist_s"; break;
681 case 3: mnem = "fistp_s"; break; 681 case 3: mnem = "fistp_s"; break;
682 default: UnimplementedInstruction(); 682 default: UnimplementedInstruction();
683 } 683 }
684 break; 684 break;
685 685
686 case 0xDD: switch (regop) { 686 case 0xDD: switch (regop) {
687 case 0: mnem = "fld_d"; break; 687 case 0: mnem = "fld_d"; break;
688 case 2: mnem = "fstp"; break; 688 case 1: mnem = "fisttp_d"; break;
689 case 2: mnem = "fst_d"; break;
689 case 3: mnem = "fstp_d"; break; 690 case 3: mnem = "fstp_d"; break;
690 default: UnimplementedInstruction(); 691 default: UnimplementedInstruction();
691 } 692 }
692 break; 693 break;
693 694
694 case 0xDF: switch (regop) { 695 case 0xDF: switch (regop) {
695 case 5: mnem = "fild_d"; break; 696 case 5: mnem = "fild_d"; break;
696 case 7: mnem = "fistp_d"; break; 697 case 7: mnem = "fistp_d"; break;
697 default: UnimplementedInstruction(); 698 default: UnimplementedInstruction();
698 } 699 }
(...skipping 764 matching lines...) Expand 10 before | Expand all | Expand 10 after
1463 fprintf(f, " "); 1464 fprintf(f, " ");
1464 } 1465 }
1465 fprintf(f, " %s\n", buffer.start()); 1466 fprintf(f, " %s\n", buffer.start());
1466 } 1467 }
1467 } 1468 }
1468 1469
1469 1470
1470 } // namespace disasm 1471 } // namespace disasm
1471 1472
1472 #endif // V8_TARGET_ARCH_IA32 1473 #endif // V8_TARGET_ARCH_IA32
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698