From 6653b601ef32435449c1d30a7717b68c86a30a7d Mon Sep 17 00:00:00 2001 From: James Zern Date: Thu, 17 Apr 2014 23:35:36 -0700 Subject: [PATCH] enc_mips32: fix unused symbol warning in debug move kC1 / kC2 under __OPTIMIZE__ missed in: 8dec120 enc_mips32: disable ITransform(One) in debug builds Change-Id: Ic9a12e6d73090c8c06b0e7a4bc56dd9c76b8e596 --- src/dsp/enc_mips32.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/dsp/enc_mips32.c b/src/dsp/enc_mips32.c index 5581bcb2..78a5da5c 100644 --- a/src/dsp/enc_mips32.c +++ b/src/dsp/enc_mips32.c @@ -20,14 +20,14 @@ #include "../enc/vp8enci.h" #include "../enc/cost.h" -static const int kC1 = 20091 + (1 << 16); -static const int kC2 = 35468; - // TODO(djordje): this fails in optimized builds: // error: can't find a register in class 'GR_REGS' while reloading 'asm' // error: 'asm' operand has impossible constraints #ifdef __OPTIMIZE__ +static const int kC1 = 20091 + (1 << 16); +static const int kC2 = 35468; + // macro for one vertical pass in ITransformOne // MUL macro inlined // temp0..temp15 holds tmp[0]..tmp[15]