PostgreSQL Source Code
git master
Toggle main menu visibility
Main Page
Related Pages
Namespaces
Namespace List
Namespace Members
All
Functions
Variables
Data Structures
Data Structures
Data Structure Index
Class Hierarchy
Data Fields
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
f
h
i
n
o
p
r
s
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerations
Files
File List
Globals
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerations
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
Enumerator
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Macros
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
•
All
Data Structures
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Pages
arch-arm.h
Go to the documentation of this file.
1
/*-------------------------------------------------------------------------
2
*
3
* arch-arm.h
4
* Atomic operations considerations specific to ARM
5
*
6
* Portions Copyright (c) 2013-2025, PostgreSQL Global Development Group
7
*
8
* NOTES:
9
*
10
* src/include/port/atomics/arch-arm.h
11
*
12
*-------------------------------------------------------------------------
13
*/
14
15
/* intentionally no include guards, should only be included by atomics.h */
16
#ifndef INSIDE_ATOMICS_H
17
#error "should be included via atomics.h"
18
#endif
19
20
/*
21
* 64 bit atomics on ARM32 are implemented using kernel fallbacks and thus
22
* might be slow, so disable entirely. On ARM64 that problem doesn't exist.
23
*/
24
#if !defined(__aarch64__)
25
#define PG_DISABLE_64_BIT_ATOMICS
26
#else
27
/*
28
* Architecture Reference Manual for ARMv8 states aligned read/write to/from
29
* general purpose register is atomic.
30
*/
31
#define PG_HAVE_8BYTE_SINGLE_COPY_ATOMICITY
32
#endif
/* __aarch64__ */
src
include
port
atomics
arch-arm.h
Generated on Tue Jan 21 2025 12:13:27 for PostgreSQL Source Code by
1.9.4