Skip to content

Commit d8cc5ad

Browse files
committed
Merge branch 'master' of https://github.com/chriselrod/LoopVectorization.jl into graphs
2 parents 4cf6786 + 0ffa5b1 commit d8cc5ad

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,12 @@
55
[![Build Status](https://travis-ci.com/chriselrod/LoopVectorization.jl.svg?branch=master)](https://travis-ci.com/chriselrod/LoopVectorization.jl)
66
[![Build Status](https://ci.appveyor.com/api/projects/status/github/chriselrod/LoopVectorization.jl?svg=true)](https://ci.appveyor.com/project/chriselrod/LoopVectorization-jl)
77
[![Codecov](https://codecov.io/gh/chriselrod/LoopVectorization.jl/branch/master/graph/badge.svg)](https://codecov.io/gh/chriselrod/LoopVectorization.jl)
8+
9+
## Installation
10+
```
11+
using Pkg
12+
Pkg.add(PackageSpec(url="https://github.com/chriselrod/VectorizationBase.jl"))
13+
Pkg.add(PackageSpec(url="https://github.com/chriselrod/SIMDPirates.jl"))
14+
Pkg.add(PackageSpec(url="https://github.com/chriselrod/SLEEFPirates.jl"))
15+
Pkg.add(PackageSpec(url="https://github.com/chriselrod/LoopVectorization.jl"))
16+
```

src/LoopVectorization.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -295,7 +295,7 @@ end
295295
pushfirst!(q.args, :($gsym = $mod.vbroadcast($V,one($T))))
296296
end
297297
end
298-
func = ((op == :*) | (op == :/)) ? :($mod.vmul) : :($mod.vadd)
298+
func = ((op == :*) | (op == :/)) ? :($mod.evmul) : :($mod.evadd)
299299
uf_new = unroll_factor
300300
while uf_new > 1
301301
uf_new, uf_prev = uf_new >> 1, uf_new

0 commit comments

Comments
 (0)