summaryrefslogtreecommitdiff
path: root/cpu_ref/rsCpuRuntimeMath.cpp
diff options
context:
space:
mode:
authorJason Sams <jsams@google.com>2012-12-12 15:25:24 -0800
committerJason Sams <jsams@google.com>2012-12-17 11:56:28 -0800
commit74121b55311b1a31ce41e6e2814ef5ad4ded1864 (patch)
tree64989fffd2dec5c4884a653c755c6eced630b496 /cpu_ref/rsCpuRuntimeMath.cpp
parent1a569768989f1dbb639a9323df90430f095e86e4 (diff)
downloadrs-74121b55311b1a31ce41e6e2814ef5ad4ded1864.tar.gz
Remove unused functions.
Change-Id: I962ea4327c11d10b35e93bb71a1367a7ee41464f
Diffstat (limited to 'cpu_ref/rsCpuRuntimeMath.cpp')
-rw-r--r--cpu_ref/rsCpuRuntimeMath.cpp27
1 files changed, 0 insertions, 27 deletions
diff --git a/cpu_ref/rsCpuRuntimeMath.cpp b/cpu_ref/rsCpuRuntimeMath.cpp
index cf2c8a41..c8c24dce 100644
--- a/cpu_ref/rsCpuRuntimeMath.cpp
+++ b/cpu_ref/rsCpuRuntimeMath.cpp
@@ -83,20 +83,6 @@ static int32_t SC_clz_i32(int32_t v) {return (int32_t)__builtin_clz((uint32_t)v)
static int16_t SC_clz_i16(int16_t v) {return (int16_t)__builtin_clz(v);}
static int8_t SC_clz_i8(int8_t v) {return (int8_t)__builtin_clz(v);}
-static uint32_t SC_max_u32(uint32_t v, uint32_t v2) {return rsMax(v, v2);}
-static uint16_t SC_max_u16(uint16_t v, uint16_t v2) {return rsMax(v, v2);}
-static uint8_t SC_max_u8(uint8_t v, uint8_t v2) {return rsMax(v, v2);}
-static int32_t SC_max_i32(int32_t v, int32_t v2) {return rsMax(v, v2);}
-static int16_t SC_max_i16(int16_t v, int16_t v2) {return rsMax(v, v2);}
-static int8_t SC_max_i8(int8_t v, int8_t v2) {return rsMax(v, v2);}
-
-static uint32_t SC_min_u32(uint32_t v, uint32_t v2) {return rsMin(v, v2);}
-static uint16_t SC_min_u16(uint16_t v, uint16_t v2) {return rsMin(v, v2);}
-static uint8_t SC_min_u8(uint8_t v, uint8_t v2) {return rsMin(v, v2);}
-static int32_t SC_min_i32(int32_t v, int32_t v2) {return rsMin(v, v2);}
-static int16_t SC_min_i16(int16_t v, int16_t v2) {return rsMin(v, v2);}
-static int8_t SC_min_i8(int8_t v, int8_t v2) {return rsMin(v, v2);}
-
//////////////////////////////////////////////////////////////////////////////
// Float util
//////////////////////////////////////////////////////////////////////////////
@@ -394,7 +380,6 @@ static RsdCpuReference::CpuSymbol gSyms[] = {
{ "_Z4exp2f", (void *)&exp2f, true },
{ "_Z5exp10f", (void *)&SC_exp10, true },
{ "_Z5expm1f", (void *)&expm1f, true },
- { "_Z4fabsf", (void *)&fabsf, true },
{ "_Z4fdimff", (void *)&fdimf, true },
{ "_Z5floorf", (void *)&floorf, true },
{ "_Z3fmafff", (void *)&fmaf, true },
@@ -441,18 +426,6 @@ static RsdCpuReference::CpuSymbol gSyms[] = {
{ "_Z3clzi", (void *)&SC_clz_i32, true },
{ "_Z3clzs", (void *)&SC_clz_i16, true },
{ "_Z3clzc", (void *)&SC_clz_i8, true },
- { "_Z3maxjj", (void *)&SC_max_u32, true },
- { "_Z3maxtt", (void *)&SC_max_u16, true },
- { "_Z3maxhh", (void *)&SC_max_u8, true },
- { "_Z3maxii", (void *)&SC_max_i32, true },
- { "_Z3maxss", (void *)&SC_max_i16, true },
- { "_Z3maxcc", (void *)&SC_max_i8, true },
- { "_Z3minjj", (void *)&SC_min_u32, true },
- { "_Z3mintt", (void *)&SC_min_u16, true },
- { "_Z3minhh", (void *)&SC_min_u8, true },
- { "_Z3minii", (void *)&SC_min_i32, true },
- { "_Z3minss", (void *)&SC_min_i16, true },
- { "_Z3mincc", (void *)&SC_min_i8, true },
{ "_Z5clampfff", (void *)&SC_clamp_f32, true },
{ "_Z3maxff", (void *)&SC_max_f32, true },