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 1249 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1260 NameOfXMMRegister(rm)); | 1260 NameOfXMMRegister(rm)); |
1261 data++; | 1261 data++; |
1262 } else if (*data == 0x54) { | 1262 } else if (*data == 0x54) { |
1263 data++; | 1263 data++; |
1264 int mod, regop, rm; | 1264 int mod, regop, rm; |
1265 get_modrm(*data, &mod, ®op, &rm); | 1265 get_modrm(*data, &mod, ®op, &rm); |
1266 AppendToBuffer("andpd %s,%s", | 1266 AppendToBuffer("andpd %s,%s", |
1267 NameOfXMMRegister(regop), | 1267 NameOfXMMRegister(regop), |
1268 NameOfXMMRegister(rm)); | 1268 NameOfXMMRegister(rm)); |
1269 data++; | 1269 data++; |
| 1270 } else if (*data == 0x56) { |
| 1271 data++; |
| 1272 int mod, regop, rm; |
| 1273 get_modrm(*data, &mod, ®op, &rm); |
| 1274 AppendToBuffer("orpd %s,%s", |
| 1275 NameOfXMMRegister(regop), |
| 1276 NameOfXMMRegister(rm)); |
| 1277 data++; |
1270 } else if (*data == 0x57) { | 1278 } else if (*data == 0x57) { |
1271 data++; | 1279 data++; |
1272 int mod, regop, rm; | 1280 int mod, regop, rm; |
1273 get_modrm(*data, &mod, ®op, &rm); | 1281 get_modrm(*data, &mod, ®op, &rm); |
1274 AppendToBuffer("xorpd %s,%s", | 1282 AppendToBuffer("xorpd %s,%s", |
1275 NameOfXMMRegister(regop), | 1283 NameOfXMMRegister(regop), |
1276 NameOfXMMRegister(rm)); | 1284 NameOfXMMRegister(rm)); |
1277 data++; | 1285 data++; |
1278 } else if (*data == 0x6E) { | 1286 } else if (*data == 0x6E) { |
1279 data++; | 1287 data++; |
(...skipping 411 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1691 fprintf(f, " "); | 1699 fprintf(f, " "); |
1692 } | 1700 } |
1693 fprintf(f, " %s\n", buffer.start()); | 1701 fprintf(f, " %s\n", buffer.start()); |
1694 } | 1702 } |
1695 } | 1703 } |
1696 | 1704 |
1697 | 1705 |
1698 } // namespace disasm | 1706 } // namespace disasm |
1699 | 1707 |
1700 #endif // V8_TARGET_ARCH_IA32 | 1708 #endif // V8_TARGET_ARCH_IA32 |
OLD | NEW |