Blender Git Commit Log

Git Commits -> Revision cd6129d

Revision cd6129d by Sergey Sharybin (master)
October 6, 2014, 10:36 (GMT)
Cycles: Workaround dead-slow expf() on 64bit linux

Single precision exponent on 64bit linux tends to be order of magnitude slower
than double precision version even with single<->double precision conversion.

Some feedback in the mailing lists also suggests that logf() is also slow, but
this i didn't confirm here in the studio yet.

Depending on the shader setup it gives ~3% with the secret agent shot and up to
around 15% with the bmw scene here.

Commit Details:

Full Hash: cd6129d1ff6142c153a99917aa794b668e3b7dd2
Parent Commit: 1f1dcdf
Lines Changed: +12, -0

2 Modified Paths:

/intern/cycles/device/device_cpu.cpp (+5, -0) (Diff)
/intern/cycles/kernel/kernel_compat_cpu.h (+7, -0) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021