herumi / fmath

fast log and exp functions for x86/x64 SSE

Home Page:http://herumi.in.coocan.jp/soft/fmath.html

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Compiling without xbyak

tmcclintock opened this issue · comments

I had trouble compiling the code because I do not have xbyak installed. Even though the README states that this is OK, headers for xbyak are imported on line 14 of bench.cpp and line 183 of fastexp.cpp. Both of these threw errors for me. I was able to compile fmath by not compiling bench.cpp at all, and then commenting out every line that involved xbyak and it's objects (e.g. every line that involved the clk object).

So either the README should be updated to reflect a non-optional dependence on xbyak, or the use of xbyak should be made optional. Thanks!

Thank you for your advice. I removed dependency to xbyak.

Thanks! It works great.