Re: intel-intrinsics v1.0.0

2019-02-14 Thread Guillaume Piolat via Digitalmars-d-announce
On Thursday, 14 February 2019 at 22:28:46 UTC, H. S. Teoh wrote: trying to shoehorn everything into (new)CTFE. Couldn't help but find a similarity between http://www.dsource.org/projects/mathextra/browser/trunk/blade/BladeDemo.d and ispc

Re: intel-intrinsics v1.0.0

2019-02-14 Thread Ethan via Digitalmars-d-announce
On Thursday, 14 February 2019 at 21:45:57 UTC, Crayo List wrote: Please re-read my post carefully! Or - even better - take the hint that not every use of SIMD can be expressed in a high level manner.

Re: intel-intrinsics v1.0.0

2019-02-14 Thread H. S. Teoh via Digitalmars-d-announce
On Thu, Feb 14, 2019 at 10:15:19PM +, Guillaume Piolat via Digitalmars-d-announce wrote: [...] > I think ispc is interesting, and a very D-ish thing to have would be > an ispc-like compiler at CTFE that outputs LLVM IR (or assembly or > intel-intrinsics). That would break the language boundary

Re: intel-intrinsics v1.0.0

2019-02-14 Thread Guillaume Piolat via Digitalmars-d-announce
On Thursday, 14 February 2019 at 21:45:57 UTC, Crayo List wrote: On Thursday, 14 February 2019 at 16:13:21 UTC, Ethan wrote: On Wednesday, 13 February 2019 at 23:26:48 UTC, Crayo List wrote: And that's precisely why I posted here; for those people that have interest in vectorizing their code in

Re: intel-intrinsics v1.0.0

2019-02-14 Thread Crayo List via Digitalmars-d-announce
On Thursday, 14 February 2019 at 16:13:21 UTC, Ethan wrote: On Wednesday, 13 February 2019 at 23:26:48 UTC, Crayo List wrote: And that's precisely why I posted here; for those people that have interest in vectorizing their code in a portable way to be aware that there is another (arguably) bett

Re: intel-intrinsics v1.0.0

2019-02-14 Thread Ethan via Digitalmars-d-announce
On Wednesday, 13 February 2019 at 23:26:48 UTC, Crayo List wrote: And that's precisely why I posted here; for those people that have interest in vectorizing their code in a portable way to be aware that there is another (arguably) better way. All power to the people that have code that simple.

Re: intel-intrinsics v1.0.0

2019-02-14 Thread Guillaume Piolat via Digitalmars-d-announce
On Wednesday, 13 February 2019 at 23:26:48 UTC, Crayo List wrote: On Wednesday, 13 February 2019 at 19:55:05 UTC, Guillaume Piolat wrote: On Wednesday, 13 February 2019 at 04:57:29 UTC, Crayo List wrote: On Wednesday, 6 February 2019 at 01:05:29 UTC, Guillaume Piolat wrote: "intel-intrinsics" i

Re: intel-intrinsics v1.0.0

2019-02-14 Thread Simen Kjærås via Digitalmars-d-announce
On Wednesday, 13 February 2019 at 23:26:48 UTC, Crayo List wrote: On Wednesday, 13 February 2019 at 19:55:05 UTC, Guillaume Piolat wrote: On Wednesday, 13 February 2019 at 04:57:29 UTC, Crayo List wrote: However (for those who are unaware) there is an alternative way that is (arguably) better;

Re: intel-intrinsics v1.0.0

2019-02-13 Thread Crayo List via Digitalmars-d-announce
On Wednesday, 13 February 2019 at 19:55:05 UTC, Guillaume Piolat wrote: On Wednesday, 13 February 2019 at 04:57:29 UTC, Crayo List wrote: On Wednesday, 6 February 2019 at 01:05:29 UTC, Guillaume Piolat wrote: "intel-intrinsics" is a DUB package for people interested in x86 performance that want

Re: intel-intrinsics v1.0.0

2019-02-13 Thread Guillaume Piolat via Digitalmars-d-announce
On Wednesday, 13 February 2019 at 04:57:29 UTC, Crayo List wrote: On Wednesday, 6 February 2019 at 01:05:29 UTC, Guillaume Piolat wrote: "intel-intrinsics" is a DUB package for people interested in x86 performance that want neither to write assembly, nor a LDC-specific snippet... and still have

Re: intel-intrinsics v1.0.0

2019-02-12 Thread Crayo List via Digitalmars-d-announce
On Wednesday, 6 February 2019 at 01:05:29 UTC, Guillaume Piolat wrote: "intel-intrinsics" is a DUB package for people interested in x86 performance that want neither to write assembly, nor a LDC-specific snippet... and still have fastest possible code. [...] This is really cool and I appre

Re: intel-intrinsics v1.0.0

2019-02-08 Thread NaN via Digitalmars-d-announce
On Friday, 8 February 2019 at 12:39:22 UTC, Guillaume Piolat wrote: On Friday, 8 February 2019 at 12:22:14 UTC, NaN wrote: On Wednesday, 6 February 2019 at 01:05:29 UTC, Guillaume Piolat wrote: "intel-intrinsics" is a DUB package for people interested in x86 performance that want neither to wri

Re: intel-intrinsics v1.0.0

2019-02-08 Thread Guillaume Piolat via Digitalmars-d-announce
On Friday, 8 February 2019 at 12:22:14 UTC, NaN wrote: On Wednesday, 6 February 2019 at 01:05:29 UTC, Guillaume Piolat wrote: "intel-intrinsics" is a DUB package for people interested in x86 performance that want neither to write assembly, nor a LDC-specific snippet... and still have fastest po

Re: intel-intrinsics v1.0.0

2019-02-08 Thread NaN via Digitalmars-d-announce
On Wednesday, 6 February 2019 at 01:05:29 UTC, Guillaume Piolat wrote: "intel-intrinsics" is a DUB package for people interested in x86 performance that want neither to write assembly, nor a LDC-specific snippet... and still have fastest possible code. Available through DUB: http://code.dlang

Re: intel-intrinsics v1.0.0

2019-02-06 Thread Guillaume Piolat via Digitalmars-d-announce
On Wednesday, 6 February 2019 at 07:41:25 UTC, Simen Kjærås wrote: struct __m128 { float4 value; alias value this; void opAssign(__m128i rhs) { value = cast(float4)rhs.value; } } -- Simen The problem is that when you emulate core.simd (DMD 32-bit on Windows require

Re: intel-intrinsics v1.0.0

2019-02-05 Thread Simen Kjærås via Digitalmars-d-announce
On Wednesday, 6 February 2019 at 01:05:29 UTC, Guillaume Piolat wrote: "intel-intrinsics" is a DUB package for people interested in x86 performance that want neither to write assembly, nor a LDC-specific snippet... and still have fastest possible code. Neat. Question: On Github it's stated tha

intel-intrinsics v1.0.0

2019-02-05 Thread Guillaume Piolat via Digitalmars-d-announce
"intel-intrinsics" is a DUB package for people interested in x86 performance that want neither to write assembly, nor a LDC-specific snippet... and still have fastest possible code. Available through DUB: http://code.dlang.org/packages/intel-intrinsics *** Features of v1.1.0: - All intrins