Hex Artifact Content
Not logged in

Artifact dd1e62d493d665dc956852f045e1a6a76523b595:


0000: 2f 2a 20 3d 3d 3d 2d 2d 20 66 69 78 74 66 73 69  /* ===-- fixtfsi
0010: 2e 63 20 2d 20 49 6d 70 6c 65 6d 65 6e 74 20 5f  .c - Implement _
0020: 5f 66 69 78 74 66 73 69 20 2d 2d 2d 2d 2d 2d 2d  _fixtfsi -------
0030: 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d  ----------------
0040: 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 3d 3d 3d 0a  ------------===.
0050: 20 2a 0a 20 2a 20 20 20 20 20 20 20 20 20 20 20   *. *           
0060: 20 20 20 20 20 20 20 20 20 20 54 68 65 20 4c 4c            The LL
0070: 56 4d 20 43 6f 6d 70 69 6c 65 72 20 49 6e 66 72  VM Compiler Infr
0080: 61 73 74 72 75 63 74 75 72 65 0a 20 2a 0a 20 2a  astructure. *. *
0090: 20 54 68 69 73 20 66 69 6c 65 20 69 73 20 64 75   This file is du
00a0: 61 6c 20 6c 69 63 65 6e 73 65 64 20 75 6e 64 65  al licensed unde
00b0: 72 20 74 68 65 20 4d 49 54 20 61 6e 64 20 74 68  r the MIT and th
00c0: 65 20 55 6e 69 76 65 72 73 69 74 79 20 6f 66 20  e University of 
00d0: 49 6c 6c 69 6e 6f 69 73 20 4f 70 65 6e 0a 20 2a  Illinois Open. *
00e0: 20 53 6f 75 72 63 65 20 4c 69 63 65 6e 73 65 73   Source Licenses
00f0: 2e 20 53 65 65 20 4c 49 43 45 4e 53 45 2e 54 58  . See LICENSE.TX
0100: 54 20 66 6f 72 20 64 65 74 61 69 6c 73 2e 0a 20  T for details.. 
0110: 2a 0a 20 2a 20 3d 3d 3d 2d 2d 2d 2d 2d 2d 2d 2d  *. * ===--------
0120: 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d  ----------------
0130: 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d  ----------------
0140: 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d  ----------------
0150: 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 3d 3d  --------------==
0160: 3d 0a 20 2a 2f 0a 0a 23 64 65 66 69 6e 65 20 51  =. */..#define Q
0170: 55 41 44 5f 50 52 45 43 49 53 49 4f 4e 0a 23 69  UAD_PRECISION.#i
0180: 6e 63 6c 75 64 65 20 22 66 70 5f 6c 69 62 2e 68  nclude "fp_lib.h
0190: 22 0a 0a 23 69 66 20 64 65 66 69 6e 65 64 28 43  "..#if defined(C
01a0: 52 54 5f 48 41 53 5f 31 32 38 42 49 54 29 20 26  RT_HAS_128BIT) &
01b0: 26 20 64 65 66 69 6e 65 64 28 43 52 54 5f 4c 44  & defined(CRT_LD
01c0: 42 4c 5f 31 32 38 42 49 54 29 0a 74 79 70 65 64  BL_128BIT).typed
01d0: 65 66 20 73 69 5f 69 6e 74 20 66 69 78 69 6e 74  ef si_int fixint
01e0: 5f 74 3b 0a 74 79 70 65 64 65 66 20 73 75 5f 69  _t;.typedef su_i
01f0: 6e 74 20 66 69 78 75 69 6e 74 5f 74 3b 0a 23 69  nt fixuint_t;.#i
0200: 6e 63 6c 75 64 65 20 22 66 70 5f 66 69 78 69 6e  nclude "fp_fixin
0210: 74 5f 69 6d 70 6c 2e 69 6e 63 22 0a 0a 43 4f 4d  t_impl.inc"..COM
0220: 50 49 4c 45 52 5f 52 54 5f 41 42 49 20 73 69 5f  PILER_RT_ABI si_
0230: 69 6e 74 0a 5f 5f 66 69 78 74 66 73 69 28 66 70  int.__fixtfsi(fp
0240: 5f 74 20 61 29 20 7b 0a 20 20 20 20 72 65 74 75  _t a) {.    retu
0250: 72 6e 20 5f 5f 66 69 78 69 6e 74 28 61 29 3b 0a  rn __fixint(a);.
0260: 7d 0a 23 65 6e 64 69 66 0a                       }.#endif.