diff options
author | kobalicek <kobalicek.petr@gmail.com> | 2020-02-24 00:51:53 +0300 |
---|---|---|
committer | kobalicek <kobalicek.petr@gmail.com> | 2020-02-24 00:51:53 +0300 |
commit | 0072c202db7ff89bbb159ee6eb2be2e47bf4c2c3 (patch) | |
tree | c52f0a4306e036248677c61dd4bf583ea82b8d8b /tools | |
parent | 967dde0fc44699b03e8b809ac081410ec6f905fe (diff) |
Added support for BND/REPNE call/jmp/jcc/ret
Diffstat (limited to 'tools')
-rw-r--r-- | tools/tablegen-x86.js | 1 | ||||
-rw-r--r-- | tools/tablegen.js | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/tools/tablegen-x86.js b/tools/tablegen-x86.js index 6c88edb..97959f2 100644 --- a/tools/tablegen-x86.js +++ b/tools/tablegen-x86.js @@ -189,6 +189,7 @@ class GenUtils { if (dbInst.attributes.Lock ) f.Lock = true; if (dbInst.attributes.XAcquire ) f.XAcquire = true; if (dbInst.attributes.XRelease ) f.XRelease = true; + if (dbInst.attributes.BND ) f.Rep = true; if (dbInst.attributes.REP ) f.Rep = true; if (dbInst.attributes.REPNE ) f.Rep = true; if (dbInst.attributes.RepIgnored) f.RepIgnored = true; diff --git a/tools/tablegen.js b/tools/tablegen.js index 7d7a20c..f6827d5 100644 --- a/tools/tablegen.js +++ b/tools/tablegen.js @@ -23,7 +23,7 @@ const fs = require("fs"); const hasOwn = Object.prototype.hasOwnProperty; const asmdb = (function() { - // Try to import local 'asmdb' package, if available. + // Try to import a local 'asmdb' package, if available. try { return require("./asmdb"); } |