kit

kit
git clone https://git.ryansepassi.com/git/kit.git
Log | Files | Refs | README

iunop_neg64.c (209B)


      1 /* Arithmetic negate at 64-bit (long): -x emits `neg x` (sub from xzr).
      2  * volatile defeats folding. Exit code: -(-42) = 42. */
      3 int test_main(void) {
      4   volatile long a = -42;
      5   long n = -a;
      6   return (int)n;
      7 }