aboutsummaryrefslogtreecommitdiff
path: root/riscv/insns/clz8.h
diff options
context:
space:
mode:
Diffstat (limited to 'riscv/insns/clz8.h')
-rw-r--r--riscv/insns/clz8.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/riscv/insns/clz8.h b/riscv/insns/clz8.h
deleted file mode 100644
index 78ff6b7..0000000
--- a/riscv/insns/clz8.h
+++ /dev/null
@@ -1,9 +0,0 @@
-P_ONE_LOOP(8, {
- pd = 0;
- if (ps1 == 0) 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; }
- }
-})