bug329 (missed optimization)

Time bar (total: 1.1s)

analyze13.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-div, time spent: 4.0ms, 67.0% of total-time
Operation ival->=, time spent: 1.0ms, 17.0% of total-time
Operation ival-atan, time spent: 1.0ms, 17.0% of total-time
Operation const, time spent: 0.0ms, 0.0% of total-time

sample963.0ms (83.9%)

Results
754.0ms8256×256valid
Precisions
Click to see histograms. Total time spent on operations: 290.0ms
Operation ival-div, time spent: 140.0ms, 48.0% of total-time
Operation ival-atan, time spent: 93.0ms, 32.0% of total-time
Operation ival->=, time spent: 47.0ms, 16.0% of total-time
Operation const, time spent: 9.0ms, 3.0% of total-time
Bogosity

preprocess105.0ms (9.1%)

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
50.0ms512×256valid
Compiler

Compiled 30 to 14 computations (53.3% saved)

Precisions
Click to see histograms. Total time spent on operations: 13.0ms
Operation ival-div, time spent: 8.0ms, 64.0% of total-time
Operation ival-atan, time spent: 4.0ms, 32.0% of total-time
Operation const, time spent: 1.0ms, 8.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)

localize33.0ms (2.8%)

Results
19.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, 59.0% of total-time
Operation ival-atan, time spent: 2.0ms, 40.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%)

preprocess31.0ms (2.7%)

Compiler

Compiled 34 to 22 computations (35.3% saved)

Profiling

Loading profile data...