Home
last modified time | relevance | path

Searched refs:compiler (Results 1 – 25 of 157) sorted by relevance

1234567

/linux-6.1.9/tools/memory-model/Documentation/
Dcontrol-dependencies.txt6 help you prevent your compiler from breaking your code. However,
9 your own code, even in the absence of help from your compiler.
41 WRITE_ONCE() are optional. Without the READ_ONCE(), the compiler might
43 the compiler might fuse the store to "b" with other stores. Worse yet,
44 the compiler might convert the store into a load and a check followed
45 by a store, and this compiler-generated load would not be ordered by
48 Furthermore, if the compiler is able to prove that the value of variable
56 In particular, although READ_ONCE() does force the compiler to emit a
57 load, it does *not* force the compiler to actually use the loaded value.
90 assembly code, after all of the compiler and link-time optimizations
[all …]
Daccess-marking.txt34 any sort of constraint on the compiler's choice of optimizations [2].
36 compiler's use of code-motion and common-subexpression optimizations.
41 data_race(READ_ONCE(a)), which will both restrict compiler optimizations
91 If it is necessary to both restrict compiler optimizations and disable
115 that provides the compiler much less scope for mischievous optimizations.
152 due to compiler-mangled reads, it can also tolerate the occasional
153 compiler-mangled write, at least assuming that the proper value is in
216 of how the compiler has been prevented from optimizing those accesses
237 As noted earlier, the goal is to prevent the compiler from destroying
278 The reader-writer lock prevents the compiler from introducing concurrency
[all …]
Dordering.txt190 compiler might then reasonably decide to transform "x = 1" and "y = 1"
222 The Linux kernel's compiler barrier is barrier(). This primitive
223 prohibits compiler code-motion optimizations that might move memory
226 used to prevent to compiler from moving code across an infinite loop:
233 Without the barrier(), the compiler would be within its rights to move the
432 However, control dependencies are easily destroyed by compiler
460 primitives required the compiler to emit the corresponding store
468 primitives required the compiler to emit the corresponding load
501 and further do not guarantee "atomic" access. For example, the compiler
508 any number of compiler optimizations, many of which can break your
[all …]
DREADME28 o You would like a detailed understanding of what your compiler can
54 Guide to preventing compiler optimizations from destroying
/linux-6.1.9/scripts/coccinelle/misc/
Duninitialized_var.cocci7 /// For any compiler warnings about uninitialized variables, just add
10 /// compiler warnings (e.g. "unused variable"). If the compiler thinks it
11 /// is uninitialized, either simply initialize the variable or make compiler
13 /// obviously redundant, the compiler's dead-store elimination pass will make
/linux-6.1.9/Documentation/RCU/
Drcu_dereference.rst26 compiler from deducing the resulting pointer value. Please see
28 for an example where the compiler can in fact deduce the exact
38 The compiler simply knows too much about integral values to
56 "(x-(uintptr_t)x)" for char* pointers. The compiler is within its
95 explained, if the two pointers are equal, the compiler could
103 Because the compiler now knows that the value of "p" is exactly
118 compiler knows that the pointer is NULL, you had better
120 non-equal, the compiler is none the wiser. Therefore,
125 Since there are no subsequent dereferences, the compiler
183 - The pointers are not equal *and* the compiler does
[all …]
Dlockdep.rst58 and compiler constraints. This is useful when the data
63 but retain the compiler constraints that prevent duplicating
98 barriers and compiler constraints, it generates better code than do the
/linux-6.1.9/scripts/
DKconfig.include27 # Return y if the compiler supports <flag>, n otherwise
39 $(error-if,$(failure,command -v $(CC)),C compiler '$(CC)' not found)
42 # Get the C compiler name, version, and error out if it is not supported.
44 $(error-if,$(success,test -z "$(cc-info)"),Sorry$(comma) this C compiler is not supported.)
61 # $(m32-flag): -m32 if the compiler supports it, or an empty string otherwise.
62 # $(m64-flag): -m64 if the compiler supports it, or an empty string otherwise.
/linux-6.1.9/include/linux/
Dcompiler_types.h375 #define __diag_ignore(compiler, version, option, comment) \ argument
376 __diag_ ## compiler(version, ignore, option)
377 #define __diag_warn(compiler, version, option, comment) \ argument
378 __diag_ ## compiler(version, warn, option)
379 #define __diag_error(compiler, version, option, comment) \ argument
380 __diag_ ## compiler(version, error, option)
/linux-6.1.9/Documentation/ia64/
Dia64.rst21 compiler. And various software packages also compiled with an
22 IA-64 compliant GCC compiler.
35 compliant GCC compiler.
/linux-6.1.9/arch/nios2/platform/
DKconfig.platform67 instruction. This will enable the -mhw-mul compiler flag.
73 instruction. Enables the -mhw-mulx compiler flag.
79 instruction. Enables the -mhw-div compiler flag.
87 the -mbmx compiler flag.
95 the -mcdx compiler flag.
100 Enables the -mcustom-fpu-cfg=60-1 compiler flag.
/linux-6.1.9/Documentation/kbuild/
Dgcc-plugins.rst10 compiler [1]_. They are useful for runtime instrumentation and static analysis.
16 Plugin source files have to be compilable by a C++ compiler.
39 compiler features that are neither in GCC nor Clang upstream. Once
45 upstream compiler support (in either GCC or Clang).
106 Run gcc (native or cross-compiler) to ensure plugin headers are detected::
/linux-6.1.9/Documentation/
Dmemory-barriers.txt139 appears to be maintained. Similarly, the compiler may also arrange the
244 Whether on DEC Alpha or not, the READ_ONCE() also prevents compiler
269 (*) It _must_not_ be assumed that the compiler will do what you want
271 WRITE_ONCE(). Without them, the compiler is within its rights to
319 in a given bitfield are protected by different locks, the compiler's
361 What is required is some way of intervening to instruct the compiler and the
634 Documentation/RCU/rcu_dereference.rst file: The compiler can and does break
678 the compiler's ignorance from breaking your code.
713 are optional! Without the READ_ONCE(), the compiler might combine the
715 the compiler might combine the store to 'b' with other stores to 'b'.
[all …]
/linux-6.1.9/Documentation/ABI/testing/
Dconfigfs-acpi49 - ASCII ASL compiler vendor ID
52 - ASL compiler version
/linux-6.1.9/kernel/bpf/
DKconfig7 # Used by archs to tell that they support BPF JIT compiler plus which
19 # Used by archs to tell that they want the BPF JIT compiler enabled by
41 bool "Enable BPF Just In Time compiler"
/linux-6.1.9/Documentation/dev-tools/
Dkmsan.rst9 values. It is based on compiler instrumentation, and is quite similar to the
90 it, which can be helpful if we do not want the compiler to interfere with some
117 the only compiler that has KMSAN support. The kernel instrumentation pass is
135 instrumentation code inserted by the compiler (unless it is a stack variable
147 that takes one or more values the compiler generates code that calculates the
229 For every memory access the compiler emits a call to a function that returns a
243 The compiler makes sure that for every loaded value its shadow and origin
283 ``-fsanitize-memory-param-retval``, which makes the compiler check function
297 The compiler replaces calls to ``memcpy()``/``memmove()``/``memset()`` with the
309 For each use of a value the compiler emits a shadow check that calls
/linux-6.1.9/Documentation/core-api/
Dunaligned-memory-access.rst83 Fortunately things are not too complex, as in most cases, the compiler
100 Fortunately, the compiler understands the alignment constraints, so in the
102 Therefore, for standard structure types you can always rely on the compiler
106 Similarly, you can also rely on the compiler to align variables and function
126 For a natural alignment scheme, the compiler would only have to add a single
131 structure type. This GCC-specific attribute tells the compiler never to
137 architectural alignment requirements. However, again, the compiler is aware
/linux-6.1.9/include/xen/interface/
Dversion.h29 char compiler[64]; member
/linux-6.1.9/lib/
DKconfig.kmsan20 uninitialized values in the kernel. It is based on compiler
41 If the compiler supports -fsanitize-memory-param-retval, KMSAN will
/linux-6.1.9/Documentation/process/
Dvolatile-considered-harmful.rst40 compiler might think it knows what will be in shared_data, but the
46 necessary. But the compiler would also be prevented from optimizing access
54 by locks, but one also does not want the compiler "optimizing" register
69 hyperthreaded twin processor; it also happens to serve as a compiler
/linux-6.1.9/Documentation/features/debug/stackprotector/
Darch-support.txt4 # description: arch supports compiler driven stack overflow protection
/linux-6.1.9/Documentation/x86/x86_64/
Dfsgs.rst31 thread and the compiler emits the FS: address prefix for accesses to these
125 FSGSBASE instructions compiler support
139 code and the compiler option -mfsgsbase has to be added.
192 In case the compiler does not support address spaces, inline assembly can
/linux-6.1.9/tools/testing/selftests/arm64/mte/
DMakefile23 $(warning compiler "$(CC)" does not support the ARMv8.5 MTE extension.)
/linux-6.1.9/Documentation/networking/
Dfilter.rst51 internal compiler that generates a structure that can eventually be loaded
172 filters use Linux extensions that are not supported by libpcap's compiler,
174 libpcap's compiler, or iv) particular filter codes should be optimized
175 differently than libpcap's internal compiler does; then in such cases
512 JIT compiler
515 The Linux kernel has a built-in BPF JIT compiler for x86_64, SPARC,
517 CONFIG_BPF_JIT. The JIT compiler is transparently invoked for each
547 70 bytes emitted from JIT compiler (pass:3, flen:6)
574 70 bytes emitted from JIT compiler (pass:3, flen:6)
618 toolchain for developing and testing the kernel's JIT compiler.
[all …]
/linux-6.1.9/Documentation/rust/
Darch-support.rst6 Currently, the Rust compiler (``rustc``) uses LLVM for code generation,

1234567