
Time bar (total: 1.7s)
| 1× | search |
| Probability | Valid | Unknown | Precondition | Infinite | Domain | Can't | Iter |
|---|---|---|---|---|---|---|---|
| 0% | 0% | 100% | 0% | 0% | 0% | 0% | 0 |
| 100% | 100% | 0% | 0% | 0% | 0% | 0% | 1 |
Compiled 10 to 6 computations (40% saved)
| 342.0ms | 8 256× | 0 | valid |
ival-pow2: 95.0ms (48% of total)ival-sqrt: 54.0ms (27.3% of total)ival-add: 41.0ms (20.7% of total)ival-true: 5.0ms (2.5% of total)ival-assert: 3.0ms (1.5% of total)| 2× | egg-herbie |
| 52× | unsub-neg |
| 50× | associate-*r* |
| 30× | distribute-rgt-neg-out |
| 26× | distribute-lft-neg-out |
| 26× | associate-*l* |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 10 | 20 |
| 1 | 20 | 19 |
| 2 | 43 | 19 |
| 3 | 146 | 19 |
| 4 | 261 | 19 |
| 5 | 290 | 19 |
| 6 | 292 | 19 |
| 0 | 5 | 6 |
| 1 | 7 | 6 |
| 2 | 12 | 6 |
| 3 | 15 | 6 |
| 0 | 15 | 3 |
| 1× | iter limit |
| 1× | saturated |
| 1× | saturated |
| Inputs |
|---|
(sqrt (+ (pow x 2) (pow x 2))) |
| Outputs |
|---|
(sqrt (+ (pow x 2) (pow x 2))) |
(sqrt.f64 (*.f64 x (+.f64 x x))) |
| Inputs |
|---|
(sqrt (+ (pow x 2) (pow x 2))) |
(sqrt (+ (pow (neg x) 2) (pow (neg x) 2))) |
(neg (sqrt (+ (pow (neg x) 2) (pow (neg x) 2)))) |
| Outputs |
|---|
(sqrt (+ (pow x 2) (pow x 2))) |
(sqrt (* x (+ x x))) |
(sqrt (+ (pow (neg x) 2) (pow (neg x) 2))) |
(sqrt (* x (+ x x))) |
(neg (sqrt (+ (pow (neg x) 2) (pow (neg x) 2)))) |
(neg (sqrt (* x (+ x x)))) |
(abs x)
| Ground Truth | Overpredictions | Example | Underpredictions | Example | Subexpression |
|---|---|---|---|---|---|
| 132 | 0 | - | 4 | (1.7328238130188112e-162) | (sqrt.f64 (+.f64 (pow.f64 x #s(literal 2 binary64)) (pow.f64 x #s(literal 2 binary64)))) |
| 0 | 0 | - | 0 | - | (pow.f64 x #s(literal 2 binary64)) |
| 0 | 0 | - | 0 | - | #s(literal 2 binary64) |
| 0 | 0 | - | 0 | - | (+.f64 (pow.f64 x #s(literal 2 binary64)) (pow.f64 x #s(literal 2 binary64))) |
| 0 | 0 | - | 0 | - | x |
| Operator | Subexpression | Explanation | Count | |
|---|---|---|---|---|
sqrt.f64 | (sqrt.f64 (+.f64 (pow.f64 x #s(literal 2 binary64)) (pow.f64 x #s(literal 2 binary64)))) | oflow-rescue | 73 | 0 |
| ↳ | (+.f64 (pow.f64 x #s(literal 2 binary64)) (pow.f64 x #s(literal 2 binary64))) | overflow | 73 | |
| ↳ | (pow.f64 x #s(literal 2 binary64)) | overflow | 146 | |
sqrt.f64 | (sqrt.f64 (+.f64 (pow.f64 x #s(literal 2 binary64)) (pow.f64 x #s(literal 2 binary64)))) | uflow-rescue | 55 | 0 |
| ↳ | (+.f64 (pow.f64 x #s(literal 2 binary64)) (pow.f64 x #s(literal 2 binary64))) | underflow | 55 | |
| ↳ | (pow.f64 x #s(literal 2 binary64)) | underflow | 110 |
| Predicted + | Predicted - | |
|---|---|---|
| + | 128 | 4 |
| - | 0 | 124 |
| Predicted + | Predicted Maybe | Predicted - | |
|---|---|---|---|
| + | 128 | 0 | 4 |
| - | 0 | 0 | 124 |
| number | freq |
|---|---|
| 0 | 128 |
| 1 | 128 |
| Predicted + | Predicted Maybe | Predicted - | |
|---|---|---|---|
| + | 1 | 0 | 0 |
| - | 0 | 0 | 0 |
| 28.0ms | 512× | 0 | valid |
Compiled 62 to 24 computations (61.3% saved)
ival-pow2: 6.0ms (48.6% of total)ival-sqrt: 3.0ms (24.3% of total)ival-add: 2.0ms (16.2% of total)ival-true: 0.0ms (0% of total)exact: 0.0ms (0% of total)ival-assert: 0.0ms (0% of total)Compiled 1 to 1 computations (0% saved)
| Status | Accuracy | Program |
|---|---|---|
| ▶ | 52.5% | (sqrt.f64 (+.f64 (pow.f64 x #s(literal 2 binary64)) (pow.f64 x #s(literal 2 binary64)))) |
Compiled 9 to 5 computations (44.4% saved)
| 1× | egg-herbie |
Found 3 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| ✓ | cost-diff | 0 | (sqrt.f64 (+.f64 (pow.f64 x #s(literal 2 binary64)) (pow.f64 x #s(literal 2 binary64)))) |
| ✓ | cost-diff | 320 | (+.f64 (pow.f64 x #s(literal 2 binary64)) (pow.f64 x #s(literal 2 binary64))) |
| ✓ | cost-diff | 6144 | (pow.f64 x #s(literal 2 binary64)) |
| 14× | *-lowering-*.f32 |
| 14× | *-lowering-*.f64 |
| 4× | *-commutative |
| 4× | +-lowering-+.f64 |
| 4× | count-2 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 5 | 16 |
| 1 | 7 | 16 |
| 2 | 12 | 16 |
| 3 | 15 | 16 |
| 0 | 15 | 13 |
| 1× | iter limit |
| 1× | saturated |
| Inputs |
|---|
(sqrt (+ (pow x 2) (pow x 2))) |
(+ (pow x 2) (pow x 2)) |
(pow x 2) |
x |
2 |
| Outputs |
|---|
(sqrt (+ (pow x 2) (pow x 2))) |
(sqrt.f64 (*.f64 x (+.f64 x x))) |
(+ (pow x 2) (pow x 2)) |
(*.f64 x (+.f64 x x)) |
(pow x 2) |
(*.f64 x x) |
x |
2 |
#s(literal 2 binary64) |
Found 3 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| ✓ | accuracy | 100.0% | (pow.f64 x #s(literal 2 binary64)) |
| ✓ | accuracy | 100.0% | (+.f64 (pow.f64 x #s(literal 2 binary64)) (pow.f64 x #s(literal 2 binary64))) |
| ✓ | accuracy | 52.6% | (sqrt.f64 (+.f64 (pow.f64 x #s(literal 2 binary64)) (pow.f64 x #s(literal 2 binary64)))) |
| 14.0ms | 256× | 0 | valid |
Compiled 22 to 7 computations (68.2% saved)
ival-pow2: 5.0ms (57.4% of total)ival-sqrt: 2.0ms (22.9% of total)ival-add: 1.0ms (11.5% of total)ival-true: 0.0ms (0% of total)exact: 0.0ms (0% of total)ival-assert: 0.0ms (0% of total)| Inputs |
|---|
#<alt (pow x 2)> |
#<alt (+ (pow x 2) (pow x 2))> |
#<alt (sqrt (+ (pow x 2) (pow x 2)))> |
| Outputs |
|---|
#<alt (pow x 2)> |
#<alt (pow x 2)> |
#<alt (pow x 2)> |
#<alt (pow x 2)> |
#<alt (pow x 2)> |
#<alt (pow x 2)> |
#<alt (pow x 2)> |
#<alt (pow x 2)> |
#<alt (pow x 2)> |
#<alt (pow x 2)> |
#<alt (pow x 2)> |
#<alt (pow x 2)> |
#<alt (* 2 (pow x 2))> |
#<alt (* 2 (pow x 2))> |
#<alt (* 2 (pow x 2))> |
#<alt (* 2 (pow x 2))> |
#<alt (* 2 (pow x 2))> |
#<alt (* 2 (pow x 2))> |
#<alt (* 2 (pow x 2))> |
#<alt (* 2 (pow x 2))> |
#<alt (* 2 (pow x 2))> |
#<alt (* 2 (pow x 2))> |
#<alt (* 2 (pow x 2))> |
#<alt (* 2 (pow x 2))> |
#<alt (* x (sqrt 2))> |
#<alt (* x (sqrt 2))> |
#<alt (* x (sqrt 2))> |
#<alt (* x (sqrt 2))> |
#<alt (* x (sqrt 2))> |
#<alt (* x (sqrt 2))> |
#<alt (* x (sqrt 2))> |
#<alt (* x (sqrt 2))> |
#<alt (* -1 (* x (sqrt 2)))> |
#<alt (* -1 (* x (sqrt 2)))> |
#<alt (* -1 (* x (sqrt 2)))> |
#<alt (* -1 (* x (sqrt 2)))> |
9 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | 0 | (sqrt (+ (pow x 2) (pow x 2))) |
| 1.0ms | x | @ | inf | (sqrt (+ (pow x 2) (pow x 2))) |
| 0.0ms | x | @ | 0 | (pow x 2) |
| 0.0ms | x | @ | inf | (pow x 2) |
| 0.0ms | x | @ | 0 | (+ (pow x 2) (pow x 2)) |
| 1× | batch-egg-rewrite |
| 70× | *-lowering-*.f32 |
| 70× | *-lowering-*.f64 |
| 44× | accelerator-lowering-fma.f32 |
| 44× | accelerator-lowering-fma.f64 |
| 34× | pow-lowering-pow.f64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 5 | 14 |
| 1 | 25 | 10 |
| 0 | 167 | 9 |
| 1× | iter limit |
| 1× | iter limit |
| 1× | iter limit |
| 1× | unsound |
| Inputs |
|---|
(pow x 2) |
(+ (pow x 2) (pow x 2)) |
(sqrt (+ (pow x 2) (pow x 2))) |
| Outputs |
|---|
(exp.f64 (*.f64 #s(literal 2 binary64) (log.f64 x))) |
(pow.f64 x #s(literal 2 binary64)) |
(pow.f64 (*.f64 x x) #s(literal 1 binary64)) |
(pow.f64 (exp.f64 (log.f64 x)) #s(literal 2 binary64)) |
(*.f64 x x) |
(*.f64 (exp.f64 (log.f64 x)) (exp.f64 (log.f64 x))) |
(+.f64 (*.f64 x x) (*.f64 x x)) |
(-.f64 (/.f64 (*.f64 x (*.f64 x (*.f64 x x))) #s(literal 0 binary64)) (/.f64 (*.f64 x (*.f64 x (*.f64 x x))) #s(literal 0 binary64))) |
(fma.f64 x x (*.f64 x x)) |
(fma.f64 (exp.f64 (log.f64 x)) (exp.f64 (log.f64 x)) (*.f64 x x)) |
(/.f64 (*.f64 (fma.f64 (*.f64 x x) (*.f64 x x) #s(literal 0 binary64)) (*.f64 x (+.f64 x x))) (fma.f64 (*.f64 x x) (*.f64 x x) #s(literal 0 binary64))) |
(/.f64 #s(literal 0 binary64) #s(literal 0 binary64)) |
(/.f64 #s(literal 1 binary64) (*.f64 x (+.f64 x x))) |
(/.f64 #s(literal 1 binary64) (/.f64 (fma.f64 (*.f64 x x) (*.f64 x x) #s(literal 0 binary64)) (*.f64 (fma.f64 (*.f64 x x) (*.f64 x x) #s(literal 0 binary64)) (*.f64 x (+.f64 x x))))) |
(/.f64 (neg.f64 (*.f64 (fma.f64 (*.f64 x x) (*.f64 x x) #s(literal 0 binary64)) (*.f64 x (+.f64 x x)))) (neg.f64 (fma.f64 (*.f64 x x) (*.f64 x x) #s(literal 0 binary64)))) |
(*.f64 x (+.f64 x x)) |
(*.f64 #s(literal 2 binary64) (*.f64 x x)) |
(*.f64 (*.f64 x x) #s(literal 2 binary64)) |
(*.f64 (*.f64 (fma.f64 (*.f64 x x) (*.f64 x x) #s(literal 0 binary64)) (*.f64 x (+.f64 x x))) (/.f64 #s(literal 1 binary64) (fma.f64 (*.f64 x x) (*.f64 x x) #s(literal 0 binary64)))) |
(*.f64 #s(literal 0 binary64) (/.f64 #s(literal 1 binary64) #s(literal 0 binary64))) |
(*.f64 (*.f64 #s(literal 2 binary64) x) x) |
(exp.f64 (*.f64 (log.f64 (*.f64 x (+.f64 x x))) #s(literal 1/2 binary64))) |
(hypot.f64 x x) |
(hypot.f64 x (exp.f64 (log.f64 x))) |
(hypot.f64 (exp.f64 (log.f64 x)) x) |
(hypot.f64 (exp.f64 (log.f64 x)) (exp.f64 (log.f64 x))) |
(sqrt.f64 (*.f64 x (+.f64 x x))) |
(/.f64 (sqrt.f64 (*.f64 (fma.f64 (*.f64 x x) (*.f64 x x) #s(literal 0 binary64)) (*.f64 x (+.f64 x x)))) (sqrt.f64 (fma.f64 (*.f64 x x) (*.f64 x x) #s(literal 0 binary64)))) |
(/.f64 (sqrt.f64 #s(literal 0 binary64)) (sqrt.f64 #s(literal 0 binary64))) |
(pow.f64 (*.f64 x (+.f64 x x)) #s(literal 1/2 binary64)) |
(*.f64 (pow.f64 #s(literal 2 binary64) #s(literal 1/2 binary64)) (pow.f64 (*.f64 x x) #s(literal 1/2 binary64))) |
(*.f64 (sqrt.f64 #s(literal 2 binary64)) (sqrt.f64 (*.f64 x x))) |
(*.f64 (pow.f64 (*.f64 x (+.f64 x x)) #s(literal 1/4 binary64)) (pow.f64 (*.f64 x (+.f64 x x)) #s(literal 1/4 binary64))) |
| 1× | egg-herbie |
| 38× | *-lowering-*.f32 |
| 38× | *-lowering-*.f64 |
| 38× | accelerator-lowering-fma.f32 |
| 38× | accelerator-lowering-fma.f64 |
| 36× | +-lowering-+.f64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 8 | 148 |
| 1 | 15 | 148 |
| 2 | 32 | 148 |
| 3 | 37 | 148 |
| 4 | 41 | 148 |
| 5 | 53 | 148 |
| 6 | 65 | 148 |
| 7 | 76 | 148 |
| 8 | 96 | 148 |
| 9 | 101 | 148 |
| 0 | 101 | 148 |
| 1× | iter limit |
| 1× | saturated |
| Inputs |
|---|
(pow x 2) |
(pow x 2) |
(pow x 2) |
(pow x 2) |
(pow x 2) |
(pow x 2) |
(pow x 2) |
(pow x 2) |
(pow x 2) |
(pow x 2) |
(pow x 2) |
(pow x 2) |
(* 2 (pow x 2)) |
(* 2 (pow x 2)) |
(* 2 (pow x 2)) |
(* 2 (pow x 2)) |
(* 2 (pow x 2)) |
(* 2 (pow x 2)) |
(* 2 (pow x 2)) |
(* 2 (pow x 2)) |
(* 2 (pow x 2)) |
(* 2 (pow x 2)) |
(* 2 (pow x 2)) |
(* 2 (pow x 2)) |
(* x (sqrt 2)) |
(* x (sqrt 2)) |
(* x (sqrt 2)) |
(* x (sqrt 2)) |
(* x (sqrt 2)) |
(* x (sqrt 2)) |
(* x (sqrt 2)) |
(* x (sqrt 2)) |
(* -1 (* x (sqrt 2))) |
(* -1 (* x (sqrt 2))) |
(* -1 (* x (sqrt 2))) |
(* -1 (* x (sqrt 2))) |
| Outputs |
|---|
(pow x 2) |
(fma.f64 x x #s(literal 0 binary64)) |
(pow x 2) |
(fma.f64 x x #s(literal 0 binary64)) |
(pow x 2) |
(fma.f64 x x #s(literal 0 binary64)) |
(pow x 2) |
(fma.f64 x x #s(literal 0 binary64)) |
(pow x 2) |
(fma.f64 x x #s(literal 0 binary64)) |
(pow x 2) |
(fma.f64 x x #s(literal 0 binary64)) |
(pow x 2) |
(fma.f64 x x #s(literal 0 binary64)) |
(pow x 2) |
(fma.f64 x x #s(literal 0 binary64)) |
(pow x 2) |
(fma.f64 x x #s(literal 0 binary64)) |
(pow x 2) |
(fma.f64 x x #s(literal 0 binary64)) |
(pow x 2) |
(fma.f64 x x #s(literal 0 binary64)) |
(pow x 2) |
(fma.f64 x x #s(literal 0 binary64)) |
(* 2 (pow x 2)) |
(fma.f64 x (fma.f64 x #s(literal 2 binary64) #s(literal 0 binary64)) #s(literal 0 binary64)) |
(* 2 (pow x 2)) |
(fma.f64 x (fma.f64 x #s(literal 2 binary64) #s(literal 0 binary64)) #s(literal 0 binary64)) |
(* 2 (pow x 2)) |
(fma.f64 x (fma.f64 x #s(literal 2 binary64) #s(literal 0 binary64)) #s(literal 0 binary64)) |
(* 2 (pow x 2)) |
(fma.f64 x (fma.f64 x #s(literal 2 binary64) #s(literal 0 binary64)) #s(literal 0 binary64)) |
(* 2 (pow x 2)) |
(fma.f64 x (fma.f64 x #s(literal 2 binary64) #s(literal 0 binary64)) #s(literal 0 binary64)) |
(* 2 (pow x 2)) |
(fma.f64 x (fma.f64 x #s(literal 2 binary64) #s(literal 0 binary64)) #s(literal 0 binary64)) |
(* 2 (pow x 2)) |
(fma.f64 x (fma.f64 x #s(literal 2 binary64) #s(literal 0 binary64)) #s(literal 0 binary64)) |
(* 2 (pow x 2)) |
(fma.f64 x (fma.f64 x #s(literal 2 binary64) #s(literal 0 binary64)) #s(literal 0 binary64)) |
(* 2 (pow x 2)) |
(fma.f64 x (fma.f64 x #s(literal 2 binary64) #s(literal 0 binary64)) #s(literal 0 binary64)) |
(* 2 (pow x 2)) |
(fma.f64 x (fma.f64 x #s(literal 2 binary64) #s(literal 0 binary64)) #s(literal 0 binary64)) |
(* 2 (pow x 2)) |
(fma.f64 x (fma.f64 x #s(literal 2 binary64) #s(literal 0 binary64)) #s(literal 0 binary64)) |
(* 2 (pow x 2)) |
(fma.f64 x (fma.f64 x #s(literal 2 binary64) #s(literal 0 binary64)) #s(literal 0 binary64)) |
(* x (sqrt 2)) |
(fma.f64 x (sqrt.f64 #s(literal 2 binary64)) #s(literal 0 binary64)) |
(* x (sqrt 2)) |
(fma.f64 x (sqrt.f64 #s(literal 2 binary64)) #s(literal 0 binary64)) |
(* x (sqrt 2)) |
(fma.f64 x (sqrt.f64 #s(literal 2 binary64)) #s(literal 0 binary64)) |
(* x (sqrt 2)) |
(fma.f64 x (sqrt.f64 #s(literal 2 binary64)) #s(literal 0 binary64)) |
(* x (sqrt 2)) |
(fma.f64 x (sqrt.f64 #s(literal 2 binary64)) #s(literal 0 binary64)) |
(* x (sqrt 2)) |
(fma.f64 x (sqrt.f64 #s(literal 2 binary64)) #s(literal 0 binary64)) |
(* x (sqrt 2)) |
(fma.f64 x (sqrt.f64 #s(literal 2 binary64)) #s(literal 0 binary64)) |
(* x (sqrt 2)) |
(fma.f64 x (sqrt.f64 #s(literal 2 binary64)) #s(literal 0 binary64)) |
(* -1 (* x (sqrt 2))) |
(-.f64 #s(literal 0 binary64) (fma.f64 x (sqrt.f64 #s(literal 2 binary64)) #s(literal 0 binary64))) |
(* -1 (* x (sqrt 2))) |
(-.f64 #s(literal 0 binary64) (fma.f64 x (sqrt.f64 #s(literal 2 binary64)) #s(literal 0 binary64))) |
(* -1 (* x (sqrt 2))) |
(-.f64 #s(literal 0 binary64) (fma.f64 x (sqrt.f64 #s(literal 2 binary64)) #s(literal 0 binary64))) |
(* -1 (* x (sqrt 2))) |
(-.f64 #s(literal 0 binary64) (fma.f64 x (sqrt.f64 #s(literal 2 binary64)) #s(literal 0 binary64))) |
Compiled 790 to 110 computations (86.1% saved)
3 alts after pruning (3 fresh and 0 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 84 | 3 | 87 |
| Fresh | 0 | 0 | 0 |
| Picked | 1 | 0 | 1 |
| Done | 0 | 0 | 0 |
| Total | 85 | 3 | 88 |
| Status | Accuracy | Program |
|---|---|---|
| ▶ | 99.3% | (fma.f64 x (sqrt.f64 #s(literal 2 binary64)) #s(literal 0 binary64)) |
| ▶ | 100.0% | (hypot.f64 x x) |
| ▶ | 52.6% | (sqrt.f64 (*.f64 x (+.f64 x x))) |
Compiled 17 to 11 computations (35.3% saved)
| 1× | egg-herbie |
Found 6 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| ✓ | cost-diff | 0 | (sqrt.f64 #s(literal 2 binary64)) |
| ✓ | cost-diff | 0 | (fma.f64 x (sqrt.f64 #s(literal 2 binary64)) #s(literal 0 binary64)) |
| ✓ | cost-diff | 5312 | (hypot.f64 x x) |
| ✓ | cost-diff | 0 | (+.f64 x x) |
| ✓ | cost-diff | 0 | (*.f64 x (+.f64 x x)) |
| ✓ | cost-diff | 0 | (sqrt.f64 (*.f64 x (+.f64 x x))) |
| 18× | *-lowering-*.f32 |
| 18× | *-lowering-*.f64 |
| 8× | *-commutative |
| 8× | +-lowering-+.f64 |
| 8× | +-lowering-+.f32 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 12 | 31 |
| 1 | 17 | 31 |
| 2 | 21 | 31 |
| 0 | 21 | 25 |
| 1× | iter limit |
| 1× | saturated |
| Inputs |
|---|
(sqrt (* x (+ x x))) |
(* x (+ x x)) |
x |
(+ x x) |
(sqrt (+ (* x x) (* x x))) |
x |
(+ (* x (sqrt 2)) 0) |
x |
(sqrt 2) |
2 |
0 |
| Outputs |
|---|
(sqrt (* x (+ x x))) |
(sqrt.f64 (*.f64 x (+.f64 x x))) |
(* x (+ x x)) |
(*.f64 x (+.f64 x x)) |
x |
(+ x x) |
(+.f64 x x) |
(sqrt (+ (* x x) (* x x))) |
(sqrt.f64 (*.f64 x (+.f64 x x))) |
x |
(+ (* x (sqrt 2)) 0) |
(fma.f64 x (sqrt.f64 #s(literal 2 binary64)) #s(literal 0 binary64)) |
x |
(sqrt 2) |
(sqrt.f64 #s(literal 2 binary64)) |
2 |
#s(literal 2 binary64) |
0 |
#s(literal 0 binary64) |
Found 6 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| ✓ | accuracy | 100.0% | (sqrt.f64 #s(literal 2 binary64)) |
| ✓ | accuracy | 99.3% | (fma.f64 x (sqrt.f64 #s(literal 2 binary64)) #s(literal 0 binary64)) |
| ✓ | accuracy | 100.0% | (hypot.f64 x x) |
| ✓ | accuracy | 100.0% | (+.f64 x x) |
| ✓ | accuracy | 100.0% | (*.f64 x (+.f64 x x)) |
| ✓ | accuracy | 52.6% | (sqrt.f64 (*.f64 x (+.f64 x x))) |
| 21.0ms | 256× | 0 | valid |
Compiled 31 to 12 computations (61.3% saved)
ival-hypot: 4.0ms (29.3% of total)ival-add: 3.0ms (22% of total)ival-mult: 3.0ms (22% of total)ival-sqrt: 3.0ms (22% of total)ival-true: 0.0ms (0% of total)exact: 0.0ms (0% of total)ival-assert: 0.0ms (0% of total)| Inputs |
|---|
#<alt (sqrt (* x (+ x x)))> |
#<alt (* x (+ x x))> |
#<alt (+ x x)> |
#<alt (sqrt (+ (* x x) (* x x)))> |
#<alt (+ (* x (sqrt 2)) 0)> |
#<alt (sqrt 2)> |
| Outputs |
|---|
#<alt (* x (sqrt 2))> |
#<alt (* x (sqrt 2))> |
#<alt (* x (sqrt 2))> |
#<alt (* x (sqrt 2))> |
#<alt (* x (sqrt 2))> |
#<alt (* x (sqrt 2))> |
#<alt (* x (sqrt 2))> |
#<alt (* x (sqrt 2))> |
#<alt (* -1 (* x (sqrt 2)))> |
#<alt (* -1 (* x (sqrt 2)))> |
#<alt (* -1 (* x (sqrt 2)))> |
#<alt (* -1 (* x (sqrt 2)))> |
#<alt (* 2 (pow x 2))> |
#<alt (* 2 (pow x 2))> |
#<alt (* 2 (pow x 2))> |
#<alt (* 2 (pow x 2))> |
#<alt (* 2 (pow x 2))> |
#<alt (* 2 (pow x 2))> |
#<alt (* 2 (pow x 2))> |
#<alt (* 2 (pow x 2))> |
#<alt (* 2 (pow x 2))> |
#<alt (* 2 (pow x 2))> |
#<alt (* 2 (pow x 2))> |
#<alt (* 2 (pow x 2))> |
#<alt (* 2 x)> |
#<alt (* 2 x)> |
#<alt (* 2 x)> |
#<alt (* 2 x)> |
#<alt (* 2 x)> |
#<alt (* 2 x)> |
#<alt (* 2 x)> |
#<alt (* 2 x)> |
#<alt (* 2 x)> |
#<alt (* 2 x)> |
#<alt (* 2 x)> |
#<alt (* 2 x)> |
#<alt (* x (sqrt 2))> |
#<alt (* x (sqrt 2))> |
#<alt (* x (sqrt 2))> |
#<alt (* x (sqrt 2))> |
#<alt (* x (sqrt 2))> |
#<alt (* x (sqrt 2))> |
#<alt (* x (sqrt 2))> |
#<alt (* x (sqrt 2))> |
#<alt (* -1 (* x (sqrt 2)))> |
#<alt (* -1 (* x (sqrt 2)))> |
#<alt (* -1 (* x (sqrt 2)))> |
#<alt (* -1 (* x (sqrt 2)))> |
#<alt (* x (sqrt 2))> |
#<alt (* x (sqrt 2))> |
#<alt (* x (sqrt 2))> |
#<alt (* x (sqrt 2))> |
#<alt (* x (sqrt 2))> |
#<alt (* x (sqrt 2))> |
#<alt (* x (sqrt 2))> |
#<alt (* x (sqrt 2))> |
#<alt (* x (sqrt 2))> |
#<alt (* x (sqrt 2))> |
#<alt (* x (sqrt 2))> |
#<alt (* x (sqrt 2))> |
15 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 0.0ms | x | @ | inf | (* x (+ x x)) |
| 0.0ms | x | @ | inf | (+ x x) |
| 0.0ms | x | @ | 0 | (+ x x) |
| 0.0ms | x | @ | -inf | (+ (* x (sqrt 2)) 0) |
| 0.0ms | x | @ | 0 | (sqrt (* x (+ x x))) |
| 1× | batch-egg-rewrite |
| 796× | frac-times |
| 348× | times-frac |
| 292× | *-lowering-*.f32 |
| 292× | *-lowering-*.f64 |
| 182× | accelerator-lowering-fma.f32 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 12 | 32 |
| 1 | 52 | 7 |
| 2 | 418 | 7 |
| 0 | 4043 | 7 |
| 1× | iter limit |
| 1× | iter limit |
| 1× | node limit |
| Inputs |
|---|
(sqrt (* x (+ x x))) |
(* x (+ x x)) |
(+ x x) |
(sqrt (+ (* x x) (* x x))) |
(+ (* x (sqrt 2)) 0) |
(sqrt 2) |
| Outputs |
|---|
#s(literal 0 binary64) |
#s(literal 0 binary64) |
#s(literal 0 binary64) |
#s(literal 0 binary64) |
#s(literal 0 binary64) |
(exp.f64 (*.f64 #s(literal 1/2 binary64) (log.f64 #s(literal 2 binary64)))) |
(sqrt.f64 #s(literal 2 binary64)) |
(pow.f64 #s(literal 2 binary64) #s(literal 1/2 binary64)) |
(pow.f64 #s(literal 4 binary64) #s(literal 1/4 binary64)) |
(pow.f64 (pow.f64 #s(literal 2 binary64) #s(literal 1/4 binary64)) #s(literal 2 binary64)) |
(pow.f64 (exp.f64 (log.f64 #s(literal 2 binary64))) #s(literal 1/2 binary64)) |
(*.f64 (pow.f64 #s(literal 2 binary64) #s(literal 1/4 binary64)) (pow.f64 #s(literal 2 binary64) #s(literal 1/4 binary64))) |
| 1× | egg-herbie |
| 38× | *-lowering-*.f32 |
| 38× | *-lowering-*.f64 |
| 38× | accelerator-lowering-fma.f32 |
| 38× | accelerator-lowering-fma.f64 |
| 36× | +-lowering-+.f64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 9 | 248 |
| 1 | 17 | 248 |
| 2 | 32 | 248 |
| 3 | 36 | 248 |
| 4 | 40 | 248 |
| 5 | 52 | 248 |
| 6 | 64 | 248 |
| 7 | 75 | 248 |
| 8 | 95 | 248 |
| 9 | 100 | 248 |
| 0 | 100 | 248 |
| 1× | iter limit |
| 1× | saturated |
| Inputs |
|---|
(* x (sqrt 2)) |
(* x (sqrt 2)) |
(* x (sqrt 2)) |
(* x (sqrt 2)) |
(* x (sqrt 2)) |
(* x (sqrt 2)) |
(* x (sqrt 2)) |
(* x (sqrt 2)) |
(* -1 (* x (sqrt 2))) |
(* -1 (* x (sqrt 2))) |
(* -1 (* x (sqrt 2))) |
(* -1 (* x (sqrt 2))) |
(* 2 (pow x 2)) |
(* 2 (pow x 2)) |
(* 2 (pow x 2)) |
(* 2 (pow x 2)) |
(* 2 (pow x 2)) |
(* 2 (pow x 2)) |
(* 2 (pow x 2)) |
(* 2 (pow x 2)) |
(* 2 (pow x 2)) |
(* 2 (pow x 2)) |
(* 2 (pow x 2)) |
(* 2 (pow x 2)) |
(* 2 x) |
(* 2 x) |
(* 2 x) |
(* 2 x) |
(* 2 x) |
(* 2 x) |
(* 2 x) |
(* 2 x) |
(* 2 x) |
(* 2 x) |
(* 2 x) |
(* 2 x) |
(* x (sqrt 2)) |
(* x (sqrt 2)) |
(* x (sqrt 2)) |
(* x (sqrt 2)) |
(* x (sqrt 2)) |
(* x (sqrt 2)) |
(* x (sqrt 2)) |
(* x (sqrt 2)) |
(* -1 (* x (sqrt 2))) |
(* -1 (* x (sqrt 2))) |
(* -1 (* x (sqrt 2))) |
(* -1 (* x (sqrt 2))) |
(* x (sqrt 2)) |
(* x (sqrt 2)) |
(* x (sqrt 2)) |
(* x (sqrt 2)) |
(* x (sqrt 2)) |
(* x (sqrt 2)) |
(* x (sqrt 2)) |
(* x (sqrt 2)) |
(* x (sqrt 2)) |
(* x (sqrt 2)) |
(* x (sqrt 2)) |
(* x (sqrt 2)) |
| Outputs |
|---|
(* x (sqrt 2)) |
(fma.f64 x (sqrt.f64 #s(literal 2 binary64)) #s(literal 0 binary64)) |
(* x (sqrt 2)) |
(fma.f64 x (sqrt.f64 #s(literal 2 binary64)) #s(literal 0 binary64)) |
(* x (sqrt 2)) |
(fma.f64 x (sqrt.f64 #s(literal 2 binary64)) #s(literal 0 binary64)) |
(* x (sqrt 2)) |
(fma.f64 x (sqrt.f64 #s(literal 2 binary64)) #s(literal 0 binary64)) |
(* x (sqrt 2)) |
(fma.f64 x (sqrt.f64 #s(literal 2 binary64)) #s(literal 0 binary64)) |
(* x (sqrt 2)) |
(fma.f64 x (sqrt.f64 #s(literal 2 binary64)) #s(literal 0 binary64)) |
(* x (sqrt 2)) |
(fma.f64 x (sqrt.f64 #s(literal 2 binary64)) #s(literal 0 binary64)) |
(* x (sqrt 2)) |
(fma.f64 x (sqrt.f64 #s(literal 2 binary64)) #s(literal 0 binary64)) |
(* -1 (* x (sqrt 2))) |
(fma.f64 (sqrt.f64 #s(literal 2 binary64)) (-.f64 #s(literal 0 binary64) x) #s(literal 0 binary64)) |
(* -1 (* x (sqrt 2))) |
(fma.f64 (sqrt.f64 #s(literal 2 binary64)) (-.f64 #s(literal 0 binary64) x) #s(literal 0 binary64)) |
(* -1 (* x (sqrt 2))) |
(fma.f64 (sqrt.f64 #s(literal 2 binary64)) (-.f64 #s(literal 0 binary64) x) #s(literal 0 binary64)) |
(* -1 (* x (sqrt 2))) |
(fma.f64 (sqrt.f64 #s(literal 2 binary64)) (-.f64 #s(literal 0 binary64) x) #s(literal 0 binary64)) |
(* 2 (pow x 2)) |
(fma.f64 x (fma.f64 x #s(literal 2 binary64) #s(literal 0 binary64)) #s(literal 0 binary64)) |
(* 2 (pow x 2)) |
(fma.f64 x (fma.f64 x #s(literal 2 binary64) #s(literal 0 binary64)) #s(literal 0 binary64)) |
(* 2 (pow x 2)) |
(fma.f64 x (fma.f64 x #s(literal 2 binary64) #s(literal 0 binary64)) #s(literal 0 binary64)) |
(* 2 (pow x 2)) |
(fma.f64 x (fma.f64 x #s(literal 2 binary64) #s(literal 0 binary64)) #s(literal 0 binary64)) |
(* 2 (pow x 2)) |
(fma.f64 x (fma.f64 x #s(literal 2 binary64) #s(literal 0 binary64)) #s(literal 0 binary64)) |
(* 2 (pow x 2)) |
(fma.f64 x (fma.f64 x #s(literal 2 binary64) #s(literal 0 binary64)) #s(literal 0 binary64)) |
(* 2 (pow x 2)) |
(fma.f64 x (fma.f64 x #s(literal 2 binary64) #s(literal 0 binary64)) #s(literal 0 binary64)) |
(* 2 (pow x 2)) |
(fma.f64 x (fma.f64 x #s(literal 2 binary64) #s(literal 0 binary64)) #s(literal 0 binary64)) |
(* 2 (pow x 2)) |
(fma.f64 x (fma.f64 x #s(literal 2 binary64) #s(literal 0 binary64)) #s(literal 0 binary64)) |
(* 2 (pow x 2)) |
(fma.f64 x (fma.f64 x #s(literal 2 binary64) #s(literal 0 binary64)) #s(literal 0 binary64)) |
(* 2 (pow x 2)) |
(fma.f64 x (fma.f64 x #s(literal 2 binary64) #s(literal 0 binary64)) #s(literal 0 binary64)) |
(* 2 (pow x 2)) |
(fma.f64 x (fma.f64 x #s(literal 2 binary64) #s(literal 0 binary64)) #s(literal 0 binary64)) |
(* 2 x) |
(fma.f64 x #s(literal 2 binary64) #s(literal 0 binary64)) |
(* 2 x) |
(fma.f64 x #s(literal 2 binary64) #s(literal 0 binary64)) |
(* 2 x) |
(fma.f64 x #s(literal 2 binary64) #s(literal 0 binary64)) |
(* 2 x) |
(fma.f64 x #s(literal 2 binary64) #s(literal 0 binary64)) |
(* 2 x) |
(fma.f64 x #s(literal 2 binary64) #s(literal 0 binary64)) |
(* 2 x) |
(fma.f64 x #s(literal 2 binary64) #s(literal 0 binary64)) |
(* 2 x) |
(fma.f64 x #s(literal 2 binary64) #s(literal 0 binary64)) |
(* 2 x) |
(fma.f64 x #s(literal 2 binary64) #s(literal 0 binary64)) |
(* 2 x) |
(fma.f64 x #s(literal 2 binary64) #s(literal 0 binary64)) |
(* 2 x) |
(fma.f64 x #s(literal 2 binary64) #s(literal 0 binary64)) |
(* 2 x) |
(fma.f64 x #s(literal 2 binary64) #s(literal 0 binary64)) |
(* 2 x) |
(fma.f64 x #s(literal 2 binary64) #s(literal 0 binary64)) |
(* x (sqrt 2)) |
(fma.f64 x (sqrt.f64 #s(literal 2 binary64)) #s(literal 0 binary64)) |
(* x (sqrt 2)) |
(fma.f64 x (sqrt.f64 #s(literal 2 binary64)) #s(literal 0 binary64)) |
(* x (sqrt 2)) |
(fma.f64 x (sqrt.f64 #s(literal 2 binary64)) #s(literal 0 binary64)) |
(* x (sqrt 2)) |
(fma.f64 x (sqrt.f64 #s(literal 2 binary64)) #s(literal 0 binary64)) |
(* x (sqrt 2)) |
(fma.f64 x (sqrt.f64 #s(literal 2 binary64)) #s(literal 0 binary64)) |
(* x (sqrt 2)) |
(fma.f64 x (sqrt.f64 #s(literal 2 binary64)) #s(literal 0 binary64)) |
(* x (sqrt 2)) |
(fma.f64 x (sqrt.f64 #s(literal 2 binary64)) #s(literal 0 binary64)) |
(* x (sqrt 2)) |
(fma.f64 x (sqrt.f64 #s(literal 2 binary64)) #s(literal 0 binary64)) |
(* -1 (* x (sqrt 2))) |
(fma.f64 (sqrt.f64 #s(literal 2 binary64)) (-.f64 #s(literal 0 binary64) x) #s(literal 0 binary64)) |
(* -1 (* x (sqrt 2))) |
(fma.f64 (sqrt.f64 #s(literal 2 binary64)) (-.f64 #s(literal 0 binary64) x) #s(literal 0 binary64)) |
(* -1 (* x (sqrt 2))) |
(fma.f64 (sqrt.f64 #s(literal 2 binary64)) (-.f64 #s(literal 0 binary64) x) #s(literal 0 binary64)) |
(* -1 (* x (sqrt 2))) |
(fma.f64 (sqrt.f64 #s(literal 2 binary64)) (-.f64 #s(literal 0 binary64) x) #s(literal 0 binary64)) |
(* x (sqrt 2)) |
(fma.f64 x (sqrt.f64 #s(literal 2 binary64)) #s(literal 0 binary64)) |
(* x (sqrt 2)) |
(fma.f64 x (sqrt.f64 #s(literal 2 binary64)) #s(literal 0 binary64)) |
(* x (sqrt 2)) |
(fma.f64 x (sqrt.f64 #s(literal 2 binary64)) #s(literal 0 binary64)) |
(* x (sqrt 2)) |
(fma.f64 x (sqrt.f64 #s(literal 2 binary64)) #s(literal 0 binary64)) |
(* x (sqrt 2)) |
(fma.f64 x (sqrt.f64 #s(literal 2 binary64)) #s(literal 0 binary64)) |
(* x (sqrt 2)) |
(fma.f64 x (sqrt.f64 #s(literal 2 binary64)) #s(literal 0 binary64)) |
(* x (sqrt 2)) |
(fma.f64 x (sqrt.f64 #s(literal 2 binary64)) #s(literal 0 binary64)) |
(* x (sqrt 2)) |
(fma.f64 x (sqrt.f64 #s(literal 2 binary64)) #s(literal 0 binary64)) |
(* x (sqrt 2)) |
(fma.f64 x (sqrt.f64 #s(literal 2 binary64)) #s(literal 0 binary64)) |
(* x (sqrt 2)) |
(fma.f64 x (sqrt.f64 #s(literal 2 binary64)) #s(literal 0 binary64)) |
(* x (sqrt 2)) |
(fma.f64 x (sqrt.f64 #s(literal 2 binary64)) #s(literal 0 binary64)) |
(* x (sqrt 2)) |
(fma.f64 x (sqrt.f64 #s(literal 2 binary64)) #s(literal 0 binary64)) |
Compiled 437 to 34 computations (92.2% saved)
4 alts after pruning (1 fresh and 3 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 71 | 1 | 72 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 3 | 3 |
| Done | 0 | 0 | 0 |
| Total | 71 | 4 | 75 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 99.3% | (fma.f64 x (sqrt.f64 #s(literal 2 binary64)) #s(literal 0 binary64)) |
| ✓ | 100.0% | (hypot.f64 x x) |
| ✓ | 52.6% | (sqrt.f64 (*.f64 x (+.f64 x x))) |
| ▶ | 3.6% | #s(literal 0 binary64) |
Compiled 19 to 13 computations (31.6% saved)
| 1× | egg-herbie |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 1 | 1 |
| 0 | 1 | 1 |
| 1× | saturated |
| 1× | saturated |
| Inputs |
|---|
0 |
| Outputs |
|---|
0 |
#s(literal 0 binary64) |
| 6.0ms | 256× | 0 | valid |
Compiled 3 to 4 computations (-33.3% saved)
ival-true: 0.0ms (0% of total)exact: 0.0ms (0% of total)ival-assert: 0.0ms (0% of total)| Inputs |
|---|
| Outputs |
|---|
| 1× | batch-egg-rewrite |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 0 | 0 |
| 0 | 0 | 0 |
| 1× | saturated |
| 1× | saturated |
| Inputs |
|---|
| Outputs |
|---|
| 1× | egg-herbie |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 0 | 0 |
| 0 | 0 | 0 |
| 1× | saturated |
| 1× | saturated |
| Inputs |
|---|
| Outputs |
|---|
Compiled 1 to 1 computations (0% saved)
4 alts after pruning (0 fresh and 4 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 0 | 0 | 0 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 3 | 3 |
| Total | 0 | 4 | 4 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 99.3% | (fma.f64 x (sqrt.f64 #s(literal 2 binary64)) #s(literal 0 binary64)) |
| ✓ | 100.0% | (hypot.f64 x x) |
| ✓ | 52.6% | (sqrt.f64 (*.f64 x (+.f64 x x))) |
| ✓ | 3.6% | #s(literal 0 binary64) |
Compiled 43 to 25 computations (41.9% saved)
| Inputs |
|---|
#s(literal 0 binary64) |
(fma.f64 x (sqrt.f64 #s(literal 2 binary64)) #s(literal 0 binary64)) |
(sqrt.f64 (*.f64 x (+.f64 x x))) |
(hypot.f64 x x) |
(sqrt.f64 (+.f64 (pow.f64 x #s(literal 2 binary64)) (pow.f64 x #s(literal 2 binary64)))) |
| Outputs |
|---|
(hypot.f64 x x) |
4 calls:
| 2.0ms | x |
| 2.0ms | (pow.f64 x #s(literal 2 binary64)) |
| 2.0ms | (sqrt.f64 (+.f64 (pow.f64 x #s(literal 2 binary64)) (pow.f64 x #s(literal 2 binary64)))) |
| 2.0ms | (+.f64 (pow.f64 x #s(literal 2 binary64)) (pow.f64 x #s(literal 2 binary64))) |
| Accuracy | Segments | Branch |
|---|---|---|
| 100.0% | 1 | x |
| 100.0% | 1 | (sqrt.f64 (+.f64 (pow.f64 x #s(literal 2 binary64)) (pow.f64 x #s(literal 2 binary64)))) |
| 100.0% | 1 | (+.f64 (pow.f64 x #s(literal 2 binary64)) (pow.f64 x #s(literal 2 binary64))) |
| 100.0% | 1 | (pow.f64 x #s(literal 2 binary64)) |
Compiled 23 to 13 computations (43.5% saved)
| Inputs |
|---|
#s(literal 0 binary64) |
(fma.f64 x (sqrt.f64 #s(literal 2 binary64)) #s(literal 0 binary64)) |
(sqrt.f64 (*.f64 x (+.f64 x x))) |
| Outputs |
|---|
(fma.f64 x (sqrt.f64 #s(literal 2 binary64)) #s(literal 0 binary64)) |
4 calls:
| 5.0ms | (pow.f64 x #s(literal 2 binary64)) |
| 2.0ms | x |
| 2.0ms | (sqrt.f64 (+.f64 (pow.f64 x #s(literal 2 binary64)) (pow.f64 x #s(literal 2 binary64)))) |
| 2.0ms | (+.f64 (pow.f64 x #s(literal 2 binary64)) (pow.f64 x #s(literal 2 binary64))) |
| Accuracy | Segments | Branch |
|---|---|---|
| 99.3% | 1 | x |
| 99.3% | 1 | (sqrt.f64 (+.f64 (pow.f64 x #s(literal 2 binary64)) (pow.f64 x #s(literal 2 binary64)))) |
| 99.3% | 1 | (+.f64 (pow.f64 x #s(literal 2 binary64)) (pow.f64 x #s(literal 2 binary64))) |
| 99.3% | 1 | (pow.f64 x #s(literal 2 binary64)) |
Compiled 23 to 13 computations (43.5% saved)
Total 0.0b remaining (0%)
Threshold costs 0b (0%)
| Inputs |
|---|
#s(literal 0 binary64) |
| Outputs |
|---|
#s(literal 0 binary64) |
4 calls:
| 1.0ms | x |
| 1.0ms | (sqrt.f64 (+.f64 (pow.f64 x #s(literal 2 binary64)) (pow.f64 x #s(literal 2 binary64)))) |
| 1.0ms | (+.f64 (pow.f64 x #s(literal 2 binary64)) (pow.f64 x #s(literal 2 binary64))) |
| 1.0ms | (pow.f64 x #s(literal 2 binary64)) |
| Accuracy | Segments | Branch |
|---|---|---|
| 3.6% | 1 | x |
| 3.6% | 1 | (sqrt.f64 (+.f64 (pow.f64 x #s(literal 2 binary64)) (pow.f64 x #s(literal 2 binary64)))) |
| 3.6% | 1 | (+.f64 (pow.f64 x #s(literal 2 binary64)) (pow.f64 x #s(literal 2 binary64))) |
| 3.6% | 1 | (pow.f64 x #s(literal 2 binary64)) |
Compiled 23 to 13 computations (43.5% saved)
| 1× | egg-herbie |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 6 | 9 |
| 1× | saturated |
| Inputs |
|---|
(hypot.f64 x x) |
(fma.f64 x (sqrt.f64 #s(literal 2 binary64)) #s(literal 0 binary64)) |
#s(literal 0 binary64) |
| Outputs |
|---|
(hypot.f64 x x) |
(fma.f64 x (sqrt.f64 #s(literal 2 binary64)) #s(literal 0 binary64)) |
#s(literal 0 binary64) |
| 796× | frac-times |
| 348× | times-frac |
| 292× | *-lowering-*.f32 |
| 292× | *-lowering-*.f64 |
| 182× | accelerator-lowering-fma.f32 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 12 | 32 |
| 1 | 52 | 7 |
| 2 | 418 | 7 |
| 0 | 4043 | 7 |
| 0 | 8 | 148 |
| 1 | 15 | 148 |
| 2 | 32 | 148 |
| 3 | 37 | 148 |
| 4 | 41 | 148 |
| 5 | 53 | 148 |
| 6 | 65 | 148 |
| 7 | 76 | 148 |
| 8 | 96 | 148 |
| 9 | 101 | 148 |
| 0 | 101 | 148 |
| 0 | 5 | 14 |
| 1 | 25 | 10 |
| 0 | 167 | 9 |
| 1× | done |
| 1× | iter limit |
| 1× | iter limit |
| 1× | iter limit |
| 1× | unsound |
| 1× | iter limit |
| 1× | saturated |
| 1× | iter limit |
| 1× | iter limit |
| 1× | node limit |
Compiled 29 to 19 computations (34.5% saved)
(abs x)
Compiled 46 to 26 computations (43.5% saved)
Loading profile data...