bug329 (missed optimization)

Time bar (total: 1.1s)

analyze12.0ms (1.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: 6.0ms
Operation ival-atan, time spent: 3.0ms, 54.0% of total-time
Operation ival-div, time spent: 1.0ms, 18.0% of total-time
Operation ival->=, time spent: 1.0ms, 18.0% of total-time
Operation const, time spent: 0.0ms, 0.0% of total-time

sample930.0ms (84.9%)

Results
675.0ms8256×256valid
Precisions
Click to see histograms. Total time spent on operations: 266.0ms
Operation ival-atan, time spent: 125.0ms, 47.0% of total-time
Operation ival-div, time spent: 80.0ms, 30.0% of total-time
Operation ival->=, time spent: 51.0ms, 19.0% of total-time
Operation const, time spent: 9.0ms, 3.0% of total-time
Bogosity

preprocess94.0ms (8.6%)

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))
Results
39.0ms512×256valid
Compiler

Compiled 30 to 14 computations (53.3% saved)

Precisions
Click to see histograms. Total time spent on operations: 10.0ms
Operation ival-div, time spent: 5.0ms, 53.0% of total-time
Operation ival-atan, time spent: 4.0ms, 42.0% of total-time
Operation const, time spent: 1.0ms, 11.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)

localize29.0ms (2.6%)

Results
22.0ms256×256valid
Compiler

Compiled 12 to 5 computations (58.3% saved)

Precisions
Click to see histograms. Total time spent on operations: 5.0ms
Operation ival-div, time spent: 3.0ms, 55.0% of total-time
Operation ival-atan, time spent: 2.0ms, 37.0% of total-time
Operation const, time spent: 1.0ms, 18.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%)

preprocess27.0ms (2.5%)

Compiler

Compiled 34 to 22 computations (35.3% saved)

Profiling

Loading profile data...