Implement exp2() and log2(), and make ir_unop_exp and ir_unop_log be base e.
authorEric Anholt <eric@anholt.net>
Sat, 27 Mar 2010 20:56:35 +0000 (13:56 -0700)
committerIan Romanick <ian.d.romanick@intel.com>
Mon, 29 Mar 2010 19:48:45 +0000 (12:48 -0700)
commit01665262e50162e858c45f92a8a7e12b953e56ad
treec07b520eed0f37d6d9135e54b68e5634a6f07956
parent53afc3609db0afffacb1c40975ec7d87b9e3c7cd
Implement exp2() and log2(), and make ir_unop_exp and ir_unop_log be base e.

Making the base e functions IR operations is not a clear win.  i965
doesn't support it, it doesn't look like r600 supports it, but r500
does. It should be easily supportable as a lowering pass, though.
builtin_function.cpp
ir.h
ir_print_visitor.cpp