aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMo DeJong <mo@modejong.com>2016-10-27 08:21:12 -0700
committerEugene Kliuchnikov <eustas@google.com>2016-10-27 17:21:12 +0200
commit3b9d4a227d12fbb7591a0cfc26944012173ab0bc (patch)
tree14873ba271a617969624c453841ff10a0d52cc0d
parent4e157c409afb6575f6bf72c4c1d45aab4fe82b3a (diff)
downloadbrotli-3b9d4a227d12fbb7591a0cfc26944012173ab0bc.zip
brotli-3b9d4a227d12fbb7591a0cfc26944012173ab0bc.tar.gz
brotli-3b9d4a227d12fbb7591a0cfc26944012173ab0bc.tar.bz2
enable rbit instruction for arm64 (#459)
-rw-r--r--dec/port.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/dec/port.h b/dec/port.h
index f6badf3..48456a1 100644
--- a/dec/port.h
+++ b/dec/port.h
@@ -141,7 +141,7 @@ static BROTLI_INLINE void BrotliDump(const char* f, int l, const char* fn) {
#if (BROTLI_MODERN_COMPILER || defined(__llvm__)) && \
!defined(BROTLI_BUILD_NO_RBIT)
-#if defined(BROTLI_TARGET_ARMV7)
+#if defined(BROTLI_TARGET_ARMV7) || defined(BROTLI_TARGET_ARMV8)
/* TODO: detect ARMv6T2 and enable this code for it. */
static BROTLI_INLINE reg_t BrotliRBit(reg_t input) {
reg_t output;