Hex Artifact Content
Not logged in

Artifact 8eb0bfb3bdc7246e881e10f7d90d065ad02f7077:


0000: 2f 2a 3d 3d 3d 2d 2d 20 73 79 6e 63 5f 66 65 74  /*===-- sync_fet
0010: 63 68 5f 61 6e 64 5f 6d 61 78 5f 34 2e 53 20 2d  ch_and_max_4.S -
0020: 20 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d   ---------------
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 3d 3d 3d 2f 2f  -----------===//
0050: 0a 20 2a 0a 20 2a 20 20 20 20 20 20 20 20 20 20  . *. *          
0060: 20 20 20 20 20 20 20 20 20 20 20 54 68 65 20 4c             The L
0070: 4c 56 4d 20 43 6f 6d 70 69 6c 65 72 20 49 6e 66  LVM Compiler Inf
0080: 72 61 73 74 72 75 63 74 75 72 65 0a 20 2a 0a 20  rastructure. *. 
0090: 2a 20 54 68 69 73 20 66 69 6c 65 20 69 73 20 64  * This file is d
00a0: 75 61 6c 20 6c 69 63 65 6e 73 65 64 20 75 6e 64  ual licensed und
00b0: 65 72 20 74 68 65 20 4d 49 54 20 61 6e 64 20 74  er the MIT and t
00c0: 68 65 20 55 6e 69 76 65 72 73 69 74 79 20 6f 66  he University of
00d0: 20 49 6c 6c 69 6e 6f 69 73 20 4f 70 65 6e 0a 20   Illinois Open. 
00e0: 2a 20 53 6f 75 72 63 65 20 4c 69 63 65 6e 73 65  * Source License
00f0: 73 2e 20 53 65 65 20 4c 49 43 45 4e 53 45 2e 54  s. See LICENSE.T
0100: 58 54 20 66 6f 72 20 64 65 74 61 69 6c 73 2e 0a  XT for details..
0110: 20 2a 0a 20 2a 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 2f 2f 0a 20 2a 0a 20 2a 20 54 68 69 73 20 66  =//. *. * This f
0170: 69 6c 65 20 69 6d 70 6c 65 6d 65 6e 74 73 20 74  ile implements t
0180: 68 65 20 5f 5f 73 79 6e 63 5f 66 65 74 63 68 5f  he __sync_fetch_
0190: 61 6e 64 5f 6d 61 78 5f 34 20 66 75 6e 63 74 69  and_max_4 functi
01a0: 6f 6e 20 66 6f 72 20 74 68 65 20 41 52 4d 0a 20  on for the ARM. 
01b0: 2a 20 61 72 63 68 69 74 65 63 74 75 72 65 2e 0a  * architecture..
01c0: 20 2a 0a 20 2a 3d 3d 3d 2d 2d 2d 2d 2d 2d 2d 2d   *. *===--------
01d0: 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d  ----------------
01e0: 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d  ----------------
01f0: 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d  ----------------
0200: 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 3d 3d  --------------==
0210: 3d 2a 2f 0a 0a 23 69 6e 63 6c 75 64 65 20 22 73  =*/..#include "s
0220: 79 6e 63 2d 6f 70 73 2e 68 22 0a 0a 23 64 65 66  ync-ops.h"..#def
0230: 69 6e 65 20 6d 61 78 5f 34 28 72 44 2c 20 72 4e  ine max_4(rD, rN
0240: 2c 20 72 4d 29 20 20 4d 49 4e 4d 41 58 5f 34 28  , rM)  MINMAX_4(
0250: 72 44 2c 20 72 4e 2c 20 72 4d 2c 20 67 74 29 0a  rD, rN, rM, gt).
0260: 0a 53 59 4e 43 5f 4f 50 5f 34 28 6d 61 78 5f 34  .SYNC_OP_4(max_4
0270: 29 0a 0a 4e 4f 5f 45 58 45 43 5f 53 54 41 43 4b  )..NO_EXEC_STACK
0280: 5f 44 49 52 45 43 54 49 56 45 0a 0a              _DIRECTIVE..