about summary refs log tree commit diff
path: root/sysdeps/riscv/string-fzi.h
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/riscv/string-fzi.h')
-rw-r--r--sysdeps/riscv/string-fzi.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/riscv/string-fzi.h b/sysdeps/riscv/string-fzi.h
index 8f56c378ff..45d6367a10 100644
--- a/sysdeps/riscv/string-fzi.h
+++ b/sysdeps/riscv/string-fzi.h
@@ -19,7 +19,7 @@
 #ifndef _STRING_RISCV_FZI_H
 #define _STRING_RISCV_FZI_H 1
 
-#ifdef __riscv_zbb
+#if defined __riscv_zbb || defined __riscv_xtheadbb
 # include <sysdeps/generic/string-fzi.h>
 #else
 /* Without bitmap clz/ctz extensions, it is faster to direct test the bits