Chaos Corona for 3ds Max > [Max] Corona Goodies - User Contributions

Obsolete CPU detection

<< < (3/4) > >>

Rotem:

--- Quote from: borislemke on 2013-07-10, 15:52:00 ---I was wondering on how this tool actually work or what minimum hardware spec is needed to do so? I was just wondering how people could have "weaker" specs than my Ultrabook :)

--- End quote ---

It's not about power, it's about age. SSE4.1 instructions were introduced with the Penryn architecture (Core 2 Quad 9XXX series and up), not matter what frequency your CPU runs at.


@KeyMaster:
Are there any plans to make use of AVX (or AVX2 :)) instructions? I'd say anyone who cares about the performance of their renderer already owns AVX compliant hardware.

Ondra:

--- Quote from: Rotem on 2013-12-08, 15:31:38 ---@KeyMaster:
Are there any plans to make use of AVX (or AVX2 :)) instructions? I'd say anyone who cares about the performance of their renderer already owns AVX compliant hardware.

--- End quote ---

Not for few years, I do not want to keep 3 versions of the application, plus AVX is missing a lot of instructions, plus MSVS support is horrible (it even does not support the 32B align, how the fuck am I supposed to work with it?!), plus the speed improvement is negligible in my use-case (embree with AVX is slower than without)

Rotem:
I undestand about all the points, I just don't understand what you mean by MSVS does not support 32B align. Does _aligned_malloc and declspec(align(32)) not work? (I haven't tried working with AVX myself, just curious).

Ondra:
last time I tried I was unable to get the proper alignment. _aligned_malloc might work (or you can write your own), so with custom new operator heap allocations can be handled (but still this is unnecessary work), but I still had problems with stack variables. There is a compiler switch /Zp that de-facto specifies maximum allowed alignment (http://msdn.microsoft.com/en-us/library/xh3e3fd0.aspx), and 32 is invalid value in MSVC 2010.

Rotem:
Kinda silly of them, considering you can manually specify alignment to any power of 2 degree ( http://msdn.microsoft.com/en-us/library/83ythb65.aspx ).
Thanks for the clarification, good job on your renderer :)

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version