| OLD | NEW |
| 1 // Copyright 2009 the V8 project authors. All rights reserved. | 1 // Copyright 2009 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 888 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 899 mnem = "fxch"; | 899 mnem = "fxch"; |
| 900 has_register = true; | 900 has_register = true; |
| 901 break; | 901 break; |
| 902 default: | 902 default: |
| 903 switch (modrm_byte) { | 903 switch (modrm_byte) { |
| 904 case 0xE0: mnem = "fchs"; break; | 904 case 0xE0: mnem = "fchs"; break; |
| 905 case 0xE1: mnem = "fabs"; break; | 905 case 0xE1: mnem = "fabs"; break; |
| 906 case 0xE4: mnem = "ftst"; break; | 906 case 0xE4: mnem = "ftst"; break; |
| 907 case 0xE8: mnem = "fld1"; break; | 907 case 0xE8: mnem = "fld1"; break; |
| 908 case 0xEB: mnem = "fldpi"; break; | 908 case 0xEB: mnem = "fldpi"; break; |
| 909 case 0xED: mnem = "fldln2"; break; |
| 909 case 0xEE: mnem = "fldz"; break; | 910 case 0xEE: mnem = "fldz"; break; |
| 911 case 0xF1: mnem = "fyl2x"; break; |
| 910 case 0xF5: mnem = "fprem1"; break; | 912 case 0xF5: mnem = "fprem1"; break; |
| 911 case 0xF7: mnem = "fincstp"; break; | 913 case 0xF7: mnem = "fincstp"; break; |
| 912 case 0xF8: mnem = "fprem"; break; | 914 case 0xF8: mnem = "fprem"; break; |
| 913 case 0xFE: mnem = "fsin"; break; | 915 case 0xFE: mnem = "fsin"; break; |
| 914 case 0xFF: mnem = "fcos"; break; | 916 case 0xFF: mnem = "fcos"; break; |
| 915 default: UnimplementedInstruction(); | 917 default: UnimplementedInstruction(); |
| 916 } | 918 } |
| 917 } | 919 } |
| 918 break; | 920 break; |
| 919 | 921 |
| (...skipping 790 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1710 for (int i = 6 - static_cast<int>(pc - prev_pc); i >= 0; i--) { | 1712 for (int i = 6 - static_cast<int>(pc - prev_pc); i >= 0; i--) { |
| 1711 fprintf(f, " "); | 1713 fprintf(f, " "); |
| 1712 } | 1714 } |
| 1713 fprintf(f, " %s\n", buffer.start()); | 1715 fprintf(f, " %s\n", buffer.start()); |
| 1714 } | 1716 } |
| 1715 } | 1717 } |
| 1716 | 1718 |
| 1717 } // namespace disasm | 1719 } // namespace disasm |
| 1718 | 1720 |
| 1719 #endif // V8_TARGET_ARCH_X64 | 1721 #endif // V8_TARGET_ARCH_X64 |
| OLD | NEW |