Guru Kas | 1 Dec 2009 18:23
Picon

CVS: biew/plugins/disasm/ix86 ix86.c,1.82,1.83

Update of /cvsroot/biew/biew/plugins/disasm/ix86
In directory sfp-cvsdas-2.v30.ch3.sourceforge.com:/tmp/cvs-serv12161

Modified Files:
	ix86.c 
Log Message:
handle largest NOP generated by gcc (from undocumented stuff)

Index: ix86.c
===================================================================
RCS file: /cvsroot/biew/biew/plugins/disasm/ix86/ix86.c,v
retrieving revision 1.82
retrieving revision 1.83
diff -p -u -d -r1.82 -r1.83
--- ix86.c	30 Nov 2009 18:09:09 -0000	1.82
+++ ix86.c	1 Dec 2009 17:23:46 -0000	1.83
 <at>  <at>  -4588,11 +4588,12  <at>  <at>  static void ix86_gettype(DisasmRet *dret
 #ifdef IX86_64
  if(x86_Bitness == DAB_USE64)
  {
-   if(ua+ud+has_seg+has_rep+has_lock+has_vex>4) goto get_type;
+   if(ua+has_seg+has_rep+has_lock+has_vex>4) goto get_type;
+   if(ud>6) goto get_type;
  }
  else
 #endif
- if(has_lock + has_rep > 1 || has_seg > 1 || ua > 1 || ud > 1 || has_vex > 0) goto get_type;
+ if(has_lock + has_rep > 1 || has_seg > 1 || ua > 1 || ud > 6 || has_vex > 0) goto get_type;
  /** do prefixes loop */
  switch(insn[0])
(Continue reading)


Gmane