Displaying 1 result from an estimated 1 matches for "1ak".
Did you mean:
16k
2019 Dec 01
4
ConstantRange modelling precision?
...antRange how no-wrap flags affect
the range of `mul` instruction, with end goal of exploiting
this in LVI/CVP.
There are certain combinations of ranges and no-wrap flags
that result in always-overflowing `mul`. For example,
`mul nuw nsw i4 [2,0), [4,0)` always overflows:
https://rise4fun.com/Alive/1aK
so for such ranges the ideal answer is `empty set`;
although it wouldn't be incorrect to return a more pessimistic
range (e.g. full-set) that contains more than the ideal result.
The problem is, unlike the case of `add`, where intersection
between plain `add` range and `saturating-[un?]signed-...