Re: [fpc-devel] implementation AVX for Intel/AMD Prozessors

2011-09-19 Thread Daniël Mantione
Op Sun, 18 Sep 2011, schreef Torsten: I do not know exactly which functions need to be changed. I'm hoping for tips. You will have to be a bit exploring here; AVX is a major upgrade to the x86 instruction set, and there will likely not be a few routines that need to be changed. First

[fpc-devel] implementation AVX for Intel/AMD Prozessors

2011-09-18 Thread Torsten
Hi, im starting with implementation of AVX (Intel/AMD) in fpc-assemblercode. I use in first step a external assembler (linux as). In this case, it is easy to use XMM-Register (max. 3 parameter) (only change the file x86ins.dat, examble: [VMOVDQA] (Ch All, Ch None, Ch None) xmmreg, xmmrm

Re: [fpc-devel] implementation AVX for Intel/AMD Prozessors

2011-09-18 Thread Florian Klämpfl
Am 18.09.2011 10:54, schrieb Torsten: Hi, im starting with implementation of AVX (Intel/AMD) in fpc-assemblercode. I use in first step a external assembler (linux as). In this case, it is easy to use XMM-Register (max. 3 parameter) (only change the file x86ins.dat, examble: [VMOVDQA]

Re: [fpc-devel] implementation AVX for Intel/AMD Prozessors

2011-09-18 Thread Daniël Mantione
Op Sun, 18 Sep 2011, schreef Florian Klämpfl: I'am not sure if the ymm registers should be an own register class. After all, they are a superset of xmm Exactly. Since if xmm0 is allocated, ymm0 is allocated too; the register allocator should treat them as a single register. xmm0 and ymm0

Re: [fpc-devel] implementation AVX for Intel/AMD Prozessors

2011-09-18 Thread Torsten
Am 18.09.2011 11:02, schrieb Florian Klämpfl: Am 18.09.2011 10:54, schrieb Torsten: Hi, im starting with implementation of AVX (Intel/AMD) in fpc-assemblercode. I use in first step a external assembler (linux as). In this case, it is easy to use XMM-Register (max. 3 parameter) (only change