bug329 (missed optimization)

Time bar (total: 904.0ms)

analyze10.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: 3.0ms
ival-div: 1.0ms (33.9% of total)
ival->=: 1.0ms (33.9% of total)
ival-atan: 1.0ms (33.9% of total)
const: 0.0ms (0% of total)
backward-pass: 0.0ms (0% of total)

sample763.0ms (84.5%)

Results
549.0ms8256×0valid
Precisions
Click to see histograms. Total time spent on operations: 184.0ms
ival-div: 73.0ms (39.6% of total)
ival-atan: 53.0ms (28.8% of total)
ival->=: 48.0ms (26.1% of total)
const: 7.0ms (3.8% of total)
backward-pass: 3.0ms (1.6% of total)
Bogosity

preprocess43.0ms (4.8%)

Algorithm
egg-herbie
Rules
18×fma-define
15×sub-neg
10×+-commutative
div-sub
*-commutative
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))

explain38.0ms (4.2%)

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)
Results
26.0ms512×0valid
Compiler

Compiled 30 to 14 computations (53.3% saved)

Precisions
Click to see histograms. Total time spent on operations: 11.0ms
ival-div: 7.0ms (64.3% of total)
ival-atan: 3.0ms (27.6% of total)
const: 0.0ms (0% of total)
backward-pass: 0.0ms (0% of total)

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)

localize18.0ms (2%)

Results
13.0ms256×0valid
Compiler

Compiled 12 to 5 computations (58.3% saved)

Precisions
Click to see histograms. Total time spent on operations: 4.0ms
ival-div: 2.0ms (47.9% of total)
ival-atan: 2.0ms (47.9% of total)
const: 0.0ms (0% of total)
backward-pass: 0.0ms (0% of total)

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
saturated
Calls
Call 1
Inputs
(atan.f64 (/.f64 y x))
Outputs
(atan.f64 (/.f64 y x))

soundness0.0ms (0%)

Stop Event
done
Compiler

Compiled 6 to 4 computations (33.3% saved)

preprocess27.0ms (3%)

Compiler

Compiled 34 to 22 computations (35.3% saved)

end0.0ms (0%)

Profiling

Loading profile data...