diff options
author | Brian Paul <[email protected]> | 2008-08-22 15:25:21 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2008-08-22 15:25:21 -0600 |
commit | 1a46dcc8a927dfb38ca1381e7b3dafb789f8257c (patch) | |
tree | 2f8fdae0e1e2858b73ca012f485777362792778e /src/gallium/auxiliary | |
parent | 1c2ff4d9e65563c071747a9c3bd907bd24706da0 (diff) |
gallium: replace LOG2() macro with util_fast_log2() inline func
Diffstat (limited to 'src/gallium/auxiliary')
-rw-r--r-- | src/gallium/auxiliary/tgsi/tgsi_sse2.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gallium/auxiliary/tgsi/tgsi_sse2.c b/src/gallium/auxiliary/tgsi/tgsi_sse2.c index e3906070237..00ed4da4507 100644 --- a/src/gallium/auxiliary/tgsi/tgsi_sse2.c +++ b/src/gallium/auxiliary/tgsi/tgsi_sse2.c @@ -713,10 +713,10 @@ lg24f( { const unsigned X = 0; - store[X + 0] = LOG2( store[X + 0] ); - store[X + 1] = LOG2( store[X + 1] ); - store[X + 2] = LOG2( store[X + 2] ); - store[X + 3] = LOG2( store[X + 3] ); + store[X + 0] = util_fast_log2( store[X + 0] ); + store[X + 1] = util_fast_log2( store[X + 1] ); + store[X + 2] = util_fast_log2( store[X + 2] ); + store[X + 3] = util_fast_log2( store[X + 3] ); } static void |