Skip to content

Commit 129a0e5

Browse files
Merge pull request #121 from mxpoch/master
updating VectorizationBase to support julia 1.12 (continued)
2 parents 8294270 + a74ebae commit 129a0e5

30 files changed

+400
-179
lines changed

.github/workflows/Downstream.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
strategy:
1515
fail-fast: false
1616
matrix:
17-
julia-version: [1,1.6]
17+
julia-version: ['lts', '1', 'pre']
1818
os: [ubuntu-latest]
1919
package:
2020
- {user: JuliaSIMD, repo: LoopVectorization.jl, group: Interface}

.github/workflows/ci-julia-nightly.yml

Lines changed: 0 additions & 46 deletions
This file was deleted.

.github/workflows/cix86.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ jobs:
5151
- uses: actions/checkout@v4
5252
- uses: julia-actions/setup-julia@v2
5353
with:
54-
version: 'nightly'
54+
version: 'pre'
5555
- run: julia --color=yes -e 'using Pkg; VERSION >= v"1.5-" && !isdir(joinpath(DEPOT_PATH[1], "registries", "General")) && Pkg.Registry.add("General")'
5656
shell: bash
5757
env:
@@ -72,7 +72,7 @@ jobs:
7272
- uses: actions/checkout@v4
7373
- uses: julia-actions/setup-julia@v2
7474
with:
75-
version: 'nightly'
75+
version: 'pre'
7676
- run: julia --color=yes -e 'using Pkg; VERSION >= v"1.5-" && !isdir(joinpath(DEPOT_PATH[1], "registries", "General")) && Pkg.Registry.add("General")'
7777
shell: bash
7878
env:

Project.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,10 @@ SIMDTypes = "0.1"
2727
Static = "0.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.8, 1"
2828
StaticArrayInterface = "1"
2929
julia = "1.10"
30+
Test = "<0.0.1, 1"
3031

3132
[extras]
3233
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
3334

3435
[targets]
35-
test = ["Test"]
36+
test = ["Test"]

docs/make.jl

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ makedocs(;
1111
canonical = "https://JuliaSIMD.github.io/VectorizationBase.jl"
1212
),
1313
pages = ["Home" => "index.md"],
14-
strict = false
1514
)
1615

1716
deploydocs(; repo = "github.com/JuliaSIMD/VectorizationBase.jl")

src/VectorizationBase.jl

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,20 @@ using HostCPUFeatures:
6262
nextpow2,
6363
fast_half
6464

65+
import Base:
66+
Float16,
67+
Float32,
68+
Float64,
69+
Int8,
70+
Int16,
71+
Int32,
72+
Int64,
73+
UInt8,
74+
UInt16,
75+
UInt32,
76+
UInt64,
77+
Bool
78+
6579
using SIMDTypes:
6680
Bit,
6781
FloatingTypes,
@@ -167,7 +181,7 @@ julia> rgbs = [
167181
B = Float32(i + 200) / 255
168182
) for i = 0:7:49
169183
]
170-
8-element Vector{NamedTuple{(:R, :G, :B), Tuple{Float32, Float32, Float32}}}:
184+
8-element Vector{@NamedTuple{R::Float32, G::Float32, B::Float32}}:
171185
(R = 0.0, G = 0.39215687, B = 0.78431374)
172186
(R = 0.02745098, G = 0.41960785, B = 0.8117647)
173187
(R = 0.05490196, G = 0.44705883, B = 0.8392157)

src/llvm_intrin/binary_ops.jl

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
21
function binary_op(op, W, @nospecialize(T))
32
ty = LLVM_TYPES[T]
43
if isone(W)

src/llvm_intrin/conflict.jl

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
21
function conflictquote(W::Int = 16, bits::Int = 32)
32
@assert bits == 32 || bits == 64
43
s = bits == 32 ? 'd' : 'q'

src/llvm_intrin/integer_fma.jl

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
21
# This is experimental, as few arches support it, and I can't think of many uses other than floating point RNGs.
32

43
@inline __ifmalo(v1, v2, v3) =

src/llvm_intrin/intrin_funcs.jl

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
21
@generated function saturated(::F, x::I, y::I) where {I<:IntegerTypesHW,F}
32
typ = "i$(8sizeof(I))"
43
s = I <: Signed ? 's' : 'u'

0 commit comments

Comments
 (0)