bug323 (missed optimization)

Time bar (total: 1.7s)

analyze0.0ms (0%)

Algorithm
search
Search
ProbabilityValidUnknownPreconditionInfiniteDomainCan'tIter
0%0%25%75%0%0%0%0
100%25%0%75%0%0%0%1
Compiler

Compiled 12 to 9 computations (25% saved)

Precisions
Click to see histograms. Total time spent on operations: 0.0ms
Operation ival-acos, time spent: 0.0ms, 0.0% of total-time
Operation ival-sub, time spent: 0.0ms, 0.0% of total-time
Operation const, time spent: 0.0ms, 0.0% of total-time
Operation ival-and, time spent: 0.0ms, 0.0% of total-time
Operation ival-<=, time spent: 0.0ms, 0.0% of total-time

sample1.0s (62.6%)

Results
911.0ms8255×0valid
0.0ms0valid
Precisions
Click to see histograms. Total time spent on operations: 419.0ms
Operation ival-sub, time spent: 169.0ms, 40.0% of total-time
Operation ival-acos, time spent: 132.0ms, 31.0% of total-time
Operation ival-<=, time spent: 81.0ms, 19.0% of total-time
Operation const, time spent: 24.0ms, 6.0% of total-time
Operation ival-and, time spent: 13.0ms, 3.0% of total-time
Bogosity

preprocess442.0ms (26.7%)

Algorithm
egg-herbie
Rules
68×fma-def
28×sub-neg
18×distribute-lft-neg-in
18×associate--r+
18×associate-+l-
FPErrors
Click to see full error table
Ground TruthOverpredictionsExampleUnderpredictionsExampleSubexpression
00-0-x
00-0-(acos.f64 (-.f64 1 x))
00-0-(-.f64 1 x)
00-0-1
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
01368
12660
24060
37060
411160
515460
618060
718960
Stop Event
saturated
Calls
Call 1
Inputs
(acos.f64 (-.f64 1 x))
(acos.f64 (-.f64 1 x))
(acos.f64 (-.f64 1 (neg.f64 x)))
(neg.f64 (acos.f64 (-.f64 1 (neg.f64 x))))
Outputs
(acos.f64 (-.f64 1 x))
(acos.f64 (-.f64 1 x))
(acos.f64 (-.f64 1 (neg.f64 x)))
(acos.f64 (+.f64 1 x))
(neg.f64 (acos.f64 (-.f64 1 (neg.f64 x))))
(neg.f64 (acos.f64 (+.f64 1 x)))
Compiler

Compiled 27 to 20 computations (25.9% saved)

Precisions
Click to see histograms. Total time spent on operations: 288.0ms
Operation ival-sub, time spent: 223.0ms, 77.0% of total-time
Operation ival-acos, time spent: 53.0ms, 18.0% of total-time
Operation const, time spent: 12.0ms, 4.0% of total-time

eval0.0ms (0%)

Compiler

Compiled 1 to 1 computations (0% saved)

prune1.0ms (0%)

Alt Table
Click to see full alt table
StatusAccuracyProgram
96.7%
(acos.f64 (-.f64 1 x))
Compiler

Compiled 5 to 4 computations (20% saved)

localize143.0ms (8.7%)

Compiler

Compiled 11 to 8 computations (27.3% saved)

Precisions
Click to see histograms. Total time spent on operations: 91.0ms
Operation ival-sub, time spent: 60.0ms, 66.0% of total-time
Operation ival-acos, time spent: 25.0ms, 28.0% of total-time
Operation const, time spent: 6.0ms, 7.0% of total-time

eval0.0ms (0%)

Compiler

Compiled 1 to 1 computations (0% saved)

prune1.0ms (0.1%)

Pruning

1 alts after pruning (0 fresh and 1 done)

PrunedKeptTotal
New000
Fresh000
Picked011
Done000
Total011
Accuracy
96.7%
Counts
1 → 1
Alt Table
Click to see full alt table
StatusAccuracyProgram
96.7%
(acos.f64 (-.f64 1 x))
Compiler

Compiled 10 to 8 computations (20% saved)

simplify2.0ms (0.1%)

Algorithm
egg-herbie
Rules
sub-neg
+-commutative
1-exp
neg-mul-1
*-commutative
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0914
11614
22014
32214
42314
Stop Event
done
saturated
Calls
Call 1
Inputs
(acos.f64 (-.f64 1 x))
Outputs
(acos.f64 (-.f64 1 x))
Compiler

Compiled 5 to 4 computations (20% saved)

soundness0.0ms (0%)

end0.0ms (0%)

preprocess28.0ms (1.7%)

Compiler

Compiled 36 to 30 computations (16.7% saved)

Profiling

Loading profile data...