OLD | NEW |
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 Loading... |
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 Loading... |
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 |
OLD | NEW |