summaryrefslogtreecommitdiff
path: root/insns.pl
AgeCommit message (Collapse)AuthorFilesLines
2007-12-29regularized spelling of license to match name of LICENSE fileBeroset1-1/+1
2007-11-19insns.pl: remove debugging outputH. Peter Anvin1-1/+0
Remove debugging output which was never meant to be checked in.
2007-11-18BR 1834292: Fix multiple disassembler bugsH. Peter Anvin1-16/+26
- Correct the building on the disassembler decision tree. - Handle SSE instructions with F2 prefix (\332) correctly. - Mark instructions which are now used as prefixes with ND. (In a future version when we have better CPU version handling, we should probably build the decision tree at runtime based on the selected CPU feature sets.) - Sanitize the handling of \144-147 and \154-157 in both the assembler and disassembler. They take an opcode byte as argument; don't pretend they don't.
2007-10-19Formatting: kill off "stealth whitespace"H. Peter Anvin1-23/+23
"Stealth whitespace" makes it harder to read diffs, and just generally cause unwanted weirdness. Do a source-wide pass to get rid of it.
2007-09-240F0F is a 3Dnow! prefix; remove from prefix listH. Peter Anvin1-1/+1
3Dnow! prefixes cannot be disambiguated via pointer chasing, since the third byte of the opcode field follows the EA.
2007-09-22Centaur XSHA1, XSHA256, MONTMULH. Peter Anvin1-1/+1
2007-09-22Implement Centaur's XCRYPT instructionsH. Peter Anvin1-1/+1
Implement Centaur's XCRYPT instruction (RFE 825529)
2007-09-18Remove 0FC2 from list of instruction prefixesH. Peter Anvin1-1/+1
0FC2 is not really an instruction prefix; it's the opcode for CMPPS/CMPSS, which takes a control immediate which Intel chose to have opcode aliases for. However, we can't dispatch on a tail byte, so it's useless.
2007-09-18Speed up the disassembler by allowing prefixed instruction tablesH. Peter Anvin1-33/+118
Modify the disassembler so that we can have separate instruction tables for prefixed instructions. As it was, all instructions which started with 0F were linearly searched, and that is by now more than half the instruction set.
2007-09-17Disassembler support for SSE5 instructionsH. Peter Anvin1-2/+3
Support for the SSE5 instruction format in the disassembler. Also adds some comments to insnsd.c for easier debugging.
2007-09-17Actually generate SSE5 instructionsH. Peter Anvin1-0/+1
This checkin completes what is required to actually generate SSE5 instructions. No support in the disassembler yet. This checkin covers: - Support for actually generating DREX prefixes. - Support for matching operand "operand X must match Y"
2007-09-17Initial support for four arguments per instructionH. Peter Anvin1-31/+38
For SSE5, we will need to support four arguments per instruction.
2007-09-12Support r/m operands for non-integer typesH. Peter Anvin1-1/+3
Support r/m operands for non-integer operands types, i.e. mmx or xmm operands. This allows mmx and xmm operands to be written more compactly, speeding up the assembler.
2007-09-12Use enumerations where practical to ease debuggingH. Peter Anvin1-7/+8
We have a lot of enumerations; by declaring fields as such, we make it easier when debugging, since the debugger can display the enumerations in cleartext. However, make sure exceptional values (like -1) are included in the enumeration, since the compiler otherwise may not include it in the valid range of the enumeration.
2007-09-11Use enums to make debugging easierH. Peter Anvin1-1/+1
When we're dealing with a field which is guaranteed to have an enum type, then declare it as such so it shows up in debuggers.
2007-09-11Make the big instruction arrays "const"H. Peter Anvin1-7/+7
Make the big instruction arrays "const", so they end up in readonly storage. While we're at it, move their prototypes into insns.h.
2007-09-10Use an actual enum for the opcodeH. Peter Anvin1-1/+1
Use an actual named enum for the opcode, that way it shows up in cleartext while debugging.
2007-04-13Fixed distinction between char and int8_t data types.Keith Kanios1-5/+2
2007-04-12General push for x86-64 support, dubbed 0.99.00.Keith Kanios1-2/+5
2002-09-12Clean up unnecessary dependencies.H. Peter Anvin1-2/+0
2002-05-14Change "const static" -> "static const" to keep gcc happyH. Peter Anvin1-2/+2
2002-05-14Code cleanup fixes from Ed BerosetH. Peter Anvin1-4/+4
2002-04-30NASM 0.98.30H. Peter Anvin1-1/+1
2002-04-30NASM 0.98H. Peter Anvin1-120/+142
2002-04-30NASM 0.98p3.4H. Peter Anvin1-3/+4
2002-04-30NASM 0.98p3.3H. Peter Anvin1-33/+30
2002-04-30NASM 0.98p3-hpaH. Peter Anvin1-1/+80
2002-04-30NASM 0.96H. Peter Anvin1-1/+2
2002-04-30NASM 0.95H. Peter Anvin1-1/+1
2002-04-30NASM 0.94H. Peter Anvin1-5/+6
2002-04-30NASM 0.91H. Peter Anvin1-0/+160