summaryrefslogtreecommitdiff
path: root/src/arch/arm/isa/util.isa
diff options
context:
space:
mode:
Diffstat (limited to 'src/arch/arm/isa/util.isa')
-rw-r--r--src/arch/arm/isa/util.isa11
1 files changed, 0 insertions, 11 deletions
diff --git a/src/arch/arm/isa/util.isa b/src/arch/arm/isa/util.isa
index 20eb80ecf..b36206d2a 100644
--- a/src/arch/arm/isa/util.isa
+++ b/src/arch/arm/isa/util.isa
@@ -46,17 +46,6 @@ output header {{
enum ArmShiftMode {
};
- inline uint32_t number_of_ones(int32_t val)
- {
- uint32_t ones = 0;
- for (int i = 0; i < 32; i++ )
- {
- if ( val & (1<<i) )
- ones++;
- }
- return ones;
- }
-
}};
output exec {{