Skip to content

Commit 6f149ee

Browse files
committed
add round cost, fixes #399
1 parent c02d009 commit 6f149ee

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name = "LoopVectorization"
22
uuid = "bdcacae8-1622-11e9-2a5c-532679323890"
33
authors = ["Chris Elrod <[email protected]>"]
4-
version = "0.12.109"
4+
version = "0.12.110"
55

66
[deps]
77
ArrayInterface = "4fba245c-0d91-5ea0-9b3e-6abc04ee57a9"

src/modeling/costs.jl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -161,6 +161,7 @@ const COST = Dict{Symbol,InstructionCost}(
161161
:abs => InstructionCost(1, 0.5),
162162
:abs2 => InstructionCost(4, 0.5),
163163
:abs2_fast => InstructionCost(4, 0.5),
164+
:round => InstructionCost(4, 0.5),
164165
:(==) => InstructionCost(1, 0.5),
165166
:(!=) => InstructionCost(1, 0.5),
166167
:() => InstructionCost(1, 0.5),

0 commit comments

Comments
 (0)