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

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

Issue 5437002: Add generated code to calculate Math.log and to search Transcendental cache f... (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: '' Created 10 years 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 | « src/ia32/codegen-ia32.cc ('k') | src/ia32/full-codegen-ia32.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 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 715 matching lines...) Expand 10 before | Expand all | Expand 10 after
726 mnem = "fxch"; 726 mnem = "fxch";
727 has_register = true; 727 has_register = true;
728 break; 728 break;
729 default: 729 default:
730 switch (modrm_byte) { 730 switch (modrm_byte) {
731 case 0xE0: mnem = "fchs"; break; 731 case 0xE0: mnem = "fchs"; break;
732 case 0xE1: mnem = "fabs"; break; 732 case 0xE1: mnem = "fabs"; break;
733 case 0xE4: mnem = "ftst"; break; 733 case 0xE4: mnem = "ftst"; break;
734 case 0xE8: mnem = "fld1"; break; 734 case 0xE8: mnem = "fld1"; break;
735 case 0xEB: mnem = "fldpi"; break; 735 case 0xEB: mnem = "fldpi"; break;
736 case 0xED: mnem = "fldln2"; break;
736 case 0xEE: mnem = "fldz"; break; 737 case 0xEE: mnem = "fldz"; break;
738 case 0xF1: mnem = "fyl2x"; break;
737 case 0xF5: mnem = "fprem1"; break; 739 case 0xF5: mnem = "fprem1"; break;
738 case 0xF7: mnem = "fincstp"; break; 740 case 0xF7: mnem = "fincstp"; break;
739 case 0xF8: mnem = "fprem"; break; 741 case 0xF8: mnem = "fprem"; break;
740 case 0xFE: mnem = "fsin"; break; 742 case 0xFE: mnem = "fsin"; break;
741 case 0xFF: mnem = "fcos"; break; 743 case 0xFF: mnem = "fcos"; break;
742 default: UnimplementedInstruction(); 744 default: UnimplementedInstruction();
743 } 745 }
744 } 746 }
745 break; 747 break;
746 748
(...skipping 763 matching lines...) Expand 10 before | Expand all | Expand 10 after
1510 fprintf(f, " "); 1512 fprintf(f, " ");
1511 } 1513 }
1512 fprintf(f, " %s\n", buffer.start()); 1514 fprintf(f, " %s\n", buffer.start());
1513 } 1515 }
1514 } 1516 }
1515 1517
1516 1518
1517 } // namespace disasm 1519 } // namespace disasm
1518 1520
1519 #endif // V8_TARGET_ARCH_IA32 1521 #endif // V8_TARGET_ARCH_IA32
OLDNEW
« no previous file with comments | « src/ia32/codegen-ia32.cc ('k') | src/ia32/full-codegen-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698