Lines Matching +full:- +full:o1
2 * Copyright (c) 2019-2020 Cobham Gaisler AB
4 * SPDX-License-Identifier: Apache-2.0
20 * thread is now in register %o1. We can address old->switch_handle in assembly
21 * as: [%o1 + ___thread_t_switch_handle_OFFSET].
30 * o1: old thread to save
34 st %o4, [%o1 + _thread_offset_to_y]
35 std %l0, [%o1 + _thread_offset_to_l0_and_l1]
36 std %l2, [%o1 + _thread_offset_to_l2]
37 std %l4, [%o1 + _thread_offset_to_l4]
38 std %l6, [%o1 + _thread_offset_to_l6]
39 std %i0, [%o1 + _thread_offset_to_i0]
40 std %i2, [%o1 + _thread_offset_to_i2]
41 std %i4, [%o1 + _thread_offset_to_i4]
42 std %i6, [%o1 + _thread_offset_to_i6]
44 std %o6, [%o1 + _thread_offset_to_o6]
47 st %o4, [%o1 + _thread_offset_to_psr]
62 srl %g4, (CONFIG_SPARC_NWIN-1), %g4
87 * after the write before using non-global registers or instructions
95 cmp %g2, (CONFIG_SPARC_NWIN-1) /* check if wim is in range */
113 * "old->switch_handle = old".
115 st %o1, [%o1 + ___thread_t_switch_handle_OFFSET]
154 mov %i1, %o1