53 Commits
Author SHA1 Message Date
Vivek Thampi 54dfe2bbf2 Minor fix for smsw 2013-02-22 01:13:18 -08:00
Vivek Thampi f94df0c669 Add a new encoding for sign-extended Immediates 2013-02-21 23:50:40 -08:00
Vivek Thampi 31140d4a2b Mark pointers as const where it matters in the exported interface 2013-02-21 01:00:24 -08:00
Vivek Thampi 5585b14d14 Export ud_lookup_mnemonic code with check for invalid param 2013-02-20 02:13:41 -08:00
Vivek Thampi d3e4c90e3b Add configure check for sphinx documentation tool 2013-02-18 18:57:39 -08:00
Vivek Thampi ef6626b5ff Fix popfq encoding in 64bit (sf#4)
Thank you Jamie Iles (https://sourceforge.net/u/jamieiles)
2013-02-17 22:07:33 -08:00
Vivek Thampi 9fa59892ee Fix encoding for smsw (sf#24) 2013-02-17 22:00:33 -08:00
Vivek Thampi a17b7fa9cf Fix operand size for Mov seg, reg/mem (sf#22) 2013-02-17 21:53:28 -08:00
Vivek Thampi a1249b2d5e Add shiny new sphinx based documentation
Add shiny new sphinx based documentation and remove old xml based one
(yuck).
2013-02-17 20:30:40 -08:00
Vivek Thampi 9115f0ea1b Change doc install directory to datadir/udis86
Thanks to Roi Martin
2013-02-10 15:33:41 -08:00
Vivek Thampi f2b9813b2c Add see4.2 instructions 2013-02-10 13:18:09 -08:00
Vivek Thampi cc7073f435 Add missing sse4.1 instruction 2013-02-10 12:55:18 -08:00
Vivek Thampi 3a98211b28 New operand types in optable.xml
Introduce operand types Fv (far pointer in memory), Av (pointer
operand). Also make pinsrw default to 64bit operand size.
2013-02-10 00:22:53 -08:00
Vivek Thampi f5aef916c6 Replace the use of inv64 with /m=!64
Change also includes some more tests
2013-02-09 18:32:59 -08:00
Vivek Thampi bc843d6793 Opcode encoding for inv64 2013-02-09 17:41:13 -08:00
Vivek Thampi 04aa88c1a5 Fix sext64 test reference 2013-02-09 13:53:05 -08:00
Vivek Thampi 0239ef459c Do sign-extension based on opcode field 2013-02-09 13:48:56 -08:00
Vivek Thampi f646bdb30d Remove syntax hint for casting 2013-02-05 23:18:43 -08:00
Vivek Thampi ee7926e11c Minor fixes, add more tests cases (coverage ~100%) 2013-02-05 01:06:33 -08:00
Vivek Thampi b1e7e76a82 Fix REX.R encoding for movq2dq 2013-02-04 00:45:24 -08:00
Vivek Thampi 9b4e222a46 Use intel notation for modrm.rm registers 2013-02-04 00:39:07 -08:00
Vivek Thampi 86c0d86975 Minor encoding fixes 2013-02-04 00:03:45 -08:00
Vivek Thampi d58842cd30 Fix encoding of lss 2013-02-03 23:27:27 -08:00
Vivek Thampi 8d8e5a8882 Fix encodings for ldmxcsr/stmxcsr 2013-02-03 23:10:27 -08:00
Vivek Thampi 77778edb03 Fix fxrstor, fxsave, movntq encodings 2013-02-03 23:01:33 -08:00
Vivek Thampi 85bffe7974 Fix mmx encoding: add missing prefixes 2013-02-03 22:05:08 -08:00
Vivek Thampi ebb7debc97 Cleanup register decoding
Clean up register decoding to use a single function. The change
also introduces a new operand type OP_R0 .. OP_R7 for register
encodings in the opcode.
2013-02-02 22:08:44 -08:00
Vivek Thampi 2d73a8ff6e Add SZ_Y 2013-02-02 17:26:16 -08:00
Felipe Pena 676d9cd1c6 - Fixed typo in vendor related macro 2012-11-10 21:25:40 -02:00
Vivek Thampi de4a93b816 Add some more SSE4.1 insructions 2012-06-10 03:39:15 -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 fc3e3cc9dc Add Support for SSSE3 Instructions 2012-04-30 02:40:00 -07:00
Vivek Thampi 09b17f7845 Fix ud_set_input_hook documentation (Thanks Diego <diegomnc>) 2012-04-22 18:42:58 -07:00
Vivek Thampi fb9a9b15a9 Add Missing REX.W prefix to SSE instructions
Add missing REX.W prefix to,

    cvtsdf2si,
    cvtsi2ss,
    cvtss2si,
    cvttsd2si,
    cvttss2si
2012-04-22 03:45:32 -07:00
Marius Barbu 44d07f92f1 xadd: no SSE variants
mentioning the "sse66" encoding prevents udis from
correctly decoding "xadd [eax], bx" (for example)
2012-04-17 00:56:12 +03:00
Marius Barbu a0e564737e movhlps: second operand type is VR (xmm with mod=11, just like movlhps) 2012-04-17 00:29:45 +03:00
Marius Barbu 23fe5c86c8 paddusw: XMM encoding was attached to punpckhbw 2012-04-17 00:24:54 +03:00
Marius Barbu 6f4e3e053b paddusb: XMM encoding was attached to psubusb 2012-04-17 00:23:16 +03:00
Vivek Thampi e05c7b8c0d Add more test cases
Fix minor bugs
2009-09-02 01:54:09 +05:30
Vivek Thampi d47606c0ae Fix git repos url. 2009-08-21 05:37:44 +05:30
Vivek Thampi 234fe6d672 Add sign-extension support for immediates (in syntax output)
Fix bug 2040758
2009-08-21 05:18:18 +05:30
Vivek Thampi 4780333f6e Cosmetic updates to webpage. 2009-08-20 10:26:59 +05:30
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
Vivek Mohan Thampi 74465d2da3 first ci of optable documentation 2009-05-04 22:45:54 -07:00
Anders Kaseorg a8330e040d Use the public http URI to docbook.xsl.
Fixes this build failure:
xsltproc manual.xsl manual.xml > manual.html
warning: failed to load external entity "/opt/local/share/xsl/docbook-xsl/html/docbook.xsl"
compilation error: file manual.xsl line 5 element import
xsl:import : unable to load /opt/local/share/xsl/docbook-xsl/html/docbook.xsl
make[3]: *** [manual.html] Error 5

Signed-off-by: Anders Kaseorg <[email protected]>
2009-05-04 19:41:50 -04:00
vivek thampi cd54c3402c change manual docbook public dtd 2009-05-04 06:03:37 -07:00
vivek thampi d26238578c more updates 2009-05-04 05:22:43 -07:00
vivek thampi bbf9c202ad Remove accidental checking docs/manual/Makefile.in 2009-05-04 05:11:28 -07:00