Am 04.05.2012 21:29, schrieb Florian Klämpfl:
Am 03.05.2012 22:01, schrieb Torsten:
Am 03.05.2012 18:24, schrieb Florian Klämpfl:
Am 03.05.2012 10:49, schrieb fck...@freenet.de:
Hi,
my Intel/AMD assembler AVX 1 support is ready for testing.
svn checkout http://svn.freepascal.org/svn/fpc/branches/tg74/avx ...
build compiler: ./compiler/make cycle
I have testing under Linux (32/64) with internal assembler writer and
external assembler writer "gas"
Do you have any test files?
_______________________________________________
fpc-devel maillist - fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel
Hi Florian,
i have 5 GByte testdata (64-bit). All opcode with all memory and
register operands.
Did you use some generator which you can provide so other people could
generate the same testdate if needed?
Yes, i can, but i need a little bit time for this.
VADDPD XMM0, XMM0, XMM0
VADDPD XMM0, XMM0, XMM1
...
VADDPD XMM0, XMM0, [RAX + RAX]
VADDPD XMM0, XMM0, [RAX + RAX * 2]
VADDPD XMM0, XMM0, [RAX + RAX * 4]
VADDPD XMM0, XMM0, [RAX + RAX * 8]
VADDPD XMM0, XMM0, [RAX + RAX * 2 + 16]
VADDPD XMM0, XMM0, [RAX + RAX * 4 + 32]
VADDPD XMM0, XMM0, [RAX + RAX * 8 + 48]
...
VADDPD YMM15, YMM15, [R15 + R15 * 8 + 48]
= 44 MB filesize
I have also build nasm assembler -file to compile with nasm and than i
compare the binary output with a little tool (also compare fpc internal
assembler result with the result of external assembler "gas").
Can you generate a smaller test selecting random instructions from this
big test file (several 10k) so we can add it to the testsuite? See
http://svn.freepascal.org/svn/fpc/trunk/tests/test/tasm2.pp how correct
assembling can be automatically tests (the byte array is a dump of the
file assembled by gas/nasm?)
OK.
_______________________________________________
fpc-devel maillist - fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel
Torsten
_______________________________________________
fpc-devel maillist - fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel