summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2007-07-25Add a new SCons option called EXTRAS that allows you to include stuff inNathan Binkert
the build process that is outside of the main M5 tree. --HG-- extra : convert_revision : 6edc4fbc58240f83b59c7b5707c0390cdb85d9ec
2007-07-24Merge with head.Gabe Black
--HG-- extra : convert_revision : 4a34b3f91c4fc90055596245ae3efec45ea33888
2007-07-24Hook in a bunch of new instructions, fix a few minor bugs, and expand out ↵Gabe Black
one of the prefix multiplexed opcode groups. --HG-- extra : convert_revision : b5afd54a180a8fbdf9a892b1a2316fcf0d11afc6
2007-07-24Add a tgt_iovec structure to support writev, change the name of X86Linux to ↵Gabe Black
X86Linux64, add some syscalls. --HG-- extra : convert_revision : 9c13e9c68f331fe6c4a9abd96f7aee0f064101fc
2007-07-24Add a special case for "test" which needs an immediate even though ↵Gabe Black
everything else with it's opcode doesn't. Also made some spacing consistent. --HG-- extra : convert_revision : 72a317f29c11705782e19840bef24354214d3143
2007-07-24The groups of instructions hanging off opcode 71h, 72h, and 73h all need a ↵Gabe Black
byte immediate --HG-- extra : convert_revision : 9559047adfec1490c2d40065442a579549624fcc
2007-07-24Make the shift and rotate microops mask the shift/rotate amount correctly.Gabe Black
--HG-- extra : convert_revision : 31c5d3fa8ef0d37494d0e35cef31be6056d5d93f
2007-07-24Fix immediate shifts. Implement register shifts.Gabe Black
--HG-- extra : convert_revision : 0b83422ad3c190021e46cada07e64d8d57d29859
2007-07-24Fix immediate rotates and add register ones.Gabe Black
--HG-- extra : convert_revision : a6b9cee59019ea0f906c8a8e76eeb2cd73093671
2007-07-24Clean out part of an old comment.Gabe Black
--HG-- extra : convert_revision : 6a6b2a06576ebe7383f7ce0e4e9f96bc96b84b56
2007-07-24Implement cmov.Gabe Black
--HG-- extra : convert_revision : 2e92623b53c1fe8b4da3fef3486c0dcd8d5ef9f5
2007-07-24Implement cdqe and cqo, which are also called cbw and cwde, and cwd and cdq ↵Gabe Black
respectively, depending on the operand size. --HG-- extra : convert_revision : 67ac035c68608d7260c21ce32009b344f3834e46
2007-07-24Implement setcc.Gabe Black
--HG-- extra : convert_revision : 7a47b9971fe9e4ac638b275fb56fdcba08c2d671
2007-07-24Get rid of an old comment.Gabe Black
--HG-- extra : convert_revision : 1b86a7f60489bc65a03919b27afd4dfbe4e09bba
2007-07-24Get rid of an old commentGabe Black
--HG-- extra : convert_revision : 4d626721ad54af9cbf5b0c07a3a6e8a05e4e9ab5
2007-07-23Major changes to how SimObjects are created and initialized. Almost allNathan Binkert
creation and initialization now happens in python. Parameter objects are generated and initialized by python. The .ini file is now solely for debugging purposes and is not used in construction of the objects in any way. --HG-- extra : convert_revision : 7e722873e417cb3d696f2e34c35ff488b7bff4ed
2007-07-23Allow the fixwhite stuff to work when committing from a subdirNathan Binkert
--HG-- extra : convert_revision : 10e6ecc60bb8ee4e4a6f06f8c56550299c262c91
2007-07-23Implement pusha, popa, three operand imul, hook them into the decoder, and ↵Gabe Black
clean up the decoder a little. --HG-- extra : convert_revision : c1b8f0f433f629e4104e2b04addcdaabf57595e3
2007-07-23Make the operand size reflect the size specifier on the operand tags, and ↵Gabe Black
implement NEG --HG-- extra : convert_revision : da73ed6820d57f083c18f44b2fa868fc0976dd16
2007-07-22do proper style checks for merged filesNathan Binkert
--HG-- extra : convert_revision : f9d4c61ded4b13655dbe86f0bb6a0b3beaf45151
2007-07-22fix the style fixing thingNathan Binkert
--HG-- extra : convert_revision : 65ffc14e7b78b49df9a67ef0d3521551dd44d1cd
2007-07-22Merge Gabe's changes with mine.Steve Reinhardt
--HG-- extra : convert_revision : f50ed42e7acb3f11e610fd6976eaa8df0c6ba2ab
2007-07-22Add the "open" syscall.Gabe Black
--HG-- extra : convert_revision : d405ed5d3738639809dd2887955db9253138ccbb
2007-07-22Fixed immediate byte accounting bug.Gabe Black
--HG-- extra : convert_revision : ee5275da14a2923b9a525ae5b5c582c15df4608a
2007-07-22Fixed displacement size bug.Gabe Black
--HG-- extra : convert_revision : c39249ef598c1bd555098d688381dc62541a07c0
2007-07-21Merge with head.Gabe Black
--HG-- extra : convert_revision : 9b82ba062a14032ef24b960b92d48de754463284
2007-07-21Add code to turn the style stuff into a mercurial hook.Nathan Binkert
Nag the user during compile if they have an hg cloned copy of M5, have mercurial installed, but don't have the style hook enabled. --HG-- extra : convert_revision : 6bcbb67f1a3fcd36db7d3ef16a9ff19680f126f2
2007-07-21Implemented and hooked in xchg, rotate with carry, and ret instructionsGabe Black
--HG-- extra : convert_revision : a8e67b0ab4072308f01e0df7f7ee05b31f605a35
2007-07-21Implement rotate with carry microops.Gabe Black
--HG-- extra : convert_revision : 1d7ff6611e5b4766a5257c1e73681fabbe5f6d76
2007-07-20Fixed the distinction between far and near versions of jmp, call and ret. ↵Gabe Black
Implemented some shifts, rotates, and pushes. --HG-- extra : convert_revision : fcb06189ff213e82da16ac43231feb308cb3a285
2007-07-20Fixed line number accountingGabe Black
--HG-- extra : convert_revision : 4c046493b98ce4a766c2121710d70650cb6a801e
2007-07-20Implement UD2 and replace the place holder in the decoder.Gabe Black
--HG-- extra : convert_revision : 16d0d2b2ddad8759698fa4aa668c22063307c72b
2007-07-20Make the "name" function const.Gabe Black
--HG-- extra : convert_revision : eb71bc3edd92a544a5333786635fce550aaef233
2007-07-20Implement adc and sbb instructions and microops.Gabe Black
--HG-- extra : convert_revision : a2d3068c5b487f4fa7bf5c9cebba7753bc390bfa
2007-07-20Implement the rest of the conditional jump instructions and hook them into ↵Gabe Black
the decoder. --HG-- extra : convert_revision : 8d1d6abce29371def560e1c3f31dabb4de01366f
2007-07-20Make the decoder take advantage of the new "B" operand format which takes a ↵Gabe Black
register index from the opcode itself. --HG-- extra : convert_revision : 35f9be6559ee9833049eda1817982efdde7082be
2007-07-20Define and fill out a lot of different instructions and instruction ↵Gabe Black
versions. Added two of the shift microops. --HG-- extra : convert_revision : 0b76953dbb1dc3366242d4d209cccebde86bbe4e
2007-07-20Hook in newly implemented instructions.Gabe Black
--HG-- extra : convert_revision : 53319d2363211af407dabaa2b63ad8a4df09c369
2007-07-20Comment, implement, fix, and trim the move microassembly.Gabe Black
--HG-- extra : convert_revision : aa5ee7270e740bfbe42e70c4dfccc4c91ecacb33
2007-07-20Implement jnbe.Gabe Black
--HG-- extra : convert_revision : cdbf1ff5ed3a63787cbd2187a8a3455a41cc5085
2007-07-20Appended _NEAR to the near version of call and return.Gabe Black
--HG-- extra : convert_revision : 70adb38d59ff7b5d103e58a9f0773dfb911fec6d
2007-07-20Make load and store ops use the appropriate sized data access.Gabe Black
--HG-- extra : convert_revision : 6b808586fab10ca433ef04b062bf701b906634b9
2007-07-20Implement the increment and decrement instructions, and the two operand form ↵Gabe Black
of signed multiplication. --HG-- extra : convert_revision : d87df4b1b5470bed1d963dfe8e2ffa1403718342
2007-07-20Fix code that computes displacement size.Gabe Black
--HG-- extra : convert_revision : a9be3eb2b90b88086936aeb4dcf87ec7b58a48cb
2007-07-20Add a bitfield to decode based on what prefixes are used.Gabe Black
--HG-- extra : convert_revision : 7ff4998b3249ccfe86ae9cbcc63fb910683707f5
2007-07-20Add a parameter type to read a register index from the opcode itself.Gabe Black
--HG-- extra : convert_revision : d2b5468ebf5df5a6ccadb57a30c52c8d16417b9a
2007-07-20Fix function which calculates the carry flag.Gabe Black
--HG-- extra : convert_revision : aeb4f2d4c3936089421dbe80647f28ae36178283
2007-07-20Fix carry flag for subtracts, and clean up code slightly.Gabe Black
--HG-- extra : convert_revision : 668f5d5aeba888488b41284de6c72a0d055c4ef4
2007-07-20Fixed width parameter and provided a parameter to flip the carry bit on ↵Gabe Black
subtract. --HG-- extra : convert_revision : d01bb791b000a2fdfc8600f8fb2f8aadd52b0b63
2007-07-19x86 fixesGabe Black
Make the emulation environment consider the rex prefix. Implement and hook in forms of j, jmp, cmp, syscall, movzx Added a format for an instruction to carry a call to the SE mode syscalls system Made memory instructions which refer to the rip do so directly Made the operand size overridable in the microassembly Made the "ext" field of register operations 16 bits to hold a sparse encoding of flags to set or conditions to predicate on Added an explicit "rax" operand for the syscall format Implemented syscall returns. --HG-- extra : convert_revision : ae84bd8c6a1d400906e17e8b8c4185f2ebd4c5f2