| 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 1145 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1156 data++; | 1156 data++; |
| 1157 int mod, regop, rm; | 1157 int mod, regop, rm; |
| 1158 get_modrm(*data, &mod, ®op, &rm); | 1158 get_modrm(*data, &mod, ®op, &rm); |
| 1159 AppendToBuffer("movntdqa %s,", NameOfXMMRegister(regop)); | 1159 AppendToBuffer("movntdqa %s,", NameOfXMMRegister(regop)); |
| 1160 data += PrintRightOperand(data); | 1160 data += PrintRightOperand(data); |
| 1161 } else { | 1161 } else { |
| 1162 UnimplementedInstruction(); | 1162 UnimplementedInstruction(); |
| 1163 } | 1163 } |
| 1164 } else if (*data == 0x3A) { | 1164 } else if (*data == 0x3A) { |
| 1165 data++; | 1165 data++; |
| 1166 if (*data == 0x16) { | 1166 if (*data == 0x0B) { |
| 1167 data++; |
| 1168 int mod, regop, rm; |
| 1169 get_modrm(*data, &mod, ®op, &rm); |
| 1170 int8_t imm8 = static_cast<int8_t>(data[1]); |
| 1171 AppendToBuffer("roundsd %s,%s,%d", |
| 1172 NameOfXMMRegister(regop), |
| 1173 NameOfXMMRegister(rm), |
| 1174 static_cast<int>(imm8)); |
| 1175 data += 2; |
| 1176 } else if (*data == 0x16) { |
| 1167 data++; | 1177 data++; |
| 1168 int mod, regop, rm; | 1178 int mod, regop, rm; |
| 1169 get_modrm(*data, &mod, ®op, &rm); | 1179 get_modrm(*data, &mod, ®op, &rm); |
| 1170 int8_t imm8 = static_cast<int8_t>(data[1]); | 1180 int8_t imm8 = static_cast<int8_t>(data[1]); |
| 1171 AppendToBuffer("pextrd %s,%s,%d", | 1181 AppendToBuffer("pextrd %s,%s,%d", |
| 1172 NameOfCPURegister(regop), | 1182 NameOfCPURegister(regop), |
| 1173 NameOfXMMRegister(rm), | 1183 NameOfXMMRegister(rm), |
| 1174 static_cast<int>(imm8)); | 1184 static_cast<int>(imm8)); |
| 1175 data += 2; | 1185 data += 2; |
| 1176 } else if (*data == 0x22) { | 1186 } else if (*data == 0x22) { |
| (...skipping 460 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1637 fprintf(f, " "); | 1647 fprintf(f, " "); |
| 1638 } | 1648 } |
| 1639 fprintf(f, " %s\n", buffer.start()); | 1649 fprintf(f, " %s\n", buffer.start()); |
| 1640 } | 1650 } |
| 1641 } | 1651 } |
| 1642 | 1652 |
| 1643 | 1653 |
| 1644 } // namespace disasm | 1654 } // namespace disasm |
| 1645 | 1655 |
| 1646 #endif // V8_TARGET_ARCH_IA32 | 1656 #endif // V8_TARGET_ARCH_IA32 |
| OLD | NEW |