49 Commits
Author SHA1 Message Date
LePresidente df9323a47f Fixes required by python3. 2019-04-20 14:00:14 +02:00
Vivek Thampi b8ba143089 Merge pull request #80 from sgraf812/patch-1
Update ud_opcode.py to also support Python 3.x
2014-12-25 17:19:55 +05:30
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
Sebastian Graf ef3129004a Update ud_opcode.py to also support Python 3.x
Hit this on Arch, which uses Python 3 as default interpreter. The scripts should either call `/usr/bin/python2` instead of just `/usr/bin/python` or this script must be updated. The proposed change(s) in particular:

    * `dict.iteritems()` has been replaced by `dict.items()`, which returns a lazy view instead. `itemslist()` resolves this.
2014-02-03 01:46:32 +01:00
Vivek Thampi c98c3ecc29 Disable logging in ud_opcode.py 2013-11-14 03:33:35 -08:00
Vivek Thampi 431bbb8718 Fix incorrect parsing of cpuid in optable.xml
This fixes issue #65, and also included are minor updates to some
test operand cases.
2013-11-14 02:18:04 -08:00
Kyle Guinn 9896a4eb57 Minor whitespace cleanup in automake files 2013-09-22 12:25:38 -07:00
Vivek Thampi 5a7e0fbf44 Remove obsolete script 2013-09-02 21:43:41 -07:00
Vivek Thampi d7b4ed448e Remove stray files 2013-09-02 13:07:05 -07:00
Vivek Thampi 6b7484bc74 Clean up AVX definitions
AVX definitions should no longer include the "c4" or "c5" opcode
bytes.
2013-08-31 11:32:43 -07: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 30d28dca69 Merge branch 'master' into avx
Conflicts:
	scripts/Makefile.am
2013-06-29 12:59:45 -07:00
Vivek Thampi 366ed6fea9 Ignore/clean asmtest output files 2013-06-05 01:56:57 -07:00
Vivek Thampi 571b3540d0 Fix decoding of YMM registers 2013-06-05 01:30:36 -07:00
Vivek Thampi 014b0f7ff0 Add first few avx tests 2013-06-02 16:40:14 -07:00
Vivek Thampi 6b0319eab8 Rename class to cpuid in optable 2013-06-02 14:36:25 -07:00
Vivek Thampi b05b90c191 Add a simple assembly test script 2013-06-01 20:15:41 -07:00
Vivek Thampi de825118f5 Optimize /sse=none entries for space 2013-06-01 19:33:48 -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