aboutsummaryrefslogtreecommitdiff
path: root/riscv/insns/clo16.h
diff options
context:
space:
mode:
Diffstat (limited to 'riscv/insns/clo16.h')
-rw-r--r--riscv/insns/clo16.h11
1 files changed, 0 insertions, 11 deletions
diff --git a/riscv/insns/clo16.h b/riscv/insns/clo16.h
deleted file mode 100644
index 9da6599..0000000
--- a/riscv/insns/clo16.h
+++ /dev/null
@@ -1,11 +0,0 @@
-P_ONE_LOOP(16, {
- pd = 0;
- ps1 = ~ps1;
- if (!ps1) pd = 16;
- else {
- if ((ps1 & 0xFF00) == 0) { pd += 8; ps1 <<= 8; }
- if ((ps1 & 0xF000) == 0) { pd += 4; ps1 <<= 4; }
- if ((ps1 & 0xC000) == 0) { pd += 2; ps1 <<= 2; }
- if ((ps1 & 0x8000) == 0) { pd += 1; }
- }
-})