20 Commits
Author SHA1 Message Date
Sebastian Graf b293936f25 No UD_ATTRIBUTE_PACKED for ud_mnemonic_code
I don't think packing the enum into 16-bit is advantageous in any way, also it doesn't happen on MSVC, for which the macro is defined to be empty. The ud struct's size shouldn't change (at least it doesn't on Clang/GCC for 64-bit), only the offset of the mnemonic member would be aligned to 4 bytes.
2014-04-05 17:35:34 +02:00
Vivek Thampi 84a37eb0e9 At 100% coverage and all tests passing for avx 2013-07-08 20:05:09 -07:00
Vivek Thampi 88bb68bb46 Add all remaining avx instructions 2013-07-07 01:56:50 -07:00
Vivek Thampi e22ec01cd9 Add support for avx instructions "vm" 2013-07-06 22:03:06 -07:00
Vivek Thampi ba284d1921 Add support for new operand types and sizes in opcode table generator 2013-07-06 12:43:56 -07:00
Vivek Thampi cb356500db Add support for 3rd source operand in avx insns 2013-06-29 14:46:32 -07:00
Vivek Thampi 4642ba1b75 Add support for up to four operands 2013-06-29 14:07:58 -07:00
Vivek Thampi 009056b570 Remove ud_optable.py 2013-06-01 18:28:54 -07:00
Vivek Thampi 0770fe6652 Remove table/insn ids 2013-06-01 17:53:53 -07:00
Vivek Thampi 292586064e UdItabGenerator does not inherit from UdOpcodeTables 2013-06-01 17:17:30 -07:00
Vivek Thampi 106531b70e Merge branch 'master' into avx 2013-06-01 13:36:30 -07:00
Vivek Thampi 4492592e95 stash avx changes 2013-05-08 01:29:35 +05:30
Vivek Thampi 7cd6b864e9 Fix issue #22: Add cmpxchg16b, fix pextrw definition 2013-05-05 19:49:11 +05:30
Vivek Thampi 9e85b89fd4 Merge branch 'master' into avx 2013-05-03 00:03:36 +05:30
Vivek Thampi c709c71c5f Add movbe 2013-04-23 17:55:04 +05:30
Vivek Thampi 306606f489 Fix string prefix decoding
Issue #10 points out a flaw in decoding the string prefixes in
udis86. Although rep/repe use the same encoding, the precise
prefix depends on the isntruction.

This change adds a new prefix notation to optable.xml that
indicates if an instruction takes a rep or repz (rep with
zero-flag).

It is undefined in the isa what the behavior of this 0xf3
prefix would on instructions that do not support it. For now,
udis86 simply decodes it as rep.
2013-04-22 20:29:06 +05:30
Vivek Thampi 7838963af2 avx experiment 2013-04-20 19:55:39 +05:30
Vivek Thampi f94df0c669 Add a new encoding for sign-extended Immediates 2013-02-21 23:50:40 -08:00
Vivek Thampi 5085fb981a Cleanup namespace pollution due to macros in itab.h 2013-02-21 00:47:22 -08:00
Vivek Thampi 0f6fe9a0dc Move itab.py to scripts/ud_itab.py (distcheck=pass) 2013-02-21 00:27:55 -08:00