OLD | NEW |
1 // Copyright 2011 the V8 project authors. All rights reserved. | 1 // Copyright 2011 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 #include <assert.h> | 5 #include <assert.h> |
6 #include <stdarg.h> | 6 #include <stdarg.h> |
7 #include <stdio.h> | 7 #include <stdio.h> |
8 | 8 |
9 #include "src/v8.h" | 9 #include "src/v8.h" |
10 | 10 |
(...skipping 708 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
719 case 3: mnem = "fistp_s"; break; | 719 case 3: mnem = "fistp_s"; break; |
720 default: UnimplementedInstruction(); | 720 default: UnimplementedInstruction(); |
721 } | 721 } |
722 break; | 722 break; |
723 | 723 |
724 case 0xDC: | 724 case 0xDC: |
725 switch (regop) { | 725 switch (regop) { |
726 case 0: | 726 case 0: |
727 mnem = "fadd_d"; | 727 mnem = "fadd_d"; |
728 break; | 728 break; |
| 729 case 1: |
| 730 mnem = "fmul_d"; |
| 731 break; |
| 732 case 4: |
| 733 mnem = "fsub_d"; |
| 734 break; |
| 735 case 5: |
| 736 mnem = "fsubr_d"; |
| 737 break; |
| 738 case 6: |
| 739 mnem = "fdiv_d"; |
| 740 break; |
| 741 case 7: |
| 742 mnem = "fdivr_d"; |
| 743 break; |
729 default: | 744 default: |
730 UnimplementedInstruction(); | 745 UnimplementedInstruction(); |
731 } | 746 } |
732 break; | 747 break; |
733 | 748 |
734 case 0xDD: switch (regop) { | 749 case 0xDD: switch (regop) { |
735 case 0: mnem = "fld_d"; break; | 750 case 0: mnem = "fld_d"; break; |
736 case 1: mnem = "fisttp_d"; break; | 751 case 1: mnem = "fisttp_d"; break; |
737 case 2: mnem = "fst_d"; break; | 752 case 2: mnem = "fst_d"; break; |
738 case 3: mnem = "fstp_d"; break; | 753 case 3: mnem = "fstp_d"; break; |
(...skipping 1050 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1789 fprintf(f, " "); | 1804 fprintf(f, " "); |
1790 } | 1805 } |
1791 fprintf(f, " %s\n", buffer.start()); | 1806 fprintf(f, " %s\n", buffer.start()); |
1792 } | 1807 } |
1793 } | 1808 } |
1794 | 1809 |
1795 | 1810 |
1796 } // namespace disasm | 1811 } // namespace disasm |
1797 | 1812 |
1798 #endif // V8_TARGET_ARCH_X87 | 1813 #endif // V8_TARGET_ARCH_X87 |
OLD | NEW |