Thread overview | |||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
June 21, 2013 SIMD on Windows | ||||
---|---|---|---|---|
| ||||
In D 2.063.2 on Windows 7: Error: SIMD vector types not supported on this platform Should I file a bug for this or is this currently on a roadmap? I'm SUPER excited to get into SIMD development with D. :D |
June 21, 2013 Re: SIMD on Windows | ||||
---|---|---|---|---|
| ||||
Posted in reply to Jonathan Dunlap | Btw, is it possible to check for SIMD support as a compilation condition? Ideally I'm looking to 'polyfill' SIMD if it's not supported on the platform. |
June 21, 2013 Re: SIMD on Windows | ||||
---|---|---|---|---|
| ||||
Posted in reply to Jonathan Dunlap | On 6/21/2013 3:43 PM, Jonathan Dunlap wrote:
> In D 2.063.2 on Windows 7:
> Error: SIMD vector types not supported on this platform
>
> Should I file a bug for this or is this currently on a roadmap? I'm SUPER
> excited to get into SIMD development with D. :D
It's not a bug, and there are currently no plans to support SIMD on Win32. However, it is supported for Win64 compilations.
You can, however, file an enhancement request on Bugzilla for it.
|
June 22, 2013 Re: SIMD on Windows | ||||
---|---|---|---|---|
| ||||
Posted in reply to Walter Bright Attachments:
| On 22 June 2013 09:04, Walter Bright <newshound2@digitalmars.com> wrote:
> On 6/21/2013 3:43 PM, Jonathan Dunlap wrote:
>
>> In D 2.063.2 on Windows 7:
>> Error: SIMD vector types not supported on this platform
>>
>> Should I file a bug for this or is this currently on a roadmap? I'm SUPER excited to get into SIMD development with D. :D
>>
>
> It's not a bug, and there are currently no plans to support SIMD on Win32. However, it is supported for Win64 compilations.
>
> You can, however, file an enhancement request on Bugzilla for it.
>
It would certainly be nice in Win32, but I tend to think Win32 COFF should be much higher priority.
And to OP: There's a version(SIMD) you can test.
|
June 22, 2013 Re: SIMD on Windows | ||||
---|---|---|---|---|
| ||||
Posted in reply to Walter Bright | Walter Bright:
> It's not a bug, and there are currently no plans to support SIMD on Win32. However, it is supported for Win64 compilations.
LDC2 supports SIMD on Win32.
Bye,
bearophile
|
June 22, 2013 Re: SIMD on Windows | ||||
---|---|---|---|---|
| ||||
Posted in reply to Walter Bright | On Friday, 21 June 2013 at 23:04:10 UTC, Walter Bright wrote:
> On 6/21/2013 3:43 PM, Jonathan Dunlap wrote:
>> In D 2.063.2 on Windows 7:
>> Error: SIMD vector types not supported on this platform
>>
>> Should I file a bug for this or is this currently on a roadmap? I'm SUPER
>> excited to get into SIMD development with D. :D
>
> It's not a bug, and there are currently no plans to support SIMD on Win32. However, it is supported for Win64 compilations.
>
> You can, however, file an enhancement request on Bugzilla for it.
How do you compile for Win64? The only package for Windows I see is i386 which doesn't seem to support Win64 offhand... does the compiler require a flag?
(yes, I'm on a Win64 OS/system)
|
June 22, 2013 Re: SIMD on Windows | ||||
---|---|---|---|---|
| ||||
Posted in reply to Jonathan Dunlap | On Saturday, 22 June 2013 at 04:28:57 UTC, Jonathan Dunlap wrote:
> On Friday, 21 June 2013 at 23:04:10 UTC, Walter Bright wrote:
>> On 6/21/2013 3:43 PM, Jonathan Dunlap wrote:
>>> In D 2.063.2 on Windows 7:
>>> Error: SIMD vector types not supported on this platform
>>>
>>> Should I file a bug for this or is this currently on a roadmap? I'm SUPER
>>> excited to get into SIMD development with D. :D
>>
>> It's not a bug, and there are currently no plans to support SIMD on Win32. However, it is supported for Win64 compilations.
>>
>> You can, however, file an enhancement request on Bugzilla for it.
>
> How do you compile for Win64? The only package for Windows I see is i386 which doesn't seem to support Win64 offhand... does the compiler require a flag?
>
> (yes, I'm on a Win64 OS/system)
The i386 DMD can produce Win64 COFF object files which can then be linked by the free MSVC toolchain. Basically you just need to install that toolchain and DMD -m64 should just work in my experience. Someone probably has a link handy for the MSVC toolchain. I'm not sure because I have Visual Studio installed for work so I've always already got it installed.
|
June 22, 2013 Re: SIMD on Windows | ||||
---|---|---|---|---|
| ||||
Posted in reply to Jonathan Dunlap | If just installing VC++ doesn't work... http://forum.dlang.org/post/mailman.2800.1355837582.5162.digitalmars-d@puremagic.com On Saturday, 22 June 2013 at 04:28:57 UTC, Jonathan Dunlap wrote: > On Friday, 21 June 2013 at 23:04:10 UTC, Walter Bright wrote: >> On 6/21/2013 3:43 PM, Jonathan Dunlap wrote: >>> In D 2.063.2 on Windows 7: >>> Error: SIMD vector types not supported on this platform >>> >>> Should I file a bug for this or is this currently on a roadmap? I'm SUPER >>> excited to get into SIMD development with D. :D >> >> It's not a bug, and there are currently no plans to support SIMD on Win32. However, it is supported for Win64 compilations. >> >> You can, however, file an enhancement request on Bugzilla for it. > > How do you compile for Win64? The only package for Windows I see is i386 which doesn't seem to support Win64 offhand... does the compiler require a flag? > > (yes, I'm on a Win64 OS/system) |
June 22, 2013 Re: SIMD on Windows | ||||
---|---|---|---|---|
| ||||
Posted in reply to Geancarlo Rocha | Alright, I installed VC2010 (with x64 libs) and added the -m64 option to the compiler. Sadly the compiler dies with the below message. Should I file a bug or did I miss something? ----- Building: Easy (Debug) Performing main compilation... Current dictionary: C:\Users\dunlap\Documents\GitHub\CodeEval\Dlang\ C:\D\dmd2\windows\bin\dmd.exe -debug -gc "main.d" "SIMDTests.d" "-IC:\D\dmd2\src\druntime\src" "-IC:\D\dmd2\src\phobos" "-odobj\Debug" "-ofC:\Users\dunlap\Documents\GitHub\CodeEval\Dlang\bin\Debug\SIMDTests.exe" -m64 Internal error: ..\ztc\cgcv.c 2162 Exit code 1 Build complete -- 1 error, 0 warnings |
June 22, 2013 Re: SIMD on Windows | ||||
---|---|---|---|---|
| ||||
Posted in reply to Jonathan Dunlap | Also tried VC2012 Express (with x64 libs)... received the same compiler error. |
Copyright © 1999-2021 by the D Language Foundation