gnulib: import count-one-bits module and use it
[deliverable/binutils-gdb.git] / gdb / arch / arm.c
index 60d9f85889db9a37c5b7587daa2c5aac58e06005..faa2b4fbd4b21588d46c5515b96a838d9ad94553 100644 (file)
@@ -41,17 +41,6 @@ thumb_insn_size (unsigned short inst1)
 
 /* See arm.h.  */
 
-int
-bitcount (unsigned long val)
-{
-  int nbits;
-  for (nbits = 0; val != 0; nbits++)
-    val &= val - 1;            /* Delete rightmost 1-bit in val.  */
-  return nbits;
-}
-
-/* See arm.h.  */
-
 int
 condition_true (unsigned long cond, unsigned long status_reg)
 {
This page took 0.023921 seconds and 4 git commands to generate.