bug329 (missed optimization)

Time bar (total: 1.0s)

analyze10.0ms (1%)

Algorithm
search
Search
ProbabilityValidUnknownPreconditionInfiniteDomainCan'tIter
0%0%50%50%0%0%0%0
0%0%50%50%0%0%0%1
50%25%25%50%0%0%0%2
50%25%25%50%0%0%0%3
75%37.5%12.5%50%0%0%0%4
75%37.5%12.5%50%0%0%0%5
87.5%43.7%6.2%50%0%0%0%6
87.5%43.7%6.2%50%0%0%0%7
93.8%46.8%3.1%50%0%0%0%8
93.8%46.8%3.1%50%0%0%0%9
96.9%48.4%1.6%50%0%0%0%10
96.9%48.4%1.6%50%0%0%0%11
98.4%49.2%0.8%50%0%0%0%12
Compiler

Compiled 9 to 6 computations (33.3% saved)

Precisions
Click to see histograms. Total time spent on operations: 3.0ms
Operation ival-div, time spent: 1.0ms, 34.0% of total-time
Operation ival->=, time spent: 1.0ms, 34.0% of total-time
Operation ival-atan, time spent: 1.0ms, 34.0% of total-time
Operation const, time spent: 0.0ms, 0.0% of total-time

sample844.0ms (83.9%)

Results
792.0ms8255×0valid
0.0ms0valid
Precisions
Click to see histograms. Total time spent on operations: 198.0ms
Operation ival-div, time spent: 79.0ms, 40.0% of total-time
Operation ival-atan, time spent: 58.0ms, 29.0% of total-time
Operation ival->=, time spent: 49.0ms, 25.0% of total-time
Operation const, time spent: 8.0ms, 4.0% of total-time
Operation backward-pass, time spent: 4.0ms, 2.0% of total-time
Bogosity

preprocess93.0ms (9.3%)

Algorithm
egg-herbie
Rules
18×fma-define
15×sub-neg
10×+-commutative
div-sub
*-commutative
FPErrors
Click to see full error table
Ground TruthOverpredictionsExampleUnderpredictionsExampleSubexpression
00-0-x
00-0-(atan.f64 (/.f64 y x))
00-0-y
00-0-(/.f64 y x)
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
020143
131143
243143
353143
468143
586143
6106143
7128143
8130143
Stop Event
saturated
Calls
Call 1
Inputs
(atan.f64 (/.f64 y x))
(atan.f64 (/.f64 y x))
(atan.f64 (/.f64 y (neg.f64 x)))
(atan.f64 (/.f64 (neg.f64 y) x))
(neg.f64 (atan.f64 (/.f64 y (neg.f64 x))))
(neg.f64 (atan.f64 (/.f64 (neg.f64 y) x)))
(atan.f64 (/.f64 x y))
Outputs
(atan.f64 (/.f64 y x))
(atan.f64 (/.f64 y x))
(atan.f64 (/.f64 y (neg.f64 x)))
(atan.f64 (/.f64 (neg.f64 y) x))
(atan.f64 (/.f64 (neg.f64 y) x))
(atan.f64 (/.f64 y (neg.f64 x)))
(neg.f64 (atan.f64 (/.f64 y (neg.f64 x))))
(neg.f64 (atan.f64 (/.f64 (neg.f64 y) x)))
(neg.f64 (atan.f64 (/.f64 (neg.f64 y) x)))
(neg.f64 (atan.f64 (/.f64 y (neg.f64 x))))
(atan.f64 (/.f64 x y))
Compiler

Compiled 30 to 14 computations (53.3% saved)

Precisions
Click to see histograms. Total time spent on operations: 9.0ms
Operation ival-div, time spent: 5.0ms, 56.0% of total-time
Operation ival-atan, time spent: 4.0ms, 45.0% of total-time
Operation const, time spent: 0.0ms, 0.0% of total-time

eval0.0ms (0%)

Compiler

Compiled 2 to 2 computations (0% saved)

prune1.0ms (0.1%)

Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(atan.f64 (/.f64 y x))
Compiler

Compiled 6 to 4 computations (33.3% saved)

localize25.0ms (2.5%)

Compiler

Compiled 12 to 5 computations (58.3% saved)

Precisions
Click to see histograms. Total time spent on operations: 5.0ms
Operation ival-atan, time spent: 2.0ms, 44.0% of total-time
Operation ival-div, time spent: 2.0ms, 44.0% of total-time
Operation const, time spent: 0.0ms, 0.0% of total-time

eval0.0ms (0%)

Compiler

Compiled 2 to 2 computations (0% saved)

prune1.0ms (0.1%)

Pruning

1 alts after pruning (0 fresh and 1 done)

PrunedKeptTotal
New000
Fresh000
Picked011
Done000
Total011
Accuracy
100.0%
Counts
1 → 1
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(atan.f64 (/.f64 y x))
Compiler

Compiled 12 to 8 computations (33.3% saved)

simplify2.0ms (0.2%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01017
Stop Event
done
saturated
Calls
Call 1
Inputs
(atan.f64 (/.f64 y x))
Outputs
(atan.f64 (/.f64 y x))
Compiler

Compiled 6 to 4 computations (33.3% saved)

soundness0.0ms (0%)

end0.0ms (0%)

preprocess30.0ms (3%)

Compiler

Compiled 34 to 22 computations (35.3% saved)

Profiling

Loading profile data...