@@ -142,10 +142,16 @@ const COST = Dict{Symbol,InstructionCost}(
142
142
:reduced_prod => InstructionCost (4 ,0.5 ),# ignoring reduction part of cost, might be nop
143
143
:reduce_to_add => InstructionCost (0 ,0.0 ,0.0 ,0 ),
144
144
:reduce_to_prod => InstructionCost (0 ,0.0 ,0.0 ,0 ),
145
+ :abs => InstructionCost (1 , 0.5 ),
145
146
:abs2 => InstructionCost (4 ,0.5 ),
146
147
:vabs2 => InstructionCost (4 ,0.5 ),
147
148
:(== ) => InstructionCost (1 , 0.5 ),
149
+ :(!= ) => InstructionCost (1 , 0.5 ),
150
+ :(isnan) => InstructionCost (1 , 0.5 ),
151
+ :(isfinite) => InstructionCost (2 , 1.0 ),
152
+ :(isinf) => InstructionCost (2 , 1.0 ),
148
153
:isequal => InstructionCost (1 , 0.5 ),
154
+ :(! ) => InstructionCost (1 , 0.5 ),
149
155
:(~ ) => InstructionCost (1 , 0.5 ),
150
156
:(& ) => InstructionCost (1 , 0.5 ),
151
157
:(| ) => InstructionCost (1 , 0.5 ),
@@ -341,7 +347,15 @@ const FUNCTIONSYMBOLS = IdDict{Type{<:Function},Instruction}(
341
347
typeof (SIMDPirates. vdiv) => :(/ ),
342
348
typeof (Base. FastMath. div_fast) => :(/ ),
343
349
typeof (== ) => :(== ),
350
+ typeof (!= ) => :(!= ),
344
351
typeof (isequal) => :isequal ,
352
+ typeof (isnan) => :isnan ,
353
+ typeof (isinf) => :isinf ,
354
+ typeof (isfinite) => :isfinite ,
355
+ typeof (abs) => :abs ,
356
+ typeof (abs2) => :abs2 ,
357
+ typeof (~ ) => :(~ ),
358
+ typeof (! ) => :(! ),
345
359
typeof (& ) => :(& ),
346
360
typeof (| ) => :(| ),
347
361
typeof (⊻ ) => :(⊻ ),
0 commit comments