[yasm-announce] ANNC: Yasm 0.7.1

Peter Johnson peter at tortall.net
Wed May 14 23:01:52 PDT 2008


On Wed, 14 May 2008, Dave wrote:
> I successfully built and installed yasm 7.1 on 64-bit FreeBSD 7.0 release.  I
> found no example test .asm files, so I created a test file consisting of the
> output of find . -name '*.asm' command in the yasm directory. I edited the file
> to have yasm -f elf64 -g dwarf2 ' in front of each filename and then ran it.
> Got a lot of errors, but am not sure what to make of them since my assembler
> knowledge is really rusty. I'm looking forward to playing with the AVX
> instruction capability.

There are numerous test .asm files in the various modules/.../tests/ 
directories, as you discovered.  Running "make test" will go through and 
assemble each one.  However, they're not really "example" files but rather 
tests of various yasm functionality.  Most of the non-objfmt test files 
are intended for binary output; the sh script in each test directory 
contain the command line options used for testing.  For the exhaustive AVX 
tests, see modules/arch/x86/tests/avx.asm, avxcc.asm, clmul.asm, and 
aes.asm.  Again, these are not "example" files but rather exhaustive tests 
of the AVX instructions.

Peter


More information about the yasm-devel mailing list