Cycles: Fix detection of CPU brand string on 32 bit platforms
authorSergey Sharybin <sergey.vfx@gmail.com>
Thu, 30 Aug 2018 10:50:36 +0000 (12:50 +0200)
committerSergey Sharybin <sergey.vfx@gmail.com>
Thu, 30 Aug 2018 10:52:27 +0000 (12:52 +0200)
commit8c3d2e549cff4d9c369c68936e0fce6b7ddc495f
tree789c6fbc6ffd099051b4d8d8ccec9483de827ed8
parent49041e5611bd3974976c9cceec8d2f81cd5a1d9b
Cycles: Fix detection of CPU brand string on 32 bit platforms

The assembler template was backing up and restoring ebx, which is
fair enough. However, this did not prevent compiler for putting
result variables to ebx. This was causing data corruption.

In order to prevent this easiest solution is to list ebx in clobbers
for the assembly.
intern/cycles/util/util_system.cpp