compiler_rt: add __negsi2, __negdi2, __negti2

- use negXi2.zig to prevent confusion with negXf2.zig
- used for size optimized builds and machines without carry instruction
- tests: special cases 0, -INT_MIN
  * use divTrunc range and shift with constant offsets

See #1290
c56663dee8Jan Philipp Hafer committed on 12/14/2021, 10:14:31 PM· committed by Andrew Kelleyparent50201e1
6 files changedLine totals unavailable