12 Commits
Author SHA1 Message Date
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
Vivek Thampi ccd8d3b46b Python 3.0 compatibility changes 2013-02-10 14:38:38 -08:00
Vivek Thampi cc7073f435 Add missing sse4.1 instruction 2013-02-10 12:55:18 -08:00
Vivek Thampi bc843d6793 Opcode encoding for inv64 2013-02-09 17:41:13 -08:00
Vivek Thampi c60e7fe262 Skip intel specific isntruction in testing for now 2013-02-04 00:16:05 -08:00
Vivek Thampi 28dc6be94c Make sse prefixes opcode extensions
This change makes sse prefixes (that disambiguate 2+ opcode bytes
instructions) act like rest of the opcode extensions. Importantly,
see prefix tables are now created towards the lower part of the
opcode tree.

However, note that SSE prefixes *must* be evaluated before the
operand size based disambiguation. This is because one the sse
prefix is consumed, it is discarded. So, in the case of the 66
prefix, which doubles as operand size override, it must be
consumed before operand size disambiguation.
2012-05-29 01:36:50 -07:00
Vivek Thampi db56ebd4de Cleanup opcode table layout
Refactor the opcode lookup mechanism, plus some minor fixes along
the way.
2012-05-29 01:35:48 -07:00
Vivek Thampi eae139047f Hand-merge patch from Jose Fonseca, that,
- Fixes: documentation
    - Adds: support for pextrb

    Additionally,

    - Add support for new operand type MbRv, since
      in pextrb, if the target operand is a register
      the default operand size is 64bit (in 64bit mode)
    - Add pextrd, pextrq
    - Add test cases for the above
2009-08-20 04:10:50 +05:30
Vivek Thampi 0f4f28bf3d Fix commit error. (really commit!) 2009-08-20 01:48:28 +05:30
Vivek Thampi c2dfc7029c This Checkin includes plenty of changes, some very
significant.

    - The lookup table generation scripts have been
      completely revamped for space efficiency and speed.
    - New Testing Framework
    - Optable XML format is cleaner now.
    - Build system cleanup.
    - Temporarily removed Makefile.win32 till someone
      volunteers to support it. I don't have the time
      or the inclination.
2009-08-20 01:42:21 +05:30