aboutsummaryrefslogtreecommitdiff
path: root/riscv/insns/clo8.h
diff options
context:
space:
mode:
Diffstat (limited to 'riscv/insns/clo8.h')
-rw-r--r--riscv/insns/clo8.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/riscv/insns/clo8.h b/riscv/insns/clo8.h
deleted file mode 100644
index 2581ade..0000000
--- a/riscv/insns/clo8.h
+++ /dev/null
@@ -1,10 +0,0 @@
-P_ONE_LOOP(8, {
- pd = 0;
- ps1 = ~ps1;
- if (!ps1) pd = 8;
- else {
- if ((ps1 & 0xF0) == 0) { pd += 4; ps1 <<= 4; }
- if ((ps1 & 0xC0) == 0) { pd += 2; ps1 <<= 2; }
- if ((ps1 & 0x80) == 0) { pd += 1; }
- }
-})