Lines Matching full:window
21 .macro overflow_test shift, window, probe_ok, probe_ex
26 movi a2, 1 | (((1 << ((\window) / 4)) | 1) << ((\shift) / 4))
31 set_vector window_overflow_\window, 10f
54 movi a3, 1 | ((1 << ((\window) / 4)) << ((\shift) / 4))
61 .macro overflow_tests shift, window, probe
63 overflow_test \shift, \window, %((\shift) - 1), \probe
64 overflow_tests \shift, \window, %((\probe) + 1)
70 .irp window, 4, 8, 12
71 overflow_tests \shift, \window, \shift
81 .macro underflow_test window argument
86 set_vector window_underflow_\window, 10f
94 movi a3, (\window) / 4
110 movi a3, (XCHAL_NUM_AREGS - (\window)) / 4
123 assert bsi.l, a2, (XCHAL_NUM_AREGS - (\window)) / 4
137 .macro retw_test window argument
138 reset_window %(1 | (1 << ((XCHAL_NUM_AREGS - \window) / 4)))
144 movi a3, (\window) / 4
153 movi a3, (XCHAL_NUM_AREGS - (\window)) / 4
157 assert bsi.l, a2, (XCHAL_NUM_AREGS - (\window)) / 4
258 .macro callw_test window argument
259 call\window 2f
267 movi a3, 0x4000f | ((\window) << 14)
272 movi a3, (\window) / 4
274 assert eq, a2, a\window
287 .macro entry_test window argument
290 movi a2, 0x4000f | ((\window) << 14)
301 assert eqi, a2, (\window) / 4
303 movi a3, 1 | (1 << ((\window) / 4))
305 rotw -(\window) / 4
314 .macro entry_overflow_test window, free, next_window
320 movi a2, \window
325 movi a2, 0x4000f | ((\window) << 14)
350 .irp window, 4, 8, 12
353 .if \free <= \window
354 entry_overflow_test \window, \free, \next_window