aboutsummaryrefslogtreecommitdiffstats
path: root/research/experiments/044-specs/probes-027/p2-bits.aup
diff options
context:
space:
mode:
Diffstat (limited to 'research/experiments/044-specs/probes-027/p2-bits.aup')
-rw-r--r--research/experiments/044-specs/probes-027/p2-bits.aup5
1 files changed, 5 insertions, 0 deletions
diff --git a/research/experiments/044-specs/probes-027/p2-bits.aup b/research/experiments/044-specs/probes-027/p2-bits.aup
new file mode 100644
index 0000000..1e3fdca
--- /dev/null
+++ b/research/experiments/044-specs/probes-027/p2-bits.aup
@@ -0,0 +1,5 @@
+state h: i64
+input word = message { w: i64 }
+on word {
+ h = (h ^ word.w) << 3
+}