www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - How hard would it be to get DMD to generate SIMD code for all x86

reply solidstate1991 <laszloszeremi outlook.com> writes:
It would be also great if 32 bit and 64 bit long vector loading 
could be supported, so I don't have to write separate functions 
for that. Had to delete a lot of code I wrote in Assembly after I 
made a big mistake thanks to its much poorer readability compared 
to much more modern languages.

If it's not a hard task, I might do it by myself.
Feb 07 2018
parent Stefan Koch <uplink.coder googlemail.com> writes:
On Wednesday, 7 February 2018 at 16:22:13 UTC, solidstate1991 
wrote:
 It would be also great if 32 bit and 64 bit long vector loading 
 could be supported, so I don't have to write separate functions 
 for that. Had to delete a lot of code I wrote in Assembly after 
 I made a big mistake thanks to its much poorer readability 
 compared to much more modern languages.

 If it's not a hard task, I might do it by myself.
enabling it should not be too hard actually. Debugging it is another matter.
Feb 07 2018