diff options
Diffstat (limited to 'libpixelflinger/codeflinger/load_store.cpp')
-rw-r--r-- | libpixelflinger/codeflinger/load_store.cpp | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/libpixelflinger/codeflinger/load_store.cpp b/libpixelflinger/codeflinger/load_store.cpp index 0a46eaa3c..e5a1ae010 100644 --- a/libpixelflinger/codeflinger/load_store.cpp +++ b/libpixelflinger/codeflinger/load_store.cpp @@ -20,10 +20,6 @@ #include <cutils/log.h> #include "GGLAssembler.h" -#ifdef __ARM_ARCH__ -#include <machine/cpu-features.h> -#endif - namespace android { // ---------------------------------------------------------------------------- @@ -117,20 +113,6 @@ void GGLAssembler::extract(integer_t& d, int s, int h, int l, int bits) #endif assert(h); -#if __ARM_ARCH__ >= 7 - const int mask = (1<<maskLen)-1; - if ((h == bits) && !l && (s != d.reg)) { - MOV(AL, 0, d.reg, s); // component = packed; - } else if ((h == bits) && l) { - MOV(AL, 0, d.reg, reg_imm(s, LSR, l)); // component = packed >> l; - } else if (!l && isValidImmediate(mask)) { - AND(AL, 0, d.reg, s, imm(mask)); // component = packed & mask; - } else if (!l && isValidImmediate(~mask)) { - BIC(AL, 0, d.reg, s, imm(~mask)); // component = packed & mask; - } else { - UBFX(AL, d.reg, s, l, maskLen); // component = (packed & mask) >> l; - } -#else if (h != bits) { const int mask = ((1<<maskLen)-1) << l; if (isValidImmediate(mask)) { @@ -153,7 +135,6 @@ void GGLAssembler::extract(integer_t& d, int s, int h, int l, int bits) if (s != d.reg) { MOV(AL, 0, d.reg, s); } -#endif d.s = maskLen; } |