fix precedence

This commit is contained in:
dzaima 2022-01-16 04:50:09 +02:00
parent 8403f82b9f
commit 39d1fc0eb3

View File

@ -15,7 +15,7 @@ def isfloatv{T} = isfloat{eltype{T}}
def issignedv{T} = issigned{eltype{T}}
def isunsignedv{T} = isunsigned{eltype{T}}
def w256{T} = width{T}==256
def isintv{T,w} = isintv{T} & width{eltype{T}}==w
def isintv{T,w} = isintv{T} & (width{eltype{T}}==w)
def cast_vp{T, x & w256{T}} = emit{*T, '(void*)', x}
def cast_v{R, x:S & w256{R} & w256{S} & isf64v{S} & isintv{R}} = r_d2i{R, x}