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