Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(74)

Unified Diff: syzygy/core/disassembler_util.cc

Issue 2507113002: Add support for the vbroadcastss instruction. (Closed)
Patch Set: Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | syzygy/core/disassembler_util_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: syzygy/core/disassembler_util.cc
diff --git a/syzygy/core/disassembler_util.cc b/syzygy/core/disassembler_util.cc
index 0cdf922fcbfeaf2d025abb7478c74fec051080c4..c5cdac8d3a7ee7d6a0b1cc1d60f43b7d14bb67c4 100644
--- a/syzygy/core/disassembler_util.cc
+++ b/syzygy/core/disassembler_util.cc
@@ -59,6 +59,7 @@ size_t Get3ByteVexEncodedInstructionSize(_CodeInfo* ci) {
case 0x02: {
switch (ci->code[3]) {
case 0x13: return 5; // vcvtps2ps
+ case 0x18: return 5; // vbroadcastss
case 0x36: return 5; // vpermd
case 0x5A: return 6; // vbroadcasti128
case 0x78: return 5; // vpbroadcastb
« no previous file with comments | « no previous file | syzygy/core/disassembler_util_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698