Re: Which XMM are safe to erase in asm{} blocks?

2015-07-08 Thread ponce via Digitalmars-d-learn
On Wednesday, 8 July 2015 at 05:22:34 UTC, ketmar wrote: On Tue, 07 Jul 2015 12:33:38 +, ponce wrote: Is this secret knowledge? yes. ;-) i believe that there are not so many people doing asm in D, and many of them using write and forget technique (i.e. write and don't touch if it

Re: Which XMM are safe to erase in asm{} blocks?

2015-07-07 Thread ponce via Digitalmars-d-learn
On Monday, 6 July 2015 at 08:54:48 UTC, ponce wrote: What registers can I safely modify in asm {} blocks? Especially XMM registers. I can't find the information on http://dlang.org/iasm.html Note that this question isn't for function-call boundaries but asm{} boundaries since I do not use

Re: Which XMM are safe to erase in asm{} blocks?

2015-07-07 Thread ketmar via Digitalmars-d-learn
On Tue, 07 Jul 2015 12:33:38 +, ponce wrote: Is this secret knowledge? yes. ;-) i believe that there are not so many people doing asm in D, and many of them using write and forget technique (i.e. write and don't touch if it works). so you need someone with good knowledge of backend to

Which XMM are safe to erase in asm{} blocks?

2015-07-06 Thread ponce via Digitalmars-d-learn
What registers can I safely modify in asm {} blocks? Especially XMM registers. I can't find the information on http://dlang.org/iasm.html Note that this question isn't for function-call boundaries but asm{} boundaries since I do not use naked;