diff options
author | Eric Anholt <eric@anholt.net> | 2010-03-27 13:56:35 -0700 |
---|---|---|
committer | Ian Romanick <ian.d.romanick@intel.com> | 2010-03-29 12:48:45 -0700 |
commit | 01665262e50162e858c45f92a8a7e12b953e56ad (patch) | |
tree | c07b520eed0f37d6d9135e54b68e5634a6f07956 /ir.h | |
parent | 53afc3609db0afffacb1c40975ec7d87b9e3c7cd (diff) |
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.
Diffstat (limited to 'ir.h')
-rw-r--r-- | ir.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -228,6 +228,8 @@ enum ir_expression_operation { ir_unop_sqrt, ir_unop_exp, ir_unop_log, + ir_unop_exp2, + ir_unop_log2, ir_unop_f2i, /**< Float-to-integer conversion. */ ir_unop_i2f, /**< Integer-to-float conversion. */ ir_unop_u2f, /**< Unsigned-to-float conversion. */ |