Skip to content

Commit 9558f61

Browse files
committed
ras: formatting
1 parent 1814df8 commit 9558f61

File tree

2 files changed

+25
-10
lines changed

2 files changed

+25
-10
lines changed

hub/london/constraints/instruction-handling/call/precompiles/generalities.lisp

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,27 +20,35 @@
2020
(scenario-shorthand---PRC---sum)))
2121

2222

23-
(defconstraint precompile-processing---admissible-failure-scenarios (:guard (precompile-processing---standard-hypothesis))
23+
(defconstraint precompile-processing---admissible-failure-scenarios
24+
(:guard (precompile-processing---standard-hypothesis))
25+
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
2426
(begin
2527
(if-not-zero (scenario-shorthand---PRC---may-only-fail-in-the-HUB) (vanishes! scenario/PRC_FAILURE_KNOWN_TO_RAM))
2628
(if-not-zero (scenario-shorthand---PRC---may-only-fail-in-the-RAM) (vanishes! scenario/PRC_FAILURE_KNOWN_TO_HUB))
2729
))
2830

29-
(defconstraint precompile-processing---setting-GAS_NEXT (:guard (precompile-processing---standard-hypothesis))
31+
(defconstraint precompile-processing---setting-GAS_NEXT
32+
(:guard (precompile-processing---standard-hypothesis))
33+
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
3034
(begin
3135
(eq! GAS_NEXT (+ (precompile-processing---dup-caller-gas)
3236
(precompile-processing---prd-return-gas)))
3337
(if-not-zero (scenario-shorthand---PRC---failure)
3438
(vanishes! (precompile-processing---prd-return-gas)))
3539
))
3640

37-
(defconstraint precompile-processing---setting-NSR (:guard (precompile-processing---standard-hypothesis))
41+
(defconstraint precompile-processing---setting-NSR
42+
(:guard (precompile-processing---standard-hypothesis))
43+
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
3844
(eq! NON_STACK_ROWS
3945
(+ (precompile-processing---1st-half-NSR)
4046
(precompile-processing---2nd-half-NSR))
4147
))
4248

43-
(defconstraint precompile-processing---setting-the-peeking-flags (:guard (precompile-processing---standard-hypothesis))
49+
(defconstraint precompile-processing---setting-the-peeking-flags
50+
(:guard (precompile-processing---standard-hypothesis))
51+
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
4452
(eq! (precompile-processing---2nd-half-flag-sum)
4553
(precompile-processing---2nd-half-NSR)
4654
))

hub/osaka/constraints/instruction-handling/call/precompiles/generalities.lisp

Lines changed: 13 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,31 +16,38 @@
1616
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
1717

1818

19-
(defun (precompile-processing---standard-hypothesis) (* PEEK_AT_SCENARIO
20-
(scenario-shorthand---PRC---sum)))
19+
(defun (precompile-processing---standard-hypothesis) (* PEEK_AT_SCENARIO (scenario-shorthand---PRC---sum)))
2120

2221

23-
(defconstraint precompile-processing---admissible-failure-scenarios (:guard (precompile-processing---standard-hypothesis))
22+
(defconstraint precompile-processing---admissible-failure-scenarios
23+
(:guard (precompile-processing---standard-hypothesis))
24+
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
2425
(begin
2526
(if-not-zero (scenario-shorthand---PRC---may-only-fail-in-the-HUB) (vanishes! scenario/PRC_FAILURE_KNOWN_TO_RAM))
2627
(if-not-zero (scenario-shorthand---PRC---may-only-fail-in-the-RAM) (vanishes! scenario/PRC_FAILURE_KNOWN_TO_HUB))
2728
))
2829

29-
(defconstraint precompile-processing---setting-GAS_NEXT (:guard (precompile-processing---standard-hypothesis))
30+
(defconstraint precompile-processing---setting-GAS_NEXT
31+
(:guard (precompile-processing---standard-hypothesis))
32+
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
3033
(begin
3134
(eq! GAS_NEXT (+ (precompile-processing---dup-caller-gas)
3235
(precompile-processing---prd-return-gas)))
3336
(if-not-zero (scenario-shorthand---PRC---failure)
3437
(vanishes! (precompile-processing---prd-return-gas)))
3538
))
3639

37-
(defconstraint precompile-processing---setting-NSR (:guard (precompile-processing---standard-hypothesis))
40+
(defconstraint precompile-processing---setting-NSR
41+
(:guard (precompile-processing---standard-hypothesis))
42+
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
3843
(eq! NON_STACK_ROWS
3944
(+ (precompile-processing---1st-half-NSR)
4045
(precompile-processing---2nd-half-NSR))
4146
))
4247

43-
(defconstraint precompile-processing---setting-the-peeking-flags (:guard (precompile-processing---standard-hypothesis))
48+
(defconstraint precompile-processing---setting-the-peeking-flags
49+
(:guard (precompile-processing---standard-hypothesis))
50+
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
4451
(eq! (precompile-processing---2nd-half-flag-sum)
4552
(precompile-processing---2nd-half-NSR)
4653
))

0 commit comments

Comments
 (0)