OLD | NEW |
1 // Copyright 2011 the V8 project authors. All rights reserved. | 1 // Copyright 2011 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 1302 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1313 case 0x1F: | 1313 case 0x1F: |
1314 return "nop"; | 1314 return "nop"; |
1315 case 0x2A: // F2/F3 prefix. | 1315 case 0x2A: // F2/F3 prefix. |
1316 return "cvtsi2s"; | 1316 return "cvtsi2s"; |
1317 case 0x51: // F2 prefix. | 1317 case 0x51: // F2 prefix. |
1318 return "sqrtsd"; | 1318 return "sqrtsd"; |
1319 case 0x58: // F2 prefix. | 1319 case 0x58: // F2 prefix. |
1320 return "addsd"; | 1320 return "addsd"; |
1321 case 0x59: // F2 prefix. | 1321 case 0x59: // F2 prefix. |
1322 return "mulsd"; | 1322 return "mulsd"; |
| 1323 case 0x5A: // F2 prefix. |
| 1324 return "cvtsd2ss"; |
1323 case 0x5C: // F2 prefix. | 1325 case 0x5C: // F2 prefix. |
1324 return "subsd"; | 1326 return "subsd"; |
1325 case 0x5E: // F2 prefix. | 1327 case 0x5E: // F2 prefix. |
1326 return "divsd"; | 1328 return "divsd"; |
1327 case 0xA2: | 1329 case 0xA2: |
1328 return "cpuid"; | 1330 return "cpuid"; |
1329 case 0xA5: | 1331 case 0xA5: |
1330 return "shld"; | 1332 return "shld"; |
1331 case 0xAB: | 1333 case 0xAB: |
1332 return "bts"; | 1334 return "bts"; |
(...skipping 550 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1883 for (int i = 6 - static_cast<int>(pc - prev_pc); i >= 0; i--) { | 1885 for (int i = 6 - static_cast<int>(pc - prev_pc); i >= 0; i--) { |
1884 fprintf(f, " "); | 1886 fprintf(f, " "); |
1885 } | 1887 } |
1886 fprintf(f, " %s\n", buffer.start()); | 1888 fprintf(f, " %s\n", buffer.start()); |
1887 } | 1889 } |
1888 } | 1890 } |
1889 | 1891 |
1890 } // namespace disasm | 1892 } // namespace disasm |
1891 | 1893 |
1892 #endif // V8_TARGET_ARCH_X64 | 1894 #endif // V8_TARGET_ARCH_X64 |
OLD | NEW |