Lines Matching +full:arm +full:- +full:software
1 /* SPDX-License-Identifier: BSD-3-Clause */
4 // Use of this source code is governed by a BSD-style license that can be
21 this software without specific prior written permission.
22 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
32 OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
39 // confine_array_index() bounds-checks and sanitizes an array index safely in the presence of
41 // returns a sanitized index, even in speculative-path execution.
53 // 3: return -1;
63 // 3: return -1;
73 // See "Cache Speculation Side-channels" whitepaper, section "Software Mitigation". in confine_array_index()
75 // sufficient to address this problem on ALL Arm implementations... "" in confine_array_index()
104 /* Avoid 'deprecated instruction in IT block [-Werror,-Winline-asm]' */ in confine_array_index()
105 #pragma clang diagnostic ignored "-Winline-asm" in confine_array_index()
133 // See "Software Techniques for Managing Speculation on AMD Processors", Mitigation V1-2. in confine_array_index()
150 * against side-channel attacks. in confine_array_index()