summaryrefslogtreecommitdiff
path: root/misc
Commit message (Collapse)AuthorAgeFilesLines
* Move <string.h> inclusion to compiler.hH. Peter Anvin2018-12-262-2/+0
| | | | | | | There is absolutely no reason not to include <string.h> globally, and with the inline function for mempcpy() we need it there anyway. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* misc: Nindent -- Drop expand tabs with space optionCyrill Gorcunov2018-10-281-1/+1
| | | | | | | | | | | Currently out code is rather a mix of space/tabs with sometime different indent level. Mostly because some of developers are came from kernel space. Lets shift to kernel coding standart with small steps, file by file. It really helps when you're sitting in front of laptop more than 10 hours long. Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
* misc/omfdump.c: expand dDEPFILE COMENT recordsH. Peter Anvin2017-08-161-1/+29
| | | | | | Expand dDEPFILE COMENT records. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* outobj: emit file dependency informationH. Peter Anvin2017-08-161-12/+278
| | | | | | | | | Some OMF toolchain can make use of file dependency information embedded in the object files. As implemented here, we don't try to absolutize the filenames, as that prevents moving around trees and is OS-dependent. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* Reorganize the source code into subdirectoriesH. Peter Anvin2016-05-255-664/+0
| | | | | | | Make the source code easier to understand and keep track of by organizing it into subdirectories depending on the function. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* misc/tag-release: default to --no-pushH. Peter Anvin2016-02-211-3/+5
| | | | | | --no-push is by far the safer default. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* misc/tag-release: die on unknown optionsH. Peter Anvin2016-02-211-0/+4
| | | | | | | If someone specifies an unknown option, they proabably typoed something. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* debug: Drop LOGALLOC usageCyrill Gorcunov2014-05-092-101/+0
| | | | | | | | There are special tools (like valgrind and etc) to track memory leaks, no need for own trivial tracker. Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
* misc/release: Generate manpagesH. Peter Anvin2013-12-111-1/+1
| | | | | | | | asciidoc/xmlto are not tools we require every users to have, so each tarball should contain them. That means the release script needs to know about them. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* misc/release: do xz compression with -9eH. Peter Anvin2012-02-251-6/+6
| | | | | | | | Use the -9e compression level when doing xz compression. It only saves a few kilobytes, but since our files are pretty small it doesn't really take all that much time. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* tag-release: actually push data out unless --no-push is givenH. Peter Anvin2012-02-251-3/+5
| | | | | | | Rather than just printing a list of commands, do them, unless --no-push is given... Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* release: create .xz files; remove empty subdirectoriesH. Peter Anvin2012-02-251-4/+9
| | | | | | | Create .xz files as well as .gz and .bz2; remove empty subdirectories from the xdoc archives. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* misc: Enhance tag-releaseCyrill Gorcunov2010-11-211-14/+34
| | | | | | It remains backward compatible Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
* Get rid of misc/altreg.incCyrill Gorcunov2010-07-281-72/+0
| | | | | | It's the same as macros/altreg.mac which is already included. Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
* misc/tag-release: Make it usable for remote reposCyrill Gorcunov2010-03-031-4/+21
| | | | | | | | | | | | | | | | | | | | | | In case if the commiter has a main repo configured as remote one and also has various tags (and don't want to push every tag he has out to the main repo) he may use misc/tag-release new functionality. For example I have NASM remote repo as well known git://repo.or.cz/nasm.git and a number of my own local tags/branches which I would like to not sprinkle into a master repo. So to make a release (say 2.08) I may just type misc/tag-release 2.08 git+ssh://xxx@repo.or.cz/srv/git/nasm.git master and this command will push master branch into main repo with "nasm-2.08" tag. Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
* misc/release: *.ico are binary filesH. Peter Anvin2009-09-231-2/+2
| | | | | | | Zip needs to know which files to treat as binary, so tell it *.ico are binary files. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* xcrcgen: tool to create a "generalized CRC" hash tableH. Peter Anvin2009-07-161-0/+80
| | | | | | | | | A so-called "generalized CRC" is a form of hash function based on a table similar to the conventional bytewise software implementation of CRC. For each byte in each data set, it contains a random byte permutation table. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* crcgen: clean up whitespaceH. Peter Anvin2009-07-161-3/+0
| | | | Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* crcgen: utility program to generate CRC tablesH. Peter Anvin2009-07-161-0/+47
| | | | | | | | | | | Small utility program to generate CRC tables in both C and Perl formats. Note: we don't actually need a true CRC, which is what this generates. We may want to consider going to a "generalized CRC", meaning a randomly generated set of 8 bytewise permutations. These have the advantage of not being linear, while having the same software implementation as a true CRC. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* Beginnings of a crude utility to dump the contents of an OMF fileH. Peter Anvin2009-07-011-0/+223
| | | | | | | | | | | Beginnings of a crude utility to dump the contents of an OMF (obj) file. At this point all it does it breaks it down into the individual records and dumps those, but it is still easier to read than a pure hexdump. See http://www.azillionmonkeys.com/qed/Omfg.pdf for the format spec. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* Intel FMA: drop relaxed formsH. Peter Anvin2009-06-241-18/+4
| | | | | | | The Intel FMA instructions are destructive, so relaxed forms are not appropriate. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* Nindent: add back the -nut optionH. Peter Anvin2009-05-251-1/+1
| | | | | | | NASM is developed under a bunch on environments, to tabs aren't the best choice. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* Nindent: update with the -npro and -il0 optionsH. Peter Anvin2009-05-251-2/+18
| | | | | | Update with the -npro and, if recent enough, the -il0 options. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* BR 2690688: Fix opcodes for FMA instructionsH. Peter Anvin2009-03-171-3/+3
| | | | | | Two bugs with respect to the FMA instructions: - the variant increment is supposed to be 0x10, not 0x01. - the base opcode for scalar VFNMADD is 0x9d, not 0x9c
* BR 2690688: add missing VFM instructionsH. Peter Anvin2009-03-171-24/+29
| | | | | | The Perl script which auto-generated the VFM instructions had incorrectly conflated the VEX.W and VEX.L bits, with the result that only half the valid instructions were generated.
* genfma: fix spelling of the VFNM instructionsH. Peter Anvin2009-03-161-2/+2
| | | | | Fix the spelling of the scalar VFNM instruction in genfma.pl, too, just in case we need to pull this script out again...
* FMA instructions won't be in Sandy BridgeH. Peter Anvin2009-02-211-4/+4
| | | | | The FMA instructions aren't scheduled for Sandy Bridge after all. They will be "in a future processor", so create a placeholder for now.
* Perl script used to generate FMA instruction patternsH. Peter Anvin2009-02-181-0/+72
| | | | | Small perl script used to generate the FMA instruction patterns. May come in useful if the spec changes again.
* Remove obsolete tagrelease script (duplicate of tag-release)H. Peter Anvin2008-09-031-15/+0
|
* fmtinsns.pl: handle compiler fields; do some case manglingH. Peter Anvin2008-05-231-6/+15
| | | | | Handle compiler-generated fields, and at least try to do some case mangling.
* insns.dat: make even wider to make space for AVXH. Peter Anvin2008-05-201-1/+1
| | | | | The AVX instructions take more space, so add a few tab stops across the entire file.
* misc/findleak.pl: make executableH. Peter Anvin2008-01-211-0/+0
| | | | misc/findleak.pl: no text change, but mark file executable.
* Add autogenerated instruction list to NASM documentationCharles Crayne2008-01-201-1/+1
| | | | | | | | 1. Allow included files in rdsrc.pl 2. New program inslist.pl to generate instruction list from insns.dat 3. Mark certain comments in insns.dat as documentation subheaders 4. Add Instruction List appendix to nasmdoc.src 5. Update build process to invoke inslist.pl
* Complete the altreg set with "r0h".."r3h".H. Peter Anvin2007-12-101-0/+5
|
* Document naming of registers in 64-bit modeH. Peter Anvin2007-12-101-0/+67
| | | | | | Intel's docs diverge from AMD's docs (MASM follow AMD's docs); formally document what we're doing and include a file of macros in case someone wants to use alternate names.
* tag-release: a simple script to tag the repository for releaseH. Peter Anvin2007-11-191-0/+13
|
* No binary files left in the source distro; unbreak release scriptH. Peter Anvin2007-11-081-1/+1
| | | | | There are no more binary files in the source distro; this broke the build robot. Comment out the binary file zipping.
* Treat info files as binary when creating xdoc distro fileH. Peter Anvin2007-11-011-2/+2
| | | | | info files appear to contain embedded binary information and should therefore be treated as binary when creating zipfiles.
* Remove obsolete binary files from the distributionH. Peter Anvin2007-11-012-0/+0
| | | | | Remove a JPEG file and a long-unmaintained support file for an editor. These are the only binary files in the standard distribution.
* Script to tag the tree for releaseH. Peter Anvin2007-10-311-0/+15
| | | | | | Script to tag the tree for release. Once this tag is pushed (git push; git push --tags) the build robot will pick it up and produce the builds.
* Scripts to remove stealth whitespaceH. Peter Anvin2007-10-192-0/+434
| | | | | Scripts to remove stealth whitespace from files and patches, respectively.
* Formatting: kill off "stealth whitespace"H. Peter Anvin2007-10-191-2/+0
| | | | | "Stealth whitespace" makes it harder to read diffs, and just generally cause unwanted weirdness. Do a source-wide pass to get rid of it.
* .gitignore file doesn't need to be in the release fileH. Peter Anvin2007-10-131-1/+1
|
* Reformat insns.dat to uniform column widthH. Peter Anvin2007-09-221-0/+33
| | | | Add a script to reformat insns.dat to uniform width, and use it.
* release script: handle stricter CLI parsing for "git tag"H. Peter Anvin2007-09-221-1/+1
| | | | | | The current version of "git tag" seems to demand that the options precede arguments; the name is an argument, but the -m option and its parameter is an option.
* modified: misc/release to fix bug in removing .gitCharles Crayne2007-09-201-1/+1
|
* release script: fix final cleanupH. Peter Anvin2007-09-131-1/+1
| | | | Make sure we're in the right place for the final cleanup.
* Modify release script for a git-centric worldH. Peter Anvin2007-09-131-85/+47
| | | | | | Change the release script to use git rather than CVS. THE BEHAVIOR OF THE SCRIPT HAS CHANGED -- make sure to look at it before use.
* Remove $Id$ tags (useless with git)H. Peter Anvin2007-09-121-1/+0
| | | | Remove CVS $Id$ tags, since git doesn't use them.
* update cvs server name in misc/release scriptnasm-0.99.01Frank Kotler2007-05-301-3/+3
|