NO

Author Topic: Illegal instruction in double to unsigned conversion  (Read 920 times)

Offline frankie

  • Global Moderator
  • Member
  • *****
  • Posts: 1686
Re: Illegal instruction in double to unsigned conversion
« Reply #15 on: December 09, 2018, 12:31:13 pm »
Ok to me this is a compiler bug: mishandling of architecture code generation;)
The help state that the default should be streaming SIMD Extensions 2, but it doesn't seem to be the case.
« Last Edit: December 09, 2018, 12:35:55 pm by frankie »

Offline Pelle

  • Administrator
  • Member
  • *****
  • Posts: 1973
    • http://www.smorgasbordet.com
Re: Illegal instruction in double to unsigned conversion
« Reply #16 on: December 12, 2018, 04:50:32 pm »
Confirmed. Cut & paste error with code templates in X64 code generator.

Conversion float -> unsigned long long int and double (=long double) -> unsigned long long int will use AVX instruction in Microsoft mode with SSE architecture (and RIP-relative addressing, but this is non-optional right now).

Will be fixed in some future version.
/Pelle

Offline jullien

  • Member
  • *
  • Posts: 8
Re: Illegal instruction in double to unsigned conversion
« Reply #17 on: December 13, 2018, 06:25:29 pm »
Thanks Pelle,

I switch back to 8.0 until you have time to make a new version.

C.