aboutsummaryrefslogtreecommitdiff
path: root/c/common
diff options
context:
space:
mode:
authorEvgenii Kliuchnikov <eustas@google.com>2023-03-01 16:51:03 +0000
committerEvgenii Kliuchnikov <eustas.ru@gmail.com>2023-07-04 07:53:20 +0000
commit6db17c87f5b7b31c5fba5ef5be0e00edb0c97147 (patch)
treeeb42eb551fb3ad17c9951cc356afd127294b83cf /c/common
parent6f7f5a163d76d05abe0708cb18bfb24a873af72e (diff)
downloadbrotli-6db17c87f5b7b31c5fba5ef5be0e00edb0c97147.zip
brotli-6db17c87f5b7b31c5fba5ef5be0e00edb0c97147.tar.gz
brotli-6db17c87f5b7b31c5fba5ef5be0e00edb0c97147.tar.bz2
0.4-1.5% decoder speedup
PiperOrigin-RevId: 513248503
Diffstat (limited to 'c/common')
-rw-r--r--c/common/platform.h9
1 files changed, 2 insertions, 7 deletions
diff --git a/c/common/platform.h b/c/common/platform.h
index d0e3186..4186a8e 100644
--- a/c/common/platform.h
+++ b/c/common/platform.h
@@ -208,13 +208,8 @@ OR:
#define BROTLI_TARGET_RISCV64
#endif
-#if defined(__loongarch_lp64)
-#define BROTLI_TARGET_LOONGARCH64
-#endif
-
#if defined(BROTLI_TARGET_X64) || defined(BROTLI_TARGET_ARMV8_64) || \
- defined(BROTLI_TARGET_POWERPC64) || defined(BROTLI_TARGET_RISCV64) || \
- defined(BROTLI_TARGET_LOONGARCH64)
+ defined(BROTLI_TARGET_POWERPC64) || defined(BROTLI_TARGET_RISCV64)
#define BROTLI_TARGET_64_BITS 1
#else
#define BROTLI_TARGET_64_BITS 0
@@ -273,7 +268,7 @@ OR:
#define BROTLI_UNALIGNED_READ_FAST (!!0)
#elif defined(BROTLI_TARGET_X86) || defined(BROTLI_TARGET_X64) || \
defined(BROTLI_TARGET_ARMV7) || defined(BROTLI_TARGET_ARMV8_ANY) || \
- defined(BROTLI_TARGET_RISCV64) || defined(BROTLI_TARGET_LOONGARCH64)
+ defined(BROTLI_TARGET_RISCV64)
/* These targets are known to generate efficient code for unaligned reads
* (e.g. a single instruction, not multiple 1-byte loads, shifted and or'd
* together). */