summaryrefslogtreecommitdiff
path: root/ndisasm.c
diff options
context:
space:
mode:
authorJin Kyu Song <jin.kyu.song@intel.com>2013-08-26 20:28:42 -0700
committerCyrill Gorcunov <gorcunov@gmail.com>2013-08-28 09:37:21 +0400
commit9bb987d8e0330429afba42015b1fc7c7ca0d1b16 (patch)
tree99bbfef132c7f80d33b22cb3c0e6f9c083366200 /ndisasm.c
parentd2d9c3ee3807791cb0240ea8b141643bc6d9b9a7 (diff)
downloadnasm-9bb987d8e0330429afba42015b1fc7c7ca0d1b16.tar.gz
nasm-9bb987d8e0330429afba42015b1fc7c7ca0d1b16.tar.bz2
nasm-9bb987d8e0330429afba42015b1fc7c7ca0d1b16.zip
AVX-512: Change the data type for instruction flags
Increased the size of data type for instruction flags from 32bits to 64bits. And a new type (iflags_t) is defined for better maintainability. Bigger data type is needed because more instruction set types are coming but there were not enough space for them. Since they are not bit masks, only one instruction set is allowed for each instruction. Signed-off-by: Jin Kyu Song <jin.kyu.song@intel.com> Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
Diffstat (limited to 'ndisasm.c')
-rw-r--r--ndisasm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ndisasm.c b/ndisasm.c
index 710d1f0..638299f 100644
--- a/ndisasm.c
+++ b/ndisasm.c
@@ -88,7 +88,7 @@ int main(int argc, char **argv)
bool autosync = false;
int bits = 16, b;
bool eof = false;
- uint32_t prefer = 0;
+ iflags_t prefer = 0;
bool rn_error;
int32_t offset;
FILE *fp;