Chromium Code Reviews| 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 1031 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1042 } else if (*data == 0x0F) { | 1042 } else if (*data == 0x0F) { |
| 1043 data++; | 1043 data++; |
| 1044 if (*data == 0x2F) { | 1044 if (*data == 0x2F) { |
| 1045 data++; | 1045 data++; |
| 1046 int mod, regop, rm; | 1046 int mod, regop, rm; |
| 1047 get_modrm(*data, &mod, ®op, &rm); | 1047 get_modrm(*data, &mod, ®op, &rm); |
| 1048 AppendToBuffer("comisd %s,%s", | 1048 AppendToBuffer("comisd %s,%s", |
| 1049 NameOfXMMRegister(regop), | 1049 NameOfXMMRegister(regop), |
| 1050 NameOfXMMRegister(rm)); | 1050 NameOfXMMRegister(rm)); |
| 1051 data++; | 1051 data++; |
| 1052 } else { | 1052 } if(*data == 0x57) { |
|
iposva
2009/12/17 21:03:50
missing else?
bakster
2009/12/18 06:38:47
Done.
| |
| 1053 UnimplementedInstruction(); | 1053 data++; |
| 1054 int mod, regop, rm; | |
| 1055 get_modrm(*data, &mod, ®op, &rm); | |
| 1056 AppendToBuffer("xorpd %s,%s", | |
| 1057 NameOfXMMRegister(regop), | |
| 1058 NameOfXMMRegister(rm)); | |
| 1059 data++; | |
| 1054 } | 1060 } |
| 1055 } else { | 1061 } else { |
| 1056 UnimplementedInstruction(); | 1062 UnimplementedInstruction(); |
| 1057 } | 1063 } |
| 1058 break; | 1064 break; |
| 1059 | 1065 |
| 1060 case 0xFE: | 1066 case 0xFE: |
| 1061 { data++; | 1067 { data++; |
| 1062 int mod, regop, rm; | 1068 int mod, regop, rm; |
| 1063 get_modrm(*data, &mod, ®op, &rm); | 1069 get_modrm(*data, &mod, ®op, &rm); |
| (...skipping 225 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1289 } | 1295 } |
| 1290 for (int i = 6 - (pc - prev_pc); i >= 0; i--) { | 1296 for (int i = 6 - (pc - prev_pc); i >= 0; i--) { |
| 1291 fprintf(f, " "); | 1297 fprintf(f, " "); |
| 1292 } | 1298 } |
| 1293 fprintf(f, " %s\n", buffer.start()); | 1299 fprintf(f, " %s\n", buffer.start()); |
| 1294 } | 1300 } |
| 1295 } | 1301 } |
| 1296 | 1302 |
| 1297 | 1303 |
| 1298 } // namespace disasm | 1304 } // namespace disasm |
| OLD | NEW |