NO

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

Offline frankie

  • Global Moderator
  • Member
  • *****
  • Posts: 2113
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 »
"It is better to be hated for what you are than to be loved for what you are not." - Andre Gide

Offline Pelle

  • Administrator
  • Member
  • *****
  • Posts: 2266
    • 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

jullien

  • Guest
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.