Linaro / vixl

AArch32 and AArch64 Runtime Code Generation Library
Other
126 stars 44 forks source link

Fix negation of immediates in ccmp, ccmn and neg #99

Closed mmc28a closed 4 months ago

mmc28a commented 4 months ago

In two's-complement representation, the negation of the minimum value of a signed type can't be represented. Detect and elide inversion for these cases in ccmp, ccmn and neg.