
Time bar (total: 3.1s)
| 1× | search |
| Probability | Valid | Unknown | Precondition | Infinite | Domain | Can't | Iter |
|---|---|---|---|---|---|---|---|
| 0% | 0% | 0.1% | 99.9% | 0% | 0% | 0% | 0 |
| 0% | 0% | 0.1% | 99.9% | 0% | 0% | 0% | 1 |
| 0% | 0% | 0.1% | 99.9% | 0% | 0% | 0% | 2 |
| 25% | 0% | 0.1% | 99.9% | 0% | 0% | 0% | 3 |
| 25% | 0% | 0.1% | 99.9% | 0% | 0% | 0% | 4 |
| 37.5% | 0% | 0.1% | 99.9% | 0% | 0% | 0% | 5 |
| 56.2% | 0.1% | 0% | 99.9% | 0% | 0% | 0% | 6 |
| 56.2% | 0.1% | 0% | 99.9% | 0% | 0% | 0% | 7 |
| 65.6% | 0.1% | 0% | 99.9% | 0% | 0% | 0% | 8 |
| 76.6% | 0.1% | 0% | 99.9% | 0% | 0% | 0% | 9 |
| 76.6% | 0.1% | 0% | 99.9% | 0% | 0% | 0% | 10 |
| 82% | 0.1% | 0% | 99.9% | 0% | 0% | 0% | 11 |
| 87.9% | 0.1% | 0% | 99.9% | 0% | 0% | 0% | 12 |
Compiled 31 to 21 computations (32.3% saved)
| 677.0ms | 8 180× | 0 | valid |
| 8.0ms | 76× | 1 | valid |
const: 135.0ms (29.2% of total)ival-<=: 116.0ms (25.1% of total)ival-sub: 67.0ms (14.5% of total)ival-mult: 60.0ms (13% of total)ival-add: 42.0ms (9.1% of total)ival-and: 30.0ms (6.5% of total)exact: 8.0ms (1.7% of total)ival-assert: 3.0ms (0.6% of total)adjust: 2.0ms (0.4% of total)| Ground Truth | Overpredictions | Example | Underpredictions | Example | Subexpression |
|---|---|---|---|---|---|
| 0 | 0 | - | 0 | - | #s(literal 1 binary32) |
| 0 | 0 | - | 0 | - | (*.f32 ux maxCos) |
| 0 | 0 | - | 0 | - | maxCos |
| 0 | 0 | - | 0 | - | ux |
| 0 | 0 | - | 0 | - | (+.f32 (-.f32 #s(literal 1 binary32) ux) (*.f32 ux maxCos)) |
| 0 | 0 | - | 0 | - | (-.f32 #s(literal 1 binary32) ux) |
| Predicted + | Predicted - | |
|---|---|---|
| + | 0 | 0 |
| - | 0 | 256 |
| Predicted + | Predicted Maybe | Predicted - | |
|---|---|---|---|
| + | 0 | 0 | 0 |
| - | 0 | 0 | 256 |
| number | freq |
|---|---|
| 0 | 256 |
| Predicted + | Predicted Maybe | Predicted - | |
|---|---|---|---|
| + | 0 | 0 | 0 |
| - | 0 | 0 | 1 |
| 23.0ms | 504× | 0 | valid |
| 1.0ms | 8× | 1 | valid |
Compiled 59 to 32 computations (45.8% saved)
ival-mult: 4.0ms (39.9% of total)ival-add: 3.0ms (29.9% of total)ival-sub: 3.0ms (29.9% of total)adjust: 0.0ms (0% of total)ival-true: 0.0ms (0% of total)exact: 0.0ms (0% of total)ival-assert: 0.0ms (0% of total)| 1× | egg-herbie |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 25 | 72 |
| 1 | 78 | 63 |
| 2 | 215 | 63 |
| 3 | 586 | 63 |
| 4 | 1301 | 63 |
| 5 | 1679 | 63 |
| 6 | 1809 | 63 |
| 7 | 1829 | 63 |
| 0 | 6 | 7 |
| 0 | 9 | 7 |
| 1 | 17 | 7 |
| 2 | 35 | 7 |
| 3 | 64 | 7 |
| 4 | 143 | 7 |
| 5 | 290 | 7 |
| 6 | 426 | 7 |
| 7 | 464 | 7 |
| 8 | 469 | 7 |
| 0 | 469 | 6 |
| 1× | iter limit |
| 1× | saturated |
| 1× | iter limit |
| 1× | saturated |
| Inputs |
|---|
(+.f32 (-.f32 #s(literal 1 binary32) ux) (*.f32 ux maxCos)) |
| Outputs |
|---|
(+.f32 (-.f32 #s(literal 1 binary32) ux) (*.f32 ux maxCos)) |
(fma.f32 maxCos ux (-.f32 #s(literal 1 binary32) ux)) |
(abs uy)
Compiled 7 to 7 computations (0% saved)
Compiled 0 to 3 computations (-∞% saved)
| Status | Accuracy | Program |
|---|---|---|
| ▶ | 99.9% | (+.f32 (-.f32 #s(literal 1 binary32) ux) (*.f32 ux maxCos)) |
Compiled 7 to 7 computations (0% saved)
| 1× | egg-herbie |
Found 3 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| cost-diff | 0 | (*.f32 ux maxCos) | |
| cost-diff | 0 | (-.f32 #s(literal 1 binary32) ux) | |
| cost-diff | 64 | (+.f32 (-.f32 #s(literal 1 binary32) ux) (*.f32 ux maxCos)) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 6 | 16 |
| 0 | 9 | 16 |
| 1 | 17 | 16 |
| 2 | 35 | 16 |
| 3 | 64 | 16 |
| 4 | 143 | 16 |
| 5 | 290 | 16 |
| 6 | 426 | 16 |
| 7 | 464 | 16 |
| 8 | 469 | 16 |
| 0 | 469 | 15 |
| 1× | iter limit |
| 1× | saturated |
| 1× | iter limit |
| Inputs |
|---|
(+.f32 (-.f32 #s(literal 1 binary32) ux) (*.f32 ux maxCos)) |
(-.f32 #s(literal 1 binary32) ux) |
#s(literal 1 binary32) |
ux |
(*.f32 ux maxCos) |
maxCos |
| Outputs |
|---|
(+.f32 (-.f32 #s(literal 1 binary32) ux) (*.f32 ux maxCos)) |
(fma.f32 maxCos ux (-.f32 #s(literal 1 binary32) ux)) |
(-.f32 #s(literal 1 binary32) ux) |
#s(literal 1 binary32) |
ux |
(*.f32 ux maxCos) |
(*.f32 maxCos ux) |
maxCos |
Found 3 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| accuracy | 0 | (-.f32 #s(literal 1 binary32) ux) | |
| accuracy | 0 | (*.f32 ux maxCos) | |
| accuracy | 0.04296875 | (+.f32 (-.f32 #s(literal 1 binary32) ux) (*.f32 ux maxCos)) |
| 12.0ms | 252× | 0 | valid |
| 0.0ms | 4× | 1 | valid |
Compiled 34 to 16 computations (52.9% saved)
ival-mult: 2.0ms (41% of total)ival-add: 1.0ms (20.5% of total)ival-sub: 1.0ms (20.5% of total)adjust: 0.0ms (0% of total)ival-true: 0.0ms (0% of total)exact: 0.0ms (0% of total)ival-assert: 0.0ms (0% of total)| Inputs |
|---|
#s(alt (+.f32 (-.f32 #s(literal 1 binary32) ux) (*.f32 ux maxCos)) (patch (+.f32 (-.f32 #s(literal 1 binary32) ux) (*.f32 ux maxCos)) #<representation binary32>) () ()) |
#s(alt (-.f32 #s(literal 1 binary32) ux) (patch (-.f32 #s(literal 1 binary32) ux) #<representation binary32>) () ()) |
#s(alt (*.f32 ux maxCos) (patch (*.f32 ux maxCos) #<representation binary32>) () ()) |
| Outputs |
|---|
#s(alt (- 1 ux) (taylor 0 maxCos) (#s(alt (+.f32 (-.f32 #s(literal 1 binary32) ux) (*.f32 ux maxCos)) (patch (+.f32 (-.f32 #s(literal 1 binary32) ux) (*.f32 ux maxCos)) #<representation binary32>) () ())) ()) |
#s(alt (- (+ 1 (* maxCos ux)) ux) (taylor 0 maxCos) (#s(alt (+.f32 (-.f32 #s(literal 1 binary32) ux) (*.f32 ux maxCos)) (patch (+.f32 (-.f32 #s(literal 1 binary32) ux) (*.f32 ux maxCos)) #<representation binary32>) () ())) ()) |
#s(alt (- (+ 1 (* maxCos ux)) ux) (taylor 0 maxCos) (#s(alt (+.f32 (-.f32 #s(literal 1 binary32) ux) (*.f32 ux maxCos)) (patch (+.f32 (-.f32 #s(literal 1 binary32) ux) (*.f32 ux maxCos)) #<representation binary32>) () ())) ()) |
#s(alt (- (+ 1 (* maxCos ux)) ux) (taylor 0 maxCos) (#s(alt (+.f32 (-.f32 #s(literal 1 binary32) ux) (*.f32 ux maxCos)) (patch (+.f32 (-.f32 #s(literal 1 binary32) ux) (*.f32 ux maxCos)) #<representation binary32>) () ())) ()) |
#s(alt (* maxCos ux) (taylor 0 maxCos) (#s(alt (*.f32 ux maxCos) (patch (*.f32 ux maxCos) #<representation binary32>) () ())) ()) |
#s(alt (* maxCos ux) (taylor 0 maxCos) (#s(alt (*.f32 ux maxCos) (patch (*.f32 ux maxCos) #<representation binary32>) () ())) ()) |
#s(alt (* maxCos ux) (taylor 0 maxCos) (#s(alt (*.f32 ux maxCos) (patch (*.f32 ux maxCos) #<representation binary32>) () ())) ()) |
#s(alt (* maxCos ux) (taylor 0 maxCos) (#s(alt (*.f32 ux maxCos) (patch (*.f32 ux maxCos) #<representation binary32>) () ())) ()) |
#s(alt (* maxCos ux) (taylor inf maxCos) (#s(alt (+.f32 (-.f32 #s(literal 1 binary32) ux) (*.f32 ux maxCos)) (patch (+.f32 (-.f32 #s(literal 1 binary32) ux) (*.f32 ux maxCos)) #<representation binary32>) () ())) ()) |
#s(alt (* maxCos (- (+ ux (/ 1 maxCos)) (/ ux maxCos))) (taylor inf maxCos) (#s(alt (+.f32 (-.f32 #s(literal 1 binary32) ux) (*.f32 ux maxCos)) (patch (+.f32 (-.f32 #s(literal 1 binary32) ux) (*.f32 ux maxCos)) #<representation binary32>) () ())) ()) |
#s(alt (* maxCos (- (+ ux (/ 1 maxCos)) (/ ux maxCos))) (taylor inf maxCos) (#s(alt (+.f32 (-.f32 #s(literal 1 binary32) ux) (*.f32 ux maxCos)) (patch (+.f32 (-.f32 #s(literal 1 binary32) ux) (*.f32 ux maxCos)) #<representation binary32>) () ())) ()) |
#s(alt (* maxCos (- (+ ux (/ 1 maxCos)) (/ ux maxCos))) (taylor inf maxCos) (#s(alt (+.f32 (-.f32 #s(literal 1 binary32) ux) (*.f32 ux maxCos)) (patch (+.f32 (-.f32 #s(literal 1 binary32) ux) (*.f32 ux maxCos)) #<representation binary32>) () ())) ()) |
#s(alt (* maxCos ux) (taylor inf maxCos) (#s(alt (*.f32 ux maxCos) (patch (*.f32 ux maxCos) #<representation binary32>) () ())) ()) |
#s(alt (* maxCos ux) (taylor inf maxCos) (#s(alt (*.f32 ux maxCos) (patch (*.f32 ux maxCos) #<representation binary32>) () ())) ()) |
#s(alt (* maxCos ux) (taylor inf maxCos) (#s(alt (*.f32 ux maxCos) (patch (*.f32 ux maxCos) #<representation binary32>) () ())) ()) |
#s(alt (* maxCos ux) (taylor inf maxCos) (#s(alt (*.f32 ux maxCos) (patch (*.f32 ux maxCos) #<representation binary32>) () ())) ()) |
#s(alt (* maxCos ux) (taylor -inf maxCos) (#s(alt (+.f32 (-.f32 #s(literal 1 binary32) ux) (*.f32 ux maxCos)) (patch (+.f32 (-.f32 #s(literal 1 binary32) ux) (*.f32 ux maxCos)) #<representation binary32>) () ())) ()) |
#s(alt (* -1 (* maxCos (+ (* -1 ux) (* -1 (/ (- 1 ux) maxCos))))) (taylor -inf maxCos) (#s(alt (+.f32 (-.f32 #s(literal 1 binary32) ux) (*.f32 ux maxCos)) (patch (+.f32 (-.f32 #s(literal 1 binary32) ux) (*.f32 ux maxCos)) #<representation binary32>) () ())) ()) |
#s(alt (* -1 (* maxCos (+ (* -1 ux) (* -1 (/ (- 1 ux) maxCos))))) (taylor -inf maxCos) (#s(alt (+.f32 (-.f32 #s(literal 1 binary32) ux) (*.f32 ux maxCos)) (patch (+.f32 (-.f32 #s(literal 1 binary32) ux) (*.f32 ux maxCos)) #<representation binary32>) () ())) ()) |
#s(alt (* -1 (* maxCos (+ (* -1 ux) (* -1 (/ (- 1 ux) maxCos))))) (taylor -inf maxCos) (#s(alt (+.f32 (-.f32 #s(literal 1 binary32) ux) (*.f32 ux maxCos)) (patch (+.f32 (-.f32 #s(literal 1 binary32) ux) (*.f32 ux maxCos)) #<representation binary32>) () ())) ()) |
#s(alt (* maxCos ux) (taylor -inf maxCos) (#s(alt (*.f32 ux maxCos) (patch (*.f32 ux maxCos) #<representation binary32>) () ())) ()) |
#s(alt (* maxCos ux) (taylor -inf maxCos) (#s(alt (*.f32 ux maxCos) (patch (*.f32 ux maxCos) #<representation binary32>) () ())) ()) |
#s(alt (* maxCos ux) (taylor -inf maxCos) (#s(alt (*.f32 ux maxCos) (patch (*.f32 ux maxCos) #<representation binary32>) () ())) ()) |
#s(alt (* maxCos ux) (taylor -inf maxCos) (#s(alt (*.f32 ux maxCos) (patch (*.f32 ux maxCos) #<representation binary32>) () ())) ()) |
#s(alt 1 (taylor 0 ux) (#s(alt (+.f32 (-.f32 #s(literal 1 binary32) ux) (*.f32 ux maxCos)) (patch (+.f32 (-.f32 #s(literal 1 binary32) ux) (*.f32 ux maxCos)) #<representation binary32>) () ())) ()) |
#s(alt (+ 1 (* ux (- maxCos 1))) (taylor 0 ux) (#s(alt (+.f32 (-.f32 #s(literal 1 binary32) ux) (*.f32 ux maxCos)) (patch (+.f32 (-.f32 #s(literal 1 binary32) ux) (*.f32 ux maxCos)) #<representation binary32>) () ())) ()) |
#s(alt (+ 1 (* ux (- maxCos 1))) (taylor 0 ux) (#s(alt (+.f32 (-.f32 #s(literal 1 binary32) ux) (*.f32 ux maxCos)) (patch (+.f32 (-.f32 #s(literal 1 binary32) ux) (*.f32 ux maxCos)) #<representation binary32>) () ())) ()) |
#s(alt (+ 1 (* ux (- maxCos 1))) (taylor 0 ux) (#s(alt (+.f32 (-.f32 #s(literal 1 binary32) ux) (*.f32 ux maxCos)) (patch (+.f32 (-.f32 #s(literal 1 binary32) ux) (*.f32 ux maxCos)) #<representation binary32>) () ())) ()) |
#s(alt 1 (taylor 0 ux) (#s(alt (-.f32 #s(literal 1 binary32) ux) (patch (-.f32 #s(literal 1 binary32) ux) #<representation binary32>) () ())) ()) |
#s(alt (+ 1 (* -1 ux)) (taylor 0 ux) (#s(alt (-.f32 #s(literal 1 binary32) ux) (patch (-.f32 #s(literal 1 binary32) ux) #<representation binary32>) () ())) ()) |
#s(alt (+ 1 (* -1 ux)) (taylor 0 ux) (#s(alt (-.f32 #s(literal 1 binary32) ux) (patch (-.f32 #s(literal 1 binary32) ux) #<representation binary32>) () ())) ()) |
#s(alt (+ 1 (* -1 ux)) (taylor 0 ux) (#s(alt (-.f32 #s(literal 1 binary32) ux) (patch (-.f32 #s(literal 1 binary32) ux) #<representation binary32>) () ())) ()) |
#s(alt (* maxCos ux) (taylor 0 ux) (#s(alt (*.f32 ux maxCos) (patch (*.f32 ux maxCos) #<representation binary32>) () ())) ()) |
#s(alt (* maxCos ux) (taylor 0 ux) (#s(alt (*.f32 ux maxCos) (patch (*.f32 ux maxCos) #<representation binary32>) () ())) ()) |
#s(alt (* maxCos ux) (taylor 0 ux) (#s(alt (*.f32 ux maxCos) (patch (*.f32 ux maxCos) #<representation binary32>) () ())) ()) |
#s(alt (* maxCos ux) (taylor 0 ux) (#s(alt (*.f32 ux maxCos) (patch (*.f32 ux maxCos) #<representation binary32>) () ())) ()) |
#s(alt (* ux (- maxCos 1)) (taylor inf ux) (#s(alt (+.f32 (-.f32 #s(literal 1 binary32) ux) (*.f32 ux maxCos)) (patch (+.f32 (-.f32 #s(literal 1 binary32) ux) (*.f32 ux maxCos)) #<representation binary32>) () ())) ()) |
#s(alt (* ux (- (+ maxCos (/ 1 ux)) 1)) (taylor inf ux) (#s(alt (+.f32 (-.f32 #s(literal 1 binary32) ux) (*.f32 ux maxCos)) (patch (+.f32 (-.f32 #s(literal 1 binary32) ux) (*.f32 ux maxCos)) #<representation binary32>) () ())) ()) |
#s(alt (* ux (- (+ maxCos (/ 1 ux)) 1)) (taylor inf ux) (#s(alt (+.f32 (-.f32 #s(literal 1 binary32) ux) (*.f32 ux maxCos)) (patch (+.f32 (-.f32 #s(literal 1 binary32) ux) (*.f32 ux maxCos)) #<representation binary32>) () ())) ()) |
#s(alt (* ux (- (+ maxCos (/ 1 ux)) 1)) (taylor inf ux) (#s(alt (+.f32 (-.f32 #s(literal 1 binary32) ux) (*.f32 ux maxCos)) (patch (+.f32 (-.f32 #s(literal 1 binary32) ux) (*.f32 ux maxCos)) #<representation binary32>) () ())) ()) |
#s(alt (* -1 ux) (taylor inf ux) (#s(alt (-.f32 #s(literal 1 binary32) ux) (patch (-.f32 #s(literal 1 binary32) ux) #<representation binary32>) () ())) ()) |
#s(alt (* ux (- (/ 1 ux) 1)) (taylor inf ux) (#s(alt (-.f32 #s(literal 1 binary32) ux) (patch (-.f32 #s(literal 1 binary32) ux) #<representation binary32>) () ())) ()) |
#s(alt (* ux (- (/ 1 ux) 1)) (taylor inf ux) (#s(alt (-.f32 #s(literal 1 binary32) ux) (patch (-.f32 #s(literal 1 binary32) ux) #<representation binary32>) () ())) ()) |
#s(alt (* ux (- (/ 1 ux) 1)) (taylor inf ux) (#s(alt (-.f32 #s(literal 1 binary32) ux) (patch (-.f32 #s(literal 1 binary32) ux) #<representation binary32>) () ())) ()) |
#s(alt (* maxCos ux) (taylor inf ux) (#s(alt (*.f32 ux maxCos) (patch (*.f32 ux maxCos) #<representation binary32>) () ())) ()) |
#s(alt (* maxCos ux) (taylor inf ux) (#s(alt (*.f32 ux maxCos) (patch (*.f32 ux maxCos) #<representation binary32>) () ())) ()) |
#s(alt (* maxCos ux) (taylor inf ux) (#s(alt (*.f32 ux maxCos) (patch (*.f32 ux maxCos) #<representation binary32>) () ())) ()) |
#s(alt (* maxCos ux) (taylor inf ux) (#s(alt (*.f32 ux maxCos) (patch (*.f32 ux maxCos) #<representation binary32>) () ())) ()) |
#s(alt (* -1 (* ux (+ 1 (* -1 maxCos)))) (taylor -inf ux) (#s(alt (+.f32 (-.f32 #s(literal 1 binary32) ux) (*.f32 ux maxCos)) (patch (+.f32 (-.f32 #s(literal 1 binary32) ux) (*.f32 ux maxCos)) #<representation binary32>) () ())) ()) |
#s(alt (* -1 (* ux (- (+ 1 (* -1 maxCos)) (/ 1 ux)))) (taylor -inf ux) (#s(alt (+.f32 (-.f32 #s(literal 1 binary32) ux) (*.f32 ux maxCos)) (patch (+.f32 (-.f32 #s(literal 1 binary32) ux) (*.f32 ux maxCos)) #<representation binary32>) () ())) ()) |
#s(alt (* -1 (* ux (- (+ 1 (* -1 maxCos)) (/ 1 ux)))) (taylor -inf ux) (#s(alt (+.f32 (-.f32 #s(literal 1 binary32) ux) (*.f32 ux maxCos)) (patch (+.f32 (-.f32 #s(literal 1 binary32) ux) (*.f32 ux maxCos)) #<representation binary32>) () ())) ()) |
#s(alt (* -1 (* ux (- (+ 1 (* -1 maxCos)) (/ 1 ux)))) (taylor -inf ux) (#s(alt (+.f32 (-.f32 #s(literal 1 binary32) ux) (*.f32 ux maxCos)) (patch (+.f32 (-.f32 #s(literal 1 binary32) ux) (*.f32 ux maxCos)) #<representation binary32>) () ())) ()) |
#s(alt (* -1 ux) (taylor -inf ux) (#s(alt (-.f32 #s(literal 1 binary32) ux) (patch (-.f32 #s(literal 1 binary32) ux) #<representation binary32>) () ())) ()) |
#s(alt (* -1 (* ux (- 1 (/ 1 ux)))) (taylor -inf ux) (#s(alt (-.f32 #s(literal 1 binary32) ux) (patch (-.f32 #s(literal 1 binary32) ux) #<representation binary32>) () ())) ()) |
#s(alt (* -1 (* ux (- 1 (/ 1 ux)))) (taylor -inf ux) (#s(alt (-.f32 #s(literal 1 binary32) ux) (patch (-.f32 #s(literal 1 binary32) ux) #<representation binary32>) () ())) ()) |
#s(alt (* -1 (* ux (- 1 (/ 1 ux)))) (taylor -inf ux) (#s(alt (-.f32 #s(literal 1 binary32) ux) (patch (-.f32 #s(literal 1 binary32) ux) #<representation binary32>) () ())) ()) |
#s(alt (* maxCos ux) (taylor -inf ux) (#s(alt (*.f32 ux maxCos) (patch (*.f32 ux maxCos) #<representation binary32>) () ())) ()) |
#s(alt (* maxCos ux) (taylor -inf ux) (#s(alt (*.f32 ux maxCos) (patch (*.f32 ux maxCos) #<representation binary32>) () ())) ()) |
#s(alt (* maxCos ux) (taylor -inf ux) (#s(alt (*.f32 ux maxCos) (patch (*.f32 ux maxCos) #<representation binary32>) () ())) ()) |
#s(alt (* maxCos ux) (taylor -inf ux) (#s(alt (*.f32 ux maxCos) (patch (*.f32 ux maxCos) #<representation binary32>) () ())) ()) |
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | ux | @ | inf | ((+ (- 1 ux) (* ux maxCos)) (- 1 ux) (* ux maxCos)) |
| 1.0ms | ux | @ | -inf | ((+ (- 1 ux) (* ux maxCos)) (- 1 ux) (* ux maxCos)) |
| 1.0ms | maxCos | @ | -inf | ((+ (- 1 ux) (* ux maxCos)) (- 1 ux) (* ux maxCos)) |
| 0.0ms | maxCos | @ | 0 | ((+ (- 1 ux) (* ux maxCos)) (- 1 ux) (* ux maxCos)) |
| 0.0ms | maxCos | @ | inf | ((+ (- 1 ux) (* ux maxCos)) (- 1 ux) (* ux maxCos)) |
| 1× | egg-herbie |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 39 | 250 |
| 1 | 110 | 250 |
| 2 | 306 | 250 |
| 3 | 848 | 250 |
| 4 | 2091 | 250 |
| 5 | 3292 | 250 |
| 6 | 4316 | 250 |
| 7 | 5345 | 250 |
| 8 | 6781 | 250 |
| 9 | 7325 | 250 |
| 10 | 7658 | 250 |
| 11 | 7962 | 250 |
| 0 | 8013 | 232 |
| 1× | iter limit |
| 1× | node limit |
| Inputs |
|---|
(- 1 ux) |
(- (+ 1 (* maxCos ux)) ux) |
(- (+ 1 (* maxCos ux)) ux) |
(- (+ 1 (* maxCos ux)) ux) |
(* maxCos ux) |
(* maxCos ux) |
(* maxCos ux) |
(* maxCos ux) |
(* maxCos ux) |
(* maxCos (- (+ ux (/ 1 maxCos)) (/ ux maxCos))) |
(* maxCos (- (+ ux (/ 1 maxCos)) (/ ux maxCos))) |
(* maxCos (- (+ ux (/ 1 maxCos)) (/ ux maxCos))) |
(* maxCos ux) |
(* maxCos ux) |
(* maxCos ux) |
(* maxCos ux) |
(* maxCos ux) |
(* -1 (* maxCos (+ (* -1 ux) (* -1 (/ (- 1 ux) maxCos))))) |
(* -1 (* maxCos (+ (* -1 ux) (* -1 (/ (- 1 ux) maxCos))))) |
(* -1 (* maxCos (+ (* -1 ux) (* -1 (/ (- 1 ux) maxCos))))) |
(* maxCos ux) |
(* maxCos ux) |
(* maxCos ux) |
(* maxCos ux) |
1 |
(+ 1 (* ux (- maxCos 1))) |
(+ 1 (* ux (- maxCos 1))) |
(+ 1 (* ux (- maxCos 1))) |
1 |
(+ 1 (* -1 ux)) |
(+ 1 (* -1 ux)) |
(+ 1 (* -1 ux)) |
(* maxCos ux) |
(* maxCos ux) |
(* maxCos ux) |
(* maxCos ux) |
(* ux (- maxCos 1)) |
(* ux (- (+ maxCos (/ 1 ux)) 1)) |
(* ux (- (+ maxCos (/ 1 ux)) 1)) |
(* ux (- (+ maxCos (/ 1 ux)) 1)) |
(* -1 ux) |
(* ux (- (/ 1 ux) 1)) |
(* ux (- (/ 1 ux) 1)) |
(* ux (- (/ 1 ux) 1)) |
(* maxCos ux) |
(* maxCos ux) |
(* maxCos ux) |
(* maxCos ux) |
(* -1 (* ux (+ 1 (* -1 maxCos)))) |
(* -1 (* ux (- (+ 1 (* -1 maxCos)) (/ 1 ux)))) |
(* -1 (* ux (- (+ 1 (* -1 maxCos)) (/ 1 ux)))) |
(* -1 (* ux (- (+ 1 (* -1 maxCos)) (/ 1 ux)))) |
(* -1 ux) |
(* -1 (* ux (- 1 (/ 1 ux)))) |
(* -1 (* ux (- 1 (/ 1 ux)))) |
(* -1 (* ux (- 1 (/ 1 ux)))) |
(* maxCos ux) |
(* maxCos ux) |
(* maxCos ux) |
(* maxCos ux) |
| Outputs |
|---|
(- 1 ux) |
(-.f32 #s(literal 1 binary32) ux) |
(- (+ 1 (* maxCos ux)) ux) |
(-.f32 (fma.f32 maxCos ux #s(literal 1 binary32)) ux) |
(- (+ 1 (* maxCos ux)) ux) |
(-.f32 (fma.f32 maxCos ux #s(literal 1 binary32)) ux) |
(- (+ 1 (* maxCos ux)) ux) |
(-.f32 (fma.f32 maxCos ux #s(literal 1 binary32)) ux) |
(* maxCos ux) |
(*.f32 maxCos ux) |
(* maxCos ux) |
(*.f32 maxCos ux) |
(* maxCos ux) |
(*.f32 maxCos ux) |
(* maxCos ux) |
(*.f32 maxCos ux) |
(* maxCos ux) |
(*.f32 maxCos ux) |
(* maxCos (- (+ ux (/ 1 maxCos)) (/ ux maxCos))) |
(-.f32 (fma.f32 maxCos ux #s(literal 1 binary32)) ux) |
(* maxCos (- (+ ux (/ 1 maxCos)) (/ ux maxCos))) |
(-.f32 (fma.f32 maxCos ux #s(literal 1 binary32)) ux) |
(* maxCos (- (+ ux (/ 1 maxCos)) (/ ux maxCos))) |
(-.f32 (fma.f32 maxCos ux #s(literal 1 binary32)) ux) |
(* maxCos ux) |
(*.f32 maxCos ux) |
(* maxCos ux) |
(*.f32 maxCos ux) |
(* maxCos ux) |
(*.f32 maxCos ux) |
(* maxCos ux) |
(*.f32 maxCos ux) |
(* maxCos ux) |
(*.f32 maxCos ux) |
(* -1 (* maxCos (+ (* -1 ux) (* -1 (/ (- 1 ux) maxCos))))) |
(-.f32 (fma.f32 maxCos ux #s(literal 1 binary32)) ux) |
(* -1 (* maxCos (+ (* -1 ux) (* -1 (/ (- 1 ux) maxCos))))) |
(-.f32 (fma.f32 maxCos ux #s(literal 1 binary32)) ux) |
(* -1 (* maxCos (+ (* -1 ux) (* -1 (/ (- 1 ux) maxCos))))) |
(-.f32 (fma.f32 maxCos ux #s(literal 1 binary32)) ux) |
(* maxCos ux) |
(*.f32 maxCos ux) |
(* maxCos ux) |
(*.f32 maxCos ux) |
(* maxCos ux) |
(*.f32 maxCos ux) |
(* maxCos ux) |
(*.f32 maxCos ux) |
1 |
#s(literal 1 binary32) |
(+ 1 (* ux (- maxCos 1))) |
(-.f32 (fma.f32 maxCos ux #s(literal 1 binary32)) ux) |
(+ 1 (* ux (- maxCos 1))) |
(-.f32 (fma.f32 maxCos ux #s(literal 1 binary32)) ux) |
(+ 1 (* ux (- maxCos 1))) |
(-.f32 (fma.f32 maxCos ux #s(literal 1 binary32)) ux) |
1 |
#s(literal 1 binary32) |
(+ 1 (* -1 ux)) |
(-.f32 #s(literal 1 binary32) ux) |
(+ 1 (* -1 ux)) |
(-.f32 #s(literal 1 binary32) ux) |
(+ 1 (* -1 ux)) |
(-.f32 #s(literal 1 binary32) ux) |
(* maxCos ux) |
(*.f32 maxCos ux) |
(* maxCos ux) |
(*.f32 maxCos ux) |
(* maxCos ux) |
(*.f32 maxCos ux) |
(* maxCos ux) |
(*.f32 maxCos ux) |
(* ux (- maxCos 1)) |
(-.f32 (*.f32 maxCos ux) ux) |
(* ux (- (+ maxCos (/ 1 ux)) 1)) |
(-.f32 (fma.f32 maxCos ux #s(literal 1 binary32)) ux) |
(* ux (- (+ maxCos (/ 1 ux)) 1)) |
(-.f32 (fma.f32 maxCos ux #s(literal 1 binary32)) ux) |
(* ux (- (+ maxCos (/ 1 ux)) 1)) |
(-.f32 (fma.f32 maxCos ux #s(literal 1 binary32)) ux) |
(* -1 ux) |
(neg.f32 ux) |
(* ux (- (/ 1 ux) 1)) |
(-.f32 #s(literal 1 binary32) ux) |
(* ux (- (/ 1 ux) 1)) |
(-.f32 #s(literal 1 binary32) ux) |
(* ux (- (/ 1 ux) 1)) |
(-.f32 #s(literal 1 binary32) ux) |
(* maxCos ux) |
(*.f32 maxCos ux) |
(* maxCos ux) |
(*.f32 maxCos ux) |
(* maxCos ux) |
(*.f32 maxCos ux) |
(* maxCos ux) |
(*.f32 maxCos ux) |
(* -1 (* ux (+ 1 (* -1 maxCos)))) |
(-.f32 (*.f32 maxCos ux) ux) |
(* -1 (* ux (- (+ 1 (* -1 maxCos)) (/ 1 ux)))) |
(-.f32 (fma.f32 maxCos ux #s(literal 1 binary32)) ux) |
(* -1 (* ux (- (+ 1 (* -1 maxCos)) (/ 1 ux)))) |
(-.f32 (fma.f32 maxCos ux #s(literal 1 binary32)) ux) |
(* -1 (* ux (- (+ 1 (* -1 maxCos)) (/ 1 ux)))) |
(-.f32 (fma.f32 maxCos ux #s(literal 1 binary32)) ux) |
(* -1 ux) |
(neg.f32 ux) |
(* -1 (* ux (- 1 (/ 1 ux)))) |
(-.f32 #s(literal 1 binary32) ux) |
(* -1 (* ux (- 1 (/ 1 ux)))) |
(-.f32 #s(literal 1 binary32) ux) |
(* -1 (* ux (- 1 (/ 1 ux)))) |
(-.f32 #s(literal 1 binary32) ux) |
(* maxCos ux) |
(*.f32 maxCos ux) |
(* maxCos ux) |
(*.f32 maxCos ux) |
(* maxCos ux) |
(*.f32 maxCos ux) |
(* maxCos ux) |
(*.f32 maxCos ux) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 6 | 13 |
| 0 | 9 | 13 |
| 1 | 42 | 13 |
| 2 | 343 | 13 |
| 3 | 5268 | 13 |
| 0 | 8968 | 12 |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| Inputs |
|---|
(+.f32 (-.f32 #s(literal 1 binary32) ux) (*.f32 ux maxCos)) |
(-.f32 #s(literal 1 binary32) ux) |
(*.f32 ux maxCos) |
| Outputs |
|---|
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
Compiled 6 295 to 781 computations (87.6% saved)
8 alts after pruning (8 fresh and 0 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 363 | 8 | 371 |
| Fresh | 0 | 0 | 0 |
| Picked | 1 | 0 | 1 |
| Done | 0 | 0 | 0 |
| Total | 364 | 8 | 372 |
| Status | Accuracy | Program |
|---|---|---|
| ▶ | 55.6% | (/.f32 (-.f32 #s(literal 1 binary32) (pow.f32 (fma.f32 maxCos ux ux) #s(literal 3 binary32))) (+.f32 #s(literal 1 binary32) (+.f32 (pow.f32 (fma.f32 maxCos ux ux) #s(literal 2 binary32)) (*.f32 #s(literal 1 binary32) (fma.f32 maxCos ux ux))))) |
| 97.1% | (/.f32 (+.f32 #s(literal 1 binary32) (pow.f32 (*.f32 ux (-.f32 #s(literal -1 binary32) maxCos)) #s(literal 3 binary32))) (+.f32 #s(literal 1 binary32) (-.f32 (pow.f32 (*.f32 ux (-.f32 #s(literal -1 binary32) maxCos)) #s(literal 2 binary32)) (*.f32 #s(literal 1 binary32) (*.f32 ux (-.f32 #s(literal -1 binary32) maxCos)))))) | |
| ▶ | 84.1% | (/.f32 (*.f32 (-.f32 (pow.f32 (-.f32 #s(literal 1 binary32) ux) #s(literal 4 binary32)) (pow.f32 (*.f32 maxCos ux) #s(literal 4 binary32))) (/.f32 #s(literal 1 binary32) (fma.f32 maxCos ux (-.f32 #s(literal 1 binary32) ux)))) (+.f32 (pow.f32 (*.f32 maxCos ux) #s(literal 2 binary32)) (pow.f32 (-.f32 #s(literal 1 binary32) ux) #s(literal 2 binary32)))) |
| ▶ | 99.9% | (-.f32 #s(literal 1 binary32) (-.f32 ux (*.f32 maxCos ux))) |
| ▶ | 98.8% | (+.f32 (/.f32 (-.f32 (*.f32 ux ux) #s(literal 1 binary32)) (-.f32 (neg.f32 ux) #s(literal 1 binary32))) (*.f32 ux maxCos)) |
| 39.5% | (exp.f32 (*.f32 (log.f32 (/.f32 #s(literal 1 binary32) (fma.f32 maxCos ux (-.f32 #s(literal 1 binary32) ux)))) #s(literal -1 binary32))) | |
| 98.5% | #s(approx (+ (- 1 ux) (* ux maxCos)) (-.f32 #s(literal 1 binary32) ux)) | |
| ▶ | 72.4% | #s(approx (+ (- 1 ux) (* ux maxCos)) #s(literal 1 binary32)) |
Compiled 244 to 176 computations (27.9% saved)
| 1× | egg-herbie |
Found 16 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| cost-diff | 0 | (pow.f32 (-.f32 #s(literal 1 binary32) ux) #s(literal 4 binary32)) | |
| cost-diff | 0 | (-.f32 (pow.f32 (-.f32 #s(literal 1 binary32) ux) #s(literal 4 binary32)) (pow.f32 (*.f32 maxCos ux) #s(literal 4 binary32))) | |
| cost-diff | 0 | (/.f32 (*.f32 (-.f32 (pow.f32 (-.f32 #s(literal 1 binary32) ux) #s(literal 4 binary32)) (pow.f32 (*.f32 maxCos ux) #s(literal 4 binary32))) (/.f32 #s(literal 1 binary32) (fma.f32 maxCos ux (-.f32 #s(literal 1 binary32) ux)))) (+.f32 (pow.f32 (*.f32 maxCos ux) #s(literal 2 binary32)) (pow.f32 (-.f32 #s(literal 1 binary32) ux) #s(literal 2 binary32)))) | |
| cost-diff | 160 | (*.f32 (-.f32 (pow.f32 (-.f32 #s(literal 1 binary32) ux) #s(literal 4 binary32)) (pow.f32 (*.f32 maxCos ux) #s(literal 4 binary32))) (/.f32 #s(literal 1 binary32) (fma.f32 maxCos ux (-.f32 #s(literal 1 binary32) ux)))) | |
| cost-diff | 0 | (/.f32 (-.f32 #s(literal 1 binary32) (pow.f32 (fma.f32 maxCos ux ux) #s(literal 3 binary32))) (+.f32 #s(literal 1 binary32) (+.f32 (pow.f32 (fma.f32 maxCos ux ux) #s(literal 2 binary32)) (*.f32 #s(literal 1 binary32) (fma.f32 maxCos ux ux))))) | |
| cost-diff | 64 | (+.f32 #s(literal 1 binary32) (+.f32 (pow.f32 (fma.f32 maxCos ux ux) #s(literal 2 binary32)) (*.f32 #s(literal 1 binary32) (fma.f32 maxCos ux ux)))) | |
| cost-diff | 160 | (*.f32 #s(literal 1 binary32) (fma.f32 maxCos ux ux)) | |
| cost-diff | 3072 | (+.f32 (pow.f32 (fma.f32 maxCos ux ux) #s(literal 2 binary32)) (*.f32 #s(literal 1 binary32) (fma.f32 maxCos ux ux))) | |
| cost-diff | 64 | (-.f32 (neg.f32 ux) #s(literal 1 binary32)) | |
| cost-diff | 64 | (-.f32 (*.f32 ux ux) #s(literal 1 binary32)) | |
| cost-diff | 64 | (+.f32 (/.f32 (-.f32 (*.f32 ux ux) #s(literal 1 binary32)) (-.f32 (neg.f32 ux) #s(literal 1 binary32))) (*.f32 ux maxCos)) | |
| cost-diff | 544 | (/.f32 (-.f32 (*.f32 ux ux) #s(literal 1 binary32)) (-.f32 (neg.f32 ux) #s(literal 1 binary32))) | |
| cost-diff | 0 | #s(approx (+ (- 1 ux) (* ux maxCos)) #s(literal 1 binary32)) | |
| cost-diff | 0 | (*.f32 maxCos ux) | |
| cost-diff | 0 | (-.f32 ux (*.f32 maxCos ux)) | |
| cost-diff | 64 | (-.f32 #s(literal 1 binary32) (-.f32 ux (*.f32 maxCos ux))) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 39 | 278 |
| 0 | 67 | 267 |
| 1 | 135 | 263 |
| 2 | 294 | 260 |
| 3 | 1146 | 260 |
| 4 | 3813 | 248 |
| 0 | 8472 | 245 |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| Inputs |
|---|
(-.f32 #s(literal 1 binary32) (-.f32 ux (*.f32 maxCos ux))) |
#s(literal 1 binary32) |
(-.f32 ux (*.f32 maxCos ux)) |
ux |
(*.f32 maxCos ux) |
maxCos |
#s(approx (+ (- 1 ux) (* ux maxCos)) #s(literal 1 binary32)) |
#s(literal 1 binary32) |
(+.f32 (/.f32 (-.f32 (*.f32 ux ux) #s(literal 1 binary32)) (-.f32 (neg.f32 ux) #s(literal 1 binary32))) (*.f32 ux maxCos)) |
(/.f32 (-.f32 (*.f32 ux ux) #s(literal 1 binary32)) (-.f32 (neg.f32 ux) #s(literal 1 binary32))) |
(-.f32 (*.f32 ux ux) #s(literal 1 binary32)) |
(*.f32 ux ux) |
ux |
#s(literal 1 binary32) |
(-.f32 (neg.f32 ux) #s(literal 1 binary32)) |
(neg.f32 ux) |
(*.f32 ux maxCos) |
maxCos |
(/.f32 (-.f32 #s(literal 1 binary32) (pow.f32 (fma.f32 maxCos ux ux) #s(literal 3 binary32))) (+.f32 #s(literal 1 binary32) (+.f32 (pow.f32 (fma.f32 maxCos ux ux) #s(literal 2 binary32)) (*.f32 #s(literal 1 binary32) (fma.f32 maxCos ux ux))))) |
(-.f32 #s(literal 1 binary32) (pow.f32 (fma.f32 maxCos ux ux) #s(literal 3 binary32))) |
#s(literal 1 binary32) |
(pow.f32 (fma.f32 maxCos ux ux) #s(literal 3 binary32)) |
(fma.f32 maxCos ux ux) |
maxCos |
ux |
#s(literal 3 binary32) |
(+.f32 #s(literal 1 binary32) (+.f32 (pow.f32 (fma.f32 maxCos ux ux) #s(literal 2 binary32)) (*.f32 #s(literal 1 binary32) (fma.f32 maxCos ux ux)))) |
(+.f32 (pow.f32 (fma.f32 maxCos ux ux) #s(literal 2 binary32)) (*.f32 #s(literal 1 binary32) (fma.f32 maxCos ux ux))) |
(pow.f32 (fma.f32 maxCos ux ux) #s(literal 2 binary32)) |
#s(literal 2 binary32) |
(*.f32 #s(literal 1 binary32) (fma.f32 maxCos ux ux)) |
(/.f32 (*.f32 (-.f32 (pow.f32 (-.f32 #s(literal 1 binary32) ux) #s(literal 4 binary32)) (pow.f32 (*.f32 maxCos ux) #s(literal 4 binary32))) (/.f32 #s(literal 1 binary32) (fma.f32 maxCos ux (-.f32 #s(literal 1 binary32) ux)))) (+.f32 (pow.f32 (*.f32 maxCos ux) #s(literal 2 binary32)) (pow.f32 (-.f32 #s(literal 1 binary32) ux) #s(literal 2 binary32)))) |
(*.f32 (-.f32 (pow.f32 (-.f32 #s(literal 1 binary32) ux) #s(literal 4 binary32)) (pow.f32 (*.f32 maxCos ux) #s(literal 4 binary32))) (/.f32 #s(literal 1 binary32) (fma.f32 maxCos ux (-.f32 #s(literal 1 binary32) ux)))) |
(-.f32 (pow.f32 (-.f32 #s(literal 1 binary32) ux) #s(literal 4 binary32)) (pow.f32 (*.f32 maxCos ux) #s(literal 4 binary32))) |
(pow.f32 (-.f32 #s(literal 1 binary32) ux) #s(literal 4 binary32)) |
(-.f32 #s(literal 1 binary32) ux) |
#s(literal 1 binary32) |
ux |
#s(literal 4 binary32) |
(pow.f32 (*.f32 maxCos ux) #s(literal 4 binary32)) |
(*.f32 maxCos ux) |
maxCos |
(/.f32 #s(literal 1 binary32) (fma.f32 maxCos ux (-.f32 #s(literal 1 binary32) ux))) |
(fma.f32 maxCos ux (-.f32 #s(literal 1 binary32) ux)) |
(+.f32 (pow.f32 (*.f32 maxCos ux) #s(literal 2 binary32)) (pow.f32 (-.f32 #s(literal 1 binary32) ux) #s(literal 2 binary32))) |
(pow.f32 (*.f32 maxCos ux) #s(literal 2 binary32)) |
#s(literal 2 binary32) |
(pow.f32 (-.f32 #s(literal 1 binary32) ux) #s(literal 2 binary32)) |
| Outputs |
|---|
(-.f32 #s(literal 1 binary32) (-.f32 ux (*.f32 maxCos ux))) |
(fma.f32 maxCos ux (-.f32 #s(literal 1 binary32) ux)) |
#s(literal 1 binary32) |
(-.f32 ux (*.f32 maxCos ux)) |
ux |
(*.f32 maxCos ux) |
maxCos |
#s(approx (+ (- 1 ux) (* ux maxCos)) #s(literal 1 binary32)) |
#s(literal 1 binary32) |
(+.f32 (/.f32 (-.f32 (*.f32 ux ux) #s(literal 1 binary32)) (-.f32 (neg.f32 ux) #s(literal 1 binary32))) (*.f32 ux maxCos)) |
(fma.f32 maxCos ux (-.f32 #s(literal 1 binary32) ux)) |
(/.f32 (-.f32 (*.f32 ux ux) #s(literal 1 binary32)) (-.f32 (neg.f32 ux) #s(literal 1 binary32))) |
(-.f32 #s(literal 1 binary32) ux) |
(-.f32 (*.f32 ux ux) #s(literal 1 binary32)) |
(fma.f32 ux ux #s(literal -1 binary32)) |
(*.f32 ux ux) |
ux |
#s(literal 1 binary32) |
(-.f32 (neg.f32 ux) #s(literal 1 binary32)) |
(-.f32 #s(literal -1 binary32) ux) |
(neg.f32 ux) |
(*.f32 ux maxCos) |
(*.f32 maxCos ux) |
maxCos |
(/.f32 (-.f32 #s(literal 1 binary32) (pow.f32 (fma.f32 maxCos ux ux) #s(literal 3 binary32))) (+.f32 #s(literal 1 binary32) (+.f32 (pow.f32 (fma.f32 maxCos ux ux) #s(literal 2 binary32)) (*.f32 #s(literal 1 binary32) (fma.f32 maxCos ux ux))))) |
(/.f32 (-.f32 #s(literal 1 binary32) (pow.f32 (fma.f32 maxCos ux ux) #s(literal 3 binary32))) (fma.f32 (fma.f32 (fma.f32 maxCos ux ux) ux ux) (+.f32 maxCos #s(literal 1 binary32)) #s(literal 1 binary32))) |
(-.f32 #s(literal 1 binary32) (pow.f32 (fma.f32 maxCos ux ux) #s(literal 3 binary32))) |
#s(literal 1 binary32) |
(pow.f32 (fma.f32 maxCos ux ux) #s(literal 3 binary32)) |
(fma.f32 maxCos ux ux) |
maxCos |
ux |
#s(literal 3 binary32) |
(+.f32 #s(literal 1 binary32) (+.f32 (pow.f32 (fma.f32 maxCos ux ux) #s(literal 2 binary32)) (*.f32 #s(literal 1 binary32) (fma.f32 maxCos ux ux)))) |
(fma.f32 (fma.f32 (fma.f32 maxCos ux ux) ux ux) (+.f32 maxCos #s(literal 1 binary32)) #s(literal 1 binary32)) |
(+.f32 (pow.f32 (fma.f32 maxCos ux ux) #s(literal 2 binary32)) (*.f32 #s(literal 1 binary32) (fma.f32 maxCos ux ux))) |
(*.f32 (fma.f32 (fma.f32 maxCos ux ux) ux ux) (+.f32 maxCos #s(literal 1 binary32))) |
(pow.f32 (fma.f32 maxCos ux ux) #s(literal 2 binary32)) |
#s(literal 2 binary32) |
(*.f32 #s(literal 1 binary32) (fma.f32 maxCos ux ux)) |
(fma.f32 maxCos ux ux) |
(/.f32 (*.f32 (-.f32 (pow.f32 (-.f32 #s(literal 1 binary32) ux) #s(literal 4 binary32)) (pow.f32 (*.f32 maxCos ux) #s(literal 4 binary32))) (/.f32 #s(literal 1 binary32) (fma.f32 maxCos ux (-.f32 #s(literal 1 binary32) ux)))) (+.f32 (pow.f32 (*.f32 maxCos ux) #s(literal 2 binary32)) (pow.f32 (-.f32 #s(literal 1 binary32) ux) #s(literal 2 binary32)))) |
(/.f32 (/.f32 (-.f32 (pow.f32 (-.f32 #s(literal 1 binary32) ux) #s(literal 4 binary32)) (pow.f32 (*.f32 maxCos ux) #s(literal 4 binary32))) (fma.f32 maxCos ux (-.f32 #s(literal 1 binary32) ux))) (+.f32 (pow.f32 (-.f32 #s(literal 1 binary32) ux) #s(literal 2 binary32)) (pow.f32 (*.f32 maxCos ux) #s(literal 2 binary32)))) |
(*.f32 (-.f32 (pow.f32 (-.f32 #s(literal 1 binary32) ux) #s(literal 4 binary32)) (pow.f32 (*.f32 maxCos ux) #s(literal 4 binary32))) (/.f32 #s(literal 1 binary32) (fma.f32 maxCos ux (-.f32 #s(literal 1 binary32) ux)))) |
(/.f32 (-.f32 (pow.f32 (-.f32 #s(literal 1 binary32) ux) #s(literal 4 binary32)) (pow.f32 (*.f32 maxCos ux) #s(literal 4 binary32))) (fma.f32 maxCos ux (-.f32 #s(literal 1 binary32) ux))) |
(-.f32 (pow.f32 (-.f32 #s(literal 1 binary32) ux) #s(literal 4 binary32)) (pow.f32 (*.f32 maxCos ux) #s(literal 4 binary32))) |
(pow.f32 (-.f32 #s(literal 1 binary32) ux) #s(literal 4 binary32)) |
(-.f32 #s(literal 1 binary32) ux) |
#s(literal 1 binary32) |
ux |
#s(literal 4 binary32) |
(pow.f32 (*.f32 maxCos ux) #s(literal 4 binary32)) |
(*.f32 maxCos ux) |
maxCos |
(/.f32 #s(literal 1 binary32) (fma.f32 maxCos ux (-.f32 #s(literal 1 binary32) ux))) |
(fma.f32 maxCos ux (-.f32 #s(literal 1 binary32) ux)) |
(+.f32 (pow.f32 (*.f32 maxCos ux) #s(literal 2 binary32)) (pow.f32 (-.f32 #s(literal 1 binary32) ux) #s(literal 2 binary32))) |
(+.f32 (pow.f32 (-.f32 #s(literal 1 binary32) ux) #s(literal 2 binary32)) (pow.f32 (*.f32 maxCos ux) #s(literal 2 binary32))) |
(pow.f32 (*.f32 maxCos ux) #s(literal 2 binary32)) |
#s(literal 2 binary32) |
(pow.f32 (-.f32 #s(literal 1 binary32) ux) #s(literal 2 binary32)) |
| 21.0ms | 75× | 0 | valid |
| 1.0ms | 1× | 1 | valid |
Compiled 565 to 76 computations (86.5% saved)
ival-add: 5.0ms (30.3% of total)ival-div: 2.0ms (12.1% of total)ival-pow2: 2.0ms (12.1% of total)ival-sub: 2.0ms (12.1% of total)ival-pow: 2.0ms (12.1% of total)ival-mult: 2.0ms (12.1% of total)adjust: 0.0ms (0% of total)ival-assert: 0.0ms (0% of total)ival-true: 0.0ms (0% of total)exact: 0.0ms (0% of total)ival-neg: 0.0ms (0% of total)Loading profile data...